[2026-08-08 00:00:13] local.INFO: TCP Data received {"connection_id":151221,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:00:13] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:00:13] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:00:18] local.INFO: TCP Data received {"connection_id":151221,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:00:18] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:00:18] local.INFO: IMEI packet received {"connection_id":151221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":151221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:00:19] local.INFO: TCP Data received {"connection_id":151221,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd792948012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd792948012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:00:19] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd792948012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:00:19] local.INFO: Packet analysis {"connection_id":151221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd79"} 
[2026-08-08 00:00:19] local.INFO: Extracted packet for processing {"connection_id":151221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd79"} 
[2026-08-08 00:00:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248468992001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:00:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786127133000,"timestamp_ms":1786127133000,"timestamp_seconds":1786127133,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd792948"} 
[2026-08-08 00:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248468992001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248468992001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:00:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:00:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248468992001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":151221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:00:19] local.INFO: GPS data processed {"connection_id":151221,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:00:19] local.INFO: Acknowledgment sent {"connection_id":151221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:00:23] local.INFO: TCP Data received {"connection_id":151221,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd792948012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd792948012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:00:23] local.INFO: Processing buffer {"connection_id":151221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd792948012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:00:23] local.INFO: Packet analysis {"connection_id":151221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd79"} 
[2026-08-08 00:00:23] local.INFO: Extracted packet for processing {"connection_id":151221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd79"} 
[2026-08-08 00:00:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248468992001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:00:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786127133000,"timestamp_ms":1786127133000,"timestamp_seconds":1786127133,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd792948"} 
[2026-08-08 00:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248468992001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248468992001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:00:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:00:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:00:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248468992001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":151221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:00:23] local.INFO: GPS data processed {"connection_id":151221,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:00:23] local.INFO: Acknowledgment sent {"connection_id":151221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:01:08] local.INFO: TCP Data received {"connection_id":151222,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:01:08] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:01:08] local.INFO: IMEI packet received {"connection_id":151222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":151222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:01:13] local.INFO: TCP Data received {"connection_id":151222,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:01:13] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:01:13] local.INFO: IMEI packet received {"connection_id":151222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":151222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:01:14] local.INFO: TCP Data received {"connection_id":151222,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:01:14] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:01:14] local.INFO: Packet analysis {"connection_id":151222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:01:14] local.INFO: Extracted packet for processing {"connection_id":151222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:01:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:01: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-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:01:14] 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-08-08 00:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:01:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":151222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:01:14] local.INFO: GPS data processed {"connection_id":151222,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:01:14] local.INFO: Acknowledgment sent {"connection_id":151222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:01:45] local.INFO: TCP Data received {"connection_id":151222,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:01:45] local.INFO: Processing buffer {"connection_id":151222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:01:45] local.INFO: Packet analysis {"connection_id":151222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:01:45] local.INFO: Extracted packet for processing {"connection_id":151222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:01:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:01: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-08-08 00:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:01:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":151222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:01:45] local.INFO: GPS data processed {"connection_id":151222,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:01:45] local.INFO: Acknowledgment sent {"connection_id":151222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:02:07] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:02:07] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:02:07] local.INFO: IMEI packet received {"connection_id":150242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":150242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:02:13] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:02:13] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:02:13] local.INFO: IMEI packet received {"connection_id":150242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":150242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:02:14] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:02:14] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:02:14] local.INFO: Packet analysis {"connection_id":150242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:02:14] local.INFO: Extracted packet for processing {"connection_id":150242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:02: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-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:02:14] 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-08-08 00:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:02:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":150242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:02:14] local.INFO: GPS data processed {"connection_id":150242,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:02:14] local.INFO: Acknowledgment sent {"connection_id":150242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:02:45] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:02:45] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:02:45] local.INFO: Packet analysis {"connection_id":150242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:02:45] local.INFO: Extracted packet for processing {"connection_id":150242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:02:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:02: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-08-08 00:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:02:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":150242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:02:45] local.INFO: GPS data processed {"connection_id":150242,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:02:45] local.INFO: Acknowledgment sent {"connection_id":150242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:03:07] local.INFO: TCP Data received {"connection_id":149977,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:03:07] local.INFO: Processing buffer {"connection_id":149977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:03:07] local.INFO: IMEI packet received {"connection_id":149977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":149977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:03:13] local.INFO: TCP Data received {"connection_id":149977,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:03:13] local.INFO: Processing buffer {"connection_id":149977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:03:13] local.INFO: IMEI packet received {"connection_id":149977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":149977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:03:14] local.INFO: TCP Data received {"connection_id":149977,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:03:14] local.INFO: Processing buffer {"connection_id":149977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:03:14] local.INFO: Packet analysis {"connection_id":149977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:03:14] local.INFO: Extracted packet for processing {"connection_id":149977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:03:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:03:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:03: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-08-08 00:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:03:14] 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-08-08 00:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:03:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:03:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":149977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:03:14] local.INFO: GPS data processed {"connection_id":149977,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:03:14] local.INFO: Acknowledgment sent {"connection_id":149977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:03:46] local.INFO: TCP Data received {"connection_id":149977,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:03:46] local.INFO: Processing buffer {"connection_id":149977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:03:46] local.INFO: Packet analysis {"connection_id":149977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:03:46] local.INFO: Extracted packet for processing {"connection_id":149977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:03:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:03: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-08-08 00:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:03:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":149977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:03:46] local.INFO: GPS data processed {"connection_id":149977,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:03:46] local.INFO: Acknowledgment sent {"connection_id":149977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:04:17] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:04:17] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:04:17] local.INFO: IMEI packet received {"connection_id":150243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":150243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:04:18] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:04:18] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:04:18] local.INFO: IMEI packet received {"connection_id":150243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":150243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:04:19] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:04:19] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:04:19] local.INFO: Packet analysis {"connection_id":150243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:04:19] local.INFO: Extracted packet for processing {"connection_id":150243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:04:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:04: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-08-08 00:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:04:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":150243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:04:19] local.INFO: GPS data processed {"connection_id":150243,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:04:19] local.INFO: Acknowledgment sent {"connection_id":150243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:04:23] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:04:23] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:04:23] local.INFO: Packet analysis {"connection_id":150243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:04:23] local.INFO: Extracted packet for processing {"connection_id":150243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:04:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:04:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:04:23] 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-08-08 00:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:04:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:04:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:04:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":150243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:04:23] local.INFO: GPS data processed {"connection_id":150243,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:04:23] local.INFO: Acknowledgment sent {"connection_id":150243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:05:08] local.INFO: TCP Data received {"connection_id":150244,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:05:08] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:05:08] local.INFO: IMEI packet received {"connection_id":150244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":150244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:05:14] local.INFO: TCP Data received {"connection_id":150244,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:05:14] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:05:14] local.INFO: IMEI packet received {"connection_id":150244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":150244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:05:16] local.INFO: TCP Data received {"connection_id":150244,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:05:16] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:05:16] local.INFO: Packet analysis {"connection_id":150244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:05:16] local.INFO: Extracted packet for processing {"connection_id":150244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:05:16] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00: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-08-08 00:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00: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-08-08 00:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:05:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:05:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":150244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:05:16] local.INFO: GPS data processed {"connection_id":150244,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:05:16] local.INFO: Acknowledgment sent {"connection_id":150244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:05:48] local.INFO: TCP Data received {"connection_id":150244,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:05:48] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:05:48] local.INFO: Packet analysis {"connection_id":150244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:05:48] local.INFO: Extracted packet for processing {"connection_id":150244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:05:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:05:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":150244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:05:48] local.INFO: GPS data processed {"connection_id":150244,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:05:48] local.INFO: Acknowledgment sent {"connection_id":150244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:06:07] local.INFO: TCP Data received {"connection_id":149978,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:06:07] local.INFO: Processing buffer {"connection_id":149978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:06:07] local.INFO: IMEI packet received {"connection_id":149978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":149978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:06:13] local.INFO: TCP Data received {"connection_id":149978,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:06:13] local.INFO: Processing buffer {"connection_id":149978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:06:13] local.INFO: IMEI packet received {"connection_id":149978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":149978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:06:14] local.INFO: TCP Data received {"connection_id":149978,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:06:14] local.INFO: Processing buffer {"connection_id":149978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd7dc110012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:06:14] local.INFO: Packet analysis {"connection_id":149978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:06:14] local.INFO: Extracted packet for processing {"connection_id":149978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd7d"} 
[2026-08-08 00:06:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248546048001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127434000,"timestamp_ms":1786127434000,"timestamp_seconds":1786127434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd7dc110"} 
[2026-08-08 00:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:06: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-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:06:14] 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-08-08 00:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248546048001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248546048001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:06:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248546048001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":149978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:06:14] local.INFO: GPS data processed {"connection_id":149978,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:06:14] local.INFO: Acknowledgment sent {"connection_id":149978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:06:45] local.INFO: TCP Data received {"connection_id":149978,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:06:45] local.INFO: Processing buffer {"connection_id":149978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:06:45] local.INFO: Packet analysis {"connection_id":149978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:06:45] local.INFO: Extracted packet for processing {"connection_id":149978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:06:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:06:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:06: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-08-08 00:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:06:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:06:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":149978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:06:45] local.INFO: GPS data processed {"connection_id":149978,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:06:45] local.INFO: Acknowledgment sent {"connection_id":149978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:07:07] local.INFO: TCP Data received {"connection_id":152683,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:07:07] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:07:07] local.INFO: IMEI packet received {"connection_id":152683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":152683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:07:13] local.INFO: TCP Data received {"connection_id":152683,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:07:13] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:07:13] local.INFO: IMEI packet received {"connection_id":152683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":152683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:07:14] local.INFO: TCP Data received {"connection_id":152683,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:07:14] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:07:14] local.INFO: Packet analysis {"connection_id":152683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:07:14] local.INFO: Extracted packet for processing {"connection_id":152683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:07:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:07: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-08-08 00:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:07:14] 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-08-08 00:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:07:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:07:14] local.INFO: GPS data processed {"connection_id":152683,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:07:14] local.INFO: Acknowledgment sent {"connection_id":152683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:07:46] local.INFO: TCP Data received {"connection_id":152683,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:07:46] local.INFO: Processing buffer {"connection_id":152683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:07:46] local.INFO: Packet analysis {"connection_id":152683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:07:46] local.INFO: Extracted packet for processing {"connection_id":152683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:07:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:07: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-08-08 00:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:07:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:07:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":152683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:07:46] local.INFO: GPS data processed {"connection_id":152683,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:07:46] local.INFO: Acknowledgment sent {"connection_id":152683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:08:13] local.INFO: TCP Data received {"connection_id":152684,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:08:13] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:08:13] local.INFO: IMEI packet received {"connection_id":152684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":152684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:08:18] local.INFO: TCP Data received {"connection_id":152684,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:08:18] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:08:18] local.INFO: IMEI packet received {"connection_id":152684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":152684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:08:19] local.INFO: TCP Data received {"connection_id":152684,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:08:19] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:08:19] local.INFO: Packet analysis {"connection_id":152684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:08:19] local.INFO: Extracted packet for processing {"connection_id":152684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:08:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:08: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-08-08 00:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:08:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:08:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":152684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:08:19] local.INFO: GPS data processed {"connection_id":152684,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:08:19] local.INFO: Acknowledgment sent {"connection_id":152684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:08:23] local.INFO: TCP Data received {"connection_id":152684,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:08:23] local.INFO: Processing buffer {"connection_id":152684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:08:23] local.INFO: Packet analysis {"connection_id":152684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:08:23] local.INFO: Extracted packet for processing {"connection_id":152684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:08:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:08:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:08:23] 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-08-08 00:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:08:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":152684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:08:23] local.INFO: GPS data processed {"connection_id":152684,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:08:23] local.INFO: Acknowledgment sent {"connection_id":152684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:09:08] local.INFO: TCP Data received {"connection_id":152685,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:09:08] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:09:08] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:09:12] local.INFO: TCP Data received {"connection_id":152685,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:09:12] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:09:12] local.INFO: IMEI packet received {"connection_id":152685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":152685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:09:13] local.INFO: TCP Data received {"connection_id":152685,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:09:13] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:09:13] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:09:13] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:09:13] 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-08-08 00:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:09:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:09:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:09:13] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:09:13] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:09:45] local.INFO: TCP Data received {"connection_id":152685,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:09:45] local.INFO: Processing buffer {"connection_id":152685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:09:45] local.INFO: Packet analysis {"connection_id":152685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:09:45] local.INFO: Extracted packet for processing {"connection_id":152685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:09:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:09:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:09: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-08-08 00:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:09:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:09:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":152685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:09:45] local.INFO: GPS data processed {"connection_id":152685,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:09:45] local.INFO: Acknowledgment sent {"connection_id":152685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:10:07] local.INFO: TCP Data received {"connection_id":151223,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:10:07] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:10:07] local.INFO: IMEI packet received {"connection_id":151223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":151223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:10:13] local.INFO: TCP Data received {"connection_id":151223,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:10:13] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:10:13] local.INFO: IMEI packet received {"connection_id":151223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":151223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:10:14] local.INFO: TCP Data received {"connection_id":151223,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:10:14] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:10:14] local.INFO: Packet analysis {"connection_id":151223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:10:14] local.INFO: Extracted packet for processing {"connection_id":151223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:10:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:10: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-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:10:14] 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-08-08 00:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:10:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":151223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:10:14] local.INFO: GPS data processed {"connection_id":151223,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:10:14] local.INFO: Acknowledgment sent {"connection_id":151223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:10:45] local.INFO: TCP Data received {"connection_id":151223,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:10:45] local.INFO: Processing buffer {"connection_id":151223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:10:45] local.INFO: Packet analysis {"connection_id":151223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:10:45] local.INFO: Extracted packet for processing {"connection_id":151223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:10:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:10: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-08-08 00:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:10:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":151223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:10:45] local.INFO: GPS data processed {"connection_id":151223,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:10:45] local.INFO: Acknowledgment sent {"connection_id":151223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:11:07] local.INFO: TCP Data received {"connection_id":152686,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:11:07] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:11:07] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:11:13] local.INFO: TCP Data received {"connection_id":152686,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:11:13] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:11:13] local.INFO: IMEI packet received {"connection_id":152686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":152686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:11:14] local.INFO: TCP Data received {"connection_id":152686,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:11:14] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8258d8012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:11:14] local.INFO: Packet analysis {"connection_id":152686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:11:14] local.INFO: Extracted packet for processing {"connection_id":152686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd82"} 
[2026-08-08 00:11:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786127735000,"timestamp_ms":1786127735000,"timestamp_seconds":1786127735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8258d8"} 
[2026-08-08 00:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:11: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-08-08 00:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:11:14] 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-08-08 00:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248623104001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:11:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:11:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248623104001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":152686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:11:14] local.INFO: GPS data processed {"connection_id":152686,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:11:14] local.INFO: Acknowledgment sent {"connection_id":152686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:11:45] local.INFO: TCP Data received {"connection_id":152686,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:11:45] local.INFO: Processing buffer {"connection_id":152686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:11:45] local.INFO: Packet analysis {"connection_id":152686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:11:45] local.INFO: Extracted packet for processing {"connection_id":152686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:11:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:11: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-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:11:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:11:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":152686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:11:45] local.INFO: GPS data processed {"connection_id":152686,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:11:45] local.INFO: Acknowledgment sent {"connection_id":152686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:12:13] local.INFO: TCP Data received {"connection_id":152687,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:12:13] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:12:13] local.INFO: IMEI packet received {"connection_id":152687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":152687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:12:17] local.INFO: TCP Data received {"connection_id":152687,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:12:17] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:12:17] local.INFO: IMEI packet received {"connection_id":152687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":152687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:12:19] local.INFO: TCP Data received {"connection_id":152687,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:12:19] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:12:19] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:12:19] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:12:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:12: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-08-08 00:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:12:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:12:19] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:12:19] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:12:23] local.INFO: TCP Data received {"connection_id":152687,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:12:23] local.INFO: Processing buffer {"connection_id":152687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:12:23] local.INFO: Packet analysis {"connection_id":152687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:12:23] local.INFO: Extracted packet for processing {"connection_id":152687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:12:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00: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-08-08 00:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:12:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:12:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:12:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:12:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":152687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:12:23] local.INFO: GPS data processed {"connection_id":152687,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:12:23] local.INFO: Acknowledgment sent {"connection_id":152687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:13:08] local.INFO: TCP Data received {"connection_id":149979,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:13:08] local.INFO: Processing buffer {"connection_id":149979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:13:08] local.INFO: IMEI packet received {"connection_id":149979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":149979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:13:13] local.INFO: TCP Data received {"connection_id":149979,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:13:13] local.INFO: Processing buffer {"connection_id":149979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:13:13] local.INFO: IMEI packet received {"connection_id":149979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":149979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:13:14] local.INFO: TCP Data received {"connection_id":149979,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:13:14] local.INFO: Processing buffer {"connection_id":149979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:13:14] local.INFO: Packet analysis {"connection_id":149979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:13:14] local.INFO: Extracted packet for processing {"connection_id":149979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:13:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:13:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:13: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-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:13:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:13:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":149979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:13:14] local.INFO: GPS data processed {"connection_id":149979,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:13:14] local.INFO: Acknowledgment sent {"connection_id":149979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:13:46] local.INFO: TCP Data received {"connection_id":149979,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:13:46] local.INFO: Processing buffer {"connection_id":149979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:13:46] local.INFO: Packet analysis {"connection_id":149979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:13:46] local.INFO: Extracted packet for processing {"connection_id":149979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:13:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:13:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":149979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:13:46] local.INFO: GPS data processed {"connection_id":149979,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:13:46] local.INFO: Acknowledgment sent {"connection_id":149979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:14:07] local.INFO: TCP Data received {"connection_id":150245,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:14:07] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:14:07] local.INFO: IMEI packet received {"connection_id":150245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":150245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:14:13] local.INFO: TCP Data received {"connection_id":150245,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:14:13] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:14:13] local.INFO: IMEI packet received {"connection_id":150245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":150245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:14:14] local.INFO: TCP Data received {"connection_id":150245,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:14:14] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:14:14] local.INFO: Packet analysis {"connection_id":150245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:14:14] local.INFO: Extracted packet for processing {"connection_id":150245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:14:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00: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-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:14:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":150245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:14:14] local.INFO: GPS data processed {"connection_id":150245,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:14:14] local.INFO: Acknowledgment sent {"connection_id":150245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:14:45] local.INFO: TCP Data received {"connection_id":150245,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:14:45] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:14:45] local.INFO: Packet analysis {"connection_id":150245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:14:45] local.INFO: Extracted packet for processing {"connection_id":150245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:14:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:14: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-08-08 00:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:14:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:14:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":150245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:14:45] local.INFO: GPS data processed {"connection_id":150245,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:14:45] local.INFO: Acknowledgment sent {"connection_id":150245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:15:07] local.INFO: TCP Data received {"connection_id":149980,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:15:07] local.INFO: Processing buffer {"connection_id":149980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:15:07] local.INFO: IMEI packet received {"connection_id":149980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":149980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:15:13] local.INFO: TCP Data received {"connection_id":149980,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:15:13] local.INFO: Processing buffer {"connection_id":149980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:15:13] local.INFO: IMEI packet received {"connection_id":149980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":149980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:15:14] local.INFO: TCP Data received {"connection_id":149980,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:15:14] local.INFO: Processing buffer {"connection_id":149980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:15:14] local.INFO: Packet analysis {"connection_id":149980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:15:14] local.INFO: Extracted packet for processing {"connection_id":149980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:15:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:15:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:15:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:15:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":149980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:15:14] local.INFO: GPS data processed {"connection_id":149980,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:15:14] local.INFO: Acknowledgment sent {"connection_id":149980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:15:45] local.INFO: TCP Data received {"connection_id":149980,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:15:45] local.INFO: Processing buffer {"connection_id":149980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:15:45] local.INFO: Packet analysis {"connection_id":149980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:15:45] local.INFO: Extracted packet for processing {"connection_id":149980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:15:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:15: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-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:15:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":149980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:15:45] local.INFO: GPS data processed {"connection_id":149980,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:15:45] local.INFO: Acknowledgment sent {"connection_id":149980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:16:07] local.INFO: TCP Data received {"connection_id":151224,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:16:07] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:16:07] local.INFO: IMEI packet received {"connection_id":151224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":151224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:16:13] local.INFO: TCP Data received {"connection_id":151224,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:16:13] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:16:13] local.INFO: IMEI packet received {"connection_id":151224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":151224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:16:14] local.INFO: TCP Data received {"connection_id":151224,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:16:14] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd86f0a0012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:16:14] local.INFO: Packet analysis {"connection_id":151224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:16:14] local.INFO: Extracted packet for processing {"connection_id":151224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd86"} 
[2026-08-08 00:16:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248700160001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128036000,"timestamp_ms":1786128036000,"timestamp_seconds":1786128036,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd86f0a0"} 
[2026-08-08 00:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:16: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-08-08 00:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248700160001,"66":25343,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248700160001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:16:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:16:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248700160001,"power":25343,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":151224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:16:14] local.INFO: GPS data processed {"connection_id":151224,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:16:14] local.INFO: Acknowledgment sent {"connection_id":151224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:16:45] local.INFO: TCP Data received {"connection_id":151224,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:16:45] local.INFO: Processing buffer {"connection_id":151224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:16:45] local.INFO: Packet analysis {"connection_id":151224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:16:45] local.INFO: Extracted packet for processing {"connection_id":151224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:16:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:16:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:16: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-08-08 00:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:16:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:16:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":151224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:16:45] local.INFO: GPS data processed {"connection_id":151224,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:16:45] local.INFO: Acknowledgment sent {"connection_id":151224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:17:08] local.INFO: TCP Data received {"connection_id":152688,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:17:08] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:17:08] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:17:13] local.INFO: TCP Data received {"connection_id":152688,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:17:13] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:17:13] local.INFO: IMEI packet received {"connection_id":152688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":152688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:17:15] local.INFO: TCP Data received {"connection_id":152688,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:17:15] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:17:15] local.INFO: Packet analysis {"connection_id":152688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:17:15] local.INFO: Extracted packet for processing {"connection_id":152688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:17:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:17:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":152688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:17:15] local.INFO: GPS data processed {"connection_id":152688,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:17:15] local.INFO: Acknowledgment sent {"connection_id":152688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:17:46] local.INFO: TCP Data received {"connection_id":152688,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:17:46] local.INFO: Processing buffer {"connection_id":152688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:17:46] local.INFO: Packet analysis {"connection_id":152688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:17:46] local.INFO: Extracted packet for processing {"connection_id":152688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:17:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:17:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":152688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:17:46] local.INFO: GPS data processed {"connection_id":152688,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:17:46] local.INFO: Acknowledgment sent {"connection_id":152688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:18:07] local.INFO: TCP Data received {"connection_id":151225,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:18:07] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:18:07] local.INFO: IMEI packet received {"connection_id":151225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":151225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:18:13] local.INFO: TCP Data received {"connection_id":151225,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:18:13] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:18:13] local.INFO: IMEI packet received {"connection_id":151225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":151225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:18:14] local.INFO: TCP Data received {"connection_id":151225,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:18:14] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:18:14] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:18:14] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:18:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:18:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:18:14] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:18:14] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:18:45] local.INFO: TCP Data received {"connection_id":151225,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:18:45] local.INFO: Processing buffer {"connection_id":151225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:18:45] local.INFO: Packet analysis {"connection_id":151225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:18:45] local.INFO: Extracted packet for processing {"connection_id":151225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:18:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:18: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-08-08 00:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:18:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":151225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:18:45] local.INFO: GPS data processed {"connection_id":151225,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:18:45] local.INFO: Acknowledgment sent {"connection_id":151225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:19:07] local.INFO: TCP Data received {"connection_id":149981,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:19:07] local.INFO: Processing buffer {"connection_id":149981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:19:07] local.INFO: IMEI packet received {"connection_id":149981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":149981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:19:13] local.INFO: TCP Data received {"connection_id":149981,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:19:13] local.INFO: Processing buffer {"connection_id":149981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:19:13] local.INFO: IMEI packet received {"connection_id":149981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":149981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:19:14] local.INFO: TCP Data received {"connection_id":149981,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:19:14] local.INFO: Processing buffer {"connection_id":149981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:19:14] local.INFO: Packet analysis {"connection_id":149981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:19:14] local.INFO: Extracted packet for processing {"connection_id":149981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:19:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:19:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":149981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:19:15] local.INFO: GPS data processed {"connection_id":149981,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:19:15] local.INFO: Acknowledgment sent {"connection_id":149981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:19:46] local.INFO: TCP Data received {"connection_id":149981,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:19:46] local.INFO: Processing buffer {"connection_id":149981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:19:46] local.INFO: Packet analysis {"connection_id":149981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:19:46] local.INFO: Extracted packet for processing {"connection_id":149981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:19:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:19:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":149981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:19:46] local.INFO: GPS data processed {"connection_id":149981,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:19:46] local.INFO: Acknowledgment sent {"connection_id":149981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:20:07] local.INFO: TCP Data received {"connection_id":149982,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:20:07] local.INFO: Processing buffer {"connection_id":149982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:20:07] local.INFO: IMEI packet received {"connection_id":149982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":149982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:20:13] local.INFO: TCP Data received {"connection_id":149982,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:20:13] local.INFO: Processing buffer {"connection_id":149982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:20:13] local.INFO: IMEI packet received {"connection_id":149982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":149982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:20:14] local.INFO: TCP Data received {"connection_id":149982,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:20:14] local.INFO: Processing buffer {"connection_id":149982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:20:14] local.INFO: Packet analysis {"connection_id":149982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:20:14] local.INFO: Extracted packet for processing {"connection_id":149982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:20:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 00:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 00:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:20:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":149982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:20:14] local.INFO: GPS data processed {"connection_id":149982,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:20:14] local.INFO: Acknowledgment sent {"connection_id":149982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:20:45] local.INFO: TCP Data received {"connection_id":149982,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:20:45] local.INFO: Processing buffer {"connection_id":149982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd8b8868012cee7500072e2ba8003d006a29..."} 
[2026-08-08 00:20:45] local.INFO: Packet analysis {"connection_id":149982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:20:45] local.INFO: Extracted packet for processing {"connection_id":149982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd8b"} 
[2026-08-08 00:20:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 00:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128337000,"timestamp_ms":1786128337000,"timestamp_seconds":1786128337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd8b8868"} 
[2026-08-08 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-08-08 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-08-08 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-08-08 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-08-08 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-08-08 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-08-08 00:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248777216001,"66":25006,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:20:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:20:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248777216001,"power":25006,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":149982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:20:45] local.INFO: GPS data processed {"connection_id":149982,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:20:45] local.INFO: Acknowledgment sent {"connection_id":149982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:21:15] local.INFO: TCP Data received {"connection_id":149983,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:21:15] local.INFO: Processing buffer {"connection_id":149983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:21:15] local.INFO: IMEI packet received {"connection_id":149983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":149983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:21:16] local.INFO: TCP Data received {"connection_id":149983,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:21:16] local.INFO: Processing buffer {"connection_id":149983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:21:16] local.INFO: IMEI packet received {"connection_id":149983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":149983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:21:18] local.INFO: TCP Data received {"connection_id":149983,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:18] local.INFO: Processing buffer {"connection_id":149983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:18] local.INFO: Packet analysis {"connection_id":149983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:21:18] local.INFO: Extracted packet for processing {"connection_id":149983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:21:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":149983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":149983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":149983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:21:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:21:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":149983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:21:18] local.INFO: GPS data processed {"connection_id":149983,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:21:18] local.INFO: Acknowledgment sent {"connection_id":149983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:21:19] local.INFO: TCP Data received {"connection_id":149983,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:19] local.INFO: Processing buffer {"connection_id":149983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:19] local.INFO: Packet analysis {"connection_id":149983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:21:19] local.INFO: Extracted packet for processing {"connection_id":149983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:21:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:21:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":149983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:21:19] local.INFO: GPS data processed {"connection_id":149983,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:21:19] local.INFO: Acknowledgment sent {"connection_id":149983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:21:50] local.INFO: TCP Data received {"connection_id":149983,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:50] local.INFO: Processing buffer {"connection_id":149983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:21:50] local.INFO: Packet analysis {"connection_id":149983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:21:50] local.INFO: Extracted packet for processing {"connection_id":149983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:21:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00: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-08-08 00:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00: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-08-08 00:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":149983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":149983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":149983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:21:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:21:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":149983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:21:50] local.INFO: GPS data processed {"connection_id":149983,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:21:50] local.INFO: Acknowledgment sent {"connection_id":149983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:22:07] local.INFO: TCP Data received {"connection_id":152689,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:22:07] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:22:07] local.INFO: IMEI packet received {"connection_id":152689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":152689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:22:13] local.INFO: TCP Data received {"connection_id":152689,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:22:13] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:22:13] local.INFO: IMEI packet received {"connection_id":152689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":152689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:22:14] local.INFO: TCP Data received {"connection_id":152689,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:22:14] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:22:14] local.INFO: Packet analysis {"connection_id":152689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:22:14] local.INFO: Extracted packet for processing {"connection_id":152689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:22:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:22: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-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:22:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":152689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:22:14] local.INFO: GPS data processed {"connection_id":152689,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:22:14] local.INFO: Acknowledgment sent {"connection_id":152689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:22:45] local.INFO: TCP Data received {"connection_id":152689,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:22:45] local.INFO: Processing buffer {"connection_id":152689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:22:45] local.INFO: Packet analysis {"connection_id":152689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:22:45] local.INFO: Extracted packet for processing {"connection_id":152689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:22:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:22: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-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:22:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":152689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:22:45] local.INFO: GPS data processed {"connection_id":152689,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:22:45] local.INFO: Acknowledgment sent {"connection_id":152689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:23:07] local.INFO: TCP Data received {"connection_id":149984,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:23:07] local.INFO: Processing buffer {"connection_id":149984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:23:07] local.INFO: IMEI packet received {"connection_id":149984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":149984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:23:13] local.INFO: TCP Data received {"connection_id":149984,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:23:13] local.INFO: Processing buffer {"connection_id":149984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:23:13] local.INFO: IMEI packet received {"connection_id":149984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":149984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:23:14] local.INFO: TCP Data received {"connection_id":149984,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:23:14] local.INFO: Processing buffer {"connection_id":149984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:23:14] local.INFO: Packet analysis {"connection_id":149984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:23:14] local.INFO: Extracted packet for processing {"connection_id":149984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:23: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-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:23:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":149984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:23:14] local.INFO: GPS data processed {"connection_id":149984,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:23:14] local.INFO: Acknowledgment sent {"connection_id":149984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:23:46] local.INFO: TCP Data received {"connection_id":149984,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:23:46] local.INFO: Processing buffer {"connection_id":149984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:23:46] local.INFO: Packet analysis {"connection_id":149984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:23:46] local.INFO: Extracted packet for processing {"connection_id":149984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":149984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":149984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":149984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:23:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":149984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:23:46] local.INFO: GPS data processed {"connection_id":149984,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:23:46] local.INFO: Acknowledgment sent {"connection_id":149984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:24:13] local.INFO: TCP Data received {"connection_id":151226,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:24:13] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:24:13] local.INFO: IMEI packet received {"connection_id":151226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":151226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:24:18] local.INFO: TCP Data received {"connection_id":151226,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:24:18] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:24:18] local.INFO: IMEI packet received {"connection_id":151226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":151226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:24:19] local.INFO: TCP Data received {"connection_id":151226,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:24:19] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:24:19] local.INFO: Packet analysis {"connection_id":151226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:24:19] local.INFO: Extracted packet for processing {"connection_id":151226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:24:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":151226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:24:19] local.INFO: GPS data processed {"connection_id":151226,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:24:19] local.INFO: Acknowledgment sent {"connection_id":151226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:24:23] local.INFO: TCP Data received {"connection_id":151226,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:24:23] local.INFO: Processing buffer {"connection_id":151226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:24:23] local.INFO: Packet analysis {"connection_id":151226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:24:23] local.INFO: Extracted packet for processing {"connection_id":151226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:24:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:24:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:24:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:24:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:24:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":151226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:24:23] local.INFO: GPS data processed {"connection_id":151226,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:24:23] local.INFO: Acknowledgment sent {"connection_id":151226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:25:08] local.INFO: TCP Data received {"connection_id":152690,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:25:08] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:25:08] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:25:12] local.INFO: TCP Data received {"connection_id":152690,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:25:12] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:25:12] local.INFO: IMEI packet received {"connection_id":152690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":152690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:25:14] local.INFO: TCP Data received {"connection_id":152690,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:25:14] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:25:14] local.INFO: Packet analysis {"connection_id":152690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:25:14] local.INFO: Extracted packet for processing {"connection_id":152690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:25: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-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:25:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":152690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:25:14] local.INFO: GPS data processed {"connection_id":152690,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:25:14] local.INFO: Acknowledgment sent {"connection_id":152690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:25:45] local.INFO: TCP Data received {"connection_id":152690,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:25:45] local.INFO: Processing buffer {"connection_id":152690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:25:45] local.INFO: Packet analysis {"connection_id":152690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:25:45] local.INFO: Extracted packet for processing {"connection_id":152690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:25:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:25: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-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:25:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:25:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":152690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:25:45] local.INFO: GPS data processed {"connection_id":152690,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:25:45] local.INFO: Acknowledgment sent {"connection_id":152690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:26:08] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:26:08] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:26:08] local.INFO: IMEI packet received {"connection_id":150246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":150246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:26:13] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:26:13] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:26:13] local.INFO: IMEI packet received {"connection_id":150246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":150246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:26:14] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:26:14] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd902030012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:26:14] local.INFO: Packet analysis {"connection_id":150246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:26:14] local.INFO: Extracted packet for processing {"connection_id":150246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd90"} 
[2026-08-08 00:26:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248854272001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:26:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128638000,"timestamp_ms":1786128638000,"timestamp_seconds":1786128638,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd902030"} 
[2026-08-08 00:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:26: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-08-08 00: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 00:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248854272001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248854272001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:26:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:26:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248854272001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":150246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:26:14] local.INFO: GPS data processed {"connection_id":150246,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:26:14] local.INFO: Acknowledgment sent {"connection_id":150246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:26:45] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:26:45] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:26:45] local.INFO: Packet analysis {"connection_id":150246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:26:45] local.INFO: Extracted packet for processing {"connection_id":150246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:26:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:26:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:26: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-08-08 00:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:26:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:26:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":150246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:26:45] local.INFO: GPS data processed {"connection_id":150246,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:26:45] local.INFO: Acknowledgment sent {"connection_id":150246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:27:07] local.INFO: TCP Data received {"connection_id":149985,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:27:07] local.INFO: Processing buffer {"connection_id":149985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:27:07] local.INFO: IMEI packet received {"connection_id":149985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":149985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:27:13] local.INFO: TCP Data received {"connection_id":149985,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:27:13] local.INFO: Processing buffer {"connection_id":149985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:27:13] local.INFO: IMEI packet received {"connection_id":149985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":149985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:27:14] local.INFO: TCP Data received {"connection_id":149985,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:27:14] local.INFO: Processing buffer {"connection_id":149985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:27:14] local.INFO: Packet analysis {"connection_id":149985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:27:14] local.INFO: Extracted packet for processing {"connection_id":149985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:27:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:27:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:27: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-08-08 00:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:27:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:27:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":149985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:27:14] local.INFO: GPS data processed {"connection_id":149985,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:27:14] local.INFO: Acknowledgment sent {"connection_id":149985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:27:47] local.INFO: TCP Data received {"connection_id":149985,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:27:47] local.INFO: Processing buffer {"connection_id":149985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:27:47] local.INFO: Packet analysis {"connection_id":149985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:27:47] local.INFO: Extracted packet for processing {"connection_id":149985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:27:47] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:27:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:27: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-08-08 00:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":149985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":149985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":149985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:27:47] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:27:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:27:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":149985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:27:47] local.INFO: GPS data processed {"connection_id":149985,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:27:47] local.INFO: Acknowledgment sent {"connection_id":149985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:28:13] local.INFO: TCP Data received {"connection_id":151227,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:28:13] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:28:13] local.INFO: IMEI packet received {"connection_id":151227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":151227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:28:18] local.INFO: TCP Data received {"connection_id":151227,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:28:18] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:28:18] local.INFO: IMEI packet received {"connection_id":151227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":151227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:28:19] local.INFO: TCP Data received {"connection_id":151227,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:28:19] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:28:19] local.INFO: Packet analysis {"connection_id":151227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:28:19] local.INFO: Extracted packet for processing {"connection_id":151227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:28:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:28: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-08-08 00: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-08-08 00:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:28:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:28:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":151227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:28:19] local.INFO: GPS data processed {"connection_id":151227,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:28:19] local.INFO: Acknowledgment sent {"connection_id":151227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:28:23] local.INFO: TCP Data received {"connection_id":151227,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:28:23] local.INFO: Processing buffer {"connection_id":151227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:28:23] local.INFO: Packet analysis {"connection_id":151227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:28:23] local.INFO: Extracted packet for processing {"connection_id":151227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:28:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:28:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:28:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:28:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:28:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":151227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:28:23] local.INFO: GPS data processed {"connection_id":151227,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:28:23] local.INFO: Acknowledgment sent {"connection_id":151227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:29:08] local.INFO: TCP Data received {"connection_id":152691,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:29:08] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:29:08] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:29:13] local.INFO: TCP Data received {"connection_id":152691,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:29:13] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:29:13] local.INFO: IMEI packet received {"connection_id":152691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":152691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:29:15] local.INFO: TCP Data received {"connection_id":152691,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:29:15] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:29:15] local.INFO: Packet analysis {"connection_id":152691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:29:15] local.INFO: Extracted packet for processing {"connection_id":152691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:29:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:29: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-08-08 00:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:29:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:29:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":152691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:29:15] local.INFO: GPS data processed {"connection_id":152691,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:29:15] local.INFO: Acknowledgment sent {"connection_id":152691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:29:47] local.INFO: TCP Data received {"connection_id":152691,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:29:47] local.INFO: Processing buffer {"connection_id":152691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:29:47] local.INFO: Packet analysis {"connection_id":152691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:29:47] local.INFO: Extracted packet for processing {"connection_id":152691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:29:47] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:29: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-08-08 00:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:29:47] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:29:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":152691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:29:47] local.INFO: GPS data processed {"connection_id":152691,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:29:47] local.INFO: Acknowledgment sent {"connection_id":152691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:30:08] local.INFO: TCP Data received {"connection_id":151228,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:30:08] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:30:08] local.INFO: IMEI packet received {"connection_id":151228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":151228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:30:13] local.INFO: TCP Data received {"connection_id":151228,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:30:13] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:30:13] local.INFO: IMEI packet received {"connection_id":151228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":151228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:30:14] local.INFO: TCP Data received {"connection_id":151228,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:30:14] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:30:14] local.INFO: Packet analysis {"connection_id":151228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:30:14] local.INFO: Extracted packet for processing {"connection_id":151228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:30:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:30:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:30: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-08-08 00:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:30:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:30:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":151228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:30:14] local.INFO: GPS data processed {"connection_id":151228,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:30:14] local.INFO: Acknowledgment sent {"connection_id":151228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:30:45] local.INFO: TCP Data received {"connection_id":151228,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:30:45] local.INFO: Processing buffer {"connection_id":151228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:30:45] local.INFO: Packet analysis {"connection_id":151228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:30:45] local.INFO: Extracted packet for processing {"connection_id":151228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:30:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:30:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:30: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-08-08 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:30:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:30:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":151228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:30:46] local.INFO: GPS data processed {"connection_id":151228,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:30:46] local.INFO: Acknowledgment sent {"connection_id":151228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:31:07] local.INFO: TCP Data received {"connection_id":152692,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:31:07] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:31:07] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:31:14] local.INFO: TCP Data received {"connection_id":152692,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:31:14] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:31:14] local.INFO: IMEI packet received {"connection_id":152692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":152692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:31:15] local.INFO: TCP Data received {"connection_id":152692,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:31:15] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd94b7f8012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:31:15] local.INFO: Packet analysis {"connection_id":152692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:31:15] local.INFO: Extracted packet for processing {"connection_id":152692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd94"} 
[2026-08-08 00:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457248931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786128939000,"timestamp_ms":1786128939000,"timestamp_seconds":1786128939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd94b7f8"} 
[2026-08-08 00:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":31,"data_length":795,"current_offset":136} 
[2026-08-08 00:31: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-08-08 00:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457248931328001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457248931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:31:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457248931328001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":152692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:31:15] local.INFO: GPS data processed {"connection_id":152692,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:31:15] local.INFO: Acknowledgment sent {"connection_id":152692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:31:47] local.INFO: TCP Data received {"connection_id":152692,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:31:47] local.INFO: Processing buffer {"connection_id":152692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:31:47] local.INFO: Packet analysis {"connection_id":152692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:31:47] local.INFO: Extracted packet for processing {"connection_id":152692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:31:47] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:31:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:31:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:31:47] 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-08-08 00:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:31:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:31:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:31:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":152692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:31:47] local.INFO: GPS data processed {"connection_id":152692,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:31:47] local.INFO: Acknowledgment sent {"connection_id":152692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:32:13] local.INFO: TCP Data received {"connection_id":151229,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:32:13] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:32:13] local.INFO: IMEI packet received {"connection_id":151229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":151229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:32:18] local.INFO: TCP Data received {"connection_id":151229,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:32:18] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:32:18] local.INFO: IMEI packet received {"connection_id":151229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":151229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:32:19] local.INFO: TCP Data received {"connection_id":151229,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:32:19] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:32:19] local.INFO: Packet analysis {"connection_id":151229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:32:19] local.INFO: Extracted packet for processing {"connection_id":151229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:32:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:32:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:32: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-08-08 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:32: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-08-08 00:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:32:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":151229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:32:19] local.INFO: GPS data processed {"connection_id":151229,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:32:19] local.INFO: Acknowledgment sent {"connection_id":151229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:32:23] local.INFO: TCP Data received {"connection_id":151229,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:32:23] local.INFO: Processing buffer {"connection_id":151229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:32:23] local.INFO: Packet analysis {"connection_id":151229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:32:23] local.INFO: Extracted packet for processing {"connection_id":151229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:32:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:32:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:32:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:32:23] 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-08-08 00:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:32:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:32:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:32:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":151229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:32:23] local.INFO: GPS data processed {"connection_id":151229,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:32:23] local.INFO: Acknowledgment sent {"connection_id":151229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:33:08] local.INFO: TCP Data received {"connection_id":151230,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:33:08] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:33:08] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:33:13] local.INFO: TCP Data received {"connection_id":151230,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:33:13] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:33:13] local.INFO: IMEI packet received {"connection_id":151230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":151230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:33:14] local.INFO: TCP Data received {"connection_id":151230,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:33:14] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:33:14] local.INFO: Packet analysis {"connection_id":151230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:33:14] local.INFO: Extracted packet for processing {"connection_id":151230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:33:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:33:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:33:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:33:14] 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-08-08 00:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:33:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:33:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":151230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:33:14] local.INFO: GPS data processed {"connection_id":151230,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:33:14] local.INFO: Acknowledgment sent {"connection_id":151230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:33:46] local.INFO: TCP Data received {"connection_id":151230,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:33:47] local.INFO: Processing buffer {"connection_id":151230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:33:47] local.INFO: Packet analysis {"connection_id":151230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:33:47] local.INFO: Extracted packet for processing {"connection_id":151230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:33:47] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:33:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:33:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:33:47] 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-08-08 00:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:33:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:33:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:33:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":151230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:33:47] local.INFO: GPS data processed {"connection_id":151230,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:33:47] local.INFO: Acknowledgment sent {"connection_id":151230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:34:07] local.INFO: TCP Data received {"connection_id":150247,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:34:07] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:34:07] local.INFO: IMEI packet received {"connection_id":150247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":150247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:34:14] local.INFO: TCP Data received {"connection_id":150247,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:34:14] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:34:14] local.INFO: IMEI packet received {"connection_id":150247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":150247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:34:15] local.INFO: TCP Data received {"connection_id":150247,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:34:15] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:34:15] local.INFO: Packet analysis {"connection_id":150247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:34:15] local.INFO: Extracted packet for processing {"connection_id":150247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:34:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:34:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:34: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-08-08 00:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:34:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":150247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:34:15] local.INFO: GPS data processed {"connection_id":150247,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:34:15] local.INFO: Acknowledgment sent {"connection_id":150247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:34:46] local.INFO: TCP Data received {"connection_id":150247,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:34:46] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:34:46] local.INFO: Packet analysis {"connection_id":150247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:34:46] local.INFO: Extracted packet for processing {"connection_id":150247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00: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-08-08 00:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:34:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:34: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-08-08 00: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-08-08 00:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:34:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:34:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":150247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:34:46] local.INFO: GPS data processed {"connection_id":150247,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:34:46] local.INFO: Acknowledgment sent {"connection_id":150247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:35:12] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:35:12] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:35:12] local.INFO: IMEI packet received {"connection_id":151231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":151231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:35:18] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:35:18] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:35:18] local.INFO: IMEI packet received {"connection_id":151231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":151231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:35:19] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:35:19] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:35:19] local.INFO: Packet analysis {"connection_id":151231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:35:19] local.INFO: Extracted packet for processing {"connection_id":151231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:35:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:35:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:35:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:35: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-08-08 00:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:35: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-08-08 00:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:35:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:35:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:35:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":151231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:35:19] local.INFO: GPS data processed {"connection_id":151231,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:35:19] local.INFO: Acknowledgment sent {"connection_id":151231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:35:50] local.INFO: TCP Data received {"connection_id":151231,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:35:50] local.INFO: Processing buffer {"connection_id":151231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:35:50] local.INFO: Packet analysis {"connection_id":151231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:35:50] local.INFO: Extracted packet for processing {"connection_id":151231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:35:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:35:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:35:50] 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-08-08 00:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:35:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:35:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":151231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:35:50] local.INFO: GPS data processed {"connection_id":151231,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:35:50] local.INFO: Acknowledgment sent {"connection_id":151231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:36:07] local.INFO: TCP Data received {"connection_id":152693,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:36:07] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:36:07] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:36:13] local.INFO: TCP Data received {"connection_id":152693,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:36:13] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:36:13] local.INFO: IMEI packet received {"connection_id":152693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":152693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:36:14] local.INFO: TCP Data received {"connection_id":152693,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:36:14] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd994fc0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:36:14] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:36:14] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd99"} 
[2026-08-08 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:36:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129240000,"timestamp_ms":1786129240000,"timestamp_seconds":1786129240,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd994fc0"} 
[2026-08-08 00:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:36:14] 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-08-08 00:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249008384001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:36:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249008384001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:36:14] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:36:14] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:36:45] local.INFO: TCP Data received {"connection_id":152693,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:36:45] local.INFO: Processing buffer {"connection_id":152693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:36:45] local.INFO: Packet analysis {"connection_id":152693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:36:45] local.INFO: Extracted packet for processing {"connection_id":152693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:36:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:36:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:36: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-08-08 00:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:36:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":152693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:36:45] local.INFO: GPS data processed {"connection_id":152693,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:36:45] local.INFO: Acknowledgment sent {"connection_id":152693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:37:07] local.INFO: TCP Data received {"connection_id":149986,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:37:07] local.INFO: Processing buffer {"connection_id":149986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:37:07] local.INFO: IMEI packet received {"connection_id":149986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":149986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:37:13] local.INFO: TCP Data received {"connection_id":149986,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:37:13] local.INFO: Processing buffer {"connection_id":149986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:37:13] local.INFO: IMEI packet received {"connection_id":149986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":149986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:37:14] local.INFO: TCP Data received {"connection_id":149986,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:37:14] local.INFO: Processing buffer {"connection_id":149986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:37:14] local.INFO: Packet analysis {"connection_id":149986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:37:14] local.INFO: Extracted packet for processing {"connection_id":149986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:37:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:37:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:37: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-08-08 00:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:37:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":149986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:37:14] local.INFO: GPS data processed {"connection_id":149986,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:37:14] local.INFO: Acknowledgment sent {"connection_id":149986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:37:45] local.INFO: TCP Data received {"connection_id":149986,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:37:45] local.INFO: Processing buffer {"connection_id":149986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:37:45] local.INFO: Packet analysis {"connection_id":149986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:37:45] local.INFO: Extracted packet for processing {"connection_id":149986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:37:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:37:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:37:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:37: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-08-08 00:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:37:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:37:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":149986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:37:45] local.INFO: GPS data processed {"connection_id":149986,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:37:45] local.INFO: Acknowledgment sent {"connection_id":149986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:38:13] local.INFO: TCP Data received {"connection_id":150248,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:38:13] local.INFO: Processing buffer {"connection_id":150248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:38:13] local.INFO: IMEI packet received {"connection_id":150248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":150248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:38:18] local.INFO: TCP Data received {"connection_id":150248,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:38:18] local.INFO: Processing buffer {"connection_id":150248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:38:18] local.INFO: IMEI packet received {"connection_id":150248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":150248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:38:19] local.INFO: TCP Data received {"connection_id":150248,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:38:19] local.INFO: Processing buffer {"connection_id":150248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:38:19] local.INFO: Packet analysis {"connection_id":150248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:38:19] local.INFO: Extracted packet for processing {"connection_id":150248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:38:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:38:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":150248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:38:19] local.INFO: GPS data processed {"connection_id":150248,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:38:19] local.INFO: Acknowledgment sent {"connection_id":150248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:38:23] local.INFO: TCP Data received {"connection_id":150248,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:38:23] local.INFO: Processing buffer {"connection_id":150248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:38:23] local.INFO: Packet analysis {"connection_id":150248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:38:23] local.INFO: Extracted packet for processing {"connection_id":150248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:38:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:38:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:38:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:38:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:38:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:38:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":150248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:38:23] local.INFO: GPS data processed {"connection_id":150248,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:38:23] local.INFO: Acknowledgment sent {"connection_id":150248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:39:07] local.INFO: TCP Data received {"connection_id":149987,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:39:07] local.INFO: Processing buffer {"connection_id":149987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:39:07] local.INFO: IMEI packet received {"connection_id":149987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":149987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:39:15] local.INFO: TCP Data received {"connection_id":149987,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:39:15] local.INFO: Processing buffer {"connection_id":149987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:39:15] local.INFO: IMEI packet received {"connection_id":149987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":149987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:39:17] local.INFO: TCP Data received {"connection_id":149987,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:39:17] local.INFO: Processing buffer {"connection_id":149987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:39:17] local.INFO: Packet analysis {"connection_id":149987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:39:17] local.INFO: Extracted packet for processing {"connection_id":149987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:39:17] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:39:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":149987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":149987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":149987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:39:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:39:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":149987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:39:17] local.INFO: GPS data processed {"connection_id":149987,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:39:17] local.INFO: Acknowledgment sent {"connection_id":149987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:39:48] local.INFO: TCP Data received {"connection_id":149987,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:39:48] local.INFO: Processing buffer {"connection_id":149987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:39:48] local.INFO: Packet analysis {"connection_id":149987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:39:48] local.INFO: Extracted packet for processing {"connection_id":149987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:39:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:39:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:39:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:39:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:39:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":149987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:39:48] local.INFO: GPS data processed {"connection_id":149987,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:39:48] local.INFO: Acknowledgment sent {"connection_id":149987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:40:07] local.INFO: TCP Data received {"connection_id":152694,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:40:07] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:40:07] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:40:13] local.INFO: TCP Data received {"connection_id":152694,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:40:13] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:40:13] local.INFO: IMEI packet received {"connection_id":152694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":152694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:40:14] local.INFO: TCP Data received {"connection_id":152694,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:40:14] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:40:14] local.INFO: Packet analysis {"connection_id":152694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:40:14] local.INFO: Extracted packet for processing {"connection_id":152694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:40:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:40:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00: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-08-08 00:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:40:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":152694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:40:14] local.INFO: GPS data processed {"connection_id":152694,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:40:14] local.INFO: Acknowledgment sent {"connection_id":152694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:40:45] local.INFO: TCP Data received {"connection_id":152694,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:40:45] local.INFO: Processing buffer {"connection_id":152694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:40:45] local.INFO: Packet analysis {"connection_id":152694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:40:45] local.INFO: Extracted packet for processing {"connection_id":152694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:40:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:40:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:40: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-08-08 00:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:40:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":152694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:40:45] local.INFO: GPS data processed {"connection_id":152694,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:40:45] local.INFO: Acknowledgment sent {"connection_id":152694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:41:07] local.INFO: TCP Data received {"connection_id":150249,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:41:07] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:41:07] local.INFO: IMEI packet received {"connection_id":150249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":150249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:41:12] local.INFO: TCP Data received {"connection_id":150249,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:41:12] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:41:12] local.INFO: IMEI packet received {"connection_id":150249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":150249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:41:13] local.INFO: TCP Data received {"connection_id":150249,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:41:13] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdd9de788012cee7500072e2ba8003d006a26..."} 
[2026-08-08 00:41:13] local.INFO: Packet analysis {"connection_id":150249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:41:13] local.INFO: Extracted packet for processing {"connection_id":150249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdd9d"} 
[2026-08-08 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249085440001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:41:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786129541000,"timestamp_ms":1786129541000,"timestamp_seconds":1786129541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdd9de788"} 
[2026-08-08 00:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249085440001,"66":25430,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249085440001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:41:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249085440001,"power":25430,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":150249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:41:13] local.INFO: GPS data processed {"connection_id":150249,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:41:13] local.INFO: Acknowledgment sent {"connection_id":150249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:41:45] local.INFO: TCP Data received {"connection_id":150249,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:41:45] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:41:45] local.INFO: Packet analysis {"connection_id":150249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:41:45] local.INFO: Extracted packet for processing {"connection_id":150249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:41:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:41:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:41:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":150249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:41:45] local.INFO: GPS data processed {"connection_id":150249,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:41:45] local.INFO: Acknowledgment sent {"connection_id":150249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:42:07] local.INFO: TCP Data received {"connection_id":152695,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:42:07] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:42:07] local.INFO: IMEI packet received {"connection_id":152695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":152695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:42:13] local.INFO: TCP Data received {"connection_id":152695,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:42:13] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:42:13] local.INFO: IMEI packet received {"connection_id":152695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":152695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:42:14] local.INFO: TCP Data received {"connection_id":152695,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:42:14] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:42:14] local.INFO: Packet analysis {"connection_id":152695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:42:14] local.INFO: Extracted packet for processing {"connection_id":152695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:42:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:42:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:42:14] 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-08-08 00:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:42:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":152695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:42:14] local.INFO: GPS data processed {"connection_id":152695,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:42:14] local.INFO: Acknowledgment sent {"connection_id":152695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:42:47] local.INFO: TCP Data received {"connection_id":152695,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:42:47] local.INFO: Processing buffer {"connection_id":152695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:42:47] local.INFO: Packet analysis {"connection_id":152695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:42:47] local.INFO: Extracted packet for processing {"connection_id":152695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:42:47] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:42:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:42:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:42:47] 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-08-08 00:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:42:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:42:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":152695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:42:47] local.INFO: GPS data processed {"connection_id":152695,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:42:47] local.INFO: Acknowledgment sent {"connection_id":152695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:43:13] local.INFO: TCP Data received {"connection_id":149988,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:43:13] local.INFO: Processing buffer {"connection_id":149988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:43:13] local.INFO: IMEI packet received {"connection_id":149988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":149988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:43:17] local.INFO: TCP Data received {"connection_id":149988,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:43:17] local.INFO: Processing buffer {"connection_id":149988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:43:17] local.INFO: IMEI packet received {"connection_id":149988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":149988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:43:19] local.INFO: TCP Data received {"connection_id":149988,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:43:19] local.INFO: Processing buffer {"connection_id":149988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:43:19] local.INFO: Packet analysis {"connection_id":149988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:43:19] local.INFO: Extracted packet for processing {"connection_id":149988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:43:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:43:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:43: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-08-08 00:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:43: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-08-08 00:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:43:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:43:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":149988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:43:19] local.INFO: GPS data processed {"connection_id":149988,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:43:19] local.INFO: Acknowledgment sent {"connection_id":149988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:43:24] local.INFO: TCP Data received {"connection_id":149988,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:43:24] local.INFO: Processing buffer {"connection_id":149988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:43:24] local.INFO: Packet analysis {"connection_id":149988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:43:24] local.INFO: Extracted packet for processing {"connection_id":149988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:43:24] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:43:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:43:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:43:24] 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-08-08 00:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":149988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":149988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":149988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:43:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:43:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:43:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":149988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:43:24] local.INFO: GPS data processed {"connection_id":149988,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:43:24] local.INFO: Acknowledgment sent {"connection_id":149988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:44:08] local.INFO: TCP Data received {"connection_id":149989,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:44:08] local.INFO: Processing buffer {"connection_id":149989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:44:08] local.INFO: IMEI packet received {"connection_id":149989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":149989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:44:13] local.INFO: TCP Data received {"connection_id":149989,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:44:13] local.INFO: Processing buffer {"connection_id":149989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:44:13] local.INFO: IMEI packet received {"connection_id":149989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":149989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:44:14] local.INFO: TCP Data received {"connection_id":149989,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:44:14] local.INFO: Processing buffer {"connection_id":149989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:44:14] local.INFO: Packet analysis {"connection_id":149989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:44:14] local.INFO: Extracted packet for processing {"connection_id":149989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:44:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:44:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:44:14] 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-08-08 00:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:44:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":149989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:44:14] local.INFO: GPS data processed {"connection_id":149989,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:44:14] local.INFO: Acknowledgment sent {"connection_id":149989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:44:48] local.INFO: TCP Data received {"connection_id":149989,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:44:48] local.INFO: Processing buffer {"connection_id":149989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:44:48] local.INFO: Packet analysis {"connection_id":149989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:44:48] local.INFO: Extracted packet for processing {"connection_id":149989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:44:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:44:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":149989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":149989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":149989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:44:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:44:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:44:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":149989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:44:48] local.INFO: GPS data processed {"connection_id":149989,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:44:48] local.INFO: Acknowledgment sent {"connection_id":149989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:45:07] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:45:07] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:45:07] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:45:13] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:45:13] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:45:13] local.INFO: IMEI packet received {"connection_id":151232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":151232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:45:14] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:45:14] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:45:14] local.INFO: Packet analysis {"connection_id":151232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:45:14] local.INFO: Extracted packet for processing {"connection_id":151232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:45:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:45:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:45:14] 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-08-08 00:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:45:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":151232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:45:14] local.INFO: GPS data processed {"connection_id":151232,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:45:14] local.INFO: Acknowledgment sent {"connection_id":151232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:45:46] local.INFO: TCP Data received {"connection_id":151232,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:45:46] local.INFO: Processing buffer {"connection_id":151232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:45:46] local.INFO: Packet analysis {"connection_id":151232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:45:46] local.INFO: Extracted packet for processing {"connection_id":151232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:45:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:45:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:45: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-08-08 00:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:45:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":151232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:45:46] local.INFO: GPS data processed {"connection_id":151232,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:45:46] local.INFO: Acknowledgment sent {"connection_id":151232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:46:07] local.INFO: TCP Data received {"connection_id":149990,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:46:07] local.INFO: Processing buffer {"connection_id":149990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:46:07] local.INFO: IMEI packet received {"connection_id":149990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":149990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:46:13] local.INFO: TCP Data received {"connection_id":149990,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:46:13] local.INFO: Processing buffer {"connection_id":149990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:46:13] local.INFO: IMEI packet received {"connection_id":149990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":149990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:46:14] local.INFO: TCP Data received {"connection_id":149990,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:46:14] local.INFO: Processing buffer {"connection_id":149990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda27f50012cee7500072e2ba8003d006a25..."} 
[2026-08-08 00:46:14] local.INFO: Packet analysis {"connection_id":149990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:46:14] local.INFO: Extracted packet for processing {"connection_id":149990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda2"} 
[2026-08-08 00:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249162496001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:46:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786129842000,"timestamp_ms":1786129842000,"timestamp_seconds":1786129842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda27f50"} 
[2026-08-08 00:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 00:46:14] 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-08-08 00:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249162496001,"66":25419,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249162496001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:46:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249162496001,"power":25419,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":149990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:46:14] local.INFO: GPS data processed {"connection_id":149990,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:46:14] local.INFO: Acknowledgment sent {"connection_id":149990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:46:45] local.INFO: TCP Data received {"connection_id":149990,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:46:45] local.INFO: Processing buffer {"connection_id":149990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:46:45] local.INFO: Packet analysis {"connection_id":149990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:46:45] local.INFO: Extracted packet for processing {"connection_id":149990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:46:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:46:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:46: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-08-08 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:46:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":149990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:46:45] local.INFO: GPS data processed {"connection_id":149990,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:46:45] local.INFO: Acknowledgment sent {"connection_id":149990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:47:08] local.INFO: TCP Data received {"connection_id":151233,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:47:08] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:47:08] local.INFO: IMEI packet received {"connection_id":151233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":151233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:47:13] local.INFO: TCP Data received {"connection_id":151233,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:47:13] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:47:13] local.INFO: IMEI packet received {"connection_id":151233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":151233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:47:14] local.INFO: TCP Data received {"connection_id":151233,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:47:14] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:47:14] local.INFO: Packet analysis {"connection_id":151233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:47:14] local.INFO: Extracted packet for processing {"connection_id":151233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:47:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:47:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:47: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-08-08 00:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:47:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":151233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:47:14] local.INFO: GPS data processed {"connection_id":151233,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:47:14] local.INFO: Acknowledgment sent {"connection_id":151233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:47:46] local.INFO: TCP Data received {"connection_id":151233,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:47:46] local.INFO: Processing buffer {"connection_id":151233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:47:46] local.INFO: Packet analysis {"connection_id":151233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:47:46] local.INFO: Extracted packet for processing {"connection_id":151233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:47:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:47: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-08-08 00:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:47:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":151233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:47:46] local.INFO: GPS data processed {"connection_id":151233,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:47:46] local.INFO: Acknowledgment sent {"connection_id":151233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:48:07] local.INFO: TCP Data received {"connection_id":150250,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:48:07] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:48:07] local.INFO: IMEI packet received {"connection_id":150250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":150250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:48:13] local.INFO: TCP Data received {"connection_id":150250,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:48:13] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:48:13] local.INFO: IMEI packet received {"connection_id":150250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":150250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:48:14] local.INFO: TCP Data received {"connection_id":150250,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:48:14] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:48:14] local.INFO: Packet analysis {"connection_id":150250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:48:14] local.INFO: Extracted packet for processing {"connection_id":150250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:48:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:48:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:48:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:48: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-08-08 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:48:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:48:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":150250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:48:14] local.INFO: GPS data processed {"connection_id":150250,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:48:14] local.INFO: Acknowledgment sent {"connection_id":150250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:48:45] local.INFO: TCP Data received {"connection_id":150250,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:48:45] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:48:45] local.INFO: Packet analysis {"connection_id":150250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:48:45] local.INFO: Extracted packet for processing {"connection_id":150250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:48:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:48:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:48:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:48: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-08-08 00:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:48:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:48:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:48:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":150250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:48:46] local.INFO: GPS data processed {"connection_id":150250,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:48:46] local.INFO: Acknowledgment sent {"connection_id":150250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:49:07] local.INFO: TCP Data received {"connection_id":152696,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:49:07] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:49:07] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:49:13] local.INFO: TCP Data received {"connection_id":152696,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:49:13] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:49:13] local.INFO: IMEI packet received {"connection_id":152696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":152696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:49:14] local.INFO: TCP Data received {"connection_id":152696,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:49:14] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:49:14] local.INFO: Packet analysis {"connection_id":152696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:49:14] local.INFO: Extracted packet for processing {"connection_id":152696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:49:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:49: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-08-08 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:49:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:49:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":152696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:49:14] local.INFO: GPS data processed {"connection_id":152696,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:49:14] local.INFO: Acknowledgment sent {"connection_id":152696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:49:46] local.INFO: TCP Data received {"connection_id":152696,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:49:46] local.INFO: Processing buffer {"connection_id":152696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:49:46] local.INFO: Packet analysis {"connection_id":152696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:49:46] local.INFO: Extracted packet for processing {"connection_id":152696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:49:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:49: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-08-08 00:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:49:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":152696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:49:46] local.INFO: GPS data processed {"connection_id":152696,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:49:46] local.INFO: Acknowledgment sent {"connection_id":152696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:50:07] local.INFO: TCP Data received {"connection_id":150251,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:50:07] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:50:07] local.INFO: IMEI packet received {"connection_id":150251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":150251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:50:13] local.INFO: TCP Data received {"connection_id":150251,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:50:13] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:50:13] local.INFO: IMEI packet received {"connection_id":150251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":150251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:50:14] local.INFO: TCP Data received {"connection_id":150251,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:50:14] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:50:14] local.INFO: Packet analysis {"connection_id":150251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:50:14] local.INFO: Extracted packet for processing {"connection_id":150251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:50:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:50: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-08-08 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:50:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":150251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:50:14] local.INFO: GPS data processed {"connection_id":150251,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:50:14] local.INFO: Acknowledgment sent {"connection_id":150251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:50:45] local.INFO: TCP Data received {"connection_id":150251,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:50:45] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:50:45] local.INFO: Packet analysis {"connection_id":150251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:50:45] local.INFO: Extracted packet for processing {"connection_id":150251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:50:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:50:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:50: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-08-08 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:50:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:50:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":150251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:50:46] local.INFO: GPS data processed {"connection_id":150251,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:50:46] local.INFO: Acknowledgment sent {"connection_id":150251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:51:13] local.INFO: TCP Data received {"connection_id":152697,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:51:13] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:51:13] local.INFO: IMEI packet received {"connection_id":152697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":152697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:51:18] local.INFO: TCP Data received {"connection_id":152697,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:51:18] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:51:18] local.INFO: IMEI packet received {"connection_id":152697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":152697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:51:19] local.INFO: TCP Data received {"connection_id":152697,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:51:19] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:51:19] local.INFO: Packet analysis {"connection_id":152697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:51:19] local.INFO: Extracted packet for processing {"connection_id":152697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:51:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:51:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:51: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-08-08 00:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:51:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":152697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:51:19] local.INFO: GPS data processed {"connection_id":152697,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:51:19] local.INFO: Acknowledgment sent {"connection_id":152697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:51:23] local.INFO: TCP Data received {"connection_id":152697,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:51:23] local.INFO: Processing buffer {"connection_id":152697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdda71718012cee7500072e2ba8003d006a24..."} 
[2026-08-08 00:51:23] local.INFO: Packet analysis {"connection_id":152697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:51:23] local.INFO: Extracted packet for processing {"connection_id":152697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdda7"} 
[2026-08-08 00:51:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":36,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249239552001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:51:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:51:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 00:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786130143000,"timestamp_ms":1786130143000,"timestamp_seconds":1786130143,"priority":1,"record_length":96,"hex_timestamp":"0000019fdda71718"} 
[2026-08-08 00:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 00:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249239552001,"66":25397,"44":-1264104089568172032,"28":26368,"24":0,"16":374315732810334208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-08-08 00:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249239552001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:51:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:51:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:51:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457249239552001,"power":25397,"unknown_44":-1264104089568172032,"unknown_28":26368,"ignition":0,"odometer":null}} 
[2026-08-08 00:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":152697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:51:23] local.INFO: GPS data processed {"connection_id":152697,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:51:23] local.INFO: Acknowledgment sent {"connection_id":152697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:52:07] local.INFO: TCP Data received {"connection_id":151234,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:52:07] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:52:07] local.INFO: IMEI packet received {"connection_id":151234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":151234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:52:13] local.INFO: TCP Data received {"connection_id":151234,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:52:13] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:52:13] local.INFO: IMEI packet received {"connection_id":151234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":151234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:52:14] local.INFO: TCP Data received {"connection_id":151234,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:52:14] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:52:14] local.INFO: Packet analysis {"connection_id":151234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:52:14] local.INFO: Extracted packet for processing {"connection_id":151234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:52:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":151234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:52:14] local.INFO: GPS data processed {"connection_id":151234,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:52:14] local.INFO: Acknowledgment sent {"connection_id":151234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:52:45] local.INFO: TCP Data received {"connection_id":151234,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:52:45] local.INFO: Processing buffer {"connection_id":151234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:52:45] local.INFO: Packet analysis {"connection_id":151234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:52:45] local.INFO: Extracted packet for processing {"connection_id":151234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:52:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":151234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:52:46] local.INFO: GPS data processed {"connection_id":151234,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:52:46] local.INFO: Acknowledgment sent {"connection_id":151234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:53:07] local.INFO: TCP Data received {"connection_id":150252,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:53:07] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:53:07] local.INFO: IMEI packet received {"connection_id":150252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":150252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:53:13] local.INFO: TCP Data received {"connection_id":150252,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:53:13] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:53:13] local.INFO: IMEI packet received {"connection_id":150252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":150252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:53:14] local.INFO: TCP Data received {"connection_id":150252,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:53:14] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:53:14] local.INFO: Packet analysis {"connection_id":150252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:53:14] local.INFO: Extracted packet for processing {"connection_id":150252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:53:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:53:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:53:14] local.INFO: GPS data processed {"connection_id":150252,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:53:14] local.INFO: Acknowledgment sent {"connection_id":150252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:53:46] local.INFO: TCP Data received {"connection_id":150252,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:53:46] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:53:46] local.INFO: Packet analysis {"connection_id":150252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:53:46] local.INFO: Extracted packet for processing {"connection_id":150252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:53:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:53:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:53: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-08-08 00:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:53:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:53:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:53:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":150252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:53:46] local.INFO: GPS data processed {"connection_id":150252,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:53:46] local.INFO: Acknowledgment sent {"connection_id":150252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:54:13] local.INFO: TCP Data received {"connection_id":152698,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:54:13] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:54:13] local.INFO: IMEI packet received {"connection_id":152698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:54:18] local.INFO: TCP Data received {"connection_id":152698,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:54:18] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:54:18] local.INFO: IMEI packet received {"connection_id":152698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":152698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:54:19] local.INFO: TCP Data received {"connection_id":152698,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:54:19] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:54:19] local.INFO: Packet analysis {"connection_id":152698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:54:19] local.INFO: Extracted packet for processing {"connection_id":152698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:54:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:54: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-08-08 00:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:54:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":152698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:54:19] local.INFO: GPS data processed {"connection_id":152698,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:54:19] local.INFO: Acknowledgment sent {"connection_id":152698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:54:23] local.INFO: TCP Data received {"connection_id":152698,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:54:23] local.INFO: Processing buffer {"connection_id":152698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:54:23] local.INFO: Packet analysis {"connection_id":152698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:54:23] local.INFO: Extracted packet for processing {"connection_id":152698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:54:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00: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-08-08 00:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:54:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:54:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:54:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:54:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":152698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:54:23] local.INFO: GPS data processed {"connection_id":152698,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:54:23] local.INFO: Acknowledgment sent {"connection_id":152698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:55:08] local.INFO: TCP Data received {"connection_id":152699,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:55:08] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:55:08] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:55:13] local.INFO: TCP Data received {"connection_id":152699,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:55:13] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:55:13] local.INFO: IMEI packet received {"connection_id":152699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":152699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:55:14] local.INFO: TCP Data received {"connection_id":152699,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:55:14] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:55:14] local.INFO: Packet analysis {"connection_id":152699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:55:14] local.INFO: Extracted packet for processing {"connection_id":152699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:55:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:55:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:55:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:55:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":152699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:55:14] local.INFO: GPS data processed {"connection_id":152699,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:55:14] local.INFO: Acknowledgment sent {"connection_id":152699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:55:46] local.INFO: TCP Data received {"connection_id":152699,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:55:46] local.INFO: Processing buffer {"connection_id":152699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:55:46] local.INFO: Packet analysis {"connection_id":152699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:55:46] local.INFO: Extracted packet for processing {"connection_id":152699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:55:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00: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-08-08 00:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:55:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:55:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":152699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:55:46] local.INFO: GPS data processed {"connection_id":152699,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:55:46] local.INFO: Acknowledgment sent {"connection_id":152699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:56:07] local.INFO: TCP Data received {"connection_id":149991,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:56:07] local.INFO: Processing buffer {"connection_id":149991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:56:07] local.INFO: IMEI packet received {"connection_id":149991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":149991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:56:13] local.INFO: TCP Data received {"connection_id":149991,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:56:13] local.INFO: Processing buffer {"connection_id":149991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:56:13] local.INFO: IMEI packet received {"connection_id":149991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":149991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:56:14] local.INFO: TCP Data received {"connection_id":149991,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:56:14] local.INFO: Processing buffer {"connection_id":149991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddabaee0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 00:56:14] local.INFO: Packet analysis {"connection_id":149991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:56:14] local.INFO: Extracted packet for processing {"connection_id":149991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddab"} 
[2026-08-08 00:56:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249316608001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130444000,"timestamp_ms":1786130444000,"timestamp_seconds":1786130444,"priority":1,"record_length":96,"hex_timestamp":"0000019fddabaee0"} 
[2026-08-08 00:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249316608001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249316608001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:56:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249316608001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":149991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:56:14] local.INFO: GPS data processed {"connection_id":149991,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:56:14] local.INFO: Acknowledgment sent {"connection_id":149991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:56:45] local.INFO: TCP Data received {"connection_id":149991,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:56:45] local.INFO: Processing buffer {"connection_id":149991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:56:45] local.INFO: Packet analysis {"connection_id":149991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:56:45] local.INFO: Extracted packet for processing {"connection_id":149991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:56:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:56:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:56:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:56:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":149991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:56:45] local.INFO: GPS data processed {"connection_id":149991,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:56:45] local.INFO: Acknowledgment sent {"connection_id":149991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:57:14] local.INFO: TCP Data received {"connection_id":150253,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:57:14] local.INFO: Processing buffer {"connection_id":150253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:57:14] local.INFO: IMEI packet received {"connection_id":150253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":150253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:57:17] local.INFO: TCP Data received {"connection_id":150253,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:57:17] local.INFO: Processing buffer {"connection_id":150253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:57:17] local.INFO: IMEI packet received {"connection_id":150253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":150253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:57:18] local.INFO: TCP Data received {"connection_id":150253,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:57:18] local.INFO: Processing buffer {"connection_id":150253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:57:18] local.INFO: Packet analysis {"connection_id":150253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:57:18] local.INFO: Extracted packet for processing {"connection_id":150253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:57:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:57:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:57:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:57:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":150253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:57:18] local.INFO: GPS data processed {"connection_id":150253,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:57:18] local.INFO: Acknowledgment sent {"connection_id":150253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:57:23] local.INFO: TCP Data received {"connection_id":150253,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:57:23] local.INFO: Processing buffer {"connection_id":150253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:57:23] local.INFO: Packet analysis {"connection_id":150253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:57:23] local.INFO: Extracted packet for processing {"connection_id":150253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:57:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:57:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:57:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:57:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:57:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":150253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:57:23] local.INFO: GPS data processed {"connection_id":150253,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:57:23] local.INFO: Acknowledgment sent {"connection_id":150253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:58:08] local.INFO: TCP Data received {"connection_id":151235,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:58:08] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:58:08] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:58:13] local.INFO: TCP Data received {"connection_id":151235,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:58:13] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:58:13] local.INFO: IMEI packet received {"connection_id":151235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":151235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:58:14] local.INFO: TCP Data received {"connection_id":151235,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:58:14] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:58:14] local.INFO: Packet analysis {"connection_id":151235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:58:14] local.INFO: Extracted packet for processing {"connection_id":151235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:58: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-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:58:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":151235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:58:14] local.INFO: GPS data processed {"connection_id":151235,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:58:14] local.INFO: Acknowledgment sent {"connection_id":151235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:58:46] local.INFO: TCP Data received {"connection_id":151235,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:58:46] local.INFO: Processing buffer {"connection_id":151235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:58:46] local.INFO: Packet analysis {"connection_id":151235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:58:46] local.INFO: Extracted packet for processing {"connection_id":151235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:58: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-08-08 00:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:58:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":151235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:58:46] local.INFO: GPS data processed {"connection_id":151235,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:58:46] local.INFO: Acknowledgment sent {"connection_id":151235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:59:08] local.INFO: TCP Data received {"connection_id":152700,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:59:08] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:59:08] local.INFO: IMEI packet received {"connection_id":152700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 00:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 00:59:13] local.INFO: TCP Data received {"connection_id":152700,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:59:13] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 00:59:13] local.INFO: IMEI packet received {"connection_id":152700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 00:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":152700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 00:59:14] local.INFO: TCP Data received {"connection_id":152700,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:59:14] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:59:14] local.INFO: Packet analysis {"connection_id":152700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:59:14] local.INFO: Extracted packet for processing {"connection_id":152700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:59:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:59: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-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 00:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 00:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:59:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":152700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:59:14] local.INFO: GPS data processed {"connection_id":152700,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:59:14] local.INFO: Acknowledgment sent {"connection_id":152700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 00:59:46] local.INFO: TCP Data received {"connection_id":152700,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:59:46] local.INFO: Processing buffer {"connection_id":152700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 00:59:46] local.INFO: Packet analysis {"connection_id":152700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:59:46] local.INFO: Extracted packet for processing {"connection_id":152700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 00:59:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 00:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 00:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 00:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 00:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 00:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 00:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 00:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 00:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 00:59: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-08-08 00: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-08-08 00:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 00:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 00:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 00:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 00:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 00:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 00:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 00:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 00:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 00:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 00:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 00:59:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 00:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 00:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 00:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 00:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 00:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":152700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 00:59:46] local.INFO: GPS data processed {"connection_id":152700,"processed":1,"errors":0,"total":1} 
[2026-08-08 00:59:46] local.INFO: Acknowledgment sent {"connection_id":152700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:00:43] local.INFO: TCP Data received {"connection_id":150254,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:00:43] local.INFO: Processing buffer {"connection_id":150254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:00:43] local.INFO: IMEI packet received {"connection_id":150254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":150254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:00:48] local.INFO: TCP Data received {"connection_id":150254,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:00:48] local.INFO: Processing buffer {"connection_id":150254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:00:48] local.INFO: IMEI packet received {"connection_id":150254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":150254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:00:49] local.INFO: TCP Data received {"connection_id":150254,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:00:49] local.INFO: Processing buffer {"connection_id":150254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:00:49] local.INFO: Packet analysis {"connection_id":150254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 01:00:49] local.INFO: Extracted packet for processing {"connection_id":150254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 01:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":150254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:00:49] local.INFO: GPS data processed {"connection_id":150254,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:00:49] local.INFO: Acknowledgment sent {"connection_id":150254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:01:12] local.INFO: TCP Data received {"connection_id":150255,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:01:12] local.INFO: Processing buffer {"connection_id":150255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:01:12] local.INFO: IMEI packet received {"connection_id":150255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":150255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:01:18] local.INFO: TCP Data received {"connection_id":150255,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:01:18] local.INFO: Processing buffer {"connection_id":150255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:01:18] local.INFO: IMEI packet received {"connection_id":150255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":150255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:01:19] local.INFO: TCP Data received {"connection_id":150255,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:01:19] local.INFO: Processing buffer {"connection_id":150255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb046a8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:01:19] local.INFO: Packet analysis {"connection_id":150255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 01:01:19] local.INFO: Extracted packet for processing {"connection_id":150255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb0"} 
[2026-08-08 01:01:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249393664001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786130745000,"timestamp_ms":1786130745000,"timestamp_seconds":1786130745,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb046a8"} 
[2026-08-08 01:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249393664001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249393664001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:01:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249393664001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":150255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:01:19] local.INFO: GPS data processed {"connection_id":150255,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:01:19] local.INFO: Acknowledgment sent {"connection_id":150255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:01:50] local.INFO: TCP Data received {"connection_id":150255,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:01:50] local.INFO: Processing buffer {"connection_id":150255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:01:50] local.INFO: Packet analysis {"connection_id":150255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:01:50] local.INFO: Extracted packet for processing {"connection_id":150255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:01:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:01:50] 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-08-08 01:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:01:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:01:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":150255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:01:50] local.INFO: GPS data processed {"connection_id":150255,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:01:50] local.INFO: Acknowledgment sent {"connection_id":150255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:02:07] local.INFO: TCP Data received {"connection_id":152701,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:02:07] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:02:07] local.INFO: IMEI packet received {"connection_id":152701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":152701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:02:13] local.INFO: TCP Data received {"connection_id":152701,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:02:13] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:02:13] local.INFO: IMEI packet received {"connection_id":152701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":152701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:02:14] local.INFO: TCP Data received {"connection_id":152701,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:02:14] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:02:14] local.INFO: Packet analysis {"connection_id":152701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:02:14] local.INFO: Extracted packet for processing {"connection_id":152701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:02: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-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:02:14] 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-08-08 01:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:02:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":152701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:02:14] local.INFO: GPS data processed {"connection_id":152701,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:02:14] local.INFO: Acknowledgment sent {"connection_id":152701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:02:46] local.INFO: TCP Data received {"connection_id":152701,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:02:46] local.INFO: Processing buffer {"connection_id":152701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:02:46] local.INFO: Packet analysis {"connection_id":152701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:02:46] local.INFO: Extracted packet for processing {"connection_id":152701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:02:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:02: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-08-08 01:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:02:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:02:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":152701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:02:46] local.INFO: GPS data processed {"connection_id":152701,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:02:46] local.INFO: Acknowledgment sent {"connection_id":152701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:03:12] local.INFO: TCP Data received {"connection_id":152702,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:03:12] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:03:12] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:03:18] local.INFO: TCP Data received {"connection_id":152702,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:03:18] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:03:18] local.INFO: IMEI packet received {"connection_id":152702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":152702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:03:19] local.INFO: TCP Data received {"connection_id":152702,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:03:19] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:03:19] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:03:19] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:03:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:03: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-08-08 01:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:03:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:03:19] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:03:19] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:03:50] local.INFO: TCP Data received {"connection_id":152702,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:03:50] local.INFO: Processing buffer {"connection_id":152702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:03:50] local.INFO: Packet analysis {"connection_id":152702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:03:50] local.INFO: Extracted packet for processing {"connection_id":152702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:03:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:03:50] 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-08-08 01:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:03:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":152702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:03:50] local.INFO: GPS data processed {"connection_id":152702,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:03:50] local.INFO: Acknowledgment sent {"connection_id":152702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:04:07] local.INFO: TCP Data received {"connection_id":150256,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:04:07] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:04:07] local.INFO: IMEI packet received {"connection_id":150256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":150256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:04:12] local.INFO: TCP Data received {"connection_id":150256,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:04:13] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:04:13] local.INFO: IMEI packet received {"connection_id":150256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":150256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:04:14] local.INFO: TCP Data received {"connection_id":150256,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:04:14] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:04:14] local.INFO: Packet analysis {"connection_id":150256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:04:14] local.INFO: Extracted packet for processing {"connection_id":150256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:04:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:04: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-08-08 01:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:04:14] 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-08-08 01:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:04:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":150256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:04:14] local.INFO: GPS data processed {"connection_id":150256,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:04:14] local.INFO: Acknowledgment sent {"connection_id":150256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:04:45] local.INFO: TCP Data received {"connection_id":150256,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:04:45] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:04:45] local.INFO: Packet analysis {"connection_id":150256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:04:45] local.INFO: Extracted packet for processing {"connection_id":150256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:04:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:04: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-08-08 01:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:04:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:04:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":150256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:04:45] local.INFO: GPS data processed {"connection_id":150256,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:04:45] local.INFO: Acknowledgment sent {"connection_id":150256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:05:07] local.INFO: TCP Data received {"connection_id":149992,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:05:07] local.INFO: Processing buffer {"connection_id":149992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:05:07] local.INFO: IMEI packet received {"connection_id":149992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":149992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:05:12] local.INFO: TCP Data received {"connection_id":149992,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:05:12] local.INFO: Processing buffer {"connection_id":149992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:05:12] local.INFO: IMEI packet received {"connection_id":149992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":149992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:05:14] local.INFO: TCP Data received {"connection_id":149992,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:05:14] local.INFO: Processing buffer {"connection_id":149992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:05:14] local.INFO: Packet analysis {"connection_id":149992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:05:14] local.INFO: Extracted packet for processing {"connection_id":149992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:05:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:05: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-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:05:14] 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-08-08 01:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:05:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":149992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:05:14] local.INFO: GPS data processed {"connection_id":149992,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:05:14] local.INFO: Acknowledgment sent {"connection_id":149992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:05:45] local.INFO: TCP Data received {"connection_id":149992,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:05:45] local.INFO: Processing buffer {"connection_id":149992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:05:45] local.INFO: Packet analysis {"connection_id":149992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:05:45] local.INFO: Extracted packet for processing {"connection_id":149992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:05:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:05:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:05:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":149992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:05:45] local.INFO: GPS data processed {"connection_id":149992,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:05:45] local.INFO: Acknowledgment sent {"connection_id":149992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:06:12] local.INFO: TCP Data received {"connection_id":149993,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:06:12] local.INFO: Processing buffer {"connection_id":149993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:06:12] local.INFO: IMEI packet received {"connection_id":149993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":149993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:06:18] local.INFO: TCP Data received {"connection_id":149993,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:06:18] local.INFO: Processing buffer {"connection_id":149993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:06:18] local.INFO: IMEI packet received {"connection_id":149993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":149993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:06:19] local.INFO: TCP Data received {"connection_id":149993,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:06:19] local.INFO: Processing buffer {"connection_id":149993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:06:19] local.INFO: Packet analysis {"connection_id":149993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:06:19] local.INFO: Extracted packet for processing {"connection_id":149993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:06:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01: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-08-08 01:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:06:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":149993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:06:19] local.INFO: GPS data processed {"connection_id":149993,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:06:19] local.INFO: Acknowledgment sent {"connection_id":149993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:06:23] local.INFO: TCP Data received {"connection_id":149993,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:06:23] local.INFO: Processing buffer {"connection_id":149993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb4de70012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:06:23] local.INFO: Packet analysis {"connection_id":149993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:06:23] local.INFO: Extracted packet for processing {"connection_id":149993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb4"} 
[2026-08-08 01:06:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249470720001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:06:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786131046000,"timestamp_ms":1786131046000,"timestamp_seconds":1786131046,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb4de70"} 
[2026-08-08 01:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:06:23] 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-08-08 01:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249470720001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249470720001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:06:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:06:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:06:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249470720001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":149993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:06:23] local.INFO: GPS data processed {"connection_id":149993,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:06:23] local.INFO: Acknowledgment sent {"connection_id":149993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:07:07] local.INFO: TCP Data received {"connection_id":152703,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:07:07] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:07:07] local.INFO: IMEI packet received {"connection_id":152703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":152703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:07:12] local.INFO: TCP Data received {"connection_id":152703,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:07:12] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:07:12] local.INFO: IMEI packet received {"connection_id":152703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":152703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:07:14] local.INFO: TCP Data received {"connection_id":152703,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:07:14] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:07:14] local.INFO: Packet analysis {"connection_id":152703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:07:14] local.INFO: Extracted packet for processing {"connection_id":152703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:07:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:07:14] local.INFO: GPS data processed {"connection_id":152703,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:07:14] local.INFO: Acknowledgment sent {"connection_id":152703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:07:45] local.INFO: TCP Data received {"connection_id":152703,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:07:45] local.INFO: Processing buffer {"connection_id":152703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:07:45] local.INFO: Packet analysis {"connection_id":152703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:07:45] local.INFO: Extracted packet for processing {"connection_id":152703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:07:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:07:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":152703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:07:45] local.INFO: GPS data processed {"connection_id":152703,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:07:45] local.INFO: Acknowledgment sent {"connection_id":152703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:08:07] local.INFO: TCP Data received {"connection_id":149994,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:08:07] local.INFO: Processing buffer {"connection_id":149994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:08:07] local.INFO: IMEI packet received {"connection_id":149994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":149994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:08:12] local.INFO: TCP Data received {"connection_id":149994,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:08:12] local.INFO: Processing buffer {"connection_id":149994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:08:12] local.INFO: IMEI packet received {"connection_id":149994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":149994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:08:14] local.INFO: TCP Data received {"connection_id":149994,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:08:14] local.INFO: Processing buffer {"connection_id":149994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:08:14] local.INFO: Packet analysis {"connection_id":149994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:08:14] local.INFO: Extracted packet for processing {"connection_id":149994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:08:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:08:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":149994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:08:14] local.INFO: GPS data processed {"connection_id":149994,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:08:14] local.INFO: Acknowledgment sent {"connection_id":149994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:08:45] local.INFO: TCP Data received {"connection_id":149994,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:08:45] local.INFO: Processing buffer {"connection_id":149994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:08:45] local.INFO: Packet analysis {"connection_id":149994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:08:45] local.INFO: Extracted packet for processing {"connection_id":149994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:08:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:08:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":149994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:08:45] local.INFO: GPS data processed {"connection_id":149994,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:08:45] local.INFO: Acknowledgment sent {"connection_id":149994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:09:07] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:09:07] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:09:07] local.INFO: IMEI packet received {"connection_id":151236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":151236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:09:12] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:09:12] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:09:12] local.INFO: IMEI packet received {"connection_id":151236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":151236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:09:14] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:09:14] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:09:14] local.INFO: Packet analysis {"connection_id":151236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:09:14] local.INFO: Extracted packet for processing {"connection_id":151236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:09:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01: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-08-08 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:09:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":151236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:09:14] local.INFO: GPS data processed {"connection_id":151236,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:09:14] local.INFO: Acknowledgment sent {"connection_id":151236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:09:45] local.INFO: TCP Data received {"connection_id":151236,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:09:45] local.INFO: Processing buffer {"connection_id":151236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:09:45] local.INFO: Packet analysis {"connection_id":151236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:09:45] local.INFO: Extracted packet for processing {"connection_id":151236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:09:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:09:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:09:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:09:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":151236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:09:45] local.INFO: GPS data processed {"connection_id":151236,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:09:45] local.INFO: Acknowledgment sent {"connection_id":151236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:10:12] local.INFO: TCP Data received {"connection_id":149995,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:10:12] local.INFO: Processing buffer {"connection_id":149995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:10:12] local.INFO: IMEI packet received {"connection_id":149995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":149995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:10:17] local.INFO: TCP Data received {"connection_id":149995,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:10:17] local.INFO: Processing buffer {"connection_id":149995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:10:17] local.INFO: IMEI packet received {"connection_id":149995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":149995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:10:19] local.INFO: TCP Data received {"connection_id":149995,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:10:19] local.INFO: Processing buffer {"connection_id":149995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:10:19] local.INFO: Packet analysis {"connection_id":149995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:10:19] local.INFO: Extracted packet for processing {"connection_id":149995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:10:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01: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-08-08 01:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:10: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-08-08 01: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":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:10: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-08-08 01: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-08-08 01:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:10:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":149995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:10:19] local.INFO: GPS data processed {"connection_id":149995,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:10:19] local.INFO: Acknowledgment sent {"connection_id":149995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:10:23] local.INFO: TCP Data received {"connection_id":149995,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:10:23] local.INFO: Processing buffer {"connection_id":149995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:10:23] local.INFO: Packet analysis {"connection_id":149995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:10:23] local.INFO: Extracted packet for processing {"connection_id":149995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:10:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:10:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:10:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:10:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:10:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":149995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:10:23] local.INFO: GPS data processed {"connection_id":149995,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:10:23] local.INFO: Acknowledgment sent {"connection_id":149995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:11:07] local.INFO: TCP Data received {"connection_id":152704,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:11:07] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:11:07] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:11:13] local.INFO: TCP Data received {"connection_id":152704,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:11:13] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:11:13] local.INFO: IMEI packet received {"connection_id":152704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":152704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:11:14] local.INFO: TCP Data received {"connection_id":152704,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:11:14] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddb97638012cee7500072e2ba8003d006a28..."} 
[2026-08-08 01:11:14] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:11:14] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddb9"} 
[2026-08-08 01:11:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249547776001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131347000,"timestamp_ms":1786131347000,"timestamp_seconds":1786131347,"priority":1,"record_length":96,"hex_timestamp":"0000019fddb97638"} 
[2026-08-08 01:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249547776001,"66":24658,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249547776001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:11:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:11:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249547776001,"power":24658,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:11:14] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:11:14] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:11:45] local.INFO: TCP Data received {"connection_id":152704,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:11:45] local.INFO: Processing buffer {"connection_id":152704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:11:45] local.INFO: Packet analysis {"connection_id":152704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:11:45] local.INFO: Extracted packet for processing {"connection_id":152704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:11:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:11:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:11:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":152704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:11:45] local.INFO: GPS data processed {"connection_id":152704,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:11:45] local.INFO: Acknowledgment sent {"connection_id":152704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:12:07] local.INFO: TCP Data received {"connection_id":151237,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:12:07] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:12:07] local.INFO: IMEI packet received {"connection_id":151237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":151237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:12:12] local.INFO: TCP Data received {"connection_id":151237,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:12:12] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:12:12] local.INFO: IMEI packet received {"connection_id":151237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":151237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:12:14] local.INFO: TCP Data received {"connection_id":151237,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:12:14] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:12:14] local.INFO: Packet analysis {"connection_id":151237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:12:14] local.INFO: Extracted packet for processing {"connection_id":151237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:12:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:12:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":151237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:12:14] local.INFO: GPS data processed {"connection_id":151237,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:12:14] local.INFO: Acknowledgment sent {"connection_id":151237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:12:45] local.INFO: TCP Data received {"connection_id":151237,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:12:45] local.INFO: Processing buffer {"connection_id":151237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:12:45] local.INFO: Packet analysis {"connection_id":151237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:12:45] local.INFO: Extracted packet for processing {"connection_id":151237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:12:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:12:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:12:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:12:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":151237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:12:45] local.INFO: GPS data processed {"connection_id":151237,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:12:45] local.INFO: Acknowledgment sent {"connection_id":151237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:13:07] local.INFO: TCP Data received {"connection_id":150257,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:13:07] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:13:07] local.INFO: IMEI packet received {"connection_id":150257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":150257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:13:12] local.INFO: TCP Data received {"connection_id":150257,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:13:12] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:13:12] local.INFO: IMEI packet received {"connection_id":150257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":150257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:13:14] local.INFO: TCP Data received {"connection_id":150257,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:13:14] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:13:14] local.INFO: Packet analysis {"connection_id":150257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:13:14] local.INFO: Extracted packet for processing {"connection_id":150257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:13:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:13:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:13:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:13:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":150257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:13:14] local.INFO: GPS data processed {"connection_id":150257,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:13:14] local.INFO: Acknowledgment sent {"connection_id":150257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:13:48] local.INFO: TCP Data received {"connection_id":150257,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:13:48] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:13:48] local.INFO: Packet analysis {"connection_id":150257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:13:48] local.INFO: Extracted packet for processing {"connection_id":150257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:13:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:13:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":150257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:13:48] local.INFO: GPS data processed {"connection_id":150257,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:13:48] local.INFO: Acknowledgment sent {"connection_id":150257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:14:12] local.INFO: TCP Data received {"connection_id":149996,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:14:12] local.INFO: Processing buffer {"connection_id":149996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:14:12] local.INFO: IMEI packet received {"connection_id":149996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":149996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:14:17] local.INFO: TCP Data received {"connection_id":149996,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:14:17] local.INFO: Processing buffer {"connection_id":149996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:14:17] local.INFO: IMEI packet received {"connection_id":149996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":149996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:14:19] local.INFO: TCP Data received {"connection_id":149996,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:14:19] local.INFO: Processing buffer {"connection_id":149996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:14:19] local.INFO: Packet analysis {"connection_id":149996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:14:19] local.INFO: Extracted packet for processing {"connection_id":149996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:14:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01: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-08-08 01:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:14: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-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":149996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":149996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":149996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:14:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:14:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":149996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:14:19] local.INFO: GPS data processed {"connection_id":149996,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:14:19] local.INFO: Acknowledgment sent {"connection_id":149996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:14:23] local.INFO: TCP Data received {"connection_id":149996,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:14:23] local.INFO: Processing buffer {"connection_id":149996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:14:23] local.INFO: Packet analysis {"connection_id":149996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:14:23] local.INFO: Extracted packet for processing {"connection_id":149996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:14:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01: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-08-08 01:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:14:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01: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-08-08 01:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":149996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":149996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":149996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:14:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:14:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:14:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":149996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:14:23] local.INFO: GPS data processed {"connection_id":149996,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:14:23] local.INFO: Acknowledgment sent {"connection_id":149996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:15:07] local.INFO: TCP Data received {"connection_id":149997,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:15:07] local.INFO: Processing buffer {"connection_id":149997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:15:07] local.INFO: IMEI packet received {"connection_id":149997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":149997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:15:12] local.INFO: TCP Data received {"connection_id":149997,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:15:12] local.INFO: Processing buffer {"connection_id":149997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:15:12] local.INFO: IMEI packet received {"connection_id":149997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":149997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:15:14] local.INFO: TCP Data received {"connection_id":149997,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:15:14] local.INFO: Processing buffer {"connection_id":149997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:15:14] local.INFO: Packet analysis {"connection_id":149997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:15:14] local.INFO: Extracted packet for processing {"connection_id":149997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:15:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:15:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:15:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:15:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":149997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:15:14] local.INFO: GPS data processed {"connection_id":149997,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:15:14] local.INFO: Acknowledgment sent {"connection_id":149997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:15:45] local.INFO: TCP Data received {"connection_id":149997,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:15:45] local.INFO: Processing buffer {"connection_id":149997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:15:45] local.INFO: Packet analysis {"connection_id":149997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:15:45] local.INFO: Extracted packet for processing {"connection_id":149997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:15:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":149997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:15:45] local.INFO: GPS data processed {"connection_id":149997,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:15:45] local.INFO: Acknowledgment sent {"connection_id":149997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:16:07] local.INFO: TCP Data received {"connection_id":152705,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:16:07] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:16:07] local.INFO: IMEI packet received {"connection_id":152705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":152705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:16:12] local.INFO: TCP Data received {"connection_id":152705,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:16:13] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:16:13] local.INFO: IMEI packet received {"connection_id":152705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":152705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:16:14] local.INFO: TCP Data received {"connection_id":152705,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:16:14] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddbe0e00012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:16:14] local.INFO: Packet analysis {"connection_id":152705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:16:14] local.INFO: Extracted packet for processing {"connection_id":152705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddbe"} 
[2026-08-08 01:16:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249624832001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131648000,"timestamp_ms":1786131648000,"timestamp_seconds":1786131648,"priority":1,"record_length":96,"hex_timestamp":"0000019fddbe0e00"} 
[2026-08-08 01:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 01:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249624832001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249624832001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:16:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:16:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249624832001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":152705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:16:14] local.INFO: GPS data processed {"connection_id":152705,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:16:14] local.INFO: Acknowledgment sent {"connection_id":152705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:16:45] local.INFO: TCP Data received {"connection_id":152705,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:16:45] local.INFO: Processing buffer {"connection_id":152705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:16:45] local.INFO: Packet analysis {"connection_id":152705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:16:45] local.INFO: Extracted packet for processing {"connection_id":152705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:16:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:16:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:16:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:16:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":152705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:16:45] local.INFO: GPS data processed {"connection_id":152705,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:16:45] local.INFO: Acknowledgment sent {"connection_id":152705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:17:12] local.INFO: TCP Data received {"connection_id":150258,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:17:12] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:17:12] local.INFO: IMEI packet received {"connection_id":150258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":150258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:17:17] local.INFO: TCP Data received {"connection_id":150258,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:17:17] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:17:17] local.INFO: IMEI packet received {"connection_id":150258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":150258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:17:18] local.INFO: TCP Data received {"connection_id":150258,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:17:18] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:17:18] local.INFO: Packet analysis {"connection_id":150258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:17:18] local.INFO: Extracted packet for processing {"connection_id":150258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:17:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":150258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:17:18] local.INFO: GPS data processed {"connection_id":150258,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:17:18] local.INFO: Acknowledgment sent {"connection_id":150258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:17:23] local.INFO: TCP Data received {"connection_id":150258,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:17:23] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:17:23] local.INFO: Packet analysis {"connection_id":150258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:17:23] local.INFO: Extracted packet for processing {"connection_id":150258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:17:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:17:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:17:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:17:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":150258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:17:23] local.INFO: GPS data processed {"connection_id":150258,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:17:23] local.INFO: Acknowledgment sent {"connection_id":150258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:18:07] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:18:07] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:18:07] local.INFO: IMEI packet received {"connection_id":151238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":151238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:18:12] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:18:12] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:18:12] local.INFO: IMEI packet received {"connection_id":151238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":151238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:18:14] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:18:14] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:18:14] local.INFO: Packet analysis {"connection_id":151238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:18:14] local.INFO: Extracted packet for processing {"connection_id":151238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:18:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:18:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":151238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:18:14] local.INFO: GPS data processed {"connection_id":151238,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:18:14] local.INFO: Acknowledgment sent {"connection_id":151238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:18:45] local.INFO: TCP Data received {"connection_id":151238,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:18:45] local.INFO: Processing buffer {"connection_id":151238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:18:45] local.INFO: Packet analysis {"connection_id":151238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:18:45] local.INFO: Extracted packet for processing {"connection_id":151238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:18:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:18:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":151238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:18:45] local.INFO: GPS data processed {"connection_id":151238,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:18:45] local.INFO: Acknowledgment sent {"connection_id":151238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:19:08] local.INFO: TCP Data received {"connection_id":152706,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:19:08] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:19:08] local.INFO: IMEI packet received {"connection_id":152706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":152706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:19:12] local.INFO: TCP Data received {"connection_id":152706,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:19:12] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:19:12] local.INFO: IMEI packet received {"connection_id":152706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":152706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:19:14] local.INFO: TCP Data received {"connection_id":152706,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:19:14] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:19:14] local.INFO: Packet analysis {"connection_id":152706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:19:14] local.INFO: Extracted packet for processing {"connection_id":152706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:19:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:19:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":152706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:19:14] local.INFO: GPS data processed {"connection_id":152706,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:19:14] local.INFO: Acknowledgment sent {"connection_id":152706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:19:45] local.INFO: TCP Data received {"connection_id":152706,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:19:45] local.INFO: Processing buffer {"connection_id":152706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:19:45] local.INFO: Packet analysis {"connection_id":152706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:19:45] local.INFO: Extracted packet for processing {"connection_id":152706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:19:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:19:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:19:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:19:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":152706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:19:45] local.INFO: GPS data processed {"connection_id":152706,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:19:45] local.INFO: Acknowledgment sent {"connection_id":152706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:20:07] local.INFO: TCP Data received {"connection_id":149998,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:20:07] local.INFO: Processing buffer {"connection_id":149998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:20:07] local.INFO: IMEI packet received {"connection_id":149998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":149998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:20:12] local.INFO: TCP Data received {"connection_id":149998,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:20:12] local.INFO: Processing buffer {"connection_id":149998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:20:12] local.INFO: IMEI packet received {"connection_id":149998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":149998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:20:13] local.INFO: TCP Data received {"connection_id":149998,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:20:13] local.INFO: Processing buffer {"connection_id":149998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:20:13] local.INFO: Packet analysis {"connection_id":149998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:20:13] local.INFO: Extracted packet for processing {"connection_id":149998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":149998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":149998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":149998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":149998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:20:13] local.INFO: GPS data processed {"connection_id":149998,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:20:13] local.INFO: Acknowledgment sent {"connection_id":149998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:20:45] local.INFO: TCP Data received {"connection_id":149998,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:20:45] local.INFO: Processing buffer {"connection_id":149998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:20:45] local.INFO: Packet analysis {"connection_id":149998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:20:45] local.INFO: Extracted packet for processing {"connection_id":149998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:20:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01: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-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:20:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:20:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":149998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:20:45] local.INFO: GPS data processed {"connection_id":149998,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:20:45] local.INFO: Acknowledgment sent {"connection_id":149998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:21:07] local.INFO: TCP Data received {"connection_id":152707,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:21:07] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:21:07] local.INFO: IMEI packet received {"connection_id":152707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":152707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:21:12] local.INFO: TCP Data received {"connection_id":152707,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:21:12] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:21:12] local.INFO: IMEI packet received {"connection_id":152707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":152707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:21:14] local.INFO: TCP Data received {"connection_id":152707,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:21:14] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc2a5c8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:21:14] local.INFO: Packet analysis {"connection_id":152707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:21:14] local.INFO: Extracted packet for processing {"connection_id":152707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc2"} 
[2026-08-08 01:21:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:21:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786131949000,"timestamp_ms":1786131949000,"timestamp_seconds":1786131949,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc2a5c8"} 
[2026-08-08 01:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249701888001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:21:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:21:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:21:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249701888001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":152707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:21:14] local.INFO: GPS data processed {"connection_id":152707,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:21:14] local.INFO: Acknowledgment sent {"connection_id":152707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:21:46] local.INFO: TCP Data received {"connection_id":152707,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:21:46] local.INFO: Processing buffer {"connection_id":152707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:21:46] local.INFO: Packet analysis {"connection_id":152707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:21:46] local.INFO: Extracted packet for processing {"connection_id":152707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:21:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:21: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-08-08 01:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:21:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":152707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:21:46] local.INFO: GPS data processed {"connection_id":152707,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:21:46] local.INFO: Acknowledgment sent {"connection_id":152707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:22:07] local.INFO: TCP Data received {"connection_id":150259,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:22:07] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:22:07] local.INFO: IMEI packet received {"connection_id":150259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":150259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:22:12] local.INFO: TCP Data received {"connection_id":150259,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:22:12] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:22:12] local.INFO: IMEI packet received {"connection_id":150259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":150259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:22:14] local.INFO: TCP Data received {"connection_id":150259,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:22:14] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:22:14] local.INFO: Packet analysis {"connection_id":150259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:22:14] local.INFO: Extracted packet for processing {"connection_id":150259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:22:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:22:14] 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-08-08 01:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":150259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:22:14] local.INFO: GPS data processed {"connection_id":150259,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:22:14] local.INFO: Acknowledgment sent {"connection_id":150259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:22:45] local.INFO: TCP Data received {"connection_id":150259,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:22:45] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:22:45] local.INFO: Packet analysis {"connection_id":150259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:22:45] local.INFO: Extracted packet for processing {"connection_id":150259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:22:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:22:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":150259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:22:45] local.INFO: GPS data processed {"connection_id":150259,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:22:45] local.INFO: Acknowledgment sent {"connection_id":150259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:23:07] local.INFO: TCP Data received {"connection_id":149999,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:23:07] local.INFO: Processing buffer {"connection_id":149999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:23:07] local.INFO: IMEI packet received {"connection_id":149999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":149999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:23:12] local.INFO: TCP Data received {"connection_id":149999,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:23:12] local.INFO: Processing buffer {"connection_id":149999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:23:12] local.INFO: IMEI packet received {"connection_id":149999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":149999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:23:14] local.INFO: TCP Data received {"connection_id":149999,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:23:14] local.INFO: Processing buffer {"connection_id":149999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:23:14] local.INFO: Packet analysis {"connection_id":149999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:23:14] local.INFO: Extracted packet for processing {"connection_id":149999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:23:14] 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-08-08 01:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":149999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":149999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":149999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:23:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":149999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:23:14] local.INFO: GPS data processed {"connection_id":149999,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:23:14] local.INFO: Acknowledgment sent {"connection_id":149999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:23:45] local.INFO: TCP Data received {"connection_id":149999,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":149999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:23:45] local.INFO: Processing buffer {"connection_id":149999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:23:45] local.INFO: Packet analysis {"connection_id":149999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:23:45] local.INFO: Extracted packet for processing {"connection_id":149999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:23:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":149999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":149999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":149999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:23:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":149999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:23:45] local.INFO: GPS data processed {"connection_id":149999,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:23:45] local.INFO: Acknowledgment sent {"connection_id":149999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:24:07] local.INFO: TCP Data received {"connection_id":152708,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:24:07] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:24:07] local.INFO: IMEI packet received {"connection_id":152708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":152708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:24:12] local.INFO: TCP Data received {"connection_id":152708,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:24:12] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:24:12] local.INFO: IMEI packet received {"connection_id":152708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":152708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:24:14] local.INFO: TCP Data received {"connection_id":152708,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:24:14] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:24:14] local.INFO: Packet analysis {"connection_id":152708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:24:14] local.INFO: Extracted packet for processing {"connection_id":152708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:24:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:24:14] 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-08-08 01:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:24:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":152708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:24:14] local.INFO: GPS data processed {"connection_id":152708,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:24:14] local.INFO: Acknowledgment sent {"connection_id":152708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:24:45] local.INFO: TCP Data received {"connection_id":152708,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:24:45] local.INFO: Processing buffer {"connection_id":152708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:24:45] local.INFO: Packet analysis {"connection_id":152708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:24:45] local.INFO: Extracted packet for processing {"connection_id":152708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:24:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:24:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:24:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:24:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":152708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:24:45] local.INFO: GPS data processed {"connection_id":152708,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:24:45] local.INFO: Acknowledgment sent {"connection_id":152708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:25:07] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:25:07] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:25:07] local.INFO: IMEI packet received {"connection_id":151239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":151239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:25:12] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:25:12] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:25:12] local.INFO: IMEI packet received {"connection_id":151239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":151239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:25:13] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:25:13] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:25:13] local.INFO: Packet analysis {"connection_id":151239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:25:13] local.INFO: Extracted packet for processing {"connection_id":151239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:25:13] 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-08-08 01:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:25:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":151239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:25:13] local.INFO: GPS data processed {"connection_id":151239,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:25:13] local.INFO: Acknowledgment sent {"connection_id":151239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:25:45] local.INFO: TCP Data received {"connection_id":151239,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:25:45] local.INFO: Processing buffer {"connection_id":151239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:25:45] local.INFO: Packet analysis {"connection_id":151239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:25:45] local.INFO: Extracted packet for processing {"connection_id":151239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:25:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:25:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:25:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":151239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:25:45] local.INFO: GPS data processed {"connection_id":151239,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:25:45] local.INFO: Acknowledgment sent {"connection_id":151239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:26:12] local.INFO: TCP Data received {"connection_id":150000,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:26:12] local.INFO: Processing buffer {"connection_id":150000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:26:12] local.INFO: IMEI packet received {"connection_id":150000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":150000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:26:17] local.INFO: TCP Data received {"connection_id":150000,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:26:17] local.INFO: Processing buffer {"connection_id":150000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:26:17] local.INFO: IMEI packet received {"connection_id":150000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":150000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:26:19] local.INFO: TCP Data received {"connection_id":150000,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:26:19] local.INFO: Processing buffer {"connection_id":150000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:26:19] local.INFO: Packet analysis {"connection_id":150000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:26:19] local.INFO: Extracted packet for processing {"connection_id":150000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:26:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:26: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-08-08 01: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:26: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-08-08 01:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:26:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":150000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:26:19] local.INFO: GPS data processed {"connection_id":150000,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:26:19] local.INFO: Acknowledgment sent {"connection_id":150000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:26:23] local.INFO: TCP Data received {"connection_id":150000,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:26:23] local.INFO: Processing buffer {"connection_id":150000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddc73d90012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:26:23] local.INFO: Packet analysis {"connection_id":150000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:26:23] local.INFO: Extracted packet for processing {"connection_id":150000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddc7"} 
[2026-08-08 01:26:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249778944001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:26:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786132250000,"timestamp_ms":1786132250000,"timestamp_seconds":1786132250,"priority":1,"record_length":96,"hex_timestamp":"0000019fddc73d90"} 
[2026-08-08 01:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:26:23] 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-08-08 01:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249778944001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249778944001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:26:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:26:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:26:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249778944001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":150000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:26:23] local.INFO: GPS data processed {"connection_id":150000,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:26:23] local.INFO: Acknowledgment sent {"connection_id":150000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:27:07] local.INFO: TCP Data received {"connection_id":150260,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:27:07] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:27:07] local.INFO: IMEI packet received {"connection_id":150260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":150260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:27:12] local.INFO: TCP Data received {"connection_id":150260,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:27:12] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:27:12] local.INFO: IMEI packet received {"connection_id":150260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":150260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:27:14] local.INFO: TCP Data received {"connection_id":150260,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:27:14] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:27:14] local.INFO: Packet analysis {"connection_id":150260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:27:14] local.INFO: Extracted packet for processing {"connection_id":150260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:27:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:27:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:27:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:27:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":150260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:27:14] local.INFO: GPS data processed {"connection_id":150260,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:27:14] local.INFO: Acknowledgment sent {"connection_id":150260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:27:46] local.INFO: TCP Data received {"connection_id":150260,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:27:46] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:27:46] local.INFO: Packet analysis {"connection_id":150260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:27:46] local.INFO: Extracted packet for processing {"connection_id":150260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:27:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:27: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-08-08 01:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:27:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":150260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:27:46] local.INFO: GPS data processed {"connection_id":150260,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:27:46] local.INFO: Acknowledgment sent {"connection_id":150260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:28:07] local.INFO: TCP Data received {"connection_id":151240,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:28:07] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:28:07] local.INFO: IMEI packet received {"connection_id":151240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":151240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:28:12] local.INFO: TCP Data received {"connection_id":151240,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:28:12] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:28:12] local.INFO: IMEI packet received {"connection_id":151240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":151240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:28:14] local.INFO: TCP Data received {"connection_id":151240,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:28:14] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:28:14] local.INFO: Packet analysis {"connection_id":151240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:28:14] local.INFO: Extracted packet for processing {"connection_id":151240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:28:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:28:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:28:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":151240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:28:14] local.INFO: GPS data processed {"connection_id":151240,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:28:14] local.INFO: Acknowledgment sent {"connection_id":151240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:28:45] local.INFO: TCP Data received {"connection_id":151240,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:28:45] local.INFO: Processing buffer {"connection_id":151240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:28:45] local.INFO: Packet analysis {"connection_id":151240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:28:45] local.INFO: Extracted packet for processing {"connection_id":151240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:28:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:28:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:28:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":151240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:28:45] local.INFO: GPS data processed {"connection_id":151240,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:28:45] local.INFO: Acknowledgment sent {"connection_id":151240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:29:12] local.INFO: TCP Data received {"connection_id":152709,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:29:12] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:29:12] local.INFO: IMEI packet received {"connection_id":152709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":152709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:29:17] local.INFO: TCP Data received {"connection_id":152709,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:29:17] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:29:17] local.INFO: IMEI packet received {"connection_id":152709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":152709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:29:18] local.INFO: TCP Data received {"connection_id":152709,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:29:18] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:29:18] local.INFO: Packet analysis {"connection_id":152709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:29:18] local.INFO: Extracted packet for processing {"connection_id":152709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:29:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:29:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:29:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:29:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:29:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":152709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:29:18] local.INFO: GPS data processed {"connection_id":152709,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:29:18] local.INFO: Acknowledgment sent {"connection_id":152709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:29:23] local.INFO: TCP Data received {"connection_id":152709,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:29:23] local.INFO: Processing buffer {"connection_id":152709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:29:23] local.INFO: Packet analysis {"connection_id":152709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:29:23] local.INFO: Extracted packet for processing {"connection_id":152709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:29:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:29:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:29:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:29:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:29:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":152709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:29:23] local.INFO: GPS data processed {"connection_id":152709,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:29:23] local.INFO: Acknowledgment sent {"connection_id":152709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:30:07] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:30:07] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:30:07] local.INFO: IMEI packet received {"connection_id":151241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":151241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:30:12] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:30:12] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:30:12] local.INFO: IMEI packet received {"connection_id":151241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":151241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:30:14] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:14] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:14] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:30:14] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:30:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:30:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:30:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:30:14] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:30:14] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:30:18] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:18] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:18] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:30:18] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:30:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:30:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:30:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:30:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:30:18] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:30:18] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:30:50] local.INFO: TCP Data received {"connection_id":151241,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:50] local.INFO: Processing buffer {"connection_id":151241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:30:50] local.INFO: Packet analysis {"connection_id":151241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:30:50] local.INFO: Extracted packet for processing {"connection_id":151241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:30:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":151241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:30:50] local.INFO: GPS data processed {"connection_id":151241,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:30:50] local.INFO: Acknowledgment sent {"connection_id":151241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:31:08] local.INFO: TCP Data received {"connection_id":150261,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:31:08] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:31:08] local.INFO: IMEI packet received {"connection_id":150261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":150261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:31:16] local.INFO: TCP Data received {"connection_id":150261,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:31:16] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:31:16] local.INFO: IMEI packet received {"connection_id":150261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":150261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:31:17] local.INFO: TCP Data received {"connection_id":150261,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:31:17] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddcbd558012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:31:17] local.INFO: Packet analysis {"connection_id":150261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:31:17] local.INFO: Extracted packet for processing {"connection_id":150261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddcb"} 
[2026-08-08 01:31:17] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249856000001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786132551000,"timestamp_ms":1786132551000,"timestamp_seconds":1786132551,"priority":1,"record_length":96,"hex_timestamp":"0000019fddcbd558"} 
[2026-08-08 01:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:31: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-08-08 01:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249856000001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249856000001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:31:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:31:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249856000001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":150261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:31:17] local.INFO: GPS data processed {"connection_id":150261,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:31:17] local.INFO: Acknowledgment sent {"connection_id":150261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:31:48] local.INFO: TCP Data received {"connection_id":150261,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:31:48] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:31:48] local.INFO: Packet analysis {"connection_id":150261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:31:48] local.INFO: Extracted packet for processing {"connection_id":150261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:31:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:31:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":150261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:31:48] local.INFO: GPS data processed {"connection_id":150261,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:31:48] local.INFO: Acknowledgment sent {"connection_id":150261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:32:07] local.INFO: TCP Data received {"connection_id":150001,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:32:07] local.INFO: Processing buffer {"connection_id":150001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:32:07] local.INFO: IMEI packet received {"connection_id":150001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":150001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:32:12] local.INFO: TCP Data received {"connection_id":150001,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:32:12] local.INFO: Processing buffer {"connection_id":150001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:32:12] local.INFO: IMEI packet received {"connection_id":150001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":150001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:32:14] local.INFO: TCP Data received {"connection_id":150001,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:32:14] local.INFO: Processing buffer {"connection_id":150001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:32:14] local.INFO: Packet analysis {"connection_id":150001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:32:14] local.INFO: Extracted packet for processing {"connection_id":150001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:32:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:32:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":150001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:32:14] local.INFO: GPS data processed {"connection_id":150001,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:32:14] local.INFO: Acknowledgment sent {"connection_id":150001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:32:45] local.INFO: TCP Data received {"connection_id":150001,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:32:45] local.INFO: Processing buffer {"connection_id":150001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:32:45] local.INFO: Packet analysis {"connection_id":150001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:32:45] local.INFO: Extracted packet for processing {"connection_id":150001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:32:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:32:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:32:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":150001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:32:45] local.INFO: GPS data processed {"connection_id":150001,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:32:45] local.INFO: Acknowledgment sent {"connection_id":150001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:33:12] local.INFO: TCP Data received {"connection_id":152710,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:33:12] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:33:12] local.INFO: IMEI packet received {"connection_id":152710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":152710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:33:17] local.INFO: TCP Data received {"connection_id":152710,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:33:17] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:33:17] local.INFO: IMEI packet received {"connection_id":152710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":152710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:33:19] local.INFO: TCP Data received {"connection_id":152710,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:33:19] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:33:19] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:33:19] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:33:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:33: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-08-08 01:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:33: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-08-08 01:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:33:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:33:19] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:33:19] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:33:23] local.INFO: TCP Data received {"connection_id":152710,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:33:23] local.INFO: Processing buffer {"connection_id":152710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:33:23] local.INFO: Packet analysis {"connection_id":152710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:33:23] local.INFO: Extracted packet for processing {"connection_id":152710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:33:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01: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-08-08 01:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:33:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01: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-08-08 01:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:33:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:33:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:33:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":152710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:33:23] local.INFO: GPS data processed {"connection_id":152710,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:33:23] local.INFO: Acknowledgment sent {"connection_id":152710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:34:07] local.INFO: TCP Data received {"connection_id":150002,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:34:07] local.INFO: Processing buffer {"connection_id":150002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:34:07] local.INFO: IMEI packet received {"connection_id":150002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":150002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:34:12] local.INFO: TCP Data received {"connection_id":150002,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:34:12] local.INFO: Processing buffer {"connection_id":150002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:34:12] local.INFO: IMEI packet received {"connection_id":150002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":150002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:34:14] local.INFO: TCP Data received {"connection_id":150002,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:34:14] local.INFO: Processing buffer {"connection_id":150002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:34:14] local.INFO: Packet analysis {"connection_id":150002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:34:14] local.INFO: Extracted packet for processing {"connection_id":150002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:34:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:34:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:34:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:34:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":150002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:34:14] local.INFO: GPS data processed {"connection_id":150002,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:34:14] local.INFO: Acknowledgment sent {"connection_id":150002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:34:45] local.INFO: TCP Data received {"connection_id":150002,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:34:45] local.INFO: Processing buffer {"connection_id":150002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:34:45] local.INFO: Packet analysis {"connection_id":150002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:34:45] local.INFO: Extracted packet for processing {"connection_id":150002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:34:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:34:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:34:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":150002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:34:45] local.INFO: GPS data processed {"connection_id":150002,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:34:45] local.INFO: Acknowledgment sent {"connection_id":150002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:35:07] local.INFO: TCP Data received {"connection_id":151242,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:35:07] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:35:07] local.INFO: IMEI packet received {"connection_id":151242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":151242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:35:12] local.INFO: TCP Data received {"connection_id":151242,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:35:12] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:35:12] local.INFO: IMEI packet received {"connection_id":151242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":151242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:35:14] local.INFO: TCP Data received {"connection_id":151242,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:35:14] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:35:14] local.INFO: Packet analysis {"connection_id":151242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:35:14] local.INFO: Extracted packet for processing {"connection_id":151242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:35:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:35:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":151242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:35:14] local.INFO: GPS data processed {"connection_id":151242,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:35:14] local.INFO: Acknowledgment sent {"connection_id":151242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:35:48] local.INFO: TCP Data received {"connection_id":151242,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:35:48] local.INFO: Processing buffer {"connection_id":151242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:35:48] local.INFO: Packet analysis {"connection_id":151242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:35:48] local.INFO: Extracted packet for processing {"connection_id":151242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:35:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:35:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:35:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:35:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":151242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:35:48] local.INFO: GPS data processed {"connection_id":151242,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:35:48] local.INFO: Acknowledgment sent {"connection_id":151242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:36:07] local.INFO: TCP Data received {"connection_id":152711,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:36:07] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:36:07] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:36:12] local.INFO: TCP Data received {"connection_id":152711,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:36:12] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:36:12] local.INFO: IMEI packet received {"connection_id":152711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":152711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:36:14] local.INFO: TCP Data received {"connection_id":152711,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:36:14] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd06d20012cee7500072e2ba8003d006a27..."} 
[2026-08-08 01:36:14] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:36:14] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd0"} 
[2026-08-08 01:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457249933056001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786132852000,"timestamp_ms":1786132852000,"timestamp_seconds":1786132852,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd06d20"} 
[2026-08-08 01:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 01:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457249933056001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457249933056001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:36:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457249933056001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:36:14] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:36:14] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:36:45] local.INFO: TCP Data received {"connection_id":152711,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:36:45] local.INFO: Processing buffer {"connection_id":152711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:36:45] local.INFO: Packet analysis {"connection_id":152711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:36:45] local.INFO: Extracted packet for processing {"connection_id":152711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:36:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:36:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":152711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:36:45] local.INFO: GPS data processed {"connection_id":152711,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:36:45] local.INFO: Acknowledgment sent {"connection_id":152711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:37:12] local.INFO: TCP Data received {"connection_id":150003,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:37:12] local.INFO: Processing buffer {"connection_id":150003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:37:12] local.INFO: IMEI packet received {"connection_id":150003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":150003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:37:17] local.INFO: TCP Data received {"connection_id":150003,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:37:17] local.INFO: Processing buffer {"connection_id":150003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:37:17] local.INFO: IMEI packet received {"connection_id":150003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":150003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:37:19] local.INFO: TCP Data received {"connection_id":150003,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:37:19] local.INFO: Processing buffer {"connection_id":150003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:37:19] local.INFO: Packet analysis {"connection_id":150003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:37:19] local.INFO: Extracted packet for processing {"connection_id":150003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:37:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:37: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-08-08 01: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":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:37: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-08-08 01:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:37:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":150003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:37:19] local.INFO: GPS data processed {"connection_id":150003,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:37:19] local.INFO: Acknowledgment sent {"connection_id":150003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:37:23] local.INFO: TCP Data received {"connection_id":150003,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:37:23] local.INFO: Processing buffer {"connection_id":150003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:37:23] local.INFO: Packet analysis {"connection_id":150003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:37:23] local.INFO: Extracted packet for processing {"connection_id":150003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:37:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:37:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:37:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:37:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:37:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":150003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:37:23] local.INFO: GPS data processed {"connection_id":150003,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:37:23] local.INFO: Acknowledgment sent {"connection_id":150003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:38:07] local.INFO: TCP Data received {"connection_id":150262,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:38:07] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:38:07] local.INFO: IMEI packet received {"connection_id":150262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":150262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:38:12] local.INFO: TCP Data received {"connection_id":150262,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:38:12] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:38:12] local.INFO: IMEI packet received {"connection_id":150262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":150262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:38:14] local.INFO: TCP Data received {"connection_id":150262,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:38:14] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:38:14] local.INFO: Packet analysis {"connection_id":150262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:38:14] local.INFO: Extracted packet for processing {"connection_id":150262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:38:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:38:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":150262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:38:14] local.INFO: GPS data processed {"connection_id":150262,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:38:14] local.INFO: Acknowledgment sent {"connection_id":150262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:38:45] local.INFO: TCP Data received {"connection_id":150262,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:38:45] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:38:45] local.INFO: Packet analysis {"connection_id":150262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:38:45] local.INFO: Extracted packet for processing {"connection_id":150262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:38:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:38: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-08-08 01:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:38:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":150262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:38:45] local.INFO: GPS data processed {"connection_id":150262,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:38:45] local.INFO: Acknowledgment sent {"connection_id":150262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:39:08] local.INFO: TCP Data received {"connection_id":152712,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:39:08] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:39:08] local.INFO: IMEI packet received {"connection_id":152712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":152712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:39:12] local.INFO: TCP Data received {"connection_id":152712,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:39:12] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:39:12] local.INFO: IMEI packet received {"connection_id":152712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":152712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:39:14] local.INFO: TCP Data received {"connection_id":152712,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:39:14] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:39:14] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:39:14] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:39:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:39:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:39:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:39:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:39:14] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:39:14] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:39:45] local.INFO: TCP Data received {"connection_id":152712,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:39:45] local.INFO: Processing buffer {"connection_id":152712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:39:45] local.INFO: Packet analysis {"connection_id":152712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:39:45] local.INFO: Extracted packet for processing {"connection_id":152712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:39:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:39: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-08-08 01:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:39:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:39:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":152712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:39:46] local.INFO: GPS data processed {"connection_id":152712,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:39:46] local.INFO: Acknowledgment sent {"connection_id":152712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:40:07] local.INFO: TCP Data received {"connection_id":150263,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:40:07] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:40:07] local.INFO: IMEI packet received {"connection_id":150263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":150263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:40:12] local.INFO: TCP Data received {"connection_id":150263,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:40:12] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:40:12] local.INFO: IMEI packet received {"connection_id":150263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":150263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:40:14] local.INFO: TCP Data received {"connection_id":150263,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:40:14] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:40:14] local.INFO: Packet analysis {"connection_id":150263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:40:14] local.INFO: Extracted packet for processing {"connection_id":150263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:40:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:40:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":150263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:40:14] local.INFO: GPS data processed {"connection_id":150263,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:40:14] local.INFO: Acknowledgment sent {"connection_id":150263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:40:45] local.INFO: TCP Data received {"connection_id":150263,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:40:45] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:40:45] local.INFO: Packet analysis {"connection_id":150263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:40:45] local.INFO: Extracted packet for processing {"connection_id":150263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:40:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:40: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-08-08 01:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:40:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":150263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:40:45] local.INFO: GPS data processed {"connection_id":150263,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:40:45] local.INFO: Acknowledgment sent {"connection_id":150263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:41:07] local.INFO: TCP Data received {"connection_id":152713,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:41:07] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:41:07] local.INFO: IMEI packet received {"connection_id":152713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":152713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:41:12] local.INFO: TCP Data received {"connection_id":152713,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:41:12] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:41:12] local.INFO: IMEI packet received {"connection_id":152713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":152713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:41:13] local.INFO: TCP Data received {"connection_id":152713,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:41:13] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd504e8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:41:13] local.INFO: Packet analysis {"connection_id":152713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:41:13] local.INFO: Extracted packet for processing {"connection_id":152713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd5"} 
[2026-08-08 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250010112001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786133153000,"timestamp_ms":1786133153000,"timestamp_seconds":1786133153,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd504e8"} 
[2026-08-08 01:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250010112001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250010112001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:41:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250010112001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":152713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:41:13] local.INFO: GPS data processed {"connection_id":152713,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:41:13] local.INFO: Acknowledgment sent {"connection_id":152713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:41:45] local.INFO: TCP Data received {"connection_id":152713,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:41:45] local.INFO: Processing buffer {"connection_id":152713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:41:45] local.INFO: Packet analysis {"connection_id":152713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:41:45] local.INFO: Extracted packet for processing {"connection_id":152713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:41:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:41:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":152713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:41:45] local.INFO: GPS data processed {"connection_id":152713,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:41:45] local.INFO: Acknowledgment sent {"connection_id":152713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:42:07] local.INFO: TCP Data received {"connection_id":150004,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:42:07] local.INFO: Processing buffer {"connection_id":150004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:42:07] local.INFO: IMEI packet received {"connection_id":150004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":150004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:42:12] local.INFO: TCP Data received {"connection_id":150004,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:42:12] local.INFO: Processing buffer {"connection_id":150004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:42:12] local.INFO: IMEI packet received {"connection_id":150004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":150004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:42:14] local.INFO: TCP Data received {"connection_id":150004,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:14] local.INFO: Processing buffer {"connection_id":150004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:14] local.INFO: Packet analysis {"connection_id":150004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:42:14] local.INFO: Extracted packet for processing {"connection_id":150004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:42:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:42:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":150004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:42:14] local.INFO: GPS data processed {"connection_id":150004,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:42:14] local.INFO: Acknowledgment sent {"connection_id":150004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:42:18] local.INFO: TCP Data received {"connection_id":150004,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:18] local.INFO: Processing buffer {"connection_id":150004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:18] local.INFO: Packet analysis {"connection_id":150004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:42:18] local.INFO: Extracted packet for processing {"connection_id":150004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:42:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:42:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:42:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:42:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":150004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:42:18] local.INFO: GPS data processed {"connection_id":150004,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:42:18] local.INFO: Acknowledgment sent {"connection_id":150004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:42:50] local.INFO: TCP Data received {"connection_id":150004,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:50] local.INFO: Processing buffer {"connection_id":150004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:42:50] local.INFO: Packet analysis {"connection_id":150004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:42:50] local.INFO: Extracted packet for processing {"connection_id":150004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:42:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01: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-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:42: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-08-08 01:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:42:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":150004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:42:50] local.INFO: GPS data processed {"connection_id":150004,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:42:50] local.INFO: Acknowledgment sent {"connection_id":150004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:43:08] local.INFO: TCP Data received {"connection_id":150264,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:43:08] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:43:08] local.INFO: IMEI packet received {"connection_id":150264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":150264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:43:12] local.INFO: TCP Data received {"connection_id":150264,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:43:12] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:43:12] local.INFO: IMEI packet received {"connection_id":150264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":150264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:43:14] local.INFO: TCP Data received {"connection_id":150264,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:43:14] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:43:14] local.INFO: Packet analysis {"connection_id":150264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:43:14] local.INFO: Extracted packet for processing {"connection_id":150264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:43:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:43:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:43:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":150264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:43:14] local.INFO: GPS data processed {"connection_id":150264,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:43:14] local.INFO: Acknowledgment sent {"connection_id":150264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:43:45] local.INFO: TCP Data received {"connection_id":150264,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:43:45] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:43:45] local.INFO: Packet analysis {"connection_id":150264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:43:45] local.INFO: Extracted packet for processing {"connection_id":150264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:43:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:43: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-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:43:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":150264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:43:45] local.INFO: GPS data processed {"connection_id":150264,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:43:45] local.INFO: Acknowledgment sent {"connection_id":150264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:44:07] local.INFO: TCP Data received {"connection_id":151243,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:44:07] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:44:07] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:44:12] local.INFO: TCP Data received {"connection_id":151243,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:44:12] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:44:12] local.INFO: IMEI packet received {"connection_id":151243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":151243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:44:14] local.INFO: TCP Data received {"connection_id":151243,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:44:14] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:44:14] local.INFO: Packet analysis {"connection_id":151243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:44:14] local.INFO: Extracted packet for processing {"connection_id":151243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:44:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:44:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":151243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:44:14] local.INFO: GPS data processed {"connection_id":151243,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:44:14] local.INFO: Acknowledgment sent {"connection_id":151243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:44:45] local.INFO: TCP Data received {"connection_id":151243,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:44:45] local.INFO: Processing buffer {"connection_id":151243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:44:45] local.INFO: Packet analysis {"connection_id":151243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:44:45] local.INFO: Extracted packet for processing {"connection_id":151243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:44:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:44:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":151243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:44:45] local.INFO: GPS data processed {"connection_id":151243,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:44:45] local.INFO: Acknowledgment sent {"connection_id":151243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:45:12] local.INFO: TCP Data received {"connection_id":150265,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:45:12] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:45:12] local.INFO: IMEI packet received {"connection_id":150265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":150265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:45:17] local.INFO: TCP Data received {"connection_id":150265,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:45:17] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:45:17] local.INFO: IMEI packet received {"connection_id":150265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":150265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:45:19] local.INFO: TCP Data received {"connection_id":150265,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:45:19] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:45:19] local.INFO: Packet analysis {"connection_id":150265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:45:19] local.INFO: Extracted packet for processing {"connection_id":150265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:45:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:45: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-08-08 01:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:45: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-08-08 01: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-08-08 01:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:45:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":150265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:45:19] local.INFO: GPS data processed {"connection_id":150265,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:45:19] local.INFO: Acknowledgment sent {"connection_id":150265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:45:23] local.INFO: TCP Data received {"connection_id":150265,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:45:23] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:45:23] local.INFO: Packet analysis {"connection_id":150265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:45:23] local.INFO: Extracted packet for processing {"connection_id":150265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:45:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:45:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:45:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:45:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:45:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":150265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:45:23] local.INFO: GPS data processed {"connection_id":150265,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:45:23] local.INFO: Acknowledgment sent {"connection_id":150265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:46:07] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:46:07] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:46:07] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:46:12] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:46:12] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:46:12] local.INFO: IMEI packet received {"connection_id":151244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":151244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:46:14] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:46:14] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddd99cb0012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 01:46:14] local.INFO: Packet analysis {"connection_id":151244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:46:14] local.INFO: Extracted packet for processing {"connection_id":151244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddd9"} 
[2026-08-08 01:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250087168001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133454000,"timestamp_ms":1786133454000,"timestamp_seconds":1786133454,"priority":1,"record_length":96,"hex_timestamp":"0000019fddd99cb0"} 
[2026-08-08 01:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250087168001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250087168001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:46:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250087168001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":151244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:46:14] local.INFO: GPS data processed {"connection_id":151244,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:46:14] local.INFO: Acknowledgment sent {"connection_id":151244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:46:45] local.INFO: TCP Data received {"connection_id":151244,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:46:45] local.INFO: Processing buffer {"connection_id":151244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:46:45] local.INFO: Packet analysis {"connection_id":151244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:46:45] local.INFO: Extracted packet for processing {"connection_id":151244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:46:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:46: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-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:46:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":151244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:46:45] local.INFO: GPS data processed {"connection_id":151244,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:46:45] local.INFO: Acknowledgment sent {"connection_id":151244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:47:07] local.INFO: TCP Data received {"connection_id":150266,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:47:07] local.INFO: Processing buffer {"connection_id":150266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:47:07] local.INFO: IMEI packet received {"connection_id":150266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":150266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:47:12] local.INFO: TCP Data received {"connection_id":150266,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:47:12] local.INFO: Processing buffer {"connection_id":150266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:47:12] local.INFO: IMEI packet received {"connection_id":150266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":150266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:47:14] local.INFO: TCP Data received {"connection_id":150266,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:47:14] local.INFO: Processing buffer {"connection_id":150266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:47:14] local.INFO: Packet analysis {"connection_id":150266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:47:14] local.INFO: Extracted packet for processing {"connection_id":150266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:47:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:47:14] 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-08-08 01:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:47:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":150266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:47:14] local.INFO: GPS data processed {"connection_id":150266,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:47:14] local.INFO: Acknowledgment sent {"connection_id":150266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:47:45] local.INFO: TCP Data received {"connection_id":150266,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:47:45] local.INFO: Processing buffer {"connection_id":150266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:47:45] local.INFO: Packet analysis {"connection_id":150266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:47:45] local.INFO: Extracted packet for processing {"connection_id":150266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:47:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:47: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-08-08 01:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:47:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:47:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":150266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:47:45] local.INFO: GPS data processed {"connection_id":150266,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:47:45] local.INFO: Acknowledgment sent {"connection_id":150266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:48:16] local.INFO: TCP Data received {"connection_id":150005,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:48:16] local.INFO: Processing buffer {"connection_id":150005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:48:16] local.INFO: IMEI packet received {"connection_id":150005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":150005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:48:17] local.INFO: TCP Data received {"connection_id":150005,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:48:17] local.INFO: Processing buffer {"connection_id":150005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:48:17] local.INFO: IMEI packet received {"connection_id":150005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":150005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:48:18] local.INFO: TCP Data received {"connection_id":150005,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:48:18] local.INFO: Processing buffer {"connection_id":150005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:48:18] local.INFO: Packet analysis {"connection_id":150005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:48:18] local.INFO: Extracted packet for processing {"connection_id":150005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:48:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:48:18] 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-08-08 01:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:48:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:48:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":150005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:48:18] local.INFO: GPS data processed {"connection_id":150005,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:48:18] local.INFO: Acknowledgment sent {"connection_id":150005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:48:25] local.INFO: TCP Data received {"connection_id":150005,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:48:25] local.INFO: Processing buffer {"connection_id":150005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:48:25] local.INFO: Packet analysis {"connection_id":150005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:48:25] local.INFO: Extracted packet for processing {"connection_id":150005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:48:25] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:48:25] 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-08-08 01:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:48:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:48:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":150005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:48:25] local.INFO: GPS data processed {"connection_id":150005,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:48:25] local.INFO: Acknowledgment sent {"connection_id":150005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:49:10] local.INFO: TCP Data received {"connection_id":150006,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:49:10] local.INFO: Processing buffer {"connection_id":150006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:49:10] local.INFO: IMEI packet received {"connection_id":150006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":150006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:49:12] local.INFO: TCP Data received {"connection_id":150006,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:49:12] local.INFO: Processing buffer {"connection_id":150006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:49:12] local.INFO: IMEI packet received {"connection_id":150006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":150006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:49:14] local.INFO: TCP Data received {"connection_id":150006,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:14] local.INFO: Processing buffer {"connection_id":150006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:14] local.INFO: Packet analysis {"connection_id":150006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:49:14] local.INFO: Extracted packet for processing {"connection_id":150006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:49:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:49:14] 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-08-08 01:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:49:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:49:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":150006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:49:14] local.INFO: GPS data processed {"connection_id":150006,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:49:14] local.INFO: Acknowledgment sent {"connection_id":150006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:49:17] local.INFO: TCP Data received {"connection_id":150006,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:17] local.INFO: Processing buffer {"connection_id":150006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:17] local.INFO: Packet analysis {"connection_id":150006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:49:17] local.INFO: Extracted packet for processing {"connection_id":150006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:49:17] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:49: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-08-08 01:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:49:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":150006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:49:17] local.INFO: GPS data processed {"connection_id":150006,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:49:17] local.INFO: Acknowledgment sent {"connection_id":150006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:49:49] local.INFO: TCP Data received {"connection_id":150006,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:49] local.INFO: Processing buffer {"connection_id":150006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:49:49] local.INFO: Packet analysis {"connection_id":150006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:49:49] local.INFO: Extracted packet for processing {"connection_id":150006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:49:49] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:49:49] 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-08-08 01:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":150006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:49:49] local.INFO: GPS data processed {"connection_id":150006,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:49:49] local.INFO: Acknowledgment sent {"connection_id":150006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:50:08] local.INFO: TCP Data received {"connection_id":150267,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:50:08] local.INFO: Processing buffer {"connection_id":150267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:50:08] local.INFO: IMEI packet received {"connection_id":150267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":150267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:50:12] local.INFO: TCP Data received {"connection_id":150267,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:50:12] local.INFO: Processing buffer {"connection_id":150267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:50:12] local.INFO: IMEI packet received {"connection_id":150267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":150267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:50:14] local.INFO: TCP Data received {"connection_id":150267,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:50:14] local.INFO: Processing buffer {"connection_id":150267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:50:14] local.INFO: Packet analysis {"connection_id":150267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:50:14] local.INFO: Extracted packet for processing {"connection_id":150267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:50:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:50:14] 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-08-08 01:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:50:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":150267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:50:14] local.INFO: GPS data processed {"connection_id":150267,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:50:14] local.INFO: Acknowledgment sent {"connection_id":150267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:50:45] local.INFO: TCP Data received {"connection_id":150267,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:50:45] local.INFO: Processing buffer {"connection_id":150267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:50:45] local.INFO: Packet analysis {"connection_id":150267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:50:45] local.INFO: Extracted packet for processing {"connection_id":150267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:50:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:50: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-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:50:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:50:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":150267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:50:45] local.INFO: GPS data processed {"connection_id":150267,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:50:45] local.INFO: Acknowledgment sent {"connection_id":150267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:51:07] local.INFO: TCP Data received {"connection_id":152714,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:51:07] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:51:07] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:51:12] local.INFO: TCP Data received {"connection_id":152714,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:51:12] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:51:12] local.INFO: IMEI packet received {"connection_id":152714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":152714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:51:14] local.INFO: TCP Data received {"connection_id":152714,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:51:14] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddde3478012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:51:14] local.INFO: Packet analysis {"connection_id":152714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:51:14] local.INFO: Extracted packet for processing {"connection_id":152714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddde"} 
[2026-08-08 01:51:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250164224001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786133755000,"timestamp_ms":1786133755000,"timestamp_seconds":1786133755,"priority":1,"record_length":96,"hex_timestamp":"0000019fddde3478"} 
[2026-08-08 01:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 01:51:14] 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-08-08 01:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250164224001,"66":25375,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250164224001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:51:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250164224001,"power":25375,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":152714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:51:14] local.INFO: GPS data processed {"connection_id":152714,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:51:14] local.INFO: Acknowledgment sent {"connection_id":152714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:51:45] local.INFO: TCP Data received {"connection_id":152714,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:51:45] local.INFO: Processing buffer {"connection_id":152714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:51:45] local.INFO: Packet analysis {"connection_id":152714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:51:45] local.INFO: Extracted packet for processing {"connection_id":152714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:51:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:51:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":152714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:51:45] local.INFO: GPS data processed {"connection_id":152714,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:51:45] local.INFO: Acknowledgment sent {"connection_id":152714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:52:12] local.INFO: TCP Data received {"connection_id":150268,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:52:12] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:52:12] local.INFO: IMEI packet received {"connection_id":150268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":150268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:52:17] local.INFO: TCP Data received {"connection_id":150268,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:52:17] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:52:17] local.INFO: IMEI packet received {"connection_id":150268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":150268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:52:19] local.INFO: TCP Data received {"connection_id":150268,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:52:19] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:52:19] local.INFO: Packet analysis {"connection_id":150268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:52:19] local.INFO: Extracted packet for processing {"connection_id":150268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:52:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:52: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-08-08 01: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":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:52: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-08-08 01:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:52:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":150268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:52:19] local.INFO: GPS data processed {"connection_id":150268,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:52:19] local.INFO: Acknowledgment sent {"connection_id":150268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:52:23] local.INFO: TCP Data received {"connection_id":150268,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:52:23] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:52:23] local.INFO: Packet analysis {"connection_id":150268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:52:23] local.INFO: Extracted packet for processing {"connection_id":150268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:52:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:52:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:52:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:52:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":150268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:52:23] local.INFO: GPS data processed {"connection_id":150268,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:52:23] local.INFO: Acknowledgment sent {"connection_id":150268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:53:07] local.INFO: TCP Data received {"connection_id":151245,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:53:07] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:53:07] local.INFO: IMEI packet received {"connection_id":151245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":151245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:53:12] local.INFO: TCP Data received {"connection_id":151245,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:53:12] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:53:12] local.INFO: IMEI packet received {"connection_id":151245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":151245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:53:14] local.INFO: TCP Data received {"connection_id":151245,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:53:14] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:53:14] local.INFO: Packet analysis {"connection_id":151245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:53:14] local.INFO: Extracted packet for processing {"connection_id":151245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:53:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:53:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":151245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:53:14] local.INFO: GPS data processed {"connection_id":151245,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:53:14] local.INFO: Acknowledgment sent {"connection_id":151245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:53:45] local.INFO: TCP Data received {"connection_id":151245,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:53:45] local.INFO: Processing buffer {"connection_id":151245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:53:45] local.INFO: Packet analysis {"connection_id":151245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:53:45] local.INFO: Extracted packet for processing {"connection_id":151245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:53:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:53: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-08-08 01:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:53:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":151245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:53:45] local.INFO: GPS data processed {"connection_id":151245,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:53:45] local.INFO: Acknowledgment sent {"connection_id":151245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:54:07] local.INFO: TCP Data received {"connection_id":152715,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:54:07] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:54:07] local.INFO: IMEI packet received {"connection_id":152715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":152715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:54:13] local.INFO: TCP Data received {"connection_id":152715,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:54:13] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:54:13] local.INFO: IMEI packet received {"connection_id":152715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":152715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:54:18] local.INFO: TCP Data received {"connection_id":152715,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:54:18] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:54:18] local.INFO: Packet analysis {"connection_id":152715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:54:18] local.INFO: Extracted packet for processing {"connection_id":152715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:54:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:54:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:54:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:54:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:54:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":152715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:54:18] local.INFO: GPS data processed {"connection_id":152715,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:54:18] local.INFO: Acknowledgment sent {"connection_id":152715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:54:50] local.INFO: TCP Data received {"connection_id":152715,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:54:50] local.INFO: Processing buffer {"connection_id":152715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:54:50] local.INFO: Packet analysis {"connection_id":152715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:54:50] local.INFO: Extracted packet for processing {"connection_id":152715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:54:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:54: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-08-08 01:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:54: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-08-08 01:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:54:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":152715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:54:50] local.INFO: GPS data processed {"connection_id":152715,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:54:50] local.INFO: Acknowledgment sent {"connection_id":152715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:55:07] local.INFO: TCP Data received {"connection_id":151246,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:55:07] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:55:07] local.INFO: IMEI packet received {"connection_id":151246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":151246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:55:12] local.INFO: TCP Data received {"connection_id":151246,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:55:12] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:55:12] local.INFO: IMEI packet received {"connection_id":151246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":151246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:55:14] local.INFO: TCP Data received {"connection_id":151246,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:55:14] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:55:14] local.INFO: Packet analysis {"connection_id":151246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:55:14] local.INFO: Extracted packet for processing {"connection_id":151246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:55:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:55:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:55:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:55:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":151246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:55:14] local.INFO: GPS data processed {"connection_id":151246,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:55:14] local.INFO: Acknowledgment sent {"connection_id":151246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:55:45] local.INFO: TCP Data received {"connection_id":151246,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:55:45] local.INFO: Processing buffer {"connection_id":151246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:55:45] local.INFO: Packet analysis {"connection_id":151246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:55:45] local.INFO: Extracted packet for processing {"connection_id":151246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:55:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:55:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:55:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:55:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":151246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:55:45] local.INFO: GPS data processed {"connection_id":151246,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:55:45] local.INFO: Acknowledgment sent {"connection_id":151246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:56:07] local.INFO: TCP Data received {"connection_id":150269,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:56:07] local.INFO: Processing buffer {"connection_id":150269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:56:07] local.INFO: IMEI packet received {"connection_id":150269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":150269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:56:12] local.INFO: TCP Data received {"connection_id":150269,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:56:12] local.INFO: Processing buffer {"connection_id":150269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:56:12] local.INFO: IMEI packet received {"connection_id":150269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":150269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:56:14] local.INFO: TCP Data received {"connection_id":150269,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:56:15] local.INFO: Processing buffer {"connection_id":150269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde2cc40012cee7500072e2ba8003d006a29..."} 
[2026-08-08 01:56:15] local.INFO: Packet analysis {"connection_id":150269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:56:15] local.INFO: Extracted packet for processing {"connection_id":150269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde2"} 
[2026-08-08 01:56:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786134056000,"timestamp_ms":1786134056000,"timestamp_seconds":1786134056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde2cc40"} 
[2026-08-08 01:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01: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-08-08 01:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 01:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250241280001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:56:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250241280001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":150269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:56:15] local.INFO: GPS data processed {"connection_id":150269,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:56:15] local.INFO: Acknowledgment sent {"connection_id":150269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:56:46] local.INFO: TCP Data received {"connection_id":150269,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:56:46] local.INFO: Processing buffer {"connection_id":150269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:56:46] local.INFO: Packet analysis {"connection_id":150269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:56:46] local.INFO: Extracted packet for processing {"connection_id":150269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:56:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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-08-08 01: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-08-08 01:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:56:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":150269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:56:46] local.INFO: GPS data processed {"connection_id":150269,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:56:46] local.INFO: Acknowledgment sent {"connection_id":150269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:57:07] local.INFO: TCP Data received {"connection_id":150007,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:57:07] local.INFO: Processing buffer {"connection_id":150007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:57:07] local.INFO: IMEI packet received {"connection_id":150007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":150007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:57:12] local.INFO: TCP Data received {"connection_id":150007,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:57:12] local.INFO: Processing buffer {"connection_id":150007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:57:12] local.INFO: IMEI packet received {"connection_id":150007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":150007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:57:13] local.INFO: TCP Data received {"connection_id":150007,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:57:13] local.INFO: Processing buffer {"connection_id":150007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:57:13] local.INFO: Packet analysis {"connection_id":150007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:57:13] local.INFO: Extracted packet for processing {"connection_id":150007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:57:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":150007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:57:13] local.INFO: GPS data processed {"connection_id":150007,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:57:13] local.INFO: Acknowledgment sent {"connection_id":150007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:57:45] local.INFO: TCP Data received {"connection_id":150007,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:57:45] local.INFO: Processing buffer {"connection_id":150007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:57:45] local.INFO: Packet analysis {"connection_id":150007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:57:45] local.INFO: Extracted packet for processing {"connection_id":150007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:57:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:57:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":150007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:57:45] local.INFO: GPS data processed {"connection_id":150007,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:57:45] local.INFO: Acknowledgment sent {"connection_id":150007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:58:07] local.INFO: TCP Data received {"connection_id":152716,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:58:07] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:58:07] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:58:12] local.INFO: TCP Data received {"connection_id":152716,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:58:12] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:58:12] local.INFO: IMEI packet received {"connection_id":152716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":152716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:58:14] local.INFO: TCP Data received {"connection_id":152716,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:58:14] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:58:14] local.INFO: Packet analysis {"connection_id":152716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:58:14] local.INFO: Extracted packet for processing {"connection_id":152716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:58:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":152716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:58:14] local.INFO: GPS data processed {"connection_id":152716,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:58:14] local.INFO: Acknowledgment sent {"connection_id":152716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:58:45] local.INFO: TCP Data received {"connection_id":152716,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:58:45] local.INFO: Processing buffer {"connection_id":152716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:58:45] local.INFO: Packet analysis {"connection_id":152716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:58:45] local.INFO: Extracted packet for processing {"connection_id":152716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:58:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:58:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:58:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:58:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:58:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":152716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:58:45] local.INFO: GPS data processed {"connection_id":152716,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:58:45] local.INFO: Acknowledgment sent {"connection_id":152716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:59:07] local.INFO: TCP Data received {"connection_id":151247,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:59:07] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:59:07] local.INFO: IMEI packet received {"connection_id":151247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 01:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":151247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 01:59:12] local.INFO: TCP Data received {"connection_id":151247,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:59:12] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 01:59:12] local.INFO: IMEI packet received {"connection_id":151247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 01:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":151247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 01:59:14] local.INFO: TCP Data received {"connection_id":151247,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:59:14] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:59:14] local.INFO: Packet analysis {"connection_id":151247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:59:14] local.INFO: Extracted packet for processing {"connection_id":151247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:59:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 01:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 01:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:59:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":151247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:59:14] local.INFO: GPS data processed {"connection_id":151247,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:59:14] local.INFO: Acknowledgment sent {"connection_id":151247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 01:59:46] local.INFO: TCP Data received {"connection_id":151247,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:59:46] local.INFO: Processing buffer {"connection_id":151247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 01:59:46] local.INFO: Packet analysis {"connection_id":151247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:59:46] local.INFO: Extracted packet for processing {"connection_id":151247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 01:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 01:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 01:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 01:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 01:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 01:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 01: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 01:59: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-08-08 01: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-08-08 01:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 01:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 01:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 01:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 01:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 01:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 01:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 01:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 01:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 01:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 01:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 01:59:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 01:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 01:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 01:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 01:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 01:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":151247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 01:59:46] local.INFO: GPS data processed {"connection_id":151247,"processed":1,"errors":0,"total":1} 
[2026-08-08 01:59:46] local.INFO: Acknowledgment sent {"connection_id":151247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:00:07] local.INFO: TCP Data received {"connection_id":152717,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:00:07] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:00:07] local.INFO: IMEI packet received {"connection_id":152717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":152717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:00:12] local.INFO: TCP Data received {"connection_id":152717,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:00:12] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:00:12] local.INFO: IMEI packet received {"connection_id":152717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":152717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:00:14] local.INFO: TCP Data received {"connection_id":152717,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:00:14] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:00:14] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:00:14] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:00:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 02:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:00:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:00:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:00:14] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:00:14] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:00:45] local.INFO: TCP Data received {"connection_id":152717,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:00:45] local.INFO: Processing buffer {"connection_id":152717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:00:45] local.INFO: Packet analysis {"connection_id":152717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:00:45] local.INFO: Extracted packet for processing {"connection_id":152717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:00:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:00:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 02:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:00:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:00:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":152717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:00:45] local.INFO: GPS data processed {"connection_id":152717,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:00:45] local.INFO: Acknowledgment sent {"connection_id":152717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:01:12] local.INFO: TCP Data received {"connection_id":152718,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:01:12] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:01:12] local.INFO: IMEI packet received {"connection_id":152718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":152718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:01:17] local.INFO: TCP Data received {"connection_id":152718,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:01:17] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:01:17] local.INFO: IMEI packet received {"connection_id":152718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":152718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:01:19] local.INFO: TCP Data received {"connection_id":152718,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:01:19] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:01:19] local.INFO: Packet analysis {"connection_id":152718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:01:19] local.INFO: Extracted packet for processing {"connection_id":152718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:01:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 02:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:01:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":152718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:01:19] local.INFO: GPS data processed {"connection_id":152718,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:01:19] local.INFO: Acknowledgment sent {"connection_id":152718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:01:23] local.INFO: TCP Data received {"connection_id":152718,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:01:23] local.INFO: Processing buffer {"connection_id":152718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdde76408012cee7500072e2ba8003d006a25..."} 
[2026-08-08 02:01:23] local.INFO: Packet analysis {"connection_id":152718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:01:23] local.INFO: Extracted packet for processing {"connection_id":152718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdde7"} 
[2026-08-08 02:01:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":37,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:01:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786134357000,"timestamp_ms":1786134357000,"timestamp_seconds":1786134357,"priority":1,"record_length":96,"hex_timestamp":"0000019fdde76408"} 
[2026-08-08 02:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250318336001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:01:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:01:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:01:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250318336001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":152718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:01:23] local.INFO: GPS data processed {"connection_id":152718,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:01:23] local.INFO: Acknowledgment sent {"connection_id":152718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:02:08] local.INFO: TCP Data received {"connection_id":151248,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:02:08] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:02:08] local.INFO: IMEI packet received {"connection_id":151248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":151248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:02:12] local.INFO: TCP Data received {"connection_id":151248,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:02:12] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:02:12] local.INFO: IMEI packet received {"connection_id":151248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":151248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:02:14] local.INFO: TCP Data received {"connection_id":151248,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:02:14] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:02:14] local.INFO: Packet analysis {"connection_id":151248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:02:14] local.INFO: Extracted packet for processing {"connection_id":151248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:02:14] 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-08-08 02:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:02:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":151248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:02:14] local.INFO: GPS data processed {"connection_id":151248,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:02:14] local.INFO: Acknowledgment sent {"connection_id":151248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:02:45] local.INFO: TCP Data received {"connection_id":151248,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:02:45] local.INFO: Processing buffer {"connection_id":151248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:02:45] local.INFO: Packet analysis {"connection_id":151248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:02:45] local.INFO: Extracted packet for processing {"connection_id":151248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:02:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:02:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":151248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:02:45] local.INFO: GPS data processed {"connection_id":151248,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:02:45] local.INFO: Acknowledgment sent {"connection_id":151248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:03:07] local.INFO: TCP Data received {"connection_id":150008,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:03:07] local.INFO: Processing buffer {"connection_id":150008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:03:07] local.INFO: IMEI packet received {"connection_id":150008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":150008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:03:12] local.INFO: TCP Data received {"connection_id":150008,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:03:12] local.INFO: Processing buffer {"connection_id":150008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:03:12] local.INFO: IMEI packet received {"connection_id":150008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":150008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:03:15] local.INFO: TCP Data received {"connection_id":150008,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:03:15] local.INFO: Processing buffer {"connection_id":150008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:03:15] local.INFO: Packet analysis {"connection_id":150008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:03:15] local.INFO: Extracted packet for processing {"connection_id":150008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:03:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:03: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-08-08 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:03: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-08-08 02:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:03:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":150008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:03:15] local.INFO: GPS data processed {"connection_id":150008,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:03:15] local.INFO: Acknowledgment sent {"connection_id":150008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:03:49] local.INFO: TCP Data received {"connection_id":150008,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:03:49] local.INFO: Processing buffer {"connection_id":150008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:03:49] local.INFO: Packet analysis {"connection_id":150008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:03:49] local.INFO: Extracted packet for processing {"connection_id":150008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:03:49] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:03:49] 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-08-08 02:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":150008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:03:49] local.INFO: GPS data processed {"connection_id":150008,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:03:49] local.INFO: Acknowledgment sent {"connection_id":150008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:04:07] local.INFO: TCP Data received {"connection_id":150009,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:04:07] local.INFO: Processing buffer {"connection_id":150009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:04:07] local.INFO: IMEI packet received {"connection_id":150009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":150009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:04:12] local.INFO: TCP Data received {"connection_id":150009,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:04:12] local.INFO: Processing buffer {"connection_id":150009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:04:12] local.INFO: IMEI packet received {"connection_id":150009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":150009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:04:14] local.INFO: TCP Data received {"connection_id":150009,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:04:14] local.INFO: Processing buffer {"connection_id":150009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:04:14] local.INFO: Packet analysis {"connection_id":150009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:04:14] local.INFO: Extracted packet for processing {"connection_id":150009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:04:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:04:14] 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-08-08 02:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:04:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":150009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:04:14] local.INFO: GPS data processed {"connection_id":150009,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:04:14] local.INFO: Acknowledgment sent {"connection_id":150009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:04:45] local.INFO: TCP Data received {"connection_id":150009,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:04:45] local.INFO: Processing buffer {"connection_id":150009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:04:45] local.INFO: Packet analysis {"connection_id":150009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:04:45] local.INFO: Extracted packet for processing {"connection_id":150009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:04:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:04: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-08-08 02:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:04:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:04:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":150009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:04:45] local.INFO: GPS data processed {"connection_id":150009,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:04:45] local.INFO: Acknowledgment sent {"connection_id":150009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:05:12] local.INFO: TCP Data received {"connection_id":152719,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:05:12] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:05:12] local.INFO: IMEI packet received {"connection_id":152719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":152719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:05:17] local.INFO: TCP Data received {"connection_id":152719,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:05:17] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:05:17] local.INFO: IMEI packet received {"connection_id":152719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":152719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:05:18] local.INFO: TCP Data received {"connection_id":152719,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:05:18] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:05:18] local.INFO: Packet analysis {"connection_id":152719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:05:18] local.INFO: Extracted packet for processing {"connection_id":152719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:05:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:05:18] 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-08-08 02:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:05:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:05:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":152719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:05:18] local.INFO: GPS data processed {"connection_id":152719,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:05:18] local.INFO: Acknowledgment sent {"connection_id":152719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:05:23] local.INFO: TCP Data received {"connection_id":152719,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:05:23] local.INFO: Processing buffer {"connection_id":152719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:05:23] local.INFO: Packet analysis {"connection_id":152719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:05:23] local.INFO: Extracted packet for processing {"connection_id":152719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:05:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:05:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:05:23] 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-08-08 02:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:05:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:05:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":152719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:05:23] local.INFO: GPS data processed {"connection_id":152719,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:05:23] local.INFO: Acknowledgment sent {"connection_id":152719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:06:07] local.INFO: TCP Data received {"connection_id":150010,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:06:07] local.INFO: Processing buffer {"connection_id":150010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:06:07] local.INFO: IMEI packet received {"connection_id":150010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":150010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:06:12] local.INFO: TCP Data received {"connection_id":150010,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:06:12] local.INFO: Processing buffer {"connection_id":150010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:06:12] local.INFO: IMEI packet received {"connection_id":150010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":150010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:06:14] local.INFO: TCP Data received {"connection_id":150010,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:06:14] local.INFO: Processing buffer {"connection_id":150010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddebfbd0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:06:14] local.INFO: Packet analysis {"connection_id":150010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:06:14] local.INFO: Extracted packet for processing {"connection_id":150010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddeb"} 
[2026-08-08 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250395392001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134658000,"timestamp_ms":1786134658000,"timestamp_seconds":1786134658,"priority":1,"record_length":96,"hex_timestamp":"0000019fddebfbd0"} 
[2026-08-08 02:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:06:14] 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-08-08 02:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250395392001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250395392001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:06:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250395392001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":150010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:06:14] local.INFO: GPS data processed {"connection_id":150010,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:06:14] local.INFO: Acknowledgment sent {"connection_id":150010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:06:45] local.INFO: TCP Data received {"connection_id":150010,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:06:45] local.INFO: Processing buffer {"connection_id":150010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:06:45] local.INFO: Packet analysis {"connection_id":150010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:06:45] local.INFO: Extracted packet for processing {"connection_id":150010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:06:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:06:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:06:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:06:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":150010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:06:45] local.INFO: GPS data processed {"connection_id":150010,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:06:45] local.INFO: Acknowledgment sent {"connection_id":150010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:07:07] local.INFO: TCP Data received {"connection_id":151249,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:07:07] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:07:07] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:07:12] local.INFO: TCP Data received {"connection_id":151249,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:07:12] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:07:12] local.INFO: IMEI packet received {"connection_id":151249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":151249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:07:14] local.INFO: TCP Data received {"connection_id":151249,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:07:14] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:07:14] local.INFO: Packet analysis {"connection_id":151249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:07:14] local.INFO: Extracted packet for processing {"connection_id":151249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:07:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:07:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":151249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:07:14] local.INFO: GPS data processed {"connection_id":151249,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:07:14] local.INFO: Acknowledgment sent {"connection_id":151249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:07:45] local.INFO: TCP Data received {"connection_id":151249,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:07:45] local.INFO: Processing buffer {"connection_id":151249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:07:45] local.INFO: Packet analysis {"connection_id":151249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:07:45] local.INFO: Extracted packet for processing {"connection_id":151249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:07:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:07:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":151249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:07:45] local.INFO: GPS data processed {"connection_id":151249,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:07:45] local.INFO: Acknowledgment sent {"connection_id":151249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:08:07] local.INFO: TCP Data received {"connection_id":152720,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:08:07] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:08:07] local.INFO: IMEI packet received {"connection_id":152720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":152720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:08:12] local.INFO: TCP Data received {"connection_id":152720,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:08:12] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:08:12] local.INFO: IMEI packet received {"connection_id":152720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":152720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:08:14] local.INFO: TCP Data received {"connection_id":152720,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:08:14] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:08:14] local.INFO: Packet analysis {"connection_id":152720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:08:14] local.INFO: Extracted packet for processing {"connection_id":152720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:08:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:08:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":152720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:08:14] local.INFO: GPS data processed {"connection_id":152720,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:08:14] local.INFO: Acknowledgment sent {"connection_id":152720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:08:45] local.INFO: TCP Data received {"connection_id":152720,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:08:45] local.INFO: Processing buffer {"connection_id":152720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:08:45] local.INFO: Packet analysis {"connection_id":152720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:08:45] local.INFO: Extracted packet for processing {"connection_id":152720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:08:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:08:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":152720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:08:45] local.INFO: GPS data processed {"connection_id":152720,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:08:45] local.INFO: Acknowledgment sent {"connection_id":152720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:09:12] local.INFO: TCP Data received {"connection_id":150270,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:09:12] local.INFO: Processing buffer {"connection_id":150270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:09:12] local.INFO: IMEI packet received {"connection_id":150270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":150270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:09:17] local.INFO: TCP Data received {"connection_id":150270,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:09:17] local.INFO: Processing buffer {"connection_id":150270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:09:17] local.INFO: IMEI packet received {"connection_id":150270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":150270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:09:19] local.INFO: TCP Data received {"connection_id":150270,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:09:19] local.INFO: Processing buffer {"connection_id":150270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:09:19] local.INFO: Packet analysis {"connection_id":150270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:09:19] local.INFO: Extracted packet for processing {"connection_id":150270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:09:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:09:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":150270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:09:19] local.INFO: GPS data processed {"connection_id":150270,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:09:19] local.INFO: Acknowledgment sent {"connection_id":150270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:09:23] local.INFO: TCP Data received {"connection_id":150270,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:09:23] local.INFO: Processing buffer {"connection_id":150270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:09:23] local.INFO: Packet analysis {"connection_id":150270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:09:23] local.INFO: Extracted packet for processing {"connection_id":150270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:09:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:09:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:09:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":150270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:09:23] local.INFO: GPS data processed {"connection_id":150270,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:09:23] local.INFO: Acknowledgment sent {"connection_id":150270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:10:07] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:10:07] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:10:07] local.INFO: IMEI packet received {"connection_id":151250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":151250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:10:12] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:10:12] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:10:12] local.INFO: IMEI packet received {"connection_id":151250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":151250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:10:14] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:10:14] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:10:14] local.INFO: Packet analysis {"connection_id":151250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:10:14] local.INFO: Extracted packet for processing {"connection_id":151250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:10:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:10:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":151250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:10:14] local.INFO: GPS data processed {"connection_id":151250,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:10:14] local.INFO: Acknowledgment sent {"connection_id":151250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:10:46] local.INFO: TCP Data received {"connection_id":151250,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:10:46] local.INFO: Processing buffer {"connection_id":151250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:10:46] local.INFO: Packet analysis {"connection_id":151250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:10:46] local.INFO: Extracted packet for processing {"connection_id":151250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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-08-08 02: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-08-08 02:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:10:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":151250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:10:46] local.INFO: GPS data processed {"connection_id":151250,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:10:46] local.INFO: Acknowledgment sent {"connection_id":151250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:11:08] local.INFO: TCP Data received {"connection_id":150271,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:11:08] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:11:08] local.INFO: IMEI packet received {"connection_id":150271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":150271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:11:13] local.INFO: TCP Data received {"connection_id":150271,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:11:13] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:11:13] local.INFO: IMEI packet received {"connection_id":150271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":150271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:11:15] local.INFO: TCP Data received {"connection_id":150271,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:11:15] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf09398012cee7500072e2ba8003d006a26..."} 
[2026-08-08 02:11:15] local.INFO: Packet analysis {"connection_id":150271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:11:15] local.INFO: Extracted packet for processing {"connection_id":150271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf0"} 
[2026-08-08 02:11:15] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":38,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250472448001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786134959000,"timestamp_ms":1786134959000,"timestamp_seconds":1786134959,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf09398"} 
[2026-08-08 02:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:11: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-08-08 02:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250472448001,"66":25430,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250472448001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:11:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250472448001,"power":25430,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":150271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:11:15] local.INFO: GPS data processed {"connection_id":150271,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:11:15] local.INFO: Acknowledgment sent {"connection_id":150271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:11:46] local.INFO: TCP Data received {"connection_id":150271,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:11:46] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:11:46] local.INFO: Packet analysis {"connection_id":150271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:11:46] local.INFO: Extracted packet for processing {"connection_id":150271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:11: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-08-08 02:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:11:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:11:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":150271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:11:46] local.INFO: GPS data processed {"connection_id":150271,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:11:46] local.INFO: Acknowledgment sent {"connection_id":150271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:12:07] local.INFO: TCP Data received {"connection_id":152721,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:12:07] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:12:07] local.INFO: IMEI packet received {"connection_id":152721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":152721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:12:12] local.INFO: TCP Data received {"connection_id":152721,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:12:12] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:12:12] local.INFO: IMEI packet received {"connection_id":152721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":152721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:12:14] local.INFO: TCP Data received {"connection_id":152721,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:12:14] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:12:14] local.INFO: Packet analysis {"connection_id":152721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:12:14] local.INFO: Extracted packet for processing {"connection_id":152721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:12:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:12:14] 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-08-08 02:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:12:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":152721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:12:14] local.INFO: GPS data processed {"connection_id":152721,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:12:14] local.INFO: Acknowledgment sent {"connection_id":152721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:12:46] local.INFO: TCP Data received {"connection_id":152721,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:12:46] local.INFO: Processing buffer {"connection_id":152721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:12:46] local.INFO: Packet analysis {"connection_id":152721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:12:46] local.INFO: Extracted packet for processing {"connection_id":152721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:12:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:12:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:12: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-08-08 02:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:12:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:12:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":152721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:12:46] local.INFO: GPS data processed {"connection_id":152721,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:12:46] local.INFO: Acknowledgment sent {"connection_id":152721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:13:12] local.INFO: TCP Data received {"connection_id":150272,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:13:12] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:13:12] local.INFO: IMEI packet received {"connection_id":150272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":150272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:13:17] local.INFO: TCP Data received {"connection_id":150272,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:13:17] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:13:17] local.INFO: IMEI packet received {"connection_id":150272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":150272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:13:19] local.INFO: TCP Data received {"connection_id":150272,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:13:19] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:13:19] local.INFO: Packet analysis {"connection_id":150272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:13:19] local.INFO: Extracted packet for processing {"connection_id":150272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:13:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:13:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:13: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-08-08 02:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:13: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-08-08 02:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:13:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:13:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":150272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:13:19] local.INFO: GPS data processed {"connection_id":150272,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:13:19] local.INFO: Acknowledgment sent {"connection_id":150272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:13:51] local.INFO: TCP Data received {"connection_id":150272,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:13:51] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:13:51] local.INFO: Packet analysis {"connection_id":150272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:13:51] local.INFO: Extracted packet for processing {"connection_id":150272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:13:51] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:13:51] 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-08-08 02:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:13:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":150272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:13:51] local.INFO: GPS data processed {"connection_id":150272,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:13:51] local.INFO: Acknowledgment sent {"connection_id":150272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:14:07] local.INFO: TCP Data received {"connection_id":150273,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:14:07] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:14:07] local.INFO: IMEI packet received {"connection_id":150273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":150273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:14:12] local.INFO: TCP Data received {"connection_id":150273,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:14:12] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:14:12] local.INFO: IMEI packet received {"connection_id":150273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":150273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:14:14] local.INFO: TCP Data received {"connection_id":150273,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:14:14] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:14:14] local.INFO: Packet analysis {"connection_id":150273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:14:14] local.INFO: Extracted packet for processing {"connection_id":150273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:14:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:14:14] 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-08-08 02:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:14:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":150273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:14:14] local.INFO: GPS data processed {"connection_id":150273,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:14:14] local.INFO: Acknowledgment sent {"connection_id":150273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:14:45] local.INFO: TCP Data received {"connection_id":150273,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:14:45] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:14:45] local.INFO: Packet analysis {"connection_id":150273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:14:45] local.INFO: Extracted packet for processing {"connection_id":150273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:14:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:14:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:14:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":150273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:14:45] local.INFO: GPS data processed {"connection_id":150273,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:14:45] local.INFO: Acknowledgment sent {"connection_id":150273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:15:07] local.INFO: TCP Data received {"connection_id":151251,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:15:07] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:15:07] local.INFO: IMEI packet received {"connection_id":151251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":151251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:15:12] local.INFO: TCP Data received {"connection_id":151251,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:15:12] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:15:12] local.INFO: IMEI packet received {"connection_id":151251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":151251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:15:14] local.INFO: TCP Data received {"connection_id":151251,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:15:14] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:15:14] local.INFO: Packet analysis {"connection_id":151251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:15:14] local.INFO: Extracted packet for processing {"connection_id":151251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:15:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:15:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:15:14] 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-08-08 02:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:15:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:15:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":151251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:15:14] local.INFO: GPS data processed {"connection_id":151251,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:15:14] local.INFO: Acknowledgment sent {"connection_id":151251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:15:45] local.INFO: TCP Data received {"connection_id":151251,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:15:45] local.INFO: Processing buffer {"connection_id":151251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:15:45] local.INFO: Packet analysis {"connection_id":151251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:15:45] local.INFO: Extracted packet for processing {"connection_id":151251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:15:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:15:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":151251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:15:45] local.INFO: GPS data processed {"connection_id":151251,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:15:45] local.INFO: Acknowledgment sent {"connection_id":151251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:16:07] local.INFO: TCP Data received {"connection_id":150011,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:16:07] local.INFO: Processing buffer {"connection_id":150011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:16:07] local.INFO: IMEI packet received {"connection_id":150011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":150011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:16:12] local.INFO: TCP Data received {"connection_id":150011,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:16:12] local.INFO: Processing buffer {"connection_id":150011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:16:12] local.INFO: IMEI packet received {"connection_id":150011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":150011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:16:14] local.INFO: TCP Data received {"connection_id":150011,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:16:14] local.INFO: Processing buffer {"connection_id":150011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf52b60012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:16:14] local.INFO: Packet analysis {"connection_id":150011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:16:14] local.INFO: Extracted packet for processing {"connection_id":150011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf5"} 
[2026-08-08 02:16:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250549504001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135260000,"timestamp_ms":1786135260000,"timestamp_seconds":1786135260,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf52b60"} 
[2026-08-08 02:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 02:16:14] 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-08-08 02:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250549504001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250549504001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:16:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:16:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250549504001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":150011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:16:14] local.INFO: GPS data processed {"connection_id":150011,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:16:14] local.INFO: Acknowledgment sent {"connection_id":150011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:16:45] local.INFO: TCP Data received {"connection_id":150011,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:16:45] local.INFO: Processing buffer {"connection_id":150011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:16:45] local.INFO: Packet analysis {"connection_id":150011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:16:45] local.INFO: Extracted packet for processing {"connection_id":150011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:16:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:16:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:16:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:16:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":150011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:16:45] local.INFO: GPS data processed {"connection_id":150011,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:16:45] local.INFO: Acknowledgment sent {"connection_id":150011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:17:12] local.INFO: TCP Data received {"connection_id":150012,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:17:12] local.INFO: Processing buffer {"connection_id":150012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:17:12] local.INFO: IMEI packet received {"connection_id":150012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":150012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:17:21] local.INFO: TCP Data received {"connection_id":150012,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:17:21] local.INFO: Processing buffer {"connection_id":150012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:17:21] local.INFO: IMEI packet received {"connection_id":150012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":150012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:17:22] local.INFO: TCP Data received {"connection_id":150012,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:17:22] local.INFO: Processing buffer {"connection_id":150012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:17:22] local.INFO: Packet analysis {"connection_id":150012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:17:22] local.INFO: Extracted packet for processing {"connection_id":150012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:17:22] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:17:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:17:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":150012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:17:22] local.INFO: GPS data processed {"connection_id":150012,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:17:22] local.INFO: Acknowledgment sent {"connection_id":150012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:17:23] local.INFO: TCP Data received {"connection_id":150012,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:17:23] local.INFO: Processing buffer {"connection_id":150012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:17:23] local.INFO: Packet analysis {"connection_id":150012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:17:23] local.INFO: Extracted packet for processing {"connection_id":150012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:17:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:17:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:17:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:17:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":150012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:17:23] local.INFO: GPS data processed {"connection_id":150012,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:17:23] local.INFO: Acknowledgment sent {"connection_id":150012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:18:08] local.INFO: TCP Data received {"connection_id":150274,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:18:08] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:18:08] local.INFO: IMEI packet received {"connection_id":150274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":150274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:18:12] local.INFO: TCP Data received {"connection_id":150274,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:18:12] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:18:12] local.INFO: IMEI packet received {"connection_id":150274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":150274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:18:14] local.INFO: TCP Data received {"connection_id":150274,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:18:14] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:18:14] local.INFO: Packet analysis {"connection_id":150274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:18:14] local.INFO: Extracted packet for processing {"connection_id":150274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:18:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:18:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:18:14] local.INFO: GPS data processed {"connection_id":150274,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:18:14] local.INFO: Acknowledgment sent {"connection_id":150274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:18:46] local.INFO: TCP Data received {"connection_id":150274,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:18:46] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:18:46] local.INFO: Packet analysis {"connection_id":150274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:18:46] local.INFO: Extracted packet for processing {"connection_id":150274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:18:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:18: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-08-08 02:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:18:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:18:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":150274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:18:46] local.INFO: GPS data processed {"connection_id":150274,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:18:46] local.INFO: Acknowledgment sent {"connection_id":150274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:19:07] local.INFO: TCP Data received {"connection_id":152722,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:19:07] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:19:07] local.INFO: IMEI packet received {"connection_id":152722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":152722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:19:12] local.INFO: TCP Data received {"connection_id":152722,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:19:12] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:19:12] local.INFO: IMEI packet received {"connection_id":152722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":152722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:19:14] local.INFO: TCP Data received {"connection_id":152722,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:19:14] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:19:14] local.INFO: Packet analysis {"connection_id":152722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:19:14] local.INFO: Extracted packet for processing {"connection_id":152722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:19:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:19:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":152722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:19:14] local.INFO: GPS data processed {"connection_id":152722,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:19:14] local.INFO: Acknowledgment sent {"connection_id":152722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:19:45] local.INFO: TCP Data received {"connection_id":152722,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:19:45] local.INFO: Processing buffer {"connection_id":152722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:19:45] local.INFO: Packet analysis {"connection_id":152722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:19:45] local.INFO: Extracted packet for processing {"connection_id":152722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:19:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:19:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:19:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":152722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:19:45] local.INFO: GPS data processed {"connection_id":152722,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:19:45] local.INFO: Acknowledgment sent {"connection_id":152722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:20:07] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:20:07] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:20:07] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:20:12] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:20:12] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:20:12] local.INFO: IMEI packet received {"connection_id":151252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":151252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:20:14] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:20:14] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:20:14] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:20:14] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:20:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:20:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:20:14] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:20:14] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:20:45] local.INFO: TCP Data received {"connection_id":151252,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:20:45] local.INFO: Processing buffer {"connection_id":151252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:20:45] local.INFO: Packet analysis {"connection_id":151252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:20:45] local.INFO: Extracted packet for processing {"connection_id":151252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:20:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:20:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:20:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":151252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:20:45] local.INFO: GPS data processed {"connection_id":151252,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:20:45] local.INFO: Acknowledgment sent {"connection_id":151252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:21:07] local.INFO: TCP Data received {"connection_id":150275,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:21:07] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:21:07] local.INFO: IMEI packet received {"connection_id":150275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":150275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:21:12] local.INFO: TCP Data received {"connection_id":150275,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:21:12] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:21:12] local.INFO: IMEI packet received {"connection_id":150275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":150275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:21:13] local.INFO: TCP Data received {"connection_id":150275,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:21:13] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddf9c328012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:21:13] local.INFO: Packet analysis {"connection_id":150275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:21:13] local.INFO: Extracted packet for processing {"connection_id":150275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddf9"} 
[2026-08-08 02:21:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786135561000,"timestamp_ms":1786135561000,"timestamp_seconds":1786135561,"priority":1,"record_length":96,"hex_timestamp":"0000019fddf9c328"} 
[2026-08-08 02:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250626560001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250626560001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":150275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:21:13] local.INFO: GPS data processed {"connection_id":150275,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:21:13] local.INFO: Acknowledgment sent {"connection_id":150275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:21:45] local.INFO: TCP Data received {"connection_id":150275,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:21:45] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:21:45] local.INFO: Packet analysis {"connection_id":150275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:21:45] local.INFO: Extracted packet for processing {"connection_id":150275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:21:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:21:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:21:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":150275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:21:45] local.INFO: GPS data processed {"connection_id":150275,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:21:45] local.INFO: Acknowledgment sent {"connection_id":150275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:22:13] local.INFO: TCP Data received {"connection_id":152723,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:22:13] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:22:13] local.INFO: IMEI packet received {"connection_id":152723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":152723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:22:17] local.INFO: TCP Data received {"connection_id":152723,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:22:17] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:22:17] local.INFO: IMEI packet received {"connection_id":152723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":152723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:22:19] local.INFO: TCP Data received {"connection_id":152723,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:22:19] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:22:19] local.INFO: Packet analysis {"connection_id":152723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:22:19] local.INFO: Extracted packet for processing {"connection_id":152723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:22:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:22: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-08-08 02:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:22: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-08-08 02:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:22:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":152723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:22:19] local.INFO: GPS data processed {"connection_id":152723,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:22:19] local.INFO: Acknowledgment sent {"connection_id":152723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:22:51] local.INFO: TCP Data received {"connection_id":152723,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:22:51] local.INFO: Processing buffer {"connection_id":152723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:22:51] local.INFO: Packet analysis {"connection_id":152723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:22:51] local.INFO: Extracted packet for processing {"connection_id":152723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:22:51] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:22:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:22:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":152723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:22:51] local.INFO: GPS data processed {"connection_id":152723,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:22:51] local.INFO: Acknowledgment sent {"connection_id":152723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:23:07] local.INFO: TCP Data received {"connection_id":152724,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:23:07] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:23:07] local.INFO: IMEI packet received {"connection_id":152724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":152724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:23:12] local.INFO: TCP Data received {"connection_id":152724,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:23:12] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:23:12] local.INFO: IMEI packet received {"connection_id":152724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":152724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:23:14] local.INFO: TCP Data received {"connection_id":152724,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:23:14] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:23:14] local.INFO: Packet analysis {"connection_id":152724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:23:14] local.INFO: Extracted packet for processing {"connection_id":152724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:23:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":152724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:23:14] local.INFO: GPS data processed {"connection_id":152724,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:23:14] local.INFO: Acknowledgment sent {"connection_id":152724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:23:45] local.INFO: TCP Data received {"connection_id":152724,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:23:45] local.INFO: Processing buffer {"connection_id":152724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:23:45] local.INFO: Packet analysis {"connection_id":152724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:23:45] local.INFO: Extracted packet for processing {"connection_id":152724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:23:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:23:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":152724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:23:45] local.INFO: GPS data processed {"connection_id":152724,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:23:45] local.INFO: Acknowledgment sent {"connection_id":152724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:24:07] local.INFO: TCP Data received {"connection_id":151253,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:24:07] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:24:07] local.INFO: IMEI packet received {"connection_id":151253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":151253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:24:12] local.INFO: TCP Data received {"connection_id":151253,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:24:12] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:24:12] local.INFO: IMEI packet received {"connection_id":151253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":151253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:24:14] local.INFO: TCP Data received {"connection_id":151253,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:24:14] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:24:14] local.INFO: Packet analysis {"connection_id":151253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:24:14] local.INFO: Extracted packet for processing {"connection_id":151253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:24:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:24:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":151253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:24:14] local.INFO: GPS data processed {"connection_id":151253,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:24:14] local.INFO: Acknowledgment sent {"connection_id":151253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:24:45] local.INFO: TCP Data received {"connection_id":151253,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:24:45] local.INFO: Processing buffer {"connection_id":151253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:24:45] local.INFO: Packet analysis {"connection_id":151253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:24:45] local.INFO: Extracted packet for processing {"connection_id":151253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:24:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:24:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:24:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:24:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":151253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:24:45] local.INFO: GPS data processed {"connection_id":151253,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:24:45] local.INFO: Acknowledgment sent {"connection_id":151253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:25:12] local.INFO: TCP Data received {"connection_id":150013,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:25:12] local.INFO: Processing buffer {"connection_id":150013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:25:12] local.INFO: IMEI packet received {"connection_id":150013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":150013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:25:17] local.INFO: TCP Data received {"connection_id":150013,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:25:17] local.INFO: Processing buffer {"connection_id":150013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:25:17] local.INFO: IMEI packet received {"connection_id":150013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":150013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:25:19] local.INFO: TCP Data received {"connection_id":150013,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:25:19] local.INFO: Processing buffer {"connection_id":150013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:25:19] local.INFO: Packet analysis {"connection_id":150013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:25:19] local.INFO: Extracted packet for processing {"connection_id":150013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:25:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:25:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:25: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-08-08 02:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:25: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-08-08 02:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:25:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:25:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":150013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:25:19] local.INFO: GPS data processed {"connection_id":150013,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:25:19] local.INFO: Acknowledgment sent {"connection_id":150013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:25:23] local.INFO: TCP Data received {"connection_id":150013,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:25:23] local.INFO: Processing buffer {"connection_id":150013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:25:23] local.INFO: Packet analysis {"connection_id":150013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:25:23] local.INFO: Extracted packet for processing {"connection_id":150013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:25:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:25:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:25:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":150013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:25:23] local.INFO: GPS data processed {"connection_id":150013,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:25:23] local.INFO: Acknowledgment sent {"connection_id":150013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:26:07] local.INFO: TCP Data received {"connection_id":151254,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:26:07] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:26:07] local.INFO: IMEI packet received {"connection_id":151254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":151254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:26:12] local.INFO: TCP Data received {"connection_id":151254,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:26:12] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:26:12] local.INFO: IMEI packet received {"connection_id":151254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":151254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:26:14] local.INFO: TCP Data received {"connection_id":151254,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:26:14] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fddfe5af0012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:26:14] local.INFO: Packet analysis {"connection_id":151254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:26:14] local.INFO: Extracted packet for processing {"connection_id":151254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fddfe"} 
[2026-08-08 02:26:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250703616001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:26:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786135862000,"timestamp_ms":1786135862000,"timestamp_seconds":1786135862,"priority":1,"record_length":96,"hex_timestamp":"0000019fddfe5af0"} 
[2026-08-08 02:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250703616001,"66":25419,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250703616001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:26:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:26:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250703616001,"power":25419,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":151254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:26:14] local.INFO: GPS data processed {"connection_id":151254,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:26:14] local.INFO: Acknowledgment sent {"connection_id":151254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:26:45] local.INFO: TCP Data received {"connection_id":151254,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:26:45] local.INFO: Processing buffer {"connection_id":151254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:26:45] local.INFO: Packet analysis {"connection_id":151254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:26:45] local.INFO: Extracted packet for processing {"connection_id":151254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:26:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:26:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:26:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:26:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":151254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:26:45] local.INFO: GPS data processed {"connection_id":151254,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:26:45] local.INFO: Acknowledgment sent {"connection_id":151254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:27:07] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:27:07] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:27:07] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:27:12] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:27:12] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:27:12] local.INFO: IMEI packet received {"connection_id":151255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":151255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:27:14] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:27:14] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:27:14] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:27:14] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:27:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:27:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:27:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:27:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:27:14] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:27:14] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:27:45] local.INFO: TCP Data received {"connection_id":151255,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:27:45] local.INFO: Processing buffer {"connection_id":151255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:27:45] local.INFO: Packet analysis {"connection_id":151255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:27:45] local.INFO: Extracted packet for processing {"connection_id":151255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:27:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:27:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:27: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-08-08 02:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:27:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:27:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":151255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:27:45] local.INFO: GPS data processed {"connection_id":151255,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:27:45] local.INFO: Acknowledgment sent {"connection_id":151255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:28:07] local.INFO: TCP Data received {"connection_id":150014,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:28:07] local.INFO: Processing buffer {"connection_id":150014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:28:07] local.INFO: IMEI packet received {"connection_id":150014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":150014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:28:12] local.INFO: TCP Data received {"connection_id":150014,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:28:12] local.INFO: Processing buffer {"connection_id":150014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:28:12] local.INFO: IMEI packet received {"connection_id":150014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":150014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:28:14] local.INFO: TCP Data received {"connection_id":150014,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:28:14] local.INFO: Processing buffer {"connection_id":150014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:28:14] local.INFO: Packet analysis {"connection_id":150014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:28:14] local.INFO: Extracted packet for processing {"connection_id":150014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:28:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:28:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:28:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:28:14] local.INFO: GPS data processed {"connection_id":150014,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:28:14] local.INFO: Acknowledgment sent {"connection_id":150014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:28:45] local.INFO: TCP Data received {"connection_id":150014,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:28:45] local.INFO: Processing buffer {"connection_id":150014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:28:45] local.INFO: Packet analysis {"connection_id":150014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:28:45] local.INFO: Extracted packet for processing {"connection_id":150014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:28:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:28: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-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:28:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:28:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":150014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:28:45] local.INFO: GPS data processed {"connection_id":150014,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:28:45] local.INFO: Acknowledgment sent {"connection_id":150014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:29:07] local.INFO: TCP Data received {"connection_id":151256,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:29:07] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:29:07] local.INFO: IMEI packet received {"connection_id":151256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":151256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:29:12] local.INFO: TCP Data received {"connection_id":151256,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:29:12] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:29:12] local.INFO: IMEI packet received {"connection_id":151256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":151256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:29:13] local.INFO: TCP Data received {"connection_id":151256,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:29:13] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:29:13] local.INFO: Packet analysis {"connection_id":151256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:29:13] local.INFO: Extracted packet for processing {"connection_id":151256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:29:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:29:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:29:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":151256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:29:13] local.INFO: GPS data processed {"connection_id":151256,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:29:13] local.INFO: Acknowledgment sent {"connection_id":151256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:29:45] local.INFO: TCP Data received {"connection_id":151256,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:29:45] local.INFO: Processing buffer {"connection_id":151256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:29:45] local.INFO: Packet analysis {"connection_id":151256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:29:45] local.INFO: Extracted packet for processing {"connection_id":151256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:29:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:29:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":151256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:29:45] local.INFO: GPS data processed {"connection_id":151256,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:29:45] local.INFO: Acknowledgment sent {"connection_id":151256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:30:12] local.INFO: TCP Data received {"connection_id":152725,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:30:12] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:30:12] local.INFO: IMEI packet received {"connection_id":152725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":152725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:30:17] local.INFO: TCP Data received {"connection_id":152725,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:30:17] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:30:17] local.INFO: IMEI packet received {"connection_id":152725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":152725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:30:19] local.INFO: TCP Data received {"connection_id":152725,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:30:19] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:30:19] local.INFO: Packet analysis {"connection_id":152725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:30:19] local.INFO: Extracted packet for processing {"connection_id":152725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:30:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:30: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-08-08 02: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":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:30: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-08-08 02:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:30:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:30:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":152725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:30:19] local.INFO: GPS data processed {"connection_id":152725,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:30:19] local.INFO: Acknowledgment sent {"connection_id":152725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:30:23] local.INFO: TCP Data received {"connection_id":152725,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:30:23] local.INFO: Processing buffer {"connection_id":152725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:30:23] local.INFO: Packet analysis {"connection_id":152725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:30:23] local.INFO: Extracted packet for processing {"connection_id":152725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:30:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:30:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:30:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:30:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:30:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":152725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:30:23] local.INFO: GPS data processed {"connection_id":152725,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:30:23] local.INFO: Acknowledgment sent {"connection_id":152725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:31:07] local.INFO: TCP Data received {"connection_id":150015,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:31:07] local.INFO: Processing buffer {"connection_id":150015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:31:07] local.INFO: IMEI packet received {"connection_id":150015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":150015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:31:12] local.INFO: TCP Data received {"connection_id":150015,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:31:12] local.INFO: Processing buffer {"connection_id":150015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:31:12] local.INFO: IMEI packet received {"connection_id":150015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":150015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:31:14] local.INFO: TCP Data received {"connection_id":150015,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:31:14] local.INFO: Processing buffer {"connection_id":150015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde02f2b8012cee7500072e2ba8003d006a27..."} 
[2026-08-08 02:31:14] local.INFO: Packet analysis {"connection_id":150015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:31:14] local.INFO: Extracted packet for processing {"connection_id":150015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde02"} 
[2026-08-08 02:31:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":39,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250780672001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:31:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136163000,"timestamp_ms":1786136163000,"timestamp_seconds":1786136163,"priority":1,"record_length":96,"hex_timestamp":"0000019fde02f2b8"} 
[2026-08-08 02:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 02:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250780672001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250780672001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:31:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:31:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:31:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250780672001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":150015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:31:14] local.INFO: GPS data processed {"connection_id":150015,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:31:14] local.INFO: Acknowledgment sent {"connection_id":150015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:31:45] local.INFO: TCP Data received {"connection_id":150015,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:31:45] local.INFO: Processing buffer {"connection_id":150015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:31:45] local.INFO: Packet analysis {"connection_id":150015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:31:45] local.INFO: Extracted packet for processing {"connection_id":150015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:31:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:31:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:31:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":150015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:31:45] local.INFO: GPS data processed {"connection_id":150015,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:31:45] local.INFO: Acknowledgment sent {"connection_id":150015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:32:07] local.INFO: TCP Data received {"connection_id":152726,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:32:07] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:32:07] local.INFO: IMEI packet received {"connection_id":152726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":152726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:32:12] local.INFO: TCP Data received {"connection_id":152726,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:32:12] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:32:12] local.INFO: IMEI packet received {"connection_id":152726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":152726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:32:14] local.INFO: TCP Data received {"connection_id":152726,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:32:14] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:32:14] local.INFO: Packet analysis {"connection_id":152726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:32:14] local.INFO: Extracted packet for processing {"connection_id":152726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:32:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:32:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":152726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:32:14] local.INFO: GPS data processed {"connection_id":152726,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:32:14] local.INFO: Acknowledgment sent {"connection_id":152726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:32:45] local.INFO: TCP Data received {"connection_id":152726,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:32:45] local.INFO: Processing buffer {"connection_id":152726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:32:45] local.INFO: Packet analysis {"connection_id":152726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:32:45] local.INFO: Extracted packet for processing {"connection_id":152726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:32:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:32:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:32:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":152726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:32:45] local.INFO: GPS data processed {"connection_id":152726,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:32:45] local.INFO: Acknowledgment sent {"connection_id":152726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:33:12] local.INFO: TCP Data received {"connection_id":151257,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:33:12] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:33:12] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:33:17] local.INFO: TCP Data received {"connection_id":151257,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:33:17] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:33:17] local.INFO: IMEI packet received {"connection_id":151257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":151257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:33:20] local.INFO: TCP Data received {"connection_id":151257,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:33:20] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:33:20] local.INFO: Packet analysis {"connection_id":151257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:33:20] local.INFO: Extracted packet for processing {"connection_id":151257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:33:20] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:33: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-08-08 02:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":151257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:33:20] local.INFO: GPS data processed {"connection_id":151257,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:33:20] local.INFO: Acknowledgment sent {"connection_id":151257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:33:23] local.INFO: TCP Data received {"connection_id":151257,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:33:23] local.INFO: Processing buffer {"connection_id":151257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:33:23] local.INFO: Packet analysis {"connection_id":151257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:33:23] local.INFO: Extracted packet for processing {"connection_id":151257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:33:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02: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-08-08 02:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:33:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02: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-08-08 02:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:33:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:33:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:33:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":151257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:33:23] local.INFO: GPS data processed {"connection_id":151257,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:33:23] local.INFO: Acknowledgment sent {"connection_id":151257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:34:07] local.INFO: TCP Data received {"connection_id":150276,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:34:07] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:34:07] local.INFO: IMEI packet received {"connection_id":150276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":150276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:34:12] local.INFO: TCP Data received {"connection_id":150276,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:34:12] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:34:12] local.INFO: IMEI packet received {"connection_id":150276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":150276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:34:14] local.INFO: TCP Data received {"connection_id":150276,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:34:14] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:34:14] local.INFO: Packet analysis {"connection_id":150276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:34:14] local.INFO: Extracted packet for processing {"connection_id":150276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:34:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:34:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:34:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:34:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":150276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:34:14] local.INFO: GPS data processed {"connection_id":150276,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:34:14] local.INFO: Acknowledgment sent {"connection_id":150276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:34:45] local.INFO: TCP Data received {"connection_id":150276,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:34:45] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:34:45] local.INFO: Packet analysis {"connection_id":150276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:34:45] local.INFO: Extracted packet for processing {"connection_id":150276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:34:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:34:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:34:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":150276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:34:45] local.INFO: GPS data processed {"connection_id":150276,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:34:45] local.INFO: Acknowledgment sent {"connection_id":150276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:35:08] local.INFO: TCP Data received {"connection_id":151258,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:35:08] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:35:08] local.INFO: IMEI packet received {"connection_id":151258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":151258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:35:12] local.INFO: TCP Data received {"connection_id":151258,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:35:12] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:35:12] local.INFO: IMEI packet received {"connection_id":151258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":151258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:35:14] local.INFO: TCP Data received {"connection_id":151258,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:35:14] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:35:14] local.INFO: Packet analysis {"connection_id":151258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:35:14] local.INFO: Extracted packet for processing {"connection_id":151258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:35:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:35:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":151258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:35:14] local.INFO: GPS data processed {"connection_id":151258,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:35:14] local.INFO: Acknowledgment sent {"connection_id":151258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:35:45] local.INFO: TCP Data received {"connection_id":151258,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:35:45] local.INFO: Processing buffer {"connection_id":151258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:35:45] local.INFO: Packet analysis {"connection_id":151258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:35:45] local.INFO: Extracted packet for processing {"connection_id":151258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:35:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:35:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:35:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":151258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:35:45] local.INFO: GPS data processed {"connection_id":151258,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:35:45] local.INFO: Acknowledgment sent {"connection_id":151258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:36:07] local.INFO: TCP Data received {"connection_id":150277,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:36:07] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:36:07] local.INFO: IMEI packet received {"connection_id":150277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":150277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:36:12] local.INFO: TCP Data received {"connection_id":150277,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:36:12] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:36:12] local.INFO: IMEI packet received {"connection_id":150277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":150277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:36:14] local.INFO: TCP Data received {"connection_id":150277,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:36:14] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde078a80012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:36:14] local.INFO: Packet analysis {"connection_id":150277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:36:14] local.INFO: Extracted packet for processing {"connection_id":150277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde07"} 
[2026-08-08 02:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136464000,"timestamp_ms":1786136464000,"timestamp_seconds":1786136464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde078a80"} 
[2026-08-08 02:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250857728001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:36:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250857728001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":150277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:36:14] local.INFO: GPS data processed {"connection_id":150277,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:36:14] local.INFO: Acknowledgment sent {"connection_id":150277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:36:45] local.INFO: TCP Data received {"connection_id":150277,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:36:45] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:36:45] local.INFO: Packet analysis {"connection_id":150277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:36:45] local.INFO: Extracted packet for processing {"connection_id":150277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:36:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:36:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":150277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:36:45] local.INFO: GPS data processed {"connection_id":150277,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:36:45] local.INFO: Acknowledgment sent {"connection_id":150277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:37:12] local.INFO: TCP Data received {"connection_id":151259,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:37:12] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:37:12] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:37:17] local.INFO: TCP Data received {"connection_id":151259,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:37:17] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:37:17] local.INFO: IMEI packet received {"connection_id":151259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":151259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:37:19] local.INFO: TCP Data received {"connection_id":151259,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:37:19] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:37:19] local.INFO: Packet analysis {"connection_id":151259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:37:19] local.INFO: Extracted packet for processing {"connection_id":151259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:37:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:37: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-08-08 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:37:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":151259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:37:19] local.INFO: GPS data processed {"connection_id":151259,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:37:19] local.INFO: Acknowledgment sent {"connection_id":151259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:37:23] local.INFO: TCP Data received {"connection_id":151259,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:37:23] local.INFO: Processing buffer {"connection_id":151259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:37:23] local.INFO: Packet analysis {"connection_id":151259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:37:23] local.INFO: Extracted packet for processing {"connection_id":151259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:37:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:37:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:37:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:37:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:37:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":151259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":607999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:37:23] local.INFO: GPS data processed {"connection_id":151259,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:37:23] local.INFO: Acknowledgment sent {"connection_id":151259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:38:07] local.INFO: TCP Data received {"connection_id":150278,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:38:07] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:38:07] local.INFO: IMEI packet received {"connection_id":150278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":150278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:38:12] local.INFO: TCP Data received {"connection_id":150278,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:38:12] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:38:12] local.INFO: IMEI packet received {"connection_id":150278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":150278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:38:14] local.INFO: TCP Data received {"connection_id":150278,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:38:14] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:38:14] local.INFO: Packet analysis {"connection_id":150278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:38:14] local.INFO: Extracted packet for processing {"connection_id":150278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:38:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:38:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":150278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:38:14] local.INFO: GPS data processed {"connection_id":150278,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:38:14] local.INFO: Acknowledgment sent {"connection_id":150278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:38:45] local.INFO: TCP Data received {"connection_id":150278,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:38:45] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:38:45] local.INFO: Packet analysis {"connection_id":150278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:38:45] local.INFO: Extracted packet for processing {"connection_id":150278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:38:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:38: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-08-08 02:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:38:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":150278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:38:45] local.INFO: GPS data processed {"connection_id":150278,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:38:45] local.INFO: Acknowledgment sent {"connection_id":150278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:39:07] local.INFO: TCP Data received {"connection_id":151260,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:39:07] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:39:07] local.INFO: IMEI packet received {"connection_id":151260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":151260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:39:12] local.INFO: TCP Data received {"connection_id":151260,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:39:12] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:39:12] local.INFO: IMEI packet received {"connection_id":151260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":151260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:39:14] local.INFO: TCP Data received {"connection_id":151260,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:39:14] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:39:14] local.INFO: Packet analysis {"connection_id":151260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:39:14] local.INFO: Extracted packet for processing {"connection_id":151260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:39:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:39:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:39:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:39:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":151260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:39:14] local.INFO: GPS data processed {"connection_id":151260,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:39:14] local.INFO: Acknowledgment sent {"connection_id":151260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:39:45] local.INFO: TCP Data received {"connection_id":151260,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:39:45] local.INFO: Processing buffer {"connection_id":151260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:39:45] local.INFO: Packet analysis {"connection_id":151260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:39:45] local.INFO: Extracted packet for processing {"connection_id":151260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:39:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:39: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-08-08 02:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:39:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:39:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":151260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:39:45] local.INFO: GPS data processed {"connection_id":151260,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:39:45] local.INFO: Acknowledgment sent {"connection_id":151260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:40:07] local.INFO: TCP Data received {"connection_id":150016,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:40:07] local.INFO: Processing buffer {"connection_id":150016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:40:07] local.INFO: IMEI packet received {"connection_id":150016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":150016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:40:12] local.INFO: TCP Data received {"connection_id":150016,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:40:12] local.INFO: Processing buffer {"connection_id":150016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:40:12] local.INFO: IMEI packet received {"connection_id":150016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":150016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:40:14] local.INFO: TCP Data received {"connection_id":150016,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:40:14] local.INFO: Processing buffer {"connection_id":150016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:40:14] local.INFO: Packet analysis {"connection_id":150016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:40:14] local.INFO: Extracted packet for processing {"connection_id":150016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:40:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:40:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":150016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:40:14] local.INFO: GPS data processed {"connection_id":150016,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:40:14] local.INFO: Acknowledgment sent {"connection_id":150016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:40:45] local.INFO: TCP Data received {"connection_id":150016,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:40:45] local.INFO: Processing buffer {"connection_id":150016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:40:45] local.INFO: Packet analysis {"connection_id":150016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:40:45] local.INFO: Extracted packet for processing {"connection_id":150016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:40:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:40: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-08-08 02:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:40:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":150016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:40:45] local.INFO: GPS data processed {"connection_id":150016,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:40:45] local.INFO: Acknowledgment sent {"connection_id":150016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:41:07] local.INFO: TCP Data received {"connection_id":151261,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:41:07] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:41:07] local.INFO: IMEI packet received {"connection_id":151261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":151261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:41:12] local.INFO: TCP Data received {"connection_id":151261,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:41:12] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:41:12] local.INFO: IMEI packet received {"connection_id":151261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":151261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:41:14] local.INFO: TCP Data received {"connection_id":151261,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:41:14] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde0c2248012cee7500072e2ba8003d006a29..."} 
[2026-08-08 02:41:14] local.INFO: Packet analysis {"connection_id":151261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:41:14] local.INFO: Extracted packet for processing {"connection_id":151261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde0c"} 
[2026-08-08 02:41:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457250934784001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786136765000,"timestamp_ms":1786136765000,"timestamp_seconds":1786136765,"priority":1,"record_length":96,"hex_timestamp":"0000019fde0c2248"} 
[2026-08-08 02:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457250934784001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457250934784001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:41:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457250934784001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":151261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:41:14] local.INFO: GPS data processed {"connection_id":151261,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:41:14] local.INFO: Acknowledgment sent {"connection_id":151261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:41:45] local.INFO: TCP Data received {"connection_id":151261,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:41:45] local.INFO: Processing buffer {"connection_id":151261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:41:45] local.INFO: Packet analysis {"connection_id":151261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:41:45] local.INFO: Extracted packet for processing {"connection_id":151261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:41:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:41:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":151261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:41:45] local.INFO: GPS data processed {"connection_id":151261,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:41:45] local.INFO: Acknowledgment sent {"connection_id":151261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:42:12] local.INFO: TCP Data received {"connection_id":152727,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:42:12] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:42:12] local.INFO: IMEI packet received {"connection_id":152727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":152727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:42:17] local.INFO: TCP Data received {"connection_id":152727,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:42:17] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:42:17] local.INFO: IMEI packet received {"connection_id":152727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":152727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:42:19] local.INFO: TCP Data received {"connection_id":152727,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:42:19] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:42:19] local.INFO: Packet analysis {"connection_id":152727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:42:19] local.INFO: Extracted packet for processing {"connection_id":152727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:42:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:42:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:42: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-08-08 02:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:42:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:42:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":152727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:42:19] local.INFO: GPS data processed {"connection_id":152727,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:42:19] local.INFO: Acknowledgment sent {"connection_id":152727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:42:50] local.INFO: TCP Data received {"connection_id":152727,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:42:50] local.INFO: Processing buffer {"connection_id":152727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:42:50] local.INFO: Packet analysis {"connection_id":152727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:42:50] local.INFO: Extracted packet for processing {"connection_id":152727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:42:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:42:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":152727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:42:50] local.INFO: GPS data processed {"connection_id":152727,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:42:50] local.INFO: Acknowledgment sent {"connection_id":152727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:43:07] local.INFO: TCP Data received {"connection_id":151262,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:43:07] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:43:07] local.INFO: IMEI packet received {"connection_id":151262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":151262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:43:12] local.INFO: TCP Data received {"connection_id":151262,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:43:12] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:43:12] local.INFO: IMEI packet received {"connection_id":151262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":151262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:43:14] local.INFO: TCP Data received {"connection_id":151262,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:43:14] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:43:14] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:43:14] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:43:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:43:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:43:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:43:14] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:43:14] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:43:45] local.INFO: TCP Data received {"connection_id":151262,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:43:45] local.INFO: Processing buffer {"connection_id":151262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:43:45] local.INFO: Packet analysis {"connection_id":151262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:43:45] local.INFO: Extracted packet for processing {"connection_id":151262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:43:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:43: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:43:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":151262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:43:45] local.INFO: GPS data processed {"connection_id":151262,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:43:45] local.INFO: Acknowledgment sent {"connection_id":151262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:44:07] local.INFO: TCP Data received {"connection_id":150017,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:44:07] local.INFO: Processing buffer {"connection_id":150017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:44:07] local.INFO: IMEI packet received {"connection_id":150017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":150017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:44:12] local.INFO: TCP Data received {"connection_id":150017,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:44:12] local.INFO: Processing buffer {"connection_id":150017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:44:12] local.INFO: IMEI packet received {"connection_id":150017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":150017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:44:14] local.INFO: TCP Data received {"connection_id":150017,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:44:14] local.INFO: Processing buffer {"connection_id":150017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:44:14] local.INFO: Packet analysis {"connection_id":150017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:44:14] local.INFO: Extracted packet for processing {"connection_id":150017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:44:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:44:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":150017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:44:14] local.INFO: GPS data processed {"connection_id":150017,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:44:14] local.INFO: Acknowledgment sent {"connection_id":150017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:44:45] local.INFO: TCP Data received {"connection_id":150017,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:44:45] local.INFO: Processing buffer {"connection_id":150017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:44:45] local.INFO: Packet analysis {"connection_id":150017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:44:45] local.INFO: Extracted packet for processing {"connection_id":150017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:44:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:44:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":150017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:44:45] local.INFO: GPS data processed {"connection_id":150017,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:44:45] local.INFO: Acknowledgment sent {"connection_id":150017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:45:12] local.INFO: TCP Data received {"connection_id":150279,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:45:12] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:45:12] local.INFO: IMEI packet received {"connection_id":150279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":150279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:45:17] local.INFO: TCP Data received {"connection_id":150279,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:45:17] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:45:17] local.INFO: IMEI packet received {"connection_id":150279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":150279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:45:18] local.INFO: TCP Data received {"connection_id":150279,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:45:18] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:45:18] local.INFO: Packet analysis {"connection_id":150279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:45:18] local.INFO: Extracted packet for processing {"connection_id":150279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:45:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:45:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":150279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:45:19] local.INFO: GPS data processed {"connection_id":150279,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:45:19] local.INFO: Acknowledgment sent {"connection_id":150279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:45:23] local.INFO: TCP Data received {"connection_id":150279,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:45:23] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:45:23] local.INFO: Packet analysis {"connection_id":150279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:45:23] local.INFO: Extracted packet for processing {"connection_id":150279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:45:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:45:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02: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-08-08 02:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:45:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:45:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:45:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":150279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:45:23] local.INFO: GPS data processed {"connection_id":150279,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:45:23] local.INFO: Acknowledgment sent {"connection_id":150279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:46:08] local.INFO: TCP Data received {"connection_id":150018,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:46:08] local.INFO: Processing buffer {"connection_id":150018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:46:08] local.INFO: IMEI packet received {"connection_id":150018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":150018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:46:12] local.INFO: TCP Data received {"connection_id":150018,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:46:12] local.INFO: Processing buffer {"connection_id":150018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:46:12] local.INFO: IMEI packet received {"connection_id":150018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":150018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:46:13] local.INFO: TCP Data received {"connection_id":150018,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:46:13] local.INFO: Processing buffer {"connection_id":150018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:46:13] local.INFO: Packet analysis {"connection_id":150018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:46:13] local.INFO: Extracted packet for processing {"connection_id":150018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:46:13] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:46:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":150018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:46:13] local.INFO: GPS data processed {"connection_id":150018,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:46:13] local.INFO: Acknowledgment sent {"connection_id":150018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:46:45] local.INFO: TCP Data received {"connection_id":150018,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:46:45] local.INFO: Processing buffer {"connection_id":150018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde10ba10012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:46:45] local.INFO: Packet analysis {"connection_id":150018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:46:45] local.INFO: Extracted packet for processing {"connection_id":150018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde10"} 
[2026-08-08 02:46:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137066000,"timestamp_ms":1786137066000,"timestamp_seconds":1786137066,"priority":1,"record_length":96,"hex_timestamp":"0000019fde10ba10"} 
[2026-08-08 02:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:46: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251011840001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:46:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251011840001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":150018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:46:45] local.INFO: GPS data processed {"connection_id":150018,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:46:45] local.INFO: Acknowledgment sent {"connection_id":150018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:47:07] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:47:07] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:47:07] local.INFO: IMEI packet received {"connection_id":151263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":151263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:47:12] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:47:12] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:47:12] local.INFO: IMEI packet received {"connection_id":151263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":151263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:47:14] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:47:14] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:47:14] local.INFO: Packet analysis {"connection_id":151263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:47:14] local.INFO: Extracted packet for processing {"connection_id":151263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:47:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:47:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":151263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:47:14] local.INFO: GPS data processed {"connection_id":151263,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:47:14] local.INFO: Acknowledgment sent {"connection_id":151263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:47:45] local.INFO: TCP Data received {"connection_id":151263,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:47:45] local.INFO: Processing buffer {"connection_id":151263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:47:45] local.INFO: Packet analysis {"connection_id":151263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:47:45] local.INFO: Extracted packet for processing {"connection_id":151263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:47:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:47: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-08-08 02:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:47:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:47:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":151263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:47:45] local.INFO: GPS data processed {"connection_id":151263,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:47:45] local.INFO: Acknowledgment sent {"connection_id":151263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:48:13] local.INFO: TCP Data received {"connection_id":150280,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:48:13] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:48:13] local.INFO: IMEI packet received {"connection_id":150280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":150280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:48:17] local.INFO: TCP Data received {"connection_id":150280,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:48:17] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:48:17] local.INFO: IMEI packet received {"connection_id":150280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":150280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:48:19] local.INFO: TCP Data received {"connection_id":150280,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:48:19] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:48:19] local.INFO: Packet analysis {"connection_id":150280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:48:19] local.INFO: Extracted packet for processing {"connection_id":150280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:48:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02: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-08-08 02:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:48: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-08-08 02: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02: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-08-08 02:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:48:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:48:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":150280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:48:19] local.INFO: GPS data processed {"connection_id":150280,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:48:19] local.INFO: Acknowledgment sent {"connection_id":150280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:48:23] local.INFO: TCP Data received {"connection_id":150280,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:48:23] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:48:23] local.INFO: Packet analysis {"connection_id":150280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:48:23] local.INFO: Extracted packet for processing {"connection_id":150280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:48:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:48:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:48:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:48:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:48:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":150280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:48:23] local.INFO: GPS data processed {"connection_id":150280,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:48:23] local.INFO: Acknowledgment sent {"connection_id":150280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:49:07] local.INFO: TCP Data received {"connection_id":152728,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:49:07] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:49:07] local.INFO: IMEI packet received {"connection_id":152728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":152728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:49:12] local.INFO: TCP Data received {"connection_id":152728,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:49:12] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:49:12] local.INFO: IMEI packet received {"connection_id":152728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":152728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:49:14] local.INFO: TCP Data received {"connection_id":152728,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:49:14] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:49:14] local.INFO: Packet analysis {"connection_id":152728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:49:14] local.INFO: Extracted packet for processing {"connection_id":152728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:49:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:49:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:49:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":152728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:49:14] local.INFO: GPS data processed {"connection_id":152728,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:49:14] local.INFO: Acknowledgment sent {"connection_id":152728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:49:46] local.INFO: TCP Data received {"connection_id":152728,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:49:46] local.INFO: Processing buffer {"connection_id":152728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:49:46] local.INFO: Packet analysis {"connection_id":152728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:49:46] local.INFO: Extracted packet for processing {"connection_id":152728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:49:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:49: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-08-08 02:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:49: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-08-08 02:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:49:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":152728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:49:46] local.INFO: GPS data processed {"connection_id":152728,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:49:46] local.INFO: Acknowledgment sent {"connection_id":152728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:50:07] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:50:07] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:50:07] local.INFO: IMEI packet received {"connection_id":151264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":151264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:50:12] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:50:12] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:50:12] local.INFO: IMEI packet received {"connection_id":151264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":151264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:50:14] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:50:14] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:50:14] local.INFO: Packet analysis {"connection_id":151264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:50:14] local.INFO: Extracted packet for processing {"connection_id":151264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:50:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:50:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":151264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:50:14] local.INFO: GPS data processed {"connection_id":151264,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:50:14] local.INFO: Acknowledgment sent {"connection_id":151264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:50:45] local.INFO: TCP Data received {"connection_id":151264,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:50:45] local.INFO: Processing buffer {"connection_id":151264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:50:45] local.INFO: Packet analysis {"connection_id":151264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:50:45] local.INFO: Extracted packet for processing {"connection_id":151264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:50:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:50: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:50:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:50:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":151264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:50:45] local.INFO: GPS data processed {"connection_id":151264,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:50:45] local.INFO: Acknowledgment sent {"connection_id":151264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:51:12] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:51:12] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:51:12] local.INFO: IMEI packet received {"connection_id":151265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":151265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:51:17] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:51:17] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:51:17] local.INFO: IMEI packet received {"connection_id":151265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":151265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:51:19] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:51:19] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:51:19] local.INFO: Packet analysis {"connection_id":151265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:51:19] local.INFO: Extracted packet for processing {"connection_id":151265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:51:19] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:51: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-08-08 02:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:51:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":151265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:51:19] local.INFO: GPS data processed {"connection_id":151265,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:51:19] local.INFO: Acknowledgment sent {"connection_id":151265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:51:23] local.INFO: TCP Data received {"connection_id":151265,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:51:23] local.INFO: Processing buffer {"connection_id":151265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1551d8012cee7500072e2ba8003d006a2a..."} 
[2026-08-08 02:51:23] local.INFO: Packet analysis {"connection_id":151265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:51:23] local.INFO: Extracted packet for processing {"connection_id":151265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde15"} 
[2026-08-08 02:51:23] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":42,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251088896001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:51:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786137367000,"timestamp_ms":1786137367000,"timestamp_seconds":1786137367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1551d8"} 
[2026-08-08 02:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251088896001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251088896001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:51:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:51:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:51:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251088896001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":151265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:51:23] local.INFO: GPS data processed {"connection_id":151265,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:51:23] local.INFO: Acknowledgment sent {"connection_id":151265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:52:07] local.INFO: TCP Data received {"connection_id":152729,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:52:07] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:52:07] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:52:12] local.INFO: TCP Data received {"connection_id":152729,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:52:12] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:52:12] local.INFO: IMEI packet received {"connection_id":152729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":152729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:52:14] local.INFO: TCP Data received {"connection_id":152729,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:52:14] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:52:14] local.INFO: Packet analysis {"connection_id":152729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:52:14] local.INFO: Extracted packet for processing {"connection_id":152729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:52:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:52:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":152729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:52:14] local.INFO: GPS data processed {"connection_id":152729,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:52:14] local.INFO: Acknowledgment sent {"connection_id":152729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:52:46] local.INFO: TCP Data received {"connection_id":152729,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:52:46] local.INFO: Processing buffer {"connection_id":152729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:52:46] local.INFO: Packet analysis {"connection_id":152729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:52:46] local.INFO: Extracted packet for processing {"connection_id":152729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:52:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:52: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-08-08 02:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:52: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-08-08 02:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:52:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":152729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:52:46] local.INFO: GPS data processed {"connection_id":152729,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:52:46] local.INFO: Acknowledgment sent {"connection_id":152729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:53:07] local.INFO: TCP Data received {"connection_id":150019,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:53:07] local.INFO: Processing buffer {"connection_id":150019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:53:07] local.INFO: IMEI packet received {"connection_id":150019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":150019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:53:12] local.INFO: TCP Data received {"connection_id":150019,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:53:12] local.INFO: Processing buffer {"connection_id":150019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:53:12] local.INFO: IMEI packet received {"connection_id":150019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":150019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:53:14] local.INFO: TCP Data received {"connection_id":150019,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:53:14] local.INFO: Processing buffer {"connection_id":150019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:53:14] local.INFO: Packet analysis {"connection_id":150019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:53:14] local.INFO: Extracted packet for processing {"connection_id":150019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:53:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:53:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:53:14] local.INFO: GPS data processed {"connection_id":150019,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:53:14] local.INFO: Acknowledgment sent {"connection_id":150019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:53:45] local.INFO: TCP Data received {"connection_id":150019,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:53:45] local.INFO: Processing buffer {"connection_id":150019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:53:45] local.INFO: Packet analysis {"connection_id":150019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:53:45] local.INFO: Extracted packet for processing {"connection_id":150019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:53:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:53: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-08-08 02:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:53:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":150019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:53:45] local.INFO: GPS data processed {"connection_id":150019,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:53:45] local.INFO: Acknowledgment sent {"connection_id":150019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:54:07] local.INFO: TCP Data received {"connection_id":150020,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:54:07] local.INFO: Processing buffer {"connection_id":150020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:54:07] local.INFO: IMEI packet received {"connection_id":150020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":150020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:54:12] local.INFO: TCP Data received {"connection_id":150020,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:54:12] local.INFO: Processing buffer {"connection_id":150020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:54:12] local.INFO: IMEI packet received {"connection_id":150020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":150020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:54:14] local.INFO: TCP Data received {"connection_id":150020,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:54:14] local.INFO: Processing buffer {"connection_id":150020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:54:14] local.INFO: Packet analysis {"connection_id":150020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:54:14] local.INFO: Extracted packet for processing {"connection_id":150020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:54:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:54:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":150020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:54:14] local.INFO: GPS data processed {"connection_id":150020,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:54:14] local.INFO: Acknowledgment sent {"connection_id":150020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:54:48] local.INFO: TCP Data received {"connection_id":150020,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:54:48] local.INFO: Processing buffer {"connection_id":150020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:54:48] local.INFO: Packet analysis {"connection_id":150020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:54:48] local.INFO: Extracted packet for processing {"connection_id":150020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:54:48] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:54:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":150020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:54:48] local.INFO: GPS data processed {"connection_id":150020,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:54:48] local.INFO: Acknowledgment sent {"connection_id":150020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:55:12] local.INFO: TCP Data received {"connection_id":152730,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:55:12] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:55:12] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:55:17] local.INFO: TCP Data received {"connection_id":152730,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:55:17] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:55:17] local.INFO: IMEI packet received {"connection_id":152730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":152730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:55:18] local.INFO: TCP Data received {"connection_id":152730,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:55:18] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:55:18] local.INFO: Packet analysis {"connection_id":152730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:55:18] local.INFO: Extracted packet for processing {"connection_id":152730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:55:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:55:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:55:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:55:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:55:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":152730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:55:18] local.INFO: GPS data processed {"connection_id":152730,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:55:18] local.INFO: Acknowledgment sent {"connection_id":152730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:55:50] local.INFO: TCP Data received {"connection_id":152730,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:55:50] local.INFO: Processing buffer {"connection_id":152730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:55:50] local.INFO: Packet analysis {"connection_id":152730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:55:50] local.INFO: Extracted packet for processing {"connection_id":152730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:55:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02: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-08-08 02:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:55: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-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02: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-08-08 02:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:55:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:55:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":152730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:55:50] local.INFO: GPS data processed {"connection_id":152730,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:55:50] local.INFO: Acknowledgment sent {"connection_id":152730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:56:07] local.INFO: TCP Data received {"connection_id":150021,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:56:07] local.INFO: Processing buffer {"connection_id":150021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:56:07] local.INFO: IMEI packet received {"connection_id":150021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":150021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:56:12] local.INFO: TCP Data received {"connection_id":150021,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:56:12] local.INFO: Processing buffer {"connection_id":150021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:56:12] local.INFO: IMEI packet received {"connection_id":150021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":150021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:56:14] local.INFO: TCP Data received {"connection_id":150021,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:56:14] local.INFO: Processing buffer {"connection_id":150021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:56:14] local.INFO: Packet analysis {"connection_id":150021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:56:14] local.INFO: Extracted packet for processing {"connection_id":150021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:56:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:56:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":150021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:56:14] local.INFO: GPS data processed {"connection_id":150021,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:56:14] local.INFO: Acknowledgment sent {"connection_id":150021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:56:46] local.INFO: TCP Data received {"connection_id":150021,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:56:46] local.INFO: Processing buffer {"connection_id":150021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde19e9a0012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:56:46] local.INFO: Packet analysis {"connection_id":150021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:56:46] local.INFO: Extracted packet for processing {"connection_id":150021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde19"} 
[2026-08-08 02:56:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251165952001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786137668000,"timestamp_ms":1786137668000,"timestamp_seconds":1786137668,"priority":1,"record_length":96,"hex_timestamp":"0000019fde19e9a0"} 
[2026-08-08 02:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02: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-08-08 02: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-08-08 02: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-08-08 02:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251165952001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251165952001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:56:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251165952001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":150021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:56:46] local.INFO: GPS data processed {"connection_id":150021,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:56:46] local.INFO: Acknowledgment sent {"connection_id":150021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:57:07] local.INFO: TCP Data received {"connection_id":152731,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:57:07] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:57:07] local.INFO: IMEI packet received {"connection_id":152731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":152731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:57:12] local.INFO: TCP Data received {"connection_id":152731,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:57:12] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:57:12] local.INFO: IMEI packet received {"connection_id":152731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":152731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:57:14] local.INFO: TCP Data received {"connection_id":152731,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:57:14] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:57:14] local.INFO: Packet analysis {"connection_id":152731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:57:14] local.INFO: Extracted packet for processing {"connection_id":152731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:57:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:57:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 02:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:57:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:57:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":152731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:57:14] local.INFO: GPS data processed {"connection_id":152731,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:57:14] local.INFO: Acknowledgment sent {"connection_id":152731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:57:46] local.INFO: TCP Data received {"connection_id":152731,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:57:46] local.INFO: Processing buffer {"connection_id":152731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:57:46] local.INFO: Packet analysis {"connection_id":152731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:57:46] local.INFO: Extracted packet for processing {"connection_id":152731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:57:46] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02: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-08-08 02:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 02:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:57: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-08-08 02:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:57:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":152731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:57:46] local.INFO: GPS data processed {"connection_id":152731,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:57:46] local.INFO: Acknowledgment sent {"connection_id":152731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:58:14] local.INFO: TCP Data received {"connection_id":150281,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:58:14] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:58:14] local.INFO: IMEI packet received {"connection_id":150281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":150281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:58:17] local.INFO: TCP Data received {"connection_id":150281,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:58:17] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:58:17] local.INFO: IMEI packet received {"connection_id":150281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":150281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:58:18] local.INFO: TCP Data received {"connection_id":150281,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:58:18] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:58:18] local.INFO: Packet analysis {"connection_id":150281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:58:18] local.INFO: Extracted packet for processing {"connection_id":150281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:58:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02: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-08-08 02:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:58:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 02:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02: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-08-08 02:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:58:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:58:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:58:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":150281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:58:18] local.INFO: GPS data processed {"connection_id":150281,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:58:18] local.INFO: Acknowledgment sent {"connection_id":150281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:58:24] local.INFO: TCP Data received {"connection_id":150281,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:58:24] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:58:24] local.INFO: Packet analysis {"connection_id":150281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:58:24] local.INFO: Extracted packet for processing {"connection_id":150281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:58:24] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 02:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:58:24] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:58:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":150281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:58:24] local.INFO: GPS data processed {"connection_id":150281,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:58:24] local.INFO: Acknowledgment sent {"connection_id":150281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:59:08] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:59:08] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:59:08] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 02:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 02:59:12] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:59:12] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 02:59:12] local.INFO: IMEI packet received {"connection_id":152732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 02:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":152732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 02:59:14] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:59:14] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:59:14] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:59:14] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:59:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 02:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:59:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:59:14] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:59:14] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 02:59:45] local.INFO: TCP Data received {"connection_id":152732,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:59:45] local.INFO: Processing buffer {"connection_id":152732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 02:59:45] local.INFO: Packet analysis {"connection_id":152732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:59:45] local.INFO: Extracted packet for processing {"connection_id":152732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 02:59:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 02:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 02:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 02:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 02:59:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 02:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 02:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 02:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 02:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 02:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 02:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 02:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 02:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 02:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 02:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 02:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 02:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 02:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 02:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 02:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 02:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 02:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 02:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 02:59:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 02:59:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 02:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 02:59:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 02:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 02:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":152732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 02:59:45] local.INFO: GPS data processed {"connection_id":152732,"processed":1,"errors":0,"total":1} 
[2026-08-08 02:59:45] local.INFO: Acknowledgment sent {"connection_id":152732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:00:07] local.INFO: TCP Data received {"connection_id":150022,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:00:07] local.INFO: Processing buffer {"connection_id":150022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:00:07] local.INFO: IMEI packet received {"connection_id":150022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":150022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:00:12] local.INFO: TCP Data received {"connection_id":150022,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:00:12] local.INFO: Processing buffer {"connection_id":150022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:00:12] local.INFO: IMEI packet received {"connection_id":150022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":150022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:00:14] local.INFO: TCP Data received {"connection_id":150022,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:00:14] local.INFO: Processing buffer {"connection_id":150022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:00:14] local.INFO: Packet analysis {"connection_id":150022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:00:14] local.INFO: Extracted packet for processing {"connection_id":150022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:00:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:00:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 03:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 03:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:00:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:00:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":150022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:00:14] local.INFO: GPS data processed {"connection_id":150022,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:00:14] local.INFO: Acknowledgment sent {"connection_id":150022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:00:45] local.INFO: TCP Data received {"connection_id":150022,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:00:45] local.INFO: Processing buffer {"connection_id":150022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:00:45] local.INFO: Packet analysis {"connection_id":150022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:00:45] local.INFO: Extracted packet for processing {"connection_id":150022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:00:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:00:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 03:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 03:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:00:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:00:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":150022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:00:45] local.INFO: GPS data processed {"connection_id":150022,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:00:45] local.INFO: Acknowledgment sent {"connection_id":150022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:01:07] local.INFO: TCP Data received {"connection_id":152733,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:01:07] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:01:07] local.INFO: IMEI packet received {"connection_id":152733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":152733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:01:12] local.INFO: TCP Data received {"connection_id":152733,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:01:12] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:01:12] local.INFO: IMEI packet received {"connection_id":152733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":152733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:01:14] local.INFO: TCP Data received {"connection_id":152733,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:01:14] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:01:14] local.INFO: Packet analysis {"connection_id":152733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:01:14] local.INFO: Extracted packet for processing {"connection_id":152733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:01:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 03:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03: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-08-08 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 03:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:01:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":152733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:01:14] local.INFO: GPS data processed {"connection_id":152733,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:01:14] local.INFO: Acknowledgment sent {"connection_id":152733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:01:45] local.INFO: TCP Data received {"connection_id":152733,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:01:45] local.INFO: Processing buffer {"connection_id":152733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde1e8168012cee7500072e2ba8003d006a28..."} 
[2026-08-08 03:01:45] local.INFO: Packet analysis {"connection_id":152733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:01:45] local.INFO: Extracted packet for processing {"connection_id":152733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde1e"} 
[2026-08-08 03:01:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251243008001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786137969000,"timestamp_ms":1786137969000,"timestamp_seconds":1786137969,"priority":1,"record_length":96,"hex_timestamp":"0000019fde1e8168"} 
[2026-08-08 03:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 03:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251243008001,"66":24854,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251243008001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:01:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251243008001,"power":24854,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":152733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:01:45] local.INFO: GPS data processed {"connection_id":152733,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:01:45] local.INFO: Acknowledgment sent {"connection_id":152733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:02:07] local.INFO: TCP Data received {"connection_id":150282,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:02:07] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:02:07] local.INFO: IMEI packet received {"connection_id":150282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":150282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:02:12] local.INFO: TCP Data received {"connection_id":150282,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:02:12] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:02:12] local.INFO: IMEI packet received {"connection_id":150282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":150282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:02:14] local.INFO: TCP Data received {"connection_id":150282,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:14] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:14] local.INFO: Packet analysis {"connection_id":150282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:02:14] local.INFO: Extracted packet for processing {"connection_id":150282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251320064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786138270000,"timestamp_ms":1786138270000,"timestamp_seconds":1786138270,"priority":1,"record_length":96,"hex_timestamp":"0000019fde231930"} 
[2026-08-08 03:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251320064001,"66":25321,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251320064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:02:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251320064001,"power":25321,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":150282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:02:14] local.INFO: GPS data processed {"connection_id":150282,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:02:14] local.INFO: Acknowledgment sent {"connection_id":150282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:02:18] local.INFO: TCP Data received {"connection_id":150282,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:18] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:18] local.INFO: Packet analysis {"connection_id":150282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:02:18] local.INFO: Extracted packet for processing {"connection_id":150282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:02:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251320064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786138270000,"timestamp_ms":1786138270000,"timestamp_seconds":1786138270,"priority":1,"record_length":96,"hex_timestamp":"0000019fde231930"} 
[2026-08-08 03:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251320064001,"66":25321,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251320064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:02:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:02:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:02:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251320064001,"power":25321,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":150282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:02:18] local.INFO: GPS data processed {"connection_id":150282,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:02:18] local.INFO: Acknowledgment sent {"connection_id":150282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:02:50] local.INFO: TCP Data received {"connection_id":150282,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:50] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:02:50] local.INFO: Packet analysis {"connection_id":150282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:02:50] local.INFO: Extracted packet for processing {"connection_id":150282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:02:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251320064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786138270000,"timestamp_ms":1786138270000,"timestamp_seconds":1786138270,"priority":1,"record_length":96,"hex_timestamp":"0000019fde231930"} 
[2026-08-08 03:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:02: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-08-08 03: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03: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-08-08 03:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251320064001,"66":25321,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251320064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:02:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:02:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251320064001,"power":25321,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":150282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:02:50] local.INFO: GPS data processed {"connection_id":150282,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:02:50] local.INFO: Acknowledgment sent {"connection_id":150282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:03:08] local.INFO: TCP Data received {"connection_id":150283,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:03:08] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:03:08] local.INFO: IMEI packet received {"connection_id":150283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":150283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:03:16] local.INFO: TCP Data received {"connection_id":150283,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:03:16] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:03:16] local.INFO: IMEI packet received {"connection_id":150283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":150283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:03:18] local.INFO: TCP Data received {"connection_id":150283,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:03:18] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:03:18] local.INFO: Packet analysis {"connection_id":150283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:03:18] local.INFO: Extracted packet for processing {"connection_id":150283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:03:18] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251320064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:03:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786138270000,"timestamp_ms":1786138270000,"timestamp_seconds":1786138270,"priority":1,"record_length":96,"hex_timestamp":"0000019fde231930"} 
[2026-08-08 03:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251320064001,"66":25321,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251320064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:03:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:03:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:03:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251320064001,"power":25321,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":150283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:03:18] local.INFO: GPS data processed {"connection_id":150283,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:03:18] local.INFO: Acknowledgment sent {"connection_id":150283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:03:50] local.INFO: TCP Data received {"connection_id":150283,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:03:50] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:03:50] local.INFO: Packet analysis {"connection_id":150283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:03:50] local.INFO: Extracted packet for processing {"connection_id":150283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:03:50] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251320064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786138270000,"timestamp_ms":1786138270000,"timestamp_seconds":1786138270,"priority":1,"record_length":96,"hex_timestamp":"0000019fde231930"} 
[2026-08-08 03:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:03: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-08-08 03:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251320064001,"66":25321,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251320064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251320064001,"power":25321,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":150283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:03:50] local.INFO: GPS data processed {"connection_id":150283,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:03:50] local.INFO: Acknowledgment sent {"connection_id":150283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:04:07] local.INFO: TCP Data received {"connection_id":151266,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:04:07] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:04:07] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:04:12] local.INFO: TCP Data received {"connection_id":151266,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:04:12] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:04:12] local.INFO: IMEI packet received {"connection_id":151266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":151266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:04:14] local.INFO: TCP Data received {"connection_id":151266,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:04:14] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde231930012cee7500072e2ba8003d006a2b..."} 
[2026-08-08 03:04:14] local.INFO: Packet analysis {"connection_id":151266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:04:14] local.INFO: Extracted packet for processing {"connection_id":151266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde23"} 
[2026-08-08 03:04:14] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251320064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786138270000,"timestamp_ms":1786138270000,"timestamp_seconds":1786138270,"priority":1,"record_length":96,"hex_timestamp":"0000019fde231930"} 
[2026-08-08 03:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 03:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251320064001,"66":25321,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251320064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:04:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251320064001,"power":25321,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":151266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:04:14] local.INFO: GPS data processed {"connection_id":151266,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:04:14] local.INFO: Acknowledgment sent {"connection_id":151266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:04:45] local.INFO: TCP Data received {"connection_id":151266,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde259200012cee7500072e2ba8003d006a29..."} 
[2026-08-08 03:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde259200012cee7500072e2ba8003d006a29..."} 
[2026-08-08 03:04:45] local.INFO: Processing buffer {"connection_id":151266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde259200012cee7500072e2ba8003d006a29..."} 
[2026-08-08 03:04:45] local.INFO: Packet analysis {"connection_id":151266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde25"} 
[2026-08-08 03:04:45] local.INFO: Extracted packet for processing {"connection_id":151266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde25"} 
[2026-08-08 03:04:45] local.INFO: GPS Element Parsed {"raw_longitude":753825024,"raw_latitude":120466344,"longitude_deg":75.3825024,"latitude_deg":12.0466344,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7500","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 03:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251397120001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786138432000,"timestamp_ms":1786138432000,"timestamp_seconds":1786138432,"priority":1,"record_length":96,"hex_timestamp":"0000019fde259200"} 
[2026-08-08 03:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:04: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-08-08 03:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 03:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251397120001,"66":25397,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251397120001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:04:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:04:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251397120001,"power":25397,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":151266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:04:45] local.INFO: GPS data processed {"connection_id":151266,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:04:45] local.INFO: Acknowledgment sent {"connection_id":151266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:05:12] local.INFO: TCP Data received {"connection_id":150023,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:05:12] local.INFO: Processing buffer {"connection_id":150023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:05:12] local.INFO: IMEI packet received {"connection_id":150023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":150023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:05:14] local.INFO: TCP Data received {"connection_id":150023,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:05:14] local.INFO: Processing buffer {"connection_id":150023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:05:14] local.INFO: IMEI packet received {"connection_id":150023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":150023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:05:15] local.INFO: TCP Data received {"connection_id":150023,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde25ebd8012cee7300072e2c28003d006a29..."} 
[2026-08-08 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde25ebd8012cee7300072e2c28003d006a29..."} 
[2026-08-08 03:05:15] local.INFO: Processing buffer {"connection_id":150023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde25ebd8012cee7300072e2c28003d006a29..."} 
[2026-08-08 03:05:15] local.INFO: Packet analysis {"connection_id":150023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde25"} 
[2026-08-08 03:05:15] local.INFO: Extracted packet for processing {"connection_id":150023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde25"} 
[2026-08-08 03:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753824512,"raw_latitude":120466472,"longitude_deg":75.3824512,"latitude_deg":12.0466472,"altitude":61,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2cee7300","hex_latitude":"072e2c28","is_valid_coordinates":true} 
[2026-08-08 03:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251438592001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264104089568172032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786138455000,"timestamp_ms":1786138455000,"timestamp_seconds":1786138455,"priority":1,"record_length":96,"hex_timestamp":"0000019fde25ebd8"} 
[2026-08-08 03:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 03:05: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-08-08 03:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251438592001,"66":27571,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264104089568172032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251438592001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:05:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264104089568172032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251438592001,"power":27571,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264104089568172032}} 
[2026-08-08 03:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":150023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:05:15] local.INFO: GPS data processed {"connection_id":150023,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:05:15] local.INFO: Acknowledgment sent {"connection_id":150023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:05:18] local.INFO: TCP Data received {"connection_id":150023,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde263de0012cee7300072e2c28003d006a2b..."} 
[2026-08-08 03:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde263de0012cee7300072e2c28003d006a2b..."} 
[2026-08-08 03:05:18] local.INFO: Processing buffer {"connection_id":150023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde263de0012cee7300072e2c28003d006a2b..."} 
[2026-08-08 03:05:18] local.INFO: Packet analysis {"connection_id":150023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:05:18] local.INFO: Extracted packet for processing {"connection_id":150023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:05:18] local.INFO: GPS Element Parsed {"raw_longitude":753824512,"raw_latitude":120466472,"longitude_deg":75.3824512,"latitude_deg":12.0466472,"altitude":61,"angle":106,"satellites":43,"speed":0,"hex_longitude":"2cee7300","hex_latitude":"072e2c28","is_valid_coordinates":true} 
[2026-08-08 03:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251444480001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315732810334208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264667039521560576,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786138476000,"timestamp_ms":1786138476000,"timestamp_seconds":1786138476,"priority":1,"record_length":96,"hex_timestamp":"0000019fde263de0"} 
[2026-08-08 03:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 03:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251444480001,"66":27180,"42":206,"28":26368,"24":0,"16":374315732810334208,"44":-1264667039521560576},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-08-08 03:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251444480001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:05:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 03:05:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-08 03:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315732810334208,"km_value":374315732810334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264667039521560576,"description":"Unknown IO ID 44"} 
[2026-08-08 03:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251444480001,"power":27180,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264667039521560576}} 
[2026-08-08 03:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":150023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:05:18] local.INFO: GPS data processed {"connection_id":150023,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:05:18] local.INFO: Acknowledgment sent {"connection_id":150023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:05:50] local.INFO: TCP Data received {"connection_id":150023,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde268c00012cee7240072e2ce8003200152a..."} 
[2026-08-08 03:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde268c00012cee7240072e2ce8003200152a..."} 
[2026-08-08 03:05:50] local.INFO: Processing buffer {"connection_id":150023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde268c00012cee7240072e2ce8003200152a..."} 
[2026-08-08 03:05:50] local.INFO: Packet analysis {"connection_id":150023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:05:50] local.INFO: Extracted packet for processing {"connection_id":150023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:05:50] local.INFO: GPS Element Parsed {"raw_longitude":753824320,"raw_latitude":120466664,"longitude_deg":75.382432,"latitude_deg":12.0466664,"altitude":50,"angle":21,"satellites":42,"speed":4,"hex_longitude":"2cee7240","hex_latitude":"072e2ce8","is_valid_coordinates":true} 
[2026-08-08 03:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251449856001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315745695236096,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264667039521560576,"note":"Value kept but may cause issues"} 
[2026-08-08 03:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786138496000,"timestamp_ms":1786138496000,"timestamp_seconds":1786138496,"priority":1,"record_length":96,"hex_timestamp":"0000019fde268c00"} 
[2026-08-08 03:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 03:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251449856001,"66":27267,"239":206,"2":56832,"24":4,"16":374315745695236096,"44":-1264667039521560576},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-08 03:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251449856001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:05:50] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 03:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315745695236096,"km_value":374315745695236.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264667039521560576,"description":"Unknown IO ID 44"} 
[2026-08-08 03:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251449856001,"power":27267,"unknown_239":206,"power_alt":56832,"ignition":4,"odometer":null,"unknown_44":-1264667039521560576}} 
[2026-08-08 03:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":150023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:05:50] local.INFO: GPS data processed {"connection_id":150023,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:05:50] local.INFO: Acknowledgment sent {"connection_id":150023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:06:04] local.INFO: TCP Data received {"connection_id":152734,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:04] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:04] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:06:07] local.INFO: TCP Data received {"connection_id":152734,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:07] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:07] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:06:12] local.INFO: TCP Data received {"connection_id":152734,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:12] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:06:12] local.INFO: IMEI packet received {"connection_id":152734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":152734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:06:14] local.INFO: TCP Data received {"connection_id":152734,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde26b6f8012cee7240072e2e60003201622a..."} 
[2026-08-08 03:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde26b6f8012cee7240072e2e60003201622a..."} 
[2026-08-08 03:06:14] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde26b6f8012cee7240072e2e60003201622a..."} 
[2026-08-08 03:06:14] local.INFO: Packet analysis {"connection_id":152734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:06:14] local.INFO: Extracted packet for processing {"connection_id":152734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:06:14] local.INFO: GPS Element Parsed {"raw_longitude":753824320,"raw_latitude":120467040,"longitude_deg":75.382432,"latitude_deg":12.046704,"altitude":50,"angle":354,"satellites":42,"speed":5,"hex_longitude":"2cee7240","hex_latitude":"072e2e60","is_valid_coordinates":true} 
[2026-08-08 03:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251454976001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315771465039872,"note":"Value kept but may cause issues"} 
[2026-08-08 03:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264878145754044416,"note":"Value kept but may cause issues"} 
[2026-08-08 03:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786138507000,"timestamp_ms":1786138507000,"timestamp_seconds":1786138507,"priority":1,"record_length":96,"hex_timestamp":"0000019fde26b6f8"} 
[2026-08-08 03:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251454976001,"66":27332,"239":206,"2":56832,"24":5,"16":374315771465039872,"44":-1264878145754044416},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-08 03:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251454976001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:06:14] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 03:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315771465039872,"km_value":374315771465039.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264878145754044416,"description":"Unknown IO ID 44"} 
[2026-08-08 03:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251454976001,"power":27332,"unknown_239":206,"power_alt":56832,"ignition":5,"odometer":null,"unknown_44":-1264878145754044416}} 
[2026-08-08 03:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":152734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:06:14] local.INFO: GPS data processed {"connection_id":152734,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:06:14] local.INFO: Acknowledgment sent {"connection_id":152734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:06:45] local.INFO: TCP Data received {"connection_id":152734,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde26bae0012cee7200072e2f18003201542b..."} 
[2026-08-08 03:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde26bae0012cee7200072e2f18003201542b..."} 
[2026-08-08 03:06:45] local.INFO: Processing buffer {"connection_id":152734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde26bae0012cee7200072e2f18003201542b..."} 
[2026-08-08 03:06:45] local.INFO: Packet analysis {"connection_id":152734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:06:45] local.INFO: Extracted packet for processing {"connection_id":152734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde26"} 
[2026-08-08 03:06:45] local.INFO: GPS Element Parsed {"raw_longitude":753824256,"raw_latitude":120467224,"longitude_deg":75.3824256,"latitude_deg":12.0467224,"altitude":50,"angle":340,"satellites":43,"speed":9,"hex_longitude":"2cee7200","hex_latitude":"072e2f18","is_valid_coordinates":true} 
[2026-08-08 03:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251457792001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374315780054974464,"note":"Value kept but may cause issues"} 
[2026-08-08 03:06:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264878145753948160,"note":"Value kept but may cause issues"} 
[2026-08-08 03:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786138508000,"timestamp_ms":1786138508000,"timestamp_seconds":1786138508,"priority":1,"record_length":96,"hex_timestamp":"0000019fde26bae0"} 
[2026-08-08 03:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251457792001,"66":27213,"239":206,"2":56832,"24":9,"16":374315780054974464,"44":-1264878145753948160},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-08 03:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251457792001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:06:45] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 03:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374315780054974464,"km_value":374315780054974.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:06:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264878145753948160,"description":"Unknown IO ID 44"} 
[2026-08-08 03:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251457792001,"power":27213,"unknown_239":206,"power_alt":56832,"ignition":9,"odometer":null,"unknown_44":-1264878145753948160}} 
[2026-08-08 03:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":152734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:06:45] local.INFO: GPS data processed {"connection_id":152734,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:06:45] local.INFO: Acknowledgment sent {"connection_id":152734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:07:06] local.INFO: TCP Data received {"connection_id":150284,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:06] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:06] local.INFO: IMEI packet received {"connection_id":150284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":150284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:07:07] local.INFO: TCP Data received {"connection_id":150284,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:07] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:07] local.INFO: IMEI packet received {"connection_id":150284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":150284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:07:12] local.INFO: TCP Data received {"connection_id":150284,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:12] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:07:12] local.INFO: IMEI packet received {"connection_id":150284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":150284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:07:13] local.INFO: TCP Data received {"connection_id":150284,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde277a48012cedfb00072e1420004000fa2d..."} 
[2026-08-08 03:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde277a48012cedfb00072e1420004000fa2d..."} 
[2026-08-08 03:07:13] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde277a48012cedfb00072e1420004000fa2d..."} 
[2026-08-08 03:07:13] local.INFO: Packet analysis {"connection_id":150284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde27"} 
[2026-08-08 03:07:13] local.INFO: Extracted packet for processing {"connection_id":150284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde27"} 
[2026-08-08 03:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753793792,"raw_latitude":120460320,"longitude_deg":75.3793792,"latitude_deg":12.046032,"altitude":64,"angle":250,"satellites":45,"speed":36,"hex_longitude":"2cedfb00","hex_latitude":"072e1420","is_valid_coordinates":true} 
[2026-08-08 03:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251468032001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374317309063331840,"note":"Value kept but may cause issues"} 
[2026-08-08 03:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1288803518775263232,"note":"Value kept but may cause issues"} 
[2026-08-08 03:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786138557000,"timestamp_ms":1786138557000,"timestamp_seconds":1786138557,"priority":1,"record_length":96,"hex_timestamp":"0000019fde277a48"} 
[2026-08-08 03:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-08 03:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251468032001,"66":27343,"239":206,"2":56832,"24":36,"16":374317309063331840,"44":-1288803518775263232},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-08 03:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251468032001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:07:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 03:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374317309063331840,"km_value":374317309063331.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1288803518775263232,"description":"Unknown IO ID 44"} 
[2026-08-08 03:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251468032001,"power":27343,"unknown_239":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-1288803518775263232}} 
[2026-08-08 03:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":150284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:07:13] local.INFO: GPS data processed {"connection_id":150284,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:07:13] local.INFO: Acknowledgment sent {"connection_id":150284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:07:46] local.INFO: TCP Data received {"connection_id":150284,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde27a540012cedd7c0072e0768004500fa2d..."} 
[2026-08-08 03:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde27a540012cedd7c0072e0768004500fa2d..."} 
[2026-08-08 03:07:46] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde27a540012cedd7c0072e0768004500fa2d..."} 
[2026-08-08 03:07:46] local.INFO: Packet analysis {"connection_id":150284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde27"} 
[2026-08-08 03:07:46] local.INFO: Extracted packet for processing {"connection_id":150284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde27"} 
[2026-08-08 03:07:46] local.INFO: GPS Element Parsed {"raw_longitude":753784768,"raw_latitude":120457064,"longitude_deg":75.3784768,"latitude_deg":12.0457064,"altitude":69,"angle":250,"satellites":45,"speed":33,"hex_longitude":"2cedd7c0","hex_latitude":"072e0768","is_valid_coordinates":true} 
[2026-08-08 03:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251470592001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374317764329865216,"note":"Value kept but may cause issues"} 
[2026-08-08 03:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1298444036728414208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786138568000,"timestamp_ms":1786138568000,"timestamp_seconds":1786138568,"priority":1,"record_length":96,"hex_timestamp":"0000019fde27a540"} 
[2026-08-08 03:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:07: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-08-08 03:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:07: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-08-08 03:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251470592001,"66":27267,"239":206,"2":56832,"24":33,"16":374317764329865216,"44":-1298444036728414208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-08 03:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251470592001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:07:46] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 03:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374317764329865216,"km_value":374317764329865.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1298444036728414208,"description":"Unknown IO ID 44"} 
[2026-08-08 03:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251470592001,"power":27267,"unknown_239":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-1298444036728414208}} 
[2026-08-08 03:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":150284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:07:46] local.INFO: GPS data processed {"connection_id":150284,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:07:46] local.INFO: Acknowledgment sent {"connection_id":150284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:08:07] local.INFO: TCP Data received {"connection_id":150024,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:08:07] local.INFO: Processing buffer {"connection_id":150024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:08:07] local.INFO: IMEI packet received {"connection_id":150024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":150024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:08:10] local.INFO: TCP Data received {"connection_id":150024,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:08:10] local.INFO: Processing buffer {"connection_id":150024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:08:10] local.INFO: IMEI packet received {"connection_id":150024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":150024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:08:12] local.INFO: TCP Data received {"connection_id":150024,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde27cc50012cedb640072dfb80004900f82c..."} 
[2026-08-08 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde27cc50012cedb640072dfb80004900f82c..."} 
[2026-08-08 03:08:12] local.INFO: Processing buffer {"connection_id":150024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde27cc50012cedb640072dfb80004900f82c..."} 
[2026-08-08 03:08:12] local.INFO: Packet analysis {"connection_id":150024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde27"} 
[2026-08-08 03:08:12] local.INFO: Extracted packet for processing {"connection_id":150024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde27"} 
[2026-08-08 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753776192,"raw_latitude":120454016,"longitude_deg":75.3776192,"latitude_deg":12.0454016,"altitude":73,"angle":248,"satellites":44,"speed":37,"hex_longitude":"2cedb640","hex_latitude":"072dfb80","is_valid_coordinates":true} 
[2026-08-08 03:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251473408001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374318198121562112,"note":"Value kept but may cause issues"} 
[2026-08-08 03:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1308366029658298368,"note":"Value kept but may cause issues"} 
[2026-08-08 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786138578000,"timestamp_ms":1786138578000,"timestamp_seconds":1786138578,"priority":1,"record_length":96,"hex_timestamp":"0000019fde27cc50"} 
[2026-08-08 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251473408001,"66":27267,"239":206,"2":56832,"24":37,"16":374318198121562112,"44":-1308366029658298368},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-08 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251473408001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374318198121562112,"km_value":374318198121562.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1308366029658298368,"description":"Unknown IO ID 44"} 
[2026-08-08 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251473408001,"power":27267,"unknown_239":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-1308366029658298368}} 
[2026-08-08 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":150024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:08:12] local.INFO: GPS data processed {"connection_id":150024,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:08:12] local.INFO: Acknowledgment sent {"connection_id":150024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:08:43] local.INFO: TCP Data received {"connection_id":150024,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2927f8012cec0b00072d69500031010e27..."} 
[2026-08-08 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2927f8012cec0b00072d69500031010e27..."} 
[2026-08-08 03:08:43] local.INFO: Processing buffer {"connection_id":150024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2927f8012cec0b00072d69500031010e27..."} 
[2026-08-08 03:08:43] local.INFO: Packet analysis {"connection_id":150024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde29"} 
[2026-08-08 03:08:43] local.INFO: Extracted packet for processing {"connection_id":150024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde29"} 
[2026-08-08 03:08:43] local.INFO: GPS Element Parsed {"raw_longitude":753666816,"raw_latitude":120416592,"longitude_deg":75.3666816,"latitude_deg":12.0416592,"altitude":49,"angle":270,"satellites":39,"speed":50,"hex_longitude":"2cec0b00","hex_latitude":"072d6950","is_valid_coordinates":true} 
[2026-08-08 03:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251496704001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374323777284079616,"note":"Value kept but may cause issues"} 
[2026-08-08 03:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426796626119454720,"note":"Value kept but may cause issues"} 
[2026-08-08 03:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786138667000,"timestamp_ms":1786138667000,"timestamp_seconds":1786138667,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2927f8"} 
[2026-08-08 03:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251496704001,"66":27300,"12":206,"2":56832,"24":50,"16":374323777284079616,"44":-1426796626119454720},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-08 03:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251496704001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:08:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 03:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374323777284079616,"km_value":374323777284079.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426796626119454720,"description":"Unknown IO ID 44"} 
[2026-08-08 03:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251496704001,"power":27300,"unknown_12":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-1426796626119454720}} 
[2026-08-08 03:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":150024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:08:43] local.INFO: GPS data processed {"connection_id":150024,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:08:43] local.INFO: Acknowledgment sent {"connection_id":150024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:09:06] local.INFO: TCP Data received {"connection_id":150285,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:06] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:06] local.INFO: IMEI packet received {"connection_id":150285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":150285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:09:07] local.INFO: TCP Data received {"connection_id":150285,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:07] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:07] local.INFO: IMEI packet received {"connection_id":150285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":150285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:09:12] local.INFO: TCP Data received {"connection_id":150285,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:12] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:09:12] local.INFO: IMEI packet received {"connection_id":150285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":150285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:09:14] local.INFO: TCP Data received {"connection_id":150285,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde294738012cebe5c0072d6bf00034011328..."} 
[2026-08-08 03:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde294738012cebe5c0072d6bf00034011328..."} 
[2026-08-08 03:09:14] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde294738012cebe5c0072d6bf00034011328..."} 
[2026-08-08 03:09:14] local.INFO: Packet analysis {"connection_id":150285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde29"} 
[2026-08-08 03:09:14] local.INFO: Extracted packet for processing {"connection_id":150285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde29"} 
[2026-08-08 03:09:14] local.INFO: GPS Element Parsed {"raw_longitude":753657280,"raw_latitude":120417264,"longitude_deg":75.365728,"latitude_deg":12.0417264,"altitude":52,"angle":275,"satellites":40,"speed":42,"hex_longitude":"2cebe5c0","hex_latitude":"072d6bf0","is_valid_coordinates":true} 
[2026-08-08 03:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251498752001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374324232550612992,"note":"Value kept but may cause issues"} 
[2026-08-08 03:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1438055625188093952,"note":"Value kept but may cause issues"} 
[2026-08-08 03:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786138675000,"timestamp_ms":1786138675000,"timestamp_seconds":1786138675,"priority":1,"record_length":96,"hex_timestamp":"0000019fde294738"} 
[2026-08-08 03:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251498752001,"66":27310,"12":206,"2":56832,"24":42,"16":374324232550612992,"44":-1438055625188093952},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-08 03:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251498752001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:09:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 03:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374324232550612992,"km_value":374324232550613.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1438055625188093952,"description":"Unknown IO ID 44"} 
[2026-08-08 03:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251498752001,"power":27310,"unknown_12":206,"power_alt":56832,"ignition":42,"odometer":null,"unknown_44":-1438055625188093952}} 
[2026-08-08 03:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":150285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:09:14] local.INFO: GPS data processed {"connection_id":150285,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:09:14] local.INFO: Acknowledgment sent {"connection_id":150285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:09:45] local.INFO: TCP Data received {"connection_id":150285,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde296a60012cebbf00072d70d0003401162a..."} 
[2026-08-08 03:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde296a60012cebbf00072d70d0003401162a..."} 
[2026-08-08 03:09:45] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde296a60012cebbf00072d70d0003401162a..."} 
[2026-08-08 03:09:45] local.INFO: Packet analysis {"connection_id":150285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde29"} 
[2026-08-08 03:09:45] local.INFO: Extracted packet for processing {"connection_id":150285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde29"} 
[2026-08-08 03:09:45] local.INFO: GPS Element Parsed {"raw_longitude":753647360,"raw_latitude":120418512,"longitude_deg":75.364736,"latitude_deg":12.0418512,"altitude":52,"angle":278,"satellites":42,"speed":46,"hex_longitude":"2cebbf00","hex_latitude":"072d70d0","is_valid_coordinates":true} 
[2026-08-08 03:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251500800001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374324709291982848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:09:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1448540568070393856,"note":"Value kept but may cause issues"} 
[2026-08-08 03:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786138684000,"timestamp_ms":1786138684000,"timestamp_seconds":1786138684,"priority":1,"record_length":96,"hex_timestamp":"0000019fde296a60"} 
[2026-08-08 03:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 03:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251500800001,"66":27234,"12":206,"2":56832,"24":46,"16":374324709291982848,"44":-1448540568070393856},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-08 03:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251500800001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:09:45] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 03:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374324709291982848,"km_value":374324709291982.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:09:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1448540568070393856,"description":"Unknown IO ID 44"} 
[2026-08-08 03:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251500800001,"power":27234,"unknown_12":206,"power_alt":56832,"ignition":46,"odometer":null,"unknown_44":-1448540568070393856}} 
[2026-08-08 03:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":150285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:09:45] local.INFO: GPS data processed {"connection_id":150285,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:09:45] local.INFO: Acknowledgment sent {"connection_id":150285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:10:07] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:07] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:07] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:10:11] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:11] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:11] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:10:12] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:12] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:10:12] local.INFO: IMEI packet received {"connection_id":151267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":151267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:10:15] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2a8b70012cea9980072da9700027012628..."} 
[2026-08-08 03:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2a8b70012cea9980072da9700027012628..."} 
[2026-08-08 03:10:15] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2a8b70012cea9980072da9700027012628..."} 
[2026-08-08 03:10:15] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:10:15] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:10:15] local.INFO: GPS Element Parsed {"raw_longitude":753572224,"raw_latitude":120433008,"longitude_deg":75.3572224,"latitude_deg":12.0433008,"altitude":39,"angle":294,"satellites":40,"speed":30,"hex_longitude":"2cea9980","hex_latitude":"072da970","is_valid_coordinates":true} 
[2026-08-08 03:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251521536001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374328377194053632,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1540231041729998848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786138758000,"timestamp_ms":1786138758000,"timestamp_seconds":1786138758,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2a8b70"} 
[2026-08-08 03:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:10: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-08-08 03:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251521536001,"66":27267,"12":206,"2":56832,"24":30,"16":374328377194053632,"44":-1540231041729998848},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-08 03:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251521536001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:10:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 03:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374328377194053632,"km_value":374328377194053.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1540231041729998848,"description":"Unknown IO ID 44"} 
[2026-08-08 03:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251521536001,"power":27267,"unknown_12":206,"power_alt":56832,"ignition":30,"odometer":null,"unknown_44":-1540231041729998848}} 
[2026-08-08 03:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:10:15] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:10:15] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:10:18] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2a8f58012cea9680072daa700027011a29..."} 
[2026-08-08 03:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2a8f58012cea9680072daa700027011a29..."} 
[2026-08-08 03:10:18] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2a8f58012cea9680072daa700027011a29..."} 
[2026-08-08 03:10:18] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:10:18] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:10:18] local.INFO: GPS Element Parsed {"raw_longitude":753571456,"raw_latitude":120433264,"longitude_deg":75.3571456,"latitude_deg":12.0433264,"altitude":39,"angle":282,"satellites":41,"speed":30,"hex_longitude":"2cea9680","hex_latitude":"072daa70","is_valid_coordinates":true} 
[2026-08-08 03:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251522048001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374328415848759296,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542060629078478848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786138759000,"timestamp_ms":1786138759000,"timestamp_seconds":1786138759,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2a8f58"} 
[2026-08-08 03:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251522048001,"66":27267,"12":206,"2":56832,"24":30,"16":374328415848759296,"44":-1542060629078478848},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-08 03:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251522048001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:10:18] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 03:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374328415848759296,"km_value":374328415848759.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:10:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542060629078478848,"description":"Unknown IO ID 44"} 
[2026-08-08 03:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251522048001,"power":27267,"unknown_12":206,"power_alt":56832,"ignition":30,"odometer":null,"unknown_44":-1542060629078478848}} 
[2026-08-08 03:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:10:18] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:10:18] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:10:50] local.INFO: TCP Data received {"connection_id":151267,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2a9340012cea9380072daac80027010d28..."} 
[2026-08-08 03:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2a9340012cea9380072daac80027010d28..."} 
[2026-08-08 03:10:50] local.INFO: Processing buffer {"connection_id":151267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2a9340012cea9380072daac80027010d28..."} 
[2026-08-08 03:10:50] local.INFO: Packet analysis {"connection_id":151267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:10:50] local.INFO: Extracted packet for processing {"connection_id":151267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:10:50] local.INFO: GPS Element Parsed {"raw_longitude":753570688,"raw_latitude":120433352,"longitude_deg":75.3570688,"latitude_deg":12.0433352,"altitude":39,"angle":269,"satellites":40,"speed":29,"hex_longitude":"2cea9380","hex_latitude":"072daac8","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251522304001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374328450208497664,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542905054008545280,"note":"Value kept but may cause issues"} 
[2026-08-08 03:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786138760000,"timestamp_ms":1786138760000,"timestamp_seconds":1786138760,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2a9340"} 
[2026-08-08 03:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:10: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-08-08 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:10: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-08-08 03: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-08-08 03:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251522304001,"66":27310,"12":206,"2":56832,"24":29,"16":374328450208497664,"44":-1542905054008545280},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-08 03:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251522304001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:10:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 03:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374328450208497664,"km_value":374328450208497.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542905054008545280,"description":"Unknown IO ID 44"} 
[2026-08-08 03:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251522304001,"power":27310,"unknown_12":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-1542905054008545280}} 
[2026-08-08 03:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":151267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:10:50] local.INFO: GPS data processed {"connection_id":151267,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:10:50] local.INFO: Acknowledgment sent {"connection_id":151267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:11:07] local.INFO: TCP Data received {"connection_id":152735,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:11:07] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:11:07] local.INFO: IMEI packet received {"connection_id":152735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:11:12] local.INFO: TCP Data received {"connection_id":152735,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:11:12] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:11:12] local.INFO: IMEI packet received {"connection_id":152735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":152735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:11:14] local.INFO: TCP Data received {"connection_id":152735,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2ac220012cea6f80072daaf80028011229..."} 
[2026-08-08 03:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2ac220012cea6f80072daaf80028011229..."} 
[2026-08-08 03:11:14] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2ac220012cea6f80072daaf80028011229..."} 
[2026-08-08 03:11:14] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:11:14] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:11:14] local.INFO: GPS Element Parsed {"raw_longitude":753561472,"raw_latitude":120433400,"longitude_deg":75.3561472,"latitude_deg":12.04334,"altitude":40,"angle":274,"satellites":41,"speed":31,"hex_longitude":"2cea6f80","hex_latitude":"072daaf8","is_valid_coordinates":true} 
[2026-08-08 03:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251522560001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374328888295161856,"note":"Value kept but may cause issues"} 
[2026-08-08 03:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543749478938654720,"note":"Value kept but may cause issues"} 
[2026-08-08 03:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786138772000,"timestamp_ms":1786138772000,"timestamp_seconds":1786138772,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2ac220"} 
[2026-08-08 03:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 03:11: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-08-08 03:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251522560001,"66":27876,"14":206,"2":56832,"24":31,"16":374328888295161856,"44":-1543749478938654720},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-08 03:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251522560001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:11:14] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-08 03:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374328888295161856,"km_value":374328888295161.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543749478938654720,"description":"Unknown IO ID 44"} 
[2026-08-08 03:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251522560001,"power":27876,"unknown_14":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-1543749478938654720}} 
[2026-08-08 03:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:11:14] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:11:14] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:11:47] local.INFO: TCP Data received {"connection_id":152735,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2acdd8012cea67c0072dab780027010229..."} 
[2026-08-08 03:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2acdd8012cea67c0072dab780027010229..."} 
[2026-08-08 03:11:47] local.INFO: Processing buffer {"connection_id":152735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2acdd8012cea67c0072dab780027010229..."} 
[2026-08-08 03:11:47] local.INFO: Packet analysis {"connection_id":152735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:11:47] local.INFO: Extracted packet for processing {"connection_id":152735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2a"} 
[2026-08-08 03:11:47] local.INFO: GPS Element Parsed {"raw_longitude":753559488,"raw_latitude":120433528,"longitude_deg":75.3559488,"latitude_deg":12.0433528,"altitude":39,"angle":258,"satellites":41,"speed":19,"hex_longitude":"2cea67c0","hex_latitude":"072dab78","is_valid_coordinates":true} 
[2026-08-08 03:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251525632001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374328982784442368,"note":"Value kept but may cause issues"} 
[2026-08-08 03:11:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1553882578100226048,"note":"Value kept but may cause issues"} 
[2026-08-08 03:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786138775000,"timestamp_ms":1786138775000,"timestamp_seconds":1786138775,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2acdd8"} 
[2026-08-08 03:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 03:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251525632001,"66":27908,"14":206,"2":56832,"24":19,"16":374328982784442368,"44":-1553882578100226048},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-08 03:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251525632001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:11:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-08 03:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374328982784442368,"km_value":374328982784442.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:11:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1553882578100226048,"description":"Unknown IO ID 44"} 
[2026-08-08 03:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251525632001,"power":27908,"unknown_14":206,"power_alt":56832,"ignition":19,"odometer":null,"unknown_44":-1553882578100226048}} 
[2026-08-08 03:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":152735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:11:47] local.INFO: GPS data processed {"connection_id":152735,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:11:47] local.INFO: Acknowledgment sent {"connection_id":152735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:12:12] local.INFO: TCP Data received {"connection_id":150286,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:12] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:12] local.INFO: IMEI packet received {"connection_id":150286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":150286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:12:12] local.INFO: TCP Data received {"connection_id":150286,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:12] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:12] local.INFO: IMEI packet received {"connection_id":150286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":150286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:12:17] local.INFO: TCP Data received {"connection_id":150286,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:17] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:12:17] local.INFO: IMEI packet received {"connection_id":150286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":150286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:12:18] local.INFO: TCP Data received {"connection_id":150286,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2c3150012cea67c0072d66a0002d00ad2e..."} 
[2026-08-08 03:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2c3150012cea67c0072d66a0002d00ad2e..."} 
[2026-08-08 03:12:18] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2c3150012cea67c0072d66a0002d00ad2e..."} 
[2026-08-08 03:12:18] local.INFO: Packet analysis {"connection_id":150286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:12:18] local.INFO: Extracted packet for processing {"connection_id":150286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:12:18] local.INFO: GPS Element Parsed {"raw_longitude":753559488,"raw_latitude":120415904,"longitude_deg":75.3559488,"latitude_deg":12.0415904,"altitude":45,"angle":173,"satellites":46,"speed":0,"hex_longitude":"2cea67c0","hex_latitude":"072d66a0","is_valid_coordinates":true} 
[2026-08-08 03:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251544320001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374329880432607232,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556064009174212608,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786138866000,"timestamp_ms":1786138866000,"timestamp_seconds":1786138866,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2c3150"} 
[2026-08-08 03:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 03:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251544320001,"66":27321,"14":206,"2":56832,"24":0,"16":374329880432607232,"44":-1556064009174212608},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-08 03:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251544320001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:12:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-08 03:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374329880432607232,"km_value":374329880432607.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:12:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556064009174212608,"description":"Unknown IO ID 44"} 
[2026-08-08 03:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251544320001,"power":27321,"unknown_14":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1556064009174212608}} 
[2026-08-08 03:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":150286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:12:18] local.INFO: GPS data processed {"connection_id":150286,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:12:18] local.INFO: Acknowledgment sent {"connection_id":150286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:12:21] local.INFO: TCP Data received {"connection_id":150286,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2c8358012cea67c0072d66a0002d00ad2d..."} 
[2026-08-08 03:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2c8358012cea67c0072d66a0002d00ad2d..."} 
[2026-08-08 03:12:21] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2c8358012cea67c0072d66a0002d00ad2d..."} 
[2026-08-08 03:12:21] local.INFO: Packet analysis {"connection_id":150286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:12:21] local.INFO: Extracted packet for processing {"connection_id":150286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:12:21] local.INFO: GPS Element Parsed {"raw_longitude":753559488,"raw_latitude":120415904,"longitude_deg":75.3559488,"latitude_deg":12.0415904,"altitude":45,"angle":173,"satellites":45,"speed":0,"hex_longitude":"2cea67c0","hex_latitude":"072d66a0","is_valid_coordinates":true} 
[2026-08-08 03:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251549696001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374329880432607232,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556064009174212608,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786138887000,"timestamp_ms":1786138887000,"timestamp_seconds":1786138887,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2c8358"} 
[2026-08-08 03:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251549696001,"66":27332,"14":206,"2":56832,"24":0,"16":374329880432607232,"44":-1556064009174212608},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-08 03:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251549696001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-08 03:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374329880432607232,"km_value":374329880432607.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556064009174212608,"description":"Unknown IO ID 44"} 
[2026-08-08 03:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251549696001,"power":27332,"unknown_14":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1556064009174212608}} 
[2026-08-08 03:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":150286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:12:21] local.INFO: GPS data processed {"connection_id":150286,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:12:21] local.INFO: Acknowledgment sent {"connection_id":150286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:12:22] local.INFO: TCP Data received {"connection_id":150286,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2c9ac8012cea6900072d6468002f009d2f..."} 
[2026-08-08 03:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2c9ac8012cea6900072d6468002f009d2f..."} 
[2026-08-08 03:12:22] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2c9ac8012cea6900072d6468002f009d2f..."} 
[2026-08-08 03:12:22] local.INFO: Packet analysis {"connection_id":150286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:12:22] local.INFO: Extracted packet for processing {"connection_id":150286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:12:22] local.INFO: GPS Element Parsed {"raw_longitude":753559808,"raw_latitude":120415336,"longitude_deg":75.3559808,"latitude_deg":12.0415336,"altitude":47,"angle":157,"satellites":47,"speed":9,"hex_longitude":"2cea6900","hex_latitude":"072d6468","is_valid_coordinates":true} 
[2026-08-08 03:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251555072001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374329910497378304,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556064009174212608,"note":"Value kept but may cause issues"} 
[2026-08-08 03:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786138893000,"timestamp_ms":1786138893000,"timestamp_seconds":1786138893,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2c9ac8"} 
[2026-08-08 03:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:12: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-08-08 03:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251555072001,"66":27213,"14":206,"2":56832,"24":9,"16":374329910497378304,"44":-1556064009174212608},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-08 03:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251555072001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:12:22] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-08 03:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374329910497378304,"km_value":374329910497378.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556064009174212608,"description":"Unknown IO ID 44"} 
[2026-08-08 03:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251555072001,"power":27213,"unknown_14":206,"power_alt":56832,"ignition":9,"odometer":null,"unknown_44":-1556064009174212608}} 
[2026-08-08 03:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":150286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:12:22] local.INFO: GPS data processed {"connection_id":150286,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:12:22] local.INFO: Acknowledgment sent {"connection_id":150286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:13:05] local.INFO: TCP Data received {"connection_id":150287,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:05] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:05] local.INFO: IMEI packet received {"connection_id":150287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":150287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:13:07] local.INFO: TCP Data received {"connection_id":150287,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:07] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:07] local.INFO: IMEI packet received {"connection_id":150287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":150287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:13:12] local.INFO: TCP Data received {"connection_id":150287,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:12] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:13:12] local.INFO: IMEI packet received {"connection_id":150287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":150287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:13:13] local.INFO: TCP Data received {"connection_id":150287,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2cba08012cea6dc0072d5ab00030009130..."} 
[2026-08-08 03:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2cba08012cea6dc0072d5ab00030009130..."} 
[2026-08-08 03:13:13] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2cba08012cea6dc0072d5ab00030009130..."} 
[2026-08-08 03:13:13] local.INFO: Packet analysis {"connection_id":150287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:13:13] local.INFO: Extracted packet for processing {"connection_id":150287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753561024,"raw_latitude":120412848,"longitude_deg":75.3561024,"latitude_deg":12.0412848,"altitude":48,"angle":145,"satellites":48,"speed":17,"hex_longitude":"2cea6dc0","hex_latitude":"072d5ab0","is_valid_coordinates":true} 
[2026-08-08 03:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251556608001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374330047936331776,"note":"Value kept but may cause issues"} 
[2026-08-08 03:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555712165453469696,"note":"Value kept but may cause issues"} 
[2026-08-08 03:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786138901000,"timestamp_ms":1786138901000,"timestamp_seconds":1786138901,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2cba08"} 
[2026-08-08 03:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251556608001,"66":27158,"41":206,"2":56832,"24":17,"16":374330047936331776,"44":-1555712165453469696},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,44]} 
[2026-08-08 03:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251556608001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:13:13] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-08 03:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374330047936331776,"km_value":374330047936331.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555712165453469696,"description":"Unknown IO ID 44"} 
[2026-08-08 03:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251556608001,"power":27158,"unknown_41":206,"power_alt":56832,"ignition":17,"odometer":null,"unknown_44":-1555712165453469696}} 
[2026-08-08 03:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":150287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:13:13] local.INFO: GPS data processed {"connection_id":150287,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:13:13] local.INFO: Acknowledgment sent {"connection_id":150287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:13:45] local.INFO: TCP Data received {"connection_id":150287,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2cfc70012cea8240072d3e70002f00902e..."} 
[2026-08-08 03:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2cfc70012cea8240072d3e70002f00902e..."} 
[2026-08-08 03:13:45] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2cfc70012cea8240072d3e70002f00902e..."} 
[2026-08-08 03:13:45] local.INFO: Packet analysis {"connection_id":150287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:13:45] local.INFO: Extracted packet for processing {"connection_id":150287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2c"} 
[2026-08-08 03:13:45] local.INFO: GPS Element Parsed {"raw_longitude":753566272,"raw_latitude":120405616,"longitude_deg":75.3566272,"latitude_deg":12.0405616,"altitude":47,"angle":144,"satellites":46,"speed":25,"hex_longitude":"2cea8240","hex_latitude":"072d3e70","is_valid_coordinates":true} 
[2026-08-08 03:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251558656001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374330477433061376,"note":"Value kept but may cause issues"} 
[2026-08-08 03:13:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554375159314731008,"note":"Value kept but may cause issues"} 
[2026-08-08 03:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786138918000,"timestamp_ms":1786138918000,"timestamp_seconds":1786138918,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2cfc70"} 
[2026-08-08 03:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 03:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251558656001,"66":27365,"41":206,"2":56832,"24":25,"16":374330477433061376,"44":-1554375159314731008},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,44]} 
[2026-08-08 03:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251558656001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:13:45] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-08 03:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374330477433061376,"km_value":374330477433061.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:13:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554375159314731008,"description":"Unknown IO ID 44"} 
[2026-08-08 03:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251558656001,"power":27365,"unknown_41":206,"power_alt":56832,"ignition":25,"odometer":null,"unknown_44":-1554375159314731008}} 
[2026-08-08 03:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":150287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:13:45] local.INFO: GPS data processed {"connection_id":150287,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:13:45] local.INFO: Acknowledgment sent {"connection_id":150287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:14:08] local.INFO: TCP Data received {"connection_id":151268,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:14:08] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:14:08] local.INFO: IMEI packet received {"connection_id":151268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":151268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:14:13] local.INFO: TCP Data received {"connection_id":151268,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:14:13] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:14:13] local.INFO: IMEI packet received {"connection_id":151268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":151268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:14:15] local.INFO: TCP Data received {"connection_id":151268,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2d3320012cea9800072d2180002b00912f..."} 
[2026-08-08 03:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2d3320012cea9800072d2180002b00912f..."} 
[2026-08-08 03:14:15] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2d3320012cea9800072d2180002b00912f..."} 
[2026-08-08 03:14:15] local.INFO: Packet analysis {"connection_id":151268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2d"} 
[2026-08-08 03:14:15] local.INFO: Extracted packet for processing {"connection_id":151268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2d"} 
[2026-08-08 03:14:15] local.INFO: GPS Element Parsed {"raw_longitude":753571840,"raw_latitude":120398208,"longitude_deg":75.357184,"latitude_deg":12.0398208,"altitude":43,"angle":145,"satellites":47,"speed":24,"hex_longitude":"2cea9800","hex_latitude":"072d2180","is_valid_coordinates":true} 
[2026-08-08 03:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251563008001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374330924109660160,"note":"Value kept but may cause issues"} 
[2026-08-08 03:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1548604922294013952,"note":"Value kept but may cause issues"} 
[2026-08-08 03:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786138932000,"timestamp_ms":1786138932000,"timestamp_seconds":1786138932,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2d3320"} 
[2026-08-08 03:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:14: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-08-08 03:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251563008001,"66":27365,"41":206,"2":56832,"24":24,"16":374330924109660160,"44":-1548604922294013952},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,44]} 
[2026-08-08 03:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251563008001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:14:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-08 03:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374330924109660160,"km_value":374330924109660.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1548604922294013952,"description":"Unknown IO ID 44"} 
[2026-08-08 03:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251563008001,"power":27365,"unknown_41":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-1548604922294013952}} 
[2026-08-08 03:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":151268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:14:15] local.INFO: GPS data processed {"connection_id":151268,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:14:15] local.INFO: Acknowledgment sent {"connection_id":151268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:14:46] local.INFO: TCP Data received {"connection_id":151268,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2d6db8012ceaad80072d04d8002b008c2b..."} 
[2026-08-08 03:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2d6db8012ceaad80072d04d8002b008c2b..."} 
[2026-08-08 03:14:46] local.INFO: Processing buffer {"connection_id":151268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2d6db8012ceaad80072d04d8002b008c2b..."} 
[2026-08-08 03:14:46] local.INFO: Packet analysis {"connection_id":151268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2d"} 
[2026-08-08 03:14:46] local.INFO: Extracted packet for processing {"connection_id":151268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2d"} 
[2026-08-08 03:14:46] local.INFO: GPS Element Parsed {"raw_longitude":753577344,"raw_latitude":120390872,"longitude_deg":75.3577344,"latitude_deg":12.0390872,"altitude":43,"angle":140,"satellites":43,"speed":21,"hex_longitude":"2ceaad80","hex_latitude":"072d04d8","is_valid_coordinates":true} 
[2026-08-08 03:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251566592001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374331366491291648,"note":"Value kept but may cause issues"} 
[2026-08-08 03:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542482841552453632,"note":"Value kept but may cause issues"} 
[2026-08-08 03:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786138947000,"timestamp_ms":1786138947000,"timestamp_seconds":1786138947,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2d6db8"} 
[2026-08-08 03:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:14: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-08-08 03:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251566592001,"66":27463,"41":206,"2":56832,"24":21,"16":374331366491291648,"44":-1542482841552453632},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,44]} 
[2026-08-08 03:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251566592001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:14:46] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-08 03:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374331366491291648,"km_value":374331366491291.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542482841552453632,"description":"Unknown IO ID 44"} 
[2026-08-08 03:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251566592001,"power":27463,"unknown_41":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-1542482841552453632}} 
[2026-08-08 03:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":151268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:14:46] local.INFO: GPS data processed {"connection_id":151268,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:14:46] local.INFO: Acknowledgment sent {"connection_id":151268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:15:07] local.INFO: TCP Data received {"connection_id":150025,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:07] local.INFO: Processing buffer {"connection_id":150025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:07] local.INFO: IMEI packet received {"connection_id":150025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":150025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:15:08] local.INFO: TCP Data received {"connection_id":150025,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:08] local.INFO: Processing buffer {"connection_id":150025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:08] local.INFO: IMEI packet received {"connection_id":150025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":150025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:15:12] local.INFO: TCP Data received {"connection_id":150025,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:12] local.INFO: Processing buffer {"connection_id":150025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:15:12] local.INFO: IMEI packet received {"connection_id":150025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":150025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:15:31] local.INFO: TCP Data received {"connection_id":150025,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2ef070012ceb5580072c07c0002700a12c..."} 
[2026-08-08 03:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2ef070012ceb5580072c07c0002700a12c..."} 
[2026-08-08 03:15:31] local.INFO: Processing buffer {"connection_id":150025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2ef070012ceb5580072c07c0002700a12c..."} 
[2026-08-08 03:15:31] local.INFO: Packet analysis {"connection_id":150025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2e"} 
[2026-08-08 03:15:31] local.INFO: Extracted packet for processing {"connection_id":150025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2e"} 
[2026-08-08 03:15:31] local.INFO: GPS Element Parsed {"raw_longitude":753620352,"raw_latitude":120326080,"longitude_deg":75.3620352,"latitude_deg":12.032608,"altitude":39,"angle":161,"satellites":44,"speed":33,"hex_longitude":"2ceb5580","hex_latitude":"072c07c0","is_valid_coordinates":true} 
[2026-08-08 03:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251595008001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374335219076956160,"note":"Value kept but may cause issues"} 
[2026-08-08 03:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489706283437056000,"note":"Value kept but may cause issues"} 
[2026-08-08 03:15:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 03:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786139046000,"timestamp_ms":1786139046000,"timestamp_seconds":1786139046,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2ef070"} 
[2026-08-08 03:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251595008001,"66":27321,"24":33,"2":56832,"16":374335219076956160,"44":-1489706283437056000},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-08-08 03:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251595008001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374335219076956160,"km_value":374335219076956.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489706283437056000,"description":"Unknown IO ID 44"} 
[2026-08-08 03:15:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457251595008001,"power":27321,"ignition":33,"power_alt":56832,"odometer":null,"unknown_44":-1489706283437056000}} 
[2026-08-08 03:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":150025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:15:31] local.INFO: GPS data processed {"connection_id":150025,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:15:31] local.INFO: Acknowledgment sent {"connection_id":150025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:16:07] local.INFO: TCP Data received {"connection_id":152736,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:07] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:07] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:16:10] local.INFO: TCP Data received {"connection_id":152736,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:10] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:10] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:16:12] local.INFO: TCP Data received {"connection_id":152736,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:12] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:16:12] local.INFO: IMEI packet received {"connection_id":152736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":152736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:16:13] local.INFO: TCP Data received {"connection_id":152736,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2f1780012ceb6300072be3e80027009a2d..."} 
[2026-08-08 03:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2f1780012ceb6300072be3e80027009a2d..."} 
[2026-08-08 03:16:13] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2f1780012ceb6300072be3e80027009a2d..."} 
[2026-08-08 03:16:13] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2f"} 
[2026-08-08 03:16:13] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2f"} 
[2026-08-08 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":753623808,"raw_latitude":120316904,"longitude_deg":75.3623808,"latitude_deg":12.0316904,"altitude":39,"angle":154,"satellites":45,"speed":41,"hex_longitude":"2ceb6300","hex_latitude":"072be3e8","is_valid_coordinates":true} 
[2026-08-08 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251595776001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374335691523358720,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489143333484249088,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 03:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786139056000,"timestamp_ms":1786139056000,"timestamp_seconds":1786139056,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2f1780"} 
[2026-08-08 03:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251595776001,"66":27376,"24":41,"2":56832,"16":374335691523358720,"44":-1489143333484249088},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-08-08 03:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251595776001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374335691523358720,"km_value":374335691523358.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489143333484249088,"description":"Unknown IO ID 44"} 
[2026-08-08 03:16:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457251595776001,"power":27376,"ignition":41,"power_alt":56832,"odometer":null,"unknown_44":-1489143333484249088}} 
[2026-08-08 03:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:16:13] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:16:13] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:16:18] local.INFO: TCP Data received {"connection_id":152736,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde2f36c0012ceb7500072bc570002700962f..."} 
[2026-08-08 03:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde2f36c0012ceb7500072bc570002700962f..."} 
[2026-08-08 03:16:18] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde2f36c0012ceb7500072bc570002700962f..."} 
[2026-08-08 03:16:18] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde2f"} 
[2026-08-08 03:16:18] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde2f"} 
[2026-08-08 03:16:18] local.INFO: GPS Element Parsed {"raw_longitude":753628416,"raw_latitude":120309104,"longitude_deg":75.3628416,"latitude_deg":12.0309104,"altitude":39,"angle":150,"satellites":47,"speed":48,"hex_longitude":"2ceb7500","hex_latitude":"072bc570","is_valid_coordinates":true} 
[2026-08-08 03:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251598336001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374336129610022912,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485343421301004288,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 03:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786139064000,"timestamp_ms":1786139064000,"timestamp_seconds":1786139064,"priority":1,"record_length":96,"hex_timestamp":"0000019fde2f36c0"} 
[2026-08-08 03:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:16: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-08-08 03:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251598336001,"66":27376,"24":48,"2":56832,"16":374336129610022912,"44":-1485343421301004288},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-08-08 03:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251598336001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374336129610022912,"km_value":374336129610022.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485343421301004288,"description":"Unknown IO ID 44"} 
[2026-08-08 03:16:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457251598336001,"power":27376,"ignition":48,"power_alt":56832,"odometer":null,"unknown_44":-1485343421301004288}} 
[2026-08-08 03:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:16:18] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:16:18] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:16:49] local.INFO: TCP Data received {"connection_id":152736,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde309650012cec3580072a52d80028009f29..."} 
[2026-08-08 03:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde309650012cec3580072a52d80028009f29..."} 
[2026-08-08 03:16:49] local.INFO: Processing buffer {"connection_id":152736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde309650012cec3580072a52d80028009f29..."} 
[2026-08-08 03:16:49] local.INFO: Packet analysis {"connection_id":152736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde30"} 
[2026-08-08 03:16:49] local.INFO: Extracted packet for processing {"connection_id":152736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde30"} 
[2026-08-08 03:16:49] local.INFO: GPS Element Parsed {"raw_longitude":753677696,"raw_latitude":120214232,"longitude_deg":75.3677696,"latitude_deg":12.0214232,"altitude":40,"angle":159,"satellites":41,"speed":48,"hex_longitude":"2cec3580","hex_latitude":"072a52d8","is_valid_coordinates":true} 
[2026-08-08 03:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251621632001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374341502614110208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428555844773687296,"note":"Value kept but may cause issues"} 
[2026-08-08 03:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786139154000,"timestamp_ms":1786139154000,"timestamp_seconds":1786139154,"priority":1,"record_length":96,"hex_timestamp":"0000019fde309650"} 
[2026-08-08 03:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251621632001,"66":27463,"249":206,"2":56832,"24":48,"16":374341502614110208,"44":-1428555844773687296},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-08-08 03:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251621632001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 03:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374341502614110208,"km_value":374341502614110.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428555844773687296,"description":"Unknown IO ID 44"} 
[2026-08-08 03:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251621632001,"power":27463,"unknown_249":206,"power_alt":56832,"ignition":48,"odometer":null,"unknown_44":-1428555844773687296}} 
[2026-08-08 03:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":152736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:16:49] local.INFO: GPS data processed {"connection_id":152736,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:16:49] local.INFO: Acknowledgment sent {"connection_id":152736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:17:07] local.INFO: TCP Data received {"connection_id":151269,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:07] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:07] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:17:10] local.INFO: TCP Data received {"connection_id":151269,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:10] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:10] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:17:12] local.INFO: TCP Data received {"connection_id":151269,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:12] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:17:12] local.INFO: IMEI packet received {"connection_id":151269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":151269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:17:13] local.INFO: TCP Data received {"connection_id":151269,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde30b590012cec45c0072a2ef80026009b2d..."} 
[2026-08-08 03:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde30b590012cec45c0072a2ef80026009b2d..."} 
[2026-08-08 03:17:13] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde30b590012cec45c0072a2ef80026009b2d..."} 
[2026-08-08 03:17:13] local.INFO: Packet analysis {"connection_id":151269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde30"} 
[2026-08-08 03:17:13] local.INFO: Extracted packet for processing {"connection_id":151269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde30"} 
[2026-08-08 03:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753681856,"raw_latitude":120205048,"longitude_deg":75.3681856,"latitude_deg":12.0205048,"altitude":38,"angle":155,"satellites":45,"speed":50,"hex_longitude":"2cec45c0","hex_latitude":"072a2ef8","is_valid_coordinates":true} 
[2026-08-08 03:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251623424001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374341987945414656,"note":"Value kept but may cause issues"} 
[2026-08-08 03:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426092938729695232,"note":"Value kept but may cause issues"} 
[2026-08-08 03:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786139162000,"timestamp_ms":1786139162000,"timestamp_seconds":1786139162,"priority":1,"record_length":96,"hex_timestamp":"0000019fde30b590"} 
[2026-08-08 03:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:17: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-08-08 03:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251623424001,"66":26854,"32":206,"2":54272,"24":50,"16":374341987945414656,"44":-1426092938729695232},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251623424001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:17:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374341987945414656,"km_value":374341987945414.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426092938729695232,"description":"Unknown IO ID 44"} 
[2026-08-08 03:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251623424001,"power":26854,"unknown_32":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1426092938729695232}} 
[2026-08-08 03:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":151269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:17:13] local.INFO: GPS data processed {"connection_id":151269,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:17:13] local.INFO: Acknowledgment sent {"connection_id":151269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:17:45] local.INFO: TCP Data received {"connection_id":151269,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde30d4d0012cec5580072a0c88002700992b..."} 
[2026-08-08 03:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde30d4d0012cec5580072a0c88002700992b..."} 
[2026-08-08 03:17:45] local.INFO: Processing buffer {"connection_id":151269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde30d4d0012cec5580072a0c88002700992b..."} 
[2026-08-08 03:17:45] local.INFO: Packet analysis {"connection_id":151269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde30"} 
[2026-08-08 03:17:45] local.INFO: Extracted packet for processing {"connection_id":151269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde30"} 
[2026-08-08 03:17:45] local.INFO: GPS Element Parsed {"raw_longitude":753685888,"raw_latitude":120196232,"longitude_deg":75.3685888,"latitude_deg":12.0196232,"altitude":39,"angle":153,"satellites":43,"speed":47,"hex_longitude":"2cec5580","hex_latitude":"072a0c88","is_valid_coordinates":true} 
[2026-08-08 03:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251625472001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374342460391817216,"note":"Value kept but may cause issues"} 
[2026-08-08 03:17:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421518970360498176,"note":"Value kept but may cause issues"} 
[2026-08-08 03:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786139170000,"timestamp_ms":1786139170000,"timestamp_seconds":1786139170,"priority":1,"record_length":96,"hex_timestamp":"0000019fde30d4d0"} 
[2026-08-08 03:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-08 03:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251625472001,"66":27376,"32":206,"2":54272,"24":47,"16":374342460391817216,"44":-1421518970360498176},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251625472001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:17:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374342460391817216,"km_value":374342460391817.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:17:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421518970360498176,"description":"Unknown IO ID 44"} 
[2026-08-08 03:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251625472001,"power":27376,"unknown_32":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1421518970360498176}} 
[2026-08-08 03:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":151269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:17:45] local.INFO: GPS data processed {"connection_id":151269,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:17:45] local.INFO: Acknowledgment sent {"connection_id":151269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:18:12] local.INFO: TCP Data received {"connection_id":150026,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:12] local.INFO: Processing buffer {"connection_id":150026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:12] local.INFO: IMEI packet received {"connection_id":150026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":150026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:18:13] local.INFO: TCP Data received {"connection_id":150026,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:13] local.INFO: Processing buffer {"connection_id":150026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:13] local.INFO: IMEI packet received {"connection_id":150026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":150026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:18:17] local.INFO: TCP Data received {"connection_id":150026,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:17] local.INFO: Processing buffer {"connection_id":150026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:18:17] local.INFO: IMEI packet received {"connection_id":150026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":150026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:18:19] local.INFO: TCP Data received {"connection_id":150026,"ip":"117.225.174.164","data_length":1360,"data_hex":"000000000000030f8e0a0000019fde31d6a0012cec5ac00728caa0000c00af2b..."} 
[2026-08-08 03:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150026,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fde31d6a0012cec5ac00728caa0000c00af2b..."} 
[2026-08-08 03:18:19] local.INFO: Processing buffer {"connection_id":150026,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fde31d6a0012cec5ac00728caa0000c00af2b..."} 
[2026-08-08 03:18:19] local.INFO: Packet analysis {"connection_id":150026,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fde31"} 
[2026-08-08 03:18:19] local.INFO: Extracted packet for processing {"connection_id":150026,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fde31"} 
[2026-08-08 03:18:19] local.INFO: GPS Element Parsed {"raw_longitude":753687232,"raw_latitude":120113824,"longitude_deg":75.3687232,"latitude_deg":12.0113824,"altitude":12,"angle":175,"satellites":43,"speed":61,"hex_longitude":"2cec5ac0","hex_latitude":"0728caa0","is_valid_coordinates":true} 
[2026-08-08 03:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251642880001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374346613625192448,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416733895777402880,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786139236000,"timestamp_ms":1786139236000,"timestamp_seconds":1786139236,"priority":1,"record_length":96,"hex_timestamp":"0000019fde31d6a0"} 
[2026-08-08 03:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251642880001,"66":27213,"32":206,"2":54272,"24":61,"16":374346613625192448,"44":-1416733895777402880},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251642880001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:18:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374346613625192448,"km_value":374346613625192.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416733895777402880,"description":"Unknown IO ID 44"} 
[2026-08-08 03:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251642880001,"power":27213,"unknown_32":206,"power_alt":54272,"ignition":61,"odometer":null,"unknown_44":-1416733895777402880}} 
[2026-08-08 03:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":150026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:18:19] local.INFO: GPS data processed {"connection_id":150026,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:18:19] local.INFO: Acknowledgment sent {"connection_id":150026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:18:19] local.INFO: Packet analysis {"connection_id":150026,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fde31"} 
[2026-08-08 03:18:19] local.INFO: Incomplete packet, waiting for more data {"connection_id":150026,"needed":795,"available":565} 
[2026-08-08 03:18:20] local.INFO: TCP Data received {"connection_id":150026,"ip":"117.225.174.164","data_length":230,"data_hex":"2cec75800729a730002500c32a00350000000a000400ef0100715e00f0010045..."} 
[2026-08-08 03:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150026,"packet_length":230,"packet_hex":"2cec75800729a730002500c32a00350000000a000400ef0100715e00f0010045..."} 
[2026-08-08 03:18:20] local.INFO: Processing buffer {"connection_id":150026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde31ee10012cec5ec00728a768000900ad2b..."} 
[2026-08-08 03:18:20] local.INFO: Packet analysis {"connection_id":150026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde31"} 
[2026-08-08 03:18:20] local.INFO: Extracted packet for processing {"connection_id":150026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde31"} 
[2026-08-08 03:18:20] local.INFO: GPS Element Parsed {"raw_longitude":753688256,"raw_latitude":120104808,"longitude_deg":75.3688256,"latitude_deg":12.0104808,"altitude":9,"angle":173,"satellites":43,"speed":59,"hex_longitude":"2cec5ec0","hex_latitude":"0728a768","is_valid_coordinates":true} 
[2026-08-08 03:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251644416001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374347056006823936,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415607995872927744,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786139242000,"timestamp_ms":1786139242000,"timestamp_seconds":1786139242,"priority":1,"record_length":96,"hex_timestamp":"0000019fde31ee10"} 
[2026-08-08 03:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251644416001,"66":27365,"32":206,"2":54272,"24":59,"16":374347056006823936,"44":-1415607995872927744},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251644416001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374347056006823936,"km_value":374347056006823.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415607995872927744,"description":"Unknown IO ID 44"} 
[2026-08-08 03:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251644416001,"power":27365,"unknown_32":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-1415607995872927744}} 
[2026-08-08 03:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":150026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:18:20] local.INFO: GPS data processed {"connection_id":150026,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:18:20] local.INFO: Acknowledgment sent {"connection_id":150026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:18:22] local.INFO: TCP Data received {"connection_id":150026,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde320580012cec62c0072884e0000800ad2e..."} 
[2026-08-08 03:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde320580012cec62c0072884e0000800ad2e..."} 
[2026-08-08 03:18:22] local.INFO: Processing buffer {"connection_id":150026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde320580012cec62c0072884e0000800ad2e..."} 
[2026-08-08 03:18:22] local.INFO: Packet analysis {"connection_id":150026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:18:22] local.INFO: Extracted packet for processing {"connection_id":150026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:18:22] local.INFO: GPS Element Parsed {"raw_longitude":753689280,"raw_latitude":120095968,"longitude_deg":75.368928,"latitude_deg":12.0095968,"altitude":8,"angle":173,"satellites":46,"speed":58,"hex_longitude":"2cec62c0","hex_latitude":"072884e0","is_valid_coordinates":true} 
[2026-08-08 03:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251645952001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374347485503553536,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414482095968393216,"note":"Value kept but may cause issues"} 
[2026-08-08 03:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786139248000,"timestamp_ms":1786139248000,"timestamp_seconds":1786139248,"priority":1,"record_length":96,"hex_timestamp":"0000019fde320580"} 
[2026-08-08 03:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:18: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-08-08 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:18: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-08-08 03: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-08-08 03:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251645952001,"66":27343,"32":206,"2":54272,"24":58,"16":374347485503553536,"44":-1414482095968393216},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251645952001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:18:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374347485503553536,"km_value":374347485503553.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414482095968393216,"description":"Unknown IO ID 44"} 
[2026-08-08 03:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251645952001,"power":27343,"unknown_32":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-1414482095968393216}} 
[2026-08-08 03:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":150026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:18:22] local.INFO: GPS data processed {"connection_id":150026,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:18:22] local.INFO: Acknowledgment sent {"connection_id":150026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:19:07] local.INFO: TCP Data received {"connection_id":150027,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:19:07] local.INFO: Processing buffer {"connection_id":150027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:19:07] local.INFO: IMEI packet received {"connection_id":150027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":150027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:19:12] local.INFO: TCP Data received {"connection_id":150027,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:19:12] local.INFO: Processing buffer {"connection_id":150027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:19:12] local.INFO: IMEI packet received {"connection_id":150027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":150027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:19:13] local.INFO: TCP Data received {"connection_id":150027,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde321cf0012cec670007286278000900ac2e..."} 
[2026-08-08 03:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde321cf0012cec670007286278000900ac2e..."} 
[2026-08-08 03:19:13] local.INFO: Processing buffer {"connection_id":150027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde321cf0012cec670007286278000900ac2e..."} 
[2026-08-08 03:19:13] local.INFO: Packet analysis {"connection_id":150027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:19:13] local.INFO: Extracted packet for processing {"connection_id":150027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753690368,"raw_latitude":120087160,"longitude_deg":75.3690368,"latitude_deg":12.008716,"altitude":9,"angle":172,"satellites":46,"speed":59,"hex_longitude":"2cec6700","hex_latitude":"07286278","is_valid_coordinates":true} 
[2026-08-08 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251647488001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374347915000283136,"note":"Value kept but may cause issues"} 
[2026-08-08 03:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413356196063813632,"note":"Value kept but may cause issues"} 
[2026-08-08 03:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786139254000,"timestamp_ms":1786139254000,"timestamp_seconds":1786139254,"priority":1,"record_length":96,"hex_timestamp":"0000019fde321cf0"} 
[2026-08-08 03:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251647488001,"66":27343,"32":206,"2":54272,"24":59,"16":374347915000283136,"44":-1413356196063813632},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251647488001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:19:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374347915000283136,"km_value":374347915000283.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413356196063813632,"description":"Unknown IO ID 44"} 
[2026-08-08 03:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251647488001,"power":27343,"unknown_32":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-1413356196063813632}} 
[2026-08-08 03:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":150027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:19:13] local.INFO: GPS data processed {"connection_id":150027,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:19:13] local.INFO: Acknowledgment sent {"connection_id":150027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:19:45] local.INFO: TCP Data received {"connection_id":150027,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde323460012cec6b4007284000000900ac2e..."} 
[2026-08-08 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde323460012cec6b4007284000000900ac2e..."} 
[2026-08-08 03:19:45] local.INFO: Processing buffer {"connection_id":150027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde323460012cec6b4007284000000900ac2e..."} 
[2026-08-08 03:19:45] local.INFO: Packet analysis {"connection_id":150027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:19:45] local.INFO: Extracted packet for processing {"connection_id":150027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":753691456,"raw_latitude":120078336,"longitude_deg":75.3691456,"latitude_deg":12.0078336,"altitude":9,"angle":172,"satellites":46,"speed":57,"hex_longitude":"2cec6b40","hex_latitude":"07284000","is_valid_coordinates":true} 
[2026-08-08 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251649024001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374348348791980032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:19:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412159927415048192,"note":"Value kept but may cause issues"} 
[2026-08-08 03:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786139260000,"timestamp_ms":1786139260000,"timestamp_seconds":1786139260,"priority":1,"record_length":96,"hex_timestamp":"0000019fde323460"} 
[2026-08-08 03:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251649024001,"66":27365,"32":206,"2":54272,"24":57,"16":374348348791980032,"44":-1412159927415048192},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251649024001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:19:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374348348791980032,"km_value":374348348791980.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:19:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412159927415048192,"description":"Unknown IO ID 44"} 
[2026-08-08 03:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251649024001,"power":27365,"unknown_32":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-1412159927415048192}} 
[2026-08-08 03:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":150027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:19:45] local.INFO: GPS data processed {"connection_id":150027,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:19:45] local.INFO: Acknowledgment sent {"connection_id":150027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:20:09] local.INFO: TCP Data received {"connection_id":150288,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:09] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:09] local.INFO: IMEI packet received {"connection_id":150288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":150288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:20:14] local.INFO: TCP Data received {"connection_id":150288,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:14] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:14] local.INFO: IMEI packet received {"connection_id":150288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":150288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:20:17] local.INFO: TCP Data received {"connection_id":150288,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:17] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:20:17] local.INFO: IMEI packet received {"connection_id":150288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":150288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:20:31] local.INFO: TCP Data received {"connection_id":150288,"ip":"117.225.174.164","data_length":1360,"data_hex":"000000000000030f8e0a0000019fde324fb8012cec700007281970000900ad2f..."} 
[2026-08-08 03:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fde324fb8012cec700007281970000900ad2f..."} 
[2026-08-08 03:20:31] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fde324fb8012cec700007281970000900ad2f..."} 
[2026-08-08 03:20:31] local.INFO: Packet analysis {"connection_id":150288,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:31] local.INFO: Extracted packet for processing {"connection_id":150288,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:31] local.INFO: GPS Element Parsed {"raw_longitude":753692672,"raw_latitude":120068464,"longitude_deg":75.3692672,"latitude_deg":12.0068464,"altitude":9,"angle":173,"satellites":47,"speed":55,"hex_longitude":"2cec7000","hex_latitude":"07281970","is_valid_coordinates":true} 
[2026-08-08 03:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251650560001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374348829828317184,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410963658766286848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786139267000,"timestamp_ms":1786139267000,"timestamp_seconds":1786139267,"priority":1,"record_length":96,"hex_timestamp":"0000019fde324fb8"} 
[2026-08-08 03:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251650560001,"66":27332,"32":206,"2":54272,"24":55,"16":374348829828317184,"44":-1410963658766286848},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251650560001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374348829828317184,"km_value":374348829828317.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410963658766286848,"description":"Unknown IO ID 44"} 
[2026-08-08 03:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251650560001,"power":27332,"unknown_32":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-1410963658766286848}} 
[2026-08-08 03:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":150288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:20:31] local.INFO: GPS data processed {"connection_id":150288,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:20:31] local.INFO: Acknowledgment sent {"connection_id":150288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:20:31] local.INFO: Packet analysis {"connection_id":150288,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:31] local.INFO: Incomplete packet, waiting for more data {"connection_id":150288,"needed":795,"available":565} 
[2026-08-08 03:20:34] local.INFO: TCP Data received {"connection_id":150288,"ip":"117.225.174.164","data_length":1025,"data_hex":"2cec56c00728eec0001100af2c003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-08 03:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":1025,"packet_hex":"2cec56c00728eec0001100af2c003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-08 03:20:34] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fde326b10012cec74000727f5f8000900ac2e..."} 
[2026-08-08 03:20:34] local.INFO: Packet analysis {"connection_id":150288,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:34] local.INFO: Extracted packet for processing {"connection_id":150288,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":753693696,"raw_latitude":120059384,"longitude_deg":75.3693696,"latitude_deg":12.0059384,"altitude":9,"angle":172,"satellites":46,"speed":46,"hex_longitude":"2cec7400","hex_latitude":"0727f5f8","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251652352001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374349272209948672,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409626652629438464,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786139274000,"timestamp_ms":1786139274000,"timestamp_seconds":1786139274,"priority":1,"record_length":96,"hex_timestamp":"0000019fde326b10"} 
[2026-08-08 03:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03: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-08-08 03:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":150288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251652352001,"66":27300,"33":206,"2":54272,"24":46,"16":374349272209948672,"44":-1409626652629438464},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251652352001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374349272209948672,"km_value":374349272209948.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409626652629438464,"description":"Unknown IO ID 44"} 
[2026-08-08 03:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251652352001,"power":27300,"unknown_33":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-1409626652629438464}} 
[2026-08-08 03:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":150288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:20:34] local.INFO: GPS data processed {"connection_id":150288,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:20:34] local.INFO: Acknowledgment sent {"connection_id":150288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:20:34] local.INFO: Packet analysis {"connection_id":150288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:34] local.INFO: Extracted packet for processing {"connection_id":150288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde32"} 
[2026-08-08 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120050128,"longitude_deg":75.3694656,"latitude_deg":12.0050128,"altitude":10,"angle":176,"satellites":48,"speed":39,"hex_longitude":"2cec77c0","hex_latitude":"0727d1d0","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251654144001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374349723181514752,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408500752724920320,"note":"Value kept but may cause issues"} 
[2026-08-08 03:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786139283000,"timestamp_ms":1786139283000,"timestamp_seconds":1786139283,"priority":1,"record_length":96,"hex_timestamp":"0000019fde328e38"} 
[2026-08-08 03:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03: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-08-08 03: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-08-08 03:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":150288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251654144001,"66":27463,"33":206,"2":54272,"24":39,"16":374349723181514752,"44":-1408500752724920320},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251654144001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374349723181514752,"km_value":374349723181514.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:20:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408500752724920320,"description":"Unknown IO ID 44"} 
[2026-08-08 03:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251654144001,"power":27463,"unknown_33":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1408500752724920320}} 
[2026-08-08 03:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":150288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:20:34] local.INFO: GPS data processed {"connection_id":150288,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:20:34] local.INFO: Acknowledgment sent {"connection_id":150288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:21:07] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:21:07] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:21:07] local.INFO: IMEI packet received {"connection_id":151270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":151270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:21:11] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:21:11] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:21:11] local.INFO: IMEI packet received {"connection_id":151270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":151270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:21:15] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde344f70012cec9e40072639380026009d34..."} 
[2026-08-08 03:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde344f70012cec9e40072639380026009d34..."} 
[2026-08-08 03:21:15] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde344f70012cec9e40072639380026009d34..."} 
[2026-08-08 03:21:15] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:21:15] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:21:15] local.INFO: GPS Element Parsed {"raw_longitude":753704512,"raw_latitude":119945528,"longitude_deg":75.3704512,"latitude_deg":11.9945528,"altitude":38,"angle":157,"satellites":52,"speed":55,"hex_longitude":"2cec9e40","hex_latitude":"07263938","is_valid_coordinates":true} 
[2026-08-08 03:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251684864001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374354924386910208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1398367653591185408,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786139398000,"timestamp_ms":1786139398000,"timestamp_seconds":1786139398,"priority":1,"record_length":96,"hex_timestamp":"0000019fde344f70"} 
[2026-08-08 03:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:21: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-08-08 03:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251684864001,"66":27376,"234":206,"2":54272,"24":55,"16":374354924386910208,"44":-1398367653591185408},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-08-08 03:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251684864001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:21:15] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 03:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374354924386910208,"km_value":374354924386910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1398367653591185408,"description":"Unknown IO ID 44"} 
[2026-08-08 03:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251684864001,"power":27376,"unknown_234":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-1398367653591185408}} 
[2026-08-08 03:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:21:15] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:21:15] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:21:18] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde345b28012ceca60007262a700025009234..."} 
[2026-08-08 03:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde345b28012ceca60007262a700025009234..."} 
[2026-08-08 03:21:18] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde345b28012ceca60007262a700025009234..."} 
[2026-08-08 03:21:18] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:21:18] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:21:18] local.INFO: GPS Element Parsed {"raw_longitude":753706496,"raw_latitude":119941744,"longitude_deg":75.3706496,"latitude_deg":11.9941744,"altitude":37,"angle":146,"satellites":52,"speed":57,"hex_longitude":"2ceca600","hex_latitude":"07262a70","is_valid_coordinates":true} 
[2026-08-08 03:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251685888001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374355130545340416,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396608434988042240,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786139401000,"timestamp_ms":1786139401000,"timestamp_seconds":1786139401,"priority":1,"record_length":96,"hex_timestamp":"0000019fde345b28"} 
[2026-08-08 03:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:21: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-08-08 03:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251685888001,"66":27332,"234":206,"2":54272,"24":57,"16":374355130545340416,"44":-1396608434988042240},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-08-08 03:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251685888001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:21:18] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 03:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374355130545340416,"km_value":374355130545340.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396608434988042240,"description":"Unknown IO ID 44"} 
[2026-08-08 03:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251685888001,"power":27332,"unknown_234":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-1396608434988042240}} 
[2026-08-08 03:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:21:18] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:21:18] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:21:52] local.INFO: TCP Data received {"connection_id":151270,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde347680012cecbfc007260b600022008d33..."} 
[2026-08-08 03:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde347680012cecbfc007260b600022008d33..."} 
[2026-08-08 03:21:52] local.INFO: Processing buffer {"connection_id":151270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde347680012cecbfc007260b600022008d33..."} 
[2026-08-08 03:21:52] local.INFO: Packet analysis {"connection_id":151270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:21:52] local.INFO: Extracted packet for processing {"connection_id":151270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":753713088,"raw_latitude":119933792,"longitude_deg":75.3713088,"latitude_deg":11.9933792,"altitude":34,"angle":141,"satellites":51,"speed":57,"hex_longitude":"2cecbfc0","hex_latitude":"07260b60","is_valid_coordinates":true} 
[2026-08-08 03:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251686656001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374355624466579456,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394427003919503360,"note":"Value kept but may cause issues"} 
[2026-08-08 03:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786139408000,"timestamp_ms":1786139408000,"timestamp_seconds":1786139408,"priority":1,"record_length":96,"hex_timestamp":"0000019fde347680"} 
[2026-08-08 03:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251686656001,"66":27321,"234":206,"2":54272,"24":57,"16":374355624466579456,"44":-1394427003919503360},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-08-08 03:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251686656001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:21:52] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 03:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374355624466579456,"km_value":374355624466579.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394427003919503360,"description":"Unknown IO ID 44"} 
[2026-08-08 03:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251686656001,"power":27321,"unknown_234":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-1394427003919503360}} 
[2026-08-08 03:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":151270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:21:52] local.INFO: GPS data processed {"connection_id":151270,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:21:52] local.INFO: Acknowledgment sent {"connection_id":151270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:22:14] local.INFO: TCP Data received {"connection_id":150289,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:14] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:14] local.INFO: IMEI packet received {"connection_id":150289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":150289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:22:17] local.INFO: TCP Data received {"connection_id":150289,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:17] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:17] local.INFO: IMEI packet received {"connection_id":150289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":150289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:22:18] local.INFO: TCP Data received {"connection_id":150289,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:18] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:18] local.INFO: IMEI packet received {"connection_id":150289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":150289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:22:25] local.INFO: TCP Data received {"connection_id":150289,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:25] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:22:25] local.INFO: IMEI packet received {"connection_id":150289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":150289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:22:27] local.INFO: TCP Data received {"connection_id":150289,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3491d8012cecd8800725ee380020008a33..."} 
[2026-08-08 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3491d8012cecd8800725ee380020008a33..."} 
[2026-08-08 03:22:27] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3491d8012cecd8800725ee380020008a33..."} 
[2026-08-08 03:22:27] local.INFO: Packet analysis {"connection_id":150289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:22:27] local.INFO: Extracted packet for processing {"connection_id":150289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":753719424,"raw_latitude":119926328,"longitude_deg":75.3719424,"latitude_deg":11.9926328,"altitude":32,"angle":138,"satellites":51,"speed":53,"hex_longitude":"2cecd880","hex_latitude":"0725ee38","is_valid_coordinates":true} 
[2026-08-08 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251688448001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374356096912982016,"note":"Value kept but may cause issues"} 
[2026-08-08 03:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387179023271239680,"note":"Value kept but may cause issues"} 
[2026-08-08 03:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786139415000,"timestamp_ms":1786139415000,"timestamp_seconds":1786139415,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3491d8"} 
[2026-08-08 03:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251688448001,"66":27300,"234":206,"2":54272,"24":53,"16":374356096912982016,"44":-1387179023271239680},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-08-08 03:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251688448001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:22:27] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 03:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374356096912982016,"km_value":374356096912982.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387179023271239680,"description":"Unknown IO ID 44"} 
[2026-08-08 03:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251688448001,"power":27300,"unknown_234":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1387179023271239680}} 
[2026-08-08 03:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":150289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:22:27] local.INFO: GPS data processed {"connection_id":150289,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:22:27] local.INFO: Acknowledgment sent {"connection_id":150289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:22:28] local.INFO: TCP Data received {"connection_id":150289,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde34b118012cecefc00725d2d8001f008f34..."} 
[2026-08-08 03:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde34b118012cecefc00725d2d8001f008f34..."} 
[2026-08-08 03:22:28] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde34b118012cecefc00725d2d8001f008f34..."} 
[2026-08-08 03:22:28] local.INFO: Packet analysis {"connection_id":150289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:22:28] local.INFO: Extracted packet for processing {"connection_id":150289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde34"} 
[2026-08-08 03:22:28] local.INFO: GPS Element Parsed {"raw_longitude":753725376,"raw_latitude":119919320,"longitude_deg":75.3725376,"latitude_deg":11.991932,"altitude":31,"angle":143,"satellites":52,"speed":36,"hex_longitude":"2cecefc0","hex_latitude":"0725d2d8","is_valid_coordinates":true} 
[2026-08-08 03:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251690240001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374356539294613504,"note":"Value kept but may cause issues"} 
[2026-08-08 03:22:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1380212517599561728,"note":"Value kept but may cause issues"} 
[2026-08-08 03:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786139423000,"timestamp_ms":1786139423000,"timestamp_seconds":1786139423,"priority":1,"record_length":96,"hex_timestamp":"0000019fde34b118"} 
[2026-08-08 03:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":150289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":150289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":150289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251690240001,"66":27332,"234":206,"2":54272,"24":36,"16":374356539294613504,"44":-1380212517599561728},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-08-08 03:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251690240001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:22:28] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 03:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374356539294613504,"km_value":374356539294613.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:22:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1380212517599561728,"description":"Unknown IO ID 44"} 
[2026-08-08 03:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251690240001,"power":27332,"unknown_234":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1380212517599561728}} 
[2026-08-08 03:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":150289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:22:28] local.INFO: GPS data processed {"connection_id":150289,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:22:28] local.INFO: Acknowledgment sent {"connection_id":150289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:23:04] local.INFO: TCP Data received {"connection_id":152737,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:04] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:04] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:23:08] local.INFO: TCP Data received {"connection_id":152737,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:08] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:08] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:23:12] local.INFO: TCP Data received {"connection_id":152737,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:12] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:23:12] local.INFO: IMEI packet received {"connection_id":152737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":152737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:23:13] local.INFO: TCP Data received {"connection_id":152737,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde361c60012ced81800724b8e0002b00ba33..."} 
[2026-08-08 03:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde361c60012ced81800724b8e0002b00ba33..."} 
[2026-08-08 03:23:13] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde361c60012ced81800724b8e0002b00ba33..."} 
[2026-08-08 03:23:13] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde36"} 
[2026-08-08 03:23:13] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde36"} 
[2026-08-08 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753762688,"raw_latitude":119847136,"longitude_deg":75.3762688,"latitude_deg":11.9847136,"altitude":43,"angle":186,"satellites":51,"speed":39,"hex_longitude":"2ced8180","hex_latitude":"0724b8e0","is_valid_coordinates":true} 
[2026-08-08 03:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251713792001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374360576563871744,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332643246553802752,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786139516000,"timestamp_ms":1786139516000,"timestamp_seconds":1786139516,"priority":1,"record_length":96,"hex_timestamp":"0000019fde361c60"} 
[2026-08-08 03:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:23: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-08-08 03:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251713792001,"66":27343,"226":206,"2":54272,"24":39,"16":374360576563871744,"44":-1332643246553802752},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,2,24,16,44]} 
[2026-08-08 03:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251713792001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:23:13] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-08 03:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374360576563871744,"km_value":374360576563871.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332643246553802752,"description":"Unknown IO ID 44"} 
[2026-08-08 03:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251713792001,"power":27343,"unknown_226":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1332643246553802752}} 
[2026-08-08 03:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:23:13] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:23:13] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:23:14] local.INFO: TCP Data received {"connection_id":152737,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde363f88012ced7ac0072493c8002800bf30..."} 
[2026-08-08 03:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde363f88012ced7ac0072493c8002800bf30..."} 
[2026-08-08 03:23:14] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde363f88012ced7ac0072493c8002800bf30..."} 
[2026-08-08 03:23:14] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde36"} 
[2026-08-08 03:23:14] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde36"} 
[2026-08-08 03:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753760960,"raw_latitude":119837640,"longitude_deg":75.376096,"latitude_deg":11.983764,"altitude":40,"angle":191,"satellites":48,"speed":47,"hex_longitude":"2ced7ac0","hex_latitude":"072493c8","is_valid_coordinates":true} 
[2026-08-08 03:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251716096001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374361044715307008,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332643246555734016,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786139525000,"timestamp_ms":1786139525000,"timestamp_seconds":1786139525,"priority":1,"record_length":96,"hex_timestamp":"0000019fde363f88"} 
[2026-08-08 03:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:23: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-08-08 03:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251716096001,"66":27267,"226":206,"2":54272,"24":47,"16":374361044715307008,"44":-1332643246555734016},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,2,24,16,44]} 
[2026-08-08 03:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251716096001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:23:14] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-08 03:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374361044715307008,"km_value":374361044715307.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332643246555734016,"description":"Unknown IO ID 44"} 
[2026-08-08 03:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251716096001,"power":27267,"unknown_226":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1332643246555734016}} 
[2026-08-08 03:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:23:14] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:23:14] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:23:45] local.INFO: TCP Data received {"connection_id":152737,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde365ae0012ced728007247150002500c231..."} 
[2026-08-08 03:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde365ae0012ced728007247150002500c231..."} 
[2026-08-08 03:23:45] local.INFO: Processing buffer {"connection_id":152737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde365ae0012ced728007247150002500c231..."} 
[2026-08-08 03:23:45] local.INFO: Packet analysis {"connection_id":152737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde36"} 
[2026-08-08 03:23:45] local.INFO: Extracted packet for processing {"connection_id":152737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde36"} 
[2026-08-08 03:23:45] local.INFO: GPS Element Parsed {"raw_longitude":753758848,"raw_latitude":119828816,"longitude_deg":75.3758848,"latitude_deg":11.9828816,"altitude":37,"angle":194,"satellites":49,"speed":54,"hex_longitude":"2ced7280","hex_latitude":"07247150","is_valid_coordinates":true} 
[2026-08-08 03:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251718400001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374361487096938496,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334543202650961920,"note":"Value kept but may cause issues"} 
[2026-08-08 03:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786139532000,"timestamp_ms":1786139532000,"timestamp_seconds":1786139532,"priority":1,"record_length":96,"hex_timestamp":"0000019fde365ae0"} 
[2026-08-08 03:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:23: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-08-08 03:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251718400001,"66":27321,"226":206,"2":54272,"24":54,"16":374361487096938496,"44":-1334543202650961920},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,2,24,16,44]} 
[2026-08-08 03:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251718400001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:23:45] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-08 03:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374361487096938496,"km_value":374361487096938.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334543202650961920,"description":"Unknown IO ID 44"} 
[2026-08-08 03:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251718400001,"power":27321,"unknown_226":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-1334543202650961920}} 
[2026-08-08 03:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":152737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:23:45] local.INFO: GPS data processed {"connection_id":152737,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:23:45] local.INFO: Acknowledgment sent {"connection_id":152737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:24:08] local.INFO: TCP Data received {"connection_id":150028,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:08] local.INFO: Processing buffer {"connection_id":150028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:08] local.INFO: IMEI packet received {"connection_id":150028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":150028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:24:09] local.INFO: TCP Data received {"connection_id":150028,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:09] local.INFO: Processing buffer {"connection_id":150028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:09] local.INFO: IMEI packet received {"connection_id":150028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":150028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:24:13] local.INFO: TCP Data received {"connection_id":150028,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:13] local.INFO: Processing buffer {"connection_id":150028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:24:13] local.INFO: IMEI packet received {"connection_id":150028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":150028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:24:14] local.INFO: TCP Data received {"connection_id":150028,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde374928012cecccc0072361c0001e00ed31..."} 
[2026-08-08 03:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde374928012cecccc0072361c0001e00ed31..."} 
[2026-08-08 03:24:14] local.INFO: Processing buffer {"connection_id":150028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde374928012cecccc0072361c0001e00ed31..."} 
[2026-08-08 03:24:14] local.INFO: Packet analysis {"connection_id":150028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:24:14] local.INFO: Extracted packet for processing {"connection_id":150028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:24:14] local.INFO: GPS Element Parsed {"raw_longitude":753716416,"raw_latitude":119759296,"longitude_deg":75.3716416,"latitude_deg":11.9759296,"altitude":30,"angle":237,"satellites":49,"speed":54,"hex_longitude":"2cecccc0","hex_latitude":"072361c0","is_valid_coordinates":true} 
[2026-08-08 03:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251734016001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374365511481294848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1374934861827678208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786139593000,"timestamp_ms":1786139593000,"timestamp_seconds":1786139593,"priority":1,"record_length":96,"hex_timestamp":"0000019fde374928"} 
[2026-08-08 03:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:24: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-08-08 03:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251734016001,"66":27267,"235":206,"2":54272,"24":54,"16":374365511481294848,"44":-1374934861827678208},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-08-08 03:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251734016001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:24:14] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 03:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374365511481294848,"km_value":374365511481294.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1374934861827678208,"description":"Unknown IO ID 44"} 
[2026-08-08 03:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251734016001,"power":27267,"unknown_235":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-1374934861827678208}} 
[2026-08-08 03:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:24:14] local.INFO: GPS data processed {"connection_id":150028,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:24:14] local.INFO: Acknowledgment sent {"connection_id":150028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:24:15] local.INFO: TCP Data received {"connection_id":150028,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde376098012cecaf4007235300001e00f931..."} 
[2026-08-08 03:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde376098012cecaf4007235300001e00f931..."} 
[2026-08-08 03:24:15] local.INFO: Processing buffer {"connection_id":150028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde376098012cecaf4007235300001e00f931..."} 
[2026-08-08 03:24:15] local.INFO: Packet analysis {"connection_id":150028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:24:15] local.INFO: Extracted packet for processing {"connection_id":150028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:24:15] local.INFO: GPS Element Parsed {"raw_longitude":753708864,"raw_latitude":119755520,"longitude_deg":75.3708864,"latitude_deg":11.975552,"altitude":30,"angle":249,"satellites":49,"speed":56,"hex_longitude":"2cecaf40","hex_latitude":"07235300","is_valid_coordinates":true} 
[2026-08-08 03:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251735808001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374365915208220672,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383519848618672128,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786139599000,"timestamp_ms":1786139599000,"timestamp_seconds":1786139599,"priority":1,"record_length":96,"hex_timestamp":"0000019fde376098"} 
[2026-08-08 03:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251735808001,"66":27234,"235":206,"2":54272,"24":56,"16":374365915208220672,"44":-1383519848618672128},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-08-08 03:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251735808001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:24:15] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 03:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374365915208220672,"km_value":374365915208220.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383519848618672128,"description":"Unknown IO ID 44"} 
[2026-08-08 03:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251735808001,"power":27234,"unknown_235":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-1383519848618672128}} 
[2026-08-08 03:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":150028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:24:15] local.INFO: GPS data processed {"connection_id":150028,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:24:15] local.INFO: Acknowledgment sent {"connection_id":150028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:24:47] local.INFO: TCP Data received {"connection_id":150028,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde377808012cec8dc007234a68001d010431..."} 
[2026-08-08 03:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde377808012cec8dc007234a68001d010431..."} 
[2026-08-08 03:24:47] local.INFO: Processing buffer {"connection_id":150028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde377808012cec8dc007234a68001d010431..."} 
[2026-08-08 03:24:47] local.INFO: Packet analysis {"connection_id":150028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:24:47] local.INFO: Extracted packet for processing {"connection_id":150028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:24:47] local.INFO: GPS Element Parsed {"raw_longitude":753700288,"raw_latitude":119753320,"longitude_deg":75.3700288,"latitude_deg":11.975332,"altitude":29,"angle":260,"satellites":49,"speed":59,"hex_longitude":"2cec8dc0","hex_latitude":"07234a68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 03:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251737344001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374366336115015680,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1391823360432603136,"note":"Value kept but may cause issues"} 
[2026-08-08 03:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786139605000,"timestamp_ms":1786139605000,"timestamp_seconds":1786139605,"priority":1,"record_length":96,"hex_timestamp":"0000019fde377808"} 
[2026-08-08 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-08-08 03:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 03:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 03:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251737344001,"66":27300,"235":206,"2":54272,"24":59,"16":374366336115015680,"44":-1391823360432603136},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-08-08 03:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251737344001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:24:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 03:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374366336115015680,"km_value":374366336115015.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1391823360432603136,"description":"Unknown IO ID 44"} 
[2026-08-08 03:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251737344001,"power":27300,"unknown_235":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-1391823360432603136}} 
[2026-08-08 03:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":150028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:24:47] local.INFO: GPS data processed {"connection_id":150028,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:24:47] local.INFO: Acknowledgment sent {"connection_id":150028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:25:07] local.INFO: TCP Data received {"connection_id":152738,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:07] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:07] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:25:08] local.INFO: TCP Data received {"connection_id":152738,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:08] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:08] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:25:12] local.INFO: TCP Data received {"connection_id":152738,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:12] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:25:12] local.INFO: IMEI packet received {"connection_id":152738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":152738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:25:14] local.INFO: TCP Data received {"connection_id":152738,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde378f78012cec69c0072345b0001c010630..."} 
[2026-08-08 03:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde378f78012cec69c0072345b0001c010630..."} 
[2026-08-08 03:25:14] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde378f78012cec69c0072345b0001c010630..."} 
[2026-08-08 03:25:14] local.INFO: Packet analysis {"connection_id":152738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:25:14] local.INFO: Extracted packet for processing {"connection_id":152738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde37"} 
[2026-08-08 03:25:14] local.INFO: GPS Element Parsed {"raw_longitude":753691072,"raw_latitude":119752112,"longitude_deg":75.3691072,"latitude_deg":11.9752112,"altitude":28,"angle":262,"satellites":48,"speed":60,"hex_longitude":"2cec69c0","hex_latitude":"072345b0","is_valid_coordinates":true} 
[2026-08-08 03:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251738880001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374366774201679872,"note":"Value kept but may cause issues"} 
[2026-08-08 03:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401252772152973312,"note":"Value kept but may cause issues"} 
[2026-08-08 03:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786139611000,"timestamp_ms":1786139611000,"timestamp_seconds":1786139611,"priority":1,"record_length":96,"hex_timestamp":"0000019fde378f78"} 
[2026-08-08 03:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251738880001,"66":27365,"235":206,"2":54272,"24":60,"16":374366774201679872,"44":-1401252772152973312},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-08-08 03:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251738880001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:25:14] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 03:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374366774201679872,"km_value":374366774201679.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401252772152973312,"description":"Unknown IO ID 44"} 
[2026-08-08 03:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251738880001,"power":27365,"unknown_235":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-1401252772152973312}} 
[2026-08-08 03:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":152738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:25:14] local.INFO: GPS data processed {"connection_id":152738,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:25:14] local.INFO: Acknowledgment sent {"connection_id":152738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:25:46] local.INFO: TCP Data received {"connection_id":152738,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde38cfc8012ceb3a80072278b0000b00d82d..."} 
[2026-08-08 03:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde38cfc8012ceb3a80072278b0000b00d82d..."} 
[2026-08-08 03:25:46] local.INFO: Processing buffer {"connection_id":152738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde38cfc8012ceb3a80072278b0000b00d82d..."} 
[2026-08-08 03:25:46] local.INFO: Packet analysis {"connection_id":152738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde38"} 
[2026-08-08 03:25:46] local.INFO: Extracted packet for processing {"connection_id":152738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde38"} 
[2026-08-08 03:25:46] local.INFO: GPS Element Parsed {"raw_longitude":753613440,"raw_latitude":119699632,"longitude_deg":75.361344,"latitude_deg":11.9699632,"altitude":11,"angle":216,"satellites":45,"speed":56,"hex_longitude":"2ceb3a80","hex_latitude":"072278b0","is_valid_coordinates":true} 
[2026-08-08 03:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251759616001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374371305392177152,"note":"Value kept but may cause issues"} 
[2026-08-08 03:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489565546107877376,"note":"Value kept but may cause issues"} 
[2026-08-08 03:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786139693000,"timestamp_ms":1786139693000,"timestamp_seconds":1786139693,"priority":1,"record_length":96,"hex_timestamp":"0000019fde38cfc8"} 
[2026-08-08 03:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251759616001,"66":27463,"110":206,"2":54272,"24":56,"16":374371305392177152,"44":-1489565546107877376},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-08-08 03:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251759616001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:25:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-08 03:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374371305392177152,"km_value":374371305392177.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489565546107877376,"description":"Unknown IO ID 44"} 
[2026-08-08 03:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251759616001,"power":27463,"unknown_110":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-1489565546107877376}} 
[2026-08-08 03:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":152738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:25:46] local.INFO: GPS data processed {"connection_id":152738,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:25:46] local.INFO: Acknowledgment sent {"connection_id":152738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:26:16] local.INFO: TCP Data received {"connection_id":152739,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:16] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:16] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:26:17] local.INFO: TCP Data received {"connection_id":152739,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:17] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:17] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:26:24] local.INFO: TCP Data received {"connection_id":152739,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:24] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:26:24] local.INFO: IMEI packet received {"connection_id":152739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":152739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:26:27] local.INFO: TCP Data received {"connection_id":152739,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde38cfc8012ceb3a80072278b0000b00d82d..."} 
[2026-08-08 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde38cfc8012ceb3a80072278b0000b00d82d..."} 
[2026-08-08 03:26:27] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde38cfc8012ceb3a80072278b0000b00d82d..."} 
[2026-08-08 03:26:27] local.INFO: Packet analysis {"connection_id":152739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde38"} 
[2026-08-08 03:26:27] local.INFO: Extracted packet for processing {"connection_id":152739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde38"} 
[2026-08-08 03:26:27] local.INFO: GPS Element Parsed {"raw_longitude":753613440,"raw_latitude":119699632,"longitude_deg":75.361344,"latitude_deg":11.9699632,"altitude":11,"angle":216,"satellites":45,"speed":56,"hex_longitude":"2ceb3a80","hex_latitude":"072278b0","is_valid_coordinates":true} 
[2026-08-08 03:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251761408001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374371305392177152,"note":"Value kept but may cause issues"} 
[2026-08-08 03:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1496743158015807488,"note":"Value kept but may cause issues"} 
[2026-08-08 03:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786139693000,"timestamp_ms":1786139693000,"timestamp_seconds":1786139693,"priority":1,"record_length":96,"hex_timestamp":"0000019fde38cfc8"} 
[2026-08-08 03:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":152739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251761408001,"66":27463,"110":206,"2":54272,"24":56,"16":374371305392177152,"44":-1496743158015807488},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-08-08 03:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251761408001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:26:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-08 03:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374371305392177152,"km_value":374371305392177.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1496743158015807488,"description":"Unknown IO ID 44"} 
[2026-08-08 03:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251761408001,"power":27463,"unknown_110":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-1496743158015807488}} 
[2026-08-08 03:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":152739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:26:27] local.INFO: GPS data processed {"connection_id":152739,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:26:27] local.INFO: Acknowledgment sent {"connection_id":152739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:26:29] local.INFO: TCP Data received {"connection_id":152739,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde38eb20012ceb258007225848000b00d22a..."} 
[2026-08-08 03:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde38eb20012ceb258007225848000b00d22a..."} 
[2026-08-08 03:26:29] local.INFO: Processing buffer {"connection_id":152739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde38eb20012ceb258007225848000b00d22a..."} 
[2026-08-08 03:26:29] local.INFO: Packet analysis {"connection_id":152739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde38"} 
[2026-08-08 03:26:29] local.INFO: Extracted packet for processing {"connection_id":152739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde38"} 
[2026-08-08 03:26:29] local.INFO: GPS Element Parsed {"raw_longitude":753608064,"raw_latitude":119691336,"longitude_deg":75.3608064,"latitude_deg":11.9691336,"altitude":11,"angle":210,"satellites":42,"speed":53,"hex_longitude":"2ceb2580","hex_latitude":"07225848","is_valid_coordinates":true} 
[2026-08-08 03:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251761408001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374371782133547008,"note":"Value kept but may cause issues"} 
[2026-08-08 03:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1496743158015807488,"note":"Value kept but may cause issues"} 
[2026-08-08 03:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786139700000,"timestamp_ms":1786139700000,"timestamp_seconds":1786139700,"priority":1,"record_length":96,"hex_timestamp":"0000019fde38eb20"} 
[2026-08-08 03:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:26: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":152739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":152739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251761408001,"66":27376,"110":206,"2":54272,"24":53,"16":374371782133547008,"44":-1496743158015807488},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-08-08 03:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251761408001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:26:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-08 03:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374371782133547008,"km_value":374371782133547.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1496743158015807488,"description":"Unknown IO ID 44"} 
[2026-08-08 03:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251761408001,"power":27376,"unknown_110":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1496743158015807488}} 
[2026-08-08 03:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":152739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:26:29] local.INFO: GPS data processed {"connection_id":152739,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:26:29] local.INFO: Acknowledgment sent {"connection_id":152739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:27:06] local.INFO: TCP Data received {"connection_id":150290,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:06] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:06] local.INFO: IMEI packet received {"connection_id":150290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":150290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:27:07] local.INFO: TCP Data received {"connection_id":150290,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:07] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:07] local.INFO: IMEI packet received {"connection_id":150290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":150290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:27:12] local.INFO: TCP Data received {"connection_id":150290,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:12] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:27:12] local.INFO: IMEI packet received {"connection_id":150290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":150290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:27:14] local.INFO: TCP Data received {"connection_id":150290,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde39e520012ceaf140072150f0000a00dd2c..."} 
[2026-08-08 03:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde39e520012ceaf140072150f0000a00dd2c..."} 
[2026-08-08 03:27:14] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde39e520012ceaf140072150f0000a00dd2c..."} 
[2026-08-08 03:27:14] local.INFO: Packet analysis {"connection_id":150290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde39"} 
[2026-08-08 03:27:14] local.INFO: Extracted packet for processing {"connection_id":150290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde39"} 
[2026-08-08 03:27:14] local.INFO: GPS Element Parsed {"raw_longitude":753594688,"raw_latitude":119623920,"longitude_deg":75.3594688,"latitude_deg":11.962392,"altitude":10,"angle":221,"satellites":44,"speed":53,"hex_longitude":"2ceaf140","hex_latitude":"072150f0","is_valid_coordinates":true} 
[2026-08-08 03:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251779584001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374375299711762432,"note":"Value kept but may cause issues"} 
[2026-08-08 03:27:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517361200079245312,"note":"Value kept but may cause issues"} 
[2026-08-08 03:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786139764000,"timestamp_ms":1786139764000,"timestamp_seconds":1786139764,"priority":1,"record_length":96,"hex_timestamp":"0000019fde39e520"} 
[2026-08-08 03:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251779584001,"66":27300,"112":206,"2":54272,"24":53,"16":374375299711762432,"44":-1517361200079245312},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,2,24,16,44]} 
[2026-08-08 03:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251779584001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:27:14] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 03:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374375299711762432,"km_value":374375299711762.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:27:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517361200079245312,"description":"Unknown IO ID 44"} 
[2026-08-08 03:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251779584001,"power":27300,"unknown_112":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1517361200079245312}} 
[2026-08-08 03:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":150290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:27:14] local.INFO: GPS data processed {"connection_id":150290,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:27:14] local.INFO: Acknowledgment sent {"connection_id":150290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:27:46] local.INFO: TCP Data received {"connection_id":150290,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde39ecf0012ceae90007214a08000a00ea2e..."} 
[2026-08-08 03:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde39ecf0012ceae90007214a08000a00ea2e..."} 
[2026-08-08 03:27:46] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde39ecf0012ceae90007214a08000a00ea2e..."} 
[2026-08-08 03:27:46] local.INFO: Packet analysis {"connection_id":150290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde39"} 
[2026-08-08 03:27:46] local.INFO: Extracted packet for processing {"connection_id":150290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde39"} 
[2026-08-08 03:27:46] local.INFO: GPS Element Parsed {"raw_longitude":753592576,"raw_latitude":119622152,"longitude_deg":75.3592576,"latitude_deg":11.9622152,"altitude":10,"angle":234,"satellites":46,"speed":52,"hex_longitude":"2ceae900","hex_latitude":"07214a08","is_valid_coordinates":true} 
[2026-08-08 03:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251779584001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374375432855748608,"note":"Value kept but may cause issues"} 
[2026-08-08 03:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517361200079245312,"note":"Value kept but may cause issues"} 
[2026-08-08 03:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786139766000,"timestamp_ms":1786139766000,"timestamp_seconds":1786139766,"priority":1,"record_length":96,"hex_timestamp":"0000019fde39ecf0"} 
[2026-08-08 03:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251779584001,"66":27213,"112":206,"2":54272,"24":52,"16":374375432855748608,"44":-1517361200079245312},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,2,24,16,44]} 
[2026-08-08 03:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251779584001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:27:46] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 03:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374375432855748608,"km_value":374375432855748.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517361200079245312,"description":"Unknown IO ID 44"} 
[2026-08-08 03:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251779584001,"power":27213,"unknown_112":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1517361200079245312}} 
[2026-08-08 03:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":150290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:27:46] local.INFO: GPS data processed {"connection_id":150290,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:27:46] local.INFO: Acknowledgment sent {"connection_id":150290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:28:07] local.INFO: TCP Data received {"connection_id":150291,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:07] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:07] local.INFO: IMEI packet received {"connection_id":150291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":150291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:28:07] local.INFO: TCP Data received {"connection_id":150291,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:07] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:07] local.INFO: IMEI packet received {"connection_id":150291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":150291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:28:12] local.INFO: TCP Data received {"connection_id":150291,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:12] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:28:12] local.INFO: IMEI packet received {"connection_id":150291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":150291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:28:13] local.INFO: TCP Data received {"connection_id":150291,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde39f4c0012ceae00007214520000a00f62b..."} 
[2026-08-08 03:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde39f4c0012ceae00007214520000a00f62b..."} 
[2026-08-08 03:28:13] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde39f4c0012ceae00007214520000a00f62b..."} 
[2026-08-08 03:28:13] local.INFO: Packet analysis {"connection_id":150291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde39"} 
[2026-08-08 03:28:13] local.INFO: Extracted packet for processing {"connection_id":150291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde39"} 
[2026-08-08 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":753590272,"raw_latitude":119620896,"longitude_deg":75.3590272,"latitude_deg":11.9620896,"altitude":10,"angle":246,"satellites":43,"speed":53,"hex_longitude":"2ceae000","hex_latitude":"07214520","is_valid_coordinates":true} 
[2026-08-08 03:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251780096001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374375561704767488,"note":"Value kept but may cause issues"} 
[2026-08-08 03:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1519683368637560832,"note":"Value kept but may cause issues"} 
[2026-08-08 03:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786139768000,"timestamp_ms":1786139768000,"timestamp_seconds":1786139768,"priority":1,"record_length":96,"hex_timestamp":"0000019fde39f4c0"} 
[2026-08-08 03:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251780096001,"66":27234,"6":206,"2":54272,"24":53,"16":374375561704767488,"44":-1519683368637560832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251780096001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:28:13] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374375561704767488,"km_value":374375561704767.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1519683368637560832,"description":"Unknown IO ID 44"} 
[2026-08-08 03:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251780096001,"power":27234,"unknown_6":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1519683368637560832}} 
[2026-08-08 03:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":150291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:28:13] local.INFO: GPS data processed {"connection_id":150291,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:28:13] local.INFO: Acknowledgment sent {"connection_id":150291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:28:45] local.INFO: TCP Data received {"connection_id":150291,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3a1018012ceabbc007213700000a00fb28..."} 
[2026-08-08 03:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3a1018012ceabbc007213700000a00fb28..."} 
[2026-08-08 03:28:45] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3a1018012ceabbc007213700000a00fb28..."} 
[2026-08-08 03:28:45] local.INFO: Packet analysis {"connection_id":150291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3a"} 
[2026-08-08 03:28:45] local.INFO: Extracted packet for processing {"connection_id":150291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3a"} 
[2026-08-08 03:28:45] local.INFO: GPS Element Parsed {"raw_longitude":753580992,"raw_latitude":119617280,"longitude_deg":75.3580992,"latitude_deg":11.961728,"altitude":10,"angle":251,"satellites":40,"speed":55,"hex_longitude":"2ceabbc0","hex_latitude":"07213700","is_valid_coordinates":true} 
[2026-08-08 03:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251780608001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374376029856202752,"note":"Value kept but may cause issues"} 
[2026-08-08 03:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1522216643428278272,"note":"Value kept but may cause issues"} 
[2026-08-08 03:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786139775000,"timestamp_ms":1786139775000,"timestamp_seconds":1786139775,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3a1018"} 
[2026-08-08 03:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 03:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251780608001,"66":27267,"6":206,"2":54272,"24":55,"16":374376029856202752,"44":-1522216643428278272},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251780608001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:28:45] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374376029856202752,"km_value":374376029856202.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1522216643428278272,"description":"Unknown IO ID 44"} 
[2026-08-08 03:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251780608001,"power":27267,"unknown_6":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-1522216643428278272}} 
[2026-08-08 03:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":150291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:28:45] local.INFO: GPS data processed {"connection_id":150291,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:28:45] local.INFO: Acknowledgment sent {"connection_id":150291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:29:07] local.INFO: TCP Data received {"connection_id":152740,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:29:07] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:29:07] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:29:12] local.INFO: TCP Data received {"connection_id":152740,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:29:12] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:29:12] local.INFO: IMEI packet received {"connection_id":152740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":152740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:29:15] local.INFO: TCP Data received {"connection_id":152740,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3b7390012cea64c0072042a8000800b730..."} 
[2026-08-08 03:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3b7390012cea64c0072042a8000800b730..."} 
[2026-08-08 03:29:15] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3b7390012cea64c0072042a8000800b730..."} 
[2026-08-08 03:29:15] local.INFO: Packet analysis {"connection_id":152740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3b"} 
[2026-08-08 03:29:15] local.INFO: Extracted packet for processing {"connection_id":152740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3b"} 
[2026-08-08 03:29:15] local.INFO: GPS Element Parsed {"raw_longitude":753558720,"raw_latitude":119554728,"longitude_deg":75.355872,"latitude_deg":11.9554728,"altitude":8,"angle":183,"satellites":48,"speed":12,"hex_longitude":"2cea64c0","hex_latitude":"072042a8","is_valid_coordinates":true} 
[2026-08-08 03:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251801344001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374379500189777920,"note":"Value kept but may cause issues"} 
[2026-08-08 03:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555712165671512064,"note":"Value kept but may cause issues"} 
[2026-08-08 03:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786139866000,"timestamp_ms":1786139866000,"timestamp_seconds":1786139866,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3b7390"} 
[2026-08-08 03:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 03:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251801344001,"66":27300,"6":206,"2":54272,"24":12,"16":374379500189777920,"44":-1555712165671512064},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251801344001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:29:15] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374379500189777920,"km_value":374379500189777.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555712165671512064,"description":"Unknown IO ID 44"} 
[2026-08-08 03:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251801344001,"power":27300,"unknown_6":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1555712165671512064}} 
[2026-08-08 03:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":152740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:29:15] local.INFO: GPS data processed {"connection_id":152740,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:29:15] local.INFO: Acknowledgment sent {"connection_id":152740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:29:48] local.INFO: TCP Data received {"connection_id":152740,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3bc598012cea608007202030000800b830..."} 
[2026-08-08 03:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3bc598012cea608007202030000800b830..."} 
[2026-08-08 03:29:48] local.INFO: Processing buffer {"connection_id":152740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3bc598012cea608007202030000800b830..."} 
[2026-08-08 03:29:48] local.INFO: Packet analysis {"connection_id":152740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3b"} 
[2026-08-08 03:29:48] local.INFO: Extracted packet for processing {"connection_id":152740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3b"} 
[2026-08-08 03:29:48] local.INFO: GPS Element Parsed {"raw_longitude":753557632,"raw_latitude":119545904,"longitude_deg":75.3557632,"latitude_deg":11.9545904,"altitude":8,"angle":184,"satellites":48,"speed":20,"hex_longitude":"2cea6080","hex_latitude":"07202030","is_valid_coordinates":true} 
[2026-08-08 03:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251805696001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374379929686507520,"note":"Value kept but may cause issues"} 
[2026-08-08 03:29:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556908434324805632,"note":"Value kept but may cause issues"} 
[2026-08-08 03:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786139887000,"timestamp_ms":1786139887000,"timestamp_seconds":1786139887,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3bc598"} 
[2026-08-08 03:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251805696001,"66":27365,"6":206,"2":54272,"24":20,"16":374379929686507520,"44":-1556908434324805632},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251805696001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:29:48] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374379929686507520,"km_value":374379929686507.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:29:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556908434324805632,"description":"Unknown IO ID 44"} 
[2026-08-08 03:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251805696001,"power":27365,"unknown_6":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1556908434324805632}} 
[2026-08-08 03:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":152740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:29:48] local.INFO: GPS data processed {"connection_id":152740,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:29:48] local.INFO: Acknowledgment sent {"connection_id":152740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:30:08] local.INFO: TCP Data received {"connection_id":150292,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:30:08] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:30:08] local.INFO: IMEI packet received {"connection_id":150292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":150292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:30:12] local.INFO: TCP Data received {"connection_id":150292,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:30:12] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:30:12] local.INFO: IMEI packet received {"connection_id":150292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":150292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:30:15] local.INFO: TCP Data received {"connection_id":150292,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3bc598012cea608007202030000800b830..."} 
[2026-08-08 03:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3bc598012cea608007202030000800b830..."} 
[2026-08-08 03:30:15] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3bc598012cea608007202030000800b830..."} 
[2026-08-08 03:30:15] local.INFO: Packet analysis {"connection_id":150292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3b"} 
[2026-08-08 03:30:15] local.INFO: Extracted packet for processing {"connection_id":150292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3b"} 
[2026-08-08 03:30:15] local.INFO: GPS Element Parsed {"raw_longitude":753557632,"raw_latitude":119545904,"longitude_deg":75.3557632,"latitude_deg":11.9545904,"altitude":8,"angle":184,"satellites":48,"speed":20,"hex_longitude":"2cea6080","hex_latitude":"07202030","is_valid_coordinates":true} 
[2026-08-08 03:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251811072001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374379929686507520,"note":"Value kept but may cause issues"} 
[2026-08-08 03:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558104702978084864,"note":"Value kept but may cause issues"} 
[2026-08-08 03:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786139887000,"timestamp_ms":1786139887000,"timestamp_seconds":1786139887,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3bc598"} 
[2026-08-08 03:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:30: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-08-08 03:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251811072001,"66":27365,"6":206,"2":54272,"24":20,"16":374379929686507520,"44":-1558104702978084864},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251811072001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:30:15] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374379929686507520,"km_value":374379929686507.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558104702978084864,"description":"Unknown IO ID 44"} 
[2026-08-08 03:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251811072001,"power":27365,"unknown_6":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1558104702978084864}} 
[2026-08-08 03:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":150292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:30:15] local.INFO: GPS data processed {"connection_id":150292,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:30:15] local.INFO: Acknowledgment sent {"connection_id":150292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:30:51] local.INFO: TCP Data received {"connection_id":150292,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3d7f00012cea5e40071f57600008010730..."} 
[2026-08-08 03:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3d7f00012cea5e40071f57600008010730..."} 
[2026-08-08 03:30:51] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3d7f00012cea5e40071f57600008010730..."} 
[2026-08-08 03:30:51] local.INFO: Packet analysis {"connection_id":150292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3d"} 
[2026-08-08 03:30:51] local.INFO: Extracted packet for processing {"connection_id":150292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3d"} 
[2026-08-08 03:30:51] local.INFO: GPS Element Parsed {"raw_longitude":753557056,"raw_latitude":119494496,"longitude_deg":75.3557056,"latitude_deg":11.9494496,"altitude":8,"angle":263,"satellites":48,"speed":10,"hex_longitude":"2cea5e40","hex_latitude":"071f5760","is_valid_coordinates":true} 
[2026-08-08 03:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251839488001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374382472307146752,"note":"Value kept but may cause issues"} 
[2026-08-08 03:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558245440479559680,"note":"Value kept but may cause issues"} 
[2026-08-08 03:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786140000000,"timestamp_ms":1786140000000,"timestamp_seconds":1786140000,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3d7f00"} 
[2026-08-08 03:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:30: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-08-08 03:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:30: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-08-08 03:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251839488001,"66":27213,"6":206,"2":54272,"24":10,"16":374382472307146752,"44":-1558245440479559680},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251839488001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:30:51] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374382472307146752,"km_value":374382472307146.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558245440479559680,"description":"Unknown IO ID 44"} 
[2026-08-08 03:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251839488001,"power":27213,"unknown_6":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1558245440479559680}} 
[2026-08-08 03:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":150292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:30:51] local.INFO: GPS data processed {"connection_id":150292,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:30:51] local.INFO: Acknowledgment sent {"connection_id":150292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:31:11] local.INFO: TCP Data received {"connection_id":150029,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:11] local.INFO: Processing buffer {"connection_id":150029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:11] local.INFO: IMEI packet received {"connection_id":150029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":150029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:31:12] local.INFO: TCP Data received {"connection_id":150029,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:12] local.INFO: Processing buffer {"connection_id":150029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:12] local.INFO: IMEI packet received {"connection_id":150029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":150029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:31:17] local.INFO: TCP Data received {"connection_id":150029,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:17] local.INFO: Processing buffer {"connection_id":150029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:31:17] local.INFO: IMEI packet received {"connection_id":150029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":150029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:31:18] local.INFO: TCP Data received {"connection_id":150029,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3d8ea0012cea5940071f5670000600f92c..."} 
[2026-08-08 03:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3d8ea0012cea5940071f5670000600f92c..."} 
[2026-08-08 03:31:18] local.INFO: Processing buffer {"connection_id":150029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3d8ea0012cea5940071f5670000600f92c..."} 
[2026-08-08 03:31:18] local.INFO: Packet analysis {"connection_id":150029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3d"} 
[2026-08-08 03:31:18] local.INFO: Extracted packet for processing {"connection_id":150029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3d"} 
[2026-08-08 03:31:18] local.INFO: GPS Element Parsed {"raw_longitude":753555776,"raw_latitude":119494256,"longitude_deg":75.3555776,"latitude_deg":11.9494256,"altitude":6,"angle":249,"satellites":44,"speed":18,"hex_longitude":"2cea5940","hex_latitude":"071f5670","is_valid_coordinates":true} 
[2026-08-08 03:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251840000001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374382532436688896,"note":"Value kept but may cause issues"} 
[2026-08-08 03:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558738021688844288,"note":"Value kept but may cause issues"} 
[2026-08-08 03:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786140004000,"timestamp_ms":1786140004000,"timestamp_seconds":1786140004,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3d8ea0"} 
[2026-08-08 03:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251840000001,"66":27397,"6":206,"2":54272,"24":18,"16":374382532436688896,"44":-1558738021688844288},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251840000001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:31:18] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374382532436688896,"km_value":374382532436688.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558738021688844288,"description":"Unknown IO ID 44"} 
[2026-08-08 03:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251840000001,"power":27397,"unknown_6":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1558738021688844288}} 
[2026-08-08 03:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":150029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:31:18] local.INFO: GPS data processed {"connection_id":150029,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:31:18] local.INFO: Acknowledgment sent {"connection_id":150029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:31:57] local.INFO: TCP Data received {"connection_id":150029,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3d9a58012cea53c0071f53b8000600ec2c..."} 
[2026-08-08 03:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3d9a58012cea53c0071f53b8000600ec2c..."} 
[2026-08-08 03:31:57] local.INFO: Processing buffer {"connection_id":150029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3d9a58012cea53c0071f53b8000600ec2c..."} 
[2026-08-08 03:31:57] local.INFO: Packet analysis {"connection_id":150029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3d"} 
[2026-08-08 03:31:57] local.INFO: Extracted packet for processing {"connection_id":150029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3d"} 
[2026-08-08 03:31:57] local.INFO: GPS Element Parsed {"raw_longitude":753554368,"raw_latitude":119493560,"longitude_deg":75.3554368,"latitude_deg":11.949356,"altitude":6,"angle":236,"satellites":44,"speed":20,"hex_longitude":"2cea53c0","hex_latitude":"071f53b8","is_valid_coordinates":true} 
[2026-08-08 03:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251841024001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374382605451132928,"note":"Value kept but may cause issues"} 
[2026-08-08 03:31:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560145396572459008,"note":"Value kept but may cause issues"} 
[2026-08-08 03:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786140007000,"timestamp_ms":1786140007000,"timestamp_seconds":1786140007,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3d9a58"} 
[2026-08-08 03:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 03:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251841024001,"66":26723,"6":206,"2":54272,"24":20,"16":374382605451132928,"44":-1560145396572459008},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-08-08 03:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251841024001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:31:57] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-08 03:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374382605451132928,"km_value":374382605451132.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:31:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560145396572459008,"description":"Unknown IO ID 44"} 
[2026-08-08 03:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251841024001,"power":26723,"unknown_6":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1560145396572459008}} 
[2026-08-08 03:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":150029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:31:57] local.INFO: GPS data processed {"connection_id":150029,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:31:57] local.INFO: Acknowledgment sent {"connection_id":150029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:32:38] local.INFO: TCP Data received {"connection_id":152741,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:38] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:38] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:32:42] local.INFO: TCP Data received {"connection_id":152741,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:42] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:42] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:32:46] local.INFO: TCP Data received {"connection_id":152741,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:46] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:32:46] local.INFO: IMEI packet received {"connection_id":152741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":152741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:32:48] local.INFO: TCP Data received {"connection_id":152741,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3eafb0012cea15c0071e27f0000800b731..."} 
[2026-08-08 03:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3eafb0012cea15c0071e27f0000800b731..."} 
[2026-08-08 03:32:48] local.INFO: Processing buffer {"connection_id":152741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3eafb0012cea15c0071e27f0000800b731..."} 
[2026-08-08 03:32:48] local.INFO: Packet analysis {"connection_id":152741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3e"} 
[2026-08-08 03:32:48] local.INFO: Extracted packet for processing {"connection_id":152741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3e"} 
[2026-08-08 03:32:48] local.INFO: GPS Element Parsed {"raw_longitude":753538496,"raw_latitude":119416816,"longitude_deg":75.3538496,"latitude_deg":11.9416816,"altitude":8,"angle":183,"satellites":49,"speed":54,"hex_longitude":"2cea15c0","hex_latitude":"071e27f0","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251858176001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374386432266993664,"note":"Value kept but may cause issues"} 
[2026-08-08 03:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578441270076063744,"note":"Value kept but may cause issues"} 
[2026-08-08 03:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786140078000,"timestamp_ms":1786140078000,"timestamp_seconds":1786140078,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3eafb0"} 
[2026-08-08 03:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 03:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03: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-08-08 03:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251858176001,"66":27343,"176":206,"2":54272,"24":54,"16":374386432266993664,"44":-1578441270076063744},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-08-08 03:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251858176001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:32:48] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-08 03:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374386432266993664,"km_value":374386432266993.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578441270076063744,"description":"Unknown IO ID 44"} 
[2026-08-08 03:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251858176001,"power":27343,"unknown_176":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-1578441270076063744}} 
[2026-08-08 03:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":152741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:32:48] local.INFO: GPS data processed {"connection_id":152741,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:32:48] local.INFO: Acknowledgment sent {"connection_id":152741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:33:09] local.INFO: TCP Data received {"connection_id":152742,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:09] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:09] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:33:12] local.INFO: TCP Data received {"connection_id":152742,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:12] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:12] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:33:17] local.INFO: TCP Data received {"connection_id":152742,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:17] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:33:17] local.INFO: IMEI packet received {"connection_id":152742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":152742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:33:18] local.INFO: TCP Data received {"connection_id":152742,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3ecb08012cea1340071e01e0000800b62f..."} 
[2026-08-08 03:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3ecb08012cea1340071e01e0000800b62f..."} 
[2026-08-08 03:33:18] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3ecb08012cea1340071e01e0000800b62f..."} 
[2026-08-08 03:33:18] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3e"} 
[2026-08-08 03:33:18] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3e"} 
[2026-08-08 03:33:18] local.INFO: GPS Element Parsed {"raw_longitude":753537856,"raw_latitude":119407072,"longitude_deg":75.3537856,"latitude_deg":11.9407072,"altitude":8,"angle":182,"satellites":47,"speed":55,"hex_longitude":"2cea1340","hex_latitude":"071e01e0","is_valid_coordinates":true} 
[2026-08-08 03:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251859968001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374386904713396224,"note":"Value kept but may cause issues"} 
[2026-08-08 03:33:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579144957520252928,"note":"Value kept but may cause issues"} 
[2026-08-08 03:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786140085000,"timestamp_ms":1786140085000,"timestamp_seconds":1786140085,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3ecb08"} 
[2026-08-08 03:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:33: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-08-08 03:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251859968001,"66":27376,"176":206,"2":54272,"24":55,"16":374386904713396224,"44":-1579144957520252928},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-08-08 03:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251859968001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:33:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-08 03:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374386904713396224,"km_value":374386904713396.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:33:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579144957520252928,"description":"Unknown IO ID 44"} 
[2026-08-08 03:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251859968001,"power":27376,"unknown_176":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-1579144957520252928}} 
[2026-08-08 03:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:33:18] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:33:18] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:33:50] local.INFO: TCP Data received {"connection_id":152742,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde3ee660012cea10c0071ddba0000800b82e..."} 
[2026-08-08 03:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde3ee660012cea10c0071ddba0000800b82e..."} 
[2026-08-08 03:33:50] local.INFO: Processing buffer {"connection_id":152742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde3ee660012cea10c0071ddba0000800b82e..."} 
[2026-08-08 03:33:50] local.INFO: Packet analysis {"connection_id":152742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde3e"} 
[2026-08-08 03:33:50] local.INFO: Extracted packet for processing {"connection_id":152742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde3e"} 
[2026-08-08 03:33:50] local.INFO: GPS Element Parsed {"raw_longitude":753537216,"raw_latitude":119397280,"longitude_deg":75.3537216,"latitude_deg":11.939728,"altitude":8,"angle":184,"satellites":46,"speed":55,"hex_longitude":"2cea10c0","hex_latitude":"071ddba0","is_valid_coordinates":true} 
[2026-08-08 03:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251861760001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374387381454766080,"note":"Value kept but may cause issues"} 
[2026-08-08 03:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579848644964524032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786140092000,"timestamp_ms":1786140092000,"timestamp_seconds":1786140092,"priority":1,"record_length":96,"hex_timestamp":"0000019fde3ee660"} 
[2026-08-08 03:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:33: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-08-08 03:33: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-08-08 03:33: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-08-08 03:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251861760001,"66":27234,"176":206,"2":54272,"24":55,"16":374387381454766080,"44":-1579848644964524032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-08-08 03:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251861760001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:33:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-08 03:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374387381454766080,"km_value":374387381454766.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579848644964524032,"description":"Unknown IO ID 44"} 
[2026-08-08 03:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251861760001,"power":27234,"unknown_176":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-1579848644964524032}} 
[2026-08-08 03:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":152742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:33:50] local.INFO: GPS data processed {"connection_id":152742,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:33:50] local.INFO: Acknowledgment sent {"connection_id":152742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:34:21] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:34:21] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:34:21] local.INFO: IMEI packet received {"connection_id":150030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":150030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:34:22] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:34:22] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:34:22] local.INFO: IMEI packet received {"connection_id":150030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":150030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:34:36] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:34:36] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:34:36] local.INFO: IMEI packet received {"connection_id":150030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":150030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:34:37] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":1360,"data_hex":"000000000000030f8e0a0000019fde406530012ce9f440071c4ac8000c00b52a..."} 
[2026-08-08 03:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fde406530012ce9f440071c4ac8000c00b52a..."} 
[2026-08-08 03:34:37] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":1377,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fde..."} 
[2026-08-08 03:34:37] local.INFO: IMEI packet received {"connection_id":150030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":150030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:34:38] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":1025,"data_hex":"2cea03c0071d22d8000a00b72f002f0000000a000400ef0100715d00f0010045..."} 
[2026-08-08 03:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":1025,"packet_hex":"2cea03c0071d22d8000a00b72f002f0000000a000400ef0100715d00f0010045..."} 
[2026-08-08 03:34:38] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019fde406530012ce9f440071c4ac8000c00b52a..."} 
[2026-08-08 03:34:38] local.INFO: Packet analysis {"connection_id":150030,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:38] local.INFO: Extracted packet for processing {"connection_id":150030,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753529920,"raw_latitude":119294664,"longitude_deg":75.352992,"latitude_deg":11.9294664,"altitude":12,"angle":181,"satellites":42,"speed":40,"hex_longitude":"2ce9f440","hex_latitude":"071c4ac8","is_valid_coordinates":true} 
[2026-08-08 03:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251886336001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374392367911796736,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587870681827137536,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786140190000,"timestamp_ms":1786140190000,"timestamp_seconds":1786140190,"priority":1,"record_length":96,"hex_timestamp":"0000019fde406530"} 
[2026-08-08 03:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251886336001,"66":27376,"162":206,"2":54272,"24":40,"16":374392367911796736,"44":-1587870681827137536},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251886336001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-08 03:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374392367911796736,"km_value":374392367911796.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587870681827137536,"description":"Unknown IO ID 44"} 
[2026-08-08 03:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251886336001,"power":27376,"unknown_162":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1587870681827137536}} 
[2026-08-08 03:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":150030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:34:38] local.INFO: GPS data processed {"connection_id":150030,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:34:38] local.INFO: Acknowledgment sent {"connection_id":150030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:34:38] local.INFO: Packet analysis {"connection_id":150030,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:38] local.INFO: Extracted packet for processing {"connection_id":150030,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753530304,"raw_latitude":119285456,"longitude_deg":75.3530304,"latitude_deg":11.9285456,"altitude":14,"angle":171,"satellites":43,"speed":40,"hex_longitude":"2ce9f5c0","hex_latitude":"071c26d0","is_valid_coordinates":true} 
[2026-08-08 03:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251888640001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374392814588395520,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588574369271330816,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786140199000,"timestamp_ms":1786140199000,"timestamp_seconds":1786140199,"priority":1,"record_length":96,"hex_timestamp":"0000019fde408858"} 
[2026-08-08 03:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251888640001,"66":27463,"162":206,"2":54272,"24":40,"16":374392814588395520,"44":-1588574369271330816},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251888640001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-08 03:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374392814588395520,"km_value":374392814588395.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588574369271330816,"description":"Unknown IO ID 44"} 
[2026-08-08 03:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251888640001,"power":27463,"unknown_162":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1588574369271330816}} 
[2026-08-08 03:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":150030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:34:38] local.INFO: GPS data processed {"connection_id":150030,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:34:38] local.INFO: Acknowledgment sent {"connection_id":150030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:34:38] local.INFO: Packet analysis {"connection_id":150030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:38] local.INFO: Extracted packet for processing {"connection_id":150030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753532480,"raw_latitude":119276312,"longitude_deg":75.353248,"latitude_deg":11.9276312,"altitude":17,"angle":162,"satellites":37,"speed":42,"hex_longitude":"2ce9fe40","hex_latitude":"071c0318","is_valid_coordinates":true} 
[2026-08-08 03:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251890944001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374393274149896192,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588152156808622080,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786140208000,"timestamp_ms":1786140208000,"timestamp_seconds":1786140208,"priority":1,"record_length":96,"hex_timestamp":"0000019fde40ab80"} 
[2026-08-08 03:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251890944001,"66":27365,"162":206,"2":54272,"24":42,"16":374393274149896192,"44":-1588152156808622080},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-08 03:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251890944001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-08 03:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374393274149896192,"km_value":374393274149896.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588152156808622080,"description":"Unknown IO ID 44"} 
[2026-08-08 03:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251890944001,"power":27365,"unknown_162":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1588152156808622080}} 
[2026-08-08 03:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":150030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:34:38] local.INFO: GPS data processed {"connection_id":150030,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:34:38] local.INFO: Acknowledgment sent {"connection_id":150030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:34:39] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde40cea8012cea0b00071bdf50001200a02a..."} 
[2026-08-08 03:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde40cea8012cea0b00071bdf50001200a02a..."} 
[2026-08-08 03:34:39] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde40cea8012cea0b00071bdf50001200a02a..."} 
[2026-08-08 03:34:39] local.INFO: Packet analysis {"connection_id":150030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:39] local.INFO: Extracted packet for processing {"connection_id":150030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":753535744,"raw_latitude":119267152,"longitude_deg":75.3535744,"latitude_deg":11.9267152,"altitude":18,"angle":160,"satellites":42,"speed":44,"hex_longitude":"2cea0b00","hex_latitude":"071bdf50","is_valid_coordinates":true} 
[2026-08-08 03:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251893248001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374393742301331456,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585759619508922368,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786140217000,"timestamp_ms":1786140217000,"timestamp_seconds":1786140217,"priority":1,"record_length":96,"hex_timestamp":"0000019fde40cea8"} 
[2026-08-08 03:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251893248001,"66":27376,"162":206,"2":54272,"24":44,"16":374393742301331456,"44":-1585759619508922368},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-08 03:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251893248001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:34:39] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-08 03:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374393742301331456,"km_value":374393742301331.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585759619508922368,"description":"Unknown IO ID 44"} 
[2026-08-08 03:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251893248001,"power":27376,"unknown_162":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-1585759619508922368}} 
[2026-08-08 03:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":150030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:34:39] local.INFO: GPS data processed {"connection_id":150030,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:34:39] local.INFO: Acknowledgment sent {"connection_id":150030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:34:40] local.INFO: TCP Data received {"connection_id":150030,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde40ede8012cea1800071bbca00012009d2c..."} 
[2026-08-08 03:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde40ede8012cea1800071bbca00012009d2c..."} 
[2026-08-08 03:34:40] local.INFO: Processing buffer {"connection_id":150030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde40ede8012cea1800071bbca00012009d2c..."} 
[2026-08-08 03:34:40] local.INFO: Packet analysis {"connection_id":150030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:40] local.INFO: Extracted packet for processing {"connection_id":150030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde40"} 
[2026-08-08 03:34:40] local.INFO: GPS Element Parsed {"raw_longitude":753539072,"raw_latitude":119258272,"longitude_deg":75.3539072,"latitude_deg":11.9258272,"altitude":18,"angle":157,"satellites":44,"speed":47,"hex_longitude":"2cea1800","hex_latitude":"071bbca0","is_valid_coordinates":true} 
[2026-08-08 03:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251895552001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374394201862832128,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582170813558206464,"note":"Value kept but may cause issues"} 
[2026-08-08 03:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786140225000,"timestamp_ms":1786140225000,"timestamp_seconds":1786140225,"priority":1,"record_length":96,"hex_timestamp":"0000019fde40ede8"} 
[2026-08-08 03:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251895552001,"66":27321,"175":206,"2":54272,"24":47,"16":374394201862832128,"44":-1582170813558206464},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-08-08 03:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251895552001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:34:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-08 03:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374394201862832128,"km_value":374394201862832.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582170813558206464,"description":"Unknown IO ID 44"} 
[2026-08-08 03:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251895552001,"power":27321,"unknown_175":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1582170813558206464}} 
[2026-08-08 03:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":150030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:34:40] local.INFO: GPS data processed {"connection_id":150030,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:34:40] local.INFO: Acknowledgment sent {"connection_id":150030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:35:07] local.INFO: TCP Data received {"connection_id":151271,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:35:07] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:35:07] local.INFO: IMEI packet received {"connection_id":151271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":151271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:35:08] local.INFO: TCP Data received {"connection_id":151271,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:35:08] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:35:08] local.INFO: IMEI packet received {"connection_id":151271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":151271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:35:09] local.INFO: TCP Data received {"connection_id":151271,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde410d28012cea2500071b9810001100a02b..."} 
[2026-08-08 03:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde410d28012cea2500071b9810001100a02b..."} 
[2026-08-08 03:35:09] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde410d28012cea2500071b9810001100a02b..."} 
[2026-08-08 03:35:09] local.INFO: Packet analysis {"connection_id":151271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:35:09] local.INFO: Extracted packet for processing {"connection_id":151271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:35:09] local.INFO: GPS Element Parsed {"raw_longitude":753542400,"raw_latitude":119248912,"longitude_deg":75.35424,"latitude_deg":11.9248912,"altitude":17,"angle":160,"satellites":43,"speed":51,"hex_longitude":"2cea2500","hex_latitude":"071b9810","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251897600001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374394682899169280,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578511638863241216,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786140233000,"timestamp_ms":1786140233000,"timestamp_seconds":1786140233,"priority":1,"record_length":96,"hex_timestamp":"0000019fde410d28"} 
[2026-08-08 03:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03: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-08-08 03:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251897600001,"66":27343,"175":206,"2":54272,"24":51,"16":374394682899169280,"44":-1578511638863241216},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-08-08 03:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251897600001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:35:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-08 03:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374394682899169280,"km_value":374394682899169.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578511638863241216,"description":"Unknown IO ID 44"} 
[2026-08-08 03:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251897600001,"power":27343,"unknown_175":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-1578511638863241216}} 
[2026-08-08 03:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":151271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:35:09] local.INFO: GPS data processed {"connection_id":151271,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:35:09] local.INFO: Acknowledgment sent {"connection_id":151271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:35:12] local.INFO: TCP Data received {"connection_id":151271,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde412880012cea3040071b76d0001000a32d..."} 
[2026-08-08 03:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde412880012cea3040071b76d0001000a32d..."} 
[2026-08-08 03:35:12] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde412880012cea3040071b76d0001000a32d..."} 
[2026-08-08 03:35:12] local.INFO: Packet analysis {"connection_id":151271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:35:12] local.INFO: Extracted packet for processing {"connection_id":151271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":753545280,"raw_latitude":119240400,"longitude_deg":75.354528,"latitude_deg":11.92404,"altitude":16,"angle":163,"satellites":45,"speed":48,"hex_longitude":"2cea3040","hex_latitude":"071b76d0","is_valid_coordinates":true} 
[2026-08-08 03:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251899648001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374395116690866176,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574852464168398848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786140240000,"timestamp_ms":1786140240000,"timestamp_seconds":1786140240,"priority":1,"record_length":96,"hex_timestamp":"0000019fde412880"} 
[2026-08-08 03:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03: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-08-08 03:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251899648001,"66":27332,"10":206,"2":54272,"24":48,"16":374395116690866176,"44":-1574852464168398848},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-08 03:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251899648001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:35:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-08 03:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374395116690866176,"km_value":374395116690866.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574852464168398848,"description":"Unknown IO ID 44"} 
[2026-08-08 03:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251899648001,"power":27332,"unknown_10":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1574852464168398848}} 
[2026-08-08 03:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":151271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:35:12] local.INFO: GPS data processed {"connection_id":151271,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:35:12] local.INFO: Acknowledgment sent {"connection_id":151271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:35:44] local.INFO: TCP Data received {"connection_id":151271,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4147c0012cea3b00071b53a0001000a32d..."} 
[2026-08-08 03:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4147c0012cea3b00071b53a0001000a32d..."} 
[2026-08-08 03:35:44] local.INFO: Processing buffer {"connection_id":151271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4147c0012cea3b00071b53a0001000a32d..."} 
[2026-08-08 03:35:44] local.INFO: Packet analysis {"connection_id":151271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:35:44] local.INFO: Extracted packet for processing {"connection_id":151271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:35:44] local.INFO: GPS Element Parsed {"raw_longitude":753548032,"raw_latitude":119231392,"longitude_deg":75.3548032,"latitude_deg":11.9231392,"altitude":16,"angle":163,"satellites":45,"speed":46,"hex_longitude":"2cea3b00","hex_latitude":"071b53a0","is_valid_coordinates":true} 
[2026-08-08 03:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251901440001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374395571957399552,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571685870682583040,"note":"Value kept but may cause issues"} 
[2026-08-08 03:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786140248000,"timestamp_ms":1786140248000,"timestamp_seconds":1786140248,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4147c0"} 
[2026-08-08 03:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251901440001,"66":27332,"10":206,"2":54272,"24":46,"16":374395571957399552,"44":-1571685870682583040},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-08 03:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251901440001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:35:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-08 03:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374395571957399552,"km_value":374395571957399.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:35:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571685870682583040,"description":"Unknown IO ID 44"} 
[2026-08-08 03:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251901440001,"power":27332,"unknown_10":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-1571685870682583040}} 
[2026-08-08 03:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":151271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:35:44] local.INFO: GPS data processed {"connection_id":151271,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:35:44] local.INFO: Acknowledgment sent {"connection_id":151271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:36:08] local.INFO: TCP Data received {"connection_id":152743,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:36:08] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:36:08] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:36:12] local.INFO: TCP Data received {"connection_id":152743,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:36:12] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:36:12] local.INFO: IMEI packet received {"connection_id":152743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":152743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:36:13] local.INFO: TCP Data received {"connection_id":152743,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde416700012cea4600071b2dc8001000a32d..."} 
[2026-08-08 03:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde416700012cea4600071b2dc8001000a32d..."} 
[2026-08-08 03:36:13] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde416700012cea4600071b2dc8001000a32d..."} 
[2026-08-08 03:36:13] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:36:13] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753550848,"raw_latitude":119221704,"longitude_deg":75.3550848,"latitude_deg":11.9221704,"altitude":16,"angle":163,"satellites":45,"speed":52,"hex_longitude":"2cea4600","hex_latitude":"071b2dc8","is_valid_coordinates":true} 
[2026-08-08 03:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251903488001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374396061583671296,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568660014685249536,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786140256000,"timestamp_ms":1786140256000,"timestamp_seconds":1786140256,"priority":1,"record_length":96,"hex_timestamp":"0000019fde416700"} 
[2026-08-08 03:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:36: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-08-08 03:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251903488001,"66":27376,"10":206,"2":54272,"24":52,"16":374396061583671296,"44":-1568660014685249536},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-08 03:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251903488001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:36:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-08 03:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374396061583671296,"km_value":374396061583671.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568660014685249536,"description":"Unknown IO ID 44"} 
[2026-08-08 03:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251903488001,"power":27376,"unknown_10":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1568660014685249536}} 
[2026-08-08 03:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:36:13] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:36:13] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:36:14] local.INFO: TCP Data received {"connection_id":152743,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde418258012cea50c0071b0a50001000a32d..."} 
[2026-08-08 03:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde418258012cea50c0071b0a50001000a32d..."} 
[2026-08-08 03:36:14] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde418258012cea50c0071b0a50001000a32d..."} 
[2026-08-08 03:36:14] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:36:14] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde41"} 
[2026-08-08 03:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753553600,"raw_latitude":119212624,"longitude_deg":75.35536,"latitude_deg":11.9212624,"altitude":16,"angle":163,"satellites":45,"speed":55,"hex_longitude":"2cea50c0","hex_latitude":"071b0a50","is_valid_coordinates":true} 
[2026-08-08 03:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251905536001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374396521145171968,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1565563789943912448,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786140263000,"timestamp_ms":1786140263000,"timestamp_seconds":1786140263,"priority":1,"record_length":96,"hex_timestamp":"0000019fde418258"} 
[2026-08-08 03:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251905536001,"66":27376,"10":206,"2":54272,"24":55,"16":374396521145171968,"44":-1565563789943912448},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-08 03:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251905536001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:36:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-08 03:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374396521145171968,"km_value":374396521145171.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1565563789943912448,"description":"Unknown IO ID 44"} 
[2026-08-08 03:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251905536001,"power":27376,"unknown_10":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-1565563789943912448}} 
[2026-08-08 03:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:36:14] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:36:14] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:36:46] local.INFO: TCP Data received {"connection_id":152743,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde430ce0012ceb6b40071a0f08001d007d2d..."} 
[2026-08-08 03:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde430ce0012ceb6b40071a0f08001d007d2d..."} 
[2026-08-08 03:36:46] local.INFO: Processing buffer {"connection_id":152743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde430ce0012ceb6b40071a0f08001d007d2d..."} 
[2026-08-08 03:36:46] local.INFO: Packet analysis {"connection_id":152743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:36:46] local.INFO: Extracted packet for processing {"connection_id":152743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:36:46] local.INFO: GPS Element Parsed {"raw_longitude":753625920,"raw_latitude":119148296,"longitude_deg":75.362592,"latitude_deg":11.9148296,"altitude":29,"angle":125,"satellites":45,"speed":39,"hex_longitude":"2ceb6b40","hex_latitude":"071a0f08","is_valid_coordinates":true} 
[2026-08-08 03:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251930624001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374401494717300736,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492028452295909376,"note":"Value kept but may cause issues"} 
[2026-08-08 03:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786140364000,"timestamp_ms":1786140364000,"timestamp_seconds":1786140364,"priority":1,"record_length":96,"hex_timestamp":"0000019fde430ce0"} 
[2026-08-08 03:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:36: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-08-08 03:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251930624001,"66":27332,"161":206,"2":54272,"24":39,"16":374401494717300736,"44":-1492028452295909376},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-08 03:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251930624001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:36:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 03:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374401494717300736,"km_value":374401494717300.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:36:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492028452295909376,"description":"Unknown IO ID 44"} 
[2026-08-08 03:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251930624001,"power":27332,"unknown_161":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1492028452295909376}} 
[2026-08-08 03:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":152743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:36:46] local.INFO: GPS data processed {"connection_id":152743,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:36:46] local.INFO: Acknowledgment sent {"connection_id":152743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:37:07] local.INFO: TCP Data received {"connection_id":150293,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:37:07] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:37:07] local.INFO: IMEI packet received {"connection_id":150293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":150293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:37:12] local.INFO: TCP Data received {"connection_id":150293,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:37:12] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:37:12] local.INFO: IMEI packet received {"connection_id":150293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":150293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:37:13] local.INFO: TCP Data received {"connection_id":150293,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4314b0012ceb70c0071a09f0001d008c2d..."} 
[2026-08-08 03:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4314b0012ceb70c0071a09f0001d008c2d..."} 
[2026-08-08 03:37:13] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4314b0012ceb70c0071a09f0001d008c2d..."} 
[2026-08-08 03:37:13] local.INFO: Packet analysis {"connection_id":150293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:37:13] local.INFO: Extracted packet for processing {"connection_id":150293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:37:13] local.INFO: GPS Element Parsed {"raw_longitude":753627328,"raw_latitude":119146992,"longitude_deg":75.3627328,"latitude_deg":11.9146992,"altitude":29,"angle":140,"satellites":45,"speed":36,"hex_longitude":"2ceb70c0","hex_latitude":"071a09f0","is_valid_coordinates":true} 
[2026-08-08 03:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251933184001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374401584911613952,"note":"Value kept but may cause issues"} 
[2026-08-08 03:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483021253042305024,"note":"Value kept but may cause issues"} 
[2026-08-08 03:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786140366000,"timestamp_ms":1786140366000,"timestamp_seconds":1786140366,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4314b0"} 
[2026-08-08 03:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:37: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-08-08 03:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251933184001,"66":27332,"161":206,"2":54272,"24":36,"16":374401584911613952,"44":-1483021253042305024},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-08 03:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251933184001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:37:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 03:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374401584911613952,"km_value":374401584911613.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483021253042305024,"description":"Unknown IO ID 44"} 
[2026-08-08 03:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251933184001,"power":27332,"unknown_161":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1483021253042305024}} 
[2026-08-08 03:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":150293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:37:13] local.INFO: GPS data processed {"connection_id":150293,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:37:13] local.INFO: Acknowledgment sent {"connection_id":150293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:37:45] local.INFO: TCP Data received {"connection_id":150293,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde431898012ceb72c0071a0700001d00972d..."} 
[2026-08-08 03:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde431898012ceb72c0071a0700001d00972d..."} 
[2026-08-08 03:37:45] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde431898012ceb72c0071a0700001d00972d..."} 
[2026-08-08 03:37:45] local.INFO: Packet analysis {"connection_id":150293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:37:45] local.INFO: Extracted packet for processing {"connection_id":150293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:37:45] local.INFO: GPS Element Parsed {"raw_longitude":753627840,"raw_latitude":119146240,"longitude_deg":75.362784,"latitude_deg":11.914624,"altitude":29,"angle":151,"satellites":45,"speed":35,"hex_longitude":"2ceb72c0","hex_latitude":"071a0700","is_valid_coordinates":true} 
[2026-08-08 03:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251933696001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374401632156254208,"note":"Value kept but may cause issues"} 
[2026-08-08 03:37:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481473140670730240,"note":"Value kept but may cause issues"} 
[2026-08-08 03:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786140367000,"timestamp_ms":1786140367000,"timestamp_seconds":1786140367,"priority":1,"record_length":96,"hex_timestamp":"0000019fde431898"} 
[2026-08-08 03:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251933696001,"66":27332,"161":206,"2":54272,"24":35,"16":374401632156254208,"44":-1481473140670730240},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-08 03:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251933696001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:37:45] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 03:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374401632156254208,"km_value":374401632156254.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:37:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481473140670730240,"description":"Unknown IO ID 44"} 
[2026-08-08 03:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251933696001,"power":27332,"unknown_161":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1481473140670730240}} 
[2026-08-08 03:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":150293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:37:45] local.INFO: GPS data processed {"connection_id":150293,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:37:45] local.INFO: Acknowledgment sent {"connection_id":150293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:38:07] local.INFO: TCP Data received {"connection_id":150031,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:38:07] local.INFO: Processing buffer {"connection_id":150031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:38:07] local.INFO: IMEI packet received {"connection_id":150031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":150031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:38:13] local.INFO: TCP Data received {"connection_id":150031,"ip":"117.225.174.164","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150031,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:38:13] local.INFO: Processing buffer {"connection_id":150031,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 03:38:13] local.INFO: IMEI packet received {"connection_id":150031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":150031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:38:14] local.INFO: TCP Data received {"connection_id":150031,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde433bc0012ceb80c00719e5c0001b009b2e..."} 
[2026-08-08 03:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde433bc0012ceb80c00719e5c0001b009b2e..."} 
[2026-08-08 03:38:14] local.INFO: Processing buffer {"connection_id":150031,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fde..."} 
[2026-08-08 03:38:14] local.INFO: IMEI packet received {"connection_id":150031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":150031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:38:16] local.INFO: TCP Data received {"connection_id":150031,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde435b00012ceb91c00719c4c8001c00962e..."} 
[2026-08-08 03:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde435b00012ceb91c00719c4c8001c00962e..."} 
[2026-08-08 03:38:16] local.INFO: Processing buffer {"connection_id":150031,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fde433bc0012ceb80c00719e5c0001b009b2e..."} 
[2026-08-08 03:38:16] local.INFO: Packet analysis {"connection_id":150031,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:38:16] local.INFO: Extracted packet for processing {"connection_id":150031,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:38:16] local.INFO: GPS Element Parsed {"raw_longitude":753631424,"raw_latitude":119137728,"longitude_deg":75.3631424,"latitude_deg":11.9137728,"altitude":27,"angle":155,"satellites":46,"speed":45,"hex_longitude":"2ceb80c0","hex_latitude":"0719e5c0","is_valid_coordinates":true} 
[2026-08-08 03:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251933952001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374402078832852992,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480910190717501440,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786140376000,"timestamp_ms":1786140376000,"timestamp_seconds":1786140376,"priority":1,"record_length":96,"hex_timestamp":"0000019fde433bc0"} 
[2026-08-08 03:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251933952001,"66":27300,"161":206,"2":54272,"24":45,"16":374402078832852992,"44":-1480910190717501440},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251933952001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:38:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 03:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374402078832852992,"km_value":374402078832853.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480910190717501440,"description":"Unknown IO ID 44"} 
[2026-08-08 03:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251933952001,"power":27300,"unknown_161":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1480910190717501440}} 
[2026-08-08 03:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":150031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:38:16] local.INFO: GPS data processed {"connection_id":150031,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:38:16] local.INFO: Acknowledgment sent {"connection_id":150031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:38:16] local.INFO: Packet analysis {"connection_id":150031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:38:16] local.INFO: Extracted packet for processing {"connection_id":150031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:38:16] local.INFO: GPS Element Parsed {"raw_longitude":753635776,"raw_latitude":119129288,"longitude_deg":75.3635776,"latitude_deg":11.9129288,"altitude":28,"angle":150,"satellites":46,"speed":47,"hex_longitude":"2ceb91c0","hex_latitude":"0719c4c8","is_valid_coordinates":true} 
[2026-08-08 03:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251936256001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374402534099386368,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476969541045731328,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786140384000,"timestamp_ms":1786140384000,"timestamp_seconds":1786140384,"priority":1,"record_length":96,"hex_timestamp":"0000019fde435b00"} 
[2026-08-08 03:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:38: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-08-08 03:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251936256001,"66":27365,"161":206,"2":54272,"24":47,"16":374402534099386368,"44":-1476969541045731328},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-08 03:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251936256001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:38:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 03:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374402534099386368,"km_value":374402534099386.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476969541045731328,"description":"Unknown IO ID 44"} 
[2026-08-08 03:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251936256001,"power":27365,"unknown_161":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1476969541045731328}} 
[2026-08-08 03:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":150031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:38:16] local.INFO: GPS data processed {"connection_id":150031,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:38:16] local.INFO: Acknowledgment sent {"connection_id":150031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:38:17] local.INFO: TCP Data received {"connection_id":150031,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde437a40012ceba3000719a588001d009626..."} 
[2026-08-08 03:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde437a40012ceba3000719a588001d009626..."} 
[2026-08-08 03:38:17] local.INFO: Processing buffer {"connection_id":150031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde437a40012ceba3000719a588001d009626..."} 
[2026-08-08 03:38:17] local.INFO: Packet analysis {"connection_id":150031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:38:17] local.INFO: Extracted packet for processing {"connection_id":150031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde43"} 
[2026-08-08 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":753640192,"raw_latitude":119121288,"longitude_deg":75.3640192,"latitude_deg":11.9121288,"altitude":29,"angle":150,"satellites":38,"speed":42,"hex_longitude":"2ceba300","hex_latitude":"0719a588","is_valid_coordinates":true} 
[2026-08-08 03:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251938304001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374402976481017856,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1472184466443810816,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786140392000,"timestamp_ms":1786140392000,"timestamp_seconds":1786140392,"priority":1,"record_length":96,"hex_timestamp":"0000019fde437a40"} 
[2026-08-08 03:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251938304001,"66":27365,"161":206,"2":54272,"24":42,"16":374402976481017856,"44":-1472184466443810816},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-08 03:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251938304001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:38:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 03:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374402976481017856,"km_value":374402976481017.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:38:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1472184466443810816,"description":"Unknown IO ID 44"} 
[2026-08-08 03:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251938304001,"power":27365,"unknown_161":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1472184466443810816}} 
[2026-08-08 03:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":150031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:38:17] local.INFO: GPS data processed {"connection_id":150031,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:38:17] local.INFO: Acknowledgment sent {"connection_id":150031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:38:49] local.INFO: TCP Data received {"connection_id":150031,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde44c260012cec7240071869f0002100ba2e..."} 
[2026-08-08 03:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde44c260012cec7240071869f0002100ba2e..."} 
[2026-08-08 03:38:49] local.INFO: Processing buffer {"connection_id":150031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde44c260012cec7240071869f0002100ba2e..."} 
[2026-08-08 03:38:49] local.INFO: Packet analysis {"connection_id":150031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde44"} 
[2026-08-08 03:38:49] local.INFO: Extracted packet for processing {"connection_id":150031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde44"} 
[2026-08-08 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":753693248,"raw_latitude":119040496,"longitude_deg":75.3693248,"latitude_deg":11.9040496,"altitude":33,"angle":186,"satellites":46,"speed":48,"hex_longitude":"2cec7240","hex_latitude":"071869f0","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251961344001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374407756779618304,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408922965450192896,"note":"Value kept but may cause issues"} 
[2026-08-08 03:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786140476000,"timestamp_ms":1786140476000,"timestamp_seconds":1786140476,"priority":1,"record_length":96,"hex_timestamp":"0000019fde44c260"} 
[2026-08-08 03:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:38: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-08-08 03: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-08 03:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03: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-08-08 03:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251961344001,"66":27343,"80":206,"2":54272,"24":48,"16":374407756779618304,"44":-1408922965450192896},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-08-08 03:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251961344001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:38:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-08 03:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374407756779618304,"km_value":374407756779618.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408922965450192896,"description":"Unknown IO ID 44"} 
[2026-08-08 03:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251961344001,"power":27343,"unknown_80":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1408922965450192896}} 
[2026-08-08 03:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":150031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:38:49] local.INFO: GPS data processed {"connection_id":150031,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:38:49] local.INFO: Acknowledgment sent {"connection_id":150031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:39:07] local.INFO: TCP Data received {"connection_id":152744,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:39:07] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:39:07] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:39:11] local.INFO: TCP Data received {"connection_id":152744,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:39:11] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:39:11] local.INFO: IMEI packet received {"connection_id":152744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":152744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:39:13] local.INFO: TCP Data received {"connection_id":152744,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde44ddb8012cec6c0007184798001f00bf2f..."} 
[2026-08-08 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde44ddb8012cec6c0007184798001f00bf2f..."} 
[2026-08-08 03:39:13] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde44ddb8012cec6c0007184798001f00bf2f..."} 
[2026-08-08 03:39:13] local.INFO: Packet analysis {"connection_id":152744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde44"} 
[2026-08-08 03:39:13] local.INFO: Extracted packet for processing {"connection_id":152744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde44"} 
[2026-08-08 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753691648,"raw_latitude":119031704,"longitude_deg":75.3691648,"latitude_deg":11.9031704,"altitude":31,"angle":191,"satellites":47,"speed":52,"hex_longitude":"2cec6c00","hex_latitude":"07184798","is_valid_coordinates":true} 
[2026-08-08 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251961856001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374408190571315200,"note":"Value kept but may cause issues"} 
[2026-08-08 03:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408993334194999296,"note":"Value kept but may cause issues"} 
[2026-08-08 03:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786140483000,"timestamp_ms":1786140483000,"timestamp_seconds":1786140483,"priority":1,"record_length":96,"hex_timestamp":"0000019fde44ddb8"} 
[2026-08-08 03:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251961856001,"66":27397,"159":206,"2":54272,"24":52,"16":374408190571315200,"44":-1408993334194999296},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-08 03:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251961856001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:39:13] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-08 03:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374408190571315200,"km_value":374408190571315.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408993334194999296,"description":"Unknown IO ID 44"} 
[2026-08-08 03:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251961856001,"power":27397,"unknown_159":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1408993334194999296}} 
[2026-08-08 03:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":152744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:39:13] local.INFO: GPS data processed {"connection_id":152744,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:39:13] local.INFO: Acknowledgment sent {"connection_id":152744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:39:44] local.INFO: TCP Data received {"connection_id":152744,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde44f910012cec620007182498002000c02f..."} 
[2026-08-08 03:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde44f910012cec620007182498002000c02f..."} 
[2026-08-08 03:39:44] local.INFO: Processing buffer {"connection_id":152744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde44f910012cec620007182498002000c02f..."} 
[2026-08-08 03:39:44] local.INFO: Packet analysis {"connection_id":152744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde44"} 
[2026-08-08 03:39:44] local.INFO: Extracted packet for processing {"connection_id":152744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde44"} 
[2026-08-08 03:39:44] local.INFO: GPS Element Parsed {"raw_longitude":753689088,"raw_latitude":119022744,"longitude_deg":75.3689088,"latitude_deg":11.9022744,"altitude":32,"angle":192,"satellites":47,"speed":53,"hex_longitude":"2cec6200","hex_latitude":"07182498","is_valid_coordinates":true} 
[2026-08-08 03:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251963648001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374408641542881280,"note":"Value kept but may cause issues"} 
[2026-08-08 03:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410752552801691648,"note":"Value kept but may cause issues"} 
[2026-08-08 03:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786140490000,"timestamp_ms":1786140490000,"timestamp_seconds":1786140490,"priority":1,"record_length":96,"hex_timestamp":"0000019fde44f910"} 
[2026-08-08 03:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 03:39: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-08-08 03:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251963648001,"66":27300,"159":206,"2":54272,"24":53,"16":374408641542881280,"44":-1410752552801691648},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-08 03:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251963648001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:39:44] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-08 03:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374408641542881280,"km_value":374408641542881.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410752552801691648,"description":"Unknown IO ID 44"} 
[2026-08-08 03:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251963648001,"power":27300,"unknown_159":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1410752552801691648}} 
[2026-08-08 03:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":152744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:39:44] local.INFO: GPS data processed {"connection_id":152744,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:39:44] local.INFO: Acknowledgment sent {"connection_id":152744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:40:09] local.INFO: TCP Data received {"connection_id":150032,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:09] local.INFO: Processing buffer {"connection_id":150032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:09] local.INFO: IMEI packet received {"connection_id":150032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:40:12] local.INFO: TCP Data received {"connection_id":150032,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:12] local.INFO: Processing buffer {"connection_id":150032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:12] local.INFO: IMEI packet received {"connection_id":150032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":150032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:40:15] local.INFO: TCP Data received {"connection_id":150032,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:15] local.INFO: Processing buffer {"connection_id":150032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:40:15] local.INFO: IMEI packet received {"connection_id":150032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":150032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:40:16] local.INFO: TCP Data received {"connection_id":150032,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde451468012cec5a4007180298002200c12f..."} 
[2026-08-08 03:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde451468012cec5a4007180298002200c12f..."} 
[2026-08-08 03:40:16] local.INFO: Processing buffer {"connection_id":150032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde451468012cec5a4007180298002200c12f..."} 
[2026-08-08 03:40:16] local.INFO: Packet analysis {"connection_id":150032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde45"} 
[2026-08-08 03:40:16] local.INFO: Extracted packet for processing {"connection_id":150032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde45"} 
[2026-08-08 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":753687104,"raw_latitude":119014040,"longitude_deg":75.3687104,"latitude_deg":11.901404,"altitude":34,"angle":193,"satellites":47,"speed":45,"hex_longitude":"2cec5a40","hex_latitude":"07180298","is_valid_coordinates":true} 
[2026-08-08 03:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251965440001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374409075334578176,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413567302571091968,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786140497000,"timestamp_ms":1786140497000,"timestamp_seconds":1786140497,"priority":1,"record_length":96,"hex_timestamp":"0000019fde451468"} 
[2026-08-08 03:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:40: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-08-08 03:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251965440001,"66":27234,"159":206,"2":54272,"24":45,"16":374409075334578176,"44":-1413567302571091968},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-08 03:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251965440001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:40:16] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-08 03:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374409075334578176,"km_value":374409075334578.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413567302571091968,"description":"Unknown IO ID 44"} 
[2026-08-08 03:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251965440001,"power":27234,"unknown_159":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1413567302571091968}} 
[2026-08-08 03:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":150032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:40:16] local.INFO: GPS data processed {"connection_id":150032,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:40:16] local.INFO: Acknowledgment sent {"connection_id":150032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:40:17] local.INFO: TCP Data received {"connection_id":150032,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4533a8012cec54000717dd78002300bb2f..."} 
[2026-08-08 03:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4533a8012cec54000717dd78002300bb2f..."} 
[2026-08-08 03:40:17] local.INFO: Processing buffer {"connection_id":150032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4533a8012cec54000717dd78002300bb2f..."} 
[2026-08-08 03:40:17] local.INFO: Packet analysis {"connection_id":150032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde45"} 
[2026-08-08 03:40:17] local.INFO: Extracted packet for processing {"connection_id":150032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde45"} 
[2026-08-08 03:40:17] local.INFO: GPS Element Parsed {"raw_longitude":753685504,"raw_latitude":119004536,"longitude_deg":75.3685504,"latitude_deg":11.9004536,"altitude":35,"angle":187,"satellites":47,"speed":50,"hex_longitude":"2cec5400","hex_latitude":"0717dd78","is_valid_coordinates":true} 
[2026-08-08 03:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251967232001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374409543486013440,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415748733642827776,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786140505000,"timestamp_ms":1786140505000,"timestamp_seconds":1786140505,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4533a8"} 
[2026-08-08 03:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:40: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 03:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251967232001,"66":27397,"159":206,"2":54272,"24":50,"16":374409543486013440,"44":-1415748733642827776},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-08 03:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251967232001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:40:17] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-08 03:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374409543486013440,"km_value":374409543486013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:40:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415748733642827776,"description":"Unknown IO ID 44"} 
[2026-08-08 03:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251967232001,"power":27397,"unknown_159":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1415748733642827776}} 
[2026-08-08 03:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":150032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:40:17] local.INFO: GPS data processed {"connection_id":150032,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:40:17] local.INFO: Acknowledgment sent {"connection_id":150032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:40:49] local.INFO: TCP Data received {"connection_id":150032,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde468b68012cec8e8007163220001600902e..."} 
[2026-08-08 03:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde468b68012cec8e8007163220001600902e..."} 
[2026-08-08 03:40:49] local.INFO: Processing buffer {"connection_id":150032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde468b68012cec8e8007163220001600902e..."} 
[2026-08-08 03:40:49] local.INFO: Packet analysis {"connection_id":150032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:40:49] local.INFO: Extracted packet for processing {"connection_id":150032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:40:49] local.INFO: GPS Element Parsed {"raw_longitude":753700480,"raw_latitude":118895136,"longitude_deg":75.370048,"latitude_deg":11.8895136,"altitude":22,"angle":144,"satellites":46,"speed":49,"hex_longitude":"2cec8e80","hex_latitude":"07163220","is_valid_coordinates":true} 
[2026-08-08 03:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251991040001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374415010979381248,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1403082359720452096,"note":"Value kept but may cause issues"} 
[2026-08-08 03:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786140593000,"timestamp_ms":1786140593000,"timestamp_seconds":1786140593,"priority":1,"record_length":96,"hex_timestamp":"0000019fde468b68"} 
[2026-08-08 03:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:40: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-08-08 03:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 03:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251991040001,"66":27343,"33":206,"2":54272,"24":49,"16":374415010979381248,"44":-1403082359720452096},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251991040001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:40:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374415010979381248,"km_value":374415010979381.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1403082359720452096,"description":"Unknown IO ID 44"} 
[2026-08-08 03:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251991040001,"power":27343,"unknown_33":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-1403082359720452096}} 
[2026-08-08 03:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":150032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:40:49] local.INFO: GPS data processed {"connection_id":150032,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:40:49] local.INFO: Acknowledgment sent {"connection_id":150032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:41:05] local.INFO: TCP Data received {"connection_id":151272,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:05] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:05] local.INFO: IMEI packet received {"connection_id":151272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":151272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:41:07] local.INFO: TCP Data received {"connection_id":151272,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:07] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:07] local.INFO: IMEI packet received {"connection_id":151272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":151272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:41:12] local.INFO: TCP Data received {"connection_id":151272,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:12] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:41:12] local.INFO: IMEI packet received {"connection_id":151272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":151272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:41:14] local.INFO: TCP Data received {"connection_id":151272,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde46aaa8012ceca740071613180018008f2d..."} 
[2026-08-08 03:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde46aaa8012ceca740071613180018008f2d..."} 
[2026-08-08 03:41:14] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde46aaa8012ceca740071613180018008f2d..."} 
[2026-08-08 03:41:14] local.INFO: Packet analysis {"connection_id":151272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:41:14] local.INFO: Extracted packet for processing {"connection_id":151272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:41:14] local.INFO: GPS Element Parsed {"raw_longitude":753706816,"raw_latitude":118887192,"longitude_deg":75.3706816,"latitude_deg":11.8887192,"altitude":24,"angle":143,"satellites":45,"speed":48,"hex_longitude":"2ceca740","hex_latitude":"07161318","is_valid_coordinates":true} 
[2026-08-08 03:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251991808001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374415500605652992,"note":"Value kept but may cause issues"} 
[2026-08-08 03:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401041666140135424,"note":"Value kept but may cause issues"} 
[2026-08-08 03:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786140601000,"timestamp_ms":1786140601000,"timestamp_seconds":1786140601,"priority":1,"record_length":96,"hex_timestamp":"0000019fde46aaa8"} 
[2026-08-08 03:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:41: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-08-08 03:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251991808001,"66":27365,"33":206,"2":54272,"24":48,"16":374415500605652992,"44":-1401041666140135424},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251991808001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:41:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374415500605652992,"km_value":374415500605653.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401041666140135424,"description":"Unknown IO ID 44"} 
[2026-08-08 03:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251991808001,"power":27365,"unknown_33":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1401041666140135424}} 
[2026-08-08 03:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":151272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:41:14] local.INFO: GPS data processed {"connection_id":151272,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:41:14] local.INFO: Acknowledgment sent {"connection_id":151272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:41:45] local.INFO: TCP Data received {"connection_id":151272,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde46c9e8012cecbe000715f318001900942e..."} 
[2026-08-08 03:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde46c9e8012cecbe000715f318001900942e..."} 
[2026-08-08 03:41:45] local.INFO: Processing buffer {"connection_id":151272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde46c9e8012cecbe000715f318001900942e..."} 
[2026-08-08 03:41:45] local.INFO: Packet analysis {"connection_id":151272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:41:45] local.INFO: Extracted packet for processing {"connection_id":151272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:41:45] local.INFO: GPS Element Parsed {"raw_longitude":753712640,"raw_latitude":118879000,"longitude_deg":75.371264,"latitude_deg":11.8879,"altitude":25,"angle":148,"satellites":46,"speed":47,"hex_longitude":"2cecbe00","hex_latitude":"0715f318","is_valid_coordinates":true} 
[2026-08-08 03:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251993856001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374415981641990144,"note":"Value kept but may cause issues"} 
[2026-08-08 03:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394075160468580352,"note":"Value kept but may cause issues"} 
[2026-08-08 03:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786140609000,"timestamp_ms":1786140609000,"timestamp_seconds":1786140609,"priority":1,"record_length":96,"hex_timestamp":"0000019fde46c9e8"} 
[2026-08-08 03:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03: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-08-08 03: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:41: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-08-08 03:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251993856001,"66":27463,"33":206,"2":54272,"24":47,"16":374415981641990144,"44":-1394075160468580352},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251993856001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:41:45] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374415981641990144,"km_value":374415981641990.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394075160468580352,"description":"Unknown IO ID 44"} 
[2026-08-08 03:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251993856001,"power":27463,"unknown_33":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1394075160468580352}} 
[2026-08-08 03:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":151272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:41:45] local.INFO: GPS data processed {"connection_id":151272,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:41:45] local.INFO: Acknowledgment sent {"connection_id":151272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:42:07] local.INFO: TCP Data received {"connection_id":150294,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:42:07] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:42:07] local.INFO: IMEI packet received {"connection_id":150294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":150294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:42:11] local.INFO: TCP Data received {"connection_id":150294,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:42:11] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:42:11] local.INFO: IMEI packet received {"connection_id":150294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":150294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:42:12] local.INFO: TCP Data received {"connection_id":150294,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde46ed10012ceccf400715d1a0001a009c2f..."} 
[2026-08-08 03:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde46ed10012ceccf400715d1a0001a009c2f..."} 
[2026-08-08 03:42:12] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde46ed10012ceccf400715d1a0001a009c2f..."} 
[2026-08-08 03:42:12] local.INFO: Packet analysis {"connection_id":150294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:42:12] local.INFO: Extracted packet for processing {"connection_id":150294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde46"} 
[2026-08-08 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753717056,"raw_latitude":118870432,"longitude_deg":75.3717056,"latitude_deg":11.8870432,"altitude":26,"angle":156,"satellites":47,"speed":39,"hex_longitude":"2ceccf40","hex_latitude":"0715d1a0","is_valid_coordinates":true} 
[2026-08-08 03:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251995904001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374416449793425408,"note":"Value kept but may cause issues"} 
[2026-08-08 03:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387671604750510080,"note":"Value kept but may cause issues"} 
[2026-08-08 03:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786140618000,"timestamp_ms":1786140618000,"timestamp_seconds":1786140618,"priority":1,"record_length":96,"hex_timestamp":"0000019fde46ed10"} 
[2026-08-08 03:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251995904001,"66":27343,"33":206,"2":54272,"24":39,"16":374416449793425408,"44":-1387671604750510080},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251995904001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:42:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374416449793425408,"km_value":374416449793425.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387671604750510080,"description":"Unknown IO ID 44"} 
[2026-08-08 03:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251995904001,"power":27343,"unknown_33":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1387671604750510080}} 
[2026-08-08 03:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":150294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:42:12] local.INFO: GPS data processed {"connection_id":150294,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:42:12] local.INFO: Acknowledgment sent {"connection_id":150294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:42:44] local.INFO: TCP Data received {"connection_id":150294,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde471038012cecddc00715af78001a009b2d..."} 
[2026-08-08 03:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde471038012cecddc00715af78001a009b2d..."} 
[2026-08-08 03:42:44] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde471038012cecddc00715af78001a009b2d..."} 
[2026-08-08 03:42:44] local.INFO: Packet analysis {"connection_id":150294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde47"} 
[2026-08-08 03:42:44] local.INFO: Extracted packet for processing {"connection_id":150294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde47"} 
[2026-08-08 03:42:44] local.INFO: GPS Element Parsed {"raw_longitude":753720768,"raw_latitude":118861688,"longitude_deg":75.3720768,"latitude_deg":11.8861688,"altitude":26,"angle":155,"satellites":45,"speed":45,"hex_longitude":"2cecddc0","hex_latitude":"0715af78","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457251998208001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374416909354926080,"note":"Value kept but may cause issues"} 
[2026-08-08 03:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1382816161404444672,"note":"Value kept but may cause issues"} 
[2026-08-08 03:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786140627000,"timestamp_ms":1786140627000,"timestamp_seconds":1786140627,"priority":1,"record_length":96,"hex_timestamp":"0000019fde471038"} 
[2026-08-08 03:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03: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-08-08 03:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457251998208001,"66":27169,"33":206,"2":54272,"24":45,"16":374416909354926080,"44":-1382816161404444672},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-08 03:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457251998208001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:42:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 03:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374416909354926080,"km_value":374416909354926.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1382816161404444672,"description":"Unknown IO ID 44"} 
[2026-08-08 03:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457251998208001,"power":27169,"unknown_33":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1382816161404444672}} 
[2026-08-08 03:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":150294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:42:44] local.INFO: GPS data processed {"connection_id":150294,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:42:44] local.INFO: Acknowledgment sent {"connection_id":150294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:43:05] local.INFO: TCP Data received {"connection_id":150033,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:05] local.INFO: Processing buffer {"connection_id":150033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:05] local.INFO: IMEI packet received {"connection_id":150033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":150033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:43:07] local.INFO: TCP Data received {"connection_id":150033,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:07] local.INFO: Processing buffer {"connection_id":150033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:07] local.INFO: IMEI packet received {"connection_id":150033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":150033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:43:09] local.INFO: TCP Data received {"connection_id":150033,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:09] local.INFO: Processing buffer {"connection_id":150033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:43:09] local.INFO: IMEI packet received {"connection_id":150033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":150033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:43:10] local.INFO: TCP Data received {"connection_id":150033,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde488f08012ced3ec007147ed0001a00c031..."} 
[2026-08-08 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde488f08012ced3ec007147ed0001a00c031..."} 
[2026-08-08 03:43:10] local.INFO: Processing buffer {"connection_id":150033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde488f08012ced3ec007147ed0001a00c031..."} 
[2026-08-08 03:43:10] local.INFO: Packet analysis {"connection_id":150033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde48"} 
[2026-08-08 03:43:10] local.INFO: Extracted packet for processing {"connection_id":150033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde48"} 
[2026-08-08 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":753745600,"raw_latitude":118783696,"longitude_deg":75.37456,"latitude_deg":11.8783696,"altitude":26,"angle":192,"satellites":49,"speed":36,"hex_longitude":"2ced3ec0","hex_latitude":"07147ed0","is_valid_coordinates":true} 
[2026-08-08 03:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252025600001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374420920854380544,"note":"Value kept but may cause issues"} 
[2026-08-08 03:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351431701523410944,"note":"Value kept but may cause issues"} 
[2026-08-08 03:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786140725000,"timestamp_ms":1786140725000,"timestamp_seconds":1786140725,"priority":1,"record_length":96,"hex_timestamp":"0000019fde488f08"} 
[2026-08-08 03:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252025600001,"66":27343,"144":206,"2":54272,"24":36,"16":374420920854380544,"44":-1351431701523410944},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-08-08 03:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252025600001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:43:10] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 03:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374420920854380544,"km_value":374420920854380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351431701523410944,"description":"Unknown IO ID 44"} 
[2026-08-08 03:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252025600001,"power":27343,"unknown_144":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1351431701523410944}} 
[2026-08-08 03:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":150033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:43:10] local.INFO: GPS data processed {"connection_id":150033,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:43:10] local.INFO: Acknowledgment sent {"connection_id":150033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:43:41] local.INFO: TCP Data received {"connection_id":150033,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde48b230012ced340007145ef0001a00cb2c..."} 
[2026-08-08 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde48b230012ced340007145ef0001a00cb2c..."} 
[2026-08-08 03:43:41] local.INFO: Processing buffer {"connection_id":150033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde48b230012ced340007145ef0001a00cb2c..."} 
[2026-08-08 03:43:41] local.INFO: Packet analysis {"connection_id":150033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde48"} 
[2026-08-08 03:43:41] local.INFO: Extracted packet for processing {"connection_id":150033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde48"} 
[2026-08-08 03:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753742848,"raw_latitude":118775536,"longitude_deg":75.3742848,"latitude_deg":11.8775536,"altitude":26,"angle":203,"satellites":44,"speed":40,"hex_longitude":"2ced3400","hex_latitude":"07145ef0","is_valid_coordinates":true} 
[2026-08-08 03:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252025600001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374421337466208256,"note":"Value kept but may cause issues"} 
[2026-08-08 03:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351431701523410944,"note":"Value kept but may cause issues"} 
[2026-08-08 03:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786140734000,"timestamp_ms":1786140734000,"timestamp_seconds":1786140734,"priority":1,"record_length":96,"hex_timestamp":"0000019fde48b230"} 
[2026-08-08 03:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252025600001,"66":27180,"144":206,"2":54272,"24":40,"16":374421337466208256,"44":-1351431701523410944},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-08-08 03:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252025600001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:43:41] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 03:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374421337466208256,"km_value":374421337466208.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351431701523410944,"description":"Unknown IO ID 44"} 
[2026-08-08 03:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252025600001,"power":27180,"unknown_144":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1351431701523410944}} 
[2026-08-08 03:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":150033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:43:42] local.INFO: GPS data processed {"connection_id":150033,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:43:42] local.INFO: Acknowledgment sent {"connection_id":150033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:44:07] local.INFO: TCP Data received {"connection_id":152745,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:07] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:07] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:44:08] local.INFO: TCP Data received {"connection_id":152745,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:08] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:08] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:44:12] local.INFO: TCP Data received {"connection_id":152745,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:12] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:44:12] local.INFO: IMEI packet received {"connection_id":152745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":152745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:44:13] local.INFO: TCP Data received {"connection_id":152745,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4994c0012ced9dc00713e9200020005d2d..."} 
[2026-08-08 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4994c0012ced9dc00713e9200020005d2d..."} 
[2026-08-08 03:44:13] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4994c0012ced9dc00713e9200020005d2d..."} 
[2026-08-08 03:44:13] local.INFO: Packet analysis {"connection_id":152745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde49"} 
[2026-08-08 03:44:13] local.INFO: Extracted packet for processing {"connection_id":152745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde49"} 
[2026-08-08 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":753769920,"raw_latitude":118745376,"longitude_deg":75.376992,"latitude_deg":11.8745376,"altitude":32,"angle":93,"satellites":45,"speed":40,"hex_longitude":"2ced9dc0","hex_latitude":"0713e920","is_valid_coordinates":true} 
[2026-08-08 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252040448001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374424013230833664,"note":"Value kept but may cause issues"} 
[2026-08-08 03:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334824677907261440,"note":"Value kept but may cause issues"} 
[2026-08-08 03:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786140792000,"timestamp_ms":1786140792000,"timestamp_seconds":1786140792,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4994c0"} 
[2026-08-08 03:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252040448001,"66":27376,"142":206,"2":54272,"24":40,"16":374424013230833664,"44":-1334824677907261440},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-08 03:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252040448001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:44:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 03:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374424013230833664,"km_value":374424013230833.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334824677907261440,"description":"Unknown IO ID 44"} 
[2026-08-08 03:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252040448001,"power":27376,"unknown_142":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1334824677907261440}} 
[2026-08-08 03:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":152745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:44:13] local.INFO: GPS data processed {"connection_id":152745,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:44:13] local.INFO: Acknowledgment sent {"connection_id":152745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:44:45] local.INFO: TCP Data received {"connection_id":152745,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde49b7e8012cedc4400713e7480021005c2f..."} 
[2026-08-08 03:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde49b7e8012cedc4400713e7480021005c2f..."} 
[2026-08-08 03:44:45] local.INFO: Processing buffer {"connection_id":152745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde49b7e8012cedc4400713e7480021005c2f..."} 
[2026-08-08 03:44:45] local.INFO: Packet analysis {"connection_id":152745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde49"} 
[2026-08-08 03:44:45] local.INFO: Extracted packet for processing {"connection_id":152745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde49"} 
[2026-08-08 03:44:45] local.INFO: GPS Element Parsed {"raw_longitude":753779776,"raw_latitude":118744904,"longitude_deg":75.3779776,"latitude_deg":11.8744904,"altitude":33,"angle":92,"satellites":47,"speed":44,"hex_longitude":"2cedc440","hex_latitude":"0713e748","is_valid_coordinates":true} 
[2026-08-08 03:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252042752001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374424481382268928,"note":"Value kept but may cause issues"} 
[2026-08-08 03:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1324691578745708544,"note":"Value kept but may cause issues"} 
[2026-08-08 03:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786140801000,"timestamp_ms":1786140801000,"timestamp_seconds":1786140801,"priority":1,"record_length":96,"hex_timestamp":"0000019fde49b7e8"} 
[2026-08-08 03:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:44: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-08-08 03:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252042752001,"66":27397,"142":206,"2":54272,"24":44,"16":374424481382268928,"44":-1324691578745708544},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-08 03:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252042752001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:44:45] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 03:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374424481382268928,"km_value":374424481382268.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1324691578745708544,"description":"Unknown IO ID 44"} 
[2026-08-08 03:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252042752001,"power":27397,"unknown_142":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-1324691578745708544}} 
[2026-08-08 03:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":152745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:44:45] local.INFO: GPS data processed {"connection_id":152745,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:44:45] local.INFO: Acknowledgment sent {"connection_id":152745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:45:07] local.INFO: TCP Data received {"connection_id":150295,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:07] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:07] local.INFO: IMEI packet received {"connection_id":150295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":150295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:45:08] local.INFO: TCP Data received {"connection_id":150295,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:08] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:08] local.INFO: IMEI packet received {"connection_id":150295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":150295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:45:12] local.INFO: TCP Data received {"connection_id":150295,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:12] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:45:12] local.INFO: IMEI packet received {"connection_id":150295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":150295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:45:13] local.INFO: TCP Data received {"connection_id":150295,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde49d728012cede9000713e5800022005a2f..."} 
[2026-08-08 03:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde49d728012cede9000713e5800022005a2f..."} 
[2026-08-08 03:45:13] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde49d728012cede9000713e5800022005a2f..."} 
[2026-08-08 03:45:13] local.INFO: Packet analysis {"connection_id":150295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde49"} 
[2026-08-08 03:45:13] local.INFO: Extracted packet for processing {"connection_id":150295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde49"} 
[2026-08-08 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753789184,"raw_latitude":118744448,"longitude_deg":75.3789184,"latitude_deg":11.8744448,"altitude":34,"angle":90,"satellites":47,"speed":46,"hex_longitude":"2cede900","hex_latitude":"0713e580","is_valid_coordinates":true} 
[2026-08-08 03:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252045056001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374424928058867712,"note":"Value kept but may cause issues"} 
[2026-08-08 03:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1313854792142469120,"note":"Value kept but may cause issues"} 
[2026-08-08 03:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786140809000,"timestamp_ms":1786140809000,"timestamp_seconds":1786140809,"priority":1,"record_length":96,"hex_timestamp":"0000019fde49d728"} 
[2026-08-08 03:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 03:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252045056001,"66":27365,"142":206,"2":54272,"24":46,"16":374424928058867712,"44":-1313854792142469120},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-08 03:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252045056001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:45:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 03:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374424928058867712,"km_value":374424928058867.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1313854792142469120,"description":"Unknown IO ID 44"} 
[2026-08-08 03:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252045056001,"power":27365,"unknown_142":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-1313854792142469120}} 
[2026-08-08 03:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":150295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:45:13] local.INFO: GPS data processed {"connection_id":150295,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:45:13] local.INFO: Acknowledgment sent {"connection_id":150295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:45:45] local.INFO: TCP Data received {"connection_id":150295,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4b2b00012cef8f800713bdb80024008830..."} 
[2026-08-08 03:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4b2b00012cef8f800713bdb80024008830..."} 
[2026-08-08 03:45:45] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4b2b00012cef8f800713bdb80024008830..."} 
[2026-08-08 03:45:45] local.INFO: Packet analysis {"connection_id":150295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:45:45] local.INFO: Extracted packet for processing {"connection_id":150295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:45:45] local.INFO: GPS Element Parsed {"raw_longitude":753897344,"raw_latitude":118734264,"longitude_deg":75.3897344,"latitude_deg":11.8734264,"altitude":36,"angle":136,"satellites":48,"speed":45,"hex_longitude":"2cef8f80","hex_latitude":"0713bdb8","is_valid_coordinates":true} 
[2026-08-08 03:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252068096001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374430185098838016,"note":"Value kept but may cause issues"} 
[2026-08-08 03:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1189161377461393408,"note":"Value kept but may cause issues"} 
[2026-08-08 03:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786140896000,"timestamp_ms":1786140896000,"timestamp_seconds":1786140896,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4b2b00"} 
[2026-08-08 03:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 03:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252068096001,"66":27484,"154":206,"2":54272,"24":45,"16":374430185098838016,"44":-1189161377461393408},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-08-08 03:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252068096001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:45:45] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 03:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374430185098838016,"km_value":374430185098838.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1189161377461393408,"description":"Unknown IO ID 44"} 
[2026-08-08 03:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252068096001,"power":27484,"unknown_154":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1189161377461393408}} 
[2026-08-08 03:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":150295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:45:45] local.INFO: GPS data processed {"connection_id":150295,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:45:45] local.INFO: Acknowledgment sent {"connection_id":150295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:46:07] local.INFO: TCP Data received {"connection_id":151273,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:46:07] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:46:07] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:46:12] local.INFO: TCP Data received {"connection_id":151273,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:46:12] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:46:12] local.INFO: IMEI packet received {"connection_id":151273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":151273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:46:14] local.INFO: TCP Data received {"connection_id":151273,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4b4270012cefa4000713aac8002200752f..."} 
[2026-08-08 03:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4b4270012cefa4000713aac8002200752f..."} 
[2026-08-08 03:46:14] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4b4270012cefa4000713aac8002200752f..."} 
[2026-08-08 03:46:14] local.INFO: Packet analysis {"connection_id":151273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:46:14] local.INFO: Extracted packet for processing {"connection_id":151273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753902592,"raw_latitude":118729416,"longitude_deg":75.3902592,"latitude_deg":11.8729416,"altitude":34,"angle":117,"satellites":47,"speed":50,"hex_longitude":"2cefa400","hex_latitude":"0713aac8","is_valid_coordinates":true} 
[2026-08-08 03:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252069376001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374430528696221696,"note":"Value kept but may cause issues"} 
[2026-08-08 03:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1184587409090824192,"note":"Value kept but may cause issues"} 
[2026-08-08 03:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786140902000,"timestamp_ms":1786140902000,"timestamp_seconds":1786140902,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4b4270"} 
[2026-08-08 03:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 03:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252069376001,"66":27321,"64":206,"2":54272,"24":50,"16":374430528696221696,"44":-1184587409090824192},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 03:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252069376001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:46:14] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 03:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374430528696221696,"km_value":374430528696221.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1184587409090824192,"description":"Unknown IO ID 44"} 
[2026-08-08 03:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252069376001,"power":27321,"unknown_64":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1184587409090824192}} 
[2026-08-08 03:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":151273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:46:14] local.INFO: GPS data processed {"connection_id":151273,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:46:14] local.INFO: Acknowledgment sent {"connection_id":151273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:46:45] local.INFO: TCP Data received {"connection_id":151273,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4b4a40012cefad800713a760002200672d..."} 
[2026-08-08 03:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4b4a40012cefad800713a760002200672d..."} 
[2026-08-08 03:46:45] local.INFO: Processing buffer {"connection_id":151273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4b4a40012cefad800713a760002200672d..."} 
[2026-08-08 03:46:45] local.INFO: Packet analysis {"connection_id":151273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:46:45] local.INFO: Extracted packet for processing {"connection_id":151273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:46:45] local.INFO: GPS Element Parsed {"raw_longitude":753905024,"raw_latitude":118728544,"longitude_deg":75.3905024,"latitude_deg":11.8728544,"altitude":34,"angle":103,"satellites":45,"speed":50,"hex_longitude":"2cefad80","hex_latitude":"0713a760","is_valid_coordinates":true} 
[2026-08-08 03:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252070912001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374430653250273280,"note":"Value kept but may cause issues"} 
[2026-08-08 03:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1178817172069496832,"note":"Value kept but may cause issues"} 
[2026-08-08 03:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786140904000,"timestamp_ms":1786140904000,"timestamp_seconds":1786140904,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4b4a40"} 
[2026-08-08 03:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":185,"data_length":795,"current_offset":136} 
[2026-08-08 03:46: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-08-08 03:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252070912001,"66":27234,"64":206,"2":54272,"24":50,"16":374430653250273280,"44":-1178817172069496832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 03:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252070912001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:46:45] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 03:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374430653250273280,"km_value":374430653250273.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1178817172069496832,"description":"Unknown IO ID 44"} 
[2026-08-08 03:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252070912001,"power":27234,"unknown_64":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1178817172069496832}} 
[2026-08-08 03:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":151273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:46:45] local.INFO: GPS data processed {"connection_id":151273,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:46:45] local.INFO: Acknowledgment sent {"connection_id":151273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:47:07] local.INFO: TCP Data received {"connection_id":150034,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:47:07] local.INFO: Processing buffer {"connection_id":150034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:47:07] local.INFO: IMEI packet received {"connection_id":150034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":150034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:47:12] local.INFO: TCP Data received {"connection_id":150034,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:47:12] local.INFO: Processing buffer {"connection_id":150034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:47:12] local.INFO: IMEI packet received {"connection_id":150034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":150034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:47:13] local.INFO: TCP Data received {"connection_id":150034,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4b6980012cefd44007139fe80022006830..."} 
[2026-08-08 03:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4b6980012cefd44007139fe80022006830..."} 
[2026-08-08 03:47:14] local.INFO: Processing buffer {"connection_id":150034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4b6980012cefd44007139fe80022006830..."} 
[2026-08-08 03:47:14] local.INFO: Packet analysis {"connection_id":150034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:47:14] local.INFO: Extracted packet for processing {"connection_id":150034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4b"} 
[2026-08-08 03:47:14] local.INFO: GPS Element Parsed {"raw_longitude":753914944,"raw_latitude":118726632,"longitude_deg":75.3914944,"latitude_deg":11.8726632,"altitude":34,"angle":104,"satellites":48,"speed":50,"hex_longitude":"2cefd440","hex_latitude":"07139fe8","is_valid_coordinates":true} 
[2026-08-08 03:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252071424001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374431129991643136,"note":"Value kept but may cause issues"} 
[2026-08-08 03:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1176143159790968832,"note":"Value kept but may cause issues"} 
[2026-08-08 03:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786140912000,"timestamp_ms":1786140912000,"timestamp_seconds":1786140912,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4b6980"} 
[2026-08-08 03:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 03:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252071424001,"66":27397,"64":206,"2":54272,"24":50,"16":374431129991643136,"44":-1176143159790968832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 03:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252071424001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:47:14] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 03:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374431129991643136,"km_value":374431129991643.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1176143159790968832,"description":"Unknown IO ID 44"} 
[2026-08-08 03:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252071424001,"power":27397,"unknown_64":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1176143159790968832}} 
[2026-08-08 03:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":150034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:47:14] local.INFO: GPS data processed {"connection_id":150034,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:47:14] local.INFO: Acknowledgment sent {"connection_id":150034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:47:46] local.INFO: TCP Data received {"connection_id":150034,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4ce850012cf1154007137310001900752e..."} 
[2026-08-08 03:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4ce850012cf1154007137310001900752e..."} 
[2026-08-08 03:47:46] local.INFO: Processing buffer {"connection_id":150034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4ce850012cf1154007137310001900752e..."} 
[2026-08-08 03:47:46] local.INFO: Packet analysis {"connection_id":150034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4c"} 
[2026-08-08 03:47:46] local.INFO: Extracted packet for processing {"connection_id":150034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4c"} 
[2026-08-08 03:47:46] local.INFO: GPS Element Parsed {"raw_longitude":753997120,"raw_latitude":118715152,"longitude_deg":75.399712,"latitude_deg":11.8715152,"altitude":25,"angle":117,"satellites":46,"speed":48,"hex_longitude":"2cf11540","hex_latitude":"07137310","is_valid_coordinates":true} 
[2026-08-08 03:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252097280001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374435231685410816,"note":"Value kept but may cause issues"} 
[2026-08-08 03:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1080371298968016896,"note":"Value kept but may cause issues"} 
[2026-08-08 03:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786141010000,"timestamp_ms":1786141010000,"timestamp_seconds":1786141010,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4ce850"} 
[2026-08-08 03:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03: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-08-08 03: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-08 03:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252097280001,"66":27332,"98":206,"2":54272,"24":48,"16":374435231685410816,"44":-1080371298968016896},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 03:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252097280001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:47:46] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 03:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374435231685410816,"km_value":374435231685410.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1080371298968016896,"description":"Unknown IO ID 44"} 
[2026-08-08 03:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252097280001,"power":27332,"unknown_98":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1080371298968016896}} 
[2026-08-08 03:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":150034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:47:46] local.INFO: GPS data processed {"connection_id":150034,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:47:46] local.INFO: Acknowledgment sent {"connection_id":150034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:48:08] local.INFO: TCP Data received {"connection_id":152746,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:08] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:08] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:48:12] local.INFO: TCP Data received {"connection_id":152746,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:12] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:12] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:48:16] local.INFO: TCP Data received {"connection_id":152746,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:16] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:48:16] local.INFO: IMEI packet received {"connection_id":152746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":152746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:48:18] local.INFO: TCP Data received {"connection_id":152746,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4d03a8012cf13680071363e8001500722a..."} 
[2026-08-08 03:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4d03a8012cf13680071363e8001500722a..."} 
[2026-08-08 03:48:18] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4d03a8012cf13680071363e8001500722a..."} 
[2026-08-08 03:48:18] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4d"} 
[2026-08-08 03:48:18] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4d"} 
[2026-08-08 03:48:18] local.INFO: GPS Element Parsed {"raw_longitude":754005632,"raw_latitude":118711272,"longitude_deg":75.4005632,"latitude_deg":11.8711272,"altitude":21,"angle":114,"satellites":42,"speed":53,"hex_longitude":"2cf13680","hex_latitude":"071363e8","is_valid_coordinates":true} 
[2026-08-08 03:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252098560001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374435678362009600,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1074882536922738688,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786141017000,"timestamp_ms":1786141017000,"timestamp_seconds":1786141017,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4d03a8"} 
[2026-08-08 03:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252098560001,"66":27343,"98":206,"2":54272,"24":53,"16":374435678362009600,"44":-1074882536922738688},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 03:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252098560001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:48:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 03:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374435678362009600,"km_value":374435678362009.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1074882536922738688,"description":"Unknown IO ID 44"} 
[2026-08-08 03:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252098560001,"power":27343,"unknown_98":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1074882536922738688}} 
[2026-08-08 03:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:48:18] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:48:18] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:48:20] local.INFO: TCP Data received {"connection_id":152746,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4d1348012cf14880071359700013007e2d..."} 
[2026-08-08 03:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4d1348012cf14880071359700013007e2d..."} 
[2026-08-08 03:48:20] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4d1348012cf14880071359700013007e2d..."} 
[2026-08-08 03:48:20] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4d"} 
[2026-08-08 03:48:20] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4d"} 
[2026-08-08 03:48:20] local.INFO: GPS Element Parsed {"raw_longitude":754010240,"raw_latitude":118708592,"longitude_deg":75.401024,"latitude_deg":11.8708592,"altitude":19,"angle":126,"satellites":45,"speed":50,"hex_longitude":"2cf14880","hex_latitude":"07135970","is_valid_coordinates":true} 
[2026-08-08 03:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252100352001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374435931765080064,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1065523493948102656,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786141021000,"timestamp_ms":1786141021000,"timestamp_seconds":1786141021,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4d1348"} 
[2026-08-08 03:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252100352001,"66":27343,"98":206,"2":54272,"24":50,"16":374435931765080064,"44":-1065523493948102656},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 03:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252100352001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 03:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374435931765080064,"km_value":374435931765080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1065523493948102656,"description":"Unknown IO ID 44"} 
[2026-08-08 03:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252100352001,"power":27343,"unknown_98":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1065523493948102656}} 
[2026-08-08 03:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:48:20] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:48:20] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:48:51] local.INFO: TCP Data received {"connection_id":152746,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4d3288012cf16680071340a00011008430..."} 
[2026-08-08 03:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4d3288012cf16680071340a00011008430..."} 
[2026-08-08 03:48:51] local.INFO: Processing buffer {"connection_id":152746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4d3288012cf16680071340a00011008430..."} 
[2026-08-08 03:48:51] local.INFO: Packet analysis {"connection_id":152746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4d"} 
[2026-08-08 03:48:51] local.INFO: Extracted packet for processing {"connection_id":152746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4d"} 
[2026-08-08 03:48:51] local.INFO: GPS Element Parsed {"raw_longitude":754017920,"raw_latitude":118702240,"longitude_deg":75.401792,"latitude_deg":11.870224,"altitude":17,"angle":132,"satellites":48,"speed":51,"hex_longitude":"2cf16680","hex_latitude":"071340a0","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252101376001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374436408506449920,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1060456944367996928,"note":"Value kept but may cause issues"} 
[2026-08-08 03:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786141029000,"timestamp_ms":1786141029000,"timestamp_seconds":1786141029,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4d3288"} 
[2026-08-08 03:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:48: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-08-08 03: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-08-08 03:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252101376001,"66":27310,"98":206,"2":54272,"24":51,"16":374436408506449920,"44":-1060456944367996928},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 03:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252101376001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:48:51] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 03:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374436408506449920,"km_value":374436408506449.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1060456944367996928,"description":"Unknown IO ID 44"} 
[2026-08-08 03:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252101376001,"power":27310,"unknown_98":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-1060456944367996928}} 
[2026-08-08 03:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":152746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:48:51] local.INFO: GPS data processed {"connection_id":152746,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:48:51] local.INFO: Acknowledgment sent {"connection_id":152746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:49:07] local.INFO: TCP Data received {"connection_id":150296,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:49:07] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:49:07] local.INFO: IMEI packet received {"connection_id":150296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":150296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:49:09] local.INFO: TCP Data received {"connection_id":150296,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:49:09] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:49:09] local.INFO: IMEI packet received {"connection_id":150296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":150296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:49:10] local.INFO: TCP Data received {"connection_id":150296,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4e4010012cf252c0071272d8000b008531..."} 
[2026-08-08 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4e4010012cf252c0071272d8000b008531..."} 
[2026-08-08 03:49:10] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4e4010012cf252c0071272d8000b008531..."} 
[2026-08-08 03:49:10] local.INFO: Packet analysis {"connection_id":150296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:49:10] local.INFO: Extracted packet for processing {"connection_id":150296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":754078400,"raw_latitude":118649560,"longitude_deg":75.40784,"latitude_deg":11.864956,"altitude":11,"angle":133,"satellites":49,"speed":32,"hex_longitude":"2cf252c0","hex_latitude":"071272d8","is_valid_coordinates":true} 
[2026-08-08 03:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252120064001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374440299746820096,"note":"Value kept but may cause issues"} 
[2026-08-08 03:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-987977137879375872,"note":"Value kept but may cause issues"} 
[2026-08-08 03:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786141098000,"timestamp_ms":1786141098000,"timestamp_seconds":1786141098,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4e4010"} 
[2026-08-08 03:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252120064001,"66":27267,"101":206,"2":54272,"24":32,"16":374440299746820096,"44":-987977137879375872},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 03:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252120064001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:49:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 03:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374440299746820096,"km_value":374440299746820.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-987977137879375872,"description":"Unknown IO ID 44"} 
[2026-08-08 03:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252120064001,"power":27267,"unknown_101":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-987977137879375872}} 
[2026-08-08 03:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":150296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:49:10] local.INFO: GPS data processed {"connection_id":150296,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:49:10] local.INFO: Acknowledgment sent {"connection_id":150296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:49:41] local.INFO: TCP Data received {"connection_id":150296,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4e47e0012cf2580007126f20000b007832..."} 
[2026-08-08 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4e47e0012cf2580007126f20000b007832..."} 
[2026-08-08 03:49:41] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4e47e0012cf2580007126f20000b007832..."} 
[2026-08-08 03:49:41] local.INFO: Packet analysis {"connection_id":150296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:49:41] local.INFO: Extracted packet for processing {"connection_id":150296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:49:41] local.INFO: GPS Element Parsed {"raw_longitude":754079744,"raw_latitude":118648608,"longitude_deg":75.4079744,"latitude_deg":11.8648608,"altitude":11,"angle":120,"satellites":50,"speed":32,"hex_longitude":"2cf25800","hex_latitude":"07126f20","is_valid_coordinates":true} 
[2026-08-08 03:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252121088001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374440381351198720,"note":"Value kept but may cause issues"} 
[2026-08-08 03:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985514231833896960,"note":"Value kept but may cause issues"} 
[2026-08-08 03:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786141100000,"timestamp_ms":1786141100000,"timestamp_seconds":1786141100,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4e47e0"} 
[2026-08-08 03:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":131,"data_length":795,"current_offset":136} 
[2026-08-08 03:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252121088001,"66":27213,"101":206,"2":54272,"24":32,"16":374440381351198720,"44":-985514231833896960},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 03:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252121088001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:49:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 03:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374440381351198720,"km_value":374440381351198.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985514231833896960,"description":"Unknown IO ID 44"} 
[2026-08-08 03:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252121088001,"power":27213,"unknown_101":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-985514231833896960}} 
[2026-08-08 03:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":150296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:49:41] local.INFO: GPS data processed {"connection_id":150296,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:49:41] local.INFO: Acknowledgment sent {"connection_id":150296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:50:07] local.INFO: TCP Data received {"connection_id":152747,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:07] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:07] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:50:08] local.INFO: TCP Data received {"connection_id":152747,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:08] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:08] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:50:12] local.INFO: TCP Data received {"connection_id":152747,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:12] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:50:12] local.INFO: IMEI packet received {"connection_id":152747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":152747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:50:13] local.INFO: TCP Data received {"connection_id":152747,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4e72d8012cf27a0007125bf8000e007930..."} 
[2026-08-08 03:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4e72d8012cf27a0007125bf8000e007930..."} 
[2026-08-08 03:50:13] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4e72d8012cf27a0007125bf8000e007930..."} 
[2026-08-08 03:50:13] local.INFO: Packet analysis {"connection_id":152747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:50:13] local.INFO: Extracted packet for processing {"connection_id":152747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:50:13] local.INFO: GPS Element Parsed {"raw_longitude":754088448,"raw_latitude":118643704,"longitude_deg":75.4088448,"latitude_deg":11.8643704,"altitude":14,"angle":121,"satellites":48,"speed":41,"hex_longitude":"2cf27a00","hex_latitude":"07125bf8","is_valid_coordinates":true} 
[2026-08-08 03:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252121600001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374440858092568576,"note":"Value kept but may cause issues"} 
[2026-08-08 03:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-984036488206409728,"note":"Value kept but may cause issues"} 
[2026-08-08 03:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786141111000,"timestamp_ms":1786141111000,"timestamp_seconds":1786141111,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4e72d8"} 
[2026-08-08 03:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252121600001,"66":27213,"101":206,"2":54272,"24":41,"16":374440858092568576,"44":-984036488206409728},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 03:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252121600001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:50:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 03:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374440858092568576,"km_value":374440858092568.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-984036488206409728,"description":"Unknown IO ID 44"} 
[2026-08-08 03:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252121600001,"power":27213,"unknown_101":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-984036488206409728}} 
[2026-08-08 03:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":152747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:50:13] local.INFO: GPS data processed {"connection_id":152747,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:50:13] local.INFO: Acknowledgment sent {"connection_id":152747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:50:45] local.INFO: TCP Data received {"connection_id":152747,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4e9600012cf29ac007124898000e007830..."} 
[2026-08-08 03:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4e9600012cf29ac007124898000e007830..."} 
[2026-08-08 03:50:45] local.INFO: Processing buffer {"connection_id":152747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4e9600012cf29ac007124898000e007830..."} 
[2026-08-08 03:50:45] local.INFO: Packet analysis {"connection_id":152747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:50:45] local.INFO: Extracted packet for processing {"connection_id":152747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:50:45] local.INFO: GPS Element Parsed {"raw_longitude":754096832,"raw_latitude":118638744,"longitude_deg":75.4096832,"latitude_deg":11.8638744,"altitude":14,"angle":120,"satellites":48,"speed":43,"hex_longitude":"2cf29ac0","hex_latitude":"07124898","is_valid_coordinates":true} 
[2026-08-08 03:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252124416001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374441321949036544,"note":"Value kept but may cause issues"} 
[2026-08-08 03:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-974466338999502848,"note":"Value kept but may cause issues"} 
[2026-08-08 03:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786141120000,"timestamp_ms":1786141120000,"timestamp_seconds":1786141120,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4e9600"} 
[2026-08-08 03:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:50: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-08-08 03:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252124416001,"66":27365,"101":206,"2":54272,"24":43,"16":374441321949036544,"44":-974466338999502848},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 03:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252124416001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:50:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 03:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374441321949036544,"km_value":374441321949036.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-974466338999502848,"description":"Unknown IO ID 44"} 
[2026-08-08 03:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252124416001,"power":27365,"unknown_101":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-974466338999502848}} 
[2026-08-08 03:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":152747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:50:45] local.INFO: GPS data processed {"connection_id":152747,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:50:45] local.INFO: Acknowledgment sent {"connection_id":152747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:51:07] local.INFO: TCP Data received {"connection_id":152748,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:51:07] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:51:07] local.INFO: IMEI packet received {"connection_id":152748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":152748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:51:12] local.INFO: TCP Data received {"connection_id":152748,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:51:12] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:51:12] local.INFO: IMEI packet received {"connection_id":152748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":152748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:51:13] local.INFO: TCP Data received {"connection_id":152748,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde4eb928012cf2b94007123550000c007a30..."} 
[2026-08-08 03:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde4eb928012cf2b94007123550000c007a30..."} 
[2026-08-08 03:51:13] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde4eb928012cf2b94007123550000c007a30..."} 
[2026-08-08 03:51:13] local.INFO: Packet analysis {"connection_id":152748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:51:13] local.INFO: Extracted packet for processing {"connection_id":152748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde4e"} 
[2026-08-08 03:51:13] local.INFO: GPS Element Parsed {"raw_longitude":754104640,"raw_latitude":118633808,"longitude_deg":75.410464,"latitude_deg":11.8633808,"altitude":12,"angle":122,"satellites":48,"speed":39,"hex_longitude":"2cf2b940","hex_latitude":"07123550","is_valid_coordinates":true} 
[2026-08-08 03:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252126720001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374441764330668032,"note":"Value kept but may cause issues"} 
[2026-08-08 03:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-965248033513498624,"note":"Value kept but may cause issues"} 
[2026-08-08 03:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786141129000,"timestamp_ms":1786141129000,"timestamp_seconds":1786141129,"priority":1,"record_length":96,"hex_timestamp":"0000019fde4eb928"} 
[2026-08-08 03:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252126720001,"66":27463,"101":206,"2":54272,"24":39,"16":374441764330668032,"44":-965248033513498624},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 03:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252126720001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:51:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 03:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374441764330668032,"km_value":374441764330668.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-965248033513498624,"description":"Unknown IO ID 44"} 
[2026-08-08 03:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252126720001,"power":27463,"unknown_101":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-965248033513498624}} 
[2026-08-08 03:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":152748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:51:14] local.INFO: GPS data processed {"connection_id":152748,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:51:14] local.INFO: Acknowledgment sent {"connection_id":152748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:51:45] local.INFO: TCP Data received {"connection_id":152748,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde506ea8012cf3fa8007110b90000f00832e..."} 
[2026-08-08 03:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde506ea8012cf3fa8007110b90000f00832e..."} 
[2026-08-08 03:51:45] local.INFO: Processing buffer {"connection_id":152748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde506ea8012cf3fa8007110b90000f00832e..."} 
[2026-08-08 03:51:45] local.INFO: Packet analysis {"connection_id":152748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:51:45] local.INFO: Extracted packet for processing {"connection_id":152748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:51:45] local.INFO: GPS Element Parsed {"raw_longitude":754186880,"raw_latitude":118557584,"longitude_deg":75.418688,"latitude_deg":11.8557584,"altitude":15,"angle":131,"satellites":46,"speed":31,"hex_longitude":"2cf3fa80","hex_latitude":"07110b90","is_valid_coordinates":true} 
[2026-08-08 03:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252155904001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374447163104559104,"note":"Value kept but may cause issues"} 
[2026-08-08 03:51:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870320597637668864,"note":"Value kept but may cause issues"} 
[2026-08-08 03:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786141241000,"timestamp_ms":1786141241000,"timestamp_seconds":1786141241,"priority":1,"record_length":96,"hex_timestamp":"0000019fde506ea8"} 
[2026-08-08 03:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 03:51: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-08-08 03:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252155904001,"66":27332,"108":206,"2":54272,"24":31,"16":374447163104559104,"44":-870320597637668864},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-08 03:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252155904001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:51:45] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 03:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374447163104559104,"km_value":374447163104559.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870320597637668864,"description":"Unknown IO ID 44"} 
[2026-08-08 03:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252155904001,"power":27332,"unknown_108":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-870320597637668864}} 
[2026-08-08 03:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":152748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:51:45] local.INFO: GPS data processed {"connection_id":152748,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:51:45] local.INFO: Acknowledgment sent {"connection_id":152748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:52:06] local.INFO: TCP Data received {"connection_id":150035,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:06] local.INFO: Processing buffer {"connection_id":150035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:06] local.INFO: IMEI packet received {"connection_id":150035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":150035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:52:07] local.INFO: TCP Data received {"connection_id":150035,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:07] local.INFO: Processing buffer {"connection_id":150035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:07] local.INFO: IMEI packet received {"connection_id":150035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":150035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:52:09] local.INFO: TCP Data received {"connection_id":150035,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:09] local.INFO: Processing buffer {"connection_id":150035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:09] local.INFO: IMEI packet received {"connection_id":150035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":150035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:52:12] local.INFO: TCP Data received {"connection_id":150035,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:12] local.INFO: Processing buffer {"connection_id":150035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:52:12] local.INFO: IMEI packet received {"connection_id":150035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":150035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:52:13] local.INFO: TCP Data received {"connection_id":150035,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5099a0012cf415800710f210001400862e..."} 
[2026-08-08 03:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5099a0012cf415800710f210001400862e..."} 
[2026-08-08 03:52:13] local.INFO: Processing buffer {"connection_id":150035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5099a0012cf415800710f210001400862e..."} 
[2026-08-08 03:52:13] local.INFO: Packet analysis {"connection_id":150035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:52:13] local.INFO: Extracted packet for processing {"connection_id":150035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:52:13] local.INFO: GPS Element Parsed {"raw_longitude":754193792,"raw_latitude":118551056,"longitude_deg":75.4193792,"latitude_deg":11.8551056,"altitude":20,"angle":134,"satellites":46,"speed":35,"hex_longitude":"2cf41580","hex_latitude":"0710f210","is_valid_coordinates":true} 
[2026-08-08 03:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252157696001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374447622666059776,"note":"Value kept but may cause issues"} 
[2026-08-08 03:52:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-866239210476302336,"note":"Value kept but may cause issues"} 
[2026-08-08 03:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786141252000,"timestamp_ms":1786141252000,"timestamp_seconds":1786141252,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5099a0"} 
[2026-08-08 03:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:52: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-08-08 03:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252157696001,"66":27463,"108":206,"2":54272,"24":35,"16":374447622666059776,"44":-866239210476302336},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-08 03:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252157696001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:52:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 03:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374447622666059776,"km_value":374447622666059.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:52:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-866239210476302336,"description":"Unknown IO ID 44"} 
[2026-08-08 03:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252157696001,"power":27463,"unknown_108":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-866239210476302336}} 
[2026-08-08 03:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":150035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:52:13] local.INFO: GPS data processed {"connection_id":150035,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:52:13] local.INFO: Acknowledgment sent {"connection_id":150035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:52:44] local.INFO: TCP Data received {"connection_id":150035,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde50c0b0012cf430000710d840001700842e..."} 
[2026-08-08 03:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde50c0b0012cf430000710d840001700842e..."} 
[2026-08-08 03:52:44] local.INFO: Processing buffer {"connection_id":150035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde50c0b0012cf430000710d840001700842e..."} 
[2026-08-08 03:52:44] local.INFO: Packet analysis {"connection_id":150035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:52:44] local.INFO: Extracted packet for processing {"connection_id":150035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:52:44] local.INFO: GPS Element Parsed {"raw_longitude":754200576,"raw_latitude":118544448,"longitude_deg":75.4200576,"latitude_deg":11.8544448,"altitude":23,"angle":132,"satellites":46,"speed":38,"hex_longitude":"2cf43000","hex_latitude":"0710d840","is_valid_coordinates":true} 
[2026-08-08 03:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252160512001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374448073637625856,"note":"Value kept but may cause issues"} 
[2026-08-08 03:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858639386106785792,"note":"Value kept but may cause issues"} 
[2026-08-08 03:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786141262000,"timestamp_ms":1786141262000,"timestamp_seconds":1786141262,"priority":1,"record_length":96,"hex_timestamp":"0000019fde50c0b0"} 
[2026-08-08 03:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252160512001,"66":27332,"108":206,"2":54272,"24":38,"16":374448073637625856,"44":-858639386106785792},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-08 03:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252160512001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:52:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 03:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374448073637625856,"km_value":374448073637625.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:52:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858639386106785792,"description":"Unknown IO ID 44"} 
[2026-08-08 03:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252160512001,"power":27332,"unknown_108":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-858639386106785792}} 
[2026-08-08 03:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":150035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:52:44] local.INFO: GPS data processed {"connection_id":150035,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:52:44] local.INFO: Acknowledgment sent {"connection_id":150035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:53:07] local.INFO: TCP Data received {"connection_id":150297,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:07] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:07] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:53:11] local.INFO: TCP Data received {"connection_id":150297,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:11] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:11] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:53:12] local.INFO: TCP Data received {"connection_id":150297,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:12] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:53:12] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:53:13] local.INFO: TCP Data received {"connection_id":150297,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde50e7c0012cf44a800710bec8001900862e..."} 
[2026-08-08 03:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde50e7c0012cf44a800710bec8001900862e..."} 
[2026-08-08 03:53:13] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde50e7c0012cf44a800710bec8001900862e..."} 
[2026-08-08 03:53:13] local.INFO: Packet analysis {"connection_id":150297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:53:13] local.INFO: Extracted packet for processing {"connection_id":150297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde50"} 
[2026-08-08 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":754207360,"raw_latitude":118537928,"longitude_deg":75.420736,"latitude_deg":11.8537928,"altitude":25,"angle":134,"satellites":46,"speed":36,"hex_longitude":"2cf44a80","hex_latitude":"0710bec8","is_valid_coordinates":true} 
[2026-08-08 03:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252163072001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374448524609191936,"note":"Value kept but may cause issues"} 
[2026-08-08 03:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851180299225645056,"note":"Value kept but may cause issues"} 
[2026-08-08 03:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786141272000,"timestamp_ms":1786141272000,"timestamp_seconds":1786141272,"priority":1,"record_length":96,"hex_timestamp":"0000019fde50e7c0"} 
[2026-08-08 03:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 03:53: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-08-08 03:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252163072001,"66":27397,"108":206,"2":54272,"24":36,"16":374448524609191936,"44":-851180299225645056},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-08 03:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252163072001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:53:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 03:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374448524609191936,"km_value":374448524609191.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851180299225645056,"description":"Unknown IO ID 44"} 
[2026-08-08 03:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252163072001,"power":27397,"unknown_108":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-851180299225645056}} 
[2026-08-08 03:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":150297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:53:13] local.INFO: GPS data processed {"connection_id":150297,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:53:13] local.INFO: Acknowledgment sent {"connection_id":150297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:53:44] local.INFO: TCP Data received {"connection_id":150297,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde512640012cf461400710a900001e00792f..."} 
[2026-08-08 03:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde512640012cf461400710a900001e00792f..."} 
[2026-08-08 03:53:44] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde512640012cf461400710a900001e00792f..."} 
[2026-08-08 03:53:44] local.INFO: Packet analysis {"connection_id":150297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde51"} 
[2026-08-08 03:53:44] local.INFO: Extracted packet for processing {"connection_id":150297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde51"} 
[2026-08-08 03:53:44] local.INFO: GPS Element Parsed {"raw_longitude":754213184,"raw_latitude":118532352,"longitude_deg":75.4213184,"latitude_deg":11.8532352,"altitude":30,"angle":121,"satellites":47,"speed":14,"hex_longitude":"2cf46140","hex_latitude":"0710a900","is_valid_coordinates":true} 
[2026-08-08 03:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252165632001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374448911156248576,"note":"Value kept but may cause issues"} 
[2026-08-08 03:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-843721212344481792,"note":"Value kept but may cause issues"} 
[2026-08-08 03:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786141288000,"timestamp_ms":1786141288000,"timestamp_seconds":1786141288,"priority":1,"record_length":96,"hex_timestamp":"0000019fde512640"} 
[2026-08-08 03:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 03:53: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-08-08 03:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252165632001,"66":27397,"108":206,"2":54272,"24":14,"16":374448911156248576,"44":-843721212344481792},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-08 03:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252165632001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:53:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 03:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374448911156248576,"km_value":374448911156248.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-843721212344481792,"description":"Unknown IO ID 44"} 
[2026-08-08 03:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252165632001,"power":27397,"unknown_108":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-843721212344481792}} 
[2026-08-08 03:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":150297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:53:44] local.INFO: GPS data processed {"connection_id":150297,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:53:44] local.INFO: Acknowledgment sent {"connection_id":150297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:54:09] local.INFO: TCP Data received {"connection_id":150036,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:09] local.INFO: Processing buffer {"connection_id":150036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:09] local.INFO: IMEI packet received {"connection_id":150036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":150036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:54:12] local.INFO: TCP Data received {"connection_id":150036,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:12] local.INFO: Processing buffer {"connection_id":150036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:12] local.INFO: IMEI packet received {"connection_id":150036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":150036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:54:14] local.INFO: TCP Data received {"connection_id":150036,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:14] local.INFO: Processing buffer {"connection_id":150036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:54:14] local.INFO: IMEI packet received {"connection_id":150036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":150036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:54:15] local.INFO: TCP Data received {"connection_id":150036,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde52a8f8012cf55f80070ffab80012007d30..."} 
[2026-08-08 03:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde52a8f8012cf55f80070ffab80012007d30..."} 
[2026-08-08 03:54:15] local.INFO: Processing buffer {"connection_id":150036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde52a8f8012cf55f80070ffab80012007d30..."} 
[2026-08-08 03:54:15] local.INFO: Packet analysis {"connection_id":150036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:54:15] local.INFO: Extracted packet for processing {"connection_id":150036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:54:15] local.INFO: GPS Element Parsed {"raw_longitude":754278272,"raw_latitude":118487736,"longitude_deg":75.4278272,"latitude_deg":11.8487736,"altitude":18,"angle":125,"satellites":48,"speed":40,"hex_longitude":"2cf55f80","hex_latitude":"070ffab8","is_valid_coordinates":true} 
[2026-08-08 03:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252193024001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374452720792240128,"note":"Value kept but may cause issues"} 
[2026-08-08 03:54:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-774689474317901824,"note":"Value kept but may cause issues"} 
[2026-08-08 03:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786141387000,"timestamp_ms":1786141387000,"timestamp_seconds":1786141387,"priority":1,"record_length":96,"hex_timestamp":"0000019fde52a8f8"} 
[2026-08-08 03:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252193024001,"66":27234,"36":206,"2":54272,"24":40,"16":374452720792240128,"44":-774689474317901824},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 03:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252193024001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:54:15] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 03:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374452720792240128,"km_value":374452720792240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:54:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-774689474317901824,"description":"Unknown IO ID 44"} 
[2026-08-08 03:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252193024001,"power":27234,"unknown_36":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-774689474317901824}} 
[2026-08-08 03:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":150036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:54:15] local.INFO: GPS data processed {"connection_id":150036,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:54:15] local.INFO: Acknowledgment sent {"connection_id":150036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:54:17] local.INFO: TCP Data received {"connection_id":150036,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde52bc80012cf56c00070fef900012008b32..."} 
[2026-08-08 03:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde52bc80012cf56c00070fef900012008b32..."} 
[2026-08-08 03:54:17] local.INFO: Processing buffer {"connection_id":150036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde52bc80012cf56c00070fef900012008b32..."} 
[2026-08-08 03:54:17] local.INFO: Packet analysis {"connection_id":150036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:54:17] local.INFO: Extracted packet for processing {"connection_id":150036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:54:17] local.INFO: GPS Element Parsed {"raw_longitude":754281472,"raw_latitude":118484880,"longitude_deg":75.4281472,"latitude_deg":11.848488,"altitude":18,"angle":139,"satellites":50,"speed":26,"hex_longitude":"2cf56c00","hex_latitude":"070fef90","is_valid_coordinates":true} 
[2026-08-08 03:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252195072001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374452926950670336,"note":"Value kept but may cause issues"} 
[2026-08-08 03:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-765752643808479232,"note":"Value kept but may cause issues"} 
[2026-08-08 03:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786141392000,"timestamp_ms":1786141392000,"timestamp_seconds":1786141392,"priority":1,"record_length":96,"hex_timestamp":"0000019fde52bc80"} 
[2026-08-08 03:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 03:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252195072001,"66":27343,"36":206,"2":54272,"24":26,"16":374452926950670336,"44":-765752643808479232},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 03:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252195072001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:54:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 03:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374452926950670336,"km_value":374452926950670.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:54:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-765752643808479232,"description":"Unknown IO ID 44"} 
[2026-08-08 03:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252195072001,"power":27343,"unknown_36":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-765752643808479232}} 
[2026-08-08 03:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":150036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:54:17] local.INFO: GPS data processed {"connection_id":150036,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:54:17] local.INFO: Acknowledgment sent {"connection_id":150036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:54:39] local.INFO: TCP Data received {"connection_id":152749,"ip":"91.196.152.16","data_length":614,"data_hex":"16030302610100025d03038c3daf59a6dd3d1c6933d0100e172a77ef761f9eb2..."} 
[2026-08-08 03:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152749,"packet_length":614,"packet_hex":"16030302610100025d03038c3daf59a6dd3d1c6933d0100e172a77ef761f9eb2..."} 
[2026-08-08 03:54:39] local.INFO: Processing buffer {"connection_id":152749,"buffer_length":614,"buffer_hex":"16030302610100025d03038c3daf59a6dd3d1c6933d0100e172a77ef761f9eb2..."} 
[2026-08-08 03:54:39] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":152749,"buffer_length":614,"first_bytes_hex":"16030302610100025d03038c3daf59a6"} 
[2026-08-08 03:55:09] local.INFO: TCP Data received {"connection_id":150036,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde52dfa8012cf57b40070fd8c80012009631..."} 
[2026-08-08 03:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde52dfa8012cf57b40070fd8c80012009631..."} 
[2026-08-08 03:55:09] local.INFO: Processing buffer {"connection_id":150036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde52dfa8012cf57b40070fd8c80012009631..."} 
[2026-08-08 03:55:09] local.INFO: Packet analysis {"connection_id":150036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:55:09] local.INFO: Extracted packet for processing {"connection_id":150036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:55:09] local.INFO: GPS Element Parsed {"raw_longitude":754285376,"raw_latitude":118479048,"longitude_deg":75.4285376,"latitude_deg":11.8479048,"altitude":18,"angle":150,"satellites":49,"speed":39,"hex_longitude":"2cf57b40","hex_latitude":"070fd8c8","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252196352001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374453266253086720,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-762234206600327168,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786141401000,"timestamp_ms":1786141401000,"timestamp_seconds":1786141401,"priority":1,"record_length":96,"hex_timestamp":"0000019fde52dfa8"} 
[2026-08-08 03:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03: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-08-08 03: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-08-08 03:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252196352001,"66":27463,"36":206,"2":54272,"24":39,"16":374453266253086720,"44":-762234206600327168},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 03:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252196352001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 03:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374453266253086720,"km_value":374453266253086.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-762234206600327168,"description":"Unknown IO ID 44"} 
[2026-08-08 03:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252196352001,"power":27463,"unknown_36":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-762234206600327168}} 
[2026-08-08 03:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":150036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:55:09] local.INFO: GPS data processed {"connection_id":150036,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:55:09] local.INFO: Acknowledgment sent {"connection_id":150036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:55:12] local.INFO: TCP Data received {"connection_id":152750,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:12] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:12] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:55:13] local.INFO: TCP Data received {"connection_id":152750,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:13] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:13] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:55:17] local.INFO: TCP Data received {"connection_id":152750,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:17] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:55:17] local.INFO: IMEI packet received {"connection_id":152750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":152750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:55:17] local.INFO: TCP Data received {"connection_id":152750,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde52f718012cf58540070fc1d8001000a233..."} 
[2026-08-08 03:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde52f718012cf58540070fc1d8001000a233..."} 
[2026-08-08 03:55:17] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde52f718012cf58540070fc1d8001000a233..."} 
[2026-08-08 03:55:17] local.INFO: Packet analysis {"connection_id":152750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:55:17] local.INFO: Extracted packet for processing {"connection_id":152750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde52"} 
[2026-08-08 03:55:17] local.INFO: GPS Element Parsed {"raw_longitude":754287936,"raw_latitude":118473176,"longitude_deg":75.4287936,"latitude_deg":11.8473176,"altitude":16,"angle":162,"satellites":51,"speed":45,"hex_longitude":"2cf58540","hex_latitude":"070fc1d8","is_valid_coordinates":true} 
[2026-08-08 03: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-08-08 03:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252198656001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374453579785699328,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757941713206982656,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786141407000,"timestamp_ms":1786141407000,"timestamp_seconds":1786141407,"priority":1,"record_length":96,"hex_timestamp":"0000019fde52f718"} 
[2026-08-08 03:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03: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-08-08 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:55: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-08-08 03: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-08-08 03:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252198656001,"66":27321,"146":206,"2":54272,"24":45,"16":374453579785699328,"44":-757941713206982656},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 03:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252198656001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:55:17] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 03:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374453579785699328,"km_value":374453579785699.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:55:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757941713206982656,"description":"Unknown IO ID 44"} 
[2026-08-08 03:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252198656001,"power":27321,"unknown_146":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-757941713206982656}} 
[2026-08-08 03:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":152750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:55:17] local.INFO: GPS data processed {"connection_id":152750,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:55:17] local.INFO: Acknowledgment sent {"connection_id":152750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:55:49] local.INFO: TCP Data received {"connection_id":152750,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde544708012cf5d000070df9200008009f33..."} 
[2026-08-08 03:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde544708012cf5d000070df9200008009f33..."} 
[2026-08-08 03:55:49] local.INFO: Processing buffer {"connection_id":152750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde544708012cf5d000070df9200008009f33..."} 
[2026-08-08 03:55:49] local.INFO: Packet analysis {"connection_id":152750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:55:49] local.INFO: Extracted packet for processing {"connection_id":152750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:55:49] local.INFO: GPS Element Parsed {"raw_longitude":754307072,"raw_latitude":118356256,"longitude_deg":75.4307072,"latitude_deg":11.8356256,"altitude":8,"angle":159,"satellites":51,"speed":58,"hex_longitude":"2cf5d000","hex_latitude":"070df920","is_valid_coordinates":true} 
[2026-08-08 03:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252220672001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374459485365731328,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-737464408680574976,"note":"Value kept but may cause issues"} 
[2026-08-08 03:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786141493000,"timestamp_ms":1786141493000,"timestamp_seconds":1786141493,"priority":1,"record_length":96,"hex_timestamp":"0000019fde544708"} 
[2026-08-08 03:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:55: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-08-08 03:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:55: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-08-08 03:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252220672001,"66":27376,"208":206,"2":54272,"24":58,"16":374459485365731328,"44":-737464408680574976},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-08 03:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252220672001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:55:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 03:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374459485365731328,"km_value":374459485365731.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-737464408680574976,"description":"Unknown IO ID 44"} 
[2026-08-08 03:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252220672001,"power":27376,"unknown_208":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-737464408680574976}} 
[2026-08-08 03:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":152750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:55:49] local.INFO: GPS data processed {"connection_id":152750,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:55:49] local.INFO: Acknowledgment sent {"connection_id":152750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:56:12] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:56:12] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:56:12] local.INFO: IMEI packet received {"connection_id":151274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":151274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:56:13] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:56:13] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:56:13] local.INFO: IMEI packet received {"connection_id":151274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":151274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:56:14] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde545e78012cf5dc40070dd8800009009f32..."} 
[2026-08-08 03:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde545e78012cf5dc40070dd8800009009f32..."} 
[2026-08-08 03:56:14] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde545e78012cf5dc40070dd8800009009f32..."} 
[2026-08-08 03:56:14] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:56:14] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:56:14] local.INFO: GPS Element Parsed {"raw_longitude":754310208,"raw_latitude":118347904,"longitude_deg":75.4310208,"latitude_deg":11.8347904,"altitude":9,"angle":159,"satellites":50,"speed":59,"hex_longitude":"2cf5dc40","hex_latitude":"070dd880","is_valid_coordinates":true} 
[2026-08-08 03:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252222208001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374459919157428224,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-734086708962189312,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786141499000,"timestamp_ms":1786141499000,"timestamp_seconds":1786141499,"priority":1,"record_length":96,"hex_timestamp":"0000019fde545e78"} 
[2026-08-08 03:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 03:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252222208001,"66":27463,"208":206,"2":54272,"24":59,"16":374459919157428224,"44":-734086708962189312},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-08 03:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252222208001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:56:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 03:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374459919157428224,"km_value":374459919157428.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-734086708962189312,"description":"Unknown IO ID 44"} 
[2026-08-08 03:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252222208001,"power":27463,"unknown_208":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-734086708962189312}} 
[2026-08-08 03:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:56:14] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:56:14] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:56:15] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5475e8012cf5e840070db7c0000a00a031..."} 
[2026-08-08 03:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5475e8012cf5e840070db7c0000a00a031..."} 
[2026-08-08 03:56:15] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5475e8012cf5e840070db7c0000a00a031..."} 
[2026-08-08 03:56:15] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:56:15] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:56:15] local.INFO: GPS Element Parsed {"raw_longitude":754313280,"raw_latitude":118339520,"longitude_deg":75.431328,"latitude_deg":11.833952,"altitude":10,"angle":160,"satellites":49,"speed":59,"hex_longitude":"2cf5e840","hex_latitude":"070db7c0","is_valid_coordinates":true} 
[2026-08-08 03:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252223744001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374460348654157824,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-730638640499621888,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786141505000,"timestamp_ms":1786141505000,"timestamp_seconds":1786141505,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5475e8"} 
[2026-08-08 03:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252223744001,"66":27310,"208":206,"2":54272,"24":59,"16":374460348654157824,"44":-730638640499621888},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-08 03:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252223744001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:56:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 03:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374460348654157824,"km_value":374460348654157.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-730638640499621888,"description":"Unknown IO ID 44"} 
[2026-08-08 03:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252223744001,"power":27310,"unknown_208":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-730638640499621888}} 
[2026-08-08 03:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:56:15] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:56:15] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:56:46] local.INFO: TCP Data received {"connection_id":151274,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde548d58012cf5f440070d96f8000b009f32..."} 
[2026-08-08 03:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde548d58012cf5f440070d96f8000b009f32..."} 
[2026-08-08 03:56:46] local.INFO: Processing buffer {"connection_id":151274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde548d58012cf5f440070d96f8000b009f32..."} 
[2026-08-08 03:56:46] local.INFO: Packet analysis {"connection_id":151274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:56:46] local.INFO: Extracted packet for processing {"connection_id":151274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde54"} 
[2026-08-08 03:56:46] local.INFO: GPS Element Parsed {"raw_longitude":754316352,"raw_latitude":118331128,"longitude_deg":75.4316352,"latitude_deg":11.8331128,"altitude":11,"angle":159,"satellites":50,"speed":59,"hex_longitude":"2cf5f440","hex_latitude":"070d96f8","is_valid_coordinates":true} 
[2026-08-08 03:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252225280001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374460782445854720,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-727260940781240320,"note":"Value kept but may cause issues"} 
[2026-08-08 03:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786141511000,"timestamp_ms":1786141511000,"timestamp_seconds":1786141511,"priority":1,"record_length":96,"hex_timestamp":"0000019fde548d58"} 
[2026-08-08 03:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":174,"data_length":795,"current_offset":136} 
[2026-08-08 03:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252225280001,"66":27213,"208":206,"2":54272,"24":59,"16":374460782445854720,"44":-727260940781240320},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-08 03:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252225280001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:56:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 03:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374460782445854720,"km_value":374460782445854.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-727260940781240320,"description":"Unknown IO ID 44"} 
[2026-08-08 03:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252225280001,"power":27213,"unknown_208":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-727260940781240320}} 
[2026-08-08 03:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":151274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:56:46] local.INFO: GPS data processed {"connection_id":151274,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:56:46] local.INFO: Acknowledgment sent {"connection_id":151274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:57:07] local.INFO: TCP Data received {"connection_id":150299,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:57:07] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:57:07] local.INFO: IMEI packet received {"connection_id":150299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":150299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:57:10] local.INFO: TCP Data received {"connection_id":150299,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:57:10] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:57:10] local.INFO: IMEI packet received {"connection_id":150299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":150299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:57:11] local.INFO: TCP Data received {"connection_id":150299,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5577b8012cf624c0070c40e0000a00a832..."} 
[2026-08-08 03:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5577b8012cf624c0070c40e0000a00a832..."} 
[2026-08-08 03:57:11] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5577b8012cf624c0070c40e0000a00a832..."} 
[2026-08-08 03:57:11] local.INFO: Packet analysis {"connection_id":150299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:57:11] local.INFO: Extracted packet for processing {"connection_id":150299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:57:11] local.INFO: GPS Element Parsed {"raw_longitude":754328768,"raw_latitude":118243552,"longitude_deg":75.4328768,"latitude_deg":11.8243552,"altitude":10,"angle":168,"satellites":50,"speed":59,"hex_longitude":"2cf624c0","hex_latitude":"070c40e0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 03:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252240640001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374465120362823680,"note":"Value kept but may cause issues"} 
[2026-08-08 03:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711216867131041792,"note":"Value kept but may cause issues"} 
[2026-08-08 03:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786141571000,"timestamp_ms":1786141571000,"timestamp_seconds":1786141571,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5577b8"} 
[2026-08-08 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-08-08 03:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 03:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 03:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252240640001,"66":27213,"32":206,"2":54272,"24":59,"16":374465120362823680,"44":-711216867131041792},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252240640001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:57:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374465120362823680,"km_value":374465120362823.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711216867131041792,"description":"Unknown IO ID 44"} 
[2026-08-08 03:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252240640001,"power":27213,"unknown_32":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-711216867131041792}} 
[2026-08-08 03:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":150299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:57:11] local.INFO: GPS data processed {"connection_id":150299,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:57:11] local.INFO: Acknowledgment sent {"connection_id":150299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:57:43] local.INFO: TCP Data received {"connection_id":150299,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde559310012cf63000070c1b08000c009e31..."} 
[2026-08-08 03:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde559310012cf63000070c1b08000c009e31..."} 
[2026-08-08 03:57:43] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde559310012cf63000070c1b08000c009e31..."} 
[2026-08-08 03:57:43] local.INFO: Packet analysis {"connection_id":150299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:57:43] local.INFO: Extracted packet for processing {"connection_id":150299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:57:43] local.INFO: GPS Element Parsed {"raw_longitude":754331648,"raw_latitude":118233864,"longitude_deg":75.4331648,"latitude_deg":11.8233864,"altitude":12,"angle":158,"satellites":49,"speed":54,"hex_longitude":"2cf63000","hex_latitude":"070c1b08","is_valid_coordinates":true} 
[2026-08-08 03:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252242176001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374465609989095424,"note":"Value kept but may cause issues"} 
[2026-08-08 03:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710231704714813440,"note":"Value kept but may cause issues"} 
[2026-08-08 03:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786141578000,"timestamp_ms":1786141578000,"timestamp_seconds":1786141578,"priority":1,"record_length":96,"hex_timestamp":"0000019fde559310"} 
[2026-08-08 03:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 03:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252242176001,"66":27397,"32":206,"2":54272,"24":54,"16":374465609989095424,"44":-710231704714813440},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252242176001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:57:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374465609989095424,"km_value":374465609989095.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710231704714813440,"description":"Unknown IO ID 44"} 
[2026-08-08 03:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252242176001,"power":27397,"unknown_32":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-710231704714813440}} 
[2026-08-08 03:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":150299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:57:43] local.INFO: GPS data processed {"connection_id":150299,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:57:43] local.INFO: Acknowledgment sent {"connection_id":150299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:58:07] local.INFO: TCP Data received {"connection_id":150300,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:07] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:07] local.INFO: IMEI packet received {"connection_id":150300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":150300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:58:09] local.INFO: TCP Data received {"connection_id":150300,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:09] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:09] local.INFO: IMEI packet received {"connection_id":150300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":150300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:58:13] local.INFO: TCP Data received {"connection_id":150300,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:13] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:58:13] local.INFO: IMEI packet received {"connection_id":150300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":150300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:58:14] local.INFO: TCP Data received {"connection_id":150300,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde55ae68012cf63ec0070bf900000d009c31..."} 
[2026-08-08 03:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde55ae68012cf63ec0070bf900000d009c31..."} 
[2026-08-08 03:58:14] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde55ae68012cf63ec0070bf900000d009c31..."} 
[2026-08-08 03:58:14] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:58:14] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:58:14] local.INFO: GPS Element Parsed {"raw_longitude":754335424,"raw_latitude":118225152,"longitude_deg":75.4335424,"latitude_deg":11.8225152,"altitude":13,"angle":156,"satellites":49,"speed":53,"hex_longitude":"2cf63ec0","hex_latitude":"070bf900","is_valid_coordinates":true} 
[2026-08-08 03:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252243968001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374466069550596096,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-707065111229298688,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786141585000,"timestamp_ms":1786141585000,"timestamp_seconds":1786141585,"priority":1,"record_length":96,"hex_timestamp":"0000019fde55ae68"} 
[2026-08-08 03:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 03:58: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-08-08 03:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252243968001,"66":27300,"32":206,"2":54272,"24":53,"16":374466069550596096,"44":-707065111229298688},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252243968001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:58:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374466069550596096,"km_value":374466069550596.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-707065111229298688,"description":"Unknown IO ID 44"} 
[2026-08-08 03:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252243968001,"power":27300,"unknown_32":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-707065111229298688}} 
[2026-08-08 03:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:58:14] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:58:14] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:58:17] local.INFO: TCP Data received {"connection_id":150300,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde55c9c0012cf64e40070bd5e0000c009d31..."} 
[2026-08-08 03:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde55c9c0012cf64e40070bd5e0000c009d31..."} 
[2026-08-08 03:58:17] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde55c9c0012cf64e40070bd5e0000c009d31..."} 
[2026-08-08 03:58:17] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:58:17] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde55"} 
[2026-08-08 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":754339392,"raw_latitude":118216160,"longitude_deg":75.4339392,"latitude_deg":11.821616,"altitude":12,"angle":157,"satellites":49,"speed":58,"hex_longitude":"2cf64e40","hex_latitude":"070bd5e0","is_valid_coordinates":true} 
[2026-08-08 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252245760001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374466541996998656,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-702913355325046784,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786141592000,"timestamp_ms":1786141592000,"timestamp_seconds":1786141592,"priority":1,"record_length":96,"hex_timestamp":"0000019fde55c9c0"} 
[2026-08-08 03:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03: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-08-08 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 03:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252245760001,"66":27180,"32":206,"2":54272,"24":58,"16":374466541996998656,"44":-702913355325046784},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 03:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252245760001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:58:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 03:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374466541996998656,"km_value":374466541996998.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-702913355325046784,"description":"Unknown IO ID 44"} 
[2026-08-08 03:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252245760001,"power":27180,"unknown_32":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-702913355325046784}} 
[2026-08-08 03:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:58:17] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:58:17] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:58:49] local.INFO: TCP Data received {"connection_id":150300,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5719b0012cf727c0070a73b0000b008d31..."} 
[2026-08-08 03:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5719b0012cf727c0070a73b0000b008d31..."} 
[2026-08-08 03:58:49] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5719b0012cf727c0070a73b0000b008d31..."} 
[2026-08-08 03:58:49] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde57"} 
[2026-08-08 03:58:49] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde57"} 
[2026-08-08 03:58:49] local.INFO: GPS Element Parsed {"raw_longitude":754395072,"raw_latitude":118125488,"longitude_deg":75.4395072,"latitude_deg":11.8125488,"altitude":11,"angle":141,"satellites":49,"speed":60,"hex_longitude":"2cf727c0","hex_latitude":"070a73b0","is_valid_coordinates":true} 
[2026-08-08 03:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252268032001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374471713137623040,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643522135262810112,"note":"Value kept but may cause issues"} 
[2026-08-08 03:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786141678000,"timestamp_ms":1786141678000,"timestamp_seconds":1786141678,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5719b0"} 
[2026-08-08 03:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:58: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-08-08 03:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252268032001,"66":27397,"31":206,"2":54272,"24":60,"16":374471713137623040,"44":-643522135262810112},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-08 03:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252268032001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:58:49] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 03:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374471713137623040,"km_value":374471713137623.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643522135262810112,"description":"Unknown IO ID 44"} 
[2026-08-08 03:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252268032001,"power":27397,"unknown_31":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-643522135262810112}} 
[2026-08-08 03:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:58:49] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:58:49] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:59:13] local.INFO: TCP Data received {"connection_id":152751,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:13] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:13] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 03:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 03:59:17] local.INFO: TCP Data received {"connection_id":152751,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:17] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:17] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:59:20] local.INFO: TCP Data received {"connection_id":152751,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:20] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 03:59:20] local.INFO: IMEI packet received {"connection_id":152751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 03:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":152751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 03:59:21] local.INFO: TCP Data received {"connection_id":152751,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde573120012cf73dc0070a57b8000c008e30..."} 
[2026-08-08 03:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde573120012cf73dc0070a57b8000c008e30..."} 
[2026-08-08 03:59:21] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde573120012cf73dc0070a57b8000c008e30..."} 
[2026-08-08 03:59:21] local.INFO: Packet analysis {"connection_id":152751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde57"} 
[2026-08-08 03:59:21] local.INFO: Extracted packet for processing {"connection_id":152751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde57"} 
[2026-08-08 03:59:21] local.INFO: GPS Element Parsed {"raw_longitude":754400704,"raw_latitude":118118328,"longitude_deg":75.4400704,"latitude_deg":11.8118328,"altitude":12,"angle":142,"satellites":48,"speed":60,"hex_longitude":"2cf73dc0","hex_latitude":"070a57b8","is_valid_coordinates":true} 
[2026-08-08 03:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252269568001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374472151224287232,"note":"Value kept but may cause issues"} 
[2026-08-08 03:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-637329685776977920,"note":"Value kept but may cause issues"} 
[2026-08-08 03:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786141684000,"timestamp_ms":1786141684000,"timestamp_seconds":1786141684,"priority":1,"record_length":96,"hex_timestamp":"0000019fde573120"} 
[2026-08-08 03:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 03:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252269568001,"66":27343,"31":206,"2":54272,"24":60,"16":374472151224287232,"44":-637329685776977920},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-08 03:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252269568001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:59:21] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 03:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374472151224287232,"km_value":374472151224287.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-637329685776977920,"description":"Unknown IO ID 44"} 
[2026-08-08 03:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252269568001,"power":27343,"unknown_31":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-637329685776977920}} 
[2026-08-08 03:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":152751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:59:21] local.INFO: GPS data processed {"connection_id":152751,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:59:21] local.INFO: Acknowledgment sent {"connection_id":152751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 03:59:22] local.INFO: TCP Data received {"connection_id":152751,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde574890012cf75480070a3c60000d008c2f..."} 
[2026-08-08 03:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde574890012cf75480070a3c60000d008c2f..."} 
[2026-08-08 03:59:22] local.INFO: Processing buffer {"connection_id":152751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde574890012cf75480070a3c60000d008c2f..."} 
[2026-08-08 03:59:22] local.INFO: Packet analysis {"connection_id":152751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde57"} 
[2026-08-08 03:59:22] local.INFO: Extracted packet for processing {"connection_id":152751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde57"} 
[2026-08-08 03:59:22] local.INFO: GPS Element Parsed {"raw_longitude":754406528,"raw_latitude":118111328,"longitude_deg":75.4406528,"latitude_deg":11.8111328,"altitude":13,"angle":140,"satellites":47,"speed":59,"hex_longitude":"2cf75480","hex_latitude":"070a3c60","is_valid_coordinates":true} 
[2026-08-08 03:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 03:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252271104001,"note":"Value kept but may cause issues"} 
[2026-08-08 03:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374472589310951424,"note":"Value kept but may cause issues"} 
[2026-08-08 03:59:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-631137236291176448,"note":"Value kept but may cause issues"} 
[2026-08-08 03:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 03:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786141690000,"timestamp_ms":1786141690000,"timestamp_seconds":1786141690,"priority":1,"record_length":96,"hex_timestamp":"0000019fde574890"} 
[2026-08-08 03:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 03:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 03:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 03:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 03:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 03:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 03:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 03:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 03:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 03:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 03:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 03:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 03:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252271104001,"66":27397,"31":206,"2":54272,"24":59,"16":374472589310951424,"44":-631137236291176448},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-08 03:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 03:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252271104001,"description":"Unknown IO ID 0"} 
[2026-08-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 03:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374472589310951424,"km_value":374472589310951.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 03:59:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-631137236291176448,"description":"Unknown IO ID 44"} 
[2026-08-08 03:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252271104001,"power":27397,"unknown_31":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-631137236291176448}} 
[2026-08-08 03:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":152751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 03:59:22] local.INFO: GPS data processed {"connection_id":152751,"processed":1,"errors":0,"total":1} 
[2026-08-08 03:59:22] local.INFO: Acknowledgment sent {"connection_id":152751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:00:07] local.INFO: TCP Data received {"connection_id":152752,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:07] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:07] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:00:08] local.INFO: TCP Data received {"connection_id":152752,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:08] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:08] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:00:12] local.INFO: TCP Data received {"connection_id":152752,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:12] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:00:12] local.INFO: IMEI packet received {"connection_id":152752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":152752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:00:13] local.INFO: TCP Data received {"connection_id":152752,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde585230012cf84bc007090b60000900a432..."} 
[2026-08-08 04:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde585230012cf84bc007090b60000900a432..."} 
[2026-08-08 04:00:13] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde585230012cf84bc007090b60000900a432..."} 
[2026-08-08 04:00:13] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:00:13] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":754469824,"raw_latitude":118033248,"longitude_deg":75.4469824,"latitude_deg":11.8033248,"altitude":9,"angle":164,"satellites":50,"speed":59,"hex_longitude":"2cf84bc0","hex_latitude":"07090b60","is_valid_coordinates":true} 
[2026-08-08 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252288768001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374477438329028608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-558235217343129600,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786141758000,"timestamp_ms":1786141758000,"timestamp_seconds":1786141758,"priority":1,"record_length":96,"hex_timestamp":"0000019fde585230"} 
[2026-08-08 04:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:00: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-08-08 04:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252288768001,"66":27321,"167":206,"28":32256,"24":59,"16":374477438329028608,"44":-558235217343129600},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 04:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252288768001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:00:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:00:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374477438329028608,"km_value":374477438329028.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-558235217343129600,"description":"Unknown IO ID 44"} 
[2026-08-08 04:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252288768001,"power":27321,"unknown_167":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-558235217343129600}} 
[2026-08-08 04:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:00:13] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:00:13] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:00:16] local.INFO: TCP Data received {"connection_id":152752,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5869a0012cf856400708e9e00008009b31..."} 
[2026-08-08 04:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5869a0012cf856400708e9e00008009b31..."} 
[2026-08-08 04:00:16] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5869a0012cf856400708e9e00008009b31..."} 
[2026-08-08 04:00:16] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:00:16] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:00:16] local.INFO: GPS Element Parsed {"raw_longitude":754472512,"raw_latitude":118024672,"longitude_deg":75.4472512,"latitude_deg":11.8024672,"altitude":8,"angle":155,"satellites":49,"speed":59,"hex_longitude":"2cf85640","hex_latitude":"0708e9e0","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252290048001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374477876415692800,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-555138992601079808,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786141764000,"timestamp_ms":1786141764000,"timestamp_seconds":1786141764,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5869a0"} 
[2026-08-08 04:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:00: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-08-08 04: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-08-08 04:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252290048001,"66":27397,"167":206,"28":32256,"24":59,"16":374477876415692800,"44":-555138992601079808},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 04:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252290048001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:00:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374477876415692800,"km_value":374477876415692.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-555138992601079808,"description":"Unknown IO ID 44"} 
[2026-08-08 04:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252290048001,"power":27397,"unknown_167":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-555138992601079808}} 
[2026-08-08 04:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:00:16] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:00:16] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:00:47] local.INFO: TCP Data received {"connection_id":152752,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde588110012cf867400708cb880008009430..."} 
[2026-08-08 04:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde588110012cf867400708cb880008009430..."} 
[2026-08-08 04:00:47] local.INFO: Processing buffer {"connection_id":152752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde588110012cf867400708cb880008009430..."} 
[2026-08-08 04:00:47] local.INFO: Packet analysis {"connection_id":152752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:00:47] local.INFO: Extracted packet for processing {"connection_id":152752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:00:47] local.INFO: GPS Element Parsed {"raw_longitude":754476864,"raw_latitude":118016904,"longitude_deg":75.4476864,"latitude_deg":11.8016904,"altitude":8,"angle":148,"satellites":48,"speed":59,"hex_longitude":"2cf86740","hex_latitude":"0708cb88","is_valid_coordinates":true} 
[2026-08-08 04:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252291584001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374478305912422400,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-552183505347813376,"note":"Value kept but may cause issues"} 
[2026-08-08 04:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786141770000,"timestamp_ms":1786141770000,"timestamp_seconds":1786141770,"priority":1,"record_length":96,"hex_timestamp":"0000019fde588110"} 
[2026-08-08 04:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252291584001,"66":27376,"167":206,"28":32256,"24":59,"16":374478305912422400,"44":-552183505347813376},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 04:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252291584001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:00:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374478305912422400,"km_value":374478305912422.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-552183505347813376,"description":"Unknown IO ID 44"} 
[2026-08-08 04:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252291584001,"power":27376,"unknown_167":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-552183505347813376}} 
[2026-08-08 04:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":152752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:00:47] local.INFO: GPS data processed {"connection_id":152752,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:00:47] local.INFO: Acknowledgment sent {"connection_id":152752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:01:07] local.INFO: TCP Data received {"connection_id":150037,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:07] local.INFO: Processing buffer {"connection_id":150037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:07] local.INFO: IMEI packet received {"connection_id":150037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":150037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:01:08] local.INFO: TCP Data received {"connection_id":150037,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:08] local.INFO: Processing buffer {"connection_id":150037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:08] local.INFO: IMEI packet received {"connection_id":150037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":150037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:01:12] local.INFO: TCP Data received {"connection_id":150037,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:12] local.INFO: Processing buffer {"connection_id":150037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:01:12] local.INFO: IMEI packet received {"connection_id":150037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":150037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:01:16] local.INFO: TCP Data received {"connection_id":150037,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde589c68012cf87d000708a968000a009230..."} 
[2026-08-08 04:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde589c68012cf87d000708a968000a009230..."} 
[2026-08-08 04:01:16] local.INFO: Processing buffer {"connection_id":150037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde589c68012cf87d000708a968000a009230..."} 
[2026-08-08 04:01:16] local.INFO: Packet analysis {"connection_id":150037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:01:16] local.INFO: Extracted packet for processing {"connection_id":150037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:01:16] local.INFO: GPS Element Parsed {"raw_longitude":754482432,"raw_latitude":118008168,"longitude_deg":75.4482432,"latitude_deg":11.8008168,"altitude":10,"angle":146,"satellites":48,"speed":57,"hex_longitude":"2cf87d00","hex_latitude":"0708a968","is_valid_coordinates":true} 
[2026-08-08 04:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252293120001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374478804128628736,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-547398430745720832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786141777000,"timestamp_ms":1786141777000,"timestamp_seconds":1786141777,"priority":1,"record_length":96,"hex_timestamp":"0000019fde589c68"} 
[2026-08-08 04:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:01: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-08-08 04:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252293120001,"66":27300,"167":206,"28":32256,"24":57,"16":374478804128628736,"44":-547398430745720832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 04:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252293120001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:01:16] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374478804128628736,"km_value":374478804128628.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:01:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-547398430745720832,"description":"Unknown IO ID 44"} 
[2026-08-08 04:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252293120001,"power":27300,"unknown_167":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-547398430745720832}} 
[2026-08-08 04:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":150037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:01:16] local.INFO: GPS data processed {"connection_id":150037,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:01:16] local.INFO: Acknowledgment sent {"connection_id":150037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:01:18] local.INFO: TCP Data received {"connection_id":150037,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde58b7c0012cf89400070888e0000b008f32..."} 
[2026-08-08 04:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde58b7c0012cf89400070888e0000b008f32..."} 
[2026-08-08 04:01:18] local.INFO: Processing buffer {"connection_id":150037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde58b7c0012cf89400070888e0000b008f32..."} 
[2026-08-08 04:01:18] local.INFO: Packet analysis {"connection_id":150037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:01:18] local.INFO: Extracted packet for processing {"connection_id":150037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde58"} 
[2026-08-08 04:01:18] local.INFO: GPS Element Parsed {"raw_longitude":754488320,"raw_latitude":117999840,"longitude_deg":75.448832,"latitude_deg":11.799984,"altitude":11,"angle":143,"satellites":50,"speed":58,"hex_longitude":"2cf89400","hex_latitude":"070888e0","is_valid_coordinates":true} 
[2026-08-08 04:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252294912001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374479293754900480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-541276350004500480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786141784000,"timestamp_ms":1786141784000,"timestamp_seconds":1786141784,"priority":1,"record_length":96,"hex_timestamp":"0000019fde58b7c0"} 
[2026-08-08 04:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 04:01: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-08-08 04:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252294912001,"66":27397,"167":206,"28":32256,"24":58,"16":374479293754900480,"44":-541276350004500480},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 04:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252294912001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:01:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:01:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374479293754900480,"km_value":374479293754900.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:01:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-541276350004500480,"description":"Unknown IO ID 44"} 
[2026-08-08 04:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252294912001,"power":27397,"unknown_167":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-541276350004500480}} 
[2026-08-08 04:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":150037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:01:18] local.INFO: GPS data processed {"connection_id":150037,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:01:18] local.INFO: Acknowledgment sent {"connection_id":150037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:01:50] local.INFO: TCP Data received {"connection_id":150037,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde59cd18012cf9708007073428000700a232..."} 
[2026-08-08 04:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde59cd18012cf9708007073428000700a232..."} 
[2026-08-08 04:01:50] local.INFO: Processing buffer {"connection_id":150037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde59cd18012cf9708007073428000700a232..."} 
[2026-08-08 04:01:50] local.INFO: Packet analysis {"connection_id":150037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde59"} 
[2026-08-08 04:01:50] local.INFO: Extracted packet for processing {"connection_id":150037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde59"} 
[2026-08-08 04:01:50] local.INFO: GPS Element Parsed {"raw_longitude":754544768,"raw_latitude":117912616,"longitude_deg":75.4544768,"latitude_deg":11.7912616,"altitude":7,"angle":162,"satellites":50,"speed":57,"hex_longitude":"2cf97080","hex_latitude":"07073428","is_valid_coordinates":true} 
[2026-08-08 04:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374484327456571392,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-475763049197393920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786141855000,"timestamp_ms":1786141855000,"timestamp_seconds":1786141855,"priority":1,"record_length":96,"hex_timestamp":"0000019fde59cd18"} 
[2026-08-08 04:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252313344001,"66":27484,"165":206,"28":32256,"24":57,"16":374484327456571392,"44":-475763049197393920},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 04:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:01:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 04:01:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374484327456571392,"km_value":374484327456571.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-475763049197393920,"description":"Unknown IO ID 44"} 
[2026-08-08 04:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252313344001,"power":27484,"unknown_165":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-475763049197393920}} 
[2026-08-08 04:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":150037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:01:50] local.INFO: GPS data processed {"connection_id":150037,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:01:50] local.INFO: Acknowledgment sent {"connection_id":150037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:02:06] local.INFO: TCP Data received {"connection_id":151275,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:06] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:06] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:02:06] local.INFO: TCP Data received {"connection_id":151275,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:06] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:06] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:02:07] local.INFO: TCP Data received {"connection_id":151275,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:07] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:07] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:02:12] local.INFO: TCP Data received {"connection_id":151275,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:12] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:02:12] local.INFO: IMEI packet received {"connection_id":151275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":151275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:02:13] local.INFO: TCP Data received {"connection_id":151275,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde59e870012cf97d0007070f700009009e32..."} 
[2026-08-08 04:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde59e870012cf97d0007070f700009009e32..."} 
[2026-08-08 04:02:13] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde59e870012cf97d0007070f700009009e32..."} 
[2026-08-08 04:02:13] local.INFO: Packet analysis {"connection_id":151275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde59"} 
[2026-08-08 04:02:13] local.INFO: Extracted packet for processing {"connection_id":151275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde59"} 
[2026-08-08 04:02:13] local.INFO: GPS Element Parsed {"raw_longitude":754547968,"raw_latitude":117903216,"longitude_deg":75.4547968,"latitude_deg":11.7903216,"altitude":9,"angle":158,"satellites":50,"speed":55,"hex_longitude":"2cf97d00","hex_latitude":"07070f70","is_valid_coordinates":true} 
[2026-08-08 04:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252314880001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374484808492908544,"note":"Value kept but may cause issues"} 
[2026-08-08 04:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-472737193199917056,"note":"Value kept but may cause issues"} 
[2026-08-08 04:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786141862000,"timestamp_ms":1786141862000,"timestamp_seconds":1786141862,"priority":1,"record_length":96,"hex_timestamp":"0000019fde59e870"} 
[2026-08-08 04:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:02: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-08-08 04:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252314880001,"66":27332,"166":206,"28":32256,"24":55,"16":374484808492908544,"44":-472737193199917056},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 04:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252314880001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:02:13] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 04:02:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374484808492908544,"km_value":374484808492908.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-472737193199917056,"description":"Unknown IO ID 44"} 
[2026-08-08 04:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252314880001,"power":27332,"unknown_166":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-472737193199917056}} 
[2026-08-08 04:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":151275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:02:13] local.INFO: GPS data processed {"connection_id":151275,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:02:13] local.INFO: Acknowledgment sent {"connection_id":151275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:02:45] local.INFO: TCP Data received {"connection_id":151275,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde59ffe0012cf98c400706f270000c009231..."} 
[2026-08-08 04:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde59ffe0012cf98c400706f270000c009231..."} 
[2026-08-08 04:02:45] local.INFO: Processing buffer {"connection_id":151275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde59ffe0012cf98c400706f270000c009231..."} 
[2026-08-08 04:02:45] local.INFO: Packet analysis {"connection_id":151275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde59"} 
[2026-08-08 04:02:45] local.INFO: Extracted packet for processing {"connection_id":151275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde59"} 
[2026-08-08 04:02:45] local.INFO: GPS Element Parsed {"raw_longitude":754551872,"raw_latitude":117895792,"longitude_deg":75.4551872,"latitude_deg":11.7895792,"altitude":12,"angle":146,"satellites":49,"speed":55,"hex_longitude":"2cf98c40","hex_latitude":"0706f270","is_valid_coordinates":true} 
[2026-08-08 04:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252316672001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374485212219834368,"note":"Value kept but may cause issues"} 
[2026-08-08 04:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-469218755993440256,"note":"Value kept but may cause issues"} 
[2026-08-08 04:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786141868000,"timestamp_ms":1786141868000,"timestamp_seconds":1786141868,"priority":1,"record_length":96,"hex_timestamp":"0000019fde59ffe0"} 
[2026-08-08 04:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252316672001,"66":27376,"166":206,"28":32256,"24":55,"16":374485212219834368,"44":-469218755993440256},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 04:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252316672001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:02:45] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 04:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374485212219834368,"km_value":374485212219834.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-469218755993440256,"description":"Unknown IO ID 44"} 
[2026-08-08 04:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252316672001,"power":27376,"unknown_166":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-469218755993440256}} 
[2026-08-08 04:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":151275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:02:45] local.INFO: GPS data processed {"connection_id":151275,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:02:45] local.INFO: Acknowledgment sent {"connection_id":151275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:03:07] local.INFO: TCP Data received {"connection_id":150038,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:07] local.INFO: Processing buffer {"connection_id":150038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:07] local.INFO: IMEI packet received {"connection_id":150038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":150038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:03:07] local.INFO: TCP Data received {"connection_id":150038,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:07] local.INFO: Processing buffer {"connection_id":150038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:07] local.INFO: IMEI packet received {"connection_id":150038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":150038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:03:12] local.INFO: TCP Data received {"connection_id":150038,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:12] local.INFO: Processing buffer {"connection_id":150038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:03:12] local.INFO: IMEI packet received {"connection_id":150038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":150038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:03:14] local.INFO: TCP Data received {"connection_id":150038,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5aee28012cfacf000706a058000a006032..."} 
[2026-08-08 04:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5aee28012cfacf000706a058000a006032..."} 
[2026-08-08 04:03:14] local.INFO: Processing buffer {"connection_id":150038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5aee28012cfacf000706a058000a006032..."} 
[2026-08-08 04:03:14] local.INFO: Packet analysis {"connection_id":150038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5a"} 
[2026-08-08 04:03:14] local.INFO: Extracted packet for processing {"connection_id":150038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5a"} 
[2026-08-08 04:03:14] local.INFO: GPS Element Parsed {"raw_longitude":754634496,"raw_latitude":117874776,"longitude_deg":75.4634496,"latitude_deg":11.7874776,"altitude":10,"angle":96,"satellites":50,"speed":56,"hex_longitude":"2cfacf00","hex_latitude":"0706a058","is_valid_coordinates":true} 
[2026-08-08 04:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252332032001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374489391223013376,"note":"Value kept but may cause issues"} 
[2026-08-08 04:03:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-384776262987268096,"note":"Value kept but may cause issues"} 
[2026-08-08 04:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786141929000,"timestamp_ms":1786141929000,"timestamp_seconds":1786141929,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5aee28"} 
[2026-08-08 04:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:03: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-08-08 04:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252332032001,"66":27365,"166":206,"28":32256,"24":56,"16":374489391223013376,"44":-384776262987268096},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 04:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252332032001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:03:14] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 04:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374489391223013376,"km_value":374489391223013.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:03:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-384776262987268096,"description":"Unknown IO ID 44"} 
[2026-08-08 04:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252332032001,"power":27365,"unknown_166":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_44":-384776262987268096}} 
[2026-08-08 04:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":150038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:03:14] local.INFO: GPS data processed {"connection_id":150038,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:03:14] local.INFO: Acknowledgment sent {"connection_id":150038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:03:46] local.INFO: TCP Data received {"connection_id":150038,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5b0980012cfaf7c007069c500008005f32..."} 
[2026-08-08 04:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5b0980012cfaf7c007069c500008005f32..."} 
[2026-08-08 04:03:46] local.INFO: Processing buffer {"connection_id":150038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5b0980012cfaf7c007069c500008005f32..."} 
[2026-08-08 04:03:46] local.INFO: Packet analysis {"connection_id":150038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5b"} 
[2026-08-08 04:03:46] local.INFO: Extracted packet for processing {"connection_id":150038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5b"} 
[2026-08-08 04:03:46] local.INFO: GPS Element Parsed {"raw_longitude":754644928,"raw_latitude":117873744,"longitude_deg":75.4644928,"latitude_deg":11.7873744,"altitude":8,"angle":95,"satellites":50,"speed":60,"hex_longitude":"2cfaf7c0","hex_latitude":"07069c50","is_valid_coordinates":true} 
[2026-08-08 04:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252333824001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374489889439219712,"note":"Value kept but may cause issues"} 
[2026-08-08 04:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-374080213872519168,"note":"Value kept but may cause issues"} 
[2026-08-08 04:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786141936000,"timestamp_ms":1786141936000,"timestamp_seconds":1786141936,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5b0980"} 
[2026-08-08 04:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:03: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-08-08 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:03: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-08-08 04:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252333824001,"66":27365,"166":206,"28":32256,"24":60,"16":374489889439219712,"44":-374080213872519168},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 04:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252333824001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:03:46] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 04:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374489889439219712,"km_value":374489889439219.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-374080213872519168,"description":"Unknown IO ID 44"} 
[2026-08-08 04:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252333824001,"power":27365,"unknown_166":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_44":-374080213872519168}} 
[2026-08-08 04:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":150038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:03:46] local.INFO: GPS data processed {"connection_id":150038,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:03:46] local.INFO: Acknowledgment sent {"connection_id":150038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:04:12] local.INFO: TCP Data received {"connection_id":150039,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:04:12] local.INFO: Processing buffer {"connection_id":150039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:04:12] local.INFO: IMEI packet received {"connection_id":150039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":150039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:04:14] local.INFO: TCP Data received {"connection_id":150039,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:04:14] local.INFO: Processing buffer {"connection_id":150039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:04:14] local.INFO: IMEI packet received {"connection_id":150039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":150039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:04:15] local.INFO: TCP Data received {"connection_id":150039,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5b20f0012cfb1bc0070698700007006031..."} 
[2026-08-08 04:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5b20f0012cfb1bc0070698700007006031..."} 
[2026-08-08 04:04:15] local.INFO: Processing buffer {"connection_id":150039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5b20f0012cfb1bc0070698700007006031..."} 
[2026-08-08 04:04:15] local.INFO: Packet analysis {"connection_id":150039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5b"} 
[2026-08-08 04:04:15] local.INFO: Extracted packet for processing {"connection_id":150039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5b"} 
[2026-08-08 04:04:15] local.INFO: GPS Element Parsed {"raw_longitude":754654144,"raw_latitude":117872752,"longitude_deg":75.4654144,"latitude_deg":11.7872752,"altitude":7,"angle":96,"satellites":49,"speed":59,"hex_longitude":"2cfb1bc0","hex_latitude":"07069870","is_valid_coordinates":true} 
[2026-08-08 04:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252335616001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374490331820851200,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-362610108571824128,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786141942000,"timestamp_ms":1786141942000,"timestamp_seconds":1786141942,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5b20f0"} 
[2026-08-08 04:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:04: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-08-08 04:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252335616001,"66":27463,"166":206,"28":32256,"24":59,"16":374490331820851200,"44":-362610108571824128},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 04:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252335616001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:04:15] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 04:04:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374490331820851200,"km_value":374490331820851.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-362610108571824128,"description":"Unknown IO ID 44"} 
[2026-08-08 04:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252335616001,"power":27463,"unknown_166":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-362610108571824128}} 
[2026-08-08 04:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":150039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:04:15] local.INFO: GPS data processed {"connection_id":150039,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:04:15] local.INFO: Acknowledgment sent {"connection_id":150039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:04:17] local.INFO: TCP Data received {"connection_id":150039,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5b3c48012cfb4380070694480009006031..."} 
[2026-08-08 04:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5b3c48012cfb4380070694480009006031..."} 
[2026-08-08 04:04:17] local.INFO: Processing buffer {"connection_id":150039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5b3c48012cfb4380070694480009006031..."} 
[2026-08-08 04:04:17] local.INFO: Packet analysis {"connection_id":150039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5b"} 
[2026-08-08 04:04:17] local.INFO: Extracted packet for processing {"connection_id":150039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5b"} 
[2026-08-08 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":754664320,"raw_latitude":117871688,"longitude_deg":75.466432,"latitude_deg":11.7871688,"altitude":9,"angle":96,"satellites":49,"speed":55,"hex_longitude":"2cfb4380","hex_latitude":"07069448","is_valid_coordinates":true} 
[2026-08-08 04:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252337152001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374490812857188352,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-352477009410494464,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786141949000,"timestamp_ms":1786141949000,"timestamp_seconds":1786141949,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5b3c48"} 
[2026-08-08 04:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:04: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-08-08 04:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252337152001,"66":27365,"165":206,"28":32256,"24":55,"16":374490812857188352,"44":-352477009410494464},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 04:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252337152001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:04:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 04:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374490812857188352,"km_value":374490812857188.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:04:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-352477009410494464,"description":"Unknown IO ID 44"} 
[2026-08-08 04:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252337152001,"power":27365,"unknown_165":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-352477009410494464}} 
[2026-08-08 04:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":150039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:04:17] local.INFO: GPS data processed {"connection_id":150039,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:04:17] local.INFO: Acknowledgment sent {"connection_id":150039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:04:50] local.INFO: TCP Data received {"connection_id":150039,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5c8850012cfd0840070610500009008431..."} 
[2026-08-08 04:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5c8850012cfd0840070610500009008431..."} 
[2026-08-08 04:04:50] local.INFO: Processing buffer {"connection_id":150039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5c8850012cfd0840070610500009008431..."} 
[2026-08-08 04:04:50] local.INFO: Packet analysis {"connection_id":150039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5c"} 
[2026-08-08 04:04:50] local.INFO: Extracted packet for processing {"connection_id":150039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5c"} 
[2026-08-08 04:04:50] local.INFO: GPS Element Parsed {"raw_longitude":754780224,"raw_latitude":117837904,"longitude_deg":75.4780224,"latitude_deg":11.7837904,"altitude":9,"angle":132,"satellites":49,"speed":58,"hex_longitude":"2cfd0840","hex_latitude":"07061050","is_valid_coordinates":true} 
[2026-08-08 04:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252359168001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374496714142253056,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-221380039014918144,"note":"Value kept but may cause issues"} 
[2026-08-08 04:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786142034000,"timestamp_ms":1786142034000,"timestamp_seconds":1786142034,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5c8850"} 
[2026-08-08 04:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:04: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-08-08 04:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:04: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-08-08 04:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252359168001,"66":27365,"56":206,"28":32256,"24":58,"16":374496714142253056,"44":-221380039014918144},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,44]} 
[2026-08-08 04:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252359168001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:04:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 04:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374496714142253056,"km_value":374496714142253.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-221380039014918144,"description":"Unknown IO ID 44"} 
[2026-08-08 04:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252359168001,"power":27365,"unknown_56":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-221380039014918144}} 
[2026-08-08 04:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":150039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:04:50] local.INFO: GPS data processed {"connection_id":150039,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:04:50] local.INFO: Acknowledgment sent {"connection_id":150039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:05:06] local.INFO: TCP Data received {"connection_id":150301,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:06] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:06] local.INFO: IMEI packet received {"connection_id":150301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":150301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:05:07] local.INFO: TCP Data received {"connection_id":150301,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:07] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:07] local.INFO: IMEI packet received {"connection_id":150301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":150301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:05:12] local.INFO: TCP Data received {"connection_id":150301,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:12] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:05:12] local.INFO: IMEI packet received {"connection_id":150301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":150301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:05:14] local.INFO: TCP Data received {"connection_id":150301,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5c9fc0012cfd22c00705f9600009008331..."} 
[2026-08-08 04:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5c9fc0012cfd22c00705f9600009008331..."} 
[2026-08-08 04:05:14] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5c9fc0012cfd22c00705f9600009008331..."} 
[2026-08-08 04:05:14] local.INFO: Packet analysis {"connection_id":150301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5c"} 
[2026-08-08 04:05:14] local.INFO: Extracted packet for processing {"connection_id":150301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5c"} 
[2026-08-08 04:05:14] local.INFO: GPS Element Parsed {"raw_longitude":754787008,"raw_latitude":117832032,"longitude_deg":75.4787008,"latitude_deg":11.7832032,"altitude":9,"angle":131,"satellites":49,"speed":58,"hex_longitude":"2cfd22c0","hex_latitude":"0705f960","is_valid_coordinates":true} 
[2026-08-08 04:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252360704001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374497143638982656,"note":"Value kept but may cause issues"} 
[2026-08-08 04:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-213850583389417472,"note":"Value kept but may cause issues"} 
[2026-08-08 04:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786142040000,"timestamp_ms":1786142040000,"timestamp_seconds":1786142040,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5c9fc0"} 
[2026-08-08 04:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:05: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-08-08 04:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252360704001,"66":26810,"56":206,"28":32256,"24":58,"16":374497143638982656,"44":-213850583389417472},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,44]} 
[2026-08-08 04:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252360704001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:05:14] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 04:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374497143638982656,"km_value":374497143638982.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-213850583389417472,"description":"Unknown IO ID 44"} 
[2026-08-08 04:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252360704001,"power":26810,"unknown_56":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-213850583389417472}} 
[2026-08-08 04:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":150301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:05:14] local.INFO: GPS data processed {"connection_id":150301,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:05:14] local.INFO: Acknowledgment sent {"connection_id":150301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:05:45] local.INFO: TCP Data received {"connection_id":150301,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5cbb18012cfd41000705def0000a008331..."} 
[2026-08-08 04:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5cbb18012cfd41000705def0000a008331..."} 
[2026-08-08 04:05:45] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5cbb18012cfd41000705def0000a008331..."} 
[2026-08-08 04:05:45] local.INFO: Packet analysis {"connection_id":150301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5c"} 
[2026-08-08 04:05:45] local.INFO: Extracted packet for processing {"connection_id":150301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5c"} 
[2026-08-08 04:05:45] local.INFO: GPS Element Parsed {"raw_longitude":754794752,"raw_latitude":117825264,"longitude_deg":75.4794752,"latitude_deg":11.7825264,"altitude":10,"angle":131,"satellites":49,"speed":58,"hex_longitude":"2cfd4100","hex_latitude":"0705def0","is_valid_coordinates":true} 
[2026-08-08 04:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252362240001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374497637560221696,"note":"Value kept but may cause issues"} 
[2026-08-08 04:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-206391496508088320,"note":"Value kept but may cause issues"} 
[2026-08-08 04:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142047000,"timestamp_ms":1786142047000,"timestamp_seconds":1786142047,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5cbb18"} 
[2026-08-08 04:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-08 04:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252362240001,"66":27463,"56":206,"28":32256,"24":58,"16":374497637560221696,"44":-206391496508088320},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,44]} 
[2026-08-08 04:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252362240001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:05:45] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 04:05:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374497637560221696,"km_value":374497637560221.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-206391496508088320,"description":"Unknown IO ID 44"} 
[2026-08-08 04:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252362240001,"power":27463,"unknown_56":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-206391496508088320}} 
[2026-08-08 04:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":150301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:05:45] local.INFO: GPS data processed {"connection_id":150301,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:05:45] local.INFO: Acknowledgment sent {"connection_id":150301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:06:07] local.INFO: TCP Data received {"connection_id":150040,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:06:07] local.INFO: Processing buffer {"connection_id":150040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:06:07] local.INFO: IMEI packet received {"connection_id":150040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":150040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:06:09] local.INFO: TCP Data received {"connection_id":150040,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:06:09] local.INFO: Processing buffer {"connection_id":150040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:06:09] local.INFO: IMEI packet received {"connection_id":150040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":150040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:06:10] local.INFO: TCP Data received {"connection_id":150040,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5dd458012cfe7fc00704cf100009007f31..."} 
[2026-08-08 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5dd458012cfe7fc00704cf100009007f31..."} 
[2026-08-08 04:06:10] local.INFO: Processing buffer {"connection_id":150040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5dd458012cfe7fc00704cf100009007f31..."} 
[2026-08-08 04:06:10] local.INFO: Packet analysis {"connection_id":150040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5d"} 
[2026-08-08 04:06:10] local.INFO: Extracted packet for processing {"connection_id":150040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5d"} 
[2026-08-08 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":754876352,"raw_latitude":117755664,"longitude_deg":75.4876352,"latitude_deg":11.7755664,"altitude":9,"angle":127,"satellites":49,"speed":59,"hex_longitude":"2cfe7fc0","hex_latitude":"0704cf10","is_valid_coordinates":true} 
[2026-08-08 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252380928001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374502774341107712,"note":"Value kept but may cause issues"} 
[2026-08-08 04:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-116178766490486784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786142119000,"timestamp_ms":1786142119000,"timestamp_seconds":1786142119,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5dd458"} 
[2026-08-08 04:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252380928001,"66":27376,"55":206,"28":32256,"24":59,"16":374502774341107712,"44":-116178766490486784},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 04:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252380928001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:06:10] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374502774341107712,"km_value":374502774341107.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-116178766490486784,"description":"Unknown IO ID 44"} 
[2026-08-08 04:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252380928001,"power":27376,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-116178766490486784}} 
[2026-08-08 04:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":150040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:06:10] local.INFO: GPS data processed {"connection_id":150040,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:06:10] local.INFO: Acknowledgment sent {"connection_id":150040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:06:42] local.INFO: TCP Data received {"connection_id":150040,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5debc8012cfe9c000704ba000008007e2d..."} 
[2026-08-08 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5debc8012cfe9c000704ba000008007e2d..."} 
[2026-08-08 04:06:42] local.INFO: Processing buffer {"connection_id":150040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5debc8012cfe9c000704ba000008007e2d..."} 
[2026-08-08 04:06:42] local.INFO: Packet analysis {"connection_id":150040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5d"} 
[2026-08-08 04:06:42] local.INFO: Extracted packet for processing {"connection_id":150040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5d"} 
[2026-08-08 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":754883584,"raw_latitude":117750272,"longitude_deg":75.4883584,"latitude_deg":11.7750272,"altitude":8,"angle":126,"satellites":45,"speed":59,"hex_longitude":"2cfe9c00","hex_latitude":"0704ba00","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252382464001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374503208132804608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-108156729655619584,"note":"Value kept but may cause issues"} 
[2026-08-08 04:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786142125000,"timestamp_ms":1786142125000,"timestamp_seconds":1786142125,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5debc8"} 
[2026-08-08 04:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252382464001,"66":27267,"55":206,"28":32256,"24":59,"16":374503208132804608,"44":-108156729655619584},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 04:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252382464001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:06:42] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374503208132804608,"km_value":374503208132804.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-108156729655619584,"description":"Unknown IO ID 44"} 
[2026-08-08 04:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252382464001,"power":27267,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-108156729655619584}} 
[2026-08-08 04:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":150040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:06:42] local.INFO: GPS data processed {"connection_id":150040,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:06:42] local.INFO: Acknowledgment sent {"connection_id":150040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:07:07] local.INFO: TCP Data received {"connection_id":150041,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:07:07] local.INFO: Processing buffer {"connection_id":150041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:07:07] local.INFO: IMEI packet received {"connection_id":150041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":150041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:07:12] local.INFO: TCP Data received {"connection_id":150041,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:07:12] local.INFO: Processing buffer {"connection_id":150041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:07:12] local.INFO: IMEI packet received {"connection_id":150041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":150041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:07:14] local.INFO: TCP Data received {"connection_id":150041,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5e0338012cfeb8800704a5000007007f2e..."} 
[2026-08-08 04:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5e0338012cfeb8800704a5000007007f2e..."} 
[2026-08-08 04:07:14] local.INFO: Processing buffer {"connection_id":150041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5e0338012cfeb8800704a5000007007f2e..."} 
[2026-08-08 04:07:14] local.INFO: Packet analysis {"connection_id":150041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5e"} 
[2026-08-08 04:07:14] local.INFO: Extracted packet for processing {"connection_id":150041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5e"} 
[2026-08-08 04:07:14] local.INFO: GPS Element Parsed {"raw_longitude":754890880,"raw_latitude":117744896,"longitude_deg":75.489088,"latitude_deg":11.7744896,"altitude":7,"angle":127,"satellites":46,"speed":58,"hex_longitude":"2cfeb880","hex_latitude":"0704a500","is_valid_coordinates":true} 
[2026-08-08 04:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252384000001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374503641924501504,"note":"Value kept but may cause issues"} 
[2026-08-08 04:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-100205061564923904,"note":"Value kept but may cause issues"} 
[2026-08-08 04:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786142131000,"timestamp_ms":1786142131000,"timestamp_seconds":1786142131,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5e0338"} 
[2026-08-08 04:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 04:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252384000001,"66":27310,"55":206,"28":32256,"24":58,"16":374503641924501504,"44":-100205061564923904},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 04:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252384000001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:07:14] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374503641924501504,"km_value":374503641924501.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-100205061564923904,"description":"Unknown IO ID 44"} 
[2026-08-08 04:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252384000001,"power":27310,"unknown_55":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-100205061564923904}} 
[2026-08-08 04:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":150041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:07:14] local.INFO: GPS data processed {"connection_id":150041,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:07:14] local.INFO: Acknowledgment sent {"connection_id":150041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:07:45] local.INFO: TCP Data received {"connection_id":150041,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5e1aa8012cfed40007048f00000800812f..."} 
[2026-08-08 04:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5e1aa8012cfed40007048f00000800812f..."} 
[2026-08-08 04:07:45] local.INFO: Processing buffer {"connection_id":150041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5e1aa8012cfed40007048f00000800812f..."} 
[2026-08-08 04:07:45] local.INFO: Packet analysis {"connection_id":150041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5e"} 
[2026-08-08 04:07:45] local.INFO: Extracted packet for processing {"connection_id":150041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5e"} 
[2026-08-08 04:07:45] local.INFO: GPS Element Parsed {"raw_longitude":754897920,"raw_latitude":117739264,"longitude_deg":75.489792,"latitude_deg":11.7739264,"altitude":8,"angle":129,"satellites":47,"speed":57,"hex_longitude":"2cfed400","hex_latitude":"07048f00","is_valid_coordinates":true} 
[2026-08-08 04:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252385536001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374504071421231104,"note":"Value kept but may cause issues"} 
[2026-08-08 04:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-92183024730046464,"note":"Value kept but may cause issues"} 
[2026-08-08 04:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142137000,"timestamp_ms":1786142137000,"timestamp_seconds":1786142137,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5e1aa8"} 
[2026-08-08 04:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 04:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252385536001,"66":27593,"55":206,"28":32256,"24":57,"16":374504071421231104,"44":-92183024730046464},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 04:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252385536001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:07:45] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374504071421231104,"km_value":374504071421231.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-92183024730046464,"description":"Unknown IO ID 44"} 
[2026-08-08 04:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252385536001,"power":27593,"unknown_55":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-92183024730046464}} 
[2026-08-08 04:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":150041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:07:45] local.INFO: GPS data processed {"connection_id":150041,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:07:45] local.INFO: Acknowledgment sent {"connection_id":150041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:08:07] local.INFO: TCP Data received {"connection_id":151276,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:08:07] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:08:07] local.INFO: IMEI packet received {"connection_id":151276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":151276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:08:15] local.INFO: TCP Data received {"connection_id":151276,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:08:15] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:08:15] local.INFO: IMEI packet received {"connection_id":151276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":151276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:08:17] local.INFO: TCP Data received {"connection_id":151276,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde5e3600012cfef280070476100009008030..."} 
[2026-08-08 04:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde5e3600012cfef280070476100009008030..."} 
[2026-08-08 04:08:17] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde5e3600012cfef280070476100009008030..."} 
[2026-08-08 04:08:17] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde5e"} 
[2026-08-08 04:08:17] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde5e"} 
[2026-08-08 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":754905728,"raw_latitude":117732880,"longitude_deg":75.4905728,"latitude_deg":11.773288,"altitude":9,"angle":128,"satellites":48,"speed":56,"hex_longitude":"2cfef280","hex_latitude":"07047610","is_valid_coordinates":true} 
[2026-08-08 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252387072001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374504552457568256,"note":"Value kept but may cause issues"} 
[2026-08-08 04:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-84442462871945216,"note":"Value kept but may cause issues"} 
[2026-08-08 04:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786142144000,"timestamp_ms":1786142144000,"timestamp_seconds":1786142144,"priority":1,"record_length":96,"hex_timestamp":"0000019fde5e3600"} 
[2026-08-08 04:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 04:08:17] 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-08-08 04:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252387072001,"66":27234,"55":206,"28":32256,"24":56,"16":374504552457568256,"44":-84442462871945216},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 04:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252387072001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:08:17] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374504552457568256,"km_value":374504552457568.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-84442462871945216,"description":"Unknown IO ID 44"} 
[2026-08-08 04:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252387072001,"power":27234,"unknown_55":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_44":-84442462871945216}} 
[2026-08-08 04:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:08:17] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:08:17] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:08:48] local.INFO: TCP Data received {"connection_id":151276,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6039a0012d00f7400703a5f80012006e2f..."} 
[2026-08-08 04:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6039a0012d00f7400703a5f80012006e2f..."} 
[2026-08-08 04:08:48] local.INFO: Processing buffer {"connection_id":151276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6039a0012d00f7400703a5f80012006e2f..."} 
[2026-08-08 04:08:48] local.INFO: Packet analysis {"connection_id":151276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde60"} 
[2026-08-08 04:08:48] local.INFO: Extracted packet for processing {"connection_id":151276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde60"} 
[2026-08-08 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":755038016,"raw_latitude":117679608,"longitude_deg":75.5038016,"latitude_deg":11.7679608,"altitude":18,"angle":110,"satellites":47,"speed":57,"hex_longitude":"2d00f740","hex_latitude":"0703a5f8","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252420864001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374511368570667008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":59250512724441088,"note":"Value kept but may cause issues"} 
[2026-08-08 04:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786142276000,"timestamp_ms":1786142276000,"timestamp_seconds":1786142276,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6039a0"} 
[2026-08-08 04:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:08: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-08-08 04: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-08-08 04:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252420864001,"66":27365,"34":206,"28":32256,"24":57,"16":374511368570667008,"45":59250512724441088},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-08-08 04:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252420864001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:08:48] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 04:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374511368570667008,"km_value":374511368570667.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":59250512724441088,"description":"Unknown IO ID 45"} 
[2026-08-08 04:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252420864001,"power":27365,"unknown_34":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":59250512724441088}} 
[2026-08-08 04:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":151276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:08:48] local.INFO: GPS data processed {"connection_id":151276,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:08:48] local.INFO: Acknowledgment sent {"connection_id":151276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:09:07] local.INFO: TCP Data received {"connection_id":150042,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:09:07] local.INFO: Processing buffer {"connection_id":150042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:09:07] local.INFO: IMEI packet received {"connection_id":150042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":150042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:09:12] local.INFO: TCP Data received {"connection_id":150042,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:09:12] local.INFO: Processing buffer {"connection_id":150042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:09:12] local.INFO: IMEI packet received {"connection_id":150042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":150042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:09:14] local.INFO: TCP Data received {"connection_id":150042,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6054f8012d011d80070397f00010006d2d..."} 
[2026-08-08 04:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6054f8012d011d80070397f00010006d2d..."} 
[2026-08-08 04:09:14] local.INFO: Processing buffer {"connection_id":150042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6054f8012d011d80070397f00010006d2d..."} 
[2026-08-08 04:09:14] local.INFO: Packet analysis {"connection_id":150042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde60"} 
[2026-08-08 04:09:14] local.INFO: Extracted packet for processing {"connection_id":150042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde60"} 
[2026-08-08 04:09:14] local.INFO: GPS Element Parsed {"raw_longitude":755047808,"raw_latitude":117676016,"longitude_deg":75.5047808,"latitude_deg":11.7676016,"altitude":16,"angle":109,"satellites":45,"speed":60,"hex_longitude":"2d011d80","hex_latitude":"070397f0","is_valid_coordinates":true} 
[2026-08-08 04:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252422656001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374511866786873344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":69594718117689344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786142283000,"timestamp_ms":1786142283000,"timestamp_seconds":1786142283,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6054f8"} 
[2026-08-08 04:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:09: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-08-08 04:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252422656001,"66":27332,"34":206,"28":32256,"24":60,"16":374511866786873344,"45":69594718117689344},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-08-08 04:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252422656001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:09:14] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 04:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374511866786873344,"km_value":374511866786873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":69594718117689344,"description":"Unknown IO ID 45"} 
[2026-08-08 04:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252422656001,"power":27332,"unknown_34":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_45":69594718117689344}} 
[2026-08-08 04:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":150042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:09:14] local.INFO: GPS data processed {"connection_id":150042,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:09:14] local.INFO: Acknowledgment sent {"connection_id":150042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:09:46] local.INFO: TCP Data received {"connection_id":150042,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde606c68012d01404007038c80000e006b2e..."} 
[2026-08-08 04:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde606c68012d01404007038c80000e006b2e..."} 
[2026-08-08 04:09:46] local.INFO: Processing buffer {"connection_id":150042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde606c68012d01404007038c80000e006b2e..."} 
[2026-08-08 04:09:46] local.INFO: Packet analysis {"connection_id":150042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde60"} 
[2026-08-08 04:09:46] local.INFO: Extracted packet for processing {"connection_id":150042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde60"} 
[2026-08-08 04:09:46] local.INFO: GPS Element Parsed {"raw_longitude":755056704,"raw_latitude":117673088,"longitude_deg":75.5056704,"latitude_deg":11.7673088,"altitude":14,"angle":107,"satellites":46,"speed":59,"hex_longitude":"2d014040","hex_latitude":"07038c80","is_valid_coordinates":true} 
[2026-08-08 04:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252424448001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374512313463472128,"note":"Value kept but may cause issues"} 
[2026-08-08 04:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":80361135975952384,"note":"Value kept but may cause issues"} 
[2026-08-08 04:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786142289000,"timestamp_ms":1786142289000,"timestamp_seconds":1786142289,"priority":1,"record_length":96,"hex_timestamp":"0000019fde606c68"} 
[2026-08-08 04:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:09: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-08-08 04:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252424448001,"66":27397,"34":206,"28":32256,"24":59,"16":374512313463472128,"45":80361135975952384},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-08-08 04:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252424448001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:09:46] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 04:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374512313463472128,"km_value":374512313463472.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":80361135975952384,"description":"Unknown IO ID 45"} 
[2026-08-08 04:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252424448001,"power":27397,"unknown_34":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":80361135975952384}} 
[2026-08-08 04:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":150042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:09:46] local.INFO: GPS data processed {"connection_id":150042,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:09:46] local.INFO: Acknowledgment sent {"connection_id":150042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:10:12] local.INFO: TCP Data received {"connection_id":151277,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:12] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:12] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:10:12] local.INFO: TCP Data received {"connection_id":151277,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:12] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:12] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:10:17] local.INFO: TCP Data received {"connection_id":151277,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:17] local.INFO: Processing buffer {"connection_id":151277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:10:17] local.INFO: IMEI packet received {"connection_id":151277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":151277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:11:07] local.INFO: TCP Data received {"connection_id":152753,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:11:07] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:11:07] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:11:08] local.INFO: TCP Data received {"connection_id":152753,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:11:08] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:11:08] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:11:24] local.INFO: TCP Data received {"connection_id":152753,"ip":"117.225.174.164","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fde..."} 
[2026-08-08 04:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fde..."} 
[2026-08-08 04:11:24] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fde..."} 
[2026-08-08 04:11:24] local.INFO: IMEI packet received {"connection_id":152753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":152753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:11:26] local.INFO: TCP Data received {"connection_id":152753,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde61e368012d0261000701ebb8000900a132..."} 
[2026-08-08 04:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde61e368012d0261000701ebb8000900a132..."} 
[2026-08-08 04:11:26] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fde61cbf8012d02564007020cf8000900a131..."} 
[2026-08-08 04:11:26] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fde61"} 
[2026-08-08 04:11:26] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde61"} 
[2026-08-08 04:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755127872,"raw_latitude":117574904,"longitude_deg":75.5127872,"latitude_deg":11.7574904,"altitude":9,"angle":161,"satellites":49,"speed":59,"hex_longitude":"2d025640","hex_latitude":"07020cf8","is_valid_coordinates":true} 
[2026-08-08 04:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252447488001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374518554050953216,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":165366578918875136,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786142379000,"timestamp_ms":1786142379000,"timestamp_seconds":1786142379,"priority":1,"record_length":96,"hex_timestamp":"0000019fde61cbf8"} 
[2026-08-08 04:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-08 04:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252447488001,"66":27376,"35":206,"28":32256,"24":59,"16":374518554050953216,"45":165366578918875136},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252447488001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374518554050953216,"km_value":374518554050953.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":165366578918875136,"description":"Unknown IO ID 45"} 
[2026-08-08 04:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252447488001,"power":27376,"unknown_35":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":165366578918875136}} 
[2026-08-08 04:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:11:26] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:11:26] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:11:26] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde61"} 
[2026-08-08 04:11:26] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde61"} 
[2026-08-08 04:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755130624,"raw_latitude":117566392,"longitude_deg":75.5130624,"latitude_deg":11.7566392,"altitude":9,"angle":161,"satellites":50,"speed":59,"hex_longitude":"2d026100","hex_latitude":"0701ebb8","is_valid_coordinates":true} 
[2026-08-08 04:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252449024001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374518987842650112,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":168392434916325376,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786142385000,"timestamp_ms":1786142385000,"timestamp_seconds":1786142385,"priority":1,"record_length":96,"hex_timestamp":"0000019fde61e368"} 
[2026-08-08 04:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252449024001,"66":27343,"35":206,"28":32256,"24":59,"16":374518987842650112,"45":168392434916325376},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 04:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252449024001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374518987842650112,"km_value":374518987842650.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":168392434916325376,"description":"Unknown IO ID 45"} 
[2026-08-08 04:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252449024001,"power":27343,"unknown_35":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":168392434916325376}} 
[2026-08-08 04:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:11:26] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:11:26] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:11:28] local.INFO: TCP Data received {"connection_id":152753,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde61fad8012d026bc00701ca70000800a232..."} 
[2026-08-08 04:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde61fad8012d026bc00701ca70000800a232..."} 
[2026-08-08 04:11:28] local.INFO: Processing buffer {"connection_id":152753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde61fad8012d026bc00701ca70000800a232..."} 
[2026-08-08 04:11:28] local.INFO: Packet analysis {"connection_id":152753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde61"} 
[2026-08-08 04:11:28] local.INFO: Extracted packet for processing {"connection_id":152753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde61"} 
[2026-08-08 04:11:28] local.INFO: GPS Element Parsed {"raw_longitude":755133376,"raw_latitude":117557872,"longitude_deg":75.5133376,"latitude_deg":11.7557872,"altitude":8,"angle":162,"satellites":50,"speed":59,"hex_longitude":"2d026bc0","hex_latitude":"0701ca70","is_valid_coordinates":true} 
[2026-08-08 04:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252450560001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374519421634347008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":171418290913785856,"note":"Value kept but may cause issues"} 
[2026-08-08 04:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786142391000,"timestamp_ms":1786142391000,"timestamp_seconds":1786142391,"priority":1,"record_length":96,"hex_timestamp":"0000019fde61fad8"} 
[2026-08-08 04:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":152753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":152753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252450560001,"66":27343,"35":206,"28":32256,"24":59,"16":374519421634347008,"45":171418290913785856},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 04:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252450560001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:11:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 04:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374519421634347008,"km_value":374519421634347.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":171418290913785856,"description":"Unknown IO ID 45"} 
[2026-08-08 04:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252450560001,"power":27343,"unknown_35":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":171418290913785856}} 
[2026-08-08 04:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":152753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:11:28] local.INFO: GPS data processed {"connection_id":152753,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:11:28] local.INFO: Acknowledgment sent {"connection_id":152753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:12:06] local.INFO: TCP Data received {"connection_id":151278,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:06] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:06] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:12:07] local.INFO: TCP Data received {"connection_id":151278,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:07] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:07] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:12:12] local.INFO: TCP Data received {"connection_id":151278,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:12] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:12:12] local.INFO: IMEI packet received {"connection_id":151278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":151278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:12:14] local.INFO: TCP Data received {"connection_id":151278,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde631800012d02ec8007003d00000a00a231..."} 
[2026-08-08 04:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde631800012d02ec8007003d00000a00a231..."} 
[2026-08-08 04:12:14] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde631800012d02ec8007003d00000a00a231..."} 
[2026-08-08 04:12:14] local.INFO: Packet analysis {"connection_id":151278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde63"} 
[2026-08-08 04:12:14] local.INFO: Extracted packet for processing {"connection_id":151278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde63"} 
[2026-08-08 04:12:14] local.INFO: GPS Element Parsed {"raw_longitude":755166336,"raw_latitude":117456128,"longitude_deg":75.5166336,"latitude_deg":11.7456128,"altitude":10,"angle":162,"satellites":49,"speed":59,"hex_longitude":"2d02ec80","hex_latitude":"07003d00","is_valid_coordinates":true} 
[2026-08-08 04:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252468992001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374524597069938688,"note":"Value kept but may cause issues"} 
[2026-08-08 04:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":207306350418665472,"note":"Value kept but may cause issues"} 
[2026-08-08 04:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786142464000,"timestamp_ms":1786142464000,"timestamp_seconds":1786142464,"priority":1,"record_length":96,"hex_timestamp":"0000019fde631800"} 
[2026-08-08 04:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:12: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-08-08 04:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252468992001,"66":26930,"44":206,"28":32256,"24":59,"16":374524597069938688,"45":207306350418665472},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-08 04:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252468992001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-08 04:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374524597069938688,"km_value":374524597069938.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":207306350418665472,"description":"Unknown IO ID 45"} 
[2026-08-08 04:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252468992001,"power":26930,"unknown_44":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":207306350418665472}} 
[2026-08-08 04:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":151278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:12:14] local.INFO: GPS data processed {"connection_id":151278,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:12:14] local.INFO: Acknowledgment sent {"connection_id":151278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:12:45] local.INFO: TCP Data received {"connection_id":151278,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde632f70012d02f74007001b70000b00a230..."} 
[2026-08-08 04:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde632f70012d02f74007001b70000b00a230..."} 
[2026-08-08 04:12:45] local.INFO: Processing buffer {"connection_id":151278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde632f70012d02f74007001b70000b00a230..."} 
[2026-08-08 04:12:45] local.INFO: Packet analysis {"connection_id":151278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde63"} 
[2026-08-08 04:12:45] local.INFO: Extracted packet for processing {"connection_id":151278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde63"} 
[2026-08-08 04:12:45] local.INFO: GPS Element Parsed {"raw_longitude":755169088,"raw_latitude":117447536,"longitude_deg":75.5169088,"latitude_deg":11.7447536,"altitude":11,"angle":162,"satellites":48,"speed":60,"hex_longitude":"2d02f740","hex_latitude":"07001b70","is_valid_coordinates":true} 
[2026-08-08 04:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252470784001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374525035156602880,"note":"Value kept but may cause issues"} 
[2026-08-08 04:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":210684050136694784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142470000,"timestamp_ms":1786142470000,"timestamp_seconds":1786142470,"priority":1,"record_length":96,"hex_timestamp":"0000019fde632f70"} 
[2026-08-08 04:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04: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-08-08 04: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":50,"data_length":795,"current_offset":136} 
[2026-08-08 04:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252470784001,"66":27365,"44":206,"28":32256,"24":60,"16":374525035156602880,"45":210684050136694784},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-08 04:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252470784001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:12:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-08 04:12:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374525035156602880,"km_value":374525035156602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":210684050136694784,"description":"Unknown IO ID 45"} 
[2026-08-08 04:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252470784001,"power":27365,"unknown_44":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_45":210684050136694784}} 
[2026-08-08 04:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":151278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:12:45] local.INFO: GPS data processed {"connection_id":151278,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:12:45] local.INFO: Acknowledgment sent {"connection_id":151278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:13:05] local.INFO: TCP Data received {"connection_id":150043,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:05] local.INFO: Processing buffer {"connection_id":150043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:05] local.INFO: IMEI packet received {"connection_id":150043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":150043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:13:07] local.INFO: TCP Data received {"connection_id":150043,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:07] local.INFO: Processing buffer {"connection_id":150043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:07] local.INFO: IMEI packet received {"connection_id":150043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":150043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:13:12] local.INFO: TCP Data received {"connection_id":150043,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:12] local.INFO: Processing buffer {"connection_id":150043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:13:12] local.INFO: IMEI packet received {"connection_id":150043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":150043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:13:13] local.INFO: TCP Data received {"connection_id":150043,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6346e0012d03024006fffa10000d00a22e..."} 
[2026-08-08 04:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6346e0012d03024006fffa10000d00a22e..."} 
[2026-08-08 04:13:13] local.INFO: Processing buffer {"connection_id":150043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6346e0012d03024006fffa10000d00a22e..."} 
[2026-08-08 04:13:13] local.INFO: Packet analysis {"connection_id":150043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde63"} 
[2026-08-08 04:13:13] local.INFO: Extracted packet for processing {"connection_id":150043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde63"} 
[2026-08-08 04:13:13] local.INFO: GPS Element Parsed {"raw_longitude":755171904,"raw_latitude":117438992,"longitude_deg":75.5171904,"latitude_deg":11.7438992,"altitude":13,"angle":162,"satellites":46,"speed":59,"hex_longitude":"2d030240","hex_latitude":"06fffa10","is_valid_coordinates":true} 
[2026-08-08 04:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252472320001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374525468948299776,"note":"Value kept but may cause issues"} 
[2026-08-08 04:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":213709906134134784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786142476000,"timestamp_ms":1786142476000,"timestamp_seconds":1786142476,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6346e0"} 
[2026-08-08 04:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252472320001,"66":27343,"44":206,"28":32256,"24":59,"16":374525468948299776,"45":213709906134134784},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-08 04:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252472320001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-08 04:13:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374525468948299776,"km_value":374525468948299.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":213709906134134784,"description":"Unknown IO ID 45"} 
[2026-08-08 04:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252472320001,"power":27343,"unknown_44":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":213709906134134784}} 
[2026-08-08 04:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":150043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:13:13] local.INFO: GPS data processed {"connection_id":150043,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:13:13] local.INFO: Acknowledgment sent {"connection_id":150043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:13:45] local.INFO: TCP Data received {"connection_id":150043,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde64c1c8012d04b0c006fedb68000b00632f..."} 
[2026-08-08 04:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde64c1c8012d04b0c006fedb68000b00632f..."} 
[2026-08-08 04:13:45] local.INFO: Processing buffer {"connection_id":150043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde64c1c8012d04b0c006fedb68000b00632f..."} 
[2026-08-08 04:13:45] local.INFO: Packet analysis {"connection_id":150043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde64"} 
[2026-08-08 04:13:45] local.INFO: Extracted packet for processing {"connection_id":150043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde64"} 
[2026-08-08 04:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755282112,"raw_latitude":117365608,"longitude_deg":75.5282112,"latitude_deg":11.7365608,"altitude":11,"angle":99,"satellites":47,"speed":59,"hex_longitude":"2d04b0c0","hex_latitude":"06fedb68","is_valid_coordinates":true} 
[2026-08-08 04:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252497152001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374532396730548224,"note":"Value kept but may cause issues"} 
[2026-08-08 04:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":327918377913890816,"note":"Value kept but may cause issues"} 
[2026-08-08 04:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142573000,"timestamp_ms":1786142573000,"timestamp_seconds":1786142573,"priority":1,"record_length":96,"hex_timestamp":"0000019fde64c1c8"} 
[2026-08-08 04:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 04:13: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-08-08 04:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252497152001,"66":27332,"42":206,"28":32256,"24":59,"16":374532396730548224,"45":327918377913890816},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,45]} 
[2026-08-08 04:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252497152001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:13:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:13:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374532396730548224,"km_value":374532396730548.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":327918377913890816,"description":"Unknown IO ID 45"} 
[2026-08-08 04:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252497152001,"power":27332,"unknown_42":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":327918377913890816}} 
[2026-08-08 04:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":150043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:13:45] local.INFO: GPS data processed {"connection_id":150043,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:13:45] local.INFO: Acknowledgment sent {"connection_id":150043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:14:07] local.INFO: TCP Data received {"connection_id":150044,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:07] local.INFO: Processing buffer {"connection_id":150044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:07] local.INFO: IMEI packet received {"connection_id":150044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":150044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:14:12] local.INFO: TCP Data received {"connection_id":150044,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:12] local.INFO: Processing buffer {"connection_id":150044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:12] local.INFO: IMEI packet received {"connection_id":150044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":150044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:14:42] local.INFO: TCP Data received {"connection_id":150044,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:42] local.INFO: Processing buffer {"connection_id":150044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:14:42] local.INFO: IMEI packet received {"connection_id":150044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":150044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:14:46] local.INFO: TCP Data received {"connection_id":150044,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde64d938012d04d40006fed618000a00622f..."} 
[2026-08-08 04:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde64d938012d04d40006fed618000a00622f..."} 
[2026-08-08 04:14:46] local.INFO: Processing buffer {"connection_id":150044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde64d938012d04d40006fed618000a00622f..."} 
[2026-08-08 04:14:46] local.INFO: Packet analysis {"connection_id":150044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde64"} 
[2026-08-08 04:14:46] local.INFO: Extracted packet for processing {"connection_id":150044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde64"} 
[2026-08-08 04:14:46] local.INFO: GPS Element Parsed {"raw_longitude":755291136,"raw_latitude":117364248,"longitude_deg":75.5291136,"latitude_deg":11.7364248,"altitude":10,"angle":98,"satellites":47,"speed":58,"hex_longitude":"2d04d400","hex_latitude":"06fed618","is_valid_coordinates":true} 
[2026-08-08 04:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252498688001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374532826227277824,"note":"Value kept but may cause issues"} 
[2026-08-08 04:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":337981108330915840,"note":"Value kept but may cause issues"} 
[2026-08-08 04:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786142579000,"timestamp_ms":1786142579000,"timestamp_seconds":1786142579,"priority":1,"record_length":96,"hex_timestamp":"0000019fde64d938"} 
[2026-08-08 04:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:14: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-08-08 04:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252498688001,"66":27321,"42":206,"28":32256,"24":58,"16":374532826227277824,"45":337981108330915840},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,45]} 
[2026-08-08 04:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252498688001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:14:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:14:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374532826227277824,"km_value":374532826227277.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":337981108330915840,"description":"Unknown IO ID 45"} 
[2026-08-08 04:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252498688001,"power":27321,"unknown_42":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":337981108330915840}} 
[2026-08-08 04:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":150044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:14:46] local.INFO: GPS data processed {"connection_id":150044,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:14:46] local.INFO: Acknowledgment sent {"connection_id":150044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:14:48] local.INFO: TCP Data received {"connection_id":150044,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde64f490012d04fc0006fecfa0000c00622e..."} 
[2026-08-08 04:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde64f490012d04fc0006fecfa0000c00622e..."} 
[2026-08-08 04:14:48] local.INFO: Processing buffer {"connection_id":150044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde64f490012d04fc0006fecfa0000c00622e..."} 
[2026-08-08 04:14:48] local.INFO: Packet analysis {"connection_id":150044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde64"} 
[2026-08-08 04:14:48] local.INFO: Extracted packet for processing {"connection_id":150044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde64"} 
[2026-08-08 04:14:48] local.INFO: GPS Element Parsed {"raw_longitude":755301376,"raw_latitude":117362592,"longitude_deg":75.5301376,"latitude_deg":11.7362592,"altitude":12,"angle":98,"satellites":46,"speed":57,"hex_longitude":"2d04fc00","hex_latitude":"06fecfa0","is_valid_coordinates":true} 
[2026-08-08 04:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252500224001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374533320148516864,"note":"Value kept but may cause issues"} 
[2026-08-08 04:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":347903101259618304,"note":"Value kept but may cause issues"} 
[2026-08-08 04:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786142586000,"timestamp_ms":1786142586000,"timestamp_seconds":1786142586,"priority":1,"record_length":96,"hex_timestamp":"0000019fde64f490"} 
[2026-08-08 04:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:14: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-08-08 04:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252500224001,"66":27397,"226":206,"28":32256,"24":57,"16":374533320148516864,"45":347903101259618304},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-08-08 04:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252500224001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374533320148516864,"km_value":374533320148516.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":347903101259618304,"description":"Unknown IO ID 45"} 
[2026-08-08 04:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252500224001,"power":27397,"unknown_226":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":347903101259618304}} 
[2026-08-08 04:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":150044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:14:48] local.INFO: GPS data processed {"connection_id":150044,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:14:48] local.INFO: Acknowledgment sent {"connection_id":150044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:15:07] local.INFO: TCP Data received {"connection_id":150302,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:15:07] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:15:07] local.INFO: IMEI packet received {"connection_id":150302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":150302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:15:12] local.INFO: TCP Data received {"connection_id":150302,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:15:12] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:15:12] local.INFO: IMEI packet received {"connection_id":150302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":150302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:15:14] local.INFO: TCP Data received {"connection_id":150302,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde650fe8012d05228006fec9a0001000632f..."} 
[2026-08-08 04:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde650fe8012d05228006fec9a0001000632f..."} 
[2026-08-08 04:15:14] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde650fe8012d05228006fec9a0001000632f..."} 
[2026-08-08 04:15:14] local.INFO: Packet analysis {"connection_id":150302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde65"} 
[2026-08-08 04:15:14] local.INFO: Extracted packet for processing {"connection_id":150302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde65"} 
[2026-08-08 04:15:14] local.INFO: GPS Element Parsed {"raw_longitude":755311232,"raw_latitude":117361056,"longitude_deg":75.5311232,"latitude_deg":11.7361056,"altitude":16,"angle":99,"satellites":47,"speed":54,"hex_longitude":"2d052280","hex_latitude":"06fec9a0","is_valid_coordinates":true} 
[2026-08-08 04:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252502016001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374533792594919424,"note":"Value kept but may cause issues"} 
[2026-08-08 04:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":359162100327620608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786142593000,"timestamp_ms":1786142593000,"timestamp_seconds":1786142593,"priority":1,"record_length":96,"hex_timestamp":"0000019fde650fe8"} 
[2026-08-08 04:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:15: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-08-08 04:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252502016001,"66":27376,"226":206,"28":32256,"24":54,"16":374533792594919424,"45":359162100327620608},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-08-08 04:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252502016001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:15:14] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-08-08 04:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374533792594919424,"km_value":374533792594919.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":359162100327620608,"description":"Unknown IO ID 45"} 
[2026-08-08 04:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252502016001,"power":27376,"unknown_226":206,"unknown_28":32256,"ignition":54,"odometer":null,"unknown_45":359162100327620608}} 
[2026-08-08 04:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":150302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:15:14] local.INFO: GPS data processed {"connection_id":150302,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:15:14] local.INFO: Acknowledgment sent {"connection_id":150302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:15:45] local.INFO: TCP Data received {"connection_id":150302,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde664c50012d0664c006fdb8300016008d2f..."} 
[2026-08-08 04:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde664c50012d0664c006fdb8300016008d2f..."} 
[2026-08-08 04:15:45] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde664c50012d0664c006fdb8300016008d2f..."} 
[2026-08-08 04:15:45] local.INFO: Packet analysis {"connection_id":150302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:15:45] local.INFO: Extracted packet for processing {"connection_id":150302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:15:45] local.INFO: GPS Element Parsed {"raw_longitude":755393728,"raw_latitude":117291056,"longitude_deg":75.5393728,"latitude_deg":11.7291056,"altitude":22,"angle":141,"satellites":47,"speed":34,"hex_longitude":"2d0664c0","hex_latitude":"06fdb830","is_valid_coordinates":true} 
[2026-08-08 04:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252521984001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374539157009072128,"note":"Value kept but may cause issues"} 
[2026-08-08 04:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453245111276593152,"note":"Value kept but may cause issues"} 
[2026-08-08 04:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142674000,"timestamp_ms":1786142674000,"timestamp_seconds":1786142674,"priority":1,"record_length":96,"hex_timestamp":"0000019fde664c50"} 
[2026-08-08 04:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:15: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-08-08 04:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252521984001,"66":27365,"153":206,"28":32256,"24":34,"16":374539157009072128,"45":453245111276593152},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 04:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252521984001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:15:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 04:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374539157009072128,"km_value":374539157009072.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":453245111276593152,"description":"Unknown IO ID 45"} 
[2026-08-08 04:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252521984001,"power":27365,"unknown_153":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":453245111276593152}} 
[2026-08-08 04:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":150302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:15:45] local.INFO: GPS data processed {"connection_id":150302,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:15:45] local.INFO: Acknowledgment sent {"connection_id":150302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:16:07] local.INFO: TCP Data received {"connection_id":150045,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:16:07] local.INFO: Processing buffer {"connection_id":150045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:16:07] local.INFO: IMEI packet received {"connection_id":150045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":150045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:16:12] local.INFO: TCP Data received {"connection_id":150045,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:16:12] local.INFO: Processing buffer {"connection_id":150045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:16:12] local.INFO: IMEI packet received {"connection_id":150045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":150045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:16:13] local.INFO: TCP Data received {"connection_id":150045,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde669a70012d067bc006fd9bc00011008e2a..."} 
[2026-08-08 04:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde669a70012d067bc006fd9bc00011008e2a..."} 
[2026-08-08 04:16:13] local.INFO: Processing buffer {"connection_id":150045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde669a70012d067bc006fd9bc00011008e2a..."} 
[2026-08-08 04:16:13] local.INFO: Packet analysis {"connection_id":150045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:16:13] local.INFO: Extracted packet for processing {"connection_id":150045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:16:13] local.INFO: GPS Element Parsed {"raw_longitude":755399616,"raw_latitude":117283776,"longitude_deg":75.5399616,"latitude_deg":11.7283776,"altitude":17,"angle":142,"satellites":42,"speed":25,"hex_longitude":"2d067bc0","hex_latitude":"06fd9bc0","is_valid_coordinates":true} 
[2026-08-08 04:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252524544001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374539607980638208,"note":"Value kept but may cause issues"} 
[2026-08-08 04:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":460704198157676544,"note":"Value kept but may cause issues"} 
[2026-08-08 04:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786142694000,"timestamp_ms":1786142694000,"timestamp_seconds":1786142694,"priority":1,"record_length":96,"hex_timestamp":"0000019fde669a70"} 
[2026-08-08 04:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252524544001,"66":27234,"153":206,"28":32256,"24":25,"16":374539607980638208,"45":460704198157676544},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 04:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252524544001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:16:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 04:16:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374539607980638208,"km_value":374539607980638.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":460704198157676544,"description":"Unknown IO ID 45"} 
[2026-08-08 04:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252524544001,"power":27234,"unknown_153":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":460704198157676544}} 
[2026-08-08 04:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":150045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:16:13] local.INFO: GPS data processed {"connection_id":150045,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:16:13] local.INFO: Acknowledgment sent {"connection_id":150045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:16:45] local.INFO: TCP Data received {"connection_id":150045,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde66c180012d06930006fd7f38000e008d28..."} 
[2026-08-08 04:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde66c180012d06930006fd7f38000e008d28..."} 
[2026-08-08 04:16:45] local.INFO: Processing buffer {"connection_id":150045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde66c180012d06930006fd7f38000e008d28..."} 
[2026-08-08 04:16:45] local.INFO: Packet analysis {"connection_id":150045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:16:45] local.INFO: Extracted packet for processing {"connection_id":150045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:16:45] local.INFO: GPS Element Parsed {"raw_longitude":755405568,"raw_latitude":117276472,"longitude_deg":75.5405568,"latitude_deg":11.7276472,"altitude":14,"angle":141,"satellites":40,"speed":44,"hex_longitude":"2d069300","hex_latitude":"06fd7f38","is_valid_coordinates":true} 
[2026-08-08 04:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252529664001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374540063247171584,"note":"Value kept but may cause issues"} 
[2026-08-08 04:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":467178122620157952,"note":"Value kept but may cause issues"} 
[2026-08-08 04:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142704000,"timestamp_ms":1786142704000,"timestamp_seconds":1786142704,"priority":1,"record_length":96,"hex_timestamp":"0000019fde66c180"} 
[2026-08-08 04:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 04:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252529664001,"66":27115,"153":206,"28":32256,"24":44,"16":374540063247171584,"45":467178122620157952},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 04:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252529664001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:16:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 04:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374540063247171584,"km_value":374540063247171.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":467178122620157952,"description":"Unknown IO ID 45"} 
[2026-08-08 04:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252529664001,"power":27115,"unknown_153":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":467178122620157952}} 
[2026-08-08 04:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":150045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:16:45] local.INFO: GPS data processed {"connection_id":150045,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:16:45] local.INFO: Acknowledgment sent {"connection_id":150045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:17:09] local.INFO: TCP Data received {"connection_id":152754,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:09] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:09] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:17:12] local.INFO: TCP Data received {"connection_id":152754,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:12] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:12] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:17:17] local.INFO: TCP Data received {"connection_id":152754,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:17] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:17:17] local.INFO: IMEI packet received {"connection_id":152754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":152754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:17:18] local.INFO: TCP Data received {"connection_id":152754,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde66e4a8012d06ab8006fd61a80014008c29..."} 
[2026-08-08 04:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde66e4a8012d06ab8006fd61a80014008c29..."} 
[2026-08-08 04:17:18] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde66e4a8012d06ab8006fd61a80014008c29..."} 
[2026-08-08 04:17:18] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:17:18] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde66"} 
[2026-08-08 04:17:18] local.INFO: GPS Element Parsed {"raw_longitude":755411840,"raw_latitude":117268904,"longitude_deg":75.541184,"latitude_deg":11.7268904,"altitude":20,"angle":140,"satellites":41,"speed":39,"hex_longitude":"2d06ab80","hex_latitude":"06fd61a8","is_valid_coordinates":true} 
[2026-08-08 04:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252532224001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374540535693574144,"note":"Value kept but may cause issues"} 
[2026-08-08 04:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":473722415826810880,"note":"Value kept but may cause issues"} 
[2026-08-08 04:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786142713000,"timestamp_ms":1786142713000,"timestamp_seconds":1786142713,"priority":1,"record_length":96,"hex_timestamp":"0000019fde66e4a8"} 
[2026-08-08 04:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-08 04:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252532224001,"66":27310,"153":206,"28":32256,"24":39,"16":374540535693574144,"45":473722415826810880},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 04:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252532224001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:17:18] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 04:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374540535693574144,"km_value":374540535693574.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":473722415826810880,"description":"Unknown IO ID 45"} 
[2026-08-08 04:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252532224001,"power":27310,"unknown_153":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":473722415826810880}} 
[2026-08-08 04:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:17:18] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:17:18] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:17:49] local.INFO: TCP Data received {"connection_id":152754,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6703e8012d06c1c006fd45f80011008d2d..."} 
[2026-08-08 04:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6703e8012d06c1c006fd45f80011008d2d..."} 
[2026-08-08 04:17:49] local.INFO: Processing buffer {"connection_id":152754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6703e8012d06c1c006fd45f80011008d2d..."} 
[2026-08-08 04:17:49] local.INFO: Packet analysis {"connection_id":152754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde67"} 
[2026-08-08 04:17:49] local.INFO: Extracted packet for processing {"connection_id":152754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde67"} 
[2026-08-08 04:17:49] local.INFO: GPS Element Parsed {"raw_longitude":755417536,"raw_latitude":117261816,"longitude_deg":75.5417536,"latitude_deg":11.7261816,"altitude":17,"angle":141,"satellites":45,"speed":50,"hex_longitude":"2d06c1c0","hex_latitude":"06fd45f8","is_valid_coordinates":true} 
[2026-08-08 04:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374540973780238336,"note":"Value kept but may cause issues"} 
[2026-08-08 04:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":480618552754284544,"note":"Value kept but may cause issues"} 
[2026-08-08 04:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786142721000,"timestamp_ms":1786142721000,"timestamp_seconds":1786142721,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6703e8"} 
[2026-08-08 04:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 04:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252534528001,"66":27050,"153":206,"28":32256,"24":50,"16":374540973780238336,"45":480618552754284544},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 04:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:17:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 04:17:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374540973780238336,"km_value":374540973780238.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":480618552754284544,"description":"Unknown IO ID 45"} 
[2026-08-08 04:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252534528001,"power":27050,"unknown_153":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":480618552754284544}} 
[2026-08-08 04:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":152754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:17:50] local.INFO: GPS data processed {"connection_id":152754,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:17:50] local.INFO: Acknowledgment sent {"connection_id":152754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:18:07] local.INFO: TCP Data received {"connection_id":150303,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:18:07] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:18:07] local.INFO: IMEI packet received {"connection_id":150303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":150303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:18:12] local.INFO: TCP Data received {"connection_id":150303,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:18:12] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:18:12] local.INFO: IMEI packet received {"connection_id":150303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":150303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:18:13] local.INFO: TCP Data received {"connection_id":150303,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde671f40012d06d8c006fd2998000e008d30..."} 
[2026-08-08 04:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde671f40012d06d8c006fd2998000e008d30..."} 
[2026-08-08 04:18:13] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde671f40012d06d8c006fd2998000e008d30..."} 
[2026-08-08 04:18:13] local.INFO: Packet analysis {"connection_id":150303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde67"} 
[2026-08-08 04:18:13] local.INFO: Extracted packet for processing {"connection_id":150303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde67"} 
[2026-08-08 04:18:13] local.INFO: GPS Element Parsed {"raw_longitude":755423424,"raw_latitude":117254552,"longitude_deg":75.5423424,"latitude_deg":11.7254552,"altitude":14,"angle":141,"satellites":48,"speed":53,"hex_longitude":"2d06d8c0","hex_latitude":"06fd2998","is_valid_coordinates":true} 
[2026-08-08 04:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252536576001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374541420456837120,"note":"Value kept but may cause issues"} 
[2026-08-08 04:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":486881370984282112,"note":"Value kept but may cause issues"} 
[2026-08-08 04:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786142728000,"timestamp_ms":1786142728000,"timestamp_seconds":1786142728,"priority":1,"record_length":96,"hex_timestamp":"0000019fde671f40"} 
[2026-08-08 04:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 04:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252536576001,"66":27376,"207":206,"28":32256,"24":53,"16":374541420456837120,"45":486881370984282112},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 04:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252536576001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:18:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 04:18:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374541420456837120,"km_value":374541420456837.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":486881370984282112,"description":"Unknown IO ID 45"} 
[2026-08-08 04:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252536576001,"power":27376,"unknown_207":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_45":486881370984282112}} 
[2026-08-08 04:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":150303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:18:13] local.INFO: GPS data processed {"connection_id":150303,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:18:13] local.INFO: Acknowledgment sent {"connection_id":150303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:18:45] local.INFO: TCP Data received {"connection_id":150303,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6949f0012d080a8006fbbff0000900922d..."} 
[2026-08-08 04:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6949f0012d080a8006fbbff0000900922d..."} 
[2026-08-08 04:18:45] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6949f0012d080a8006fbbff0000900922d..."} 
[2026-08-08 04:18:45] local.INFO: Packet analysis {"connection_id":150303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde69"} 
[2026-08-08 04:18:45] local.INFO: Extracted packet for processing {"connection_id":150303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde69"} 
[2026-08-08 04:18:45] local.INFO: GPS Element Parsed {"raw_longitude":755501696,"raw_latitude":117161968,"longitude_deg":75.5501696,"latitude_deg":11.7161968,"altitude":9,"angle":146,"satellites":45,"speed":47,"hex_longitude":"2d080a80","hex_latitude":"06fbbff0","is_valid_coordinates":true} 
[2026-08-08 04:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252572672001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374547253022425088,"note":"Value kept but may cause issues"} 
[2026-08-08 04:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572801607601670144,"note":"Value kept but may cause issues"} 
[2026-08-08 04:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786142870000,"timestamp_ms":1786142870000,"timestamp_seconds":1786142870,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6949f0"} 
[2026-08-08 04:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04: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-08-08 04: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:18: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-08-08 04:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252572672001,"66":27397,"56":206,"28":32256,"24":47,"16":374547253022425088,"45":572801607601670144},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 04:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252572672001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:18:45] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 04:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374547253022425088,"km_value":374547253022425.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":572801607601670144,"description":"Unknown IO ID 45"} 
[2026-08-08 04:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252572672001,"power":27397,"unknown_56":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_45":572801607601670144}} 
[2026-08-08 04:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":150303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:18:45] local.INFO: GPS data processed {"connection_id":150303,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:18:45] local.INFO: Acknowledgment sent {"connection_id":150303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:19:13] local.INFO: TCP Data received {"connection_id":150046,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:19:13] local.INFO: Processing buffer {"connection_id":150046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:19:13] local.INFO: IMEI packet received {"connection_id":150046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":150046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:19:17] local.INFO: TCP Data received {"connection_id":150046,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:19:17] local.INFO: Processing buffer {"connection_id":150046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:19:17] local.INFO: IMEI packet received {"connection_id":150046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":150046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:19:18] local.INFO: TCP Data received {"connection_id":150046,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde696930012d081d4006fba010000a00992f..."} 
[2026-08-08 04:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde696930012d081d4006fba010000a00992f..."} 
[2026-08-08 04:19:18] local.INFO: Processing buffer {"connection_id":150046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde696930012d081d4006fba010000a00992f..."} 
[2026-08-08 04:19:18] local.INFO: Packet analysis {"connection_id":150046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde69"} 
[2026-08-08 04:19:18] local.INFO: Extracted packet for processing {"connection_id":150046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde69"} 
[2026-08-08 04:19:18] local.INFO: GPS Element Parsed {"raw_longitude":755506496,"raw_latitude":117153808,"longitude_deg":75.5506496,"latitude_deg":11.7153808,"altitude":10,"angle":153,"satellites":47,"speed":45,"hex_longitude":"2d081d40","hex_latitude":"06fba010","is_valid_coordinates":true} 
[2026-08-08 04:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252574720001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374547708288958464,"note":"Value kept but may cause issues"} 
[2026-08-08 04:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":579416269552349184,"note":"Value kept but may cause issues"} 
[2026-08-08 04:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786142878000,"timestamp_ms":1786142878000,"timestamp_seconds":1786142878,"priority":1,"record_length":96,"hex_timestamp":"0000019fde696930"} 
[2026-08-08 04:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:19: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-08-08 04:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252574720001,"66":27365,"56":206,"28":32256,"24":45,"16":374547708288958464,"45":579416269552349184},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 04:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252574720001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:19:18] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 04:19:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374547708288958464,"km_value":374547708288958.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":579416269552349184,"description":"Unknown IO ID 45"} 
[2026-08-08 04:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252574720001,"power":27365,"unknown_56":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":579416269552349184}} 
[2026-08-08 04:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":150046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:19:18] local.INFO: GPS data processed {"connection_id":150046,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:19:18] local.INFO: Acknowledgment sent {"connection_id":150046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:19:50] local.INFO: TCP Data received {"connection_id":150046,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde697cb8012d0825c006fb8c48000b00a732..."} 
[2026-08-08 04:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde697cb8012d0825c006fb8c48000b00a732..."} 
[2026-08-08 04:19:50] local.INFO: Processing buffer {"connection_id":150046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde697cb8012d0825c006fb8c48000b00a732..."} 
[2026-08-08 04:19:50] local.INFO: Packet analysis {"connection_id":150046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde69"} 
[2026-08-08 04:19:50] local.INFO: Extracted packet for processing {"connection_id":150046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde69"} 
[2026-08-08 04:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755508672,"raw_latitude":117148744,"longitude_deg":75.5508672,"latitude_deg":11.7148744,"altitude":11,"angle":167,"satellites":50,"speed":44,"hex_longitude":"2d0825c0","hex_latitude":"06fb8c48","is_valid_coordinates":true} 
[2026-08-08 04:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252576768001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374547974576930816,"note":"Value kept but may cause issues"} 
[2026-08-08 04:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584693925363585024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786142883000,"timestamp_ms":1786142883000,"timestamp_seconds":1786142883,"priority":1,"record_length":96,"hex_timestamp":"0000019fde697cb8"} 
[2026-08-08 04:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:19: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-08-08 04:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:19: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-08-08 04:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252576768001,"66":27365,"56":206,"28":32256,"24":44,"16":374547974576930816,"45":584693925363585024},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 04:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252576768001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:19:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 04:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374547974576930816,"km_value":374547974576930.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":584693925363585024,"description":"Unknown IO ID 45"} 
[2026-08-08 04:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252576768001,"power":27365,"unknown_56":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":584693925363585024}} 
[2026-08-08 04:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":150046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:19:50] local.INFO: GPS data processed {"connection_id":150046,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:19:50] local.INFO: Acknowledgment sent {"connection_id":150046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:20:07] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:07] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:07] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:20:10] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:10] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:10] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:20:12] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:12] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:20:12] local.INFO: IMEI packet received {"connection_id":151279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":151279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:20:13] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6a9210012d08330006fa0548000d00c333..."} 
[2026-08-08 04:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6a9210012d08330006fa0548000d00c333..."} 
[2026-08-08 04:20:13] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6a9210012d08330006fa0548000d00c333..."} 
[2026-08-08 04:20:13] local.INFO: Packet analysis {"connection_id":151279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:20:13] local.INFO: Extracted packet for processing {"connection_id":151279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:20:13] local.INFO: GPS Element Parsed {"raw_longitude":755512064,"raw_latitude":117048648,"longitude_deg":75.5512064,"latitude_deg":11.7048648,"altitude":13,"angle":195,"satellites":51,"speed":59,"hex_longitude":"2d083300","hex_latitude":"06fa0548","is_valid_coordinates":true} 
[2026-08-08 04:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252594688001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374552913789321216,"note":"Value kept but may cause issues"} 
[2026-08-08 04:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593630755849424896,"note":"Value kept but may cause issues"} 
[2026-08-08 04:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786142954000,"timestamp_ms":1786142954000,"timestamp_seconds":1786142954,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6a9210"} 
[2026-08-08 04:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252594688001,"66":27289,"55":206,"28":32256,"24":59,"16":374552913789321216,"45":593630755849424896},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,45]} 
[2026-08-08 04:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252594688001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:20:13] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:20:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374552913789321216,"km_value":374552913789321.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":593630755849424896,"description":"Unknown IO ID 45"} 
[2026-08-08 04:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252594688001,"power":27289,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":593630755849424896}} 
[2026-08-08 04:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":151279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:20:13] local.INFO: GPS data processed {"connection_id":151279,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:20:13] local.INFO: Acknowledgment sent {"connection_id":151279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:20:44] local.INFO: TCP Data received {"connection_id":151279,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6aa980012d08290006f9e3f0000e00c333..."} 
[2026-08-08 04:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6aa980012d08290006f9e3f0000e00c333..."} 
[2026-08-08 04:20:44] local.INFO: Processing buffer {"connection_id":151279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6aa980012d08290006f9e3f0000e00c333..."} 
[2026-08-08 04:20:44] local.INFO: Packet analysis {"connection_id":151279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:20:44] local.INFO: Extracted packet for processing {"connection_id":151279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:20:44] local.INFO: GPS Element Parsed {"raw_longitude":755509504,"raw_latitude":117040112,"longitude_deg":75.5509504,"latitude_deg":11.7040112,"altitude":14,"angle":195,"satellites":51,"speed":59,"hex_longitude":"2d082900","hex_latitude":"06f9e3f0","is_valid_coordinates":true} 
[2026-08-08 04:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252596224001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374553343286050816,"note":"Value kept but may cause issues"} 
[2026-08-08 04:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590816006080120832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786142960000,"timestamp_ms":1786142960000,"timestamp_seconds":1786142960,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6aa980"} 
[2026-08-08 04:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-08 04:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252596224001,"66":27463,"55":206,"28":32256,"24":59,"16":374553343286050816,"45":590816006080120832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,45]} 
[2026-08-08 04:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252596224001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:20:44] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374553343286050816,"km_value":374553343286050.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":590816006080120832,"description":"Unknown IO ID 45"} 
[2026-08-08 04:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252596224001,"power":27463,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":590816006080120832}} 
[2026-08-08 04:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":151279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:20:44] local.INFO: GPS data processed {"connection_id":151279,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:20:44] local.INFO: Acknowledgment sent {"connection_id":151279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:21:20] local.INFO: TCP Data received {"connection_id":150304,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:21:20] local.INFO: Processing buffer {"connection_id":150304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:21:20] local.INFO: IMEI packet received {"connection_id":150304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":150304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:21:21] local.INFO: TCP Data received {"connection_id":150304,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:21:21] local.INFO: Processing buffer {"connection_id":150304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:21:21] local.INFO: IMEI packet received {"connection_id":150304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":150304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:21:23] local.INFO: TCP Data received {"connection_id":150304,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6ac0f0012d081f0006f9c280000d00c432..."} 
[2026-08-08 04:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6ac0f0012d081f0006f9c280000d00c432..."} 
[2026-08-08 04:21:23] local.INFO: Processing buffer {"connection_id":150304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6ac0f0012d081f0006f9c280000d00c432..."} 
[2026-08-08 04:21:23] local.INFO: Packet analysis {"connection_id":150304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:21:23] local.INFO: Extracted packet for processing {"connection_id":150304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755506944,"raw_latitude":117031552,"longitude_deg":75.5506944,"latitude_deg":11.7031552,"altitude":13,"angle":196,"satellites":50,"speed":59,"hex_longitude":"2d081f00","hex_latitude":"06f9c280","is_valid_coordinates":true} 
[2026-08-08 04:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252597760001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374553777077747712,"note":"Value kept but may cause issues"} 
[2026-08-08 04:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588001256310829056,"note":"Value kept but may cause issues"} 
[2026-08-08 04:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786142966000,"timestamp_ms":1786142966000,"timestamp_seconds":1786142966,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6ac0f0"} 
[2026-08-08 04:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:21: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-08-08 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252597760001,"66":27397,"55":206,"28":32256,"24":59,"16":374553777077747712,"45":588001256310829056},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,45]} 
[2026-08-08 04:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252597760001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:21:23] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:21:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374553777077747712,"km_value":374553777077747.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":588001256310829056,"description":"Unknown IO ID 45"} 
[2026-08-08 04:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252597760001,"power":27397,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":588001256310829056}} 
[2026-08-08 04:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":150304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:21:23] local.INFO: GPS data processed {"connection_id":150304,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:21:23] local.INFO: Acknowledgment sent {"connection_id":150304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:21:24] local.INFO: TCP Data received {"connection_id":150304,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6ad860012d08148006f9a138000b00c533..."} 
[2026-08-08 04:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6ad860012d08148006f9a138000b00c533..."} 
[2026-08-08 04:21:24] local.INFO: Processing buffer {"connection_id":150304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6ad860012d08148006f9a138000b00c533..."} 
[2026-08-08 04:21:24] local.INFO: Packet analysis {"connection_id":150304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:21:24] local.INFO: Extracted packet for processing {"connection_id":150304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6a"} 
[2026-08-08 04:21:24] local.INFO: GPS Element Parsed {"raw_longitude":755504256,"raw_latitude":117023032,"longitude_deg":75.5504256,"latitude_deg":11.7023032,"altitude":11,"angle":197,"satellites":51,"speed":59,"hex_longitude":"2d081480","hex_latitude":"06f9a138","is_valid_coordinates":true} 
[2026-08-08 04:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252599296001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374554210869444608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":585186506541531136,"note":"Value kept but may cause issues"} 
[2026-08-08 04:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786142972000,"timestamp_ms":1786142972000,"timestamp_seconds":1786142972,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6ad860"} 
[2026-08-08 04:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252599296001,"66":27300,"55":206,"28":32256,"24":59,"16":374554210869444608,"45":585186506541531136},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,45]} 
[2026-08-08 04:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252599296001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:21:24] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 04:21:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374554210869444608,"km_value":374554210869444.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":585186506541531136,"description":"Unknown IO ID 45"} 
[2026-08-08 04:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252599296001,"power":27300,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":585186506541531136}} 
[2026-08-08 04:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":150304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:21:24] local.INFO: GPS data processed {"connection_id":150304,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:21:24] local.INFO: Acknowledgment sent {"connection_id":150304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:22:04] local.INFO: TCP Data received {"connection_id":152755,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:04] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:04] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:22:08] local.INFO: TCP Data received {"connection_id":152755,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:08] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:08] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:22:08] local.INFO: TCP Data received {"connection_id":152755,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:08] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:22:08] local.INFO: IMEI packet received {"connection_id":152755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:22:09] local.INFO: TCP Data received {"connection_id":152755,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6c3408012d0775c006f7b6c0001100c232..."} 
[2026-08-08 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6c3408012d0775c006f7b6c0001100c232..."} 
[2026-08-08 04:22:09] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6c3408012d0775c006f7b6c0001100c232..."} 
[2026-08-08 04:22:09] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:22:09] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":755463616,"raw_latitude":116897472,"longitude_deg":75.5463616,"latitude_deg":11.6897472,"altitude":17,"angle":194,"satellites":50,"speed":57,"hex_longitude":"2d0775c0","hex_latitude":"06f7b6c0","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252621824001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374560597485813760,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":540783828933591040,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786143061000,"timestamp_ms":1786143061000,"timestamp_seconds":1786143061,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6c3408"} 
[2026-08-08 04:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252621824001,"66":27343,"155":206,"28":32256,"24":57,"16":374560597485813760,"45":540783828933591040},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-08 04:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252621824001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:22:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 04:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374560597485813760,"km_value":374560597485813.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":540783828933591040,"description":"Unknown IO ID 45"} 
[2026-08-08 04:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252621824001,"power":27343,"unknown_155":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":540783828933591040}} 
[2026-08-08 04:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:22:09] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:22:09] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:22:12] local.INFO: TCP Data received {"connection_id":152755,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6c4f60012d076b8006f79018000f00c332..."} 
[2026-08-08 04:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6c4f60012d076b8006f79018000f00c332..."} 
[2026-08-08 04:22:12] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6c4f60012d076b8006f79018000f00c332..."} 
[2026-08-08 04:22:12] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:22:12] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:22:12] local.INFO: GPS Element Parsed {"raw_longitude":755460992,"raw_latitude":116887576,"longitude_deg":75.5460992,"latitude_deg":11.6887576,"altitude":15,"angle":195,"satellites":50,"speed":61,"hex_longitude":"2d076b80","hex_latitude":"06f79018","is_valid_coordinates":true} 
[2026-08-08 04:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252623616001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374561091407052800,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":537546866698928128,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786143068000,"timestamp_ms":1786143068000,"timestamp_seconds":1786143068,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6c4f60"} 
[2026-08-08 04:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252623616001,"66":27180,"155":206,"28":32256,"24":61,"16":374561091407052800,"45":537546866698928128},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-08 04:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252623616001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374561091407052800,"km_value":374561091407052.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":537546866698928128,"description":"Unknown IO ID 45"} 
[2026-08-08 04:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252623616001,"power":27180,"unknown_155":206,"unknown_28":32256,"ignition":61,"odometer":null,"unknown_45":537546866698928128}} 
[2026-08-08 04:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:22:12] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:22:12] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:22:44] local.INFO: TCP Data received {"connection_id":152755,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6c66d0012d0761c006f76dc8000f00c232..."} 
[2026-08-08 04:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6c66d0012d0761c006f76dc8000f00c232..."} 
[2026-08-08 04:22:44] local.INFO: Processing buffer {"connection_id":152755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6c66d0012d0761c006f76dc8000f00c232..."} 
[2026-08-08 04:22:44] local.INFO: Packet analysis {"connection_id":152755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:22:44] local.INFO: Extracted packet for processing {"connection_id":152755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:22:44] local.INFO: GPS Element Parsed {"raw_longitude":755458496,"raw_latitude":116878792,"longitude_deg":75.5458496,"latitude_deg":11.6878792,"altitude":15,"angle":194,"satellites":50,"speed":58,"hex_longitude":"2d0761c0","hex_latitude":"06f76dc8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 04:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252625408001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374561533788684288,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":534661748185110528,"note":"Value kept but may cause issues"} 
[2026-08-08 04:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786143074000,"timestamp_ms":1786143074000,"timestamp_seconds":1786143074,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6c66d0"} 
[2026-08-08 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-08-08 04:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 04:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 04:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252625408001,"66":27321,"155":206,"28":32256,"24":58,"16":374561533788684288,"45":534661748185110528},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-08 04:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252625408001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:22:44] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 04:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 04:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374561533788684288,"km_value":374561533788684.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":534661748185110528,"description":"Unknown IO ID 45"} 
[2026-08-08 04:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252625408001,"power":27321,"unknown_155":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":534661748185110528}} 
[2026-08-08 04:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":152755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:22:44] local.INFO: GPS data processed {"connection_id":152755,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:22:44] local.INFO: Acknowledgment sent {"connection_id":152755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:23:06] local.INFO: TCP Data received {"connection_id":150047,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:06] local.INFO: Processing buffer {"connection_id":150047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:06] local.INFO: IMEI packet received {"connection_id":150047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":150047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:23:07] local.INFO: TCP Data received {"connection_id":150047,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:07] local.INFO: Processing buffer {"connection_id":150047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:07] local.INFO: IMEI packet received {"connection_id":150047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":150047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:23:12] local.INFO: TCP Data received {"connection_id":150047,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:12] local.INFO: Processing buffer {"connection_id":150047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:23:12] local.INFO: IMEI packet received {"connection_id":150047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":150047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:23:14] local.INFO: TCP Data received {"connection_id":150047,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6c8228012d07574006f746c8001200c233..."} 
[2026-08-08 04:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6c8228012d07574006f746c8001200c233..."} 
[2026-08-08 04:23:14] local.INFO: Processing buffer {"connection_id":150047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6c8228012d07574006f746c8001200c233..."} 
[2026-08-08 04:23:14] local.INFO: Packet analysis {"connection_id":150047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:23:14] local.INFO: Extracted packet for processing {"connection_id":150047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:23:14] local.INFO: GPS Element Parsed {"raw_longitude":755455808,"raw_latitude":116868808,"longitude_deg":75.5455808,"latitude_deg":11.6868808,"altitude":18,"angle":194,"satellites":51,"speed":58,"hex_longitude":"2d075740","hex_latitude":"06f746c8","is_valid_coordinates":true} 
[2026-08-08 04:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252626944001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374562036299857920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531917367159932928,"note":"Value kept but may cause issues"} 
[2026-08-08 04:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143081000,"timestamp_ms":1786143081000,"timestamp_seconds":1786143081,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6c8228"} 
[2026-08-08 04:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252626944001,"66":27300,"69":206,"2":56576,"24":58,"16":374562036299857920,"45":531917367159932928},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 04:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252626944001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:23:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 04:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374562036299857920,"km_value":374562036299857.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":531917367159932928,"description":"Unknown IO ID 45"} 
[2026-08-08 04:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252626944001,"power":27300,"unknown_69":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":531917367159932928}} 
[2026-08-08 04:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":150047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:23:14] local.INFO: GPS data processed {"connection_id":150047,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:23:14] local.INFO: Acknowledgment sent {"connection_id":150047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:23:45] local.INFO: TCP Data received {"connection_id":150047,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6c95b0012d07534006f72a18001300b534..."} 
[2026-08-08 04:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6c95b0012d07534006f72a18001300b534..."} 
[2026-08-08 04:23:45] local.INFO: Processing buffer {"connection_id":150047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6c95b0012d07534006f72a18001300b534..."} 
[2026-08-08 04:23:45] local.INFO: Packet analysis {"connection_id":150047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:23:45] local.INFO: Extracted packet for processing {"connection_id":150047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6c"} 
[2026-08-08 04:23:45] local.INFO: GPS Element Parsed {"raw_longitude":755454784,"raw_latitude":116861464,"longitude_deg":75.5454784,"latitude_deg":11.6861464,"altitude":19,"angle":181,"satellites":52,"speed":59,"hex_longitude":"2d075340","hex_latitude":"06f72a18","is_valid_coordinates":true} 
[2026-08-08 04:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252628736001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374562392782143488,"note":"Value kept but may cause issues"} 
[2026-08-08 04:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":528961879901915136,"note":"Value kept but may cause issues"} 
[2026-08-08 04:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143086000,"timestamp_ms":1786143086000,"timestamp_seconds":1786143086,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6c95b0"} 
[2026-08-08 04:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04: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-08-08 04: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 04:23: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-08-08 04:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252628736001,"66":27365,"69":206,"2":56576,"24":59,"16":374562392782143488,"45":528961879901915136},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 04:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252628736001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:23:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 04:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374562392782143488,"km_value":374562392782143.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":528961879901915136,"description":"Unknown IO ID 45"} 
[2026-08-08 04:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252628736001,"power":27365,"unknown_69":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":528961879901915136}} 
[2026-08-08 04:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":150047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:23:45] local.INFO: GPS data processed {"connection_id":150047,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:23:45] local.INFO: Acknowledgment sent {"connection_id":150047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:24:05] local.INFO: TCP Data received {"connection_id":152756,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:05] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:05] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:24:07] local.INFO: TCP Data received {"connection_id":152756,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:07] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:07] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:24:07] local.INFO: TCP Data received {"connection_id":152756,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:07] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:07] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:24:12] local.INFO: TCP Data received {"connection_id":152756,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:12] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:24:12] local.INFO: IMEI packet received {"connection_id":152756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":152756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:24:13] local.INFO: TCP Data received {"connection_id":152756,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6e6688012d081d0006f611f80011009132..."} 
[2026-08-08 04:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6e6688012d081d0006f611f80011009132..."} 
[2026-08-08 04:24:13] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6e6688012d081d0006f611f80011009132..."} 
[2026-08-08 04:24:13] local.INFO: Packet analysis {"connection_id":152756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:24:13] local.INFO: Extracted packet for processing {"connection_id":152756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":755506432,"raw_latitude":116789752,"longitude_deg":75.5506432,"latitude_deg":11.6789752,"altitude":17,"angle":145,"satellites":50,"speed":23,"hex_longitude":"2d081d00","hex_latitude":"06f611f8","is_valid_coordinates":true} 
[2026-08-08 04:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252655104001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374566730699112448,"note":"Value kept but may cause issues"} 
[2026-08-08 04:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578853319505156096,"note":"Value kept but may cause issues"} 
[2026-08-08 04:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143205000,"timestamp_ms":1786143205000,"timestamp_seconds":1786143205,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6e6688"} 
[2026-08-08 04:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252655104001,"66":27376,"69":206,"2":56576,"24":23,"16":374566730699112448,"45":578853319505156096},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 04:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252655104001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:24:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 04:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374566730699112448,"km_value":374566730699112.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":578853319505156096,"description":"Unknown IO ID 45"} 
[2026-08-08 04:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252655104001,"power":27376,"unknown_69":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":578853319505156096}} 
[2026-08-08 04:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":152756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:24:13] local.INFO: GPS data processed {"connection_id":152756,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:24:13] local.INFO: Acknowledgment sent {"connection_id":152756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:24:45] local.INFO: TCP Data received {"connection_id":152756,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6e6e58012d081f0006f60e100011009d33..."} 
[2026-08-08 04:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6e6e58012d081f0006f60e100011009d33..."} 
[2026-08-08 04:24:45] local.INFO: Processing buffer {"connection_id":152756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6e6e58012d081f0006f60e100011009d33..."} 
[2026-08-08 04:24:45] local.INFO: Packet analysis {"connection_id":152756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:24:45] local.INFO: Extracted packet for processing {"connection_id":152756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:24:45] local.INFO: GPS Element Parsed {"raw_longitude":755506944,"raw_latitude":116788752,"longitude_deg":75.5506944,"latitude_deg":11.6788752,"altitude":17,"angle":157,"satellites":51,"speed":23,"hex_longitude":"2d081f00","hex_latitude":"06f60e10","is_valid_coordinates":true} 
[2026-08-08 04:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252660480001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374566782238720000,"note":"Value kept but may cause issues"} 
[2026-08-08 04:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584623556526209024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143207000,"timestamp_ms":1786143207000,"timestamp_seconds":1786143207,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6e6e58"} 
[2026-08-08 04:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04: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-08-08 04:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252660480001,"66":27300,"69":206,"2":56576,"24":23,"16":374566782238720000,"45":584623556526209024},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 04:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252660480001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:24:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 04:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374566782238720000,"km_value":374566782238720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":584623556526209024,"description":"Unknown IO ID 45"} 
[2026-08-08 04:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252660480001,"power":27300,"unknown_69":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":584623556526209024}} 
[2026-08-08 04:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":152756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:24:45] local.INFO: GPS data processed {"connection_id":152756,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:24:45] local.INFO: Acknowledgment sent {"connection_id":152756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:25:03] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:25:03] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:25:03] local.INFO: IMEI packet received {"connection_id":152757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":152757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:25:05] local.INFO: TCP Data received {"connection_id":150048,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:05] local.INFO: Processing buffer {"connection_id":150048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:05] local.INFO: IMEI packet received {"connection_id":150048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":150048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:25:07] local.INFO: TCP Data received {"connection_id":150048,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:07] local.INFO: Processing buffer {"connection_id":150048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:07] local.INFO: IMEI packet received {"connection_id":150048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":150048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:25:08] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:25:08] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:25:08] local.INFO: IMEI packet received {"connection_id":152757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":152757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:25:09] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-08 04:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-08 04:25:09] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-08-08 04:25:09] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-08 04:25:09] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-08 04:25:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-08 04:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115661343272468480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:25:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 04:25:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 04:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 04:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 04:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 04:25:09] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 04:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 04:25:09] local.ERROR: GPS data processing failed {"connection_id":152757,"error":"No valid data to process"} 
[2026-08-08 04:25:09] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 04:25:12] local.INFO: TCP Data received {"connection_id":150048,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:12] local.INFO: Processing buffer {"connection_id":150048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:25:12] local.INFO: IMEI packet received {"connection_id":150048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":150048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:25:14] local.INFO: TCP Data received {"connection_id":150048,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6e7628012d08218006f60a080011008e33..."} 
[2026-08-08 04:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6e7628012d08218006f60a080011008e33..."} 
[2026-08-08 04:25:14] local.INFO: Processing buffer {"connection_id":150048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6e7628012d08218006f60a080011008e33..."} 
[2026-08-08 04:25:14] local.INFO: Packet analysis {"connection_id":150048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:25:14] local.INFO: Extracted packet for processing {"connection_id":150048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755507584,"raw_latitude":116787720,"longitude_deg":75.5507584,"latitude_deg":11.678772,"altitude":17,"angle":142,"satellites":51,"speed":25,"hex_longitude":"2d082180","hex_latitude":"06f60a08","is_valid_coordinates":true} 
[2026-08-08 04:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252660992001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374566842368262144,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":585186506479374336,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143209000,"timestamp_ms":1786143209000,"timestamp_seconds":1786143209,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6e7628"} 
[2026-08-08 04:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 04:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252660992001,"66":27213,"69":206,"2":56576,"24":25,"16":374566842368262144,"45":585186506479374336},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 04:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252660992001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:25:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 04:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374566842368262144,"km_value":374566842368262.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":585186506479374336,"description":"Unknown IO ID 45"} 
[2026-08-08 04:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252660992001,"power":27213,"unknown_69":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":585186506479374336}} 
[2026-08-08 04:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":150048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:25:14] local.INFO: GPS data processed {"connection_id":150048,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:25:14] local.INFO: Acknowledgment sent {"connection_id":150048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:25:42] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-08 04:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-08 04:25:42] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-08 04:25:42] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-08 04:25:42] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-08 04:25:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-08 04:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115661343272468480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:25:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":62000,"timestamp_seconds":62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 04:25:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 04:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 04:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 04:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 04:25:42] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 04:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 04:25:42] local.ERROR: GPS data processing failed {"connection_id":152757,"error":"No valid data to process"} 
[2026-08-08 04:25:42] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 04:25:46] local.INFO: TCP Data received {"connection_id":150048,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6ea120012d083b8006f5edd80011008b30..."} 
[2026-08-08 04:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6ea120012d083b8006f5edd80011008b30..."} 
[2026-08-08 04:25:46] local.INFO: Processing buffer {"connection_id":150048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6ea120012d083b8006f5edd80011008b30..."} 
[2026-08-08 04:25:46] local.INFO: Packet analysis {"connection_id":150048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:25:46] local.INFO: Extracted packet for processing {"connection_id":150048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6e"} 
[2026-08-08 04:25:46] local.INFO: GPS Element Parsed {"raw_longitude":755514240,"raw_latitude":116780504,"longitude_deg":75.551424,"latitude_deg":11.6780504,"altitude":17,"angle":139,"satellites":48,"speed":44,"hex_longitude":"2d083b80","hex_latitude":"06f5edd8","is_valid_coordinates":true} 
[2026-08-08 04:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252661504001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374567314814664704,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":585890193920886784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786143220000,"timestamp_ms":1786143220000,"timestamp_seconds":1786143220,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6ea120"} 
[2026-08-08 04:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252661504001,"66":27126,"69":206,"2":56576,"24":44,"16":374567314814664704,"45":585890193920886784},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 04:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252661504001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:25:46] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 04:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374567314814664704,"km_value":374567314814664.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":585890193920886784,"description":"Unknown IO ID 45"} 
[2026-08-08 04:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252661504001,"power":27126,"unknown_69":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":585890193920886784}} 
[2026-08-08 04:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":150048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:25:46] local.INFO: GPS data processed {"connection_id":150048,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:25:46] local.INFO: Acknowledgment sent {"connection_id":150048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:26:06] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:06] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:06] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:26:07] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:07] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:07] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:26:12] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:12] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:26:12] local.INFO: IMEI packet received {"connection_id":151280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":151280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:26:13] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7047000100000000000000000000000000..."} 
[2026-08-08 04:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7047000100000000000000000000000000..."} 
[2026-08-08 04:26:13] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7047000100000000000000000000000000..."} 
[2026-08-08 04:26:13] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:26:13] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:26:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-08 04:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115661343272468480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143328000,"timestamp_ms":1786143328000,"timestamp_seconds":1786143328,"priority":1,"record_length":96,"hex_timestamp":"0000019fde704700"} 
[2026-08-08 04:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-08 04:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1595,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:26:13] 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-08-08 04:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-08 04:26:13] local.INFO: GPS data processed {"connection_id":152757,"processed":0,"errors":0,"total":1} 
[2026-08-08 04:26:13] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:26:13] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde6fd1d0012d08fbc006f4f7a0000c008a32..."} 
[2026-08-08 04:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde6fd1d0012d08fbc006f4f7a0000c008a32..."} 
[2026-08-08 04:26:13] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde6fd1d0012d08fbc006f4f7a0000c008a32..."} 
[2026-08-08 04:26:13] local.INFO: Packet analysis {"connection_id":151280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde6f"} 
[2026-08-08 04:26:13] local.INFO: Extracted packet for processing {"connection_id":151280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde6f"} 
[2026-08-08 04:26:13] local.INFO: GPS Element Parsed {"raw_longitude":755563456,"raw_latitude":116717472,"longitude_deg":75.5563456,"latitude_deg":11.6717472,"altitude":12,"angle":138,"satellites":50,"speed":16,"hex_longitude":"2d08fbc0","hex_latitude":"06f4f7a0","is_valid_coordinates":true} 
[2026-08-08 04:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252683008001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374571193170132992,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":643874039105687552,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143298000,"timestamp_ms":1786143298000,"timestamp_seconds":1786143298,"priority":1,"record_length":96,"hex_timestamp":"0000019fde6fd1d0"} 
[2026-08-08 04:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:26: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-08-08 04:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252683008001,"66":206,"2":56576,"24":16,"16":374571193170132992,"45":643874039105687552},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 04:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252683008001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374571193170132992,"km_value":374571193170133.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":643874039105687552,"description":"Unknown IO ID 45"} 
[2026-08-08 04:26:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457252683008001,"power":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":643874039105687552}} 
[2026-08-08 04:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":151280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:26:14] local.INFO: GPS data processed {"connection_id":151280,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:26:14] local.INFO: Acknowledgment sent {"connection_id":151280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:26:44] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7099080100000000000000000000000000..."} 
[2026-08-08 04:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7099080100000000000000000000000000..."} 
[2026-08-08 04:26:44] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7099080100000000000000000000000000..."} 
[2026-08-08 04:26:44] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:26:44] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:26:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-08 04:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115661343272468480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786143349000,"timestamp_ms":1786143349000,"timestamp_seconds":1786143349,"priority":1,"record_length":96,"hex_timestamp":"0000019fde709908"} 
[2026-08-08 04:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 04:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:26:44] 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-08-08 04:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-08 04:26:44] local.INFO: GPS data processed {"connection_id":152757,"processed":0,"errors":0,"total":1} 
[2026-08-08 04:26:44] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:26:45] local.INFO: TCP Data received {"connection_id":151280,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde700880012d09150006f4da88000b008f31..."} 
[2026-08-08 04:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde700880012d09150006f4da88000b008f31..."} 
[2026-08-08 04:26:45] local.INFO: Processing buffer {"connection_id":151280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde700880012d09150006f4da88000b008f31..."} 
[2026-08-08 04:26:45] local.INFO: Packet analysis {"connection_id":151280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:26:45] local.INFO: Extracted packet for processing {"connection_id":151280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:26:45] local.INFO: GPS Element Parsed {"raw_longitude":755569920,"raw_latitude":116710024,"longitude_deg":75.556992,"latitude_deg":11.6710024,"altitude":11,"angle":143,"satellites":49,"speed":40,"hex_longitude":"2d091500","hex_latitude":"06f4da88","is_valid_coordinates":true} 
[2026-08-08 04:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252684288001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374571669911502848,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647322107570003968,"note":"Value kept but may cause issues"} 
[2026-08-08 04:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143312000,"timestamp_ms":1786143312000,"timestamp_seconds":1786143312,"priority":1,"record_length":96,"hex_timestamp":"0000019fde700880"} 
[2026-08-08 04:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:26: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-08-08 04:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252684288001,"66":27267,"67":206,"2":56576,"24":40,"16":374571669911502848,"45":647322107570003968},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 04:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252684288001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:26:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 04:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374571669911502848,"km_value":374571669911502.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":647322107570003968,"description":"Unknown IO ID 45"} 
[2026-08-08 04:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252684288001,"power":27267,"unknown_67":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":647322107570003968}} 
[2026-08-08 04:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":151280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:26:45] local.INFO: GPS data processed {"connection_id":151280,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:26:45] local.INFO: Acknowledgment sent {"connection_id":151280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:27:12] local.INFO: TCP Data received {"connection_id":150305,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:27:12] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:27:12] local.INFO: IMEI packet received {"connection_id":150305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":150305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:27:15] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde71c5d0012d7e380005d35948000700590f..."} 
[2026-08-08 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde71c5d0012d7e380005d35948000700590f..."} 
[2026-08-08 04:27:15] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde71c5d0012d7e380005d35948000700590f..."} 
[2026-08-08 04:27:15] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde71"} 
[2026-08-08 04:27:15] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde71"} 
[2026-08-08 04:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97737032,"longitude_deg":76.3246592,"latitude_deg":9.7737032,"altitude":7,"angle":89,"satellites":15,"speed":21,"hex_longitude":"2d7e3800","hex_latitude":"05d35948","is_valid_coordinates":true} 
[2026-08-08 04:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252716288001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115661678279917568,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611761664,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27: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-08-08 04:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786143426000,"timestamp_ms":1786143426000,"timestamp_seconds":1786143426,"priority":1,"record_length":96,"hex_timestamp":"0000019fde71c5d0"} 
[2026-08-08 04:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:27:15] 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-08-08 04: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 04:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:27:15] 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-08-08 04:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252716288001,"66":12374,"109":206,"85":15104,"24":21,"16":115661678279917568,"45":9093612097611761664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 04:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252716288001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:27:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 04:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115661678279917568,"km_value":115661678279917.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611761664,"description":"Unknown IO ID 45"} 
[2026-08-08 04:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252716288001,"power":12374,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9093612097611761664}} 
[2026-08-08 04:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:27:15] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:27:15] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:27:17] local.INFO: TCP Data received {"connection_id":150305,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:27:17] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:27:17] local.INFO: IMEI packet received {"connection_id":150305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":150305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:27:19] local.INFO: TCP Data received {"connection_id":150305,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7027c0012d092a4006f4be78000b008e31..."} 
[2026-08-08 04:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7027c0012d092a4006f4be78000b008e31..."} 
[2026-08-08 04:27:19] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7027c0012d092a4006f4be78000b008e31..."} 
[2026-08-08 04:27:19] local.INFO: Packet analysis {"connection_id":150305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:27:19] local.INFO: Extracted packet for processing {"connection_id":150305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:27:19] local.INFO: GPS Element Parsed {"raw_longitude":755575360,"raw_latitude":116702840,"longitude_deg":75.557536,"latitude_deg":11.670284,"altitude":11,"angle":142,"satellites":49,"speed":47,"hex_longitude":"2d092a40","hex_latitude":"06f4be78","is_valid_coordinates":true} 
[2026-08-08 04:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252687872001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374572103703199744,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654429350730041344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786143320000,"timestamp_ms":1786143320000,"timestamp_seconds":1786143320,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7027c0"} 
[2026-08-08 04:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:27: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-08-08 04:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 04:27: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-08-08 04:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252687872001,"66":27071,"67":206,"2":56576,"24":47,"16":374572103703199744,"45":654429350730041344},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 04:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252687872001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:27:19] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 04:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374572103703199744,"km_value":374572103703199.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":654429350730041344,"description":"Unknown IO ID 45"} 
[2026-08-08 04:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252687872001,"power":27071,"unknown_67":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":654429350730041344}} 
[2026-08-08 04:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":150305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:27:19] local.INFO: GPS data processed {"connection_id":150305,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:27:19] local.INFO: Acknowledgment sent {"connection_id":150305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:27:28] local.INFO: TCP Data received {"connection_id":150305,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde704700012d09410006f49ef0000c009333..."} 
[2026-08-08 04:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde704700012d09410006f49ef0000c009333..."} 
[2026-08-08 04:27:28] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde704700012d09410006f49ef0000c009333..."} 
[2026-08-08 04:27:28] local.INFO: Packet analysis {"connection_id":150305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:27:28] local.INFO: Extracted packet for processing {"connection_id":150305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:27:28] local.INFO: GPS Element Parsed {"raw_longitude":755581184,"raw_latitude":116694768,"longitude_deg":75.5581184,"latitude_deg":11.6694768,"altitude":12,"angle":147,"satellites":51,"speed":50,"hex_longitude":"2d094100","hex_latitude":"06f49ef0","is_valid_coordinates":true} 
[2026-08-08 04:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252689920001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374572584739536896,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":660410693983303680,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786143328000,"timestamp_ms":1786143328000,"timestamp_seconds":1786143328,"priority":1,"record_length":96,"hex_timestamp":"0000019fde704700"} 
[2026-08-08 04:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 04:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":150305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":150305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":150305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252689920001,"66":27365,"67":206,"2":56576,"24":50,"16":374572584739536896,"45":660410693983303680},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 04:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252689920001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:27:28] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 04:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374572584739536896,"km_value":374572584739536.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":660410693983303680,"description":"Unknown IO ID 45"} 
[2026-08-08 04:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252689920001,"power":27365,"unknown_67":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":660410693983303680}} 
[2026-08-08 04:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":150305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:27:28] local.INFO: GPS data processed {"connection_id":150305,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:27:28] local.INFO: Acknowledgment sent {"connection_id":150305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:27:45] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde71d188012d7e3dc005d358d0000700670f..."} 
[2026-08-08 04:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde71d188012d7e3dc005d358d0000700670f..."} 
[2026-08-08 04:27:45] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde71d188012d7e3dc005d358d0000700670f..."} 
[2026-08-08 04:27:45] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde71"} 
[2026-08-08 04:27:45] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde71"} 
[2026-08-08 04:27:45] local.INFO: GPS Element Parsed {"raw_longitude":763248064,"raw_latitude":97736912,"longitude_deg":76.3248064,"latitude_deg":9.7736912,"altitude":7,"angle":103,"satellites":15,"speed":18,"hex_longitude":"2d7e3dc0","hex_latitude":"05d358d0","is_valid_coordinates":true} 
[2026-08-08 04:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252717056001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115661746999394304,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472495396864,"note":"Value kept but may cause issues"} 
[2026-08-08 04:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143429000,"timestamp_ms":1786143429000,"timestamp_seconds":1786143429,"priority":1,"record_length":96,"hex_timestamp":"0000019fde71d188"} 
[2026-08-08 04:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 04:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:27:45] 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-08-08 04:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252717056001,"66":12624,"109":206,"85":15104,"24":18,"16":115661746999394304,"45":9095019472495396864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 04:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252717056001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:27:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 04:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115661746999394304,"km_value":115661746999394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472495396864,"description":"Unknown IO ID 45"} 
[2026-08-08 04:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252717056001,"power":12624,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9095019472495396864}} 
[2026-08-08 04:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:27:46] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:27:46] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:28:07] local.INFO: TCP Data received {"connection_id":150306,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:07] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:07] local.INFO: IMEI packet received {"connection_id":150306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":150306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:28:08] local.INFO: TCP Data received {"connection_id":150306,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:08] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:08] local.INFO: IMEI packet received {"connection_id":150306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":150306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:28:12] local.INFO: TCP Data received {"connection_id":150306,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:12] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:28:12] local.INFO: IMEI packet received {"connection_id":150306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":150306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:28:14] local.INFO: TCP Data received {"connection_id":150306,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde706258012d0952c006f48018000c009a34..."} 
[2026-08-08 04:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde706258012d0952c006f48018000c009a34..."} 
[2026-08-08 04:28:14] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde706258012d0952c006f48018000c009a34..."} 
[2026-08-08 04:28:14] local.INFO: Packet analysis {"connection_id":150306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:28:14] local.INFO: Extracted packet for processing {"connection_id":150306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:28:14] local.INFO: GPS Element Parsed {"raw_longitude":755585728,"raw_latitude":116686872,"longitude_deg":75.5585728,"latitude_deg":11.6686872,"altitude":12,"angle":154,"satellites":52,"speed":53,"hex_longitude":"2d0952c0","hex_latitude":"06f48018","is_valid_coordinates":true} 
[2026-08-08 04:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252691968001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374573022826201088,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":666814249701404672,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143335000,"timestamp_ms":1786143335000,"timestamp_seconds":1786143335,"priority":1,"record_length":96,"hex_timestamp":"0000019fde706258"} 
[2026-08-08 04:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:28: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-08-08 04:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252691968001,"66":27332,"67":206,"2":56576,"24":53,"16":374573022826201088,"45":666814249701404672},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 04:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252691968001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:28:14] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 04:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374573022826201088,"km_value":374573022826201.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":666814249701404672,"description":"Unknown IO ID 45"} 
[2026-08-08 04:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252691968001,"power":27332,"unknown_67":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":666814249701404672}} 
[2026-08-08 04:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:28:14] local.INFO: GPS data processed {"connection_id":150306,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:28:14] local.INFO: Acknowledgment sent {"connection_id":150306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:28:16] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde727d68012d7e510005d39430000b01590f..."} 
[2026-08-08 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde727d68012d7e510005d39430000b01590f..."} 
[2026-08-08 04:28:16] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde727d68012d7e510005d39430000b01590f..."} 
[2026-08-08 04:28:16] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:28:16] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763252992,"raw_latitude":97752112,"longitude_deg":76.3252992,"latitude_deg":9.7752112,"altitude":11,"angle":345,"satellites":15,"speed":34,"hex_longitude":"2d7e5100","hex_latitude":"05d39430","is_valid_coordinates":true} 
[2026-08-08 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252727552001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115662855100956672,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102197084404082688,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786143473000,"timestamp_ms":1786143473000,"timestamp_seconds":1786143473,"priority":1,"record_length":96,"hex_timestamp":"0000019fde727d68"} 
[2026-08-08 04:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 04:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:28:16] 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-08-08 04:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252727552001,"66":12461,"109":206,"85":15104,"24":34,"16":115662855100956672,"45":9102197084404082688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252727552001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115662855100956672,"km_value":115662855100956.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102197084404082688,"description":"Unknown IO ID 45"} 
[2026-08-08 04:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252727552001,"power":12461,"unknown_109":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9102197084404082688}} 
[2026-08-08 04:28:16] local.INFO: TCP Data received {"connection_id":150306,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde707db0012d0960c006f45c98000c00a231..."} 
[2026-08-08 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde707db0012d0960c006f45c98000c00a231..."} 
[2026-08-08 04:28:16] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde707db0012d0960c006f45c98000c00a231..."} 
[2026-08-08 04:28:16] local.INFO: Packet analysis {"connection_id":150306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:28:16] local.INFO: Extracted packet for processing {"connection_id":150306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde70"} 
[2026-08-08 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":755589312,"raw_latitude":116677784,"longitude_deg":75.5589312,"latitude_deg":11.6677784,"altitude":12,"angle":162,"satellites":49,"speed":57,"hex_longitude":"2d0960c0","hex_latitude":"06f45c98","is_valid_coordinates":true} 
[2026-08-08 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252693760001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374573495272603648,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":671810430535997440,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786143342000,"timestamp_ms":1786143342000,"timestamp_seconds":1786143342,"priority":1,"record_length":96,"hex_timestamp":"0000019fde707db0"} 
[2026-08-08 04:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252693760001,"66":27376,"67":206,"2":56576,"24":57,"16":374573495272603648,"45":671810430535997440},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 04:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252693760001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 04:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374573495272603648,"km_value":374573495272603.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":671810430535997440,"description":"Unknown IO ID 45"} 
[2026-08-08 04:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252693760001,"power":27376,"unknown_67":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":671810430535997440}} 
[2026-08-08 04:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:28:16] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:28:16] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":150306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:28:16] local.INFO: GPS data processed {"connection_id":150306,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:28:16] local.INFO: Acknowledgment sent {"connection_id":150306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:28:48] local.INFO: TCP Data received {"connection_id":152757,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde72a478012d7e494005d3b988000801600f..."} 
[2026-08-08 04:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde72a478012d7e494005d3b988000801600f..."} 
[2026-08-08 04:28:48] local.INFO: Processing buffer {"connection_id":152757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde72a478012d7e494005d3b988000801600f..."} 
[2026-08-08 04:28:48] local.INFO: Packet analysis {"connection_id":152757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:28:48] local.INFO: Extracted packet for processing {"connection_id":152757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":763251008,"raw_latitude":97761672,"longitude_deg":76.3251008,"latitude_deg":9.7761672,"altitude":8,"angle":352,"satellites":15,"speed":40,"hex_longitude":"2d7e4940","hex_latitude":"05d3b988","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252729088001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115663327547359232,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102056346917023744,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786143483000,"timestamp_ms":1786143483000,"timestamp_seconds":1786143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fde72a478"} 
[2026-08-08 04:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 04:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:28:48] 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-08-08 04:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252729088001,"66":12428,"109":206,"85":15104,"24":40,"16":115663327547359232,"45":9102056346917023744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252729088001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115663327547359232,"km_value":115663327547359.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102056346917023744,"description":"Unknown IO ID 45"} 
[2026-08-08 04:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252729088001,"power":12428,"unknown_109":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9102056346917023744}} 
[2026-08-08 04:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":152757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:28:48] local.INFO: GPS data processed {"connection_id":152757,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:28:48] local.INFO: Acknowledgment sent {"connection_id":152757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:28:48] local.INFO: TCP Data received {"connection_id":150306,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde725e28012d09ae8006f2d038001300ae31..."} 
[2026-08-08 04:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde725e28012d09ae8006f2d038001300ae31..."} 
[2026-08-08 04:28:48] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde725e28012d09ae8006f2d038001300ae31..."} 
[2026-08-08 04:28:48] local.INFO: Packet analysis {"connection_id":150306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:28:48] local.INFO: Extracted packet for processing {"connection_id":150306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":755609216,"raw_latitude":116576312,"longitude_deg":75.5609216,"latitude_deg":11.6576312,"altitude":19,"angle":174,"satellites":49,"speed":41,"hex_longitude":"2d09ae80","hex_latitude":"06f2d038","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252724992001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374578524679307264,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696650597204908032,"note":"Value kept but may cause issues"} 
[2026-08-08 04:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786143465000,"timestamp_ms":1786143465000,"timestamp_seconds":1786143465,"priority":1,"record_length":96,"hex_timestamp":"0000019fde725e28"} 
[2026-08-08 04:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 04:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252724992001,"66":27267,"119":206,"2":56576,"24":41,"16":374578524679307264,"45":696650597204908032},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-08 04:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252724992001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-08 04:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374578524679307264,"km_value":374578524679307.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":696650597204908032,"description":"Unknown IO ID 45"} 
[2026-08-08 04:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252724992001,"power":27267,"unknown_119":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":696650597204908032}} 
[2026-08-08 04:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":150306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:28:48] local.INFO: GPS data processed {"connection_id":150306,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:28:48] local.INFO: Acknowledgment sent {"connection_id":150306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:29:07] local.INFO: TCP Data received {"connection_id":152758,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:29:07] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:29:07] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:29:10] local.INFO: TCP Data received {"connection_id":152758,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:29:10] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:29:10] local.INFO: IMEI packet received {"connection_id":152758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":152758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:29:11] local.INFO: TCP Data received {"connection_id":152758,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde728150012d09b18006f2ad20000f00a932..."} 
[2026-08-08 04:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde728150012d09b18006f2ad20000f00a932..."} 
[2026-08-08 04:29:11] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde728150012d09b18006f2ad20000f00a932..."} 
[2026-08-08 04:29:11] local.INFO: Packet analysis {"connection_id":152758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:29:11] local.INFO: Extracted packet for processing {"connection_id":152758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":755609984,"raw_latitude":116567328,"longitude_deg":75.5609984,"latitude_deg":11.6567328,"altitude":15,"angle":169,"satellites":50,"speed":33,"hex_longitude":"2d09b180","hex_latitude":"06f2ad20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 04:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252727040001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374578962765971456,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697635759620896768,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786143474000,"timestamp_ms":1786143474000,"timestamp_seconds":1786143474,"priority":1,"record_length":96,"hex_timestamp":"0000019fde728150"} 
[2026-08-08 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-08-08 04:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 04:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 04:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252727040001,"66":27343,"119":206,"2":56576,"24":33,"16":374578962765971456,"45":697635759620896768},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-08 04:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252727040001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:29:11] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-08 04:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374578962765971456,"km_value":374578962765971.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":697635759620896768,"description":"Unknown IO ID 45"} 
[2026-08-08 04:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252727040001,"power":27343,"unknown_119":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":697635759620896768}} 
[2026-08-08 04:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":152758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:29:11] local.INFO: GPS data processed {"connection_id":152758,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:29:11] local.INFO: Acknowledgment sent {"connection_id":152758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:29:32] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:32] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:32] local.INFO: IMEI packet received {"connection_id":150049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":150049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:29:36] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:36] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:36] local.INFO: IMEI packet received {"connection_id":150049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:29:38] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:38] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:29:38] local.INFO: IMEI packet received {"connection_id":150049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":150049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:29:39] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde73c1a0012d7e29c005d4e0000008015d11..."} 
[2026-08-08 04:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde73c1a0012d7e29c005d4e0000008015d11..."} 
[2026-08-08 04:29:39] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde73c1a0012d7e29c005d4e0000008015d11..."} 
[2026-08-08 04:29:39] local.INFO: Packet analysis {"connection_id":150049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde73"} 
[2026-08-08 04:29:39] local.INFO: Extracted packet for processing {"connection_id":150049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde73"} 
[2026-08-08 04:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763242944,"raw_latitude":97837056,"longitude_deg":76.3242944,"latitude_deg":9.7837056,"altitude":8,"angle":349,"satellites":17,"speed":38,"hex_longitude":"2d7e29c0","hex_latitude":"05d4e000","is_valid_coordinates":true} 
[2026-08-08 04:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252749824001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115667038399102976,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091501035311663104,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786143556000,"timestamp_ms":1786143556000,"timestamp_seconds":1786143556,"priority":1,"record_length":96,"hex_timestamp":"0000019fde73c1a0"} 
[2026-08-08 04:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 04:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:29:39] 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-08-08 04:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252749824001,"66":12428,"111":206,"85":15104,"24":38,"16":115667038399102976,"45":9091501035311663104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-08 04:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252749824001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:29:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 04:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115667038399102976,"km_value":115667038399102.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091501035311663104,"description":"Unknown IO ID 45"} 
[2026-08-08 04:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252749824001,"power":12428,"unknown_111":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9091501035311663104}} 
[2026-08-08 04:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":150049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:29:39] local.INFO: GPS data processed {"connection_id":150049,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:29:39] local.INFO: Acknowledgment sent {"connection_id":150049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:29:43] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde73e4c8012d7e24c005d504180008015f11..."} 
[2026-08-08 04:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde73e4c8012d7e24c005d504180008015f11..."} 
[2026-08-08 04:29:43] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde73e4c8012d7e24c005d504180008015f11..."} 
[2026-08-08 04:29:43] local.INFO: Packet analysis {"connection_id":150049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde73"} 
[2026-08-08 04:29:43] local.INFO: Extracted packet for processing {"connection_id":150049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde73"} 
[2026-08-08 04:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763241664,"raw_latitude":97846296,"longitude_deg":76.3241664,"latitude_deg":9.7846296,"altitude":8,"angle":351,"satellites":17,"speed":41,"hex_longitude":"2d7e24c0","hex_latitude":"05d50418","is_valid_coordinates":true} 
[2026-08-08 04:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252750336001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115667493665636352,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091008454102876160,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786143565000,"timestamp_ms":1786143565000,"timestamp_seconds":1786143565,"priority":1,"record_length":96,"hex_timestamp":"0000019fde73e4c8"} 
[2026-08-08 04:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 04:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:29:43] 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-08-08 04:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252750336001,"66":12461,"111":206,"85":15104,"24":41,"16":115667493665636352,"45":9091008454102876160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252750336001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115667493665636352,"km_value":115667493665636.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091008454102876160,"description":"Unknown IO ID 45"} 
[2026-08-08 04:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252750336001,"power":12461,"unknown_111":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9091008454102876160}} 
[2026-08-08 04:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:29:43] local.INFO: GPS data processed {"connection_id":150049,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:29:43] local.INFO: Acknowledgment sent {"connection_id":150049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:29:43] local.INFO: TCP Data received {"connection_id":152758,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde72a478012d09b94006f28ae0000c00a732..."} 
[2026-08-08 04:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde72a478012d09b94006f28ae0000c00a732..."} 
[2026-08-08 04:29:43] local.INFO: Processing buffer {"connection_id":152758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde72a478012d09b94006f28ae0000c00a732..."} 
[2026-08-08 04:29:43] local.INFO: Packet analysis {"connection_id":152758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:29:43] local.INFO: Extracted packet for processing {"connection_id":152758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:29:43] local.INFO: GPS Element Parsed {"raw_longitude":755611968,"raw_latitude":116558560,"longitude_deg":75.5611968,"latitude_deg":11.655856,"altitude":12,"angle":167,"satellites":50,"speed":46,"hex_longitude":"2d09b940","hex_latitude":"06f28ae0","is_valid_coordinates":true} 
[2026-08-08 04:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252729344001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374579396557668352,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698480184548728832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786143483000,"timestamp_ms":1786143483000,"timestamp_seconds":1786143483,"priority":1,"record_length":96,"hex_timestamp":"0000019fde72a478"} 
[2026-08-08 04:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252729344001,"66":27539,"119":206,"2":56576,"24":46,"16":374579396557668352,"45":698480184548728832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-08 04:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252729344001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-08 04:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374579396557668352,"km_value":374579396557668.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":698480184548728832,"description":"Unknown IO ID 45"} 
[2026-08-08 04:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252729344001,"power":27539,"unknown_119":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":698480184548728832}} 
[2026-08-08 04:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":152758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:29:43] local.INFO: GPS data processed {"connection_id":152758,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:29:43] local.INFO: Acknowledgment sent {"connection_id":152758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:30:07] local.INFO: TCP Data received {"connection_id":150307,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:30:07] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:30:07] local.INFO: IMEI packet received {"connection_id":150307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":150307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:30:10] local.INFO: TCP Data received {"connection_id":150307,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:30:10] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:30:10] local.INFO: IMEI packet received {"connection_id":150307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":150307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:30:11] local.INFO: TCP Data received {"connection_id":150307,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde72bfd0012d09c28006f26830000b00a532..."} 
[2026-08-08 04:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde72bfd0012d09c28006f26830000b00a532..."} 
[2026-08-08 04:30:11] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde72bfd0012d09c28006f26830000b00a532..."} 
[2026-08-08 04:30:11] local.INFO: Packet analysis {"connection_id":150307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:30:11] local.INFO: Extracted packet for processing {"connection_id":150307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:30:11] local.INFO: GPS Element Parsed {"raw_longitude":755614336,"raw_latitude":116549680,"longitude_deg":75.5614336,"latitude_deg":11.654968,"altitude":11,"angle":165,"satellites":50,"speed":56,"hex_longitude":"2d09c280","hex_latitude":"06f26830","is_valid_coordinates":true} 
[2026-08-08 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-08-08 04:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252731648001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374579843234267136,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":700661615615991808,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786143490000,"timestamp_ms":1786143490000,"timestamp_seconds":1786143490,"priority":1,"record_length":96,"hex_timestamp":"0000019fde72bfd0"} 
[2026-08-08 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-08-08 04:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 04:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 04:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252731648001,"66":27213,"119":206,"2":56576,"24":56,"16":374579843234267136,"45":700661615615991808},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-08 04:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252731648001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:30:11] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-08 04:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374579843234267136,"km_value":374579843234267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":700661615615991808,"description":"Unknown IO ID 45"} 
[2026-08-08 04:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252731648001,"power":27213,"unknown_119":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":700661615615991808}} 
[2026-08-08 04:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":150307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:30:11] local.INFO: GPS data processed {"connection_id":150307,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:30:11] local.INFO: Acknowledgment sent {"connection_id":150307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:30:14] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7407f0012d7e1fc005d529580007016611..."} 
[2026-08-08 04:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7407f0012d7e1fc005d529580007016611..."} 
[2026-08-08 04:30:14] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7407f0012d7e1fc005d529580007016611..."} 
[2026-08-08 04:30:14] local.INFO: Packet analysis {"connection_id":150049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:30:14] local.INFO: Extracted packet for processing {"connection_id":150049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":97855832,"longitude_deg":76.3240384,"latitude_deg":9.7855832,"altitude":7,"angle":358,"satellites":17,"speed":42,"hex_longitude":"2d7e1fc0","hex_latitude":"05d52958","is_valid_coordinates":true} 
[2026-08-08 04:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252752640001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115667957522104320,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089601079221688320,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30: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-08-08 04:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143574000,"timestamp_ms":1786143574000,"timestamp_seconds":1786143574,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7407f0"} 
[2026-08-08 04:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 04:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:30:14] 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-08-08 04:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252752640001,"66":12472,"111":206,"85":15104,"24":42,"16":115667957522104320,"45":9089601079221688320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-08 04:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252752640001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:30:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 04:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115667957522104320,"km_value":115667957522104.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089601079221688320,"description":"Unknown IO ID 45"} 
[2026-08-08 04:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252752640001,"power":12472,"unknown_111":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9089601079221688320}} 
[2026-08-08 04:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":150049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:30:14] local.INFO: GPS data processed {"connection_id":150049,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:30:14] local.INFO: Acknowledgment sent {"connection_id":150049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:30:43] local.INFO: TCP Data received {"connection_id":150307,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde72db28012d09cc0006f245b0000c00a532..."} 
[2026-08-08 04:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde72db28012d09cc0006f245b0000c00a532..."} 
[2026-08-08 04:30:43] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde72db28012d09cc0006f245b0000c00a532..."} 
[2026-08-08 04:30:43] local.INFO: Packet analysis {"connection_id":150307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:30:43] local.INFO: Extracted packet for processing {"connection_id":150307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde72"} 
[2026-08-08 04:30:43] local.INFO: GPS Element Parsed {"raw_longitude":755616768,"raw_latitude":116540848,"longitude_deg":75.5616768,"latitude_deg":11.6540848,"altitude":12,"angle":165,"satellites":50,"speed":35,"hex_longitude":"2d09cc00","hex_latitude":"06f245b0","is_valid_coordinates":true} 
[2026-08-08 04:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252733440001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374580285615898624,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703265259148292096,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786143497000,"timestamp_ms":1786143497000,"timestamp_seconds":1786143497,"priority":1,"record_length":96,"hex_timestamp":"0000019fde72db28"} 
[2026-08-08 04:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252733440001,"66":27332,"119":206,"2":56576,"24":35,"16":374580285615898624,"45":703265259148292096},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-08 04:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252733440001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:30:43] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-08 04:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374580285615898624,"km_value":374580285615898.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":703265259148292096,"description":"Unknown IO ID 45"} 
[2026-08-08 04:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252733440001,"power":27332,"unknown_119":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":703265259148292096}} 
[2026-08-08 04:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":150307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:30:43] local.INFO: GPS data processed {"connection_id":150307,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:30:43] local.INFO: Acknowledgment sent {"connection_id":150307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:30:46] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde74f250012d7da70005d57af8000a011911..."} 
[2026-08-08 04:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde74f250012d7da70005d57af8000a011911..."} 
[2026-08-08 04:30:46] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde74f250012d7da70005d57af8000a011911..."} 
[2026-08-08 04:30:46] local.INFO: Packet analysis {"connection_id":150049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:30:46] local.INFO: Extracted packet for processing {"connection_id":150049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763209472,"raw_latitude":97876728,"longitude_deg":76.3209472,"latitude_deg":9.7876728,"altitude":10,"angle":281,"satellites":17,"speed":26,"hex_longitude":"2d7da700","hex_latitude":"05d57af8","is_valid_coordinates":true} 
[2026-08-08 04:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252768000001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115670268214509568,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061664687791155200,"note":"Value kept but may cause issues"} 
[2026-08-08 04:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786143634000,"timestamp_ms":1786143634000,"timestamp_seconds":1786143634,"priority":1,"record_length":96,"hex_timestamp":"0000019fde74f250"} 
[2026-08-08 04:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 04:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:30:46] 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-08-08 04:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252768000001,"66":12439,"111":206,"85":15104,"24":26,"16":115670268214509568,"45":9061664687791155200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-08 04:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252768000001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:30:46] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 04:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115670268214509568,"km_value":115670268214509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061664687791155200,"description":"Unknown IO ID 45"} 
[2026-08-08 04:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252768000001,"power":12439,"unknown_111":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9061664687791155200}} 
[2026-08-08 04:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":150049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:30:46] local.INFO: GPS data processed {"connection_id":150049,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:30:46] local.INFO: Acknowledgment sent {"connection_id":150049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:31:07] local.INFO: TCP Data received {"connection_id":152759,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:31:07] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:31:07] local.INFO: IMEI packet received {"connection_id":152759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":152759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:31:12] local.INFO: TCP Data received {"connection_id":152759,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:31:12] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:31:12] local.INFO: IMEI packet received {"connection_id":152759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":152759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:31:13] local.INFO: TCP Data received {"connection_id":152759,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7484f0012d0a5d8006f16c30001300712e..."} 
[2026-08-08 04:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7484f0012d0a5d8006f16c30001300712e..."} 
[2026-08-08 04:31:13] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7484f0012d0a5d8006f16c30001300712e..."} 
[2026-08-08 04:31:13] local.INFO: Packet analysis {"connection_id":152759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:31:13] local.INFO: Extracted packet for processing {"connection_id":152759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:31:13] local.INFO: GPS Element Parsed {"raw_longitude":755654016,"raw_latitude":116485168,"longitude_deg":75.5654016,"latitude_deg":11.6485168,"altitude":19,"angle":113,"satellites":46,"speed":7,"hex_longitude":"2d0a5d80","hex_latitude":"06f16c30","is_valid_coordinates":true} 
[2026-08-08 04:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252760064001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374583712999800832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740982906011947008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143606000,"timestamp_ms":1786143606000,"timestamp_seconds":1786143606,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7484f0"} 
[2026-08-08 04:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:31: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-08-08 04:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252760064001,"66":27104,"118":206,"2":56576,"24":7,"16":374583712999800832,"45":740982906011947008},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252760064001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:31:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374583712999800832,"km_value":374583712999800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":740982906011947008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252760064001,"power":27104,"unknown_118":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":740982906011947008}} 
[2026-08-08 04:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":152759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:31:13] local.INFO: GPS data processed {"connection_id":152759,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:31:13] local.INFO: Acknowledgment sent {"connection_id":152759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:31:17] local.INFO: TCP Data received {"connection_id":150049,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde74fa20012d7da24005d57bb8000b010c11..."} 
[2026-08-08 04:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde74fa20012d7da24005d57bb8000b010c11..."} 
[2026-08-08 04:31:17] local.INFO: Processing buffer {"connection_id":150049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde74fa20012d7da24005d57bb8000b010c11..."} 
[2026-08-08 04:31:17] local.INFO: Packet analysis {"connection_id":150049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:31:17] local.INFO: Extracted packet for processing {"connection_id":150049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763208256,"raw_latitude":97876920,"longitude_deg":76.3208256,"latitude_deg":9.787692,"altitude":11,"angle":268,"satellites":17,"speed":22,"hex_longitude":"2d7da240","hex_latitude":"05d57bb8","is_valid_coordinates":true} 
[2026-08-08 04:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252770304001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115670324049084416,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9054205600908113920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786143636000,"timestamp_ms":1786143636000,"timestamp_seconds":1786143636,"priority":1,"record_length":96,"hex_timestamp":"0000019fde74fa20"} 
[2026-08-08 04:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 04:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:31:17] 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-08-08 04:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252770304001,"66":12287,"111":206,"85":15104,"24":22,"16":115670324049084416,"45":9054205600908113920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-08 04:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252770304001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:31:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 04:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115670324049084416,"km_value":115670324049084.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9054205600908113920,"description":"Unknown IO ID 45"} 
[2026-08-08 04:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252770304001,"power":12287,"unknown_111":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9054205600908113920}} 
[2026-08-08 04:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":150049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:31:17] local.INFO: GPS data processed {"connection_id":150049,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:31:17] local.INFO: Acknowledgment sent {"connection_id":150049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:31:32] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:32] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:32] local.INFO: IMEI packet received {"connection_id":150308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":150308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:31:35] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:35] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:35] local.INFO: IMEI packet received {"connection_id":150308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":150308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:31:35] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:35] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:35] local.INFO: IMEI packet received {"connection_id":150308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":150308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:31:38] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:38] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:31:38] local.INFO: IMEI packet received {"connection_id":150308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":150308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:31:39] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde75d8c8012d7d288005d570a8000100c511..."} 
[2026-08-08 04:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde75d8c8012d7d288005d570a8000100c511..."} 
[2026-08-08 04:31:39] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde75d8c8012d7d288005d570a8000100c511..."} 
[2026-08-08 04:31:39] local.INFO: Packet analysis {"connection_id":150308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:31:39] local.INFO: Extracted packet for processing {"connection_id":150308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":97874088,"longitude_deg":76.3177088,"latitude_deg":9.7874088,"altitude":1,"angle":197,"satellites":17,"speed":3,"hex_longitude":"2d7d2880","hex_latitude":"05d570a8","is_valid_coordinates":true} 
[2026-08-08 04:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252783616001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115671891712147456,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122586208256,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786143693000,"timestamp_ms":1786143693000,"timestamp_seconds":1786143693,"priority":1,"record_length":96,"hex_timestamp":"0000019fde75d8c8"} 
[2026-08-08 04:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:31: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-08-08 04: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 04:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:31:39] 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-08-08 04:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252783616001,"66":12461,"253":206,"85":15104,"24":3,"16":115671891712147456,"45":9018810122586208256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-08 04:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252783616001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:31:39] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-08 04:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115671891712147456,"km_value":115671891712147.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122586208256,"description":"Unknown IO ID 45"} 
[2026-08-08 04:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252783616001,"power":12461,"unknown_253":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9018810122586208256}} 
[2026-08-08 04:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":150308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:31:39] local.INFO: GPS data processed {"connection_id":150308,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:31:39] local.INFO: Acknowledgment sent {"connection_id":150308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:31:45] local.INFO: TCP Data received {"connection_id":152759,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde74a048012d0a600006f169f00014007e2c..."} 
[2026-08-08 04:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde74a048012d0a600006f169f00014007e2c..."} 
[2026-08-08 04:31:45] local.INFO: Processing buffer {"connection_id":152759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde74a048012d0a600006f169f00014007e2c..."} 
[2026-08-08 04:31:45] local.INFO: Packet analysis {"connection_id":152759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:31:45] local.INFO: Extracted packet for processing {"connection_id":152759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:31:45] local.INFO: GPS Element Parsed {"raw_longitude":755654656,"raw_latitude":116484592,"longitude_deg":75.5654656,"latitude_deg":11.6484592,"altitude":20,"angle":126,"satellites":44,"speed":5,"hex_longitude":"2d0a6000","hex_latitude":"06f169f0","is_valid_coordinates":true} 
[2026-08-08 04:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252763136001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374583755949473792,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746893880521928704,"note":"Value kept but may cause issues"} 
[2026-08-08 04:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143613000,"timestamp_ms":1786143613000,"timestamp_seconds":1786143613,"priority":1,"record_length":96,"hex_timestamp":"0000019fde74a048"} 
[2026-08-08 04:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 04:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252763136001,"66":27365,"118":206,"2":56576,"24":5,"16":374583755949473792,"45":746893880521928704},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252763136001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:31:45] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374583755949473792,"km_value":374583755949473.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":746893880521928704,"description":"Unknown IO ID 45"} 
[2026-08-08 04:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252763136001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":746893880521928704}} 
[2026-08-08 04:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":152759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:31:45] local.INFO: GPS data processed {"connection_id":152759,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:31:45] local.INFO: Acknowledgment sent {"connection_id":152759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:32:07] local.INFO: TCP Data received {"connection_id":152760,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:32:07] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:32:07] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:32:10] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde75dcb0012d7d290005d57048000100ae10..."} 
[2026-08-08 04:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde75dcb0012d7d290005d57048000100ae10..."} 
[2026-08-08 04:32:10] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde75dcb0012d7d290005d57048000100ae10..."} 
[2026-08-08 04:32:10] local.INFO: Packet analysis {"connection_id":150308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:32:10] local.INFO: Extracted packet for processing {"connection_id":150308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97873992,"longitude_deg":76.3177216,"latitude_deg":9.7873992,"altitude":1,"angle":174,"satellites":16,"speed":4,"hex_longitude":"2d7d2900","hex_latitude":"05d57048","is_valid_coordinates":true} 
[2026-08-08 04:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252785408001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115671900302082048,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016353540096,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786143694000,"timestamp_ms":1786143694000,"timestamp_seconds":1786143694,"priority":1,"record_length":96,"hex_timestamp":"0000019fde75dcb0"} 
[2026-08-08 04:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:32: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-08-08 04: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 04:32: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-08-08 04:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:32:10] 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-08-08 04:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252785408001,"66":12461,"253":206,"85":15104,"24":4,"16":115671900302082048,"45":9018599016353540096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-08 04:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252785408001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:32:10] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-08 04:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115671900302082048,"km_value":115671900302082.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016353540096,"description":"Unknown IO ID 45"} 
[2026-08-08 04:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252785408001,"power":12461,"unknown_253":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9018599016353540096}} 
[2026-08-08 04:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":150308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:32:10] local.INFO: GPS data processed {"connection_id":150308,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:32:10] local.INFO: Acknowledgment sent {"connection_id":150308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:32:12] local.INFO: TCP Data received {"connection_id":152760,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:32:12] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:32:12] local.INFO: IMEI packet received {"connection_id":152760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":152760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:32:13] local.INFO: TCP Data received {"connection_id":152760,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde74f250012d0a7a0006f158f80018007b2b..."} 
[2026-08-08 04:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde74f250012d0a7a0006f158f80018007b2b..."} 
[2026-08-08 04:32:13] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde74f250012d0a7a0006f158f80018007b2b..."} 
[2026-08-08 04:32:13] local.INFO: Packet analysis {"connection_id":152760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:32:13] local.INFO: Extracted packet for processing {"connection_id":152760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde74"} 
[2026-08-08 04:32:13] local.INFO: GPS Element Parsed {"raw_longitude":755661312,"raw_latitude":116480248,"longitude_deg":75.5661312,"latitude_deg":11.6480248,"altitude":24,"angle":123,"satellites":43,"speed":21,"hex_longitude":"2d0a7a00","hex_latitude":"06f158f8","is_valid_coordinates":true} 
[2026-08-08 04:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252764928001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374584133906595840,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":747597567963557888,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143634000,"timestamp_ms":1786143634000,"timestamp_seconds":1786143634,"priority":1,"record_length":96,"hex_timestamp":"0000019fde74f250"} 
[2026-08-08 04:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252764928001,"66":27321,"118":206,"2":56576,"24":21,"16":374584133906595840,"45":747597567963557888},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252764928001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:32:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374584133906595840,"km_value":374584133906595.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":747597567963557888,"description":"Unknown IO ID 45"} 
[2026-08-08 04:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252764928001,"power":27321,"unknown_118":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":747597567963557888}} 
[2026-08-08 04:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":152760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:32:13] local.INFO: GPS data processed {"connection_id":152760,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:32:13] local.INFO: Acknowledgment sent {"connection_id":152760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:32:35] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:32:35] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:32:35] local.INFO: IMEI packet received {"connection_id":152761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":152761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:32:38] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:32:38] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:32:38] local.INFO: IMEI packet received {"connection_id":152761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":152761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:32:39] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7651e0012d7d1ec005d56be00000015c10..."} 
[2026-08-08 04:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7651e0012d7d1ec005d56be00000015c10..."} 
[2026-08-08 04:32:39] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7651e0012d7d1ec005d56be00000015c10..."} 
[2026-08-08 04:32:39] local.INFO: Packet analysis {"connection_id":152761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde76"} 
[2026-08-08 04:32:39] local.INFO: Extracted packet for processing {"connection_id":152761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde76"} 
[2026-08-08 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":97872864,"longitude_deg":76.3174592,"latitude_deg":9.7872864,"altitude":0,"angle":348,"satellites":16,"speed":35,"hex_longitude":"2d7d1ec0","hex_latitude":"05d56be0","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252792576001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115672454352863232,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635329601536,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786143724000,"timestamp_ms":1786143724000,"timestamp_seconds":1786143724,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7651e0"} 
[2026-08-08 04:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 04:32: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-08-08 04: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-08-08 04:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:32:39] 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-08-08 04:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252792576001,"66":12624,"253":206,"85":15104,"24":35,"16":115672454352863232,"45":9015854635329601536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-08 04:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252792576001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:32:39] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-08 04:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115672454352863232,"km_value":115672454352863.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635329601536,"description":"Unknown IO ID 45"} 
[2026-08-08 04:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252792576001,"power":12624,"unknown_253":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9015854635329601536}} 
[2026-08-08 04:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":152761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:32:39] local.INFO: GPS data processed {"connection_id":152761,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:32:39] local.INFO: Acknowledgment sent {"connection_id":152761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:32:45] local.INFO: TCP Data received {"connection_id":152760,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7534b8012d0a98c006f14608001500772e..."} 
[2026-08-08 04:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7534b8012d0a98c006f14608001500772e..."} 
[2026-08-08 04:32:45] local.INFO: Processing buffer {"connection_id":152760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7534b8012d0a98c006f14608001500772e..."} 
[2026-08-08 04:32:45] local.INFO: Packet analysis {"connection_id":152760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:32:45] local.INFO: Extracted packet for processing {"connection_id":152760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:32:45] local.INFO: GPS Element Parsed {"raw_longitude":755669184,"raw_latitude":116475400,"longitude_deg":75.5669184,"latitude_deg":11.64754,"altitude":21,"angle":119,"satellites":46,"speed":22,"hex_longitude":"2d0a98c0","hex_latitude":"06f14608","is_valid_coordinates":true} 
[2026-08-08 04:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252770304001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374584576288227328,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754915917356922880,"note":"Value kept but may cause issues"} 
[2026-08-08 04:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143651000,"timestamp_ms":1786143651000,"timestamp_seconds":1786143651,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7534b8"} 
[2026-08-08 04:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:32: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-08-08 04:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252770304001,"66":27484,"118":206,"2":56576,"24":22,"16":374584576288227328,"45":754915917356922880},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252770304001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:32:45] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374584576288227328,"km_value":374584576288227.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":754915917356922880,"description":"Unknown IO ID 45"} 
[2026-08-08 04:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252770304001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":754915917356922880}} 
[2026-08-08 04:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":152760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:32:45] local.INFO: GPS data processed {"connection_id":152760,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:32:45] local.INFO: Acknowledgment sent {"connection_id":152760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:33:07] local.INFO: TCP Data received {"connection_id":150309,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:33:07] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:33:07] local.INFO: IMEI packet received {"connection_id":150309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":150309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:33:12] local.INFO: TCP Data received {"connection_id":150309,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:33:12] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:33:12] local.INFO: IMEI packet received {"connection_id":150309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":150309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:33:13] local.INFO: TCP Data received {"connection_id":150309,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde756f50012d0ab70006f133b80014007a33..."} 
[2026-08-08 04:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde756f50012d0ab70006f133b80014007a33..."} 
[2026-08-08 04:33:13] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde756f50012d0ab70006f133b80014007a33..."} 
[2026-08-08 04:33:13] local.INFO: Packet analysis {"connection_id":150309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:33:13] local.INFO: Extracted packet for processing {"connection_id":150309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755676928,"raw_latitude":116470712,"longitude_deg":75.5676928,"latitude_deg":11.6470712,"altitude":20,"angle":122,"satellites":51,"speed":30,"hex_longitude":"2d0ab700","hex_latitude":"06f133b8","is_valid_coordinates":true} 
[2026-08-08 04:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252774656001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374585010079924224,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763571272889534464,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143666000,"timestamp_ms":1786143666000,"timestamp_seconds":1786143666,"priority":1,"record_length":96,"hex_timestamp":"0000019fde756f50"} 
[2026-08-08 04:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:33: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-08-08 04:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252774656001,"66":27310,"118":206,"2":56576,"24":30,"16":374585010079924224,"45":763571272889534464},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252774656001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:33:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374585010079924224,"km_value":374585010079924.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":763571272889534464,"description":"Unknown IO ID 45"} 
[2026-08-08 04:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252774656001,"power":27310,"unknown_118":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":763571272889534464}} 
[2026-08-08 04:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":150309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:33:13] local.INFO: GPS data processed {"connection_id":150309,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:33:13] local.INFO: Acknowledgment sent {"connection_id":150309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:33:24] local.INFO: TCP Data received {"connection_id":152761,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde767120012d7d1c0005d58e780000015a0f..."} 
[2026-08-08 04:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde767120012d7d1c0005d58e780000015a0f..."} 
[2026-08-08 04:33:24] local.INFO: Processing buffer {"connection_id":152761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde767120012d7d1c0005d58e780000015a0f..."} 
[2026-08-08 04:33:24] local.INFO: Packet analysis {"connection_id":152761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde76"} 
[2026-08-08 04:33:24] local.INFO: Extracted packet for processing {"connection_id":152761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde76"} 
[2026-08-08 04:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":97881720,"longitude_deg":76.3173888,"latitude_deg":9.788172,"altitude":0,"angle":346,"satellites":15,"speed":47,"hex_longitude":"2d7d1c00","hex_latitude":"05d58e78","is_valid_coordinates":true} 
[2026-08-08 04:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252793344001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115672883849592832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635330297856,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786143732000,"timestamp_ms":1786143732000,"timestamp_seconds":1786143732,"priority":1,"record_length":96,"hex_timestamp":"0000019fde767120"} 
[2026-08-08 04:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 04:33:24] 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-08-08 04:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":152761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":152761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:33:24] 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-08-08 04:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252793344001,"66":12232,"253":206,"85":15104,"24":47,"16":115672883849592832,"45":9015854635330297856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-08 04:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252793344001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:33:24] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-08 04:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115672883849592832,"km_value":115672883849592.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635330297856,"description":"Unknown IO ID 45"} 
[2026-08-08 04:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252793344001,"power":12232,"unknown_253":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9015854635330297856}} 
[2026-08-08 04:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":152761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:33:25] local.INFO: GPS data processed {"connection_id":152761,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:33:25] local.INFO: Acknowledgment sent {"connection_id":152761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:33:36] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:36] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:36] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:33:37] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:37] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:37] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:33:43] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:43] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:33:43] local.INFO: IMEI packet received {"connection_id":152762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":152762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:33:44] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde779a00012d7cc34005d71f80000001570f..."} 
[2026-08-08 04:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde779a00012d7cc34005d71f80000001570f..."} 
[2026-08-08 04:33:44] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde779a00012d7cc34005d71f80000001570f..."} 
[2026-08-08 04:33:44] local.INFO: Packet analysis {"connection_id":152762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:33:44] local.INFO: Extracted packet for processing {"connection_id":152762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763151168,"raw_latitude":97984384,"longitude_deg":76.3151168,"latitude_deg":9.7984384,"altitude":0,"angle":343,"satellites":15,"speed":61,"hex_longitude":"2d7cc340","hex_latitude":"05d71f80","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252813312001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115678012040544256,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993195899731353600,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786143808000,"timestamp_ms":1786143808000,"timestamp_seconds":1786143808,"priority":1,"record_length":96,"hex_timestamp":"0000019fde779a00"} 
[2026-08-08 04:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:33: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-08-08 04: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 04:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:33:44] 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-08-08 04:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252813312001,"66":12515,"29":206,"85":15104,"24":61,"16":115678012040544256,"45":8993195899731353600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-08 04:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252813312001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:33:44] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-08 04:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115678012040544256,"km_value":115678012040544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993195899731353600,"description":"Unknown IO ID 45"} 
[2026-08-08 04:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252813312001,"power":12515,"unknown_29":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8993195899731353600}} 
[2026-08-08 04:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":152762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:33:44] local.INFO: GPS data processed {"connection_id":152762,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:33:44] local.INFO: Acknowledgment sent {"connection_id":152762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:33:45] local.INFO: TCP Data received {"connection_id":150309,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde759a48012d0ad08006f123d80012008631..."} 
[2026-08-08 04:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde759a48012d0ad08006f123d80012008631..."} 
[2026-08-08 04:33:45] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde759a48012d0ad08006f123d80012008631..."} 
[2026-08-08 04:33:45] local.INFO: Packet analysis {"connection_id":150309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:33:45] local.INFO: Extracted packet for processing {"connection_id":150309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:33:45] local.INFO: GPS Element Parsed {"raw_longitude":755683456,"raw_latitude":116466648,"longitude_deg":75.5683456,"latitude_deg":11.6466648,"altitude":18,"angle":134,"satellites":49,"speed":16,"hex_longitude":"2d0ad080","hex_latitude":"06f123d8","is_valid_coordinates":true} 
[2026-08-08 04:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252778496001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374585375152144384,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":772085890933831680,"note":"Value kept but may cause issues"} 
[2026-08-08 04:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143677000,"timestamp_ms":1786143677000,"timestamp_seconds":1786143677,"priority":1,"record_length":96,"hex_timestamp":"0000019fde759a48"} 
[2026-08-08 04:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":174,"data_length":795,"current_offset":136} 
[2026-08-08 04:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252778496001,"66":26789,"118":206,"2":56576,"24":16,"16":374585375152144384,"45":772085890933831680},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252778496001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:33:45] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374585375152144384,"km_value":374585375152144.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":772085890933831680,"description":"Unknown IO ID 45"} 
[2026-08-08 04:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252778496001,"power":26789,"unknown_118":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":772085890933831680}} 
[2026-08-08 04:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":150309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:33:45] local.INFO: GPS data processed {"connection_id":150309,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:33:45] local.INFO: Acknowledgment sent {"connection_id":150309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:34:07] local.INFO: TCP Data received {"connection_id":150310,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:34:07] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:34:07] local.INFO: IMEI packet received {"connection_id":150310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":150310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:34:14] local.INFO: TCP Data received {"connection_id":152762,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde77b170012d7cb90005d74118000001570e..."} 
[2026-08-08 04:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde77b170012d7cb90005d74118000001570e..."} 
[2026-08-08 04:34:14] local.INFO: Processing buffer {"connection_id":152762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde77b170012d7cb90005d74118000001570e..."} 
[2026-08-08 04:34:14] local.INFO: Packet analysis {"connection_id":152762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:34:14] local.INFO: Extracted packet for processing {"connection_id":152762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763148544,"raw_latitude":97992984,"longitude_deg":76.3148544,"latitude_deg":9.7992984,"altitude":0,"angle":343,"satellites":14,"speed":57,"hex_longitude":"2d7cb900","hex_latitude":"05d74118","is_valid_coordinates":true} 
[2026-08-08 04:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252814848001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115678445832241152,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990099674989821952,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143814000,"timestamp_ms":1786143814000,"timestamp_seconds":1786143814,"priority":1,"record_length":96,"hex_timestamp":"0000019fde77b170"} 
[2026-08-08 04:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-08 04:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:34:14] 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-08-08 04:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252814848001,"66":12613,"30":206,"85":15104,"24":57,"16":115678445832241152,"45":8990099674989821952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-08 04:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252814848001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:34:14] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 04:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115678445832241152,"km_value":115678445832241.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990099674989821952,"description":"Unknown IO ID 45"} 
[2026-08-08 04:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252814848001,"power":12613,"unknown_30":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8990099674989821952}} 
[2026-08-08 04:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":152762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:34:14] local.INFO: GPS data processed {"connection_id":152762,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:34:14] local.INFO: Acknowledgment sent {"connection_id":152762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:34:18] local.INFO: TCP Data received {"connection_id":150310,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:34:18] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:34:18] local.INFO: IMEI packet received {"connection_id":150310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":150310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:34:19] local.INFO: TCP Data received {"connection_id":150310,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde75ec50012d0ae70006f10e380012008532..."} 
[2026-08-08 04:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde75ec50012d0ae70006f10e380012008532..."} 
[2026-08-08 04:34:19] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde75ec50012d0ae70006f10e380012008532..."} 
[2026-08-08 04:34:19] local.INFO: Packet analysis {"connection_id":150310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:34:19] local.INFO: Extracted packet for processing {"connection_id":150310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde75"} 
[2026-08-08 04:34:19] local.INFO: GPS Element Parsed {"raw_longitude":755689216,"raw_latitude":116461112,"longitude_deg":75.5689216,"latitude_deg":11.6461112,"altitude":18,"angle":133,"satellites":50,"speed":26,"hex_longitude":"2d0ae700","hex_latitude":"06f10e38","is_valid_coordinates":true} 
[2026-08-08 04:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252781312001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374585761699201024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":779263502838913024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786143698000,"timestamp_ms":1786143698000,"timestamp_seconds":1786143698,"priority":1,"record_length":96,"hex_timestamp":"0000019fde75ec50"} 
[2026-08-08 04:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-08 04:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252781312001,"66":27517,"118":206,"2":56576,"24":26,"16":374585761699201024,"45":779263502838913024},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252781312001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:34:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374585761699201024,"km_value":374585761699201.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":779263502838913024,"description":"Unknown IO ID 45"} 
[2026-08-08 04:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252781312001,"power":27517,"unknown_118":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":779263502838913024}} 
[2026-08-08 04:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":150310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:34:19] local.INFO: GPS data processed {"connection_id":150310,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:34:19] local.INFO: Acknowledgment sent {"connection_id":150310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:34:32] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:32] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:32] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:34:33] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:33] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:33] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:34:38] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:38] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:34:38] local.INFO: IMEI packet received {"connection_id":151281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":151281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:34:39] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde77ccc8012d7cb08005d763200000015b0e..."} 
[2026-08-08 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde77ccc8012d7cb08005d763200000015b0e..."} 
[2026-08-08 04:34:39] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde77ccc8012d7cb08005d763200000015b0e..."} 
[2026-08-08 04:34:39] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:34:39] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763146368,"raw_latitude":98001696,"longitude_deg":76.3146368,"latitude_deg":9.8001696,"altitude":0,"angle":347,"satellites":14,"speed":44,"hex_longitude":"2d7cb080","hex_latitude":"05d76320","is_valid_coordinates":true} 
[2026-08-08 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252816384001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115678879623938048,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556480739328,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786143821000,"timestamp_ms":1786143821000,"timestamp_seconds":1786143821,"priority":1,"record_length":96,"hex_timestamp":"0000019fde77ccc8"} 
[2026-08-08 04:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-08 04:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:34:39] 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-08-08 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252816384001,"66":12613,"30":206,"85":15104,"24":44,"16":115678879623938048,"45":8987214556480739328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-08 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252816384001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:34:39] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 04:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115678879623938048,"km_value":115678879623938.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556480739328,"description":"Unknown IO ID 45"} 
[2026-08-08 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252816384001,"power":12613,"unknown_30":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8987214556480739328}} 
[2026-08-08 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:34:39] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:34:39] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:34:40] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde77eff0012d7ca90005d786e80000015d11..."} 
[2026-08-08 04:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde77eff0012d7ca90005d786e80000015d11..."} 
[2026-08-08 04:34:40] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde77eff0012d7ca90005d786e80000015d11..."} 
[2026-08-08 04:34:40] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:34:40] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde77"} 
[2026-08-08 04:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763144448,"raw_latitude":98010856,"longitude_deg":76.3144448,"latitude_deg":9.8010856,"altitude":0,"angle":349,"satellites":17,"speed":37,"hex_longitude":"2d7ca900","hex_latitude":"05d786e8","is_valid_coordinates":true} 
[2026-08-08 04:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252818176001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115679334890471424,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984822019180929024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786143830000,"timestamp_ms":1786143830000,"timestamp_seconds":1786143830,"priority":1,"record_length":96,"hex_timestamp":"0000019fde77eff0"} 
[2026-08-08 04:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:34: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-08-08 04: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":69,"data_length":795,"current_offset":136} 
[2026-08-08 04:34: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-08-08 04:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:34:40] 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-08-08 04:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252818176001,"66":12537,"30":206,"85":15104,"24":37,"16":115679334890471424,"45":8984822019180929024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-08 04:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252818176001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:34:40] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 04:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115679334890471424,"km_value":115679334890471.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984822019180929024,"description":"Unknown IO ID 45"} 
[2026-08-08 04:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252818176001,"power":12537,"unknown_30":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8984822019180929024}} 
[2026-08-08 04:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:34:40] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:34:40] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:34:51] local.INFO: TCP Data received {"connection_id":150310,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde780378012d0b94c006ef6518001000a333..."} 
[2026-08-08 04:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde780378012d0b94c006ef6518001000a333..."} 
[2026-08-08 04:34:51] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde780378012d0b94c006ef6518001000a333..."} 
[2026-08-08 04:34:51] local.INFO: Packet analysis {"connection_id":150310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:34:51] local.INFO: Extracted packet for processing {"connection_id":150310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755733696,"raw_latitude":116352280,"longitude_deg":75.5733696,"latitude_deg":11.635228,"altitude":16,"angle":163,"satellites":51,"speed":59,"hex_longitude":"2d0b94c0","hex_latitude":"06ef6518","is_valid_coordinates":true} 
[2026-08-08 04:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252820224001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374591589969821696,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831899323456786432,"note":"Value kept but may cause issues"} 
[2026-08-08 04:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786143835000,"timestamp_ms":1786143835000,"timestamp_seconds":1786143835,"priority":1,"record_length":96,"hex_timestamp":"0000019fde780378"} 
[2026-08-08 04:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252820224001,"66":27213,"118":206,"2":56576,"24":59,"16":374591589969821696,"45":831899323456786432},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252820224001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:34:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374591589969821696,"km_value":374591589969821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":831899323456786432,"description":"Unknown IO ID 45"} 
[2026-08-08 04:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252820224001,"power":27213,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":831899323456786432}} 
[2026-08-08 04:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":150310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:34:51] local.INFO: GPS data processed {"connection_id":150310,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:34:51] local.INFO: Acknowledgment sent {"connection_id":150310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:35:10] local.INFO: TCP Data received {"connection_id":150050,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:10] local.INFO: Processing buffer {"connection_id":150050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:10] local.INFO: IMEI packet received {"connection_id":150050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":150050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:35:11] local.INFO: TCP Data received {"connection_id":151281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde781318012d7ca28005d7ac500000015f0f..."} 
[2026-08-08 04:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde781318012d7ca28005d7ac500000015f0f..."} 
[2026-08-08 04:35:11] local.INFO: Processing buffer {"connection_id":151281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde781318012d7ca28005d7ac500000015f0f..."} 
[2026-08-08 04:35:11] local.INFO: Packet analysis {"connection_id":151281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:11] local.INFO: Extracted packet for processing {"connection_id":151281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763142784,"raw_latitude":98020432,"longitude_deg":76.3142784,"latitude_deg":9.8020432,"altitude":0,"angle":351,"satellites":15,"speed":50,"hex_longitude":"2d7ca280","hex_latitude":"05d7ac50","is_valid_coordinates":true} 
[2026-08-08 04:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252820480001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115679807336873984,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982710956857944064,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786143839000,"timestamp_ms":1786143839000,"timestamp_seconds":1786143839,"priority":1,"record_length":96,"hex_timestamp":"0000019fde781318"} 
[2026-08-08 04:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 04:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:35:11] 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-08-08 04:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252820480001,"66":12385,"195":206,"85":15104,"24":50,"16":115679807336873984,"45":8982710956857944064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-08 04:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252820480001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:35:11] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 04:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115679807336873984,"km_value":115679807336873.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982710956857944064,"description":"Unknown IO ID 45"} 
[2026-08-08 04:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252820480001,"power":12385,"unknown_195":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8982710956857944064}} 
[2026-08-08 04:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":151281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:35:11] local.INFO: GPS data processed {"connection_id":151281,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:35:11] local.INFO: Acknowledgment sent {"connection_id":151281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:35:12] local.INFO: TCP Data received {"connection_id":150050,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:12] local.INFO: Processing buffer {"connection_id":150050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:12] local.INFO: IMEI packet received {"connection_id":150050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":150050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:35:15] local.INFO: TCP Data received {"connection_id":150050,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:15] local.INFO: Processing buffer {"connection_id":150050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:35:15] local.INFO: IMEI packet received {"connection_id":150050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":150050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:35:17] local.INFO: TCP Data received {"connection_id":150050,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde781ae8012d0b9fc006ef43b0000f00a034..."} 
[2026-08-08 04:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde781ae8012d0b9fc006ef43b0000f00a034..."} 
[2026-08-08 04:35:17] local.INFO: Processing buffer {"connection_id":150050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde781ae8012d0b9fc006ef43b0000f00a034..."} 
[2026-08-08 04:35:17] local.INFO: Packet analysis {"connection_id":150050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:17] local.INFO: Extracted packet for processing {"connection_id":150050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:17] local.INFO: GPS Element Parsed {"raw_longitude":755736512,"raw_latitude":116343728,"longitude_deg":75.5736512,"latitude_deg":11.6343728,"altitude":15,"angle":160,"satellites":52,"speed":59,"hex_longitude":"2d0b9fc0","hex_latitude":"06ef43b0","is_valid_coordinates":true} 
[2026-08-08 04:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252821760001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374592023761518592,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834502966989101056,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786143841000,"timestamp_ms":1786143841000,"timestamp_seconds":1786143841,"priority":1,"record_length":96,"hex_timestamp":"0000019fde781ae8"} 
[2026-08-08 04:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04: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-08-08 04:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252821760001,"66":27484,"118":206,"2":56576,"24":59,"16":374592023761518592,"45":834502966989101056},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252821760001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:35:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374592023761518592,"km_value":374592023761518.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":834502966989101056,"description":"Unknown IO ID 45"} 
[2026-08-08 04:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252821760001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":834502966989101056}} 
[2026-08-08 04:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":150050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:35:17] local.INFO: GPS data processed {"connection_id":150050,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:35:17] local.INFO: Acknowledgment sent {"connection_id":150050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:35:19] local.INFO: TCP Data received {"connection_id":150050,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde783258012d0bac0006ef22e0000e009e34..."} 
[2026-08-08 04:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde783258012d0bac0006ef22e0000e009e34..."} 
[2026-08-08 04:35:19] local.INFO: Processing buffer {"connection_id":150050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde783258012d0bac0006ef22e0000e009e34..."} 
[2026-08-08 04:35:19] local.INFO: Packet analysis {"connection_id":150050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:19] local.INFO: Extracted packet for processing {"connection_id":150050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:19] local.INFO: GPS Element Parsed {"raw_longitude":755739648,"raw_latitude":116335328,"longitude_deg":75.5739648,"latitude_deg":11.6335328,"altitude":14,"angle":158,"satellites":52,"speed":59,"hex_longitude":"2d0bac00","hex_latitude":"06ef22e0","is_valid_coordinates":true} 
[2026-08-08 04:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252823296001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374592457553215488,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837599191730728960,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786143847000,"timestamp_ms":1786143847000,"timestamp_seconds":1786143847,"priority":1,"record_length":96,"hex_timestamp":"0000019fde783258"} 
[2026-08-08 04:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:35: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-08-08 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252823296001,"66":27343,"118":206,"2":56576,"24":59,"16":374592457553215488,"45":837599191730728960},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252823296001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:35:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374592457553215488,"km_value":374592457553215.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":837599191730728960,"description":"Unknown IO ID 45"} 
[2026-08-08 04:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252823296001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":837599191730728960}} 
[2026-08-08 04:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":150050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:35:19] local.INFO: GPS data processed {"connection_id":150050,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:35:19] local.INFO: Acknowledgment sent {"connection_id":150050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:35:37] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:37] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:37] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:35:40] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:40] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:40] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:35:43] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:43] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:35:43] local.INFO: IMEI packet received {"connection_id":151282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":151282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:35:44] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7920a0012d7c840005d944f00000016111..."} 
[2026-08-08 04:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7920a0012d7c840005d944f00000016111..."} 
[2026-08-08 04:35:44] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7920a0012d7c840005d944f00000016111..."} 
[2026-08-08 04:35:44] local.INFO: Packet analysis {"connection_id":151282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde79"} 
[2026-08-08 04:35:44] local.INFO: Extracted packet for processing {"connection_id":151282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde79"} 
[2026-08-08 04:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763134976,"raw_latitude":98125040,"longitude_deg":76.3134976,"latitude_deg":9.812504,"altitude":0,"angle":353,"satellites":17,"speed":66,"hex_longitude":"2d7c8400","hex_latitude":"05d944f0","is_valid_coordinates":true} 
[2026-08-08 04:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252838912001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115684892578152448,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176420714496,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786143908000,"timestamp_ms":1786143908000,"timestamp_seconds":1786143908,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7920a0"} 
[2026-08-08 04:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 04:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:35:44] 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-08-08 04:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252838912001,"66":12439,"196":206,"85":15104,"24":66,"16":115684892578152448,"45":8973211176420714496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-08 04:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252838912001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:35:44] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 04:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115684892578152448,"km_value":115684892578152.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176420714496,"description":"Unknown IO ID 45"} 
[2026-08-08 04:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252838912001,"power":12439,"unknown_196":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":8973211176420714496}} 
[2026-08-08 04:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":151282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:35:44] local.INFO: GPS data processed {"connection_id":151282,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:35:44] local.INFO: Acknowledgment sent {"connection_id":151282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:35:51] local.INFO: TCP Data received {"connection_id":150050,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7849c8012d0bb90006ef0250000e009e34..."} 
[2026-08-08 04:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7849c8012d0bb90006ef0250000e009e34..."} 
[2026-08-08 04:35:51] local.INFO: Processing buffer {"connection_id":150050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7849c8012d0bb90006ef0250000e009e34..."} 
[2026-08-08 04:35:51] local.INFO: Packet analysis {"connection_id":150050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:51] local.INFO: Extracted packet for processing {"connection_id":150050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755742976,"raw_latitude":116326992,"longitude_deg":75.5742976,"latitude_deg":11.6326992,"altitude":14,"angle":158,"satellites":52,"speed":59,"hex_longitude":"2d0bb900","hex_latitude":"06ef0250","is_valid_coordinates":true} 
[2026-08-08 04:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252824832001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374592891344912384,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841047260193284096,"note":"Value kept but may cause issues"} 
[2026-08-08 04:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786143853000,"timestamp_ms":1786143853000,"timestamp_seconds":1786143853,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7849c8"} 
[2026-08-08 04:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:35: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-08-08 04:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252824832001,"66":27376,"118":206,"2":56576,"24":59,"16":374592891344912384,"45":841047260193284096},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252824832001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:35:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374592891344912384,"km_value":374592891344912.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":841047260193284096,"description":"Unknown IO ID 45"} 
[2026-08-08 04:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252824832001,"power":27376,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":841047260193284096}} 
[2026-08-08 04:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":150050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:35:51] local.INFO: GPS data processed {"connection_id":150050,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:35:51] local.INFO: Acknowledgment sent {"connection_id":150050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:36:07] local.INFO: TCP Data received {"connection_id":150051,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:36:07] local.INFO: Processing buffer {"connection_id":150051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:36:07] local.INFO: IMEI packet received {"connection_id":150051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":150051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:36:09] local.INFO: TCP Data received {"connection_id":150051,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:36:09] local.INFO: Processing buffer {"connection_id":150051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:36:09] local.INFO: IMEI packet received {"connection_id":150051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":150051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:36:11] local.INFO: TCP Data received {"connection_id":150051,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde786138012d0bc5c006eee1e8000e009f34..."} 
[2026-08-08 04:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde786138012d0bc5c006eee1e8000e009f34..."} 
[2026-08-08 04:36:11] local.INFO: Processing buffer {"connection_id":150051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde786138012d0bc5c006eee1e8000e009f34..."} 
[2026-08-08 04:36:11] local.INFO: Packet analysis {"connection_id":150051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:36:11] local.INFO: Extracted packet for processing {"connection_id":150051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":755746240,"raw_latitude":116318696,"longitude_deg":75.574624,"latitude_deg":11.6318696,"altitude":14,"angle":159,"satellites":52,"speed":58,"hex_longitude":"2d0bc5c0","hex_latitude":"06eee1e8","is_valid_coordinates":true} 
[2026-08-08 04:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252826368001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374593325136609280,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844706434888388608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786143859000,"timestamp_ms":1786143859000,"timestamp_seconds":1786143859,"priority":1,"record_length":96,"hex_timestamp":"0000019fde786138"} 
[2026-08-08 04:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252826368001,"66":27484,"118":206,"2":56576,"24":58,"16":374593325136609280,"45":844706434888388608},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252826368001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:36:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374593325136609280,"km_value":374593325136609.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":844706434888388608,"description":"Unknown IO ID 45"} 
[2026-08-08 04:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252826368001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":844706434888388608}} 
[2026-08-08 04:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":150051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:36:11] local.INFO: GPS data processed {"connection_id":150051,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:36:11] local.INFO: Acknowledgment sent {"connection_id":150051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:36:13] local.INFO: TCP Data received {"connection_id":150051,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7878a8012d0bd34006eec1c0000f009c34..."} 
[2026-08-08 04:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7878a8012d0bd34006eec1c0000f009c34..."} 
[2026-08-08 04:36:13] local.INFO: Processing buffer {"connection_id":150051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7878a8012d0bd34006eec1c0000f009c34..."} 
[2026-08-08 04:36:13] local.INFO: Packet analysis {"connection_id":150051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:36:13] local.INFO: Extracted packet for processing {"connection_id":150051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:36:13] local.INFO: GPS Element Parsed {"raw_longitude":755749696,"raw_latitude":116310464,"longitude_deg":75.5749696,"latitude_deg":11.6310464,"altitude":15,"angle":156,"satellites":52,"speed":59,"hex_longitude":"2d0bd340","hex_latitude":"06eec1c0","is_valid_coordinates":true} 
[2026-08-08 04:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252827904001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374593754633338880,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848295240839325696,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786143865000,"timestamp_ms":1786143865000,"timestamp_seconds":1786143865,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7878a8"} 
[2026-08-08 04:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:36: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-08-08 04:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252827904001,"66":27343,"118":206,"2":56576,"24":59,"16":374593754633338880,"45":848295240839325696},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 04:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252827904001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:36:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 04:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374593754633338880,"km_value":374593754633338.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":848295240839325696,"description":"Unknown IO ID 45"} 
[2026-08-08 04:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252827904001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":848295240839325696}} 
[2026-08-08 04:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":150051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:36:13] local.INFO: GPS data processed {"connection_id":150051,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:36:13] local.INFO: Acknowledgment sent {"connection_id":150051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:36:14] local.INFO: TCP Data received {"connection_id":151282,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde793810012d7c804005d96b700000016211..."} 
[2026-08-08 04:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde793810012d7c804005d96b700000016211..."} 
[2026-08-08 04:36:14] local.INFO: Processing buffer {"connection_id":151282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde793810012d7c804005d96b700000016211..."} 
[2026-08-08 04:36:14] local.INFO: Packet analysis {"connection_id":151282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde79"} 
[2026-08-08 04:36:14] local.INFO: Extracted packet for processing {"connection_id":151282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde79"} 
[2026-08-08 04:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":98134896,"longitude_deg":76.3134016,"latitude_deg":9.8134896,"altitude":0,"angle":354,"satellites":17,"speed":64,"hex_longitude":"2d7c8040","hex_latitude":"05d96b70","is_valid_coordinates":true} 
[2026-08-08 04:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252840448001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115685373614489600,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972296382748880896,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143914000,"timestamp_ms":1786143914000,"timestamp_seconds":1786143914,"priority":1,"record_length":96,"hex_timestamp":"0000019fde793810"} 
[2026-08-08 04:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 04:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:36:14] 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-08-08 04:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252840448001,"66":12472,"196":206,"85":15104,"24":64,"16":115685373614489600,"45":8972296382748880896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-08 04:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252840448001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:36:14] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 04:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115685373614489600,"km_value":115685373614489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972296382748880896,"description":"Unknown IO ID 45"} 
[2026-08-08 04:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252840448001,"power":12472,"unknown_196":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":8972296382748880896}} 
[2026-08-08 04:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":151282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:36:14] local.INFO: GPS data processed {"connection_id":151282,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:36:14] local.INFO: Acknowledgment sent {"connection_id":151282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:36:32] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:36:32] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:36:32] local.INFO: IMEI packet received {"connection_id":150311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":150311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:36:38] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:36:38] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:36:38] local.INFO: IMEI packet received {"connection_id":150311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":150311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:36:40] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a4d68012d7c208005daef980000014a13..."} 
[2026-08-08 04:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a4d68012d7c208005daef980000014a13..."} 
[2026-08-08 04:36:40] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a4d68012d7c208005daef980000014a13..."} 
[2026-08-08 04:36:40] local.INFO: Packet analysis {"connection_id":150311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:36:40] local.INFO: Extracted packet for processing {"connection_id":150311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763109504,"raw_latitude":98234264,"longitude_deg":76.3109504,"latitude_deg":9.8234264,"altitude":0,"angle":330,"satellites":19,"speed":14,"hex_longitude":"2d7c2080","hex_latitude":"05daef98","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252858112001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690355776552960,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316173705216,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36: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-08-08 04:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786143985000,"timestamp_ms":1786143985000,"timestamp_seconds":1786143985,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a4d68"} 
[2026-08-08 04:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 04:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:36:40] 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-08-08 04:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252858112001,"66":12069,"187":206,"85":15104,"24":14,"16":115690355776552960,"45":8946330316173705216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 04:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252858112001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:36:40] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 04:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690355776552960,"km_value":115690355776552.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316173705216,"description":"Unknown IO ID 45"} 
[2026-08-08 04:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252858112001,"power":12069,"unknown_187":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8946330316173705216}} 
[2026-08-08 04:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":150311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:36:40] local.INFO: GPS data processed {"connection_id":150311,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:36:40] local.INFO: Acknowledgment sent {"connection_id":150311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:36:45] local.INFO: TCP Data received {"connection_id":150051,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde789400012d0be48006ee9e680010009931..."} 
[2026-08-08 04:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde789400012d0be48006ee9e680010009931..."} 
[2026-08-08 04:36:45] local.INFO: Processing buffer {"connection_id":150051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde789400012d0be48006ee9e680010009931..."} 
[2026-08-08 04:36:45] local.INFO: Packet analysis {"connection_id":150051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:36:45] local.INFO: Extracted packet for processing {"connection_id":150051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:36:45] local.INFO: GPS Element Parsed {"raw_longitude":755754112,"raw_latitude":116301416,"longitude_deg":75.5754112,"latitude_deg":11.6301416,"altitude":16,"angle":153,"satellites":49,"speed":47,"hex_longitude":"2d0be480","hex_latitude":"06ee9e68","is_valid_coordinates":true} 
[2026-08-08 04:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252829440001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374594239964643328,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852095153022812160,"note":"Value kept but may cause issues"} 
[2026-08-08 04:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143872000,"timestamp_ms":1786143872000,"timestamp_seconds":1786143872,"priority":1,"record_length":96,"hex_timestamp":"0000019fde789400"} 
[2026-08-08 04:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04: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-08-08 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252829440001,"66":27365,"158":206,"2":56576,"24":47,"16":374594239964643328,"45":852095153022812160},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252829440001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:36:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374594239964643328,"km_value":374594239964643.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":852095153022812160,"description":"Unknown IO ID 45"} 
[2026-08-08 04:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252829440001,"power":27365,"unknown_158":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":852095153022812160}} 
[2026-08-08 04:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":150051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:36:45] local.INFO: GPS data processed {"connection_id":150051,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:36:45] local.INFO: Acknowledgment sent {"connection_id":150051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:37:08] local.INFO: TCP Data received {"connection_id":150312,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:37:08] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:37:08] local.INFO: IMEI packet received {"connection_id":150312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":150312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:37:11] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a5150012d7c200005daf0780000013e13..."} 
[2026-08-08 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a5150012d7c200005daf0780000013e13..."} 
[2026-08-08 04:37:11] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a5150012d7c200005daf0780000013e13..."} 
[2026-08-08 04:37:11] local.INFO: Packet analysis {"connection_id":150311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:37:11] local.INFO: Extracted packet for processing {"connection_id":150311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763109376,"raw_latitude":98234488,"longitude_deg":76.3109376,"latitude_deg":9.8234488,"altitude":0,"angle":318,"satellites":19,"speed":11,"hex_longitude":"2d7c2000","hex_latitude":"05daf078","is_valid_coordinates":true} 
[2026-08-08 04:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252860160001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690368661454848,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944289622594131968,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37: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-08-08 04:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786143986000,"timestamp_ms":1786143986000,"timestamp_seconds":1786143986,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a5150"} 
[2026-08-08 04:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 04:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:37:11] 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-08-08 04:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252860160001,"66":12069,"187":206,"85":15104,"24":11,"16":115690368661454848,"45":8944289622594131968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 04:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252860160001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:37:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 04:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690368661454848,"km_value":115690368661454.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944289622594131968,"description":"Unknown IO ID 45"} 
[2026-08-08 04:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252860160001,"power":12069,"unknown_187":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8944289622594131968}} 
[2026-08-08 04:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":150311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:37:11] local.INFO: GPS data processed {"connection_id":150311,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:37:11] local.INFO: Acknowledgment sent {"connection_id":150311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:37:12] local.INFO: TCP Data received {"connection_id":150312,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:37:12] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:37:12] local.INFO: IMEI packet received {"connection_id":150312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":150312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:37:14] local.INFO: TCP Data received {"connection_id":150312,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde78a788012d0beac006ee8e20001200a632..."} 
[2026-08-08 04:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde78a788012d0beac006ee8e20001200a632..."} 
[2026-08-08 04:37:14] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde78a788012d0beac006ee8e20001200a632..."} 
[2026-08-08 04:37:14] local.INFO: Packet analysis {"connection_id":150312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:37:14] local.INFO: Extracted packet for processing {"connection_id":150312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde78"} 
[2026-08-08 04:37:14] local.INFO: GPS Element Parsed {"raw_longitude":755755712,"raw_latitude":116297248,"longitude_deg":75.5755712,"latitude_deg":11.6297248,"altitude":18,"angle":166,"satellites":50,"speed":29,"hex_longitude":"2d0beac0","hex_latitude":"06ee8e20","is_valid_coordinates":true} 
[2026-08-08 04:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252831232001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374594459007975424,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856950596368754688,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786143877000,"timestamp_ms":1786143877000,"timestamp_seconds":1786143877,"priority":1,"record_length":96,"hex_timestamp":"0000019fde78a788"} 
[2026-08-08 04:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:37: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-08-08 04:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252831232001,"66":27332,"158":206,"2":56576,"24":29,"16":374594459007975424,"45":856950596368754688},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252831232001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:37:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374594459007975424,"km_value":374594459007975.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":856950596368754688,"description":"Unknown IO ID 45"} 
[2026-08-08 04:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252831232001,"power":27332,"unknown_158":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":856950596368754688}} 
[2026-08-08 04:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":150312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:37:14] local.INFO: GPS data processed {"connection_id":150312,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:37:14] local.INFO: Acknowledgment sent {"connection_id":150312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:37:32] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:37:32] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:37:32] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:37:37] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:37:37] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:37:37] local.INFO: IMEI packet received {"connection_id":152763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":152763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:37:38] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a5538012d7c1ec005daf1000000012913..."} 
[2026-08-08 04:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a5538012d7c1ec005daf1000000012913..."} 
[2026-08-08 04:37:38] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a5538012d7c1ec005daf1000000012913..."} 
[2026-08-08 04:37:38] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:37:38] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763109056,"raw_latitude":98234624,"longitude_deg":76.3109056,"latitude_deg":9.8234624,"altitude":0,"angle":297,"satellites":19,"speed":13,"hex_longitude":"2d7c1ec0","hex_latitude":"05daf100","is_valid_coordinates":true} 
[2026-08-08 04:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252860416001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690385841324032,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944148885105833984,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:38] 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-08-08 04:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786143987000,"timestamp_ms":1786143987000,"timestamp_seconds":1786143987,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a5538"} 
[2026-08-08 04:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 04:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:37:38] 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-08-08 04:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252860416001,"66":12493,"187":206,"85":15104,"24":13,"16":115690385841324032,"45":8944148885105833984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 04:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252860416001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:37:38] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 04:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690385841324032,"km_value":115690385841324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944148885105833984,"description":"Unknown IO ID 45"} 
[2026-08-08 04:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252860416001,"power":12493,"unknown_187":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8944148885105833984}} 
[2026-08-08 04:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:37:38] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:37:38] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:37:45] local.INFO: TCP Data received {"connection_id":150312,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a7090012d0c644006edbb90000b00a62d..."} 
[2026-08-08 04:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a7090012d0c644006edbb90000b00a62d..."} 
[2026-08-08 04:37:45] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a7090012d0c644006edbb90000b00a62d..."} 
[2026-08-08 04:37:45] local.INFO: Packet analysis {"connection_id":150312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:37:45] local.INFO: Extracted packet for processing {"connection_id":150312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:37:45] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":116243344,"longitude_deg":75.5786816,"latitude_deg":11.6243344,"altitude":11,"angle":166,"satellites":45,"speed":33,"hex_longitude":"2d0c6440","hex_latitude":"06edbb90","is_valid_coordinates":true} 
[2026-08-08 04:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252859136001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374597508434755584,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889812799887118336,"note":"Value kept but may cause issues"} 
[2026-08-08 04:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786143994000,"timestamp_ms":1786143994000,"timestamp_seconds":1786143994,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a7090"} 
[2026-08-08 04:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:37: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-08-08 04:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252859136001,"66":27484,"158":206,"2":56576,"24":33,"16":374597508434755584,"45":889812799887118336},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252859136001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:37:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374597508434755584,"km_value":374597508434755.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":889812799887118336,"description":"Unknown IO ID 45"} 
[2026-08-08 04:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252859136001,"power":27484,"unknown_158":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":889812799887118336}} 
[2026-08-08 04:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":150312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:37:46] local.INFO: GPS data processed {"connection_id":150312,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:37:46] local.INFO: Acknowledgment sent {"connection_id":150312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:38:07] local.INFO: TCP Data received {"connection_id":152764,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:38:07] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:38:07] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:38:09] local.INFO: TCP Data received {"connection_id":152763,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a5920012d7c1d8005daf1300000011a13..."} 
[2026-08-08 04:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a5920012d7c1d8005daf1300000011a13..."} 
[2026-08-08 04:38:09] local.INFO: Processing buffer {"connection_id":152763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a5920012d7c1d8005daf1300000011a13..."} 
[2026-08-08 04:38:09] local.INFO: Packet analysis {"connection_id":152763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:09] local.INFO: Extracted packet for processing {"connection_id":152763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:09] local.INFO: GPS Element Parsed {"raw_longitude":763108736,"raw_latitude":98234672,"longitude_deg":76.3108736,"latitude_deg":9.8234672,"altitude":0,"angle":282,"satellites":19,"speed":14,"hex_longitude":"2d7c1d80","hex_latitude":"05daf130","is_valid_coordinates":true} 
[2026-08-08 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252860672001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690398726225920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943797041384980480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:09] 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-08-08 04:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786143988000,"timestamp_ms":1786143988000,"timestamp_seconds":1786143988,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a5920"} 
[2026-08-08 04:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:38: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-08-08 04: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-08 04:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:38:09] 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-08-08 04:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252860672001,"66":12374,"187":206,"85":15104,"24":14,"16":115690398726225920,"45":8943797041384980480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 04:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252860672001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:38:09] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 04:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690398726225920,"km_value":115690398726225.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943797041384980480,"description":"Unknown IO ID 45"} 
[2026-08-08 04:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252860672001,"power":12374,"unknown_187":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8943797041384980480}} 
[2026-08-08 04:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":152763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:38:09] local.INFO: GPS data processed {"connection_id":152763,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:38:09] local.INFO: Acknowledgment sent {"connection_id":152763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:38:16] local.INFO: TCP Data received {"connection_id":152764,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:38:16] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:38:16] local.INFO: IMEI packet received {"connection_id":152764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":152764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:38:18] local.INFO: TCP Data received {"connection_id":152764,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a9f70012d0c6a4006ed9790000a00b031..."} 
[2026-08-08 04:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a9f70012d0c6a4006ed9790000a00b031..."} 
[2026-08-08 04:38:18] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a9f70012d0c6a4006ed9790000a00b031..."} 
[2026-08-08 04:38:18] local.INFO: Packet analysis {"connection_id":152764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:18] local.INFO: Extracted packet for processing {"connection_id":152764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:18] local.INFO: GPS Element Parsed {"raw_longitude":755788352,"raw_latitude":116234128,"longitude_deg":75.5788352,"latitude_deg":11.6234128,"altitude":10,"angle":176,"satellites":49,"speed":25,"hex_longitude":"2d0c6a40","hex_latitude":"06ed9790","is_valid_coordinates":true} 
[2026-08-08 04:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252862464001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374597959406321664,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909024628674560,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786144006000,"timestamp_ms":1786144006000,"timestamp_seconds":1786144006,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a9f70"} 
[2026-08-08 04:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04: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-08-08 04:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252862464001,"66":27484,"158":206,"2":56576,"24":25,"16":374597959406321664,"45":892909024628674560},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252862464001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:38:18] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374597959406321664,"km_value":374597959406321.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909024628674560,"description":"Unknown IO ID 45"} 
[2026-08-08 04:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252862464001,"power":27484,"unknown_158":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":892909024628674560}} 
[2026-08-08 04:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":152764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:38:18] local.INFO: GPS data processed {"connection_id":152764,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:38:18] local.INFO: Acknowledgment sent {"connection_id":152764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:38:38] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:38:38] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:38:38] local.INFO: IMEI packet received {"connection_id":152765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":152765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:38:42] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:38:42] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:38:42] local.INFO: IMEI packet received {"connection_id":152765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":152765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:38:43] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a60f0012d7c1b4005daf0c80000010a13..."} 
[2026-08-08 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a60f0012d7c1b4005daf0c80000010a13..."} 
[2026-08-08 04:38:43] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a60f0012d7c1b4005daf0c80000010a13..."} 
[2026-08-08 04:38:43] local.INFO: Packet analysis {"connection_id":152765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:43] local.INFO: Extracted packet for processing {"connection_id":152765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763108160,"raw_latitude":98234568,"longitude_deg":76.310816,"latitude_deg":9.8234568,"altitude":0,"angle":266,"satellites":19,"speed":19,"hex_longitude":"2d7c1b40","hex_latitude":"05daf0c8","is_valid_coordinates":true} 
[2026-08-08 04:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252860928001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690428790996992,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197664104448,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:43] 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-08-08 04:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786143990000,"timestamp_ms":1786143990000,"timestamp_seconds":1786143990,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a60f0"} 
[2026-08-08 04:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 04:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:38:43] 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-08-08 04:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252860928001,"66":12232,"187":206,"85":15104,"24":19,"16":115690428790996992,"45":8943445197664104448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 04:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252860928001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:38:43] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 04:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690428790996992,"km_value":115690428790996.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197664104448,"description":"Unknown IO ID 45"} 
[2026-08-08 04:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252860928001,"power":12232,"unknown_187":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8943445197664104448}} 
[2026-08-08 04:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":152765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:38:43] local.INFO: GPS data processed {"connection_id":152765,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:38:43] local.INFO: Acknowledgment sent {"connection_id":152765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:38:49] local.INFO: TCP Data received {"connection_id":152764,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7ada08012d0c694006ed7350000900b931..."} 
[2026-08-08 04:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7ada08012d0c694006ed7350000900b931..."} 
[2026-08-08 04:38:50] local.INFO: Processing buffer {"connection_id":152764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7ada08012d0c694006ed7350000900b931..."} 
[2026-08-08 04:38:50] local.INFO: Packet analysis {"connection_id":152764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:50] local.INFO: Extracted packet for processing {"connection_id":152764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755788096,"raw_latitude":116224848,"longitude_deg":75.5788096,"latitude_deg":11.6224848,"altitude":9,"angle":185,"satellites":49,"speed":30,"hex_longitude":"2d0c6940","hex_latitude":"06ed7350","is_valid_coordinates":true} 
[2026-08-08 04:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252865536001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374598410377887744,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894597874486579200,"note":"Value kept but may cause issues"} 
[2026-08-08 04:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786144021000,"timestamp_ms":1786144021000,"timestamp_seconds":1786144021,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7ada08"} 
[2026-08-08 04:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:38: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-08-08 04:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:38: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-08-08 04:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252865536001,"66":27484,"158":206,"2":56576,"24":30,"16":374598410377887744,"45":894597874486579200},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252865536001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:38:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374598410377887744,"km_value":374598410377887.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":894597874486579200,"description":"Unknown IO ID 45"} 
[2026-08-08 04:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252865536001,"power":27484,"unknown_158":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":894597874486579200}} 
[2026-08-08 04:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":152764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:38:50] local.INFO: GPS data processed {"connection_id":152764,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:38:50] local.INFO: Acknowledgment sent {"connection_id":152764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:39:07] local.INFO: TCP Data received {"connection_id":150052,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:07] local.INFO: Processing buffer {"connection_id":150052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:07] local.INFO: IMEI packet received {"connection_id":150052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":150052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:39:11] local.INFO: TCP Data received {"connection_id":150052,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:11] local.INFO: Processing buffer {"connection_id":150052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:11] local.INFO: IMEI packet received {"connection_id":150052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":150052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:39:12] local.INFO: TCP Data received {"connection_id":150052,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:12] local.INFO: Processing buffer {"connection_id":150052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:39:12] local.INFO: IMEI packet received {"connection_id":150052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":150052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:39:14] local.INFO: TCP Data received {"connection_id":150052,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7b10b8012d0c648006ed4fe8000900bc2e..."} 
[2026-08-08 04:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7b10b8012d0c648006ed4fe8000900bc2e..."} 
[2026-08-08 04:39:14] local.INFO: Processing buffer {"connection_id":150052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7b10b8012d0c648006ed4fe8000900bc2e..."} 
[2026-08-08 04:39:14] local.INFO: Packet analysis {"connection_id":150052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7b"} 
[2026-08-08 04:39:14] local.INFO: Extracted packet for processing {"connection_id":150052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7b"} 
[2026-08-08 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":755786880,"raw_latitude":116215784,"longitude_deg":75.578688,"latitude_deg":11.6215784,"altitude":9,"angle":188,"satellites":46,"speed":26,"hex_longitude":"2d0c6480","hex_latitude":"06ed4fe8","is_valid_coordinates":true} 
[2026-08-08 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252869376001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374598857054486528,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894316399507492864,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786144035000,"timestamp_ms":1786144035000,"timestamp_seconds":1786144035,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7b10b8"} 
[2026-08-08 04:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252869376001,"66":27376,"158":206,"2":56576,"24":26,"16":374598857054486528,"45":894316399507492864},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252869376001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374598857054486528,"km_value":374598857054486.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":894316399507492864,"description":"Unknown IO ID 45"} 
[2026-08-08 04:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252869376001,"power":27376,"unknown_158":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":894316399507492864}} 
[2026-08-08 04:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":150052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:39:14] local.INFO: GPS data processed {"connection_id":150052,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:39:14] local.INFO: Acknowledgment sent {"connection_id":150052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:39:14] local.INFO: TCP Data received {"connection_id":152765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7a8fd0012d7bf64005daf0380004010d13..."} 
[2026-08-08 04:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7a8fd0012d7bf64005daf0380004010d13..."} 
[2026-08-08 04:39:14] local.INFO: Processing buffer {"connection_id":152765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7a8fd0012d7bf64005daf0380004010d13..."} 
[2026-08-08 04:39:14] local.INFO: Packet analysis {"connection_id":152765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:39:14] local.INFO: Extracted packet for processing {"connection_id":152765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7a"} 
[2026-08-08 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763098688,"raw_latitude":98234424,"longitude_deg":76.3098688,"latitude_deg":9.8234424,"altitude":4,"angle":269,"satellites":19,"speed":32,"hex_longitude":"2d7bf640","hex_latitude":"05daf038","is_valid_coordinates":true} 
[2026-08-08 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252861440001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115690884057530368,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942811878966478848,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:14] 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-08-08 04:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786144002000,"timestamp_ms":1786144002000,"timestamp_seconds":1786144002,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7a8fd0"} 
[2026-08-08 04:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 04:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:39:14] 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-08-08 04:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252861440001,"66":12461,"187":206,"85":15104,"24":32,"16":115690884057530368,"45":8942811878966478848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 04:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252861440001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115690884057530368,"km_value":115690884057530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942811878966478848,"description":"Unknown IO ID 45"} 
[2026-08-08 04:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252861440001,"power":12461,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8942811878966478848}} 
[2026-08-08 04:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":152765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:39:14] local.INFO: GPS data processed {"connection_id":152765,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:39:14] local.INFO: Acknowledgment sent {"connection_id":152765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:39:15] local.INFO: TCP Data received {"connection_id":150052,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7b62c0012d0c600006ed31e8000a00ba2e..."} 
[2026-08-08 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7b62c0012d0c600006ed31e8000a00ba2e..."} 
[2026-08-08 04:39:15] local.INFO: Processing buffer {"connection_id":150052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7b62c0012d0c600006ed31e8000a00ba2e..."} 
[2026-08-08 04:39:15] local.INFO: Packet analysis {"connection_id":150052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7b"} 
[2026-08-08 04:39:15] local.INFO: Extracted packet for processing {"connection_id":150052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7b"} 
[2026-08-08 04:39:15] local.INFO: GPS Element Parsed {"raw_longitude":755785728,"raw_latitude":116208104,"longitude_deg":75.5785728,"latitude_deg":11.6208104,"altitude":10,"angle":186,"satellites":46,"speed":10,"hex_longitude":"2d0c6000","hex_latitude":"06ed31e8","is_valid_coordinates":true} 
[2026-08-08 04:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252872960001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374599235011608576,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892979393365796864,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786144056000,"timestamp_ms":1786144056000,"timestamp_seconds":1786144056,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7b62c0"} 
[2026-08-08 04:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:39: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-08-08 04:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252872960001,"66":27463,"158":206,"2":56576,"24":10,"16":374599235011608576,"45":892979393365796864},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252872960001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:39:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374599235011608576,"km_value":374599235011608.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":892979393365796864,"description":"Unknown IO ID 45"} 
[2026-08-08 04:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252872960001,"power":27463,"unknown_158":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":892979393365796864}} 
[2026-08-08 04:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":150052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:39:15] local.INFO: GPS data processed {"connection_id":150052,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:39:15] local.INFO: Acknowledgment sent {"connection_id":150052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:39:29] local.INFO: TCP Data received {"connection_id":150053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:29] local.INFO: Processing buffer {"connection_id":150053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:29] local.INFO: IMEI packet received {"connection_id":150053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":150053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:39:33] local.INFO: TCP Data received {"connection_id":150053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:33] local.INFO: Processing buffer {"connection_id":150053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:33] local.INFO: IMEI packet received {"connection_id":150053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":150053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:39:38] local.INFO: TCP Data received {"connection_id":150053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:38] local.INFO: Processing buffer {"connection_id":150053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:39:38] local.INFO: IMEI packet received {"connection_id":150053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":150053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:39:39] local.INFO: TCP Data received {"connection_id":150053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7cb2b0012d7aae0005daa948000600fb18..."} 
[2026-08-08 04:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7cb2b0012d7aae0005daa948000600fb18..."} 
[2026-08-08 04:39:39] local.INFO: Processing buffer {"connection_id":150053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7cb2b0012d7aae0005daa948000600fb18..."} 
[2026-08-08 04:39:39] local.INFO: Packet analysis {"connection_id":150053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:39:39] local.INFO: Extracted packet for processing {"connection_id":150053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763014656,"raw_latitude":98216264,"longitude_deg":76.3014656,"latitude_deg":9.8216264,"altitude":6,"angle":251,"satellites":24,"speed":11,"hex_longitude":"2d7aae00","hex_latitude":"05daa948","is_valid_coordinates":true} 
[2026-08-08 04:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252894976001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115695015816069120,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841269781113513984,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:39] 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-08-08 04:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786144142000,"timestamp_ms":1786144142000,"timestamp_seconds":1786144142,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7cb2b0"} 
[2026-08-08 04:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:39: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-08-08 04: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 04:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:39:39] 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-08-08 04:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252894976001,"66":12461,"188":206,"85":15104,"24":11,"16":115695015816069120,"45":8841269781113513984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-08 04:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252894976001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:39:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-08 04:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115695015816069120,"km_value":115695015816069.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841269781113513984,"description":"Unknown IO ID 45"} 
[2026-08-08 04:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252894976001,"power":12461,"unknown_188":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8841269781113513984}} 
[2026-08-08 04:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":150053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:39:39] local.INFO: GPS data processed {"connection_id":150053,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:39:39] local.INFO: Acknowledgment sent {"connection_id":150053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:39:47] local.INFO: TCP Data received {"connection_id":150052,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7bb4c8012d0c5dc006ed2050000900c02f..."} 
[2026-08-08 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7bb4c8012d0c5dc006ed2050000900c02f..."} 
[2026-08-08 04:39:47] local.INFO: Processing buffer {"connection_id":150052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7bb4c8012d0c5dc006ed2050000900c02f..."} 
[2026-08-08 04:39:47] local.INFO: Packet analysis {"connection_id":150052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7b"} 
[2026-08-08 04:39:47] local.INFO: Extracted packet for processing {"connection_id":150052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7b"} 
[2026-08-08 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":755785152,"raw_latitude":116203600,"longitude_deg":75.5785152,"latitude_deg":11.62036,"altitude":9,"angle":192,"satellites":47,"speed":7,"hex_longitude":"2d0c5dc0","hex_latitude":"06ed2050","is_valid_coordinates":true} 
[2026-08-08 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252878336001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374599458349907968,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891712755968632832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786144077000,"timestamp_ms":1786144077000,"timestamp_seconds":1786144077,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7bb4c8"} 
[2026-08-08 04:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252878336001,"66":27517,"158":206,"2":56576,"24":7,"16":374599458349907968,"45":891712755968632832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252878336001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:39:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374599458349907968,"km_value":374599458349907.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":891712755968632832,"description":"Unknown IO ID 45"} 
[2026-08-08 04:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252878336001,"power":27517,"unknown_158":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":891712755968632832}} 
[2026-08-08 04:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":150052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:39:47] local.INFO: GPS data processed {"connection_id":150052,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:39:47] local.INFO: Acknowledgment sent {"connection_id":150052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:40:07] local.INFO: TCP Data received {"connection_id":150054,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:07] local.INFO: Processing buffer {"connection_id":150054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:07] local.INFO: IMEI packet received {"connection_id":150054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":150054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:40:10] local.INFO: TCP Data received {"connection_id":150054,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:10] local.INFO: Processing buffer {"connection_id":150054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:10] local.INFO: IMEI packet received {"connection_id":150054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":150054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:40:10] local.INFO: TCP Data received {"connection_id":150053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7cf518012d7a8b4005da9f88000400fe19..."} 
[2026-08-08 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7cf518012d7a8b4005da9f88000400fe19..."} 
[2026-08-08 04:40:10] local.INFO: Processing buffer {"connection_id":150053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7cf518012d7a8b4005da9f88000400fe19..."} 
[2026-08-08 04:40:10] local.INFO: Packet analysis {"connection_id":150053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:40:10] local.INFO: Extracted packet for processing {"connection_id":150053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763005760,"raw_latitude":98213768,"longitude_deg":76.300576,"latitude_deg":9.8213768,"altitude":4,"angle":254,"satellites":25,"speed":39,"hex_longitude":"2d7a8b40","hex_latitude":"05da9f88","is_valid_coordinates":true} 
[2026-08-08 04:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252900352001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115695458197700608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840003143718225920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:10] 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-08-08 04:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786144159000,"timestamp_ms":1786144159000,"timestamp_seconds":1786144159,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7cf518"} 
[2026-08-08 04:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:40: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-08-08 04: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 04:40: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-08-08 04:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:40:10] 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-08-08 04:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252900352001,"66":12341,"188":206,"85":15104,"24":39,"16":115695458197700608,"45":8840003143718225920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-08 04:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252900352001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:40:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-08 04:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115695458197700608,"km_value":115695458197700.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840003143718225920,"description":"Unknown IO ID 45"} 
[2026-08-08 04:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252900352001,"power":12341,"unknown_188":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8840003143718225920}} 
[2026-08-08 04:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":150053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:40:10] local.INFO: GPS data processed {"connection_id":150053,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:40:10] local.INFO: Acknowledgment sent {"connection_id":150053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:40:12] local.INFO: TCP Data received {"connection_id":150054,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:12] local.INFO: Processing buffer {"connection_id":150054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:40:12] local.INFO: IMEI packet received {"connection_id":150054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":150054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:40:13] local.INFO: TCP Data received {"connection_id":150054,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7c06d0012d0c5b4006ed1108000900bc2f..."} 
[2026-08-08 04:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7c06d0012d0c5b4006ed1108000900bc2f..."} 
[2026-08-08 04:40:13] local.INFO: Processing buffer {"connection_id":150054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7c06d0012d0c5b4006ed1108000900bc2f..."} 
[2026-08-08 04:40:13] local.INFO: Packet analysis {"connection_id":150054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:40:13] local.INFO: Extracted packet for processing {"connection_id":150054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:40:13] local.INFO: GPS Element Parsed {"raw_longitude":755784512,"raw_latitude":116199688,"longitude_deg":75.5784512,"latitude_deg":11.6199688,"altitude":9,"angle":188,"satellites":47,"speed":5,"hex_longitude":"2d0c5b40","hex_latitude":"06ed1108","is_valid_coordinates":true} 
[2026-08-08 04:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252883712001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374599651623436288,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891079437269880832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786144098000,"timestamp_ms":1786144098000,"timestamp_seconds":1786144098,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7c06d0"} 
[2026-08-08 04:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 04:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252883712001,"66":27463,"158":206,"2":56576,"24":5,"16":374599651623436288,"45":891079437269880832},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252883712001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:40:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374599651623436288,"km_value":374599651623436.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":891079437269880832,"description":"Unknown IO ID 45"} 
[2026-08-08 04:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252883712001,"power":27463,"unknown_158":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":891079437269880832}} 
[2026-08-08 04:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":150054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:40:13] local.INFO: GPS data processed {"connection_id":150054,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:40:13] local.INFO: Acknowledgment sent {"connection_id":150054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:40:33] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:40:33] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:40:33] local.INFO: IMEI packet received {"connection_id":150313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":150313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:40:38] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:40:38] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:40:38] local.INFO: IMEI packet received {"connection_id":150313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":150313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:40:38] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7d9d10012d7a2dc005dac3c80004011019..."} 
[2026-08-08 04:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7d9d10012d7a2dc005dac3c80004011019..."} 
[2026-08-08 04:40:39] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7d9d10012d7a2dc005dac3c80004011019..."} 
[2026-08-08 04:40:39] local.INFO: Packet analysis {"connection_id":150313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:40:39] local.INFO: Extracted packet for processing {"connection_id":150313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:40:39] local.INFO: GPS Element Parsed {"raw_longitude":762981824,"raw_latitude":98223048,"longitude_deg":76.2981824,"latitude_deg":9.8223048,"altitude":4,"angle":272,"satellites":25,"speed":24,"hex_longitude":"2d7a2dc0","hex_latitude":"05dac3c8","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252915200001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115697085990305792,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805100246607841280,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:39] 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-08-08 04:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786144202000,"timestamp_ms":1786144202000,"timestamp_seconds":1786144202,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7d9d10"} 
[2026-08-08 04:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 04:40: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-08-08 04:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:40:39] 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-08-08 04:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252915200001,"66":12319,"229":206,"85":15104,"24":24,"16":115697085990305792,"45":8805100246607841280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 04:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252915200001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:40:39] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 04:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115697085990305792,"km_value":115697085990305.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805100246607841280,"description":"Unknown IO ID 45"} 
[2026-08-08 04:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252915200001,"power":12319,"unknown_229":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8805100246607841280}} 
[2026-08-08 04:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":150313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:40:39] local.INFO: GPS data processed {"connection_id":150313,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:40:39] local.INFO: Acknowledgment sent {"connection_id":150313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:40:44] local.INFO: TCP Data received {"connection_id":150054,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7c3d80012d0c598006ed07b0000a00c931..."} 
[2026-08-08 04:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7c3d80012d0c598006ed07b0000a00c931..."} 
[2026-08-08 04:40:44] local.INFO: Processing buffer {"connection_id":150054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7c3d80012d0c598006ed07b0000a00c931..."} 
[2026-08-08 04:40:44] local.INFO: Packet analysis {"connection_id":150054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:40:44] local.INFO: Extracted packet for processing {"connection_id":150054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7c"} 
[2026-08-08 04:40:44] local.INFO: GPS Element Parsed {"raw_longitude":755784064,"raw_latitude":116197296,"longitude_deg":75.5784064,"latitude_deg":11.6197296,"altitude":10,"angle":201,"satellites":49,"speed":9,"hex_longitude":"2d0c5980","hex_latitude":"06ed07b0","is_valid_coordinates":true} 
[2026-08-08 04:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252889088001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374599771882520576,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890375749827102720,"note":"Value kept but may cause issues"} 
[2026-08-08 04:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786144112000,"timestamp_ms":1786144112000,"timestamp_seconds":1786144112,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7c3d80"} 
[2026-08-08 04:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252889088001,"66":27376,"158":206,"2":56576,"24":9,"16":374599771882520576,"45":890375749827102720},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 04:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252889088001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:40:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 04:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374599771882520576,"km_value":374599771882520.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":890375749827102720,"description":"Unknown IO ID 45"} 
[2026-08-08 04:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252889088001,"power":27376,"unknown_158":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":890375749827102720}} 
[2026-08-08 04:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":150054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:40:44] local.INFO: GPS data processed {"connection_id":150054,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:40:44] local.INFO: Acknowledgment sent {"connection_id":150054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:41:09] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7dc038012d7a0a8005dac5300004010d19..."} 
[2026-08-08 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7dc038012d7a0a8005dac5300004010d19..."} 
[2026-08-08 04:41:09] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7dc038012d7a0a8005dac5300004010d19..."} 
[2026-08-08 04:41:09] local.INFO: Packet analysis {"connection_id":150313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:09] local.INFO: Extracted packet for processing {"connection_id":150313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":762972800,"raw_latitude":98223408,"longitude_deg":76.29728,"latitude_deg":9.8223408,"altitude":4,"angle":269,"satellites":25,"speed":46,"hex_longitude":"2d7a0a80","hex_latitude":"05dac530","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252915712001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115697515487035392,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903977956820992,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:09] 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-08-08 04:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786144211000,"timestamp_ms":1786144211000,"timestamp_seconds":1786144211,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7dc038"} 
[2026-08-08 04:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 04:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:41:09] 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-08-08 04:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252915712001,"66":12472,"229":206,"85":15104,"24":46,"16":115697515487035392,"45":8803903977956820992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 04:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252915712001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115697515487035392,"km_value":115697515487035.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903977956820992,"description":"Unknown IO ID 45"} 
[2026-08-08 04:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252915712001,"power":12472,"unknown_229":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8803903977956820992}} 
[2026-08-08 04:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":150313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:41:09] local.INFO: GPS data processed {"connection_id":150313,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:41:09] local.INFO: Acknowledgment sent {"connection_id":150313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:41:12] local.INFO: TCP Data received {"connection_id":151283,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:41:12] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:41:12] local.INFO: IMEI packet received {"connection_id":151283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":151283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:41:17] local.INFO: TCP Data received {"connection_id":151283,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:41:17] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:41:17] local.INFO: IMEI packet received {"connection_id":151283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":151283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:41:18] local.INFO: TCP Data received {"connection_id":151283,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7d9d10012d0c488006ec85a8000c00bf32..."} 
[2026-08-08 04:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7d9d10012d0c488006ec85a8000c00bf32..."} 
[2026-08-08 04:41:18] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7d9d10012d0c488006ec85a8000c00bf32..."} 
[2026-08-08 04:41:18] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:18] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:18] local.INFO: GPS Element Parsed {"raw_longitude":755779712,"raw_latitude":116164008,"longitude_deg":75.5779712,"latitude_deg":11.6164008,"altitude":12,"angle":191,"satellites":50,"speed":9,"hex_longitude":"2d0c4880","hex_latitude":"06ec85a8","is_valid_coordinates":true} 
[2026-08-08 04:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252913920001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374601451214733312,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725260869632,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786144202000,"timestamp_ms":1786144202000,"timestamp_seconds":1786144202,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7d9d10"} 
[2026-08-08 04:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:41: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-08-08 04:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252913920001,"66":27463,"42":206,"2":56576,"24":9,"16":374601451214733312,"45":885027725260869632},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252913920001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:41:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374601451214733312,"km_value":374601451214733.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":885027725260869632,"description":"Unknown IO ID 45"} 
[2026-08-08 04:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252913920001,"power":27463,"unknown_42":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":885027725260869632}} 
[2026-08-08 04:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:41:18] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:41:18] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:41:19] local.INFO: TCP Data received {"connection_id":151283,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7dc420012d0c474006ec7bc0000e00b033..."} 
[2026-08-08 04:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7dc420012d0c474006ec7bc0000e00b033..."} 
[2026-08-08 04:41:19] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7dc420012d0c474006ec7bc0000e00b033..."} 
[2026-08-08 04:41:19] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:19] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:19] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116161472,"longitude_deg":75.5779392,"latitude_deg":11.6161472,"altitude":14,"angle":176,"satellites":51,"speed":10,"hex_longitude":"2d0c4740","hex_latitude":"06ec7bc0","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252915712001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374601575768784896,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885098094004643840,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786144212000,"timestamp_ms":1786144212000,"timestamp_seconds":1786144212,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7dc420"} 
[2026-08-08 04:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:41: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-08-08 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04: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-08-08 04:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252915712001,"66":27376,"42":206,"2":56576,"24":10,"16":374601575768784896,"45":885098094004643840},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252915712001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:41:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374601575768784896,"km_value":374601575768784.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":885098094004643840,"description":"Unknown IO ID 45"} 
[2026-08-08 04:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252915712001,"power":27376,"unknown_42":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":885098094004643840}} 
[2026-08-08 04:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:41:19] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:41:19] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:41:38] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:38] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:38] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:41:38] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:38] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:38] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:41:39] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:39] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:39] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:41:43] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:43] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:41:43] local.INFO: IMEI packet received {"connection_id":151284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":151284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:41:43] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7ec9d8012d78c2c005da90e8000201001a..."} 
[2026-08-08 04:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7ec9d8012d78c2c005da90e8000201001a..."} 
[2026-08-08 04:41:43] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7ec9d8012d78c2c005da90e8000201001a..."} 
[2026-08-08 04:41:43] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:41:43] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:41:43] local.INFO: GPS Element Parsed {"raw_longitude":762888896,"raw_latitude":98210024,"longitude_deg":76.2888896,"latitude_deg":9.8210024,"altitude":2,"angle":256,"satellites":26,"speed":45,"hex_longitude":"2d78c2c0","hex_latitude":"05da90e8","is_valid_coordinates":true} 
[2026-08-08 04:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252933376001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115701595705966592,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711791291825582080,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:43] 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-08-08 04:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786144279000,"timestamp_ms":1786144279000,"timestamp_seconds":1786144279,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7ec9d8"} 
[2026-08-08 04:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 04:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:41:43] 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-08-08 04:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252933376001,"66":12472,"229":206,"85":15104,"24":45,"16":115701595705966592,"45":8711791291825582080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 04:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252933376001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:41:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 04:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115701595705966592,"km_value":115701595705966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711791291825582080,"description":"Unknown IO ID 45"} 
[2026-08-08 04:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252933376001,"power":12472,"unknown_229":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8711791291825582080}} 
[2026-08-08 04:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:41:43] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:41:43] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:41:51] local.INFO: TCP Data received {"connection_id":151283,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7dd7a8012d0c470006ec7650001000bb30..."} 
[2026-08-08 04:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7dd7a8012d0c470006ec7650001000bb30..."} 
[2026-08-08 04:41:51] local.INFO: Processing buffer {"connection_id":151283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7dd7a8012d0c470006ec7650001000bb30..."} 
[2026-08-08 04:41:51] local.INFO: Packet analysis {"connection_id":151283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:51] local.INFO: Extracted packet for processing {"connection_id":151283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7d"} 
[2026-08-08 04:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":116160080,"longitude_deg":75.5779328,"latitude_deg":11.616008,"altitude":16,"angle":187,"satellites":48,"speed":11,"hex_longitude":"2d0c4700","hex_latitude":"06ec7650","is_valid_coordinates":true} 
[2026-08-08 04:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252918272001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374601644488261632,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250283106304,"note":"Value kept but may cause issues"} 
[2026-08-08 04:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786144217000,"timestamp_ms":1786144217000,"timestamp_seconds":1786144217,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7dd7a8"} 
[2026-08-08 04:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252918272001,"66":27343,"42":206,"2":56576,"24":11,"16":374601644488261632,"45":884746250283106304},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252918272001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:41:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374601644488261632,"km_value":374601644488261.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250283106304,"description":"Unknown IO ID 45"} 
[2026-08-08 04:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252918272001,"power":27343,"unknown_42":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":884746250283106304}} 
[2026-08-08 04:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":151283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:41:51] local.INFO: GPS data processed {"connection_id":151283,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:41:51] local.INFO: Acknowledgment sent {"connection_id":151283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:42:07] local.INFO: TCP Data received {"connection_id":150055,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:42:07] local.INFO: Processing buffer {"connection_id":150055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:42:07] local.INFO: IMEI packet received {"connection_id":150055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":150055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:42:12] local.INFO: TCP Data received {"connection_id":150055,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:42:12] local.INFO: Processing buffer {"connection_id":150055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:42:12] local.INFO: IMEI packet received {"connection_id":150055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":150055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:42:13] local.INFO: TCP Data received {"connection_id":150055,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7e0688012d0c464006ec6908001200b033..."} 
[2026-08-08 04:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7e0688012d0c464006ec6908001200b033..."} 
[2026-08-08 04:42:13] local.INFO: Processing buffer {"connection_id":150055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7e0688012d0c464006ec6908001200b033..."} 
[2026-08-08 04:42:13] local.INFO: Packet analysis {"connection_id":150055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:42:13] local.INFO: Extracted packet for processing {"connection_id":150055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:42:13] local.INFO: GPS Element Parsed {"raw_longitude":755779136,"raw_latitude":116156680,"longitude_deg":75.5779136,"latitude_deg":11.615668,"altitude":18,"angle":176,"satellites":51,"speed":15,"hex_longitude":"2d0c4640","hex_latitude":"06ec6908","is_valid_coordinates":true} 
[2026-08-08 04:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252919552001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374601811991986176,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884675881538572288,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786144229000,"timestamp_ms":1786144229000,"timestamp_seconds":1786144229,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7e0688"} 
[2026-08-08 04:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252919552001,"66":27604,"42":206,"2":56576,"24":15,"16":374601811991986176,"45":884675881538572288},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252919552001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:42:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374601811991986176,"km_value":374601811991986.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":884675881538572288,"description":"Unknown IO ID 45"} 
[2026-08-08 04:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252919552001,"power":27604,"unknown_42":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":884675881538572288}} 
[2026-08-08 04:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":150055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:42:13] local.INFO: GPS data processed {"connection_id":150055,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:42:13] local.INFO: Acknowledgment sent {"connection_id":150055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:42:15] local.INFO: TCP Data received {"connection_id":151284,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7ee918012d789c4005da8c60000201071a..."} 
[2026-08-08 04:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7ee918012d789c4005da8c60000201071a..."} 
[2026-08-08 04:42:15] local.INFO: Processing buffer {"connection_id":151284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7ee918012d789c4005da8c60000201071a..."} 
[2026-08-08 04:42:15] local.INFO: Packet analysis {"connection_id":151284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:42:15] local.INFO: Extracted packet for processing {"connection_id":151284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:42:15] local.INFO: GPS Element Parsed {"raw_longitude":762879040,"raw_latitude":98208864,"longitude_deg":76.287904,"latitude_deg":9.8208864,"altitude":2,"angle":263,"satellites":26,"speed":52,"hex_longitude":"2d789c40","hex_latitude":"05da8c60","is_valid_coordinates":true} 
[2026-08-08 04:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252935424001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115702072447336448,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8701728561407518720,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42: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-08-08 04:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786144287000,"timestamp_ms":1786144287000,"timestamp_seconds":1786144287,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7ee918"} 
[2026-08-08 04:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 04:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:42:15] 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-08-08 04:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252935424001,"66":12319,"229":206,"85":15104,"24":52,"16":115702072447336448,"45":8701728561407518720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 04:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252935424001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:42:15] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 04:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 04:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115702072447336448,"km_value":115702072447336.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8701728561407518720,"description":"Unknown IO ID 45"} 
[2026-08-08 04:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252935424001,"power":12319,"unknown_229":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8701728561407518720}} 
[2026-08-08 04:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":151284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:42:15] local.INFO: GPS data processed {"connection_id":151284,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:42:15] local.INFO: Acknowledgment sent {"connection_id":151284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:42:45] local.INFO: TCP Data received {"connection_id":150055,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7e3568012d0c49c006ec5710001300a431..."} 
[2026-08-08 04:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7e3568012d0c49c006ec5710001300a431..."} 
[2026-08-08 04:42:45] local.INFO: Processing buffer {"connection_id":150055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7e3568012d0c49c006ec5710001300a431..."} 
[2026-08-08 04:42:45] local.INFO: Packet analysis {"connection_id":150055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:42:45] local.INFO: Extracted packet for processing {"connection_id":150055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:42:45] local.INFO: GPS Element Parsed {"raw_longitude":755780032,"raw_latitude":116152080,"longitude_deg":75.5780032,"latitude_deg":11.615208,"altitude":19,"angle":164,"satellites":49,"speed":12,"hex_longitude":"2d0c49c0","hex_latitude":"06ec5710","is_valid_coordinates":true} 
[2026-08-08 04:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252922624001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374602039625252864,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884464775305168896,"note":"Value kept but may cause issues"} 
[2026-08-08 04:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786144241000,"timestamp_ms":1786144241000,"timestamp_seconds":1786144241,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7e3568"} 
[2026-08-08 04:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 04:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252922624001,"66":27310,"42":206,"2":56576,"24":12,"16":374602039625252864,"45":884464775305168896},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252922624001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:42:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374602039625252864,"km_value":374602039625252.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":884464775305168896,"description":"Unknown IO ID 45"} 
[2026-08-08 04:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252922624001,"power":27310,"unknown_42":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":884464775305168896}} 
[2026-08-08 04:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":150055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:42:45] local.INFO: GPS data processed {"connection_id":150055,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:42:45] local.INFO: Acknowledgment sent {"connection_id":150055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:43:05] local.INFO: TCP Data received {"connection_id":152766,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:05] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:05] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:43:07] local.INFO: TCP Data received {"connection_id":152766,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:07] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:07] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:43:09] local.INFO: TCP Data received {"connection_id":152766,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:09] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:43:09] local.INFO: IMEI packet received {"connection_id":152766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":152766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:43:10] local.INFO: TCP Data received {"connection_id":152766,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde7e5c78012d0c4d4006ec4d780014009633..."} 
[2026-08-08 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde7e5c78012d0c4d4006ec4d780014009633..."} 
[2026-08-08 04:43:10] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde7e5c78012d0c4d4006ec4d780014009633..."} 
[2026-08-08 04:43:10] local.INFO: Packet analysis {"connection_id":152766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:43:10] local.INFO: Extracted packet for processing {"connection_id":152766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde7e"} 
[2026-08-08 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":755780928,"raw_latitude":116149624,"longitude_deg":75.5780928,"latitude_deg":11.6149624,"altitude":20,"angle":150,"satellites":51,"speed":10,"hex_longitude":"2d0c4d40","hex_latitude":"06ec4d78","is_valid_coordinates":true} 
[2026-08-08 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252925696001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374602164179304448,"note":"Value kept but may cause issues"} 
[2026-08-08 04:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885449937722478592,"note":"Value kept but may cause issues"} 
[2026-08-08 04:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786144251000,"timestamp_ms":1786144251000,"timestamp_seconds":1786144251,"priority":1,"record_length":96,"hex_timestamp":"0000019fde7e5c78"} 
[2026-08-08 04:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 04:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252925696001,"66":27484,"42":206,"2":56576,"24":10,"16":374602164179304448,"45":885449937722478592},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252925696001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:43:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374602164179304448,"km_value":374602164179304.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":885449937722478592,"description":"Unknown IO ID 45"} 
[2026-08-08 04:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252925696001,"power":27484,"unknown_42":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":885449937722478592}} 
[2026-08-08 04:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":152766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:43:10] local.INFO: GPS data processed {"connection_id":152766,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:43:10] local.INFO: Acknowledgment sent {"connection_id":152766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:43:41] local.INFO: TCP Data received {"connection_id":152766,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde805460012d0c95c006eb83b8001100bc32..."} 
[2026-08-08 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde805460012d0c95c006eb83b8001100bc32..."} 
[2026-08-08 04:43:41] local.INFO: Processing buffer {"connection_id":152766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde805460012d0c95c006eb83b8001100bc32..."} 
[2026-08-08 04:43:41] local.INFO: Packet analysis {"connection_id":152766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde80"} 
[2026-08-08 04:43:41] local.INFO: Extracted packet for processing {"connection_id":152766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde80"} 
[2026-08-08 04:43:41] local.INFO: GPS Element Parsed {"raw_longitude":755799488,"raw_latitude":116097976,"longitude_deg":75.5799488,"latitude_deg":11.6097976,"altitude":17,"angle":188,"satellites":50,"speed":12,"hex_longitude":"2d0c95c0","hex_latitude":"06eb83b8","is_valid_coordinates":true} 
[2026-08-08 04:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252960768001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374604921548308480,"note":"Value kept but may cause issues"} 
[2026-08-08 04:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906771667194615808,"note":"Value kept but may cause issues"} 
[2026-08-08 04:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786144380000,"timestamp_ms":1786144380000,"timestamp_seconds":1786144380,"priority":1,"record_length":96,"hex_timestamp":"0000019fde805460"} 
[2026-08-08 04:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252960768001,"66":27463,"42":206,"2":56576,"24":12,"16":374604921548308480,"45":906771667194615808},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252960768001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:43:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374604921548308480,"km_value":374604921548308.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":906771667194615808,"description":"Unknown IO ID 45"} 
[2026-08-08 04:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252960768001,"power":27463,"unknown_42":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":906771667194615808}} 
[2026-08-08 04:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":152766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:43:41] local.INFO: GPS data processed {"connection_id":152766,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:43:41] local.INFO: Acknowledgment sent {"connection_id":152766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:44:07] local.INFO: TCP Data received {"connection_id":151286,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:44:07] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:44:07] local.INFO: IMEI packet received {"connection_id":151286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":151286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:44:12] local.INFO: TCP Data received {"connection_id":151286,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:44:12] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:44:12] local.INFO: IMEI packet received {"connection_id":151286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":151286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:44:14] local.INFO: TCP Data received {"connection_id":151286,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde805848012d0c954006eb82a8001100ce30..."} 
[2026-08-08 04:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde805848012d0c954006eb82a8001100ce30..."} 
[2026-08-08 04:44:14] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde805848012d0c954006eb82a8001100ce30..."} 
[2026-08-08 04:44:14] local.INFO: Packet analysis {"connection_id":151286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde80"} 
[2026-08-08 04:44:14] local.INFO: Extracted packet for processing {"connection_id":151286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde80"} 
[2026-08-08 04:44:14] local.INFO: GPS Element Parsed {"raw_longitude":755799360,"raw_latitude":116097704,"longitude_deg":75.579936,"latitude_deg":11.6097704,"altitude":17,"angle":206,"satellites":48,"speed":12,"hex_longitude":"2d0c9540","hex_latitude":"06eb82a8","is_valid_coordinates":true} 
[2026-08-08 04:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252961280001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374604938728177664,"note":"Value kept but may cause issues"} 
[2026-08-08 04:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906842035938637824,"note":"Value kept but may cause issues"} 
[2026-08-08 04:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786144381000,"timestamp_ms":1786144381000,"timestamp_seconds":1786144381,"priority":1,"record_length":96,"hex_timestamp":"0000019fde805848"} 
[2026-08-08 04:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252961280001,"66":27463,"42":206,"2":56576,"24":12,"16":374604938728177664,"45":906842035938637824},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252961280001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:44:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374604938728177664,"km_value":374604938728177.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":906842035938637824,"description":"Unknown IO ID 45"} 
[2026-08-08 04:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252961280001,"power":27463,"unknown_42":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":906842035938637824}} 
[2026-08-08 04:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":151286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:44:14] local.INFO: GPS data processed {"connection_id":151286,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:44:14] local.INFO: Acknowledgment sent {"connection_id":151286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:44:48] local.INFO: TCP Data received {"connection_id":151286,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde805c30012d0c948006eb81d0001100e031..."} 
[2026-08-08 04:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde805c30012d0c948006eb81d0001100e031..."} 
[2026-08-08 04:44:48] local.INFO: Processing buffer {"connection_id":151286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde805c30012d0c948006eb81d0001100e031..."} 
[2026-08-08 04:44:48] local.INFO: Packet analysis {"connection_id":151286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde80"} 
[2026-08-08 04:44:48] local.INFO: Extracted packet for processing {"connection_id":151286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde80"} 
[2026-08-08 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":755799168,"raw_latitude":116097488,"longitude_deg":75.5799168,"latitude_deg":11.6097488,"altitude":17,"angle":224,"satellites":49,"speed":12,"hex_longitude":"2d0c9480","hex_latitude":"06eb81d0","is_valid_coordinates":true} 
[2026-08-08 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252961536001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374604951613079552,"note":"Value kept but may cause issues"} 
[2026-08-08 04:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906701298450212864,"note":"Value kept but may cause issues"} 
[2026-08-08 04:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786144382000,"timestamp_ms":1786144382000,"timestamp_seconds":1786144382,"priority":1,"record_length":96,"hex_timestamp":"0000019fde805c30"} 
[2026-08-08 04:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252961536001,"66":27376,"42":206,"2":56576,"24":12,"16":374604951613079552,"45":906701298450212864},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 04:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252961536001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374604951613079552,"km_value":374604951613079.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":906701298450212864,"description":"Unknown IO ID 45"} 
[2026-08-08 04:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252961536001,"power":27376,"unknown_42":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":906701298450212864}} 
[2026-08-08 04:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":151286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:44:48] local.INFO: GPS data processed {"connection_id":151286,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:44:48] local.INFO: Acknowledgment sent {"connection_id":151286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:45:07] local.INFO: TCP Data received {"connection_id":150056,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:45:07] local.INFO: Processing buffer {"connection_id":150056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:45:07] local.INFO: IMEI packet received {"connection_id":150056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":150056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:45:12] local.INFO: TCP Data received {"connection_id":150056,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:45:12] local.INFO: Processing buffer {"connection_id":150056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:45:12] local.INFO: IMEI packet received {"connection_id":150056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":150056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:45:13] local.INFO: TCP Data received {"connection_id":150056,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde818510012d0d240006eac580001600752c..."} 
[2026-08-08 04:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde818510012d0d240006eac580001600752c..."} 
[2026-08-08 04:45:13] local.INFO: Processing buffer {"connection_id":150056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde818510012d0d240006eac580001600752c..."} 
[2026-08-08 04:45:13] local.INFO: Packet analysis {"connection_id":150056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde81"} 
[2026-08-08 04:45:13] local.INFO: Extracted packet for processing {"connection_id":150056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde81"} 
[2026-08-08 04:45:13] local.INFO: GPS Element Parsed {"raw_longitude":755835904,"raw_latitude":116049280,"longitude_deg":75.5835904,"latitude_deg":11.604928,"altitude":22,"angle":117,"satellites":44,"speed":38,"hex_longitude":"2d0d2400","hex_latitude":"06eac580","is_valid_coordinates":true} 
[2026-08-08 04:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252978688001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374607975270055936,"note":"Value kept but may cause issues"} 
[2026-08-08 04:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938226495830716416,"note":"Value kept but may cause issues"} 
[2026-08-08 04:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786144458000,"timestamp_ms":1786144458000,"timestamp_seconds":1786144458,"priority":1,"record_length":96,"hex_timestamp":"0000019fde818510"} 
[2026-08-08 04:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 04:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252978688001,"66":27484,"58":206,"2":56576,"24":38,"16":374607975270055936,"45":938226495830716416},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-08 04:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252978688001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:45:13] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 04:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374607975270055936,"km_value":374607975270055.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":938226495830716416,"description":"Unknown IO ID 45"} 
[2026-08-08 04:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252978688001,"power":27484,"unknown_58":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":938226495830716416}} 
[2026-08-08 04:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":150056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:45:13] local.INFO: GPS data processed {"connection_id":150056,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:45:13] local.INFO: Acknowledgment sent {"connection_id":150056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:45:45] local.INFO: TCP Data received {"connection_id":150056,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde81a068012d0d3bc006eab7e80018008430..."} 
[2026-08-08 04:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde81a068012d0d3bc006eab7e80018008430..."} 
[2026-08-08 04:45:45] local.INFO: Processing buffer {"connection_id":150056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde81a068012d0d3bc006eab7e80018008430..."} 
[2026-08-08 04:45:45] local.INFO: Packet analysis {"connection_id":150056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde81"} 
[2026-08-08 04:45:45] local.INFO: Extracted packet for processing {"connection_id":150056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde81"} 
[2026-08-08 04:45:45] local.INFO: GPS Element Parsed {"raw_longitude":755841984,"raw_latitude":116045800,"longitude_deg":75.5841984,"latitude_deg":11.60458,"altitude":24,"angle":132,"satellites":48,"speed":36,"hex_longitude":"2d0d3bc0","hex_latitude":"06eab7e8","is_valid_coordinates":true} 
[2026-08-08 04:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374608310277505024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946881851363262464,"note":"Value kept but may cause issues"} 
[2026-08-08 04:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786144465000,"timestamp_ms":1786144465000,"timestamp_seconds":1786144465,"priority":1,"record_length":96,"hex_timestamp":"0000019fde81a068"} 
[2026-08-08 04:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:45: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-08-08 04:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252981248001,"66":26941,"58":206,"2":56576,"24":36,"16":374608310277505024,"45":946881851363262464},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-08 04:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:45:45] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 04:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374608310277505024,"km_value":374608310277505.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":946881851363262464,"description":"Unknown IO ID 45"} 
[2026-08-08 04:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252981248001,"power":26941,"unknown_58":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":946881851363262464}} 
[2026-08-08 04:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":150056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:45:45] local.INFO: GPS data processed {"connection_id":150056,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:45:45] local.INFO: Acknowledgment sent {"connection_id":150056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:46:23] local.INFO: TCP Data received {"connection_id":152767,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:23] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:23] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:46:26] local.INFO: TCP Data received {"connection_id":152767,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:26] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:26] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:46:27] local.INFO: TCP Data received {"connection_id":152767,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:27] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:27] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:46:30] local.INFO: TCP Data received {"connection_id":152767,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:30] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:46:30] local.INFO: IMEI packet received {"connection_id":152767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":152767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:46:31] local.INFO: TCP Data received {"connection_id":152767,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8282f8012d0d634006e9fba0001400882b..."} 
[2026-08-08 04:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8282f8012d0d634006e9fba0001400882b..."} 
[2026-08-08 04:46:31] local.INFO: Processing buffer {"connection_id":152767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8282f8012d0d634006e9fba0001400882b..."} 
[2026-08-08 04:46:31] local.INFO: Packet analysis {"connection_id":152767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde82"} 
[2026-08-08 04:46:31] local.INFO: Extracted packet for processing {"connection_id":152767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde82"} 
[2026-08-08 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":755852096,"raw_latitude":115997600,"longitude_deg":75.5852096,"latitude_deg":11.59976,"altitude":20,"angle":136,"satellites":43,"speed":26,"hex_longitude":"2d0d6340","hex_latitude":"06e9fba0","is_valid_coordinates":true} 
[2026-08-08 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457252997632001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374610758408863744,"note":"Value kept but may cause issues"} 
[2026-08-08 04:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299906224128,"note":"Value kept but may cause issues"} 
[2026-08-08 04:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786144523000,"timestamp_ms":1786144523000,"timestamp_seconds":1786144523,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8282f8"} 
[2026-08-08 04:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":152767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":152767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457252997632001,"66":27397,"58":206,"2":56576,"24":26,"16":374610758408863744,"45":964333299906224128},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-08 04:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457252997632001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 04:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374610758408863744,"km_value":374610758408863.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299906224128,"description":"Unknown IO ID 45"} 
[2026-08-08 04:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457252997632001,"power":27397,"unknown_58":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":964333299906224128}} 
[2026-08-08 04:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":152767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:46:31] local.INFO: GPS data processed {"connection_id":152767,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:46:31] local.INFO: Acknowledgment sent {"connection_id":152767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:47:04] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:04] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:04] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:47:07] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:07] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:07] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:47:12] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:12] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:47:12] local.INFO: IMEI packet received {"connection_id":151288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":151288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:47:13] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde832ed8012d0dc48006e9b2f80018008929..."} 
[2026-08-08 04:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde832ed8012d0dc48006e9b2f80018008929..."} 
[2026-08-08 04:47:13] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde832ed8012d0dc48006e9b2f80018008929..."} 
[2026-08-08 04:47:13] local.INFO: Packet analysis {"connection_id":151288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde83"} 
[2026-08-08 04:47:13] local.INFO: Extracted packet for processing {"connection_id":151288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde83"} 
[2026-08-08 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":755876992,"raw_latitude":115979000,"longitude_deg":75.5876992,"latitude_deg":11.5979,"altitude":24,"angle":137,"satellites":41,"speed":41,"hex_longitude":"2d0dc480","hex_latitude":"06e9b2f8","is_valid_coordinates":true} 
[2026-08-08 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253006336001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374612296007155712,"note":"Value kept but may cause issues"} 
[2026-08-08 04:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985584660644732928,"note":"Value kept but may cause issues"} 
[2026-08-08 04:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786144567000,"timestamp_ms":1786144567000,"timestamp_seconds":1786144567,"priority":1,"record_length":96,"hex_timestamp":"0000019fde832ed8"} 
[2026-08-08 04:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253006336001,"66":27539,"57":206,"2":56576,"24":41,"16":374612296007155712,"45":985584660644732928},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-08 04:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253006336001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:47:13] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-08 04:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374612296007155712,"km_value":374612296007155.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":985584660644732928,"description":"Unknown IO ID 45"} 
[2026-08-08 04:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253006336001,"power":27539,"unknown_57":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":985584660644732928}} 
[2026-08-08 04:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":151288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:47:13] local.INFO: GPS data processed {"connection_id":151288,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:47:13] local.INFO: Acknowledgment sent {"connection_id":151288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:47:45] local.INFO: TCP Data received {"connection_id":151288,"ip":"117.225.174.164","data_length":795,"data_hex":"000000000000030f8e0a0000019fde835200012d0dde4006e99a48001d00842f..."} 
[2026-08-08 04:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde835200012d0dde4006e99a48001d00842f..."} 
[2026-08-08 04:47:45] local.INFO: Processing buffer {"connection_id":151288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde835200012d0dde4006e99a48001d00842f..."} 
[2026-08-08 04:47:45] local.INFO: Packet analysis {"connection_id":151288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde83"} 
[2026-08-08 04:47:45] local.INFO: Extracted packet for processing {"connection_id":151288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde83"} 
[2026-08-08 04:47:45] local.INFO: GPS Element Parsed {"raw_longitude":755883584,"raw_latitude":115972680,"longitude_deg":75.5883584,"latitude_deg":11.597268,"altitude":29,"angle":132,"satellites":47,"speed":35,"hex_longitude":"2d0dde40","hex_latitude":"06e99a48","is_valid_coordinates":true} 
[2026-08-08 04:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253009152001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374612734093819904,"note":"Value kept but may cause issues"} 
[2026-08-08 04:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992058585107331072,"note":"Value kept but may cause issues"} 
[2026-08-08 04:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786144576000,"timestamp_ms":1786144576000,"timestamp_seconds":1786144576,"priority":1,"record_length":96,"hex_timestamp":"0000019fde835200"} 
[2026-08-08 04:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 04:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.174.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253009152001,"66":27463,"57":206,"2":56576,"24":35,"16":374612734093819904,"45":992058585107331072},"client_ip":"117.225.174.164","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-08 04:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253009152001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:47:45] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-08 04:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374612734093819904,"km_value":374612734093819.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":992058585107331072,"description":"Unknown IO ID 45"} 
[2026-08-08 04:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253009152001,"power":27463,"unknown_57":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":992058585107331072}} 
[2026-08-08 04:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":151288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:47:45] local.INFO: GPS data processed {"connection_id":151288,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:47:45] local.INFO: Acknowledgment sent {"connection_id":151288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:48:02] local.INFO: TCP Data received {"connection_id":150057,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:02] local.INFO: Processing buffer {"connection_id":150057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:02] local.INFO: IMEI packet received {"connection_id":150057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":150057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:48:04] local.INFO: TCP Data received {"connection_id":150057,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8401c8012d76484005db45580004015b25..."} 
[2026-08-08 04:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8401c8012d76484005db45580004015b25..."} 
[2026-08-08 04:48:04] local.INFO: Processing buffer {"connection_id":150057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8401c8012d76484005db45580004015b25..."} 
[2026-08-08 04:48:04] local.INFO: Packet analysis {"connection_id":150057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:48:04] local.INFO: Extracted packet for processing {"connection_id":150057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:48:04] local.INFO: GPS Element Parsed {"raw_longitude":762726464,"raw_latitude":98256216,"longitude_deg":76.2726464,"latitude_deg":9.8256216,"altitude":4,"angle":347,"satellites":37,"speed":34,"hex_longitude":"2d764840","hex_latitude":"05db4558","is_valid_coordinates":true} 
[2026-08-08 04:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253020160001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115713797708054528,"note":"Value kept but may cause issues"} 
[2026-08-08 04:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8525454857251942400,"note":"Value kept but may cause issues"} 
[2026-08-08 04:48:04] 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-08-08 04:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786144621000,"timestamp_ms":1786144621000,"timestamp_seconds":1786144621,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8401c8"} 
[2026-08-08 04:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 04:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:48:04] 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-08-08 04:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253020160001,"66":12319,"167":206,"87":12288,"24":34,"16":115713797708054528,"45":8525454857251942400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 04:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253020160001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:48:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:48:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115713797708054528,"km_value":115713797708054.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8525454857251942400,"description":"Unknown IO ID 45"} 
[2026-08-08 04:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253020160001,"power":12319,"unknown_167":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8525454857251942400}} 
[2026-08-08 04:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":150057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:48:04] local.INFO: GPS data processed {"connection_id":150057,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:48:04] local.INFO: Acknowledgment sent {"connection_id":150057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:48:07] local.INFO: TCP Data received {"connection_id":151289,"ip":"117.225.174.164","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:48:07] local.INFO: Processing buffer {"connection_id":151289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:48:07] local.INFO: IMEI packet received {"connection_id":151289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":151289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:48:33] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:33] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:33] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:48:38] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:38] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:48:38] local.INFO: IMEI packet received {"connection_id":152768,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":152768,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:48:38] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8430a8012d76400005db6a100004015b26..."} 
[2026-08-08 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8430a8012d76400005db6a100004015b26..."} 
[2026-08-08 04:48:38] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8430a8012d76400005db6a100004015b26..."} 
[2026-08-08 04:48:38] local.INFO: Packet analysis {"connection_id":152768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:48:38] local.INFO: Extracted packet for processing {"connection_id":152768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":762724352,"raw_latitude":98265616,"longitude_deg":76.2724352,"latitude_deg":9.8265616,"altitude":4,"angle":347,"satellites":38,"speed":33,"hex_longitude":"2d764000","hex_latitude":"05db6a10","is_valid_coordinates":true} 
[2026-08-08 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253022976001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115714265859489792,"note":"Value kept but may cause issues"} 
[2026-08-08 04:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523132688696432640,"note":"Value kept but may cause issues"} 
[2026-08-08 04:48:38] 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-08-08 04:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144633000,"timestamp_ms":1786144633000,"timestamp_seconds":1786144633,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8430a8"} 
[2026-08-08 04:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":31,"data_length":795,"current_offset":136} 
[2026-08-08 04:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:48:38] 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-08-08 04:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253022976001,"66":12330,"167":206,"87":12288,"24":33,"16":115714265859489792,"45":8523132688696432640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 04:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253022976001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:48:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:48:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115714265859489792,"km_value":115714265859489.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523132688696432640,"description":"Unknown IO ID 45"} 
[2026-08-08 04:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253022976001,"power":12330,"unknown_167":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8523132688696432640}} 
[2026-08-08 04:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":152768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:48:38] local.INFO: GPS data processed {"connection_id":152768,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:48:38] local.INFO: Acknowledgment sent {"connection_id":152768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:48:56] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:48:56] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:48:56] local.INFO: IMEI packet received {"connection_id":151290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":151290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:49:02] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:49:02] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:49:02] local.INFO: IMEI packet received {"connection_id":151290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":151290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:49:03] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde84ffb0012d0e6dc006e82338000900a82f..."} 
[2026-08-08 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde84ffb0012d0e6dc006e82338000900a82f..."} 
[2026-08-08 04:49:03] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde84ffb0012d0e6dc006e82338000900a82f..."} 
[2026-08-08 04:49:03] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:49:03] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":755920320,"raw_latitude":115876664,"longitude_deg":75.592032,"latitude_deg":11.5876664,"altitude":9,"angle":168,"satellites":47,"speed":28,"hex_longitude":"2d0e6dc0","hex_latitude":"06e82338","is_valid_coordinates":true} 
[2026-08-08 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253036800001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374616543729811456,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1038220481264070656,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786144686000,"timestamp_ms":1786144686000,"timestamp_seconds":1786144686,"priority":1,"record_length":96,"hex_timestamp":"0000019fde84ffb0"} 
[2026-08-08 04:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 04:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253036800001,"66":27376,"216":206,"2":56576,"24":28,"16":374616543729811456,"45":1038220481264070656},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,45]} 
[2026-08-08 04:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253036800001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-08 04:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374616543729811456,"km_value":374616543729811.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1038220481264070656,"description":"Unknown IO ID 45"} 
[2026-08-08 04:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253036800001,"power":27376,"unknown_216":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1038220481264070656}} 
[2026-08-08 04:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:49:03] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:49:03] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:49:10] local.INFO: TCP Data received {"connection_id":152768,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde845ba0012d76380005db8d280004015826..."} 
[2026-08-08 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde845ba0012d76380005db8d280004015826..."} 
[2026-08-08 04:49:10] local.INFO: Processing buffer {"connection_id":152768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde845ba0012d76380005db8d280004015826..."} 
[2026-08-08 04:49:10] local.INFO: Packet analysis {"connection_id":152768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:49:10] local.INFO: Extracted packet for processing {"connection_id":152768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":762722304,"raw_latitude":98274600,"longitude_deg":76.2722304,"latitude_deg":9.82746,"altitude":4,"angle":344,"satellites":38,"speed":35,"hex_longitude":"2d763800","hex_latitude":"05db8d28","is_valid_coordinates":true} 
[2026-08-08 04:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253026048001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115714712536088576,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8520810520140976128,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:10] 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-08-08 04:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786144644000,"timestamp_ms":1786144644000,"timestamp_seconds":1786144644,"priority":1,"record_length":96,"hex_timestamp":"0000019fde845ba0"} 
[2026-08-08 04:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:49: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-08-08 04: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-08 04:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152768,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:49:10] 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-08-08 04:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253026048001,"66":12374,"167":206,"87":12288,"24":35,"16":115714712536088576,"45":8520810520140976128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 04:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253026048001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:49:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:49:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115714712536088576,"km_value":115714712536088.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8520810520140976128,"description":"Unknown IO ID 45"} 
[2026-08-08 04:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253026048001,"power":12374,"unknown_167":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8520810520140976128}} 
[2026-08-08 04:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":152768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:49:10] local.INFO: GPS data processed {"connection_id":152768,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:49:10] local.INFO: Acknowledgment sent {"connection_id":152768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:49:32] local.INFO: TCP Data received {"connection_id":150058,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:32] local.INFO: Processing buffer {"connection_id":150058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:32] local.INFO: IMEI packet received {"connection_id":150058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":150058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:49:33] local.INFO: TCP Data received {"connection_id":150058,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:33] local.INFO: Processing buffer {"connection_id":150058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:33] local.INFO: IMEI packet received {"connection_id":150058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":150058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:49:34] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde854dd0012d0e758006e7ff90000a00a632..."} 
[2026-08-08 04:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde854dd0012d0e758006e7ff90000a00a632..."} 
[2026-08-08 04:49:34] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde854dd0012d0e758006e7ff90000a00a632..."} 
[2026-08-08 04:49:34] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde85"} 
[2026-08-08 04:49:34] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde85"} 
[2026-08-08 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":755922304,"raw_latitude":115867536,"longitude_deg":75.5922304,"latitude_deg":11.5867536,"altitude":10,"angle":166,"satellites":50,"speed":25,"hex_longitude":"2d0e7580","hex_latitude":"06e7ff90","is_valid_coordinates":true} 
[2026-08-08 04:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253039616001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374616998996344832,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1039698224889411584,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786144706000,"timestamp_ms":1786144706000,"timestamp_seconds":1786144706,"priority":1,"record_length":96,"hex_timestamp":"0000019fde854dd0"} 
[2026-08-08 04:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253039616001,"66":27376,"217":206,"2":56576,"24":25,"16":374616998996344832,"45":1039698224889411584},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 04:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253039616001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 04:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374616998996344832,"km_value":374616998996344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1039698224889411584,"description":"Unknown IO ID 45"} 
[2026-08-08 04:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253039616001,"power":27376,"unknown_217":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":1039698224889411584}} 
[2026-08-08 04:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:49:34] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:49:34] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:49:38] local.INFO: TCP Data received {"connection_id":150058,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:38] local.INFO: Processing buffer {"connection_id":150058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:49:38] local.INFO: IMEI packet received {"connection_id":150058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":150058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:49:38] local.INFO: TCP Data received {"connection_id":150058,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde848698012d762cc005dbb0d00003015426..."} 
[2026-08-08 04:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde848698012d762cc005dbb0d00003015426..."} 
[2026-08-08 04:49:38] local.INFO: Processing buffer {"connection_id":150058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde848698012d762cc005dbb0d00003015426..."} 
[2026-08-08 04:49:38] local.INFO: Packet analysis {"connection_id":150058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:49:38] local.INFO: Extracted packet for processing {"connection_id":150058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde84"} 
[2026-08-08 04:49:38] local.INFO: GPS Element Parsed {"raw_longitude":762719424,"raw_latitude":98283728,"longitude_deg":76.2719424,"latitude_deg":9.8283728,"altitude":3,"angle":340,"satellites":38,"speed":35,"hex_longitude":"2d762cc0","hex_latitude":"05dbb0d0","is_valid_coordinates":true} 
[2026-08-08 04:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253028864001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115715176392556544,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518558720329590784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:49:38] 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-08-08 04:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144655000,"timestamp_ms":1786144655000,"timestamp_seconds":1786144655,"priority":1,"record_length":96,"hex_timestamp":"0000019fde848698"} 
[2026-08-08 04:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 04:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:49:38] 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-08-08 04:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253028864001,"66":12135,"167":206,"87":12288,"24":35,"16":115715176392556544,"45":8518558720329590784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 04:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253028864001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:49:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 04:49:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115715176392556544,"km_value":115715176392556.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518558720329590784,"description":"Unknown IO ID 45"} 
[2026-08-08 04:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253028864001,"power":12135,"unknown_167":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8518558720329590784}} 
[2026-08-08 04:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":150058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:49:38] local.INFO: GPS data processed {"connection_id":150058,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:49:38] local.INFO: Acknowledgment sent {"connection_id":150058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:50:06] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde858098012d0e7b8006e7e6c0000900b432..."} 
[2026-08-08 04:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde858098012d0e7b8006e7e6c0000900b432..."} 
[2026-08-08 04:50:06] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde858098012d0e7b8006e7e6c0000900b432..."} 
[2026-08-08 04:50:06] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde85"} 
[2026-08-08 04:50:06] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde85"} 
[2026-08-08 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755923840,"raw_latitude":115861184,"longitude_deg":75.592384,"latitude_deg":11.5861184,"altitude":9,"angle":180,"satellites":50,"speed":15,"hex_longitude":"2d0e7b80","hex_latitude":"06e7e6c0","is_valid_coordinates":true} 
[2026-08-08 04:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253044736001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374617316823924736,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041879655956582400,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786144719000,"timestamp_ms":1786144719000,"timestamp_seconds":1786144719,"priority":1,"record_length":96,"hex_timestamp":"0000019fde858098"} 
[2026-08-08 04:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 04:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253044736001,"66":27484,"217":206,"2":56576,"24":15,"16":374617316823924736,"45":1041879655956582400},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 04:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253044736001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:50:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 04:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374617316823924736,"km_value":374617316823924.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041879655956582400,"description":"Unknown IO ID 45"} 
[2026-08-08 04:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253044736001,"power":27484,"unknown_217":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":1041879655956582400}} 
[2026-08-08 04:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:50:06] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:50:06] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:50:09] local.INFO: TCP Data received {"connection_id":150058,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde869208012d75cac005dd82080001015e27..."} 
[2026-08-08 04:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde869208012d75cac005dd82080001015e27..."} 
[2026-08-08 04:50:09] local.INFO: Processing buffer {"connection_id":150058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde869208012d75cac005dd82080001015e27..."} 
[2026-08-08 04:50:09] local.INFO: Packet analysis {"connection_id":150058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:50:09] local.INFO: Extracted packet for processing {"connection_id":150058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762694336,"raw_latitude":98402824,"longitude_deg":76.2694336,"latitude_deg":9.8402824,"altitude":1,"angle":350,"satellites":39,"speed":44,"hex_longitude":"2d75cac0","hex_latitude":"05dd8208","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253063680001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115721094857490432,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8489637166503030784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50: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-08-08 04:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786144789000,"timestamp_ms":1786144789000,"timestamp_seconds":1786144789,"priority":1,"record_length":96,"hex_timestamp":"0000019fde869208"} 
[2026-08-08 04:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 04:50: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-08-08 04: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-08-08 04:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:50:09] 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-08-08 04:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253063680001,"66":12189,"157":206,"87":12288,"24":44,"16":115721094857490432,"45":8489637166503030784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253063680001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:50:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115721094857490432,"km_value":115721094857490.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8489637166503030784,"description":"Unknown IO ID 45"} 
[2026-08-08 04:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253063680001,"power":12189,"unknown_157":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8489637166503030784}} 
[2026-08-08 04:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":150058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:50:09] local.INFO: GPS data processed {"connection_id":150058,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:50:09] local.INFO: Acknowledgment sent {"connection_id":150058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:50:32] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:32] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:32] local.INFO: IMEI packet received {"connection_id":150316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":150316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:50:37] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:37] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:37] local.INFO: IMEI packet received {"connection_id":150316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":150316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:50:37] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:37] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:50:37] local.INFO: IMEI packet received {"connection_id":150316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":150316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:50:38] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde86b530012d75c3c005dda7800001015b27..."} 
[2026-08-08 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde86b530012d75c3c005dda7800001015b27..."} 
[2026-08-08 04:50:38] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde86b530012d75c3c005dda7800001015b27..."} 
[2026-08-08 04:50:38] local.INFO: Packet analysis {"connection_id":150316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:50:38] local.INFO: Extracted packet for processing {"connection_id":150316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":762692544,"raw_latitude":98412416,"longitude_deg":76.2692544,"latitude_deg":9.8412416,"altitude":1,"angle":347,"satellites":39,"speed":42,"hex_longitude":"2d75c3c0","hex_latitude":"05dda780","is_valid_coordinates":true} 
[2026-08-08 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253065984001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115721567303892992,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8487807579156776960,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50: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-08-08 04:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144798000,"timestamp_ms":1786144798000,"timestamp_seconds":1786144798,"priority":1,"record_length":96,"hex_timestamp":"0000019fde86b530"} 
[2026-08-08 04:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 04:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:50:38] 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-08-08 04:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253065984001,"66":12287,"157":206,"87":12288,"24":42,"16":115721567303892992,"45":8487807579156776960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253065984001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115721567303892992,"km_value":115721567303892.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8487807579156776960,"description":"Unknown IO ID 45"} 
[2026-08-08 04:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253065984001,"power":12287,"unknown_157":206,"unknown_87":12288,"ignition":42,"odometer":null,"unknown_45":8487807579156776960}} 
[2026-08-08 04:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":150316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:50:38] local.INFO: GPS data processed {"connection_id":150316,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:50:38] local.INFO: Acknowledgment sent {"connection_id":150316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:50:38] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde859420012d0e7c8006e7df20000900a732..."} 
[2026-08-08 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde859420012d0e7c8006e7df20000900a732..."} 
[2026-08-08 04:50:38] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde859420012d0e7c8006e7df20000900a732..."} 
[2026-08-08 04:50:38] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde85"} 
[2026-08-08 04:50:38] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde85"} 
[2026-08-08 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755924096,"raw_latitude":115859232,"longitude_deg":75.5924096,"latitude_deg":11.5859232,"altitude":9,"angle":167,"satellites":50,"speed":16,"hex_longitude":"2d0e7c80","hex_latitude":"06e7df20","is_valid_coordinates":true} 
[2026-08-08 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253048064001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374617411313205248,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043568505815220224,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144724000,"timestamp_ms":1786144724000,"timestamp_seconds":1786144724,"priority":1,"record_length":96,"hex_timestamp":"0000019fde859420"} 
[2026-08-08 04:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 04:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253048064001,"66":27376,"217":206,"2":56576,"24":16,"16":374617411313205248,"45":1043568505815220224},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 04:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253048064001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 04:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374617411313205248,"km_value":374617411313205.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043568505815220224,"description":"Unknown IO ID 45"} 
[2026-08-08 04:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253048064001,"power":27376,"unknown_217":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":1043568505815220224}} 
[2026-08-08 04:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:50:38] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:50:38] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:50:43] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde86d858012d75bb4005ddcc180001015b27..."} 
[2026-08-08 04:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde86d858012d75bb4005ddcc180001015b27..."} 
[2026-08-08 04:50:43] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde86d858012d75bb4005ddcc180001015b27..."} 
[2026-08-08 04:50:43] local.INFO: Packet analysis {"connection_id":150316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:50:43] local.INFO: Extracted packet for processing {"connection_id":150316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:50:43] local.INFO: GPS Element Parsed {"raw_longitude":762690368,"raw_latitude":98421784,"longitude_deg":76.2690368,"latitude_deg":9.8421784,"altitude":1,"angle":347,"satellites":39,"speed":41,"hex_longitude":"2d75bb40","hex_latitude":"05ddcc18","is_valid_coordinates":true} 
[2026-08-08 04:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253068288001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115722031160360960,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8485837254322257920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786144807000,"timestamp_ms":1786144807000,"timestamp_seconds":1786144807,"priority":1,"record_length":96,"hex_timestamp":"0000019fde86d858"} 
[2026-08-08 04:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 04:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:50:43] 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-08-08 04:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253068288001,"66":11950,"157":206,"87":12288,"24":41,"16":115722031160360960,"45":8485837254322257920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253068288001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:50:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:50:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115722031160360960,"km_value":115722031160360.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8485837254322257920,"description":"Unknown IO ID 45"} 
[2026-08-08 04:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253068288001,"power":11950,"unknown_157":206,"unknown_87":12288,"ignition":41,"odometer":null,"unknown_45":8485837254322257920}} 
[2026-08-08 04:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":150316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:50:43] local.INFO: GPS data processed {"connection_id":150316,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:50:43] local.INFO: Acknowledgment sent {"connection_id":150316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:51:11] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde86e028012d0f194006e72018000c00862e..."} 
[2026-08-08 04:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde86e028012d0f194006e72018000c00862e..."} 
[2026-08-08 04:51:11] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde86e028012d0f194006e72018000c00862e..."} 
[2026-08-08 04:51:11] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:51:11] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:51:11] local.INFO: GPS Element Parsed {"raw_longitude":755964224,"raw_latitude":115810328,"longitude_deg":75.5964224,"latitude_deg":11.5810328,"altitude":12,"angle":134,"satellites":46,"speed":40,"hex_longitude":"2d0f1940","hex_latitude":"06e72018","is_valid_coordinates":true} 
[2026-08-08 04:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253068544001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374620542344364032,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1080230621520414720,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786144809000,"timestamp_ms":1786144809000,"timestamp_seconds":1786144809,"priority":1,"record_length":96,"hex_timestamp":"0000019fde86e028"} 
[2026-08-08 04:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253068544001,"66":27300,"150":206,"2":56576,"24":40,"16":374620542344364032,"45":1080230621520414720},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-08-08 04:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253068544001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:51:11] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 04:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374620542344364032,"km_value":374620542344364.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1080230621520414720,"description":"Unknown IO ID 45"} 
[2026-08-08 04:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253068544001,"power":27300,"unknown_150":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":1080230621520414720}} 
[2026-08-08 04:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:51:11] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:51:11] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:51:14] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde86fb80012d75b28005ddf1980002015b27..."} 
[2026-08-08 04:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde86fb80012d75b28005ddf1980002015b27..."} 
[2026-08-08 04:51:14] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde86fb80012d75b28005ddf1980002015b27..."} 
[2026-08-08 04:51:14] local.INFO: Packet analysis {"connection_id":150316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:51:14] local.INFO: Extracted packet for processing {"connection_id":150316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde86"} 
[2026-08-08 04:51:14] local.INFO: GPS Element Parsed {"raw_longitude":762688128,"raw_latitude":98431384,"longitude_deg":76.2688128,"latitude_deg":9.8431384,"altitude":2,"angle":347,"satellites":39,"speed":44,"hex_longitude":"2d75b280","hex_latitude":"05ddf198","is_valid_coordinates":true} 
[2026-08-08 04:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253070592001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115722507901730816,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8483444717022615552,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786144816000,"timestamp_ms":1786144816000,"timestamp_seconds":1786144816,"priority":1,"record_length":96,"hex_timestamp":"0000019fde86fb80"} 
[2026-08-08 04:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 04:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:51:14] 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-08-08 04:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253070592001,"66":11874,"157":206,"87":12288,"24":44,"16":115722507901730816,"45":8483444717022615552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253070592001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:51:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:51:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115722507901730816,"km_value":115722507901730.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8483444717022615552,"description":"Unknown IO ID 45"} 
[2026-08-08 04:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253070592001,"power":11874,"unknown_157":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8483444717022615552}} 
[2026-08-08 04:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":150316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:51:14] local.INFO: GPS data processed {"connection_id":150316,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:51:14] local.INFO: Acknowledgment sent {"connection_id":150316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:51:32] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:32] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:32] local.INFO: IMEI packet received {"connection_id":150317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":150317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:51:36] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:36] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:36] local.INFO: IMEI packet received {"connection_id":150317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":150317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:51:37] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:37] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:51:37] local.INFO: IMEI packet received {"connection_id":150317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":150317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:51:38] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde872290012d75aa4005de16900003015927..."} 
[2026-08-08 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde872290012d75aa4005de16900003015927..."} 
[2026-08-08 04:51:38] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde872290012d75aa4005de16900003015927..."} 
[2026-08-08 04:51:38] local.INFO: Packet analysis {"connection_id":150317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:51:38] local.INFO: Extracted packet for processing {"connection_id":150317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":762686016,"raw_latitude":98440848,"longitude_deg":76.2686016,"latitude_deg":9.8440848,"altitude":3,"angle":345,"satellites":39,"speed":38,"hex_longitude":"2d75aa40","hex_latitude":"05de1690","is_valid_coordinates":true} 
[2026-08-08 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253072896001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115722980348133376,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480981810978854912,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51: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-08-08 04:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144826000,"timestamp_ms":1786144826000,"timestamp_seconds":1786144826,"priority":1,"record_length":96,"hex_timestamp":"0000019fde872290"} 
[2026-08-08 04:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 04:51:38] 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-08-08 04:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:51:38] 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-08-08 04:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253072896001,"66":12048,"157":206,"87":12288,"24":38,"16":115722980348133376,"45":8480981810978854912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253072896001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:51:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:51:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115722980348133376,"km_value":115722980348133.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480981810978854912,"description":"Unknown IO ID 45"} 
[2026-08-08 04:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253072896001,"power":12048,"unknown_157":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8480981810978854912}} 
[2026-08-08 04:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":150317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:51:38] local.INFO: GPS data processed {"connection_id":150317,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:51:38] local.INFO: Acknowledgment sent {"connection_id":150317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:51:42] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde870738012d0f344006e706a8000900852f..."} 
[2026-08-08 04:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde870738012d0f344006e706a8000900852f..."} 
[2026-08-08 04:51:42] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde870738012d0f344006e706a8000900852f..."} 
[2026-08-08 04:51:42] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:51:42] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:51:42] local.INFO: GPS Element Parsed {"raw_longitude":755971136,"raw_latitude":115803816,"longitude_deg":75.5971136,"latitude_deg":11.5803816,"altitude":9,"angle":133,"satellites":47,"speed":41,"hex_longitude":"2d0f3440","hex_latitude":"06e706a8","is_valid_coordinates":true} 
[2026-08-08 04:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253071104001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374621001905864704,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1087971183378307072,"note":"Value kept but may cause issues"} 
[2026-08-08 04:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786144819000,"timestamp_ms":1786144819000,"timestamp_seconds":1786144819,"priority":1,"record_length":96,"hex_timestamp":"0000019fde870738"} 
[2026-08-08 04:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 04:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253071104001,"66":27310,"150":206,"2":56576,"24":41,"16":374621001905864704,"45":1087971183378307072},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-08-08 04:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253071104001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:51:42] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 04:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374621001905864704,"km_value":374621001905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1087971183378307072,"description":"Unknown IO ID 45"} 
[2026-08-08 04:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253071104001,"power":27310,"unknown_150":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1087971183378307072}} 
[2026-08-08 04:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:51:42] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:51:42] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:52:10] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8745b8012d75a10005de3a800003015a28..."} 
[2026-08-08 04:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8745b8012d75a10005de3a800003015a28..."} 
[2026-08-08 04:52:10] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8745b8012d75a10005de3a800003015a28..."} 
[2026-08-08 04:52:10] local.INFO: Packet analysis {"connection_id":150317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:10] local.INFO: Extracted packet for processing {"connection_id":150317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":762683648,"raw_latitude":98450048,"longitude_deg":76.2683648,"latitude_deg":9.8450048,"altitude":3,"angle":346,"satellites":40,"speed":39,"hex_longitude":"2d75a100","hex_latitude":"05de3a80","is_valid_coordinates":true} 
[2026-08-08 04:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253075456001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115723439909634048,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8478659642423414784,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786144835000,"timestamp_ms":1786144835000,"timestamp_seconds":1786144835,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8745b8"} 
[2026-08-08 04:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578338601961773568,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3733343160,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7269230911529418752,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505365377449984,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2257717249,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2181562369,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628952508447389,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-4999839125085356008,"corrected_to":0} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3758173557,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182173875044608,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2505408767667905497,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84853567554706712,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,87,24,241,16,33,159,251,45,128,2,39,10,66,216,64,204,1,32,181,192,240,255,227,222,221,4,113,205,44,110,209,239,47,155,5,69,168],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-4999839125085356008,"validated":0}]} 
[2026-08-08 04:52:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216552281131581440,"timestamp_seconds":216552281131581.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 04:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:52:10] 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-08-08 04:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253075456001,"66":12135,"157":206,"87":12288,"24":39,"16":115723439909634048,"45":8478659642423414784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253075456001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:52:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:52:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115723439909634048,"km_value":115723439909634.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8478659642423414784,"description":"Unknown IO ID 45"} 
[2026-08-08 04:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253075456001,"power":12135,"unknown_157":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8478659642423414784}} 
[2026-08-08 04:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":150317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:52:10] local.INFO: GPS data processed {"connection_id":150317,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:52:10] local.INFO: Acknowledgment sent {"connection_id":150317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:52:14] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde872678012d0f4fc006e6ef10000500822e..."} 
[2026-08-08 04:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde872678012d0f4fc006e6ef10000500822e..."} 
[2026-08-08 04:52:14] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde872678012d0f4fc006e6ef10000500822e..."} 
[2026-08-08 04:52:14] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:14] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:14] local.INFO: GPS Element Parsed {"raw_longitude":755978176,"raw_latitude":115797776,"longitude_deg":75.5978176,"latitude_deg":11.5797776,"altitude":5,"angle":130,"satellites":46,"speed":48,"hex_longitude":"2d0f4fc0","hex_latitude":"06e6ef10","is_valid_coordinates":true} 
[2026-08-08 04:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253073664001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374621444287496192,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1095571007747827712,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786144827000,"timestamp_ms":1786144827000,"timestamp_seconds":1786144827,"priority":1,"record_length":96,"hex_timestamp":"0000019fde872678"} 
[2026-08-08 04:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 04:52: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-08-08 04:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253073664001,"66":27343,"150":206,"2":56576,"24":48,"16":374621444287496192,"45":1095571007747827712},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-08-08 04:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253073664001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:52:14] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 04:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374621444287496192,"km_value":374621444287496.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1095571007747827712,"description":"Unknown IO ID 45"} 
[2026-08-08 04:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253073664001,"power":27343,"unknown_150":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1095571007747827712}} 
[2026-08-08 04:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:52:14] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:52:14] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:52:38] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:52:38] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:52:38] local.INFO: IMEI packet received {"connection_id":150318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":150318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:52:43] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:52:43] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:52:43] local.INFO: IMEI packet received {"connection_id":150318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":150318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:52:43] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8768e0012d7597c005de5c980002015828..."} 
[2026-08-08 04:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8768e0012d7597c005de5c980002015828..."} 
[2026-08-08 04:52:43] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8768e0012d7597c005de5c980002015828..."} 
[2026-08-08 04:52:43] local.INFO: Packet analysis {"connection_id":150318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:43] local.INFO: Extracted packet for processing {"connection_id":150318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:43] local.INFO: GPS Element Parsed {"raw_longitude":762681280,"raw_latitude":98458776,"longitude_deg":76.268128,"latitude_deg":9.8458776,"altitude":2,"angle":344,"satellites":40,"speed":44,"hex_longitude":"2d7597c0","hex_latitude":"05de5c98","is_valid_coordinates":true} 
[2026-08-08 04:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253077760001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115723877996298240,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8476055998891196416,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786144844000,"timestamp_ms":1786144844000,"timestamp_seconds":1786144844,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8768e0"} 
[2026-08-08 04:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 04:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:52:43] 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-08-08 04:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253077760001,"66":12145,"157":206,"87":12288,"24":44,"16":115723877996298240,"45":8476055998891196416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253077760001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:52:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:52:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115723877996298240,"km_value":115723877996298.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8476055998891196416,"description":"Unknown IO ID 45"} 
[2026-08-08 04:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253077760001,"power":12145,"unknown_157":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8476055998891196416}} 
[2026-08-08 04:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":150318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:52:43] local.INFO: GPS data processed {"connection_id":150318,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:52:43] local.INFO: Acknowledgment sent {"connection_id":150318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:52:45] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8745b8012d0f6bc006e6d9e80004007b2d..."} 
[2026-08-08 04:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8745b8012d0f6bc006e6d9e80004007b2d..."} 
[2026-08-08 04:52:45] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8745b8012d0f6bc006e6d9e80004007b2d..."} 
[2026-08-08 04:52:45] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:45] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:45] local.INFO: GPS Element Parsed {"raw_longitude":755985344,"raw_latitude":115792360,"longitude_deg":75.5985344,"latitude_deg":11.579236,"altitude":4,"angle":123,"satellites":45,"speed":43,"hex_longitude":"2d0f6bc0","hex_latitude":"06e6d9e8","is_valid_coordinates":true} 
[2026-08-08 04:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253075712001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374621873784225792,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1103311569605824512,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786144835000,"timestamp_ms":1786144835000,"timestamp_seconds":1786144835,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8745b8"} 
[2026-08-08 04:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253075712001,"66":27234,"150":206,"2":56576,"24":43,"16":374621873784225792,"45":1103311569605824512},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-08-08 04:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253075712001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:52:45] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 04:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374621873784225792,"km_value":374621873784225.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1103311569605824512,"description":"Unknown IO ID 45"} 
[2026-08-08 04:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253075712001,"power":27234,"unknown_150":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1103311569605824512}} 
[2026-08-08 04:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:52:45] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:52:45] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:52:48] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde878c08012d758e8005de80700000015728..."} 
[2026-08-08 04:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde878c08012d758e8005de80700000015728..."} 
[2026-08-08 04:52:48] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde878c08012d758e8005de80700000015728..."} 
[2026-08-08 04:52:48] local.INFO: Packet analysis {"connection_id":150318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:48] local.INFO: Extracted packet for processing {"connection_id":150318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":762678912,"raw_latitude":98467952,"longitude_deg":76.2678912,"latitude_deg":9.8467952,"altitude":0,"angle":343,"satellites":40,"speed":35,"hex_longitude":"2d758e80","hex_latitude":"05de8070","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253080064001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724337557798912,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473452355358857216,"note":"Value kept but may cause issues"} 
[2026-08-08 04:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786144853000,"timestamp_ms":1786144853000,"timestamp_seconds":1786144853,"priority":1,"record_length":96,"hex_timestamp":"0000019fde878c08"} 
[2026-08-08 04:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 04:52:48] 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-08-08 04: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-08-08 04:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:52:48] 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-08-08 04:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253080064001,"66":11874,"157":206,"87":12288,"24":35,"16":115724337557798912,"45":8473452355358857216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253080064001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:52:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:52:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724337557798912,"km_value":115724337557798.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473452355358857216,"description":"Unknown IO ID 45"} 
[2026-08-08 04:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253080064001,"power":11874,"unknown_157":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8473452355358857216}} 
[2026-08-08 04:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":150318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:52:48] local.INFO: GPS data processed {"connection_id":150318,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:52:48] local.INFO: Acknowledgment sent {"connection_id":150318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:53:18] local.INFO: TCP Data received {"connection_id":151290,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde88e7b0012d109a0006e5fd280008009b33..."} 
[2026-08-08 04:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde88e7b0012d109a0006e5fd280008009b33..."} 
[2026-08-08 04:53:18] local.INFO: Processing buffer {"connection_id":151290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde88e7b0012d109a0006e5fd280008009b33..."} 
[2026-08-08 04:53:18] local.INFO: Packet analysis {"connection_id":151290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:53:18] local.INFO: Extracted packet for processing {"connection_id":151290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756062720,"raw_latitude":115735848,"longitude_deg":75.606272,"latitude_deg":11.5735848,"altitude":8,"angle":155,"satellites":51,"speed":59,"hex_longitude":"2d109a00","hex_latitude":"06e5fd28","is_valid_coordinates":true} 
[2026-08-08 04:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253103616001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374626555298578432,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1191624343534999552,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786144942000,"timestamp_ms":1786144942000,"timestamp_seconds":1786144942,"priority":1,"record_length":96,"hex_timestamp":"0000019fde88e7b0"} 
[2026-08-08 04:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:53: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-08-08 04:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253103616001,"66":27343,"149":206,"2":56576,"24":59,"16":374626555298578432,"45":1191624343534999552},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,2,24,16,45]} 
[2026-08-08 04:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253103616001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:53:18] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 04:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374626555298578432,"km_value":374626555298578.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1191624343534999552,"description":"Unknown IO ID 45"} 
[2026-08-08 04:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253103616001,"power":27343,"unknown_149":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1191624343534999552}} 
[2026-08-08 04:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":151290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:53:18] local.INFO: GPS data processed {"connection_id":151290,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:53:18] local.INFO: Acknowledgment sent {"connection_id":151290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:53:33] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:53:33] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:53:33] local.INFO: IMEI packet received {"connection_id":152769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":152769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:53:36] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:36] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:36] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:53:38] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:53:38] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:53:38] local.INFO: IMEI packet received {"connection_id":152769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":152769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:53:38] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde87de10012d758a8005de8e100000015227..."} 
[2026-08-08 04:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde87de10012d758a8005de8e100000015227..."} 
[2026-08-08 04:53:38] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde87de10012d758a8005de8e100000015227..."} 
[2026-08-08 04:53:38] local.INFO: Packet analysis {"connection_id":152769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:53:38] local.INFO: Extracted packet for processing {"connection_id":152769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde87"} 
[2026-08-08 04:53:38] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471440,"longitude_deg":76.2677888,"latitude_deg":9.847144,"altitude":0,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e10","is_valid_coordinates":true} 
[2026-08-08 04:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253082368001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8470848711826632704,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53: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-08-08 04:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144874000,"timestamp_ms":1786144874000,"timestamp_seconds":1786144874,"priority":1,"record_length":96,"hex_timestamp":"0000019fde87de10"} 
[2026-08-08 04:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 04:53:38] 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-08-08 04:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:53:38] 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-08-08 04:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253082368001,"66":12156,"157":206,"87":12288,"24":0,"16":115724517946425344,"45":8470848711826632704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 04:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253082368001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:53:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 04:53:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8470848711826632704,"description":"Unknown IO ID 45"} 
[2026-08-08 04:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253082368001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8470848711826632704}} 
[2026-08-08 04:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":152769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:53:38] local.INFO: GPS data processed {"connection_id":152769,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:53:38] local.INFO: Acknowledgment sent {"connection_id":152769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:53:39] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:39] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:39] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:53:42] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:42] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:53:42] local.INFO: IMEI packet received {"connection_id":151291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":151291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:53:44] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde88ff20012d10a80006e5dd080009009c33..."} 
[2026-08-08 04:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde88ff20012d10a80006e5dd080009009c33..."} 
[2026-08-08 04:53:44] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde88ff20012d10a80006e5dd080009009c33..."} 
[2026-08-08 04:53:44] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:53:44] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756066304,"raw_latitude":115727624,"longitude_deg":75.6066304,"latitude_deg":11.5727624,"altitude":9,"angle":156,"satellites":51,"speed":58,"hex_longitude":"2d10a800","hex_latitude":"06e5dd08","is_valid_coordinates":true} 
[2026-08-08 04:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253105152001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374626989090275328,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1196268680648665088,"note":"Value kept but may cause issues"} 
[2026-08-08 04:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786144948000,"timestamp_ms":1786144948000,"timestamp_seconds":1786144948,"priority":1,"record_length":96,"hex_timestamp":"0000019fde88ff20"} 
[2026-08-08 04:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 04:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253105152001,"66":27321,"138":206,"2":56576,"24":58,"16":374626989090275328,"45":1196268680648665088},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-08-08 04:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253105152001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:53:44] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-08 04:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374626989090275328,"km_value":374626989090275.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1196268680648665088,"description":"Unknown IO ID 45"} 
[2026-08-08 04:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253105152001,"power":27321,"unknown_138":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1196268680648665088}} 
[2026-08-08 04:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:53:44] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:53:44] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:54:10] local.INFO: TCP Data received {"connection_id":152769,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde883018012d758a8005de8e100000015226..."} 
[2026-08-08 04:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde883018012d758a8005de8e100000015226..."} 
[2026-08-08 04:54:10] local.INFO: Processing buffer {"connection_id":152769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde883018012d758a8005de8e100000015226..."} 
[2026-08-08 04:54:10] local.INFO: Packet analysis {"connection_id":152769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:54:10] local.INFO: Extracted packet for processing {"connection_id":152769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:54:10] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471440,"longitude_deg":76.2677888,"latitude_deg":9.847144,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e10","is_valid_coordinates":true} 
[2026-08-08 04:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253087744001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920683008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786144895000,"timestamp_ms":1786144895000,"timestamp_seconds":1786144895,"priority":1,"record_length":96,"hex_timestamp":"0000019fde883018"} 
[2026-08-08 04:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:54: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-08-08 04: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 04:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:54:10] 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-08-08 04:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253087744001,"66":11776,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920683008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253087744001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:54:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:54:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920683008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253087744001,"power":11776,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920683008}} 
[2026-08-08 04:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":152769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:54:10] local.INFO: GPS data processed {"connection_id":152769,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:54:10] local.INFO: Acknowledgment sent {"connection_id":152769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:54:15] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde891a78012d10b90006e5b8e8000b009832..."} 
[2026-08-08 04:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde891a78012d10b90006e5b8e8000b009832..."} 
[2026-08-08 04:54:15] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde891a78012d10b90006e5b8e8000b009832..."} 
[2026-08-08 04:54:15] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde89"} 
[2026-08-08 04:54:15] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde89"} 
[2026-08-08 04:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756070656,"raw_latitude":115718376,"longitude_deg":75.6070656,"latitude_deg":11.5718376,"altitude":11,"angle":152,"satellites":50,"speed":57,"hex_longitude":"2d10b900","hex_latitude":"06e5b8e8","is_valid_coordinates":true} 
[2026-08-08 04:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253106688001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374627483011514368,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1200209330320508928,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786144955000,"timestamp_ms":1786144955000,"timestamp_seconds":1786144955,"priority":1,"record_length":96,"hex_timestamp":"0000019fde891a78"} 
[2026-08-08 04:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 04:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253106688001,"66":27463,"138":206,"2":56576,"24":57,"16":374627483011514368,"45":1200209330320508928},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-08-08 04:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253106688001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:54:15] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-08 04:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374627483011514368,"km_value":374627483011514.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1200209330320508928,"description":"Unknown IO ID 45"} 
[2026-08-08 04:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253106688001,"power":27463,"unknown_138":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1200209330320508928}} 
[2026-08-08 04:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:54:15] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:54:15] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:54:33] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:54:33] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:54:33] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:54:38] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:54:38] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:54:38] local.INFO: IMEI packet received {"connection_id":152770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":152770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:54:38] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:54:38] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:54:38] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:54:38] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471440,"longitude_deg":76.2677888,"latitude_deg":9.847144,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e10","is_valid_coordinates":true} 
[2026-08-08 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253093120001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920683008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144897000,"timestamp_ms":1786144897000,"timestamp_seconds":1786144897,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8837e8"} 
[2026-08-08 04:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:54: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-08-08 04: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 04:54:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:38] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2415996277,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3733388160,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3130851534,"corrected_to":0} 
[2026-08-08 04:54:38] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,42,87,24,241,157,16,34,159,222,45,128,142,39,10,66,140,40,104,192,1,240,113,227,4,205,170,144,239,47,2,155],"length":434,"final_offset":564,"validated_count":32,"validation_warnings":[{"io_id":205,"original":3130851534,"validated":0}]} 
[2026-08-08 04:54:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":371798138945536,"timestamp_seconds":371798138945.536,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 04:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:54:38] 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-08-08 04:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253093120001,"66":11341,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920683008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253093120001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:54:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:54:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920683008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253093120001,"power":11341,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920683008}} 
[2026-08-08 04:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:54:38] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:54:38] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:54:47] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8a4740012d1146c006e42a300007009c34..."} 
[2026-08-08 04:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8a4740012d1146c006e42a300007009c34..."} 
[2026-08-08 04:54:47] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8a4740012d1146c006e42a300007009c34..."} 
[2026-08-08 04:54:47] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:54:47] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756106944,"raw_latitude":115616304,"longitude_deg":75.6106944,"latitude_deg":11.5616304,"altitude":7,"angle":156,"satellites":52,"speed":52,"hex_longitude":"2d1146c0","hex_latitude":"06e42a30","is_valid_coordinates":true} 
[2026-08-08 04:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253126400001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374632808770961408,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1239475089545363456,"note":"Value kept but may cause issues"} 
[2026-08-08 04:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786145032000,"timestamp_ms":1786145032000,"timestamp_seconds":1786145032,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8a4740"} 
[2026-08-08 04:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253126400001,"66":27365,"136":206,"2":56576,"24":52,"16":374632808770961408,"45":1239475089545363456},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-08-08 04:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253126400001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:54:47] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 04:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374632808770961408,"km_value":374632808770961.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1239475089545363456,"description":"Unknown IO ID 45"} 
[2026-08-08 04:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253126400001,"power":27365,"unknown_136":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1239475089545363456}} 
[2026-08-08 04:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:54:47] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:54:47] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:55:10] local.INFO: TCP Data received {"connection_id":152770,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:55:10] local.INFO: Processing buffer {"connection_id":152770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:55:10] local.INFO: Packet analysis {"connection_id":152770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:55:10] local.INFO: Extracted packet for processing {"connection_id":152770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471440,"longitude_deg":76.2677888,"latitude_deg":9.847144,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e10","is_valid_coordinates":true} 
[2026-08-08 04:55: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-08-08 04:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253093632001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920683008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786144897000,"timestamp_ms":1786144897000,"timestamp_seconds":1786144897,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8837e8"} 
[2026-08-08 04:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:55: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-08-08 04: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:55:10] 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-08-08 04:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:55:10] 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-08-08 04:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253093632001,"66":11341,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920683008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253093632001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:55:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:55:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920683008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253093632001,"power":11341,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920683008}} 
[2026-08-08 04:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":152770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:55:10] local.INFO: GPS data processed {"connection_id":152770,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:55:10] local.INFO: Acknowledgment sent {"connection_id":152770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:55:20] local.INFO: TCP Data received {"connection_id":151291,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8a5ac8012d114e4006e411d8000600a834..."} 
[2026-08-08 04:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8a5ac8012d114e4006e411d8000600a834..."} 
[2026-08-08 04:55:20] local.INFO: Processing buffer {"connection_id":151291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8a5ac8012d114e4006e411d8000600a834..."} 
[2026-08-08 04:55:20] local.INFO: Packet analysis {"connection_id":151291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:55:20] local.INFO: Extracted packet for processing {"connection_id":151291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756108864,"raw_latitude":115610072,"longitude_deg":75.6108864,"latitude_deg":11.5610072,"altitude":6,"angle":168,"satellites":52,"speed":50,"hex_longitude":"2d114e40","hex_latitude":"06e411d8","is_valid_coordinates":true} 
[2026-08-08 04:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253128192001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374633126598541312,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1244893482844827648,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786145037000,"timestamp_ms":1786145037000,"timestamp_seconds":1786145037,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8a5ac8"} 
[2026-08-08 04:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253128192001,"66":27332,"136":206,"2":56576,"24":50,"16":374633126598541312,"45":1244893482844827648},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-08-08 04:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253128192001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 04:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374633126598541312,"km_value":374633126598541.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1244893482844827648,"description":"Unknown IO ID 45"} 
[2026-08-08 04:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253128192001,"power":27332,"unknown_136":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1244893482844827648}} 
[2026-08-08 04:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":151291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:55:20] local.INFO: GPS data processed {"connection_id":151291,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:55:20] local.INFO: Acknowledgment sent {"connection_id":151291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:55:32] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:55:32] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:55:32] local.INFO: IMEI packet received {"connection_id":150319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":150319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:55:36] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:55:36] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:55:36] local.INFO: IMEI packet received {"connection_id":151292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":151292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:55:38] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:55:38] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:55:38] local.INFO: IMEI packet received {"connection_id":150319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":150319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:55:38] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:55:38] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:55:38] local.INFO: Packet analysis {"connection_id":150319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:55:38] local.INFO: Extracted packet for processing {"connection_id":150319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471440,"longitude_deg":76.2677888,"latitude_deg":9.847144,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e10","is_valid_coordinates":true} 
[2026-08-08 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253093632001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920683008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786144897000,"timestamp_ms":1786144897000,"timestamp_seconds":1786144897,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8837e8"} 
[2026-08-08 04:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:55:38] 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-08-08 04:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:55:38] 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-08-08 04:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253093632001,"66":11341,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920683008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253093632001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:55:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:55:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920683008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253093632001,"power":11341,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920683008}} 
[2026-08-08 04:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":150319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:55:38] local.INFO: GPS data processed {"connection_id":150319,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:55:38] local.INFO: Acknowledgment sent {"connection_id":150319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:55:41] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:55:41] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:55:41] local.INFO: IMEI packet received {"connection_id":151292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":151292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:55:43] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8a7a08012d11550006e3eb10000800ad34..."} 
[2026-08-08 04:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8a7a08012d11550006e3eb10000800ad34..."} 
[2026-08-08 04:55:43] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8a7a08012d11550006e3eb10000800ad34..."} 
[2026-08-08 04:55:43] local.INFO: Packet analysis {"connection_id":151292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:55:43] local.INFO: Extracted packet for processing {"connection_id":151292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756110592,"raw_latitude":115600144,"longitude_deg":75.6110592,"latitude_deg":11.5600144,"altitude":8,"angle":173,"satellites":52,"speed":48,"hex_longitude":"2d115500","hex_latitude":"06e3eb10","is_valid_coordinates":true} 
[2026-08-08 04:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253129472001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374633616224813056,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1247004545168562176,"note":"Value kept but may cause issues"} 
[2026-08-08 04:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145045000,"timestamp_ms":1786145045000,"timestamp_seconds":1786145045,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8a7a08"} 
[2026-08-08 04:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253129472001,"66":27234,"100":206,"2":56576,"24":48,"16":374633616224813056,"45":1247004545168562176},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 04:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253129472001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:55:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 04:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374633616224813056,"km_value":374633616224813.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1247004545168562176,"description":"Unknown IO ID 45"} 
[2026-08-08 04:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253129472001,"power":27234,"unknown_100":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1247004545168562176}} 
[2026-08-08 04:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":151292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:55:43] local.INFO: GPS data processed {"connection_id":151292,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:55:43] local.INFO: Acknowledgment sent {"connection_id":151292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:56:09] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:56:09] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8837e8012d758a8005de8e100000015226..."} 
[2026-08-08 04:56:09] local.INFO: Packet analysis {"connection_id":150319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:56:09] local.INFO: Extracted packet for processing {"connection_id":150319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde88"} 
[2026-08-08 04:56:09] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471440,"longitude_deg":76.2677888,"latitude_deg":9.847144,"altitude":0,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e10","is_valid_coordinates":true} 
[2026-08-08 04: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-08-08 04:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253093632001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920683008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786144897000,"timestamp_ms":1786144897000,"timestamp_seconds":1786144897,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8837e8"} 
[2026-08-08 04:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 04: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:56:09] 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-08-08 04:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:56:09] 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-08-08 04:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253093632001,"66":11341,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920683008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253093632001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:56:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:56:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920683008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253093632001,"power":11341,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920683008}} 
[2026-08-08 04:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":150319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:56:09] local.INFO: GPS data processed {"connection_id":150319,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:56:09] local.INFO: Acknowledgment sent {"connection_id":150319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:56:14] local.INFO: TCP Data received {"connection_id":151292,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8a9948012d11594006e3c4a0000a00ae34..."} 
[2026-08-08 04:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8a9948012d11594006e3c4a0000a00ae34..."} 
[2026-08-08 04:56:14] local.INFO: Processing buffer {"connection_id":151292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8a9948012d11594006e3c4a0000a00ae34..."} 
[2026-08-08 04:56:14] local.INFO: Packet analysis {"connection_id":151292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:56:14] local.INFO: Extracted packet for processing {"connection_id":151292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8a"} 
[2026-08-08 04:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756111680,"raw_latitude":115590304,"longitude_deg":75.611168,"latitude_deg":11.5590304,"altitude":10,"angle":174,"satellites":52,"speed":49,"hex_longitude":"2d115940","hex_latitude":"06e3c4a0","is_valid_coordinates":true} 
[2026-08-08 04:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253131520001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374634092966182912,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248904501258817536,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786145053000,"timestamp_ms":1786145053000,"timestamp_seconds":1786145053,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8a9948"} 
[2026-08-08 04:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 04:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253131520001,"66":27365,"100":206,"2":56576,"24":49,"16":374634092966182912,"45":1248904501258817536},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 04:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253131520001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:56:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 04:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374634092966182912,"km_value":374634092966182.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248904501258817536,"description":"Unknown IO ID 45"} 
[2026-08-08 04:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253131520001,"power":27365,"unknown_100":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1248904501258817536}} 
[2026-08-08 04:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":151292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:56:14] local.INFO: GPS data processed {"connection_id":151292,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:56:14] local.INFO: Acknowledgment sent {"connection_id":151292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:56:32] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:56:32] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:56:32] local.INFO: IMEI packet received {"connection_id":150320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":150320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:56:38] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:56:38] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:56:38] local.INFO: IMEI packet received {"connection_id":150320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":150320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:56:38] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8cac88012d758a8005de8e08000001522a..."} 
[2026-08-08 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8cac88012d758a8005de8e08000001522a..."} 
[2026-08-08 04:56:38] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8cac88012d758a8005de8e08000001522a..."} 
[2026-08-08 04:56:38] local.INFO: Packet analysis {"connection_id":150320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:56:38] local.INFO: Extracted packet for processing {"connection_id":150320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471432,"longitude_deg":76.2677888,"latitude_deg":9.8471432,"altitude":0,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e08","is_valid_coordinates":true} 
[2026-08-08 04:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253093632001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920683008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786145189000,"timestamp_ms":1786145189000,"timestamp_seconds":1786145189,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8cac88"} 
[2026-08-08 04:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 04: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 04:56:38] 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-08-08 04:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:56:38] 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-08-08 04:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253093632001,"66":11917,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920683008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253093632001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:56:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:56:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920683008,"description":"Unknown IO ID 45"} 
[2026-08-08 04:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253093632001,"power":11917,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920683008}} 
[2026-08-08 04:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":150320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:56:39] local.INFO: GPS data processed {"connection_id":150320,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:56:39] local.INFO: Acknowledgment sent {"connection_id":150320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:56:40] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:40] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:40] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:56:40] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:40] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:40] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:56:41] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:41] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:41] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:56:47] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:47] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:56:47] local.INFO: IMEI packet received {"connection_id":151293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":151293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:56:48] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8c1fe8012d11804006e21c40000d00b631..."} 
[2026-08-08 04:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8c1fe8012d11804006e21c40000d00b631..."} 
[2026-08-08 04:56:48] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8c1fe8012d11804006e21c40000d00b631..."} 
[2026-08-08 04:56:48] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:56:48] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756121664,"raw_latitude":115481664,"longitude_deg":75.6121664,"latitude_deg":11.5481664,"altitude":13,"angle":182,"satellites":49,"speed":42,"hex_longitude":"2d118040","hex_latitude":"06e21c40","is_valid_coordinates":true} 
[2026-08-08 04:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253156608001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374639448790401024,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262063456392085504,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786145153000,"timestamp_ms":1786145153000,"timestamp_seconds":1786145153,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8c1fe8"} 
[2026-08-08 04:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:56: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-08-08 04:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 04:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253156608001,"66":27463,"2":56576,"24":42,"16":374639448790401024,"45":1262063456392085504},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 04:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253156608001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374639448790401024,"km_value":374639448790401.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262063456392085504,"description":"Unknown IO ID 45"} 
[2026-08-08 04:56:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457253156608001,"power":27463,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":1262063456392085504}} 
[2026-08-08 04:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:56:48] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:56:48] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:56:49] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8c3f28012d11824006e1f588000b00aa33..."} 
[2026-08-08 04:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8c3f28012d11824006e1f588000b00aa33..."} 
[2026-08-08 04:56:49] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8c3f28012d11824006e1f588000b00aa33..."} 
[2026-08-08 04:56:49] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:56:49] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756122176,"raw_latitude":115471752,"longitude_deg":75.6122176,"latitude_deg":11.5471752,"altitude":11,"angle":170,"satellites":51,"speed":55,"hex_longitude":"2d118240","hex_latitude":"06e1f588","is_valid_coordinates":true} 
[2026-08-08 04:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253159168001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374639929826738176,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261078293971222528,"note":"Value kept but may cause issues"} 
[2026-08-08 04:56:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786145161000,"timestamp_ms":1786145161000,"timestamp_seconds":1786145161,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8c3f28"} 
[2026-08-08 04:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 04:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253159168001,"66":27365,"2":56576,"24":55,"16":374639929826738176,"45":1261078293971222528},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 04:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253159168001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374639929826738176,"km_value":374639929826738.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261078293971222528,"description":"Unknown IO ID 45"} 
[2026-08-08 04:56:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457253159168001,"power":27365,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1261078293971222528}} 
[2026-08-08 04:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:56:49] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:56:49] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:57:10] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8cac88012d758a8005de8e08000001522a..."} 
[2026-08-08 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8cac88012d758a8005de8e08000001522a..."} 
[2026-08-08 04:57:10] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8cac88012d758a8005de8e08000001522a..."} 
[2026-08-08 04:57:10] local.INFO: Packet analysis {"connection_id":150320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:10] local.INFO: Extracted packet for processing {"connection_id":150320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":762677888,"raw_latitude":98471432,"longitude_deg":76.2677888,"latitude_deg":9.8471432,"altitude":0,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d758a80","hex_latitude":"05de8e08","is_valid_coordinates":true} 
[2026-08-08 04:57: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-08-08 04:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253168384001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724517946425344,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920680960,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786145189000,"timestamp_ms":1786145189000,"timestamp_seconds":1786145189,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8cac88"} 
[2026-08-08 04:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:57: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-08-08 04: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 04:57: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-08-08 04:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:57:10] 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-08-08 04:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253168384001,"66":11917,"42":206,"87":12288,"24":0,"16":115724517946425344,"45":8469722811920680960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253168384001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:57:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:57:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724517946425344,"km_value":115724517946425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920680960,"description":"Unknown IO ID 45"} 
[2026-08-08 04:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253168384001,"power":11917,"unknown_42":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8469722811920680960}} 
[2026-08-08 04:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":150320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:57:10] local.INFO: GPS data processed {"connection_id":150320,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:57:10] local.INFO: Acknowledgment sent {"connection_id":150320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:57:20] local.INFO: TCP Data received {"connection_id":151293,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8c3f28012d11824006e1f588000b00aa33..."} 
[2026-08-08 04:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8c3f28012d11824006e1f588000b00aa33..."} 
[2026-08-08 04:57:20] local.INFO: Processing buffer {"connection_id":151293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8c3f28012d11824006e1f588000b00aa33..."} 
[2026-08-08 04:57:20] local.INFO: Packet analysis {"connection_id":151293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:20] local.INFO: Extracted packet for processing {"connection_id":151293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756122176,"raw_latitude":115471752,"longitude_deg":75.6122176,"latitude_deg":11.5471752,"altitude":11,"angle":170,"satellites":51,"speed":55,"hex_longitude":"2d118240","hex_latitude":"06e1f588","is_valid_coordinates":true} 
[2026-08-08 04:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253161216001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374639929826738176,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261641243922106368,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786145161000,"timestamp_ms":1786145161000,"timestamp_seconds":1786145161,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8c3f28"} 
[2026-08-08 04:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253161216001,"66":27365,"2":56576,"24":55,"16":374639929826738176,"45":1261641243922106368},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 04:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253161216001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374639929826738176,"km_value":374639929826738.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261641243922106368,"description":"Unknown IO ID 45"} 
[2026-08-08 04:57:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457253161216001,"power":27365,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1261641243922106368}} 
[2026-08-08 04:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":151293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:57:20] local.INFO: GPS data processed {"connection_id":151293,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:57:20] local.INFO: Acknowledgment sent {"connection_id":151293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:57:32] local.INFO: TCP Data received {"connection_id":150059,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:57:32] local.INFO: Processing buffer {"connection_id":150059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:57:32] local.INFO: IMEI packet received {"connection_id":150059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":150059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:57:34] local.INFO: TCP Data received {"connection_id":150060,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:34] local.INFO: Processing buffer {"connection_id":150060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:34] local.INFO: IMEI packet received {"connection_id":150060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":150060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:57:36] local.INFO: TCP Data received {"connection_id":150060,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:36] local.INFO: Processing buffer {"connection_id":150060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:36] local.INFO: IMEI packet received {"connection_id":150060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":150060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:57:38] local.INFO: TCP Data received {"connection_id":150059,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:57:38] local.INFO: Processing buffer {"connection_id":150059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:57:38] local.INFO: IMEI packet received {"connection_id":150059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":150059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:57:38] local.INFO: TCP Data received {"connection_id":150059,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8cf2d8012d758a4005de8e980005015e27..."} 
[2026-08-08 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8cf2d8012d758a4005de8e980005015e27..."} 
[2026-08-08 04:57:38] local.INFO: Processing buffer {"connection_id":150059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8cf2d8012d758a4005de8e980005015e27..."} 
[2026-08-08 04:57:38] local.INFO: Packet analysis {"connection_id":150059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:38] local.INFO: Extracted packet for processing {"connection_id":150059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":762677824,"raw_latitude":98471576,"longitude_deg":76.2677824,"latitude_deg":9.8471576,"altitude":5,"angle":350,"satellites":39,"speed":4,"hex_longitude":"2d758a40","hex_latitude":"05de8e98","is_valid_coordinates":true} 
[2026-08-08 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253168384001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724526536359936,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469722811920680960,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786145207000,"timestamp_ms":1786145207000,"timestamp_seconds":1786145207,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8cf2d8"} 
[2026-08-08 04:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 04:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:57:38] 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-08-08 04:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253168384001,"66":11917,"42":206,"87":12288,"24":4,"16":115724526536359936,"45":8469722811920680960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253168384001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724526536359936,"km_value":115724526536359.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469722811920680960,"description":"Unknown IO ID 45"} 
[2026-08-08 04:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253168384001,"power":11917,"unknown_42":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8469722811920680960}} 
[2026-08-08 04:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":150059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:57:39] local.INFO: GPS data processed {"connection_id":150059,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:57:39] local.INFO: Acknowledgment sent {"connection_id":150059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:57:40] local.INFO: TCP Data received {"connection_id":150060,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:40] local.INFO: Processing buffer {"connection_id":150060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:57:40] local.INFO: IMEI packet received {"connection_id":150060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":150060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:57:41] local.INFO: TCP Data received {"connection_id":150060,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8c5a80012d11894006e1cdf0000a00a933..."} 
[2026-08-08 04:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8c5a80012d11894006e1cdf0000a00a933..."} 
[2026-08-08 04:57:41] local.INFO: Processing buffer {"connection_id":150060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8c5a80012d11894006e1cdf0000a00a933..."} 
[2026-08-08 04:57:41] local.INFO: Packet analysis {"connection_id":150060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:41] local.INFO: Extracted packet for processing {"connection_id":150060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8c"} 
[2026-08-08 04:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756123968,"raw_latitude":115461616,"longitude_deg":75.6123968,"latitude_deg":11.5461616,"altitude":10,"angle":169,"satellites":51,"speed":59,"hex_longitude":"2d118940","hex_latitude":"06e1cdf0","is_valid_coordinates":true} 
[2026-08-08 04:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253161216001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374640432337911808,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261641243922106368,"note":"Value kept but may cause issues"} 
[2026-08-08 04:57:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 04:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786145168000,"timestamp_ms":1786145168000,"timestamp_seconds":1786145168,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8c5a80"} 
[2026-08-08 04:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253161216001,"66":27376,"2":56576,"24":59,"16":374640432337911808,"45":1261641243922106368},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 04:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253161216001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374640432337911808,"km_value":374640432337911.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261641243922106368,"description":"Unknown IO ID 45"} 
[2026-08-08 04:57:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457253161216001,"power":27376,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1261641243922106368}} 
[2026-08-08 04:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":150060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:57:41] local.INFO: GPS data processed {"connection_id":150060,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:57:41] local.INFO: Acknowledgment sent {"connection_id":150060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:58:10] local.INFO: TCP Data received {"connection_id":150059,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8d21b8012d75854005dea0a00004015327..."} 
[2026-08-08 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8d21b8012d75854005dea0a00004015327..."} 
[2026-08-08 04:58:10] local.INFO: Processing buffer {"connection_id":150059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8d21b8012d75854005dea0a00004015327..."} 
[2026-08-08 04:58:10] local.INFO: Packet analysis {"connection_id":150059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:10] local.INFO: Extracted packet for processing {"connection_id":150059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":762676544,"raw_latitude":98476192,"longitude_deg":76.2676544,"latitude_deg":9.8476192,"altitude":4,"angle":339,"satellites":39,"speed":24,"hex_longitude":"2d758540","hex_latitude":"05dea0a0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 04:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253172992001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115724758464593920,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469652443176540160,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786145219000,"timestamp_ms":1786145219000,"timestamp_seconds":1786145219,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8d21b8"} 
[2026-08-08 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-08-08 04:58: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-08-08 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 04:58: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-08-08 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-08-08 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-08-08 04:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:58:10] 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-08-08 04:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253172992001,"66":12102,"42":206,"87":12288,"24":24,"16":115724758464593920,"45":8469652443176540160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253172992001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:58:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:58:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115724758464593920,"km_value":115724758464593.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469652443176540160,"description":"Unknown IO ID 45"} 
[2026-08-08 04:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253172992001,"power":12102,"unknown_42":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8469652443176540160}} 
[2026-08-08 04:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":150059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:58:10] local.INFO: GPS data processed {"connection_id":150059,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:58:10] local.INFO: Acknowledgment sent {"connection_id":150059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:58:12] local.INFO: TCP Data received {"connection_id":150060,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8d77a8012d11ecc006e03428000e00a333..."} 
[2026-08-08 04:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8d77a8012d11ecc006e03428000e00a333..."} 
[2026-08-08 04:58:12] local.INFO: Processing buffer {"connection_id":150060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8d77a8012d11ecc006e03428000e00a333..."} 
[2026-08-08 04:58:12] local.INFO: Packet analysis {"connection_id":150060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:12] local.INFO: Extracted packet for processing {"connection_id":150060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756149440,"raw_latitude":115356712,"longitude_deg":75.614944,"latitude_deg":11.5356712,"altitude":14,"angle":163,"satellites":51,"speed":57,"hex_longitude":"2d11ecc0","hex_latitude":"06e03428","is_valid_coordinates":true} 
[2026-08-08 04:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253179904001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374645680787947520,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1288381366682621952,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786145241000,"timestamp_ms":1786145241000,"timestamp_seconds":1786145241,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8d77a8"} 
[2026-08-08 04:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 04:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253179904001,"66":26723,"1":206,"2":56576,"24":57,"16":374645680787947520,"45":1288381366682621952},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-08 04:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253179904001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374645680787947520,"km_value":374645680787947.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1288381366682621952,"description":"Unknown IO ID 45"} 
[2026-08-08 04:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253179904001,"power":26723,"imei":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1288381366682621952}} 
[2026-08-08 04:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":150060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:58:12] local.INFO: GPS data processed {"connection_id":150060,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:58:12] local.INFO: Acknowledgment sent {"connection_id":150060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:58:35] local.INFO: TCP Data received {"connection_id":150321,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:35] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:35] local.INFO: IMEI packet received {"connection_id":150321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":150321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:58:37] local.INFO: TCP Data received {"connection_id":150321,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:37] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:37] local.INFO: IMEI packet received {"connection_id":150321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":150321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:58:38] local.INFO: TCP Data received {"connection_id":151294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:38] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:38] local.INFO: IMEI packet received {"connection_id":151294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":151294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:58:38] local.INFO: TCP Data received {"connection_id":151294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:38] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:38] local.INFO: IMEI packet received {"connection_id":151294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":151294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:58:39] local.INFO: TCP Data received {"connection_id":151294,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:39] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:58:39] local.INFO: IMEI packet received {"connection_id":151294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":151294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:58:40] local.INFO: TCP Data received {"connection_id":151294,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8d5c50012d757ac005dec2380001015528..."} 
[2026-08-08 04:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8d5c50012d757ac005dec2380001015528..."} 
[2026-08-08 04:58:40] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8d5c50012d757ac005dec2380001015528..."} 
[2026-08-08 04:58:40] local.INFO: Packet analysis {"connection_id":151294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:40] local.INFO: Extracted packet for processing {"connection_id":151294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:40] local.INFO: GPS Element Parsed {"raw_longitude":762673856,"raw_latitude":98484792,"longitude_deg":76.2673856,"latitude_deg":9.8484792,"altitude":1,"angle":341,"satellites":40,"speed":27,"hex_longitude":"2d757ac0","hex_latitude":"05dec238","is_valid_coordinates":true} 
[2026-08-08 04:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253176064001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115725196551258112,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8468245068294168576,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786145234000,"timestamp_ms":1786145234000,"timestamp_seconds":1786145234,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8d5c50"} 
[2026-08-08 04:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 04:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:58:40] 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-08-08 04:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253176064001,"66":12015,"42":206,"87":12288,"24":27,"16":115725196551258112,"45":8468245068294168576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253176064001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:58:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:58:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115725196551258112,"km_value":115725196551258.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8468245068294168576,"description":"Unknown IO ID 45"} 
[2026-08-08 04:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253176064001,"power":12015,"unknown_42":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8468245068294168576}} 
[2026-08-08 04:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":151294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:58:40] local.INFO: GPS data processed {"connection_id":151294,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:58:40] local.INFO: Acknowledgment sent {"connection_id":151294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:58:43] local.INFO: TCP Data received {"connection_id":151294,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8d8748012d75708005dee3b00001015628..."} 
[2026-08-08 04:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8d8748012d75708005dee3b00001015628..."} 
[2026-08-08 04:58:43] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8d8748012d75708005dee3b00001015628..."} 
[2026-08-08 04:58:43] local.INFO: Packet analysis {"connection_id":151294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:43] local.INFO: Extracted packet for processing {"connection_id":151294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:43] local.INFO: GPS Element Parsed {"raw_longitude":762671232,"raw_latitude":98493360,"longitude_deg":76.2671232,"latitude_deg":9.849336,"altitude":1,"angle":342,"satellites":40,"speed":31,"hex_longitude":"2d757080","hex_latitude":"05dee3b0","is_valid_coordinates":true} 
[2026-08-08 04:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253179904001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115725630342955008,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465289581040908288,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145245000,"timestamp_ms":1786145245000,"timestamp_seconds":1786145245,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8d8748"} 
[2026-08-08 04:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 04:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:58:43] 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-08-08 04:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253179904001,"66":12156,"42":206,"87":12288,"24":31,"16":115725630342955008,"45":8465289581040908288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253179904001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:58:43] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:58:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115725630342955008,"km_value":115725630342955.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465289581040908288,"description":"Unknown IO ID 45"} 
[2026-08-08 04:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253179904001,"power":12156,"unknown_42":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8465289581040908288}} 
[2026-08-08 04:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":151294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:58:43] local.INFO: GPS data processed {"connection_id":151294,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:58:43] local.INFO: Acknowledgment sent {"connection_id":151294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:58:45] local.INFO: TCP Data received {"connection_id":150321,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:45] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:58:45] local.INFO: IMEI packet received {"connection_id":150321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":150321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:58:46] local.INFO: TCP Data received {"connection_id":150321,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8d8f18012d11f70006e01270000c00a432..."} 
[2026-08-08 04:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8d8f18012d11f70006e01270000c00a432..."} 
[2026-08-08 04:58:46] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8d8f18012d11f70006e01270000c00a432..."} 
[2026-08-08 04:58:46] local.INFO: Packet analysis {"connection_id":150321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:46] local.INFO: Extracted packet for processing {"connection_id":150321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756152064,"raw_latitude":115348080,"longitude_deg":75.6152064,"latitude_deg":11.534808,"altitude":12,"angle":164,"satellites":50,"speed":62,"hex_longitude":"2d11f700","hex_latitude":"06e01270","is_valid_coordinates":true} 
[2026-08-08 04:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253181696001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374646114579644416,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1291618328912340992,"note":"Value kept but may cause issues"} 
[2026-08-08 04:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786145247000,"timestamp_ms":1786145247000,"timestamp_seconds":1786145247,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8d8f18"} 
[2026-08-08 04:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:58: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-08-08 04:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-08-08 04:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253181696001,"66":27397,"1":206,"2":56576,"24":62,"16":374646114579644416,"45":1291618328912340992},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-08 04:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253181696001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374646114579644416,"km_value":374646114579644.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1291618328912340992,"description":"Unknown IO ID 45"} 
[2026-08-08 04:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253181696001,"power":27397,"imei":206,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1291618328912340992}} 
[2026-08-08 04:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":150321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:58:46] local.INFO: GPS data processed {"connection_id":150321,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:58:46] local.INFO: Acknowledgment sent {"connection_id":150321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:59:14] local.INFO: TCP Data received {"connection_id":151294,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8efa60012d754a4005dfd1200003004628..."} 
[2026-08-08 04:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8efa60012d754a4005dfd1200003004628..."} 
[2026-08-08 04:59:14] local.INFO: Processing buffer {"connection_id":151294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8efa60012d754a4005dfd1200003004628..."} 
[2026-08-08 04:59:14] local.INFO: Packet analysis {"connection_id":151294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8e"} 
[2026-08-08 04:59:14] local.INFO: Extracted packet for processing {"connection_id":151294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8e"} 
[2026-08-08 04:59:14] local.INFO: GPS Element Parsed {"raw_longitude":762661440,"raw_latitude":98554144,"longitude_deg":76.266144,"latitude_deg":9.8554144,"altitude":3,"angle":70,"satellites":40,"speed":18,"hex_longitude":"2d754a40","hex_latitude":"05dfd120","is_valid_coordinates":true} 
[2026-08-08 04:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253204736001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115728924582871040,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8446149282641817600,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786145340000,"timestamp_ms":1786145340000,"timestamp_seconds":1786145340,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8efa60"} 
[2026-08-08 04:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2161727821305611264,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3733888160,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":32769,"corrected_to":0} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2395189249,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3212836866,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3974990507333910552,"corrected_to":0} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2331817871891412442,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194775040,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,42,87,24,241,157,16,38,159,207,45,192,197,2,41,10,66,203,64,195,3,199,1,240,37,227,222,223,4,113,205,26,164,51,216,39,239,47,155,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":203,"original":32769,"validated":0},{"io_id":205,"original":3974990507333910552,"validated":0}]} 
[2026-08-08 04:59:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144180239652290560,"timestamp_seconds":144180239652290.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 04:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 04:59:14] 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-08-08 04:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 04:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 04:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253204736001,"66":12156,"42":206,"87":12288,"24":18,"16":115728924582871040,"45":8446149282641817600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,87,24,16,45]} 
[2026-08-08 04:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 04:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 04:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253204736001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:59:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 04:59:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 04:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115728924582871040,"km_value":115728924582871.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8446149282641817600,"description":"Unknown IO ID 45"} 
[2026-08-08 04:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253204736001,"power":12156,"unknown_42":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8446149282641817600}} 
[2026-08-08 04:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":151294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:59:14] local.INFO: GPS data processed {"connection_id":151294,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:59:14] local.INFO: Acknowledgment sent {"connection_id":151294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:59:24] local.INFO: TCP Data received {"connection_id":150321,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8da688012d1200c006dff040000b00a531..."} 
[2026-08-08 04:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8da688012d1200c006dff040000b00a531..."} 
[2026-08-08 04:59:24] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8da688012d1200c006dff040000b00a531..."} 
[2026-08-08 04:59:24] local.INFO: Packet analysis {"connection_id":150321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:59:24] local.INFO: Extracted packet for processing {"connection_id":150321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756154560,"raw_latitude":115339328,"longitude_deg":75.615456,"latitude_deg":11.5339328,"altitude":11,"angle":165,"satellites":49,"speed":59,"hex_longitude":"2d1200c0","hex_latitude":"06dff040","is_valid_coordinates":true} 
[2026-08-08 04:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253183232001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374646556961275904,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1294503447421415424,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786145253000,"timestamp_ms":1786145253000,"timestamp_seconds":1786145253,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8da688"} 
[2026-08-08 04:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:59: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-08-08 04:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253183232001,"66":27397,"1":206,"2":56576,"24":59,"16":374646556961275904,"45":1294503447421415424},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-08 04:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253183232001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374646556961275904,"km_value":374646556961275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1294503447421415424,"description":"Unknown IO ID 45"} 
[2026-08-08 04:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253183232001,"power":27397,"imei":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1294503447421415424}} 
[2026-08-08 04:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":150321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:59:24] local.INFO: GPS data processed {"connection_id":150321,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:59:24] local.INFO: Acknowledgment sent {"connection_id":150321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 04:59:29] local.INFO: TCP Data received {"connection_id":151295,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:29] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:29] local.INFO: IMEI packet received {"connection_id":151295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 04:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":151295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:59:30] local.INFO: TCP Data received {"connection_id":151295,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:30] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:30] local.INFO: IMEI packet received {"connection_id":151295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":151295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:59:33] local.INFO: TCP Data received {"connection_id":151295,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:33] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:33] local.INFO: IMEI packet received {"connection_id":151295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":151295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:59:33] local.INFO: TCP Data received {"connection_id":151295,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:33] local.INFO: Processing buffer {"connection_id":151295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 04:59:33] local.INFO: IMEI packet received {"connection_id":151295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 04:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":151295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:59:36] local.INFO: TCP Data received {"connection_id":152771,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:36] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:36] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 04:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 04:59:39] local.INFO: TCP Data received {"connection_id":152771,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:39] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:39] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:59:41] local.INFO: TCP Data received {"connection_id":152771,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:41] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 04:59:41] local.INFO: IMEI packet received {"connection_id":152771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 04:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":152771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 04:59:43] local.INFO: TCP Data received {"connection_id":152771,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8dbdf8012d12078006dfcdc8000a00aa33..."} 
[2026-08-08 04:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8dbdf8012d12078006dfcdc8000a00aa33..."} 
[2026-08-08 04:59:43] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8dbdf8012d12078006dfcdc8000a00aa33..."} 
[2026-08-08 04:59:43] local.INFO: Packet analysis {"connection_id":152771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:59:43] local.INFO: Extracted packet for processing {"connection_id":152771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8d"} 
[2026-08-08 04:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756156288,"raw_latitude":115330504,"longitude_deg":75.6156288,"latitude_deg":11.5330504,"altitude":10,"angle":170,"satellites":51,"speed":59,"hex_longitude":"2d120780","hex_latitude":"06dfcdc8","is_valid_coordinates":true} 
[2026-08-08 04:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 04:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253184768001,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374646995047940096,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1297247828442103808,"note":"Value kept but may cause issues"} 
[2026-08-08 04:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 04:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145259000,"timestamp_ms":1786145259000,"timestamp_seconds":1786145259,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8dbdf8"} 
[2026-08-08 04:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 04:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 04:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 04:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 04:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 04:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 04:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 04:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 04:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 04:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 04:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 04:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 04:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253184768001,"66":27365,"1":206,"2":56576,"24":59,"16":374646995047940096,"45":1297247828442103808},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-08 04:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 04:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 04:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253184768001,"description":"Unknown IO ID 0"} 
[2026-08-08 04:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374646995047940096,"km_value":374646995047940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 04:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1297247828442103808,"description":"Unknown IO ID 45"} 
[2026-08-08 04:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253184768001,"power":27365,"imei":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1297247828442103808}} 
[2026-08-08 04:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":152771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 04:59:43] local.INFO: GPS data processed {"connection_id":152771,"processed":1,"errors":0,"total":1} 
[2026-08-08 04:59:43] local.INFO: Acknowledgment sent {"connection_id":152771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:00:15] local.INFO: TCP Data received {"connection_id":152771,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8f5820012d126f0006dde1f8000900af33..."} 
[2026-08-08 05:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8f5820012d126f0006dde1f8000900af33..."} 
[2026-08-08 05:00:15] local.INFO: Processing buffer {"connection_id":152771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8f5820012d126f0006dde1f8000900af33..."} 
[2026-08-08 05:00:15] local.INFO: Packet analysis {"connection_id":152771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:00:15] local.INFO: Extracted packet for processing {"connection_id":152771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756182784,"raw_latitude":115204600,"longitude_deg":75.6182784,"latitude_deg":11.52046,"altitude":9,"angle":175,"satellites":51,"speed":59,"hex_longitude":"2d126f00","hex_latitude":"06dde1f8","is_valid_coordinates":true} 
[2026-08-08 05:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253211392001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374653239930388480,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327436019662358528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786145364000,"timestamp_ms":1786145364000,"timestamp_seconds":1786145364,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8f5820"} 
[2026-08-08 05:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253211392001,"66":27463,"129":206,"2":56576,"24":59,"16":374653239930388480,"45":1327436019662358528},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 05:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253211392001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:00:15] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 05:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374653239930388480,"km_value":374653239930388.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327436019662358528,"description":"Unknown IO ID 45"} 
[2026-08-08 05:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253211392001,"power":27463,"unknown_129":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1327436019662358528}} 
[2026-08-08 05:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":152771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:00:15] local.INFO: GPS data processed {"connection_id":152771,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:00:15] local.INFO: Acknowledgment sent {"connection_id":152771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:00:43] local.INFO: TCP Data received {"connection_id":150061,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:43] local.INFO: Processing buffer {"connection_id":150061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:43] local.INFO: IMEI packet received {"connection_id":150061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":150061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:00:44] local.INFO: TCP Data received {"connection_id":150061,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:44] local.INFO: Processing buffer {"connection_id":150061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:44] local.INFO: IMEI packet received {"connection_id":150061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":150061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:00:46] local.INFO: TCP Data received {"connection_id":150061,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:46] local.INFO: Processing buffer {"connection_id":150061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:00:46] local.INFO: IMEI packet received {"connection_id":150061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":150061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:00:48] local.INFO: TCP Data received {"connection_id":150061,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8f6f90012d12728006ddbe60000800a732..."} 
[2026-08-08 05:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8f6f90012d12728006ddbe60000800a732..."} 
[2026-08-08 05:00:48] local.INFO: Processing buffer {"connection_id":150061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8f6f90012d12728006ddbe60000800a732..."} 
[2026-08-08 05:00:48] local.INFO: Packet analysis {"connection_id":150061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:00:48] local.INFO: Extracted packet for processing {"connection_id":150061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756183680,"raw_latitude":115195488,"longitude_deg":75.618368,"latitude_deg":11.5195488,"altitude":8,"angle":167,"satellites":50,"speed":59,"hex_longitude":"2d127280","hex_latitude":"06ddbe60","is_valid_coordinates":true} 
[2026-08-08 05:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253213184001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374653686606987264,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1328280444589963264,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786145370000,"timestamp_ms":1786145370000,"timestamp_seconds":1786145370,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8f6f90"} 
[2026-08-08 05:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253213184001,"66":27463,"129":206,"2":56576,"24":59,"16":374653686606987264,"45":1328280444589963264},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 05:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253213184001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:00:48] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 05:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374653686606987264,"km_value":374653686606987.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1328280444589963264,"description":"Unknown IO ID 45"} 
[2026-08-08 05:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253213184001,"power":27463,"unknown_129":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1328280444589963264}} 
[2026-08-08 05:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":150061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:00:48] local.INFO: GPS data processed {"connection_id":150061,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:00:48] local.INFO: Acknowledgment sent {"connection_id":150061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:00:49] local.INFO: TCP Data received {"connection_id":150061,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8f8318012d127c8006dda2e00009009b32..."} 
[2026-08-08 05:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8f8318012d127c8006dda2e00009009b32..."} 
[2026-08-08 05:00:49] local.INFO: Processing buffer {"connection_id":150061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8f8318012d127c8006dda2e00009009b32..."} 
[2026-08-08 05:00:49] local.INFO: Packet analysis {"connection_id":150061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:00:49] local.INFO: Extracted packet for processing {"connection_id":150061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756186240,"raw_latitude":115188448,"longitude_deg":75.618624,"latitude_deg":11.5188448,"altitude":9,"angle":155,"satellites":50,"speed":59,"hex_longitude":"2d127c80","hex_latitude":"06dda2e0","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253214720001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374654047384240128,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1329265607006117888,"note":"Value kept but may cause issues"} 
[2026-08-08 05:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786145375000,"timestamp_ms":1786145375000,"timestamp_seconds":1786145375,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8f8318"} 
[2026-08-08 05:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:00: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-08-08 05:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253214720001,"66":27463,"129":206,"2":56576,"24":59,"16":374654047384240128,"45":1329265607006117888},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 05:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253214720001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:00:49] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 05:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374654047384240128,"km_value":374654047384240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1329265607006117888,"description":"Unknown IO ID 45"} 
[2026-08-08 05:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253214720001,"power":27463,"unknown_129":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1329265607006117888}} 
[2026-08-08 05:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":150061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:00:49] local.INFO: GPS data processed {"connection_id":150061,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:00:49] local.INFO: Acknowledgment sent {"connection_id":150061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:01:22] local.INFO: TCP Data received {"connection_id":150061,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde8f9e70012d128f8006dd7fb0000b009733..."} 
[2026-08-08 05:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde8f9e70012d128f8006dd7fb0000b009733..."} 
[2026-08-08 05:01:22] local.INFO: Processing buffer {"connection_id":150061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde8f9e70012d128f8006dd7fb0000b009733..."} 
[2026-08-08 05:01:22] local.INFO: Packet analysis {"connection_id":150061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:01:22] local.INFO: Extracted packet for processing {"connection_id":150061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde8f"} 
[2026-08-08 05:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756191104,"raw_latitude":115179440,"longitude_deg":75.6191104,"latitude_deg":11.517944,"altitude":11,"angle":151,"satellites":51,"speed":57,"hex_longitude":"2d128f80","hex_latitude":"06dd7fb0","is_valid_coordinates":true} 
[2026-08-08 05:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253216000001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374654541305479168,"note":"Value kept but may cause issues"} 
[2026-08-08 05:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1332080356771422208,"note":"Value kept but may cause issues"} 
[2026-08-08 05:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786145382000,"timestamp_ms":1786145382000,"timestamp_seconds":1786145382,"priority":1,"record_length":96,"hex_timestamp":"0000019fde8f9e70"} 
[2026-08-08 05:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253216000001,"66":27321,"129":206,"2":56576,"24":57,"16":374654541305479168,"45":1332080356771422208},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 05:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253216000001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:01:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 05:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374654541305479168,"km_value":374654541305479.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1332080356771422208,"description":"Unknown IO ID 45"} 
[2026-08-08 05:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253216000001,"power":27321,"unknown_129":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1332080356771422208}} 
[2026-08-08 05:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":150061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:01:22] local.INFO: GPS data processed {"connection_id":150061,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:01:22] local.INFO: Acknowledgment sent {"connection_id":150061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:01:36] local.INFO: TCP Data received {"connection_id":152773,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:01:36] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:01:36] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:01:39] local.INFO: TCP Data received {"connection_id":152773,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:01:39] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:01:39] local.INFO: IMEI packet received {"connection_id":152773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":152773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:01:41] local.INFO: TCP Data received {"connection_id":152773,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde90a040012d13408006dc31280007009d32..."} 
[2026-08-08 05:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde90a040012d13408006dc31280007009d32..."} 
[2026-08-08 05:01:41] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde90a040012d13408006dc31280007009d32..."} 
[2026-08-08 05:01:41] local.INFO: Packet analysis {"connection_id":152773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:01:41] local.INFO: Extracted packet for processing {"connection_id":152773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756236416,"raw_latitude":115093800,"longitude_deg":75.6236416,"latitude_deg":11.50938,"altitude":7,"angle":157,"satellites":50,"speed":59,"hex_longitude":"2d134080","hex_latitude":"06dc3128","is_valid_coordinates":true} 
[2026-08-08 05:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253233152001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374659231409766400,"note":"Value kept but may cause issues"} 
[2026-08-08 05:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1383168065022285824,"note":"Value kept but may cause issues"} 
[2026-08-08 05:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786145448000,"timestamp_ms":1786145448000,"timestamp_seconds":1786145448,"priority":1,"record_length":96,"hex_timestamp":"0000019fde90a040"} 
[2026-08-08 05:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253233152001,"66":27365,"126":206,"2":56576,"24":59,"16":374659231409766400,"45":1383168065022285824},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-08-08 05:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253233152001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:01:41] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-08 05:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374659231409766400,"km_value":374659231409766.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1383168065022285824,"description":"Unknown IO ID 45"} 
[2026-08-08 05:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253233152001,"power":27365,"unknown_126":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1383168065022285824}} 
[2026-08-08 05:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":152773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:01:41] local.INFO: GPS data processed {"connection_id":152773,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:01:41] local.INFO: Acknowledgment sent {"connection_id":152773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:02:12] local.INFO: TCP Data received {"connection_id":152773,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde90b7b0012d134ec006dc11400007009c32..."} 
[2026-08-08 05:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde90b7b0012d134ec006dc11400007009c32..."} 
[2026-08-08 05:02:12] local.INFO: Processing buffer {"connection_id":152773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde90b7b0012d134ec006dc11400007009c32..."} 
[2026-08-08 05:02:12] local.INFO: Packet analysis {"connection_id":152773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:02:12] local.INFO: Extracted packet for processing {"connection_id":152773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756240064,"raw_latitude":115085632,"longitude_deg":75.6240064,"latitude_deg":11.5085632,"altitude":7,"angle":156,"satellites":50,"speed":58,"hex_longitude":"2d134ec0","hex_latitude":"06dc1140","is_valid_coordinates":true} 
[2026-08-08 05:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253234688001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374659665201463296,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1387249452182480896,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786145454000,"timestamp_ms":1786145454000,"timestamp_seconds":1786145454,"priority":1,"record_length":96,"hex_timestamp":"0000019fde90b7b0"} 
[2026-08-08 05:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253234688001,"66":27343,"127":206,"2":56576,"24":58,"16":374659665201463296,"45":1387249452182480896},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 05:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253234688001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:02:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 05:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374659665201463296,"km_value":374659665201463.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1387249452182480896,"description":"Unknown IO ID 45"} 
[2026-08-08 05:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253234688001,"power":27343,"unknown_127":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1387249452182480896}} 
[2026-08-08 05:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":152773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:02:12] local.INFO: GPS data processed {"connection_id":152773,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:02:12] local.INFO: Acknowledgment sent {"connection_id":152773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:02:36] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:02:36] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:02:36] local.INFO: IMEI packet received {"connection_id":150062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:02:38] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 05:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 05:02:38] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 05:02:38] local.INFO: IMEI packet received {"connection_id":150062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":150062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:02:41] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:02:41] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 05:02:41] local.INFO: IMEI packet received {"connection_id":150062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:02:43] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde90d308012d135f0006dbec38000a009e32..."} 
[2026-08-08 05:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde90d308012d135f0006dbec38000a009e32..."} 
[2026-08-08 05:02:43] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fde..."} 
[2026-08-08 05:02:43] local.INFO: IMEI packet received {"connection_id":150062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":150062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:02:44] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde90ee60012d136b8006dbc800000c00a332..."} 
[2026-08-08 05:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde90ee60012d136b8006dbc800000c00a332..."} 
[2026-08-08 05:02:44] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fde90d308012d135f0006dbec38000a009e32..."} 
[2026-08-08 05:02:44] local.INFO: Packet analysis {"connection_id":150062,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:02:44] local.INFO: Extracted packet for processing {"connection_id":150062,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756244224,"raw_latitude":115076152,"longitude_deg":75.6244224,"latitude_deg":11.5076152,"altitude":10,"angle":158,"satellites":50,"speed":57,"hex_longitude":"2d135f00","hex_latitude":"06dbec38","is_valid_coordinates":true} 
[2026-08-08 05:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253236224001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374660163417669632,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1391260470598516736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786145461000,"timestamp_ms":1786145461000,"timestamp_seconds":1786145461,"priority":1,"record_length":96,"hex_timestamp":"0000019fde90d308"} 
[2026-08-08 05:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253236224001,"66":27343,"127":206,"2":56576,"24":57,"16":374660163417669632,"45":1391260470598516736},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253236224001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:02:44] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 05:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374660163417669632,"km_value":374660163417669.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1391260470598516736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253236224001,"power":27343,"unknown_127":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1391260470598516736}} 
[2026-08-08 05:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":150062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:02:44] local.INFO: GPS data processed {"connection_id":150062,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:02:44] local.INFO: Acknowledgment sent {"connection_id":150062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:02:44] local.INFO: Packet analysis {"connection_id":150062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:02:44] local.INFO: Extracted packet for processing {"connection_id":150062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde90"} 
[2026-08-08 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756247424,"raw_latitude":115066880,"longitude_deg":75.6247424,"latitude_deg":11.506688,"altitude":12,"angle":163,"satellites":50,"speed":55,"hex_longitude":"2d136b80","hex_latitude":"06dbc800","is_valid_coordinates":true} 
[2026-08-08 05:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374660640159039488,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1395834438967638016,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786145468000,"timestamp_ms":1786145468000,"timestamp_seconds":1786145468,"priority":1,"record_length":96,"hex_timestamp":"0000019fde90ee60"} 
[2026-08-08 05:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253238016001,"66":27300,"127":206,"2":56576,"24":55,"16":374660640159039488,"45":1395834438967638016},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 05:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:02:44] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 05:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374660640159039488,"km_value":374660640159039.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1395834438967638016,"description":"Unknown IO ID 45"} 
[2026-08-08 05:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253238016001,"power":27300,"unknown_127":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1395834438967638016}} 
[2026-08-08 05:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":150062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:02:44] local.INFO: GPS data processed {"connection_id":150062,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:02:44] local.INFO: Acknowledgment sent {"connection_id":150062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:02:47] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9109b8012d13770006dba180000900a233..."} 
[2026-08-08 05:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9109b8012d13770006dba180000900a233..."} 
[2026-08-08 05:02:47] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9109b8012d13770006dba180000900a233..."} 
[2026-08-08 05:02:47] local.INFO: Packet analysis {"connection_id":150062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde91"} 
[2026-08-08 05:02:47] local.INFO: Extracted packet for processing {"connection_id":150062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde91"} 
[2026-08-08 05:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756250368,"raw_latitude":115057024,"longitude_deg":75.6250368,"latitude_deg":11.5057024,"altitude":9,"angle":162,"satellites":51,"speed":62,"hex_longitude":"2d137700","hex_latitude":"06dba180","is_valid_coordinates":true} 
[2026-08-08 05:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253239808001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374661138375245824,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1399352876174147584,"note":"Value kept but may cause issues"} 
[2026-08-08 05:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786145475000,"timestamp_ms":1786145475000,"timestamp_seconds":1786145475,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9109b8"} 
[2026-08-08 05:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 05:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253239808001,"66":27397,"127":206,"2":56576,"24":62,"16":374661138375245824,"45":1399352876174147584},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 05:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253239808001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:02:47] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 05:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374661138375245824,"km_value":374661138375245.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1399352876174147584,"description":"Unknown IO ID 45"} 
[2026-08-08 05:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253239808001,"power":27397,"unknown_127":206,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1399352876174147584}} 
[2026-08-08 05:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":150062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:02:47] local.INFO: GPS data processed {"connection_id":150062,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:02:47] local.INFO: Acknowledgment sent {"connection_id":150062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:03:25] local.INFO: TCP Data received {"connection_id":150062,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde921740012d13cec006da2930000d00b232..."} 
[2026-08-08 05:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde921740012d13cec006da2930000d00b232..."} 
[2026-08-08 05:03:25] local.INFO: Processing buffer {"connection_id":150062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde921740012d13cec006da2930000d00b232..."} 
[2026-08-08 05:03:25] local.INFO: Packet analysis {"connection_id":150062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:03:25] local.INFO: Extracted packet for processing {"connection_id":150062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756272832,"raw_latitude":114960688,"longitude_deg":75.6272832,"latitude_deg":11.4960688,"altitude":13,"angle":178,"satellites":50,"speed":54,"hex_longitude":"2d13cec0","hex_latitude":"06da2930","is_valid_coordinates":true} 
[2026-08-08 05:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253257472001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374665978803388416,"note":"Value kept but may cause issues"} 
[2026-08-08 05:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426655948890337280,"note":"Value kept but may cause issues"} 
[2026-08-08 05:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786145544000,"timestamp_ms":1786145544000,"timestamp_seconds":1786145544,"priority":1,"record_length":96,"hex_timestamp":"0000019fde921740"} 
[2026-08-08 05:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253257472001,"66":27397,"192":206,"2":56576,"24":54,"16":374665978803388416,"45":1426655948890337280},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 05:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253257472001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:03:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 05:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374665978803388416,"km_value":374665978803388.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426655948890337280,"description":"Unknown IO ID 45"} 
[2026-08-08 05:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253257472001,"power":27397,"unknown_192":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1426655948890337280}} 
[2026-08-08 05:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":150062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:03:25] local.INFO: GPS data processed {"connection_id":150062,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:03:25] local.INFO: Acknowledgment sent {"connection_id":150062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:03:37] local.INFO: TCP Data received {"connection_id":150324,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:03:37] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:03:37] local.INFO: IMEI packet received {"connection_id":150324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":150324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:03:39] local.INFO: TCP Data received {"connection_id":150324,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:03:39] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:03:39] local.INFO: IMEI packet received {"connection_id":150324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":150324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:03:40] local.INFO: TCP Data received {"connection_id":150324,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde923298012d13d04006da0240000d00b132..."} 
[2026-08-08 05:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde923298012d13d04006da0240000d00b132..."} 
[2026-08-08 05:03:40] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde923298012d13d04006da0240000d00b132..."} 
[2026-08-08 05:03:40] local.INFO: Packet analysis {"connection_id":150324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:03:40] local.INFO: Extracted packet for processing {"connection_id":150324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756273216,"raw_latitude":114950720,"longitude_deg":75.6273216,"latitude_deg":11.495072,"altitude":13,"angle":177,"satellites":50,"speed":60,"hex_longitude":"2d13d040","hex_latitude":"06da0240","is_valid_coordinates":true} 
[2026-08-08 05:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253259264001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374666459839725568,"note":"Value kept but may cause issues"} 
[2026-08-08 05:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427289267585495040,"note":"Value kept but may cause issues"} 
[2026-08-08 05:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786145551000,"timestamp_ms":1786145551000,"timestamp_seconds":1786145551,"priority":1,"record_length":96,"hex_timestamp":"0000019fde923298"} 
[2026-08-08 05:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253259264001,"66":27289,"192":206,"2":56576,"24":60,"16":374666459839725568,"45":1427289267585495040},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 05:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253259264001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:03:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 05:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374666459839725568,"km_value":374666459839725.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427289267585495040,"description":"Unknown IO ID 45"} 
[2026-08-08 05:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253259264001,"power":27289,"unknown_192":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1427289267585495040}} 
[2026-08-08 05:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":150324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:03:40] local.INFO: GPS data processed {"connection_id":150324,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:03:40] local.INFO: Acknowledgment sent {"connection_id":150324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:04:12] local.INFO: TCP Data received {"connection_id":150324,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde924a08012d13d28006d9de48000b00b033..."} 
[2026-08-08 05:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde924a08012d13d28006d9de48000b00b033..."} 
[2026-08-08 05:04:12] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde924a08012d13d28006d9de48000b00b033..."} 
[2026-08-08 05:04:12] local.INFO: Packet analysis {"connection_id":150324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:04:12] local.INFO: Extracted packet for processing {"connection_id":150324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756273792,"raw_latitude":114941512,"longitude_deg":75.6273792,"latitude_deg":11.4941512,"altitude":11,"angle":176,"satellites":51,"speed":60,"hex_longitude":"2d13d280","hex_latitude":"06d9de48","is_valid_coordinates":true} 
[2026-08-08 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253261056001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374666910811291648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427711480048009216,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786145557000,"timestamp_ms":1786145557000,"timestamp_seconds":1786145557,"priority":1,"record_length":96,"hex_timestamp":"0000019fde924a08"} 
[2026-08-08 05:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-08 05:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253261056001,"66":27397,"192":206,"2":56576,"24":60,"16":374666910811291648,"45":1427711480048009216},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 05:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253261056001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:04:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 05:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374666910811291648,"km_value":374666910811291.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427711480048009216,"description":"Unknown IO ID 45"} 
[2026-08-08 05:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253261056001,"power":27397,"unknown_192":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1427711480048009216}} 
[2026-08-08 05:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":150324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:04:12] local.INFO: GPS data processed {"connection_id":150324,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:04:12] local.INFO: Acknowledgment sent {"connection_id":150324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:04:36] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:36] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:36] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:04:37] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:37] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:37] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:04:37] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:04:37] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:04:37] local.INFO: IMEI packet received {"connection_id":151297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":151297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:04:39] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:04:39] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:04:39] local.INFO: IMEI packet received {"connection_id":151297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":151297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:04:40] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde933850012d75264005e290880000014e29..."} 
[2026-08-08 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde933850012d75264005e290880000014e29..."} 
[2026-08-08 05:04:40] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde933850012d75264005e290880000014e29..."} 
[2026-08-08 05:04:40] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:04:40] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":762652224,"raw_latitude":98734216,"longitude_deg":76.2652224,"latitude_deg":9.8734216,"altitude":0,"angle":334,"satellites":41,"speed":38,"hex_longitude":"2d752640","hex_latitude":"05e29088","is_valid_coordinates":true} 
[2026-08-08 05:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253275904001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115739653411176448,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8446078913941987328,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786145618000,"timestamp_ms":1786145618000,"timestamp_seconds":1786145618,"priority":1,"record_length":96,"hex_timestamp":"0000019fde933850"} 
[2026-08-08 05:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 05:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:04:40] 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-08-08 05:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253275904001,"66":11852,"217":206,"87":12288,"24":38,"16":115739653411176448,"45":8446078913941987328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253275904001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:04:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:04:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115739653411176448,"km_value":115739653411176.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8446078913941987328,"description":"Unknown IO ID 45"} 
[2026-08-08 05:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253275904001,"power":11852,"unknown_217":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8446078913941987328}} 
[2026-08-08 05:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:04:40] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:04:40] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:04:42] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:42] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:04:42] local.INFO: IMEI packet received {"connection_id":151298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":151298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:04:43] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde936730012d7516c005e2b0200000014c29..."} 
[2026-08-08 05:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde936730012d7516c005e2b0200000014c29..."} 
[2026-08-08 05:04:43] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde936730012d7516c005e2b0200000014c29..."} 
[2026-08-08 05:04:43] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:04:43] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:04:43] local.INFO: GPS Element Parsed {"raw_longitude":762648256,"raw_latitude":98742304,"longitude_deg":76.2648256,"latitude_deg":9.8742304,"altitude":0,"angle":332,"satellites":41,"speed":36,"hex_longitude":"2d7516c0","hex_latitude":"05e2b020","is_valid_coordinates":true} 
[2026-08-08 05:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253278208001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115740087202873344,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8441504945572710400,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145630000,"timestamp_ms":1786145630000,"timestamp_seconds":1786145630,"priority":1,"record_length":96,"hex_timestamp":"0000019fde936730"} 
[2026-08-08 05:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 05:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:04:43] 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-08-08 05:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253278208001,"66":11917,"217":206,"87":12288,"24":36,"16":115740087202873344,"45":8441504945572710400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253278208001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:04:43] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:04:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115740087202873344,"km_value":115740087202873.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8441504945572710400,"description":"Unknown IO ID 45"} 
[2026-08-08 05:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253278208001,"power":11917,"unknown_217":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8441504945572710400}} 
[2026-08-08 05:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:04:43] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:04:43] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:04:44] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde926178012d13d38006d9bb38000b00b532..."} 
[2026-08-08 05:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde926178012d13d38006d9bb38000b00b532..."} 
[2026-08-08 05:04:44] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde926178012d13d38006d9bb38000b00b532..."} 
[2026-08-08 05:04:44] local.INFO: Packet analysis {"connection_id":151298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:04:44] local.INFO: Extracted packet for processing {"connection_id":151298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde92"} 
[2026-08-08 05:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756274048,"raw_latitude":114932536,"longitude_deg":75.6274048,"latitude_deg":11.4932536,"altitude":11,"angle":181,"satellites":50,"speed":59,"hex_longitude":"2d13d380","hex_latitude":"06d9bb38","is_valid_coordinates":true} 
[2026-08-08 05:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253262592001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374667344602988544,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428344798743250944,"note":"Value kept but may cause issues"} 
[2026-08-08 05:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786145563000,"timestamp_ms":1786145563000,"timestamp_seconds":1786145563,"priority":1,"record_length":96,"hex_timestamp":"0000019fde926178"} 
[2026-08-08 05:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:04: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-08-08 05:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253262592001,"66":27343,"192":206,"2":56576,"24":59,"16":374667344602988544,"45":1428344798743250944},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 05:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253262592001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:04:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 05:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374667344602988544,"km_value":374667344602988.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428344798743250944,"description":"Unknown IO ID 45"} 
[2026-08-08 05:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253262592001,"power":27343,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1428344798743250944}} 
[2026-08-08 05:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":151298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:04:44] local.INFO: GPS data processed {"connection_id":151298,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:04:44] local.INFO: Acknowledgment sent {"connection_id":151298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:05:15] local.INFO: TCP Data received {"connection_id":151297,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9399f8012d75074005e2cfa00000014a29..."} 
[2026-08-08 05:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9399f8012d75074005e2cfa00000014a29..."} 
[2026-08-08 05:05:15] local.INFO: Processing buffer {"connection_id":151297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9399f8012d75074005e2cfa00000014a29..."} 
[2026-08-08 05:05:15] local.INFO: Packet analysis {"connection_id":151297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:15] local.INFO: Extracted packet for processing {"connection_id":151297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:15] local.INFO: GPS Element Parsed {"raw_longitude":762644288,"raw_latitude":98750368,"longitude_deg":76.2644288,"latitude_deg":9.8750368,"altitude":0,"angle":330,"satellites":41,"speed":27,"hex_longitude":"2d750740","hex_latitude":"05e2cfa0","is_valid_coordinates":true} 
[2026-08-08 05:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253281280001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115740525289537536,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8437142083435765760,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786145643000,"timestamp_ms":1786145643000,"timestamp_seconds":1786145643,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9399f8"} 
[2026-08-08 05:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:05:15] 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-08-08 05:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:05:15] 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-08-08 05:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253281280001,"66":12069,"217":206,"87":12288,"24":27,"16":115740525289537536,"45":8437142083435765760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253281280001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:05:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:05:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115740525289537536,"km_value":115740525289537.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8437142083435765760,"description":"Unknown IO ID 45"} 
[2026-08-08 05:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253281280001,"power":12069,"unknown_217":206,"unknown_87":12288,"ignition":27,"odometer":null,"unknown_45":8437142083435765760}} 
[2026-08-08 05:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":151297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:05:15] local.INFO: GPS data processed {"connection_id":151297,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:05:15] local.INFO: Acknowledgment sent {"connection_id":151297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:05:16] local.INFO: TCP Data received {"connection_id":151298,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde93d878012d14878006d81a40000f008731..."} 
[2026-08-08 05:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde93d878012d14878006d81a40000f008731..."} 
[2026-08-08 05:05:16] local.INFO: Processing buffer {"connection_id":151298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde93d878012d14878006d81a40000f008731..."} 
[2026-08-08 05:05:16] local.INFO: Packet analysis {"connection_id":151298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:16] local.INFO: Extracted packet for processing {"connection_id":151298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756320128,"raw_latitude":114825792,"longitude_deg":75.6320128,"latitude_deg":11.4825792,"altitude":15,"angle":135,"satellites":49,"speed":60,"hex_longitude":"2d148780","hex_latitude":"06d81a40","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253287168001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374673121334001664,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1472325263826378752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786145659000,"timestamp_ms":1786145659000,"timestamp_seconds":1786145659,"priority":1,"record_length":96,"hex_timestamp":"0000019fde93d878"} 
[2026-08-08 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-08-08 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253287168001,"66":27213,"193":206,"2":56576,"24":60,"16":374673121334001664,"45":1472325263826378752},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253287168001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:05:16] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374673121334001664,"km_value":374673121334001.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1472325263826378752,"description":"Unknown IO ID 45"} 
[2026-08-08 05:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253287168001,"power":27213,"unknown_193":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1472325263826378752}} 
[2026-08-08 05:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":151298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:05:16] local.INFO: GPS data processed {"connection_id":151298,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:05:16] local.INFO: Acknowledgment sent {"connection_id":151298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:05:32] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:32] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:32] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:05:33] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:33] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:33] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:05:36] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:05:36] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:05:36] local.INFO: IMEI packet received {"connection_id":151300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":151300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:05:38] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:38] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:05:38] local.INFO: IMEI packet received {"connection_id":151299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":151299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:05:39] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde93ccc0012d74fb4005e2e960000301572a..."} 
[2026-08-08 05:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde93ccc0012d74fb4005e2e960000301572a..."} 
[2026-08-08 05:05:39] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde93ccc0012d74fb4005e2e960000301572a..."} 
[2026-08-08 05:05:39] local.INFO: Packet analysis {"connection_id":151299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:39] local.INFO: Extracted packet for processing {"connection_id":151299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:39] local.INFO: GPS Element Parsed {"raw_longitude":762641216,"raw_latitude":98756960,"longitude_deg":76.2641216,"latitude_deg":9.875696,"altitude":3,"angle":343,"satellites":42,"speed":10,"hex_longitude":"2d74fb40","hex_latitude":"05e2e960","is_valid_coordinates":true} 
[2026-08-08 05:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253284608001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115740877476855808,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8432779221298814976,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786145656000,"timestamp_ms":1786145656000,"timestamp_seconds":1786145656,"priority":1,"record_length":96,"hex_timestamp":"0000019fde93ccc0"} 
[2026-08-08 05:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:05: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-08-08 05:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:05:39] 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-08-08 05:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253284608001,"66":11917,"217":206,"87":12288,"24":10,"16":115740877476855808,"45":8432779221298814976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253284608001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:05:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:05:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115740877476855808,"km_value":115740877476855.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8432779221298814976,"description":"Unknown IO ID 45"} 
[2026-08-08 05:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253284608001,"power":11917,"unknown_217":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8432779221298814976}} 
[2026-08-08 05:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":151299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:05:39] local.INFO: GPS data processed {"connection_id":151299,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:05:39] local.INFO: Acknowledgment sent {"connection_id":151299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:05:42] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:05:42] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:05:42] local.INFO: IMEI packet received {"connection_id":151300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":151300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:05:43] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde93efe8012d14a04006d80118000f008832..."} 
[2026-08-08 05:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde93efe8012d14a04006d80118000f008832..."} 
[2026-08-08 05:05:43] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde93efe8012d14a04006d80118000f008832..."} 
[2026-08-08 05:05:43] local.INFO: Packet analysis {"connection_id":151300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:43] local.INFO: Extracted packet for processing {"connection_id":151300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde93"} 
[2026-08-08 05:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756326464,"raw_latitude":114819352,"longitude_deg":75.6326464,"latitude_deg":11.4819352,"altitude":15,"angle":136,"satellites":50,"speed":59,"hex_longitude":"2d14a040","hex_latitude":"06d80118","is_valid_coordinates":true} 
[2026-08-08 05:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253288704001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374673555125698560,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479291769498255360,"note":"Value kept but may cause issues"} 
[2026-08-08 05:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145665000,"timestamp_ms":1786145665000,"timestamp_seconds":1786145665,"priority":1,"record_length":96,"hex_timestamp":"0000019fde93efe8"} 
[2026-08-08 05:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 05:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253288704001,"66":27397,"193":206,"2":56576,"24":59,"16":374673555125698560,"45":1479291769498255360},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253288704001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:05:43] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374673555125698560,"km_value":374673555125698.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479291769498255360,"description":"Unknown IO ID 45"} 
[2026-08-08 05:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253288704001,"power":27397,"unknown_193":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1479291769498255360}} 
[2026-08-08 05:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":151300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:05:43] local.INFO: GPS data processed {"connection_id":151300,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:05:43] local.INFO: Acknowledgment sent {"connection_id":151300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:06:10] local.INFO: TCP Data received {"connection_id":151299,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde941ec8012d74f6c005e2f4f00005015a2a..."} 
[2026-08-08 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde941ec8012d74f6c005e2f4f00005015a2a..."} 
[2026-08-08 05:06:10] local.INFO: Processing buffer {"connection_id":151299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde941ec8012d74f6c005e2f4f00005015a2a..."} 
[2026-08-08 05:06:10] local.INFO: Packet analysis {"connection_id":151299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:10] local.INFO: Extracted packet for processing {"connection_id":151299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":762640064,"raw_latitude":98759920,"longitude_deg":76.2640064,"latitude_deg":9.875992,"altitude":5,"angle":346,"satellites":42,"speed":17,"hex_longitude":"2d74f6c0","hex_latitude":"05e2f4f0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253287936001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115741036390645760,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8429401521579974656,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786145677000,"timestamp_ms":1786145677000,"timestamp_seconds":1786145677,"priority":1,"record_length":96,"hex_timestamp":"0000019fde941ec8"} 
[2026-08-08 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-08-08 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:06: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-08-08 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-08-08 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-08-08 05:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:06:10] 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-08-08 05:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253287936001,"66":12058,"219":206,"87":12288,"24":17,"16":115741036390645760,"45":8429401521579974656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253287936001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:06:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:06:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115741036390645760,"km_value":115741036390645.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8429401521579974656,"description":"Unknown IO ID 45"} 
[2026-08-08 05:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253287936001,"power":12058,"unknown_219":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8429401521579974656}} 
[2026-08-08 05:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":151299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:06:10] local.INFO: GPS data processed {"connection_id":151299,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:06:10] local.INFO: Acknowledgment sent {"connection_id":151299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:06:15] local.INFO: TCP Data received {"connection_id":151300,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde940758012d14b90006d7e808000f008830..."} 
[2026-08-08 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde940758012d14b90006d7e808000f008830..."} 
[2026-08-08 05:06:15] local.INFO: Processing buffer {"connection_id":151300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde940758012d14b90006d7e808000f008830..."} 
[2026-08-08 05:06:15] local.INFO: Packet analysis {"connection_id":151300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:15] local.INFO: Extracted packet for processing {"connection_id":151300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756332800,"raw_latitude":114812936,"longitude_deg":75.63328,"latitude_deg":11.4812936,"altitude":15,"angle":136,"satellites":48,"speed":59,"hex_longitude":"2d14b900","hex_latitude":"06d7e808","is_valid_coordinates":true} 
[2026-08-08 05:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253290240001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374673988917395456,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1486258275170195456,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786145671000,"timestamp_ms":1786145671000,"timestamp_seconds":1786145671,"priority":1,"record_length":96,"hex_timestamp":"0000019fde940758"} 
[2026-08-08 05:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253290240001,"66":27397,"193":206,"2":56576,"24":59,"16":374673988917395456,"45":1486258275170195456},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253290240001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:06:15] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374673988917395456,"km_value":374673988917395.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1486258275170195456,"description":"Unknown IO ID 45"} 
[2026-08-08 05:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253290240001,"power":27397,"unknown_193":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1486258275170195456}} 
[2026-08-08 05:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":151300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:06:15] local.INFO: GPS data processed {"connection_id":151300,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:06:15] local.INFO: Acknowledgment sent {"connection_id":151300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:06:33] local.INFO: TCP Data received {"connection_id":150325,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:06:33] local.INFO: Processing buffer {"connection_id":150325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:06:33] local.INFO: IMEI packet received {"connection_id":150325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":150325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:06:38] local.INFO: TCP Data received {"connection_id":150325,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:06:38] local.INFO: Processing buffer {"connection_id":150325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:06:38] local.INFO: IMEI packet received {"connection_id":150325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":150325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:06:39] local.INFO: TCP Data received {"connection_id":150325,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde945578012d74eac005e318180005015327..."} 
[2026-08-08 05:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde945578012d74eac005e318180005015327..."} 
[2026-08-08 05:06:39] local.INFO: Processing buffer {"connection_id":150325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde945578012d74eac005e318180005015327..."} 
[2026-08-08 05:06:39] local.INFO: Packet analysis {"connection_id":150325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:39] local.INFO: Extracted packet for processing {"connection_id":150325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:39] local.INFO: GPS Element Parsed {"raw_longitude":762636992,"raw_latitude":98768920,"longitude_deg":76.2636992,"latitude_deg":9.876892,"altitude":5,"angle":339,"satellites":39,"speed":26,"hex_longitude":"2d74eac0","hex_latitude":"05e31818","is_valid_coordinates":true} 
[2026-08-08 05:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253293312001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115741495952146432,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8428134884185534464,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786145691000,"timestamp_ms":1786145691000,"timestamp_seconds":1786145691,"priority":1,"record_length":96,"hex_timestamp":"0000019fde945578"} 
[2026-08-08 05:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:06: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-08-08 05:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 05:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:06:39] 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-08-08 05:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253293312001,"66":12069,"219":206,"87":12288,"24":26,"16":115741495952146432,"45":8428134884185534464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253293312001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:06:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:06:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115741495952146432,"km_value":115741495952146.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8428134884185534464,"description":"Unknown IO ID 45"} 
[2026-08-08 05:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253293312001,"power":12069,"unknown_219":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8428134884185534464}} 
[2026-08-08 05:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":150325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:06:39] local.INFO: GPS data processed {"connection_id":150325,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:06:39] local.INFO: Acknowledgment sent {"connection_id":150325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:06:42] local.INFO: TCP Data received {"connection_id":150063,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:06:42] local.INFO: Processing buffer {"connection_id":150063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:06:42] local.INFO: IMEI packet received {"connection_id":150063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":150063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:06:46] local.INFO: TCP Data received {"connection_id":150063,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:06:46] local.INFO: Processing buffer {"connection_id":150063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:06:46] local.INFO: IMEI packet received {"connection_id":150063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":150063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:06:48] local.INFO: TCP Data received {"connection_id":150063,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde941ec8012d14d1c006d7cf28000d008831..."} 
[2026-08-08 05:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde941ec8012d14d1c006d7cf28000d008831..."} 
[2026-08-08 05:06:48] local.INFO: Processing buffer {"connection_id":150063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde941ec8012d14d1c006d7cf28000d008831..."} 
[2026-08-08 05:06:48] local.INFO: Packet analysis {"connection_id":150063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:48] local.INFO: Extracted packet for processing {"connection_id":150063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756339136,"raw_latitude":114806568,"longitude_deg":75.6339136,"latitude_deg":11.4806568,"altitude":13,"angle":136,"satellites":49,"speed":59,"hex_longitude":"2d14d1c0","hex_latitude":"06d7cf28","is_valid_coordinates":true} 
[2026-08-08 05:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253291776001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374674418414125056,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1493224780842141696,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786145677000,"timestamp_ms":1786145677000,"timestamp_seconds":1786145677,"priority":1,"record_length":96,"hex_timestamp":"0000019fde941ec8"} 
[2026-08-08 05:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:06: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-08-08 05:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253291776001,"66":27376,"193":206,"2":56576,"24":59,"16":374674418414125056,"45":1493224780842141696},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253291776001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:06:48] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374674418414125056,"km_value":374674418414125.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1493224780842141696,"description":"Unknown IO ID 45"} 
[2026-08-08 05:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253291776001,"power":27376,"unknown_193":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1493224780842141696}} 
[2026-08-08 05:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":150063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:06:48] local.INFO: GPS data processed {"connection_id":150063,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:06:48] local.INFO: Acknowledgment sent {"connection_id":150063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:06:50] local.INFO: TCP Data received {"connection_id":150063,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde943638012d14e9c006d7b5a0000d008831..."} 
[2026-08-08 05:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde943638012d14e9c006d7b5a0000d008831..."} 
[2026-08-08 05:06:50] local.INFO: Processing buffer {"connection_id":150063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde943638012d14e9c006d7b5a0000d008831..."} 
[2026-08-08 05:06:50] local.INFO: Packet analysis {"connection_id":150063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:50] local.INFO: Extracted packet for processing {"connection_id":150063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756345280,"raw_latitude":114800032,"longitude_deg":75.634528,"latitude_deg":11.4800032,"altitude":13,"angle":136,"satellites":49,"speed":60,"hex_longitude":"2d14e9c0","hex_latitude":"06d7b5a0","is_valid_coordinates":true} 
[2026-08-08 05:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253293312001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374674852205821952,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1500191286514100224,"note":"Value kept but may cause issues"} 
[2026-08-08 05:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786145683000,"timestamp_ms":1786145683000,"timestamp_seconds":1786145683,"priority":1,"record_length":96,"hex_timestamp":"0000019fde943638"} 
[2026-08-08 05:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:06: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-08-08 05:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253293312001,"66":27343,"193":206,"2":56576,"24":60,"16":374674852205821952,"45":1500191286514100224},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253293312001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:06:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374674852205821952,"km_value":374674852205821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1500191286514100224,"description":"Unknown IO ID 45"} 
[2026-08-08 05:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253293312001,"power":27343,"unknown_193":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1500191286514100224}} 
[2026-08-08 05:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":150063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:06:50] local.INFO: GPS data processed {"connection_id":150063,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:06:50] local.INFO: Acknowledgment sent {"connection_id":150063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:07:10] local.INFO: TCP Data received {"connection_id":150325,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde94a398012d74e54005e325e00004015326..."} 
[2026-08-08 05:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde94a398012d74e54005e325e00004015326..."} 
[2026-08-08 05:07:10] local.INFO: Processing buffer {"connection_id":150325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde94a398012d74e54005e325e00004015326..."} 
[2026-08-08 05:07:10] local.INFO: Packet analysis {"connection_id":150325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:07:10] local.INFO: Extracted packet for processing {"connection_id":150325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":762635584,"raw_latitude":98772448,"longitude_deg":76.2635584,"latitude_deg":9.8772448,"altitude":4,"angle":339,"satellites":38,"speed":7,"hex_longitude":"2d74e540","hex_latitude":"05e325e0","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253296896001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115741689225674752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8424757184467310592,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786145711000,"timestamp_ms":1786145711000,"timestamp_seconds":1786145711,"priority":1,"record_length":96,"hex_timestamp":"0000019fde94a398"} 
[2026-08-08 05:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:07:10] 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-08-08 05:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253296896001,"66":12069,"219":206,"87":12288,"24":7,"16":115741689225674752,"45":8424757184467310592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253296896001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:07:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:07:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115741689225674752,"km_value":115741689225674.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8424757184467310592,"description":"Unknown IO ID 45"} 
[2026-08-08 05:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253296896001,"power":12069,"unknown_219":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8424757184467310592}} 
[2026-08-08 05:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":150325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:07:10] local.INFO: GPS data processed {"connection_id":150325,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:07:10] local.INFO: Acknowledgment sent {"connection_id":150325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:07:21] local.INFO: TCP Data received {"connection_id":150063,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde95f770012d15aa0006d6f1e0000c00ca31..."} 
[2026-08-08 05:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde95f770012d15aa0006d6f1e0000c00ca31..."} 
[2026-08-08 05:07:21] local.INFO: Processing buffer {"connection_id":150063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde95f770012d15aa0006d6f1e0000c00ca31..."} 
[2026-08-08 05:07:21] local.INFO: Packet analysis {"connection_id":150063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde95"} 
[2026-08-08 05:07:21] local.INFO: Extracted packet for processing {"connection_id":150063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde95"} 
[2026-08-08 05:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756394496,"raw_latitude":114749920,"longitude_deg":75.6394496,"latitude_deg":11.474992,"altitude":12,"angle":202,"satellites":49,"speed":8,"hex_longitude":"2d15aa00","hex_latitude":"06d6f1e0","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253323264001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374678288179658752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561623200166905856,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786145798000,"timestamp_ms":1786145798000,"timestamp_seconds":1786145798,"priority":1,"record_length":96,"hex_timestamp":"0000019fde95f770"} 
[2026-08-08 05:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253323264001,"66":27180,"193":206,"2":56576,"24":8,"16":374678288179658752,"45":1561623200166905856},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253323264001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:07:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374678288179658752,"km_value":374678288179658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561623200166905856,"description":"Unknown IO ID 45"} 
[2026-08-08 05:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253323264001,"power":27180,"unknown_193":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1561623200166905856}} 
[2026-08-08 05:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":150063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:07:21] local.INFO: GPS data processed {"connection_id":150063,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:07:21] local.INFO: Acknowledgment sent {"connection_id":150063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:07:33] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:07:33] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:07:33] local.INFO: IMEI packet received {"connection_id":151301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":151301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:07:34] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:34] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:34] local.INFO: IMEI packet received {"connection_id":151302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":151302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:07:36] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:36] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:36] local.INFO: IMEI packet received {"connection_id":151302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":151302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:07:38] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:07:38] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:07:38] local.INFO: IMEI packet received {"connection_id":151301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":151301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:07:38] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde94f1b8012d74da4005e349300006015727..."} 
[2026-08-08 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde94f1b8012d74da4005e349300006015727..."} 
[2026-08-08 05:07:38] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde94f1b8012d74da4005e349300006015727..."} 
[2026-08-08 05:07:38] local.INFO: Packet analysis {"connection_id":151301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:07:38] local.INFO: Extracted packet for processing {"connection_id":151301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde94"} 
[2026-08-08 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762632768,"raw_latitude":98781488,"longitude_deg":76.2632768,"latitude_deg":9.8781488,"altitude":6,"angle":343,"satellites":39,"speed":26,"hex_longitude":"2d74da40","hex_latitude":"05e34930","is_valid_coordinates":true} 
[2026-08-08 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253302016001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115742148787175424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8423209072096305152,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786145731000,"timestamp_ms":1786145731000,"timestamp_seconds":1786145731,"priority":1,"record_length":96,"hex_timestamp":"0000019fde94f1b8"} 
[2026-08-08 05:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:07: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-08-08 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:07:38] 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-08-08 05:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253302016001,"66":11863,"219":206,"87":12288,"24":26,"16":115742148787175424,"45":8423209072096305152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253302016001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115742148787175424,"km_value":115742148787175.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8423209072096305152,"description":"Unknown IO ID 45"} 
[2026-08-08 05:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253302016001,"power":11863,"unknown_219":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8423209072096305152}} 
[2026-08-08 05:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":151301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:07:38] local.INFO: GPS data processed {"connection_id":151301,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:07:38] local.INFO: Acknowledgment sent {"connection_id":151301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:07:42] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:42] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:07:42] local.INFO: IMEI packet received {"connection_id":151302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":151302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:07:43] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde95ff40012d15a9c006d6f008000b00b62f..."} 
[2026-08-08 05:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde95ff40012d15a9c006d6f008000b00b62f..."} 
[2026-08-08 05:07:43] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde95ff40012d15a9c006d6f008000b00b62f..."} 
[2026-08-08 05:07:43] local.INFO: Packet analysis {"connection_id":151302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde95"} 
[2026-08-08 05:07:43] local.INFO: Extracted packet for processing {"connection_id":151302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde95"} 
[2026-08-08 05:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756394432,"raw_latitude":114749448,"longitude_deg":75.6394432,"latitude_deg":11.4749448,"altitude":11,"angle":182,"satellites":47,"speed":8,"hex_longitude":"2d15a9c0","hex_latitude":"06d6f008","is_valid_coordinates":true} 
[2026-08-08 05:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253324288001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374678309654495232,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561060250213277696,"note":"Value kept but may cause issues"} 
[2026-08-08 05:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145800000,"timestamp_ms":1786145800000,"timestamp_seconds":1786145800,"priority":1,"record_length":96,"hex_timestamp":"0000019fde95ff40"} 
[2026-08-08 05:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 05:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253324288001,"66":27397,"193":206,"2":56576,"24":8,"16":374678309654495232,"45":1561060250213277696},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253324288001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:07:43] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374678309654495232,"km_value":374678309654495.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561060250213277696,"description":"Unknown IO ID 45"} 
[2026-08-08 05:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253324288001,"power":27397,"unknown_193":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1561060250213277696}} 
[2026-08-08 05:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":151302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:07:43] local.INFO: GPS data processed {"connection_id":151302,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:07:43] local.INFO: Acknowledgment sent {"connection_id":151302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:08:09] local.INFO: TCP Data received {"connection_id":151301,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde952480012d74cfc005e36b180007015827..."} 
[2026-08-08 05:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde952480012d74cfc005e36b180007015827..."} 
[2026-08-08 05:08:09] local.INFO: Processing buffer {"connection_id":151301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde952480012d74cfc005e36b180007015827..."} 
[2026-08-08 05:08:09] local.INFO: Packet analysis {"connection_id":151301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde95"} 
[2026-08-08 05:08:09] local.INFO: Extracted packet for processing {"connection_id":151301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde95"} 
[2026-08-08 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":762630080,"raw_latitude":98790168,"longitude_deg":76.263008,"latitude_deg":9.8790168,"altitude":7,"angle":344,"satellites":39,"speed":25,"hex_longitude":"2d74cfc0","hex_latitude":"05e36b18","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253307136001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115742591168806912,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8420112847354802176,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786145744000,"timestamp_ms":1786145744000,"timestamp_seconds":1786145744,"priority":1,"record_length":96,"hex_timestamp":"0000019fde952480"} 
[2026-08-08 05:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-08 05:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:08:09] 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-08-08 05:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253307136001,"66":11798,"219":206,"87":12288,"24":25,"16":115742591168806912,"45":8420112847354802176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253307136001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:08:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:08:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115742591168806912,"km_value":115742591168806.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8420112847354802176,"description":"Unknown IO ID 45"} 
[2026-08-08 05:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253307136001,"power":11798,"unknown_219":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8420112847354802176}} 
[2026-08-08 05:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":151301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:08:10] local.INFO: GPS data processed {"connection_id":151301,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:08:10] local.INFO: Acknowledgment sent {"connection_id":151301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:08:16] local.INFO: TCP Data received {"connection_id":151302,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde960328012d15a9c006d6ef00000b00a330..."} 
[2026-08-08 05:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde960328012d15a9c006d6ef00000b00a330..."} 
[2026-08-08 05:08:16] local.INFO: Processing buffer {"connection_id":151302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde960328012d15a9c006d6ef00000b00a330..."} 
[2026-08-08 05:08:16] local.INFO: Packet analysis {"connection_id":151302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde96"} 
[2026-08-08 05:08:16] local.INFO: Extracted packet for processing {"connection_id":151302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde96"} 
[2026-08-08 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756394432,"raw_latitude":114749184,"longitude_deg":75.6394432,"latitude_deg":11.4749184,"altitude":11,"angle":163,"satellites":48,"speed":9,"hex_longitude":"2d15a9c0","hex_latitude":"06d6ef00","is_valid_coordinates":true} 
[2026-08-08 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253324800001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374678322539397120,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1560989881468979200,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786145801000,"timestamp_ms":1786145801000,"timestamp_seconds":1786145801,"priority":1,"record_length":96,"hex_timestamp":"0000019fde960328"} 
[2026-08-08 05:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253324800001,"66":27332,"193":206,"2":56576,"24":9,"16":374678322539397120,"45":1560989881468979200},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-08 05:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253324800001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:08:16] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374678322539397120,"km_value":374678322539397.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1560989881468979200,"description":"Unknown IO ID 45"} 
[2026-08-08 05:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253324800001,"power":27332,"unknown_193":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1560989881468979200}} 
[2026-08-08 05:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":151302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:08:16] local.INFO: GPS data processed {"connection_id":151302,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:08:16] local.INFO: Acknowledgment sent {"connection_id":151302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:08:33] local.INFO: TCP Data received {"connection_id":150064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:33] local.INFO: Processing buffer {"connection_id":150064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:33] local.INFO: IMEI packet received {"connection_id":150064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":150064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:08:33] local.INFO: TCP Data received {"connection_id":150326,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:33] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:33] local.INFO: IMEI packet received {"connection_id":150326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":150326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:08:34] local.INFO: TCP Data received {"connection_id":150064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:34] local.INFO: Processing buffer {"connection_id":150064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:34] local.INFO: IMEI packet received {"connection_id":150064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":150064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:08:35] local.INFO: TCP Data received {"connection_id":150064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:35] local.INFO: Processing buffer {"connection_id":150064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:35] local.INFO: IMEI packet received {"connection_id":150064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":150064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:08:36] local.INFO: TCP Data received {"connection_id":150326,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:36] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:36] local.INFO: IMEI packet received {"connection_id":150326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":150326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:08:37] local.INFO: TCP Data received {"connection_id":150064,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:37] local.INFO: Processing buffer {"connection_id":150064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:08:37] local.INFO: IMEI packet received {"connection_id":150064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":150064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:08:38] local.INFO: TCP Data received {"connection_id":150064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9766a0012d747f0005e491100006016624..."} 
[2026-08-08 05:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9766a0012d747f0005e491100006016624..."} 
[2026-08-08 05:08:38] local.INFO: Processing buffer {"connection_id":150064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9766a0012d747f0005e491100006016624..."} 
[2026-08-08 05:08:38] local.INFO: Packet analysis {"connection_id":150064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:08:38] local.INFO: Extracted packet for processing {"connection_id":150064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:08:38] local.INFO: GPS Element Parsed {"raw_longitude":762609408,"raw_latitude":98865424,"longitude_deg":76.2609408,"latitude_deg":9.8865424,"altitude":6,"angle":358,"satellites":36,"speed":2,"hex_longitude":"2d747f00","hex_latitude":"05e49110","is_valid_coordinates":true} 
[2026-08-08 05:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253345024001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115746379329961984,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8394568993239670784,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786145892000,"timestamp_ms":1786145892000,"timestamp_seconds":1786145892,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9766a0"} 
[2026-08-08 05:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:08: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-08-08 05: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 05:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:08:38] 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-08-08 05:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253345024001,"66":12135,"219":206,"87":12288,"24":2,"16":115746379329961984,"45":8394568993239670784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253345024001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:08:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:08:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115746379329961984,"km_value":115746379329961.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8394568993239670784,"description":"Unknown IO ID 45"} 
[2026-08-08 05:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253345024001,"power":12135,"unknown_219":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8394568993239670784}} 
[2026-08-08 05:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":150064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:08:38] local.INFO: GPS data processed {"connection_id":150064,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:08:38] local.INFO: Acknowledgment sent {"connection_id":150064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:08:40] local.INFO: TCP Data received {"connection_id":150326,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:40] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:08:40] local.INFO: IMEI packet received {"connection_id":150326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":150326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:08:41] local.INFO: TCP Data received {"connection_id":150326,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde96dde8012d16084006d69ca80014007231..."} 
[2026-08-08 05:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde96dde8012d16084006d69ca80014007231..."} 
[2026-08-08 05:08:41] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde96dde8012d16084006d69ca80014007231..."} 
[2026-08-08 05:08:41] local.INFO: Packet analysis {"connection_id":150326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde96"} 
[2026-08-08 05:08:41] local.INFO: Extracted packet for processing {"connection_id":150326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde96"} 
[2026-08-08 05:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756418624,"raw_latitude":114728104,"longitude_deg":75.6418624,"latitude_deg":11.4728104,"altitude":20,"angle":114,"satellites":49,"speed":38,"hex_longitude":"2d160840","hex_latitude":"06d69ca8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253336576001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374679950332002304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578511698764918784,"note":"Value kept but may cause issues"} 
[2026-08-08 05:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786145857000,"timestamp_ms":1786145857000,"timestamp_seconds":1786145857,"priority":1,"record_length":96,"hex_timestamp":"0000019fde96dde8"} 
[2026-08-08 05:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253336576001,"66":27484,"191":206,"2":56576,"24":38,"16":374679950332002304,"45":1578511698764918784},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253336576001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:08:41] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374679950332002304,"km_value":374679950332002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578511698764918784,"description":"Unknown IO ID 45"} 
[2026-08-08 05:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253336576001,"power":27484,"unknown_191":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1578511698764918784}} 
[2026-08-08 05:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":150326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:08:41] local.INFO: GPS data processed {"connection_id":150326,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:08:41] local.INFO: Acknowledgment sent {"connection_id":150326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:09:09] local.INFO: TCP Data received {"connection_id":150064,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde97b8a8012d747f0005e492900007014f26..."} 
[2026-08-08 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde97b8a8012d747f0005e492900007014f26..."} 
[2026-08-08 05:09:09] local.INFO: Processing buffer {"connection_id":150064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde97b8a8012d747f0005e492900007014f26..."} 
[2026-08-08 05:09:09] local.INFO: Packet analysis {"connection_id":150064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:09] local.INFO: Extracted packet for processing {"connection_id":150064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":762609408,"raw_latitude":98865808,"longitude_deg":76.2609408,"latitude_deg":9.8865808,"altitude":7,"angle":335,"satellites":38,"speed":5,"hex_longitude":"2d747f00","hex_latitude":"05e49290","is_valid_coordinates":true} 
[2026-08-08 05:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253348352001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115746400804798464,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8394428255751442432,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786145913000,"timestamp_ms":1786145913000,"timestamp_seconds":1786145913,"priority":1,"record_length":96,"hex_timestamp":"0000019fde97b8a8"} 
[2026-08-08 05:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:09: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-08-08 05:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:09:09] 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-08-08 05:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253348352001,"66":11711,"219":206,"87":12288,"24":5,"16":115746400804798464,"45":8394428255751442432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253348352001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:09:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:09:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115746400804798464,"km_value":115746400804798.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8394428255751442432,"description":"Unknown IO ID 45"} 
[2026-08-08 05:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253348352001,"power":11711,"unknown_219":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8394428255751442432}} 
[2026-08-08 05:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":150064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:09:09] local.INFO: GPS data processed {"connection_id":150064,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:09:09] local.INFO: Acknowledgment sent {"connection_id":150064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:09:13] local.INFO: TCP Data received {"connection_id":150326,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde96e9a0012d16124006d697080015007f31..."} 
[2026-08-08 05:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde96e9a0012d16124006d697080015007f31..."} 
[2026-08-08 05:09:13] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde96e9a0012d16124006d697080015007f31..."} 
[2026-08-08 05:09:13] local.INFO: Packet analysis {"connection_id":150326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde96"} 
[2026-08-08 05:09:13] local.INFO: Extracted packet for processing {"connection_id":150326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde96"} 
[2026-08-08 05:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756421184,"raw_latitude":114726664,"longitude_deg":75.6421184,"latitude_deg":11.4726664,"altitude":21,"angle":127,"satellites":49,"speed":39,"hex_longitude":"2d161240","hex_latitude":"06d69708","is_valid_coordinates":true} 
[2026-08-08 05:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253339392001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374680092065923072,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1587589266762672128,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786145860000,"timestamp_ms":1786145860000,"timestamp_seconds":1786145860,"priority":1,"record_length":96,"hex_timestamp":"0000019fde96e9a0"} 
[2026-08-08 05:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:09: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-08-08 05:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253339392001,"66":27397,"191":206,"2":56576,"24":39,"16":374680092065923072,"45":1587589266762672128},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253339392001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:09:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374680092065923072,"km_value":374680092065923.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1587589266762672128,"description":"Unknown IO ID 45"} 
[2026-08-08 05:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253339392001,"power":27397,"unknown_191":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1587589266762672128}} 
[2026-08-08 05:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":150326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:09:13] local.INFO: GPS data processed {"connection_id":150326,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:09:13] local.INFO: Acknowledgment sent {"connection_id":150326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:09:36] local.INFO: TCP Data received {"connection_id":150066,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:36] local.INFO: Processing buffer {"connection_id":150066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:36] local.INFO: IMEI packet received {"connection_id":150066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":150066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:09:37] local.INFO: TCP Data received {"connection_id":150065,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:09:37] local.INFO: Processing buffer {"connection_id":150065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:09:37] local.INFO: IMEI packet received {"connection_id":150065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":150065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:09:39] local.INFO: TCP Data received {"connection_id":150066,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:39] local.INFO: Processing buffer {"connection_id":150066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:39] local.INFO: IMEI packet received {"connection_id":150066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":150066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:09:41] local.INFO: TCP Data received {"connection_id":150066,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:41] local.INFO: Processing buffer {"connection_id":150066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:09:41] local.INFO: IMEI packet received {"connection_id":150066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":150066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:09:42] local.INFO: TCP Data received {"connection_id":150066,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde97f340012d17768006d641c0000600682f..."} 
[2026-08-08 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde97f340012d17768006d641c0000600682f..."} 
[2026-08-08 05:09:42] local.INFO: Processing buffer {"connection_id":150066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde97f340012d17768006d641c0000600682f..."} 
[2026-08-08 05:09:42] local.INFO: Packet analysis {"connection_id":150066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:42] local.INFO: Extracted packet for processing {"connection_id":150066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756512384,"raw_latitude":114704832,"longitude_deg":75.6512384,"latitude_deg":11.4704832,"altitude":6,"angle":104,"satellites":47,"speed":58,"hex_longitude":"2d177680","hex_latitude":"06d641c0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253355776001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374684631846354944,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1679772321630160896,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786145928000,"timestamp_ms":1786145928000,"timestamp_seconds":1786145928,"priority":1,"record_length":96,"hex_timestamp":"0000019fde97f340"} 
[2026-08-08 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-08-08 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253355776001,"66":27332,"191":206,"2":56576,"24":58,"16":374684631846354944,"45":1679772321630160896},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253355776001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:09:42] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374684631846354944,"km_value":374684631846354.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1679772321630160896,"description":"Unknown IO ID 45"} 
[2026-08-08 05:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253355776001,"power":27332,"unknown_191":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1679772321630160896}} 
[2026-08-08 05:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":150066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:09:42] local.INFO: GPS data processed {"connection_id":150066,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:09:42] local.INFO: Acknowledgment sent {"connection_id":150066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:09:44] local.INFO: TCP Data received {"connection_id":150065,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:09:44] local.INFO: Processing buffer {"connection_id":150065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:09:44] local.INFO: IMEI packet received {"connection_id":150065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":150065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:09:45] local.INFO: TCP Data received {"connection_id":150065,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde97b8a8012d747f0005e492900007014f26..."} 
[2026-08-08 05:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde97b8a8012d747f0005e492900007014f26..."} 
[2026-08-08 05:09:45] local.INFO: Processing buffer {"connection_id":150065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde97b8a8012d747f0005e492900007014f26..."} 
[2026-08-08 05:09:45] local.INFO: Packet analysis {"connection_id":150065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:45] local.INFO: Extracted packet for processing {"connection_id":150065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:45] local.INFO: GPS Element Parsed {"raw_longitude":762609408,"raw_latitude":98865808,"longitude_deg":76.2609408,"latitude_deg":9.8865808,"altitude":7,"angle":335,"satellites":38,"speed":5,"hex_longitude":"2d747f00","hex_latitude":"05e49290","is_valid_coordinates":true} 
[2026-08-08 05:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253353728001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115746400804798464,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8394428255751540736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786145913000,"timestamp_ms":1786145913000,"timestamp_seconds":1786145913,"priority":1,"record_length":96,"hex_timestamp":"0000019fde97b8a8"} 
[2026-08-08 05:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 05:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:09:45] 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-08-08 05:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253353728001,"66":11711,"219":206,"87":12288,"24":5,"16":115746400804798464,"45":8394428255751540736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253353728001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:09:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:09:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115746400804798464,"km_value":115746400804798.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8394428255751540736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253353728001,"power":11711,"unknown_219":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8394428255751540736}} 
[2026-08-08 05:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":150065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:09:45] local.INFO: GPS data processed {"connection_id":150065,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:09:45] local.INFO: Acknowledgment sent {"connection_id":150065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:09:46] local.INFO: TCP Data received {"connection_id":150065,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde97c078012d747e8005e494880007015d23..."} 
[2026-08-08 05:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde97c078012d747e8005e494880007015d23..."} 
[2026-08-08 05:09:46] local.INFO: Processing buffer {"connection_id":150065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde97c078012d747e8005e494880007015d23..."} 
[2026-08-08 05:09:46] local.INFO: Packet analysis {"connection_id":150065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:46] local.INFO: Extracted packet for processing {"connection_id":150065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:09:46] local.INFO: GPS Element Parsed {"raw_longitude":762609280,"raw_latitude":98866312,"longitude_deg":76.260928,"latitude_deg":9.8866312,"altitude":7,"angle":349,"satellites":35,"speed":12,"hex_longitude":"2d747e80","hex_latitude":"05e49488","is_valid_coordinates":true} 
[2026-08-08 05:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253353728001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115746426574602240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8394428255751540736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786145915000,"timestamp_ms":1786145915000,"timestamp_seconds":1786145915,"priority":1,"record_length":96,"hex_timestamp":"0000019fde97c078"} 
[2026-08-08 05:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 05:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:09:46] 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-08-08 05:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253353728001,"66":11547,"219":206,"87":12288,"24":12,"16":115746426574602240,"45":8394428255751540736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253353728001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:09:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:09:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115746426574602240,"km_value":115746426574602.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8394428255751540736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253353728001,"power":11547,"unknown_219":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8394428255751540736}} 
[2026-08-08 05:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":150065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:09:46] local.INFO: GPS data processed {"connection_id":150065,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:09:46] local.INFO: Acknowledgment sent {"connection_id":150065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:09:47] local.INFO: TCP Data received {"connection_id":150066,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde980ab0012d17994006d63978000600662e..."} 
[2026-08-08 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde980ab0012d17994006d63978000600662e..."} 
[2026-08-08 05:09:47] local.INFO: Processing buffer {"connection_id":150066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde980ab0012d17994006d63978000600662e..."} 
[2026-08-08 05:09:47] local.INFO: Packet analysis {"connection_id":150066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde98"} 
[2026-08-08 05:09:47] local.INFO: Extracted packet for processing {"connection_id":150066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde98"} 
[2026-08-08 05:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756521280,"raw_latitude":114702712,"longitude_deg":75.652128,"latitude_deg":11.4702712,"altitude":6,"angle":102,"satellites":46,"speed":59,"hex_longitude":"2d179940","hex_latitude":"06d63978","is_valid_coordinates":true} 
[2026-08-08 05:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253357568001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374685069933019136,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690679476976992256,"note":"Value kept but may cause issues"} 
[2026-08-08 05:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786145934000,"timestamp_ms":1786145934000,"timestamp_seconds":1786145934,"priority":1,"record_length":96,"hex_timestamp":"0000019fde980ab0"} 
[2026-08-08 05:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 05:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253357568001,"66":27397,"191":206,"2":56576,"24":59,"16":374685069933019136,"45":1690679476976992256},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253357568001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:09:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374685069933019136,"km_value":374685069933019.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690679476976992256,"description":"Unknown IO ID 45"} 
[2026-08-08 05:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253357568001,"power":27397,"unknown_191":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1690679476976992256}} 
[2026-08-08 05:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":150066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:09:48] local.INFO: GPS data processed {"connection_id":150066,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:09:48] local.INFO: Acknowledgment sent {"connection_id":150066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:10:19] local.INFO: TCP Data received {"connection_id":150066,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde982608012d17c0c006d62f980005006b2d..."} 
[2026-08-08 05:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde982608012d17c0c006d62f980005006b2d..."} 
[2026-08-08 05:10:19] local.INFO: Processing buffer {"connection_id":150066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde982608012d17c0c006d62f980005006b2d..."} 
[2026-08-08 05:10:19] local.INFO: Packet analysis {"connection_id":150066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde98"} 
[2026-08-08 05:10:19] local.INFO: Extracted packet for processing {"connection_id":150066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde98"} 
[2026-08-08 05:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756531392,"raw_latitude":114700184,"longitude_deg":75.6531392,"latitude_deg":11.4700184,"altitude":5,"angle":107,"satellites":45,"speed":58,"hex_longitude":"2d17c0c0","hex_latitude":"06d62f98","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253359104001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374685563854258176,"note":"Value kept but may cause issues"} 
[2026-08-08 05:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700460732417144832,"note":"Value kept but may cause issues"} 
[2026-08-08 05:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786145941000,"timestamp_ms":1786145941000,"timestamp_seconds":1786145941,"priority":1,"record_length":96,"hex_timestamp":"0000019fde982608"} 
[2026-08-08 05:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:10: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-08-08 05: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-08-08 05:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253359104001,"66":27321,"191":206,"2":56576,"24":58,"16":374685563854258176,"45":1700460732417144832},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253359104001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:10:19] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374685563854258176,"km_value":374685563854258.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700460732417144832,"description":"Unknown IO ID 45"} 
[2026-08-08 05:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253359104001,"power":27321,"unknown_191":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1700460732417144832}} 
[2026-08-08 05:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":150066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:10:19] local.INFO: GPS data processed {"connection_id":150066,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:10:19] local.INFO: Acknowledgment sent {"connection_id":150066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:10:36] local.INFO: TCP Data received {"connection_id":151303,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:10:36] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:10:36] local.INFO: IMEI packet received {"connection_id":151303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":151303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:10:42] local.INFO: TCP Data received {"connection_id":151303,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:10:42] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:10:42] local.INFO: IMEI packet received {"connection_id":151303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":151303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:10:43] local.INFO: TCP Data received {"connection_id":151303,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde983d78012d17e30006d626500006006930..."} 
[2026-08-08 05:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde983d78012d17e30006d626500006006930..."} 
[2026-08-08 05:10:43] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde983d78012d17e30006d626500006006930..."} 
[2026-08-08 05:10:43] local.INFO: Packet analysis {"connection_id":151303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde98"} 
[2026-08-08 05:10:43] local.INFO: Extracted packet for processing {"connection_id":151303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde98"} 
[2026-08-08 05:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756540160,"raw_latitude":114697808,"longitude_deg":75.654016,"latitude_deg":11.4697808,"altitude":6,"angle":105,"satellites":48,"speed":59,"hex_longitude":"2d17e300","hex_latitude":"06d62650","is_valid_coordinates":true} 
[2026-08-08 05:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253360896001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374685997645955072,"note":"Value kept but may cause issues"} 
[2026-08-08 05:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711578993996568576,"note":"Value kept but may cause issues"} 
[2026-08-08 05:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786145947000,"timestamp_ms":1786145947000,"timestamp_seconds":1786145947,"priority":1,"record_length":96,"hex_timestamp":"0000019fde983d78"} 
[2026-08-08 05:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253360896001,"66":27463,"191":206,"2":56576,"24":59,"16":374685997645955072,"45":1711578993996568576},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253360896001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:10:43] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374685997645955072,"km_value":374685997645955.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711578993996568576,"description":"Unknown IO ID 45"} 
[2026-08-08 05:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253360896001,"power":27463,"unknown_191":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1711578993996568576}} 
[2026-08-08 05:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":151303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:10:43] local.INFO: GPS data processed {"connection_id":151303,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:10:43] local.INFO: Acknowledgment sent {"connection_id":151303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:11:03] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:03] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:03] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:11:03] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:03] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:03] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:04] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:04] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:04] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:08] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:08] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:08] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:10] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde97fb10012d7476c005e4b8e80008015a29..."} 
[2026-08-08 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde97fb10012d7476c005e4b8e80008015a29..."} 
[2026-08-08 05:11:10] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde97fb10012d7476c005e4b8e80008015a29..."} 
[2026-08-08 05:11:10] local.INFO: Packet analysis {"connection_id":150327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:11:10] local.INFO: Extracted packet for processing {"connection_id":150327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde97"} 
[2026-08-08 05:11:10] local.INFO: GPS Element Parsed {"raw_longitude":762607296,"raw_latitude":98875624,"longitude_deg":76.2607296,"latitude_deg":9.8875624,"altitude":8,"angle":346,"satellites":41,"speed":34,"hex_longitude":"2d7476c0","hex_latitude":"05e4b8e8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253354240001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115746890431070208,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8394287518263314432,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786145930000,"timestamp_ms":1786145930000,"timestamp_seconds":1786145930,"priority":1,"record_length":96,"hex_timestamp":"0000019fde97fb10"} 
[2026-08-08 05:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:11: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-08-08 05: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 05:11:10] 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-08-08 05: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-08-08 05:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:11:10] 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-08-08 05:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253354240001,"66":12211,"219":206,"87":12288,"24":34,"16":115746890431070208,"45":8394287518263314432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253354240001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:11:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115746890431070208,"km_value":115746890431070.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8394287518263314432,"description":"Unknown IO ID 45"} 
[2026-08-08 05:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253354240001,"power":12211,"unknown_219":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8394287518263314432}} 
[2026-08-08 05:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":150327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:11:10] local.INFO: GPS data processed {"connection_id":150327,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:11:10] local.INFO: Acknowledgment sent {"connection_id":150327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:11:15] local.INFO: TCP Data received {"connection_id":151303,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde997210012d19828006d5d240000700722f..."} 
[2026-08-08 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde997210012d19828006d5d240000700722f..."} 
[2026-08-08 05:11:15] local.INFO: Processing buffer {"connection_id":151303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde997210012d19828006d5d240000700722f..."} 
[2026-08-08 05:11:15] local.INFO: Packet analysis {"connection_id":151303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:15] local.INFO: Extracted packet for processing {"connection_id":151303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":114676288,"longitude_deg":75.6646528,"latitude_deg":11.4676288,"altitude":7,"angle":114,"satellites":47,"speed":43,"hex_longitude":"2d198280","hex_latitude":"06d5d240","is_valid_coordinates":true} 
[2026-08-08 05:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253380608001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374691284750696448,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828250371837607936,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786146026000,"timestamp_ms":1786146026000,"timestamp_seconds":1786146026,"priority":1,"record_length":96,"hex_timestamp":"0000019fde997210"} 
[2026-08-08 05:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253380608001,"66":27376,"13":206,"2":56576,"24":43,"16":374691284750696448,"45":1828250371837607936},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 05:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253380608001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:11:15] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 05:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374691284750696448,"km_value":374691284750696.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828250371837607936,"description":"Unknown IO ID 45"} 
[2026-08-08 05:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253380608001,"power":27376,"unknown_13":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1828250371837607936}} 
[2026-08-08 05:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":151303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:11:15] local.INFO: GPS data processed {"connection_id":151303,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:11:15] local.INFO: Acknowledgment sent {"connection_id":151303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:11:36] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:36] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:36] local.INFO: IMEI packet received {"connection_id":151304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":151304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:11:37] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:37] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:37] local.INFO: IMEI packet received {"connection_id":151304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":151304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:37] local.INFO: TCP Data received {"connection_id":150067,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:37] local.INFO: Processing buffer {"connection_id":150067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:37] local.INFO: IMEI packet received {"connection_id":150067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":150067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:11:41] local.INFO: TCP Data received {"connection_id":150067,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:41] local.INFO: Processing buffer {"connection_id":150067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:41] local.INFO: IMEI packet received {"connection_id":150067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":150067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:43] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:43] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:11:43] local.INFO: IMEI packet received {"connection_id":151304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":151304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:44] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde99f6e0012d742a0005e5e7e0000501532c..."} 
[2026-08-08 05:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde99f6e0012d742a0005e5e7e0000501532c..."} 
[2026-08-08 05:11:44] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde99f6e0012d742a0005e5e7e0000501532c..."} 
[2026-08-08 05:11:44] local.INFO: Packet analysis {"connection_id":151304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:44] local.INFO: Extracted packet for processing {"connection_id":151304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:44] local.INFO: GPS Element Parsed {"raw_longitude":762587648,"raw_latitude":98953184,"longitude_deg":76.2587648,"latitude_deg":9.8953184,"altitude":5,"angle":339,"satellites":44,"speed":37,"hex_longitude":"2d742a00","hex_latitude":"05e5e7e0","is_valid_coordinates":true} 
[2026-08-08 05:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253391360001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115750773081505792,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8370502882753503232,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786146060000,"timestamp_ms":1786146060000,"timestamp_seconds":1786146060,"priority":1,"record_length":96,"hex_timestamp":"0000019fde99f6e0"} 
[2026-08-08 05:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 05:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:11:44] 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-08-08 05:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253391360001,"66":11124,"219":206,"87":12288,"24":37,"16":115750773081505792,"45":8370502882753503232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 05:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253391360001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:11:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 05:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115750773081505792,"km_value":115750773081505.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8370502882753503232,"description":"Unknown IO ID 45"} 
[2026-08-08 05:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253391360001,"power":11124,"unknown_219":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8370502882753503232}} 
[2026-08-08 05:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":151304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:11:44] local.INFO: GPS data processed {"connection_id":151304,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:11:44] local.INFO: Acknowledgment sent {"connection_id":151304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:11:45] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9a1df0012d741c4005e60990000401562b..."} 
[2026-08-08 05:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9a1df0012d741c4005e60990000401562b..."} 
[2026-08-08 05:11:45] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9a1df0012d741c4005e60990000401562b..."} 
[2026-08-08 05:11:45] local.INFO: Packet analysis {"connection_id":151304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:11:45] local.INFO: Extracted packet for processing {"connection_id":151304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:11:45] local.INFO: GPS Element Parsed {"raw_longitude":762584128,"raw_latitude":98961808,"longitude_deg":76.2584128,"latitude_deg":9.8961808,"altitude":4,"angle":342,"satellites":43,"speed":36,"hex_longitude":"2d741c40","hex_latitude":"05e60990","is_valid_coordinates":true} 
[2026-08-08 05:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253391360001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115751228348039168,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8370502882753503232,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786146070000,"timestamp_ms":1786146070000,"timestamp_seconds":1786146070,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9a1df0"} 
[2026-08-08 05:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 05:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:11:45] 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-08-08 05:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253391360001,"66":12178,"98":206,"87":12288,"24":36,"16":115751228348039168,"45":8370502882753503232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 05:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253391360001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:11:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 05:11:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115751228348039168,"km_value":115751228348039.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8370502882753503232,"description":"Unknown IO ID 45"} 
[2026-08-08 05:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253391360001,"power":12178,"unknown_98":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8370502882753503232}} 
[2026-08-08 05:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":151304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:11:45] local.INFO: GPS data processed {"connection_id":151304,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:11:45] local.INFO: Acknowledgment sent {"connection_id":151304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:11:45] local.INFO: TCP Data received {"connection_id":150067,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:45] local.INFO: Processing buffer {"connection_id":150067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:11:45] local.INFO: IMEI packet received {"connection_id":150067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":150067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:11:47] local.INFO: TCP Data received {"connection_id":150067,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde997210012d19828006d5d240000700722f..."} 
[2026-08-08 05:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde997210012d19828006d5d240000700722f..."} 
[2026-08-08 05:11:47] local.INFO: Processing buffer {"connection_id":150067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde997210012d19828006d5d240000700722f..."} 
[2026-08-08 05:11:47] local.INFO: Packet analysis {"connection_id":150067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:47] local.INFO: Extracted packet for processing {"connection_id":150067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":114676288,"longitude_deg":75.6646528,"latitude_deg":11.4676288,"altitude":7,"angle":114,"satellites":47,"speed":43,"hex_longitude":"2d198280","hex_latitude":"06d5d240","is_valid_coordinates":true} 
[2026-08-08 05:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253382656001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374691284750696448,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172364766068736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786146026000,"timestamp_ms":1786146026000,"timestamp_seconds":1786146026,"priority":1,"record_length":96,"hex_timestamp":"0000019fde997210"} 
[2026-08-08 05:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:11: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-08-08 05:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253382656001,"66":27376,"13":206,"2":56576,"24":43,"16":374691284750696448,"45":1838172364766068736},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 05:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253382656001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:11:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 05:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374691284750696448,"km_value":374691284750696.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172364766068736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253382656001,"power":27376,"unknown_13":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1838172364766068736}} 
[2026-08-08 05:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":150067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:11:47] local.INFO: GPS data processed {"connection_id":150067,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:11:47] local.INFO: Acknowledgment sent {"connection_id":150067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:11:48] local.INFO: TCP Data received {"connection_id":150067,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde999538012d19a50006d5c078000600752e..."} 
[2026-08-08 05:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde999538012d19a50006d5c078000600752e..."} 
[2026-08-08 05:11:48] local.INFO: Processing buffer {"connection_id":150067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde999538012d19a50006d5c078000600752e..."} 
[2026-08-08 05:11:48] local.INFO: Packet analysis {"connection_id":150067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:48] local.INFO: Extracted packet for processing {"connection_id":150067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":114671736,"longitude_deg":75.665536,"latitude_deg":11.4671736,"altitude":6,"angle":117,"satellites":46,"speed":40,"hex_longitude":"2d19a500","hex_latitude":"06d5c078","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253382656001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374691761492066304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172364766068736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786146035000,"timestamp_ms":1786146035000,"timestamp_seconds":1786146035,"priority":1,"record_length":96,"hex_timestamp":"0000019fde999538"} 
[2026-08-08 05:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:11: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-08-08 05: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-08-08 05:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253382656001,"66":27484,"13":206,"2":56576,"24":40,"16":374691761492066304,"45":1838172364766068736},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 05:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253382656001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:11:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 05:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374691761492066304,"km_value":374691761492066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172364766068736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253382656001,"power":27484,"unknown_13":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":1838172364766068736}} 
[2026-08-08 05:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":150067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:11:48] local.INFO: GPS data processed {"connection_id":150067,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:11:48] local.INFO: Acknowledgment sent {"connection_id":150067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:12:16] local.INFO: TCP Data received {"connection_id":151304,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9a4500012d74110005e62bf8000201552b..."} 
[2026-08-08 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9a4500012d74110005e62bf8000201552b..."} 
[2026-08-08 05:12:16] local.INFO: Processing buffer {"connection_id":151304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9a4500012d74110005e62bf8000201552b..."} 
[2026-08-08 05:12:16] local.INFO: Packet analysis {"connection_id":151304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:12:16] local.INFO: Extracted packet for processing {"connection_id":151304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":762581248,"raw_latitude":98970616,"longitude_deg":76.2581248,"latitude_deg":9.8970616,"altitude":2,"angle":341,"satellites":43,"speed":33,"hex_longitude":"2d741100","hex_latitude":"05e62bf8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253393920001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115751675024637952,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8366632601825939456,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786146080000,"timestamp_ms":1786146080000,"timestamp_seconds":1786146080,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9a4500"} 
[2026-08-08 05:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 05:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:12:16] 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-08-08 05:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253393920001,"66":12102,"98":206,"87":12288,"24":33,"16":115751675024637952,"45":8366632601825939456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 05:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253393920001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:12:16] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 05:12:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115751675024637952,"km_value":115751675024637.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8366632601825939456,"description":"Unknown IO ID 45"} 
[2026-08-08 05:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253393920001,"power":12102,"unknown_98":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8366632601825939456}} 
[2026-08-08 05:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":151304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:12:16] local.INFO: GPS data processed {"connection_id":151304,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:12:16] local.INFO: Acknowledgment sent {"connection_id":151304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:12:19] local.INFO: TCP Data received {"connection_id":150067,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde99b860012d19c54006d5af30000700762c..."} 
[2026-08-08 05:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde99b860012d19c54006d5af30000700762c..."} 
[2026-08-08 05:12:19] local.INFO: Processing buffer {"connection_id":150067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde99b860012d19c54006d5af30000700762c..."} 
[2026-08-08 05:12:19] local.INFO: Packet analysis {"connection_id":150067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:12:19] local.INFO: Extracted packet for processing {"connection_id":150067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":114667312,"longitude_deg":75.6663616,"latitude_deg":11.4667312,"altitude":7,"angle":118,"satellites":44,"speed":41,"hex_longitude":"2d19c540","hex_latitude":"06d5af30","is_valid_coordinates":true} 
[2026-08-08 05:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253384960001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374692208168665088,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883251461421056,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786146044000,"timestamp_ms":1786146044000,"timestamp_seconds":1786146044,"priority":1,"record_length":96,"hex_timestamp":"0000019fde99b860"} 
[2026-08-08 05:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253384960001,"66":27397,"13":206,"2":56576,"24":41,"16":374692208168665088,"45":1847883251461421056},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 05:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253384960001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:12:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 05:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374692208168665088,"km_value":374692208168665.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883251461421056,"description":"Unknown IO ID 45"} 
[2026-08-08 05:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253384960001,"power":27397,"unknown_13":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1847883251461421056}} 
[2026-08-08 05:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":150067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:12:19] local.INFO: GPS data processed {"connection_id":150067,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:12:19] local.INFO: Acknowledgment sent {"connection_id":150067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:12:33] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:33] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:33] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:12:33] local.INFO: TCP Data received {"connection_id":150328,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:33] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:33] local.INFO: IMEI packet received {"connection_id":150328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":150328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:12:33] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:33] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:33] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:12:37] local.INFO: TCP Data received {"connection_id":150328,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:37] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:37] local.INFO: IMEI packet received {"connection_id":150328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":150328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:12:38] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:38] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:12:38] local.INFO: IMEI packet received {"connection_id":152774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":152774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:12:39] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9a5c70012d740d4005e63d680003016125..."} 
[2026-08-08 05:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9a5c70012d740d4005e63d680003016125..."} 
[2026-08-08 05:12:39] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9a5c70012d740d4005e63d680003016125..."} 
[2026-08-08 05:12:39] local.INFO: Packet analysis {"connection_id":152774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:12:39] local.INFO: Extracted packet for processing {"connection_id":152774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:12:39] local.INFO: GPS Element Parsed {"raw_longitude":762580288,"raw_latitude":98975080,"longitude_deg":76.2580288,"latitude_deg":9.897508,"altitude":3,"angle":353,"satellites":37,"speed":35,"hex_longitude":"2d740d40","hex_latitude":"05e63d68","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253396480001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115751898362937344,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8363466008340199424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786146086000,"timestamp_ms":1786146086000,"timestamp_seconds":1786146086,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9a5c70"} 
[2026-08-08 05:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:12: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-08-08 05: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 05:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:12:39] 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-08-08 05:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253396480001,"66":12156,"98":206,"87":12288,"24":35,"16":115751898362937344,"45":8363466008340199424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 05:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253396480001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:12:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 05:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115751898362937344,"km_value":115751898362937.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8363466008340199424,"description":"Unknown IO ID 45"} 
[2026-08-08 05:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253396480001,"power":12156,"unknown_98":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8363466008340199424}} 
[2026-08-08 05:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":152774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:12:39] local.INFO: GPS data processed {"connection_id":152774,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:12:39] local.INFO: Acknowledgment sent {"connection_id":152774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:12:44] local.INFO: TCP Data received {"connection_id":150328,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:44] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:12:44] local.INFO: IMEI packet received {"connection_id":150328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":150328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:12:47] local.INFO: TCP Data received {"connection_id":150328,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde99d7a0012d19e3c006d59c600008007e2d..."} 
[2026-08-08 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde99d7a0012d19e3c006d59c600008007e2d..."} 
[2026-08-08 05:12:47] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde99d7a0012d19e3c006d59c600008007e2d..."} 
[2026-08-08 05:12:47] local.INFO: Packet analysis {"connection_id":150328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:12:47] local.INFO: Extracted packet for processing {"connection_id":150328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756671424,"raw_latitude":114662496,"longitude_deg":75.6671424,"latitude_deg":11.4662496,"altitude":8,"angle":126,"satellites":45,"speed":46,"hex_longitude":"2d19e3c0","hex_latitude":"06d59c60","is_valid_coordinates":true} 
[2026-08-08 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253387264001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374692650550296576,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960819459207168,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786146052000,"timestamp_ms":1786146052000,"timestamp_seconds":1786146052,"priority":1,"record_length":96,"hex_timestamp":"0000019fde99d7a0"} 
[2026-08-08 05:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253387264001,"66":27365,"13":206,"2":56576,"24":46,"16":374692650550296576,"45":1856960819459207168},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 05:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253387264001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:12:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 05:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374692650550296576,"km_value":374692650550296.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960819459207168,"description":"Unknown IO ID 45"} 
[2026-08-08 05:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253387264001,"power":27365,"unknown_13":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1856960819459207168}} 
[2026-08-08 05:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":150328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:12:47] local.INFO: GPS data processed {"connection_id":150328,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:12:47] local.INFO: Acknowledgment sent {"connection_id":150328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:12:48] local.INFO: TCP Data received {"connection_id":150328,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde99f2f8012d19ffc006d587080009007f2f..."} 
[2026-08-08 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde99f2f8012d19ffc006d587080009007f2f..."} 
[2026-08-08 05:12:48] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde99f2f8012d19ffc006d587080009007f2f..."} 
[2026-08-08 05:12:48] local.INFO: Packet analysis {"connection_id":150328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:12:48] local.INFO: Extracted packet for processing {"connection_id":150328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde99"} 
[2026-08-08 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756678592,"raw_latitude":114657032,"longitude_deg":75.6678592,"latitude_deg":11.4657032,"altitude":9,"angle":127,"satellites":47,"speed":52,"hex_longitude":"2d19ffc0","hex_latitude":"06d58708","is_valid_coordinates":true} 
[2026-08-08 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253389312001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374693080047026176,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865545806247649280,"note":"Value kept but may cause issues"} 
[2026-08-08 05:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786146059000,"timestamp_ms":1786146059000,"timestamp_seconds":1786146059,"priority":1,"record_length":96,"hex_timestamp":"0000019fde99f2f8"} 
[2026-08-08 05:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:12: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-08-08 05:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253389312001,"66":27376,"13":206,"2":56576,"24":52,"16":374693080047026176,"45":1865545806247649280},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 05:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253389312001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 05:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374693080047026176,"km_value":374693080047026.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865545806247649280,"description":"Unknown IO ID 45"} 
[2026-08-08 05:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253389312001,"power":27376,"unknown_13":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1865545806247649280}} 
[2026-08-08 05:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":150328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:12:48] local.INFO: GPS data processed {"connection_id":150328,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:12:48] local.INFO: Acknowledgment sent {"connection_id":150328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:13:09] local.INFO: TCP Data received {"connection_id":152774,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9a7f98012d74098005e660080001016124..."} 
[2026-08-08 05:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9a7f98012d74098005e660080001016124..."} 
[2026-08-08 05:13:09] local.INFO: Processing buffer {"connection_id":152774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9a7f98012d74098005e660080001016124..."} 
[2026-08-08 05:13:09] local.INFO: Packet analysis {"connection_id":152774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:13:09] local.INFO: Extracted packet for processing {"connection_id":152774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9a"} 
[2026-08-08 05:13:09] local.INFO: GPS Element Parsed {"raw_longitude":762579328,"raw_latitude":98983944,"longitude_deg":76.2579328,"latitude_deg":9.8983944,"altitude":1,"angle":353,"satellites":36,"speed":40,"hex_longitude":"2d740980","hex_latitude":"05e66008","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253398016001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115752332154634240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8362410477178677248,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786146095000,"timestamp_ms":1786146095000,"timestamp_seconds":1786146095,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9a7f98"} 
[2026-08-08 05:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:13: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-08-08 05: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 05:13: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-08-08 05: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-08-08 05:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:13:09] 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-08-08 05:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253398016001,"66":12069,"98":206,"87":12288,"24":40,"16":115752332154634240,"45":8362410477178677248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 05:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253398016001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:13:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 05:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115752332154634240,"km_value":115752332154634.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8362410477178677248,"description":"Unknown IO ID 45"} 
[2026-08-08 05:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253398016001,"power":12069,"unknown_98":206,"unknown_87":12288,"ignition":40,"odometer":null,"unknown_45":8362410477178677248}} 
[2026-08-08 05:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":152774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:13:09] local.INFO: GPS data processed {"connection_id":152774,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:13:09] local.INFO: Acknowledgment sent {"connection_id":152774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:13:24] local.INFO: TCP Data received {"connection_id":150328,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9b5e40012d1bbcc006d4a268000d007a30..."} 
[2026-08-08 05:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9b5e40012d1bbcc006d4a268000d007a30..."} 
[2026-08-08 05:13:24] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9b5e40012d1bbcc006d4a268000d007a30..."} 
[2026-08-08 05:13:24] local.INFO: Packet analysis {"connection_id":150328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:13:24] local.INFO: Extracted packet for processing {"connection_id":150328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756792512,"raw_latitude":114598504,"longitude_deg":75.6792512,"latitude_deg":11.4598504,"altitude":13,"angle":122,"satellites":48,"speed":53,"hex_longitude":"2d1bbcc0","hex_latitude":"06d4a268","is_valid_coordinates":true} 
[2026-08-08 05:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253413120001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374699217555292160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1989254058496591872,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786146152000,"timestamp_ms":1786146152000,"timestamp_seconds":1786146152,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9b5e40"} 
[2026-08-08 05:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253413120001,"66":27234,"11":206,"2":56576,"24":53,"16":374699217555292160,"45":1989254058496591872},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 05:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253413120001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:13:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 05:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374699217555292160,"km_value":374699217555292.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1989254058496591872,"description":"Unknown IO ID 45"} 
[2026-08-08 05:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253413120001,"power":27234,"unknown_11":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1989254058496591872}} 
[2026-08-08 05:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":150328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:13:24] local.INFO: GPS data processed {"connection_id":150328,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:13:24] local.INFO: Acknowledgment sent {"connection_id":150328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:13:33] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:13:33] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:13:33] local.INFO: IMEI packet received {"connection_id":151305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":151305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:13:36] local.INFO: TCP Data received {"connection_id":150068,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:13:36] local.INFO: Processing buffer {"connection_id":150068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:13:36] local.INFO: IMEI packet received {"connection_id":150068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":150068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:13:37] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:13:37] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:13:37] local.INFO: IMEI packet received {"connection_id":151305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":151305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:13:38] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9bd758012d73950005e7df68000201522a..."} 
[2026-08-08 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9bd758012d73950005e7df68000201522a..."} 
[2026-08-08 05:13:38] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9bd758012d73950005e7df68000201522a..."} 
[2026-08-08 05:13:38] local.INFO: Packet analysis {"connection_id":151305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:13:38] local.INFO: Extracted packet for processing {"connection_id":151305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:13:38] local.INFO: GPS Element Parsed {"raw_longitude":762549504,"raw_latitude":99082088,"longitude_deg":76.2549504,"latitude_deg":9.9082088,"altitude":2,"angle":338,"satellites":42,"speed":49,"hex_longitude":"2d739500","hex_latitude":"05e7df68","is_valid_coordinates":true} 
[2026-08-08 05:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253420800001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115757314316697600,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8332855604649105408,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786146183000,"timestamp_ms":1786146183000,"timestamp_seconds":1786146183,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9bd758"} 
[2026-08-08 05:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:13: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-08-08 05:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:13:38] 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-08-08 05:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253420800001,"66":12069,"98":206,"87":12288,"24":49,"16":115757314316697600,"45":8332855604649105408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 05:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253420800001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:13:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 05:13:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115757314316697600,"km_value":115757314316697.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8332855604649105408,"description":"Unknown IO ID 45"} 
[2026-08-08 05:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253420800001,"power":12069,"unknown_98":206,"unknown_87":12288,"ignition":49,"odometer":null,"unknown_45":8332855604649105408}} 
[2026-08-08 05:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":151305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:13:38] local.INFO: GPS data processed {"connection_id":151305,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:13:38] local.INFO: Acknowledgment sent {"connection_id":151305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:13:41] local.INFO: TCP Data received {"connection_id":150068,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:13:41] local.INFO: Processing buffer {"connection_id":150068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:13:41] local.INFO: IMEI packet received {"connection_id":150068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":150068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:13:44] local.INFO: TCP Data received {"connection_id":150068,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9b5e40012d1bbcc006d4a268000d007a30..."} 
[2026-08-08 05:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9b5e40012d1bbcc006d4a268000d007a30..."} 
[2026-08-08 05:13:44] local.INFO: Processing buffer {"connection_id":150068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9b5e40012d1bbcc006d4a268000d007a30..."} 
[2026-08-08 05:13:44] local.INFO: Packet analysis {"connection_id":150068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:13:44] local.INFO: Extracted packet for processing {"connection_id":150068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756792512,"raw_latitude":114598504,"longitude_deg":75.6792512,"latitude_deg":11.4598504,"altitude":13,"angle":122,"satellites":48,"speed":53,"hex_longitude":"2d1bbcc0","hex_latitude":"06d4a268","is_valid_coordinates":true} 
[2026-08-08 05:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253414912001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374699217555292160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1998683470215407616,"note":"Value kept but may cause issues"} 
[2026-08-08 05:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786146152000,"timestamp_ms":1786146152000,"timestamp_seconds":1786146152,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9b5e40"} 
[2026-08-08 05:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253414912001,"66":27234,"11":206,"2":56576,"24":53,"16":374699217555292160,"45":1998683470215407616},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 05:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253414912001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:13:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 05:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374699217555292160,"km_value":374699217555292.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1998683470215407616,"description":"Unknown IO ID 45"} 
[2026-08-08 05:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253414912001,"power":27234,"unknown_11":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1998683470215407616}} 
[2026-08-08 05:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":150068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:13:44] local.INFO: GPS data processed {"connection_id":150068,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:13:44] local.INFO: Acknowledgment sent {"connection_id":150068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:14:09] local.INFO: TCP Data received {"connection_id":151305,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9bf698012d73874005e803e8000201532b..."} 
[2026-08-08 05:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9bf698012d73874005e803e8000201532b..."} 
[2026-08-08 05:14:09] local.INFO: Processing buffer {"connection_id":151305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9bf698012d73874005e803e8000201532b..."} 
[2026-08-08 05:14:09] local.INFO: Packet analysis {"connection_id":151305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:14:09] local.INFO: Extracted packet for processing {"connection_id":151305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9b"} 
[2026-08-08 05:14:09] local.INFO: GPS Element Parsed {"raw_longitude":762545984,"raw_latitude":99091432,"longitude_deg":76.2545984,"latitude_deg":9.9091432,"altitude":2,"angle":339,"satellites":43,"speed":47,"hex_longitude":"2d738740","hex_latitude":"05e803e8","is_valid_coordinates":true} 
[2026-08-08 05:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253422848001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115757795353034752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8328563111256614912,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786146191000,"timestamp_ms":1786146191000,"timestamp_seconds":1786146191,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9bf698"} 
[2026-08-08 05:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:14:09] 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-08-08 05:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253422848001,"66":12004,"98":206,"87":12288,"24":47,"16":115757795353034752,"45":8328563111256614912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 05:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253422848001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:14:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 05:14:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115757795353034752,"km_value":115757795353034.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8328563111256614912,"description":"Unknown IO ID 45"} 
[2026-08-08 05:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253422848001,"power":12004,"unknown_98":206,"unknown_87":12288,"ignition":47,"odometer":null,"unknown_45":8328563111256614912}} 
[2026-08-08 05:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":151305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:14:09] local.INFO: GPS data processed {"connection_id":151305,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:14:09] local.INFO: Acknowledgment sent {"connection_id":151305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:14:15] local.INFO: TCP Data received {"connection_id":150068,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9c3518012d1c848006d3f5100009009b2f..."} 
[2026-08-08 05:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9c3518012d1c848006d3f5100009009b2f..."} 
[2026-08-08 05:14:15] local.INFO: Processing buffer {"connection_id":150068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9c3518012d1c848006d3f5100009009b2f..."} 
[2026-08-08 05:14:15] local.INFO: Packet analysis {"connection_id":150068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:15] local.INFO: Extracted packet for processing {"connection_id":150068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756843648,"raw_latitude":114554128,"longitude_deg":75.6843648,"latitude_deg":11.4554128,"altitude":9,"angle":155,"satellites":47,"speed":49,"hex_longitude":"2d1c8480","hex_latitude":"06d3f510","is_valid_coordinates":true} 
[2026-08-08 05:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253428736001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374702541859979264,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2054204409360504832,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786146207000,"timestamp_ms":1786146207000,"timestamp_seconds":1786146207,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9c3518"} 
[2026-08-08 05:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05: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-08-08 05:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253428736001,"66":27365,"113":206,"2":56576,"24":49,"16":374702541859979264,"45":2054204409360504832},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 05:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253428736001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:14:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374702541859979264,"km_value":374702541859979.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2054204409360504832,"description":"Unknown IO ID 45"} 
[2026-08-08 05:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253428736001,"power":27365,"unknown_113":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2054204409360504832}} 
[2026-08-08 05:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":150068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:14:15] local.INFO: GPS data processed {"connection_id":150068,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:14:15] local.INFO: Acknowledgment sent {"connection_id":150068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:14:33] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:33] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:33] local.INFO: IMEI packet received {"connection_id":150329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":150329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:14:34] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:34] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:34] local.INFO: IMEI packet received {"connection_id":150329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":150329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:14:35] local.INFO: TCP Data received {"connection_id":151306,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:35] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:35] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:14:36] local.INFO: TCP Data received {"connection_id":151306,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:36] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:36] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:14:38] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:38] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:14:38] local.INFO: IMEI packet received {"connection_id":150329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":150329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:14:38] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9c15d8012d7376c005e82568000301502b..."} 
[2026-08-08 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9c15d8012d7376c005e82568000301502b..."} 
[2026-08-08 05:14:38] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9c15d8012d7376c005e82568000301502b..."} 
[2026-08-08 05:14:38] local.INFO: Packet analysis {"connection_id":150329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:38] local.INFO: Extracted packet for processing {"connection_id":150329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":762541760,"raw_latitude":99100008,"longitude_deg":76.254176,"latitude_deg":9.9100008,"altitude":3,"angle":336,"satellites":43,"speed":47,"hex_longitude":"2d7376c0","hex_latitude":"05e82568","is_valid_coordinates":true} 
[2026-08-08 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253424896001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115758259209502720,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8324692830329235456,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786146199000,"timestamp_ms":1786146199000,"timestamp_seconds":1786146199,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9c15d8"} 
[2026-08-08 05:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:14: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-08-08 05: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 05:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:14:38] 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-08-08 05:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253424896001,"66":11721,"99":206,"87":12288,"24":47,"16":115758259209502720,"45":8324692830329235456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 05:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253424896001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:14:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 05:14:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115758259209502720,"km_value":115758259209502.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8324692830329235456,"description":"Unknown IO ID 45"} 
[2026-08-08 05:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253424896001,"power":11721,"unknown_99":206,"unknown_87":12288,"ignition":47,"odometer":null,"unknown_45":8324692830329235456}} 
[2026-08-08 05:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":150329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:14:39] local.INFO: GPS data processed {"connection_id":150329,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:14:39] local.INFO: Acknowledgment sent {"connection_id":150329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:14:42] local.INFO: TCP Data received {"connection_id":151306,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:42] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:14:42] local.INFO: IMEI packet received {"connection_id":151306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":151306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:14:42] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9c3518012d73678005e84940000201512a..."} 
[2026-08-08 05:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9c3518012d73678005e84940000201512a..."} 
[2026-08-08 05:14:42] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9c3518012d73678005e84940000201512a..."} 
[2026-08-08 05:14:42] local.INFO: Packet analysis {"connection_id":150329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:42] local.INFO: Extracted packet for processing {"connection_id":150329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:42] local.INFO: GPS Element Parsed {"raw_longitude":762537856,"raw_latitude":99109184,"longitude_deg":76.2537856,"latitude_deg":9.9109184,"altitude":2,"angle":337,"satellites":42,"speed":46,"hex_longitude":"2d736780","hex_latitude":"05e84940","is_valid_coordinates":true} 
[2026-08-08 05:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253426944001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115758740245839872,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8320048493215705088,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786146207000,"timestamp_ms":1786146207000,"timestamp_seconds":1786146207,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9c3518"} 
[2026-08-08 05:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:14: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-08-08 05: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 05:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:14:42] 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-08-08 05:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253426944001,"66":11798,"99":206,"87":12288,"24":46,"16":115758740245839872,"45":8320048493215705088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 05:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253426944001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:14:42] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 05:14:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115758740245839872,"km_value":115758740245839.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8320048493215705088,"description":"Unknown IO ID 45"} 
[2026-08-08 05:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253426944001,"power":11798,"unknown_99":206,"unknown_87":12288,"ignition":46,"odometer":null,"unknown_45":8320048493215705088}} 
[2026-08-08 05:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":150329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:14:42] local.INFO: GPS data processed {"connection_id":150329,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:14:42] local.INFO: Acknowledgment sent {"connection_id":150329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:14:43] local.INFO: TCP Data received {"connection_id":151306,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9c3ce8012d1c874006d3eb90000900a930..."} 
[2026-08-08 05:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9c3ce8012d1c874006d3eb90000900a930..."} 
[2026-08-08 05:14:43] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9c3ce8012d1c874006d3eb90000900a930..."} 
[2026-08-08 05:14:43] local.INFO: Packet analysis {"connection_id":151306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:43] local.INFO: Extracted packet for processing {"connection_id":151306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756844352,"raw_latitude":114551696,"longitude_deg":75.6844352,"latitude_deg":11.4551696,"altitude":9,"angle":169,"satellites":48,"speed":49,"hex_longitude":"2d1c8740","hex_latitude":"06d3eb90","is_valid_coordinates":true} 
[2026-08-08 05:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253428992001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374702662119063552,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2054908096802000896,"note":"Value kept but may cause issues"} 
[2026-08-08 05:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146209000,"timestamp_ms":1786146209000,"timestamp_seconds":1786146209,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9c3ce8"} 
[2026-08-08 05:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:14: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-08-08 05:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253428992001,"66":27332,"113":206,"2":56576,"24":49,"16":374702662119063552,"45":2054908096802000896},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 05:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253428992001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:14:43] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374702662119063552,"km_value":374702662119063.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2054908096802000896,"description":"Unknown IO ID 45"} 
[2026-08-08 05:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253428992001,"power":27332,"unknown_113":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2054908096802000896}} 
[2026-08-08 05:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":151306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:14:43] local.INFO: GPS data processed {"connection_id":151306,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:14:43] local.INFO: Acknowledgment sent {"connection_id":151306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:15:14] local.INFO: TCP Data received {"connection_id":151306,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9c4c88012d1c8c4006d3d890000900992e..."} 
[2026-08-08 05:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9c4c88012d1c8c4006d3d890000900992e..."} 
[2026-08-08 05:15:14] local.INFO: Processing buffer {"connection_id":151306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9c4c88012d1c8c4006d3d890000900992e..."} 
[2026-08-08 05:15:14] local.INFO: Packet analysis {"connection_id":151306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:15:14] local.INFO: Extracted packet for processing {"connection_id":151306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756845632,"raw_latitude":114546832,"longitude_deg":75.6845632,"latitude_deg":11.4546832,"altitude":9,"angle":153,"satellites":46,"speed":50,"hex_longitude":"2d1c8c40","hex_latitude":"06d3d890","is_valid_coordinates":true} 
[2026-08-08 05:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253429504001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374702906932199424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2055682152987332608,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786146213000,"timestamp_ms":1786146213000,"timestamp_seconds":1786146213,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9c4c88"} 
[2026-08-08 05:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05: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-08-08 05:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253429504001,"66":27365,"113":206,"2":56576,"24":50,"16":374702906932199424,"45":2055682152987332608},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 05:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253429504001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:15:14] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374702906932199424,"km_value":374702906932199.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2055682152987332608,"description":"Unknown IO ID 45"} 
[2026-08-08 05:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253429504001,"power":27365,"unknown_113":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2055682152987332608}} 
[2026-08-08 05:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":151306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:15:14] local.INFO: GPS data processed {"connection_id":151306,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:15:14] local.INFO: Acknowledgment sent {"connection_id":151306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:15:22] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9d8cd8012d72e8c005e9e8f00000015726..."} 
[2026-08-08 05:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9d8cd8012d72e8c005e9e8f00000015726..."} 
[2026-08-08 05:15:22] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9d8cd8012d72e8c005e9e8f00000015726..."} 
[2026-08-08 05:15:22] local.INFO: Packet analysis {"connection_id":150329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:15:22] local.INFO: Extracted packet for processing {"connection_id":150329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:15:22] local.INFO: GPS Element Parsed {"raw_longitude":762505408,"raw_latitude":99215600,"longitude_deg":76.2505408,"latitude_deg":9.92156,"altitude":0,"angle":343,"satellites":38,"speed":44,"hex_longitude":"2d72e8c0","hex_latitude":"05e9e8f0","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253449472001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115764143314698240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8283949327480002560,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786146295000,"timestamp_ms":1786146295000,"timestamp_seconds":1786146295,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9d8cd8"} 
[2026-08-08 05:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 05:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:15:22] 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-08-08 05:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253449472001,"66":12015,"217":206,"87":12288,"24":44,"16":115764143314698240,"45":8283949327480002560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253449472001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:15:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:15:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115764143314698240,"km_value":115764143314698.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8283949327480002560,"description":"Unknown IO ID 45"} 
[2026-08-08 05:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253449472001,"power":12015,"unknown_217":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8283949327480002560}} 
[2026-08-08 05:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":150329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:15:22] local.INFO: GPS data processed {"connection_id":150329,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:15:22] local.INFO: Acknowledgment sent {"connection_id":150329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:15:32] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:15:32] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:15:32] local.INFO: IMEI packet received {"connection_id":152775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":152775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:15:36] local.INFO: TCP Data received {"connection_id":152776,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:15:36] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:15:36] local.INFO: IMEI packet received {"connection_id":152776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":152776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:15:37] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:15:37] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:15:37] local.INFO: IMEI packet received {"connection_id":152775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":152775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:15:38] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9dac18012d72df8005ea0bd00000015925..."} 
[2026-08-08 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9dac18012d72df8005ea0bd00000015925..."} 
[2026-08-08 05:15:38] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9dac18012d72df8005ea0bd00000015925..."} 
[2026-08-08 05:15:38] local.INFO: Packet analysis {"connection_id":152775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:15:38] local.INFO: Extracted packet for processing {"connection_id":152775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":762503040,"raw_latitude":99224528,"longitude_deg":76.250304,"latitude_deg":9.9224528,"altitude":0,"angle":345,"satellites":37,"speed":44,"hex_longitude":"2d72df80","hex_latitude":"05ea0bd0","is_valid_coordinates":true} 
[2026-08-08 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253451520001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115764589991297024,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8280079046552383488,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786146303000,"timestamp_ms":1786146303000,"timestamp_seconds":1786146303,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9dac18"} 
[2026-08-08 05:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:15: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-08-08 05: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 05:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:15:38] 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-08-08 05:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253451520001,"66":12058,"217":206,"87":12288,"24":44,"16":115764589991297024,"45":8280079046552383488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253451520001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:15:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:15:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115764589991297024,"km_value":115764589991297.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8280079046552383488,"description":"Unknown IO ID 45"} 
[2026-08-08 05:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253451520001,"power":12058,"unknown_217":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8280079046552383488}} 
[2026-08-08 05:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":152775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:15:38] local.INFO: GPS data processed {"connection_id":152775,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:15:38] local.INFO: Acknowledgment sent {"connection_id":152775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:15:42] local.INFO: TCP Data received {"connection_id":152776,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:15:42] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:15:42] local.INFO: IMEI packet received {"connection_id":152776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":152776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:15:45] local.INFO: TCP Data received {"connection_id":152776,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9c67e0012d1c9d8006d3ba48000c00952d..."} 
[2026-08-08 05:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9c67e0012d1c9d8006d3ba48000c00952d..."} 
[2026-08-08 05:15:45] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9c67e0012d1c9d8006d3ba48000c00952d..."} 
[2026-08-08 05:15:45] local.INFO: Packet analysis {"connection_id":152776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:15:45] local.INFO: Extracted packet for processing {"connection_id":152776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9c"} 
[2026-08-08 05:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756850048,"raw_latitude":114539080,"longitude_deg":75.6850048,"latitude_deg":11.453908,"altitude":12,"angle":149,"satellites":45,"speed":51,"hex_longitude":"2d1c9d80","hex_latitude":"06d3ba48","is_valid_coordinates":true} 
[2026-08-08 05:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253430528001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374703336428929024,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2057089527869640704,"note":"Value kept but may cause issues"} 
[2026-08-08 05:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786146220000,"timestamp_ms":1786146220000,"timestamp_seconds":1786146220,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9c67e0"} 
[2026-08-08 05:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:15: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-08-08 05:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253430528001,"66":27343,"113":206,"2":56576,"24":51,"16":374703336428929024,"45":2057089527869640704},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 05:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253430528001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:15:45] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374703336428929024,"km_value":374703336428929.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2057089527869640704,"description":"Unknown IO ID 45"} 
[2026-08-08 05:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253430528001,"power":27343,"unknown_113":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2057089527869640704}} 
[2026-08-08 05:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":152776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:15:45] local.INFO: GPS data processed {"connection_id":152776,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:15:45] local.INFO: Acknowledgment sent {"connection_id":152776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:16:09] local.INFO: TCP Data received {"connection_id":152775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9dcb58012d72d34005ea2cf80000015226..."} 
[2026-08-08 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9dcb58012d72d34005ea2cf80000015226..."} 
[2026-08-08 05:16:09] local.INFO: Processing buffer {"connection_id":152775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9dcb58012d72d34005ea2cf80000015226..."} 
[2026-08-08 05:16:09] local.INFO: Packet analysis {"connection_id":152775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:09] local.INFO: Extracted packet for processing {"connection_id":152775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":762499904,"raw_latitude":99233016,"longitude_deg":76.2499904,"latitude_deg":9.9233016,"altitude":0,"angle":338,"satellites":38,"speed":44,"hex_longitude":"2d72d340","hex_latitude":"05ea2cf8","is_valid_coordinates":true} 
[2026-08-08 05:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253453568001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115765028077961216,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8277475403020095488,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786146311000,"timestamp_ms":1786146311000,"timestamp_seconds":1786146311,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9dcb58"} 
[2026-08-08 05:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 05:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:16:09] 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-08-08 05:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253453568001,"66":12037,"217":206,"87":12288,"24":44,"16":115765028077961216,"45":8277475403020095488},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 05:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253453568001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115765028077961216,"km_value":115765028077961.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8277475403020095488,"description":"Unknown IO ID 45"} 
[2026-08-08 05:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253453568001,"power":12037,"unknown_217":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8277475403020095488}} 
[2026-08-08 05:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":152775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:16:09] local.INFO: GPS data processed {"connection_id":152775,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:16:09] local.INFO: Acknowledgment sent {"connection_id":152775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:16:16] local.INFO: TCP Data received {"connection_id":152776,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9dcf40012d1d7e0006d24ed8000e00912e..."} 
[2026-08-08 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9dcf40012d1d7e0006d24ed8000e00912e..."} 
[2026-08-08 05:16:16] local.INFO: Processing buffer {"connection_id":152776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9dcf40012d1d7e0006d24ed8000e00912e..."} 
[2026-08-08 05:16:16] local.INFO: Packet analysis {"connection_id":152776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:16] local.INFO: Extracted packet for processing {"connection_id":152776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756907520,"raw_latitude":114446040,"longitude_deg":75.690752,"latitude_deg":11.444604,"altitude":14,"angle":145,"satellites":46,"speed":36,"hex_longitude":"2d1d7e00","hex_latitude":"06d24ed8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253453568001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374708649303474176,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2119576972675604480,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786146312000,"timestamp_ms":1786146312000,"timestamp_seconds":1786146312,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9dcf40"} 
[2026-08-08 05:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:16: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-08-08 05: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-08-08 05:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253453568001,"66":27332,"79":206,"2":56576,"24":36,"16":374708649303474176,"45":2119576972675604480},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-08 05:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253453568001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:16:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 05:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374708649303474176,"km_value":374708649303474.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2119576972675604480,"description":"Unknown IO ID 45"} 
[2026-08-08 05:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253453568001,"power":27332,"unknown_79":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2119576972675604480}} 
[2026-08-08 05:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":152776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:16:16] local.INFO: GPS data processed {"connection_id":152776,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:16:16] local.INFO: Acknowledgment sent {"connection_id":152776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:16:36] local.INFO: TCP Data received {"connection_id":150069,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:36] local.INFO: Processing buffer {"connection_id":150069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:36] local.INFO: IMEI packet received {"connection_id":150069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":150069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:16:38] local.INFO: TCP Data received {"connection_id":150069,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:38] local.INFO: Processing buffer {"connection_id":150069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:38] local.INFO: IMEI packet received {"connection_id":150069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":150069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:16:42] local.INFO: TCP Data received {"connection_id":150069,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:42] local.INFO: Processing buffer {"connection_id":150069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:16:42] local.INFO: IMEI packet received {"connection_id":150069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":150069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:16:42] local.INFO: TCP Data received {"connection_id":150070,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:42] local.INFO: Processing buffer {"connection_id":150070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:42] local.INFO: IMEI packet received {"connection_id":150070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":150070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:16:43] local.INFO: TCP Data received {"connection_id":150070,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:43] local.INFO: Processing buffer {"connection_id":150070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:43] local.INFO: IMEI packet received {"connection_id":150070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":150070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:16:44] local.INFO: TCP Data received {"connection_id":150069,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9dea98012d1d8e8006d23bb0001100852f..."} 
[2026-08-08 05:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9dea98012d1d8e8006d23bb0001100852f..."} 
[2026-08-08 05:16:44] local.INFO: Processing buffer {"connection_id":150069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9dea98012d1d8e8006d23bb0001100852f..."} 
[2026-08-08 05:16:44] local.INFO: Packet analysis {"connection_id":150069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:44] local.INFO: Extracted packet for processing {"connection_id":150069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756911744,"raw_latitude":114441136,"longitude_deg":75.6911744,"latitude_deg":11.4441136,"altitude":17,"angle":133,"satellites":47,"speed":36,"hex_longitude":"2d1d8e80","hex_latitude":"06d23bb0","is_valid_coordinates":true} 
[2026-08-08 05:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253455872001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374708962836086784,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125136103463639040,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786146319000,"timestamp_ms":1786146319000,"timestamp_seconds":1786146319,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9dea98"} 
[2026-08-08 05:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 05:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253455872001,"66":27321,"79":206,"2":56576,"24":36,"16":374708962836086784,"45":2125136103463639040},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-08 05:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253455872001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:16:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 05:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374708962836086784,"km_value":374708962836086.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125136103463639040,"description":"Unknown IO ID 45"} 
[2026-08-08 05:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253455872001,"power":27321,"unknown_79":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2125136103463639040}} 
[2026-08-08 05:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":150069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:16:44] local.INFO: GPS data processed {"connection_id":150069,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:16:44] local.INFO: Acknowledgment sent {"connection_id":150069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:16:47] local.INFO: TCP Data received {"connection_id":150070,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:47] local.INFO: Processing buffer {"connection_id":150070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:16:47] local.INFO: IMEI packet received {"connection_id":150070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":150070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:16:48] local.INFO: TCP Data received {"connection_id":150070,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9dee80012d72c58005ea51600000015523..."} 
[2026-08-08 05:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9dee80012d72c58005ea51600000015523..."} 
[2026-08-08 05:16:48] local.INFO: Processing buffer {"connection_id":150070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9dee80012d72c58005ea51600000015523..."} 
[2026-08-08 05:16:48] local.INFO: Packet analysis {"connection_id":150070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:48] local.INFO: Extracted packet for processing {"connection_id":150070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9d"} 
[2026-08-08 05:16:48] local.INFO: GPS Element Parsed {"raw_longitude":762496384,"raw_latitude":99242336,"longitude_deg":76.2496384,"latitude_deg":9.9242336,"altitude":0,"angle":341,"satellites":35,"speed":44,"hex_longitude":"2d72c580","hex_latitude":"05ea5160","is_valid_coordinates":true} 
[2026-08-08 05:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253455616001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115765509114298368,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8274027334557562880,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786146320000,"timestamp_ms":1786146320000,"timestamp_seconds":1786146320,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9dee80"} 
[2026-08-08 05:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:16: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-08-08 05:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3819052484177953792,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3734838160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2639413249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2808086528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2838113076399570968,"corrected_to":0} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3892391283,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221612933,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1629801687755434199,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194841856,"note":"Value kept but may cause issues"} 
[2026-08-08 05:16:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,217,87,24,241,157,16,71,159,172,45,128,11,37,10,66,140,192,232,38,70,109,1,240,124,227,222,233,4,113,205,52,54,12,40,41,239,46,99,2,155,5,69],"length":484,"final_offset":614,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2838113076399570968,"validated":0}]} 
[2026-08-08 05:16:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":371798141829120,"timestamp_seconds":371798141829.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:16:48] 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-08-08 05:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253455616001,"66":12189,"117":206,"87":12288,"24":44,"16":115765509114298368,"45":8274027334557562880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 05:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253455616001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:16:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 05:16:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115765509114298368,"km_value":115765509114298.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8274027334557562880,"description":"Unknown IO ID 45"} 
[2026-08-08 05:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253455616001,"power":12189,"unknown_117":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8274027334557562880}} 
[2026-08-08 05:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":150070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:16:48] local.INFO: GPS data processed {"connection_id":150070,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:16:48] local.INFO: Acknowledgment sent {"connection_id":150070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:17:15] local.INFO: TCP Data received {"connection_id":150069,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9e11a8012d1daac006d22428001200852f..."} 
[2026-08-08 05:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9e11a8012d1daac006d22428001200852f..."} 
[2026-08-08 05:17:15] local.INFO: Processing buffer {"connection_id":150069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9e11a8012d1daac006d22428001200852f..."} 
[2026-08-08 05:17:15] local.INFO: Packet analysis {"connection_id":150069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:17:15] local.INFO: Extracted packet for processing {"connection_id":150069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756918976,"raw_latitude":114435112,"longitude_deg":75.6918976,"latitude_deg":11.4435112,"altitude":18,"angle":133,"satellites":47,"speed":31,"hex_longitude":"2d1daac0","hex_latitude":"06d22428","is_valid_coordinates":true} 
[2026-08-08 05:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253457664001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374709413807652864,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2129780440578109440,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786146329000,"timestamp_ms":1786146329000,"timestamp_seconds":1786146329,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9e11a8"} 
[2026-08-08 05:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253457664001,"66":27376,"79":206,"2":56576,"24":31,"16":374709413807652864,"45":2129780440578109440},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-08 05:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253457664001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:17:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 05:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374709413807652864,"km_value":374709413807652.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2129780440578109440,"description":"Unknown IO ID 45"} 
[2026-08-08 05:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253457664001,"power":27376,"unknown_79":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":2129780440578109440}} 
[2026-08-08 05:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":150069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:17:15] local.INFO: GPS data processed {"connection_id":150069,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:17:15] local.INFO: Acknowledgment sent {"connection_id":150069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:17:34] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:34] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:34] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:17:36] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:36] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:36] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:17:37] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:37] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:17:37] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:17:39] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9f6968012d72414005ebf4300003004528..."} 
[2026-08-08 05:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9f6968012d72414005ebf4300003004528..."} 
[2026-08-08 05:17:39] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9f6968012d72414005ebf4300003004528..."} 
[2026-08-08 05:17:39] local.INFO: Packet analysis {"connection_id":150330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:17:39] local.INFO: Extracted packet for processing {"connection_id":150330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:17:39] local.INFO: GPS Element Parsed {"raw_longitude":762462528,"raw_latitude":99349552,"longitude_deg":76.2462528,"latitude_deg":9.9349552,"altitude":3,"angle":69,"satellites":40,"speed":20,"hex_longitude":"2d724140","hex_latitude":"05ebf430","is_valid_coordinates":true} 
[2026-08-08 05:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253482496001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115771006672437248,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8232439406778351616,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786146417000,"timestamp_ms":1786146417000,"timestamp_seconds":1786146417,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9f6968"} 
[2026-08-08 05:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:17: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-08-08 05:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:17:39] 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-08-08 05:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253482496001,"66":11917,"241":206,"87":12288,"24":20,"16":115771006672437248,"45":8232439406778351616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 05:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253482496001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:17:39] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 05:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115771006672437248,"km_value":115771006672437.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8232439406778351616,"description":"Unknown IO ID 45"} 
[2026-08-08 05:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253482496001,"power":11917,"unknown_241":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8232439406778351616}} 
[2026-08-08 05:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":150330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:17:39] local.INFO: GPS data processed {"connection_id":150330,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:17:39] local.INFO: Acknowledgment sent {"connection_id":150330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:17:42] local.INFO: TCP Data received {"connection_id":150331,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:17:42] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:17:42] local.INFO: IMEI packet received {"connection_id":150331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":150331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:17:43] local.INFO: TCP Data received {"connection_id":150331,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:17:43] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:17:43] local.INFO: IMEI packet received {"connection_id":150331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":150331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:17:43] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9f7520012d72494005ebf5880002005229..."} 
[2026-08-08 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9f7520012d72494005ebf5880002005229..."} 
[2026-08-08 05:17:43] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9f7520012d72494005ebf5880002005229..."} 
[2026-08-08 05:17:43] local.INFO: Packet analysis {"connection_id":150330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:17:43] local.INFO: Extracted packet for processing {"connection_id":150330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":762464576,"raw_latitude":99349896,"longitude_deg":76.2464576,"latitude_deg":9.9349896,"altitude":2,"angle":82,"satellites":41,"speed":30,"hex_longitude":"2d724940","hex_latitude":"05ebf588","is_valid_coordinates":true} 
[2026-08-08 05:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253482752001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115771105456685056,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8232931987987640320,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146420000,"timestamp_ms":1786146420000,"timestamp_seconds":1786146420,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9f7520"} 
[2026-08-08 05:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:17:43] 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-08-08 05:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:17:43] 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-08-08 05:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253482752001,"66":11950,"241":206,"87":12288,"24":30,"16":115771105456685056,"45":8232931987987640320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 05:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253482752001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:17:43] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 05:17:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115771105456685056,"km_value":115771105456685.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8232931987987640320,"description":"Unknown IO ID 45"} 
[2026-08-08 05:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253482752001,"power":11950,"unknown_241":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8232931987987640320}} 
[2026-08-08 05:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":150330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:17:43] local.INFO: GPS data processed {"connection_id":150330,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:17:43] local.INFO: Acknowledgment sent {"connection_id":150330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:17:44] local.INFO: TCP Data received {"connection_id":150331,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9e4470012d1dc64006d20c80001100852f..."} 
[2026-08-08 05:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9e4470012d1dc64006d20c80001100852f..."} 
[2026-08-08 05:17:44] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9e4470012d1dc64006d20c80001100852f..."} 
[2026-08-08 05:17:44] local.INFO: Packet analysis {"connection_id":150331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:17:44] local.INFO: Extracted packet for processing {"connection_id":150331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756926016,"raw_latitude":114429056,"longitude_deg":75.6926016,"latitude_deg":11.4429056,"altitude":17,"angle":133,"satellites":47,"speed":25,"hex_longitude":"2d1dc640","hex_latitude":"06d20c80","is_valid_coordinates":true} 
[2026-08-08 05:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253460224001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374709860484251648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2137732108668643328,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786146342000,"timestamp_ms":1786146342000,"timestamp_seconds":1786146342,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9e4470"} 
[2026-08-08 05:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253460224001,"66":27343,"77":206,"2":56576,"24":25,"16":374709860484251648,"45":2137732108668643328},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 05:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253460224001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:17:44] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 05:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374709860484251648,"km_value":374709860484251.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2137732108668643328,"description":"Unknown IO ID 45"} 
[2026-08-08 05:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253460224001,"power":27343,"unknown_77":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":2137732108668643328}} 
[2026-08-08 05:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":150331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:17:44] local.INFO: GPS data processed {"connection_id":150331,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:17:44] local.INFO: Acknowledgment sent {"connection_id":150331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:17:47] local.INFO: TCP Data received {"connection_id":150331,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9e7350012d1de2c006d1f268000e00832f..."} 
[2026-08-08 05:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9e7350012d1de2c006d1f268000e00832f..."} 
[2026-08-08 05:17:47] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9e7350012d1de2c006d1f268000e00832f..."} 
[2026-08-08 05:17:47] local.INFO: Packet analysis {"connection_id":150331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:17:47] local.INFO: Extracted packet for processing {"connection_id":150331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756933312,"raw_latitude":114422376,"longitude_deg":75.6933312,"latitude_deg":11.4422376,"altitude":14,"angle":131,"satellites":47,"speed":37,"hex_longitude":"2d1de2c0","hex_latitude":"06d1f268","is_valid_coordinates":true} 
[2026-08-08 05:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253463552001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374710332930654208,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2145472670526636032,"note":"Value kept but may cause issues"} 
[2026-08-08 05:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786146354000,"timestamp_ms":1786146354000,"timestamp_seconds":1786146354,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9e7350"} 
[2026-08-08 05:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:17: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-08-08 05:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253463552001,"66":27321,"77":206,"2":56576,"24":37,"16":374710332930654208,"45":2145472670526636032},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 05:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253463552001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:17:47] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 05:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374710332930654208,"km_value":374710332930654.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2145472670526636032,"description":"Unknown IO ID 45"} 
[2026-08-08 05:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253463552001,"power":27321,"unknown_77":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2145472670526636032}} 
[2026-08-08 05:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":150331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:17:47] local.INFO: GPS data processed {"connection_id":150331,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:17:47] local.INFO: Acknowledgment sent {"connection_id":150331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:18:14] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9f9848012d726d8005ebf9680000005429..."} 
[2026-08-08 05:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9f9848012d726d8005ebf9680000005429..."} 
[2026-08-08 05:18:14] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9f9848012d726d8005ebf9680000005429..."} 
[2026-08-08 05:18:14] local.INFO: Packet analysis {"connection_id":150330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:18:14] local.INFO: Extracted packet for processing {"connection_id":150330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:18:14] local.INFO: GPS Element Parsed {"raw_longitude":762473856,"raw_latitude":99350888,"longitude_deg":76.2473856,"latitude_deg":9.9350888,"altitude":0,"angle":84,"satellites":41,"speed":43,"hex_longitude":"2d726d80","hex_latitude":"05ebf968","is_valid_coordinates":true} 
[2026-08-08 05:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253483520001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115771547838316544,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8235183787801413632,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786146429000,"timestamp_ms":1786146429000,"timestamp_seconds":1786146429,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9f9848"} 
[2026-08-08 05:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05: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-08-08 05: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 05:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:18:14] 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-08-08 05:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253483520001,"66":12037,"241":206,"87":12288,"24":43,"16":115771547838316544,"45":8235183787801413632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 05:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253483520001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:18:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 05:18:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115771547838316544,"km_value":115771547838316.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8235183787801413632,"description":"Unknown IO ID 45"} 
[2026-08-08 05:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253483520001,"power":12037,"unknown_241":206,"unknown_87":12288,"ignition":43,"odometer":null,"unknown_45":8235183787801413632}} 
[2026-08-08 05:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:18:14] local.INFO: GPS data processed {"connection_id":150330,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:18:14] local.INFO: Acknowledgment sent {"connection_id":150330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:18:21] local.INFO: TCP Data received {"connection_id":150331,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9e86d8012d1def8006d1e478000e00912e..."} 
[2026-08-08 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9e86d8012d1def8006d1e478000e00912e..."} 
[2026-08-08 05:18:21] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9e86d8012d1def8006d1e478000e00912e..."} 
[2026-08-08 05:18:21] local.INFO: Packet analysis {"connection_id":150331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:18:21] local.INFO: Extracted packet for processing {"connection_id":150331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9e"} 
[2026-08-08 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756936576,"raw_latitude":114418808,"longitude_deg":75.6936576,"latitude_deg":11.4418808,"altitude":14,"angle":145,"satellites":46,"speed":40,"hex_longitude":"2d1def80","hex_latitude":"06d1e478","is_valid_coordinates":true} 
[2026-08-08 05:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253466624001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374710569153855488,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153494707361179648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786146359000,"timestamp_ms":1786146359000,"timestamp_seconds":1786146359,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9e86d8"} 
[2026-08-08 05:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253466624001,"66":27343,"77":206,"2":56576,"24":40,"16":374710569153855488,"45":2153494707361179648},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 05:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253466624001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:18:21] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 05:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374710569153855488,"km_value":374710569153855.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2153494707361179648,"description":"Unknown IO ID 45"} 
[2026-08-08 05:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253466624001,"power":27343,"unknown_77":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":2153494707361179648}} 
[2026-08-08 05:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":150331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:18:21] local.INFO: GPS data processed {"connection_id":150331,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:18:21] local.INFO: Acknowledgment sent {"connection_id":150331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:18:32] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:32] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:32] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:18:33] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:33] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:33] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:18:36] local.INFO: TCP Data received {"connection_id":152777,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:36] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:36] local.INFO: IMEI packet received {"connection_id":152777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":152777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:18:37] local.INFO: TCP Data received {"connection_id":152777,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:37] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:37] local.INFO: IMEI packet received {"connection_id":152777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":152777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:18:39] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:39] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:18:39] local.INFO: IMEI packet received {"connection_id":151307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":151307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:18:40] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9fb788012d72924005ebfbd00000005527..."} 
[2026-08-08 05:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9fb788012d72924005ebfbd00000005527..."} 
[2026-08-08 05:18:40] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9fb788012d72924005ebfbd00000005527..."} 
[2026-08-08 05:18:40] local.INFO: Packet analysis {"connection_id":151307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:18:40] local.INFO: Extracted packet for processing {"connection_id":151307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:18:40] local.INFO: GPS Element Parsed {"raw_longitude":762483264,"raw_latitude":99351504,"longitude_deg":76.2483264,"latitude_deg":9.9351504,"altitude":0,"angle":85,"satellites":39,"speed":49,"hex_longitude":"2d729240","hex_latitude":"05ebfbd0","is_valid_coordinates":true} 
[2026-08-08 05:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253485824001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115772003104849920,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8245387255707428864,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786146437000,"timestamp_ms":1786146437000,"timestamp_seconds":1786146437,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9fb788"} 
[2026-08-08 05:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:18: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-08-08 05: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1224979098812548096,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3734985160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2673973249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4068474883,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3454543275395907608,"corrected_to":0} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2952867186,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147871729,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1445717052969974744,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194822144,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,241,87,24,157,16,77,159,117,45,64,245,2,41,10,66,105,244,3,40,101,128,1,240,141,227,222,235,4,113,205,93,61,56,239,47,155,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3454543275395907608,"validated":0}]} 
[2026-08-08 05:18:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":92535073210368,"timestamp_seconds":92535073210.368,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:18:40] 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-08-08 05:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253485824001,"66":11776,"241":206,"87":12288,"24":49,"16":115772003104849920,"45":8245387255707428864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 05:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253485824001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:18:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 05:18:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115772003104849920,"km_value":115772003104849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8245387255707428864,"description":"Unknown IO ID 45"} 
[2026-08-08 05:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253485824001,"power":11776,"unknown_241":206,"unknown_87":12288,"ignition":49,"odometer":null,"unknown_45":8245387255707428864}} 
[2026-08-08 05:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":151307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:18:40] local.INFO: GPS data processed {"connection_id":151307,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:18:40] local.INFO: Acknowledgment sent {"connection_id":151307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:18:42] local.INFO: TCP Data received {"connection_id":152777,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:42] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:18:42] local.INFO: IMEI packet received {"connection_id":152777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":152777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:18:45] local.INFO: TCP Data received {"connection_id":152777,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea00990012d1ec0c006d09c70001200942f..."} 
[2026-08-08 05:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea00990012d1ec0c006d09c70001200942f..."} 
[2026-08-08 05:18:45] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea00990012d1ec0c006d09c70001200942f..."} 
[2026-08-08 05:18:45] local.INFO: Packet analysis {"connection_id":152777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:18:45] local.INFO: Extracted packet for processing {"connection_id":152777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756990144,"raw_latitude":114334832,"longitude_deg":75.6990144,"latitude_deg":11.4334832,"altitude":18,"angle":148,"satellites":47,"speed":54,"hex_longitude":"2d1ec0c0","hex_latitude":"06d09c70","is_valid_coordinates":true} 
[2026-08-08 05:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253491456001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374715388107161600,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2210493390124636160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786146458000,"timestamp_ms":1786146458000,"timestamp_seconds":1786146458,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea00990"} 
[2026-08-08 05:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05: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-08-08 05: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253491456001,"66":27321,"77":206,"2":56576,"24":54,"16":374715388107161600,"45":2210493390124636160},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 05:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253491456001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:18:45] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 05:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374715388107161600,"km_value":374715388107161.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2210493390124636160,"description":"Unknown IO ID 45"} 
[2026-08-08 05:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253491456001,"power":27321,"unknown_77":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2210493390124636160}} 
[2026-08-08 05:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":152777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:18:45] local.INFO: GPS data processed {"connection_id":152777,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:18:45] local.INFO: Acknowledgment sent {"connection_id":152777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:18:46] local.INFO: TCP Data received {"connection_id":152777,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea024e8012d1ed58006d07ba0001100942f..."} 
[2026-08-08 05:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea024e8012d1ed58006d07ba0001100942f..."} 
[2026-08-08 05:18:46] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea024e8012d1ed58006d07ba0001100942f..."} 
[2026-08-08 05:18:46] local.INFO: Packet analysis {"connection_id":152777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:18:46] local.INFO: Extracted packet for processing {"connection_id":152777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756995456,"raw_latitude":114326432,"longitude_deg":75.6995456,"latitude_deg":11.4326432,"altitude":17,"angle":148,"satellites":47,"speed":57,"hex_longitude":"2d1ed580","hex_latitude":"06d07ba0","is_valid_coordinates":true} 
[2026-08-08 05:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253493248001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374715869143498752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2215982152168534016,"note":"Value kept but may cause issues"} 
[2026-08-08 05:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786146465000,"timestamp_ms":1786146465000,"timestamp_seconds":1786146465,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea024e8"} 
[2026-08-08 05:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:18: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-08-08 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253493248001,"66":27343,"77":206,"2":56576,"24":57,"16":374715869143498752,"45":2215982152168534016},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 05:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253493248001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:18:46] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 05:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374715869143498752,"km_value":374715869143498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2215982152168534016,"description":"Unknown IO ID 45"} 
[2026-08-08 05:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253493248001,"power":27343,"unknown_77":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":2215982152168534016}} 
[2026-08-08 05:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":152777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:18:46] local.INFO: GPS data processed {"connection_id":152777,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:18:46] local.INFO: Acknowledgment sent {"connection_id":152777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:19:12] local.INFO: TCP Data received {"connection_id":151307,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fde9fd6c8012d72b5c005ebffb00000005227..."} 
[2026-08-08 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fde9fd6c8012d72b5c005ebffb00000005227..."} 
[2026-08-08 05:19:12] local.INFO: Processing buffer {"connection_id":151307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fde9fd6c8012d72b5c005ebffb00000005227..."} 
[2026-08-08 05:19:12] local.INFO: Packet analysis {"connection_id":151307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:19:12] local.INFO: Extracted packet for processing {"connection_id":151307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fde9f"} 
[2026-08-08 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":762492352,"raw_latitude":99352496,"longitude_deg":76.2492352,"latitude_deg":9.9352496,"altitude":0,"angle":82,"satellites":39,"speed":43,"hex_longitude":"2d72b5c0","hex_latitude":"05ebffb0","is_valid_coordinates":true} 
[2026-08-08 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253487872001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115772436896546816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8255731461101703168,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786146445000,"timestamp_ms":1786146445000,"timestamp_seconds":1786146445,"priority":1,"record_length":96,"hex_timestamp":"0000019fde9fd6c8"} 
[2026-08-08 05:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3734986160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2674229249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4085252099,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":804323534,"corrected_to":0} 
[2026-08-08 05:19:12] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2550214002,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,241,87,24,157,16,78,159,152,45,128,249,41,10,66,77,117,64,245,2,105,1,240,141,227,222,235,4,113,205,17,97,62,40,239,47,155],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":804323534,"validated":0}]} 
[2026-08-08 05:19:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":93625995296768,"timestamp_seconds":93625995296.768,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:19:12] 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-08-08 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253487872001,"66":11765,"241":206,"87":12288,"24":43,"16":115772436896546816,"45":8255731461101703168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253487872001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:19:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 05:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115772436896546816,"km_value":115772436896546.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8255731461101703168,"description":"Unknown IO ID 45"} 
[2026-08-08 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253487872001,"power":11765,"unknown_241":206,"unknown_87":12288,"ignition":43,"odometer":null,"unknown_45":8255731461101703168}} 
[2026-08-08 05:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":151307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:19:12] local.INFO: GPS data processed {"connection_id":151307,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:19:12] local.INFO: Acknowledgment sent {"connection_id":151307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:19:19] local.INFO: TCP Data received {"connection_id":152777,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea03c58012d1ee7c006d05de00010009230..."} 
[2026-08-08 05:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea03c58012d1ee7c006d05de00010009230..."} 
[2026-08-08 05:19:19] local.INFO: Processing buffer {"connection_id":152777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea03c58012d1ee7c006d05de00010009230..."} 
[2026-08-08 05:19:19] local.INFO: Packet analysis {"connection_id":152777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:19:19] local.INFO: Extracted packet for processing {"connection_id":152777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:19:19] local.INFO: GPS Element Parsed {"raw_longitude":757000128,"raw_latitude":114318816,"longitude_deg":75.7000128,"latitude_deg":11.4318816,"altitude":16,"angle":146,"satellites":48,"speed":57,"hex_longitude":"2d1ee7c0","hex_latitude":"06d05de0","is_valid_coordinates":true} 
[2026-08-08 05:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253495040001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374716298640228352,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2221822757933129728,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786146471000,"timestamp_ms":1786146471000,"timestamp_seconds":1786146471,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea03c58"} 
[2026-08-08 05:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:19: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-08-08 05:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253495040001,"66":27397,"77":206,"2":56576,"24":57,"16":374716298640228352,"45":2221822757933129728},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 05:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253495040001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:19:19] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 05:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374716298640228352,"km_value":374716298640228.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2221822757933129728,"description":"Unknown IO ID 45"} 
[2026-08-08 05:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253495040001,"power":27397,"unknown_77":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":2221822757933129728}} 
[2026-08-08 05:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":152777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:19:19] local.INFO: GPS data processed {"connection_id":152777,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:19:19] local.INFO: Acknowledgment sent {"connection_id":152777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:19:32] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:32] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:32] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:19:36] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:36] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:36] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:19:37] local.INFO: TCP Data received {"connection_id":152778,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:19:37] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:19:37] local.INFO: IMEI packet received {"connection_id":152778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":152778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:19:37] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:37] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:19:37] local.INFO: IMEI packet received {"connection_id":151308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":151308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:19:40] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea18860012d7439c005ec10d0000c005b29..."} 
[2026-08-08 05:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea18860012d7439c005ec10d0000c005b29..."} 
[2026-08-08 05:19:40] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea18860012d7439c005ec10d0000c005b29..."} 
[2026-08-08 05:19:40] local.INFO: Packet analysis {"connection_id":151308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea1"} 
[2026-08-08 05:19:40] local.INFO: Extracted packet for processing {"connection_id":151308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea1"} 
[2026-08-08 05:19:40] local.INFO: GPS Element Parsed {"raw_longitude":762591680,"raw_latitude":99356880,"longitude_deg":76.259168,"latitude_deg":9.935688,"altitude":12,"angle":91,"satellites":41,"speed":44,"hex_longitude":"2d7439c0","hex_latitude":"05ec10d0","is_valid_coordinates":true} 
[2026-08-08 05:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253516032001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115777247259918336,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8364028958392291328,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786146556000,"timestamp_ms":1786146556000,"timestamp_seconds":1786146556,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea18860"} 
[2026-08-08 05:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05: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-08-08 05: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-08 05:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:19:40] 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-08-08 05:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253516032001,"66":11852,"52":206,"87":12288,"24":44,"16":115777247259918336,"45":8364028958392291328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,87,24,16,45]} 
[2026-08-08 05:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253516032001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:19:40] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 05:19:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115777247259918336,"km_value":115777247259918.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8364028958392291328,"description":"Unknown IO ID 45"} 
[2026-08-08 05:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253516032001,"power":11852,"unknown_52":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8364028958392291328}} 
[2026-08-08 05:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":151308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:19:40] local.INFO: GPS data processed {"connection_id":151308,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:19:40] local.INFO: Acknowledgment sent {"connection_id":151308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:19:41] local.INFO: TCP Data received {"connection_id":152778,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:19:41] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:19:41] local.INFO: IMEI packet received {"connection_id":152778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":152778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:19:43] local.INFO: TCP Data received {"connection_id":152778,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea053c8012d1efbc006d040c00010009330..."} 
[2026-08-08 05:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea053c8012d1efbc006d040c00010009330..."} 
[2026-08-08 05:19:43] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea053c8012d1efbc006d040c00010009330..."} 
[2026-08-08 05:19:43] local.INFO: Packet analysis {"connection_id":152778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:19:43] local.INFO: Extracted packet for processing {"connection_id":152778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:19:43] local.INFO: GPS Element Parsed {"raw_longitude":757005248,"raw_latitude":114311360,"longitude_deg":75.7005248,"latitude_deg":11.431136,"altitude":16,"angle":147,"satellites":48,"speed":60,"hex_longitude":"2d1efbc0","hex_latitude":"06d040c0","is_valid_coordinates":true} 
[2026-08-08 05:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253496576001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374716732431925248,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2226959676256149504,"note":"Value kept but may cause issues"} 
[2026-08-08 05:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146477000,"timestamp_ms":1786146477000,"timestamp_seconds":1786146477,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea053c8"} 
[2026-08-08 05:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253496576001,"66":27343,"198":206,"2":56576,"24":60,"16":374716732431925248,"45":2226959676256149504},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 05:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253496576001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:19:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 05:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374716732431925248,"km_value":374716732431925.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2226959676256149504,"description":"Unknown IO ID 45"} 
[2026-08-08 05:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253496576001,"power":27343,"unknown_198":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2226959676256149504}} 
[2026-08-08 05:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":152778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:19:43] local.INFO: GPS data processed {"connection_id":152778,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:19:43] local.INFO: Acknowledgment sent {"connection_id":152778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:20:11] local.INFO: TCP Data received {"connection_id":151308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea1ab88012d745e0005ec0d78000f004e22..."} 
[2026-08-08 05:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea1ab88012d745e0005ec0d78000f004e22..."} 
[2026-08-08 05:20:11] local.INFO: Processing buffer {"connection_id":151308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea1ab88012d745e0005ec0d78000f004e22..."} 
[2026-08-08 05:20:11] local.INFO: Packet analysis {"connection_id":151308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea1"} 
[2026-08-08 05:20:11] local.INFO: Extracted packet for processing {"connection_id":151308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea1"} 
[2026-08-08 05:20:11] local.INFO: GPS Element Parsed {"raw_longitude":762600960,"raw_latitude":99356024,"longitude_deg":76.260096,"latitude_deg":9.9356024,"altitude":15,"angle":78,"satellites":34,"speed":38,"hex_longitude":"2d745e00","hex_latitude":"05ec0d78","is_valid_coordinates":true} 
[2026-08-08 05:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253518336001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115777689641549824,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374936113740042240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786146565000,"timestamp_ms":1786146565000,"timestamp_seconds":1786146565,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea1ab88"} 
[2026-08-08 05:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:20: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-08-08 05: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 05:20: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-08-08 05:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:20:11] 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-08-08 05:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253518336001,"66":11721,"141":206,"87":12288,"24":38,"16":115777689641549824,"45":8374936113740042240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,87,24,16,45]} 
[2026-08-08 05:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253518336001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:20:11] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 05:20:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115777689641549824,"km_value":115777689641549.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374936113740042240,"description":"Unknown IO ID 45"} 
[2026-08-08 05:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253518336001,"power":11721,"unknown_141":206,"unknown_87":12288,"ignition":38,"odometer":null,"unknown_45":8374936113740042240}} 
[2026-08-08 05:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":151308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:20:11] local.INFO: GPS data processed {"connection_id":151308,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:20:11] local.INFO: Acknowledgment sent {"connection_id":151308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:20:15] local.INFO: TCP Data received {"connection_id":152778,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea06b38012d1f0f4006d022e0000f009230..."} 
[2026-08-08 05:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea06b38012d1f0f4006d022e0000f009230..."} 
[2026-08-08 05:20:15] local.INFO: Processing buffer {"connection_id":152778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea06b38012d1f0f4006d022e0000f009230..."} 
[2026-08-08 05:20:15] local.INFO: Packet analysis {"connection_id":152778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:20:15] local.INFO: Extracted packet for processing {"connection_id":152778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:20:15] local.INFO: GPS Element Parsed {"raw_longitude":757010240,"raw_latitude":114303712,"longitude_deg":75.701024,"latitude_deg":11.4303712,"altitude":15,"angle":146,"satellites":48,"speed":58,"hex_longitude":"2d1f0f40","hex_latitude":"06d022e0","is_valid_coordinates":true} 
[2026-08-08 05:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253498112001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374717174813556736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2232589175788453888,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786146483000,"timestamp_ms":1786146483000,"timestamp_seconds":1786146483,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea06b38"} 
[2026-08-08 05:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:20: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-08-08 05:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253498112001,"66":27321,"198":206,"2":56576,"24":58,"16":374717174813556736,"45":2232589175788453888},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 05:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253498112001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:20:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 05:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374717174813556736,"km_value":374717174813556.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2232589175788453888,"description":"Unknown IO ID 45"} 
[2026-08-08 05:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253498112001,"power":27321,"unknown_198":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2232589175788453888}} 
[2026-08-08 05:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":152778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:20:15] local.INFO: GPS data processed {"connection_id":152778,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:20:15] local.INFO: Acknowledgment sent {"connection_id":152778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:20:36] local.INFO: TCP Data received {"connection_id":152779,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:36] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:36] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:20:37] local.INFO: TCP Data received {"connection_id":152779,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:37] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:37] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:20:38] local.INFO: TCP Data received {"connection_id":150071,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:38] local.INFO: Processing buffer {"connection_id":150071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:38] local.INFO: IMEI packet received {"connection_id":150071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":150071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:20:40] local.INFO: TCP Data received {"connection_id":150071,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:40] local.INFO: Processing buffer {"connection_id":150071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:40] local.INFO: IMEI packet received {"connection_id":150071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":150071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:20:41] local.INFO: TCP Data received {"connection_id":150071,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:41] local.INFO: Processing buffer {"connection_id":150071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:41] local.INFO: IMEI packet received {"connection_id":150071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":150071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:20:42] local.INFO: TCP Data received {"connection_id":152779,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:42] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:20:42] local.INFO: IMEI packet received {"connection_id":152779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":152779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:20:43] local.INFO: TCP Data received {"connection_id":152779,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea08690012d1f23c006d00490001000922f..."} 
[2026-08-08 05:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea08690012d1f23c006d00490001000922f..."} 
[2026-08-08 05:20:43] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea08690012d1f23c006d00490001000922f..."} 
[2026-08-08 05:20:43] local.INFO: Packet analysis {"connection_id":152779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:20:43] local.INFO: Extracted packet for processing {"connection_id":152779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea0"} 
[2026-08-08 05:20:43] local.INFO: GPS Element Parsed {"raw_longitude":757015488,"raw_latitude":114295952,"longitude_deg":75.7015488,"latitude_deg":11.4295952,"altitude":16,"angle":146,"satellites":47,"speed":48,"hex_longitude":"2d1f23c0","hex_latitude":"06d00490","is_valid_coordinates":true} 
[2026-08-08 05:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253499648001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374717625785122816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2238077937832353792,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146490000,"timestamp_ms":1786146490000,"timestamp_seconds":1786146490,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea08690"} 
[2026-08-08 05:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253499648001,"66":27104,"198":206,"2":56576,"24":48,"16":374717625785122816,"45":2238077937832353792},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 05:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253499648001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:20:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 05:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374717625785122816,"km_value":374717625785122.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2238077937832353792,"description":"Unknown IO ID 45"} 
[2026-08-08 05:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253499648001,"power":27104,"unknown_198":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":2238077937832353792}} 
[2026-08-08 05:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":152779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:20:43] local.INFO: GPS data processed {"connection_id":152779,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:20:43] local.INFO: Acknowledgment sent {"connection_id":152779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:20:45] local.INFO: TCP Data received {"connection_id":150071,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:45] local.INFO: Processing buffer {"connection_id":150071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:20:45] local.INFO: IMEI packet received {"connection_id":150071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":150071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:20:46] local.INFO: TCP Data received {"connection_id":150071,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea25768012d74df4005ec04d0000c006428..."} 
[2026-08-08 05:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea25768012d74df4005ec04d0000c006428..."} 
[2026-08-08 05:20:46] local.INFO: Processing buffer {"connection_id":150071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea25768012d74df4005ec04d0000c006428..."} 
[2026-08-08 05:20:46] local.INFO: Packet analysis {"connection_id":150071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:20:46] local.INFO: Extracted packet for processing {"connection_id":150071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:20:46] local.INFO: GPS Element Parsed {"raw_longitude":762634048,"raw_latitude":99353808,"longitude_deg":76.2634048,"latitude_deg":9.9353808,"altitude":12,"angle":100,"satellites":40,"speed":33,"hex_longitude":"2d74df40","hex_latitude":"05ec04d0","is_valid_coordinates":true} 
[2026-08-08 05:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253529856001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115779424808337408,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8413990766757650432,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786146609000,"timestamp_ms":1786146609000,"timestamp_seconds":1786146609,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea25768"} 
[2026-08-08 05:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 05:20:46] 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-08-08 05:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:20:46] 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-08-08 05:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253529856001,"66":12156,"140":206,"87":12288,"24":33,"16":115779424808337408,"45":8413990766757650432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 05:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253529856001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:20:46] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 05:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115779424808337408,"km_value":115779424808337.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8413990766757650432,"description":"Unknown IO ID 45"} 
[2026-08-08 05:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253529856001,"power":12156,"unknown_140":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8413990766757650432}} 
[2026-08-08 05:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":150071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:20:46] local.INFO: GPS data processed {"connection_id":150071,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:20:46] local.INFO: Acknowledgment sent {"connection_id":150071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:20:48] local.INFO: TCP Data received {"connection_id":150071,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea26708012d74ecc005ec0020000b007629..."} 
[2026-08-08 05:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea26708012d74ecc005ec0020000b007629..."} 
[2026-08-08 05:20:48] local.INFO: Processing buffer {"connection_id":150071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea26708012d74ecc005ec0020000b007629..."} 
[2026-08-08 05:20:48] local.INFO: Packet analysis {"connection_id":150071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:20:48] local.INFO: Extracted packet for processing {"connection_id":150071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:20:48] local.INFO: GPS Element Parsed {"raw_longitude":762637504,"raw_latitude":99352608,"longitude_deg":76.2637504,"latitude_deg":9.9352608,"altitude":11,"angle":118,"satellites":41,"speed":37,"hex_longitude":"2d74ecc0","hex_latitude":"05ec0020","is_valid_coordinates":true} 
[2026-08-08 05:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253531904001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115779600901996544,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8421520222384869376,"note":"Value kept but may cause issues"} 
[2026-08-08 05:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786146613000,"timestamp_ms":1786146613000,"timestamp_seconds":1786146613,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea26708"} 
[2026-08-08 05:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 05:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:20:48] 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-08-08 05:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253531904001,"66":12069,"140":206,"87":12288,"24":37,"16":115779600901996544,"45":8421520222384869376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 05:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253531904001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115779600901996544,"km_value":115779600901996.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8421520222384869376,"description":"Unknown IO ID 45"} 
[2026-08-08 05:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253531904001,"power":12069,"unknown_140":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8421520222384869376}} 
[2026-08-08 05:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":150071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:20:48] local.INFO: GPS data processed {"connection_id":150071,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:20:48] local.INFO: Acknowledgment sent {"connection_id":150071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:21:14] local.INFO: TCP Data received {"connection_id":152779,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea25380012d20694006cf20d0000e007f2f..."} 
[2026-08-08 05:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea25380012d20694006cf20d0000e007f2f..."} 
[2026-08-08 05:21:14] local.INFO: Processing buffer {"connection_id":152779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea25380012d20694006cf20d0000e007f2f..."} 
[2026-08-08 05:21:14] local.INFO: Packet analysis {"connection_id":152779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:21:14] local.INFO: Extracted packet for processing {"connection_id":152779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:21:14] local.INFO: GPS Element Parsed {"raw_longitude":757098816,"raw_latitude":114237648,"longitude_deg":75.7098816,"latitude_deg":11.4237648,"altitude":14,"angle":127,"satellites":47,"speed":39,"hex_longitude":"2d206940","hex_latitude":"06cf20d0","is_valid_coordinates":true} 
[2026-08-08 05:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253529088001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374722607947186176,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2326601817992366080,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786146608000,"timestamp_ms":1786146608000,"timestamp_seconds":1786146608,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea25380"} 
[2026-08-08 05:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 05:21: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-08-08 05:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253529088001,"66":27234,"73":206,"2":56576,"24":39,"16":374722607947186176,"45":2326601817992366080},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253529088001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:21:14] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374722607947186176,"km_value":374722607947186.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2326601817992366080,"description":"Unknown IO ID 45"} 
[2026-08-08 05:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253529088001,"power":27234,"unknown_73":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2326601817992366080}} 
[2026-08-08 05:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":152779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:21:14] local.INFO: GPS data processed {"connection_id":152779,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:21:14] local.INFO: Acknowledgment sent {"connection_id":152779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:21:33] local.INFO: TCP Data received {"connection_id":150072,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:33] local.INFO: Processing buffer {"connection_id":150072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:33] local.INFO: IMEI packet received {"connection_id":150072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":150072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:21:38] local.INFO: TCP Data received {"connection_id":150072,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:38] local.INFO: Processing buffer {"connection_id":150072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:38] local.INFO: IMEI packet received {"connection_id":150072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":150072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:21:41] local.INFO: TCP Data received {"connection_id":152780,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:41] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:41] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:21:42] local.INFO: TCP Data received {"connection_id":152780,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:42] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:42] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:21:43] local.INFO: TCP Data received {"connection_id":150072,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:43] local.INFO: Processing buffer {"connection_id":150072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:21:43] local.INFO: IMEI packet received {"connection_id":150072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":150072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:21:44] local.INFO: TCP Data received {"connection_id":150072,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea35168012d757b8005eb67300007005f24..."} 
[2026-08-08 05:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea35168012d757b8005eb67300007005f24..."} 
[2026-08-08 05:21:44] local.INFO: Processing buffer {"connection_id":150072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea35168012d757b8005eb67300007005f24..."} 
[2026-08-08 05:21:44] local.INFO: Packet analysis {"connection_id":150072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:21:44] local.INFO: Extracted packet for processing {"connection_id":150072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:21:44] local.INFO: GPS Element Parsed {"raw_longitude":762674048,"raw_latitude":99313456,"longitude_deg":76.2674048,"latitude_deg":9.9313456,"altitude":7,"angle":95,"satellites":36,"speed":19,"hex_longitude":"2d757b80","hex_latitude":"05eb6730","is_valid_coordinates":true} 
[2026-08-08 05:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253548032001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115782272371654656,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465008106276352000,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786146673000,"timestamp_ms":1786146673000,"timestamp_seconds":1786146673,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea35168"} 
[2026-08-08 05:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 05:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:21:44] 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-08-08 05:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253548032001,"66":11634,"186":206,"87":12288,"24":19,"16":115782272371654656,"45":8465008106276352000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 05:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253548032001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:21:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 05:21:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115782272371654656,"km_value":115782272371654.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465008106276352000,"description":"Unknown IO ID 45"} 
[2026-08-08 05:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253548032001,"power":11634,"unknown_186":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8465008106276352000}} 
[2026-08-08 05:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":150072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:21:44] local.INFO: GPS data processed {"connection_id":150072,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:21:44] local.INFO: Acknowledgment sent {"connection_id":150072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:21:45] local.INFO: TCP Data received {"connection_id":150072,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea35550012d757d8005eb67700007005125..."} 
[2026-08-08 05:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea35550012d757d8005eb67700007005125..."} 
[2026-08-08 05:21:45] local.INFO: Processing buffer {"connection_id":150072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea35550012d757d8005eb67700007005125..."} 
[2026-08-08 05:21:45] local.INFO: Packet analysis {"connection_id":150072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:21:45] local.INFO: Extracted packet for processing {"connection_id":150072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:21:45] local.INFO: GPS Element Parsed {"raw_longitude":762674560,"raw_latitude":99313520,"longitude_deg":76.267456,"latitude_deg":9.931352,"altitude":7,"angle":81,"satellites":37,"speed":20,"hex_longitude":"2d757d80","hex_latitude":"05eb6770","is_valid_coordinates":true} 
[2026-08-08 05:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253548288001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115782298141458432,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465500687485579264,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786146674000,"timestamp_ms":1786146674000,"timestamp_seconds":1786146674,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea35550"} 
[2026-08-08 05:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 05:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:21:45] 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-08-08 05:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253548288001,"66":12135,"186":206,"87":12288,"24":20,"16":115782298141458432,"45":8465500687485579264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 05:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253548288001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:21:45] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 05:21:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115782298141458432,"km_value":115782298141458.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465500687485579264,"description":"Unknown IO ID 45"} 
[2026-08-08 05:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253548288001,"power":12135,"unknown_186":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8465500687485579264}} 
[2026-08-08 05:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":150072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:21:45] local.INFO: GPS data processed {"connection_id":150072,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:21:45] local.INFO: Acknowledgment sent {"connection_id":150072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:21:47] local.INFO: TCP Data received {"connection_id":152780,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:47] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:21:47] local.INFO: IMEI packet received {"connection_id":152780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":152780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:21:48] local.INFO: TCP Data received {"connection_id":152780,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea27e78012d2086c006cf09e8000b007f2f..."} 
[2026-08-08 05:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea27e78012d2086c006cf09e8000b007f2f..."} 
[2026-08-08 05:21:48] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea27e78012d2086c006cf09e8000b007f2f..."} 
[2026-08-08 05:21:48] local.INFO: Packet analysis {"connection_id":152780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:21:48] local.INFO: Extracted packet for processing {"connection_id":152780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:21:48] local.INFO: GPS Element Parsed {"raw_longitude":757106368,"raw_latitude":114231784,"longitude_deg":75.7106368,"latitude_deg":11.4231784,"altitude":11,"angle":127,"satellites":47,"speed":26,"hex_longitude":"2d2086c0","hex_latitude":"06cf09e8","is_valid_coordinates":true} 
[2026-08-08 05:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253531648001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374723067508686848,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2335468279757328384,"note":"Value kept but may cause issues"} 
[2026-08-08 05:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786146619000,"timestamp_ms":1786146619000,"timestamp_seconds":1786146619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea27e78"} 
[2026-08-08 05:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:21: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-08-08 05:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253531648001,"66":27310,"73":206,"2":56576,"24":26,"16":374723067508686848,"45":2335468279757328384},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253531648001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:21:48] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374723067508686848,"km_value":374723067508686.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2335468279757328384,"description":"Unknown IO ID 45"} 
[2026-08-08 05:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253531648001,"power":27310,"unknown_73":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2335468279757328384}} 
[2026-08-08 05:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":152780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:21:48] local.INFO: GPS data processed {"connection_id":152780,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:21:48] local.INFO: Acknowledgment sent {"connection_id":152780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:22:17] local.INFO: TCP Data received {"connection_id":150072,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea35938012d757f8005eb68280007004426..."} 
[2026-08-08 05:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea35938012d757f8005eb68280007004426..."} 
[2026-08-08 05:22:17] local.INFO: Processing buffer {"connection_id":150072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea35938012d757f8005eb68280007004426..."} 
[2026-08-08 05:22:17] local.INFO: Packet analysis {"connection_id":150072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:17] local.INFO: Extracted packet for processing {"connection_id":150072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:17] local.INFO: GPS Element Parsed {"raw_longitude":762675072,"raw_latitude":99313704,"longitude_deg":76.2675072,"latitude_deg":9.9313704,"altitude":7,"angle":68,"satellites":38,"speed":21,"hex_longitude":"2d757f80","hex_latitude":"05eb6828","is_valid_coordinates":true} 
[2026-08-08 05:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253548544001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115782328206229504,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466063637439016960,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786146675000,"timestamp_ms":1786146675000,"timestamp_seconds":1786146675,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea35938"} 
[2026-08-08 05:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:22:17] 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-08-08 05:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253548544001,"66":12135,"186":206,"87":12288,"24":21,"16":115782328206229504,"45":8466063637439016960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 05:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253548544001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:22:17] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 05:22:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115782328206229504,"km_value":115782328206229.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466063637439016960,"description":"Unknown IO ID 45"} 
[2026-08-08 05:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253548544001,"power":12135,"unknown_186":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8466063637439016960}} 
[2026-08-08 05:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":150072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:22:17] local.INFO: GPS data processed {"connection_id":150072,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:22:17] local.INFO: Acknowledgment sent {"connection_id":150072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:22:19] local.INFO: TCP Data received {"connection_id":152780,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea2bcf8012d209b4006cefb50000900732e..."} 
[2026-08-08 05:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea2bcf8012d209b4006cefb50000900732e..."} 
[2026-08-08 05:22:19] local.INFO: Processing buffer {"connection_id":152780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea2bcf8012d209b4006cefb50000900732e..."} 
[2026-08-08 05:22:19] local.INFO: Packet analysis {"connection_id":152780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:22:19] local.INFO: Extracted packet for processing {"connection_id":152780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea2"} 
[2026-08-08 05:22:19] local.INFO: GPS Element Parsed {"raw_longitude":757111616,"raw_latitude":114228048,"longitude_deg":75.7111616,"latitude_deg":11.4228048,"altitude":9,"angle":115,"satellites":46,"speed":8,"hex_longitude":"2d209b40","hex_latitude":"06cefb50","is_valid_coordinates":true} 
[2026-08-08 05:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253534464001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374723372451364864,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2343771791568791552,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786146635000,"timestamp_ms":1786146635000,"timestamp_seconds":1786146635,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea2bcf8"} 
[2026-08-08 05:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 05:22: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-08-08 05:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253534464001,"66":27365,"73":206,"2":56576,"24":8,"16":374723372451364864,"45":2343771791568791552},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253534464001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:22:19] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374723372451364864,"km_value":374723372451364.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2343771791568791552,"description":"Unknown IO ID 45"} 
[2026-08-08 05:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253534464001,"power":27365,"unknown_73":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":2343771791568791552}} 
[2026-08-08 05:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":152780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:22:19] local.INFO: GPS data processed {"connection_id":152780,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:22:19] local.INFO: Acknowledgment sent {"connection_id":152780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:22:33] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:33] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:33] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:22:33] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:33] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:33] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:22:36] local.INFO: TCP Data received {"connection_id":152781,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:36] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:36] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:22:38] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:38] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:22:38] local.INFO: IMEI packet received {"connection_id":151309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":151309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:22:38] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea36cc0012d758a0005eb6e480006003926..."} 
[2026-08-08 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea36cc0012d758a0005eb6e480006003926..."} 
[2026-08-08 05:22:38] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea36cc0012d758a0005eb6e480006003926..."} 
[2026-08-08 05:22:38] local.INFO: Packet analysis {"connection_id":151309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:38] local.INFO: Extracted packet for processing {"connection_id":151309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:38] local.INFO: GPS Element Parsed {"raw_longitude":762677760,"raw_latitude":99315272,"longitude_deg":76.267776,"latitude_deg":9.9315272,"altitude":6,"angle":57,"satellites":38,"speed":22,"hex_longitude":"2d758a00","hex_latitude":"05eb6e48","is_valid_coordinates":true} 
[2026-08-08 05:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253548800001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115782474235117568,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466626587392485376,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786146680000,"timestamp_ms":1786146680000,"timestamp_seconds":1786146680,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea36cc0"} 
[2026-08-08 05:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:22: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-08-08 05:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:22:38] 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-08-08 05:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253548800001,"66":11471,"186":206,"87":12288,"24":22,"16":115782474235117568,"45":8466626587392485376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 05:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253548800001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:22:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 05:22:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115782474235117568,"km_value":115782474235117.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466626587392485376,"description":"Unknown IO ID 45"} 
[2026-08-08 05:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253548800001,"power":11471,"unknown_186":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8466626587392485376}} 
[2026-08-08 05:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":151309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:22:38] local.INFO: GPS data processed {"connection_id":151309,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:22:38] local.INFO: Acknowledgment sent {"connection_id":151309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:22:39] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea39ba0012d75a3c005eb7e580006002c24..."} 
[2026-08-08 05:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea39ba0012d75a3c005eb7e580006002c24..."} 
[2026-08-08 05:22:39] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea39ba0012d75a3c005eb7e580006002c24..."} 
[2026-08-08 05:22:39] local.INFO: Packet analysis {"connection_id":151309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:39] local.INFO: Extracted packet for processing {"connection_id":151309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:39] local.INFO: GPS Element Parsed {"raw_longitude":762684352,"raw_latitude":99319384,"longitude_deg":76.2684352,"latitude_deg":9.9319384,"altitude":6,"angle":44,"satellites":36,"speed":23,"hex_longitude":"2d75a3c0","hex_latitude":"05eb7e58","is_valid_coordinates":true} 
[2026-08-08 05:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253550080001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115782847897272320,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469582074648348672,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786146692000,"timestamp_ms":1786146692000,"timestamp_seconds":1786146692,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea39ba0"} 
[2026-08-08 05:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05: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-08-08 05: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:22: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-08-08 05:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:22:39] 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-08-08 05:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253550080001,"66":11917,"186":206,"87":12288,"24":23,"16":115782847897272320,"45":8469582074648348672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 05:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253550080001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:22:39] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 05:22:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115782847897272320,"km_value":115782847897272.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469582074648348672,"description":"Unknown IO ID 45"} 
[2026-08-08 05:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253550080001,"power":11917,"unknown_186":206,"unknown_87":12288,"ignition":23,"odometer":null,"unknown_45":8469582074648348672}} 
[2026-08-08 05:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":151309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:22:39] local.INFO: GPS data processed {"connection_id":151309,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:22:39] local.INFO: Acknowledgment sent {"connection_id":151309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:22:40] local.INFO: TCP Data received {"connection_id":152781,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:40] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:40] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:22:41] local.INFO: TCP Data received {"connection_id":152781,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:41] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:22:41] local.INFO: IMEI packet received {"connection_id":152781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":152781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:22:42] local.INFO: TCP Data received {"connection_id":152781,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea3bec8012d20c9c006cebba8000c00ad2f..."} 
[2026-08-08 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea3bec8012d20c9c006cebba8000c00ad2f..."} 
[2026-08-08 05:22:42] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea3bec8012d20c9c006cebba8000c00ad2f..."} 
[2026-08-08 05:22:42] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:42] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:42] local.INFO: GPS Element Parsed {"raw_longitude":757123520,"raw_latitude":114211752,"longitude_deg":75.712352,"latitude_deg":11.4211752,"altitude":12,"angle":173,"satellites":47,"speed":24,"hex_longitude":"2d20c9c0","hex_latitude":"06cebba8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253554176001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374724463373058048,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362067665050580992,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786146701000,"timestamp_ms":1786146701000,"timestamp_seconds":1786146701,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea3bec8"} 
[2026-08-08 05:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05: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-08-08 05: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-08-08 05:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253554176001,"66":27234,"73":206,"2":56576,"24":24,"16":374724463373058048,"45":2362067665050580992},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253554176001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:22:42] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374724463373058048,"km_value":374724463373058.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362067665050580992,"description":"Unknown IO ID 45"} 
[2026-08-08 05:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253554176001,"power":27234,"unknown_73":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":2362067665050580992}} 
[2026-08-08 05:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:22:42] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:22:42] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:22:47] local.INFO: TCP Data received {"connection_id":152781,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea3e9c0012d20ce8006ce9680000b00a82f..."} 
[2026-08-08 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea3e9c0012d20ce8006ce9680000b00a82f..."} 
[2026-08-08 05:22:47] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea3e9c0012d20ce8006ce9680000b00a82f..."} 
[2026-08-08 05:22:47] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:47] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea3"} 
[2026-08-08 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":757124736,"raw_latitude":114202240,"longitude_deg":75.7124736,"latitude_deg":11.420224,"altitude":11,"angle":168,"satellites":47,"speed":42,"hex_longitude":"2d20ce80","hex_latitude":"06ce9680","is_valid_coordinates":true} 
[2026-08-08 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253555456001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374724927229526016,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362630615003277312,"note":"Value kept but may cause issues"} 
[2026-08-08 05:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786146712000,"timestamp_ms":1786146712000,"timestamp_seconds":1786146712,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea3e9c0"} 
[2026-08-08 05:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253555456001,"66":27484,"73":206,"2":56576,"24":42,"16":374724927229526016,"45":2362630615003277312},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253555456001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:22:47] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374724927229526016,"km_value":374724927229526.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362630615003277312,"description":"Unknown IO ID 45"} 
[2026-08-08 05:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253555456001,"power":27484,"unknown_73":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":2362630615003277312}} 
[2026-08-08 05:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:22:47] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:22:47] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:23:14] local.INFO: TCP Data received {"connection_id":151309,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea4dfd8012d76528005ec5510000400572c..."} 
[2026-08-08 05:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea4dfd8012d76528005ec5510000400572c..."} 
[2026-08-08 05:23:14] local.INFO: Processing buffer {"connection_id":151309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea4dfd8012d76528005ec5510000400572c..."} 
[2026-08-08 05:23:14] local.INFO: Packet analysis {"connection_id":151309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:14] local.INFO: Extracted packet for processing {"connection_id":151309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:14] local.INFO: GPS Element Parsed {"raw_longitude":762729088,"raw_latitude":99374352,"longitude_deg":76.2729088,"latitude_deg":9.9374352,"altitude":4,"angle":87,"satellites":44,"speed":21,"hex_longitude":"2d765280","hex_latitude":"05ec5510","is_valid_coordinates":true} 
[2026-08-08 05:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253573888001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115786292461043712,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8524962276331243520,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786146775000,"timestamp_ms":1786146775000,"timestamp_seconds":1786146775,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea4dfd8"} 
[2026-08-08 05:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 05:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:14] 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-08-08 05:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253573888001,"66":11656,"191":206,"87":12288,"24":21,"16":115786292461043712,"45":8524962276331243520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 05:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253573888001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:23:14] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:23:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115786292461043712,"km_value":115786292461043.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8524962276331243520,"description":"Unknown IO ID 45"} 
[2026-08-08 05:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253573888001,"power":11656,"unknown_191":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8524962276331243520}} 
[2026-08-08 05:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":151309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:23:14] local.INFO: GPS data processed {"connection_id":151309,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:23:14] local.INFO: Acknowledgment sent {"connection_id":151309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:23:19] local.INFO: TCP Data received {"connection_id":152781,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea40ce8012d20d34006ce73e0000a00b32f..."} 
[2026-08-08 05:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea40ce8012d20d34006ce73e0000a00b32f..."} 
[2026-08-08 05:23:19] local.INFO: Processing buffer {"connection_id":152781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea40ce8012d20d34006ce73e0000a00b32f..."} 
[2026-08-08 05:23:19] local.INFO: Packet analysis {"connection_id":152781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:19] local.INFO: Extracted packet for processing {"connection_id":152781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:19] local.INFO: GPS Element Parsed {"raw_longitude":757125952,"raw_latitude":114193376,"longitude_deg":75.7125952,"latitude_deg":11.4193376,"altitude":10,"angle":179,"satellites":47,"speed":26,"hex_longitude":"2d20d340","hex_latitude":"06ce73e0","is_valid_coordinates":true} 
[2026-08-08 05:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253558272001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374725365316190208,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363967621140217856,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786146721000,"timestamp_ms":1786146721000,"timestamp_seconds":1786146721,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea40ce8"} 
[2026-08-08 05:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:23: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-08-08 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253558272001,"66":27321,"73":206,"2":56576,"24":26,"16":374725365316190208,"45":2363967621140217856},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253558272001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:23:19] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374725365316190208,"km_value":374725365316190.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363967621140217856,"description":"Unknown IO ID 45"} 
[2026-08-08 05:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253558272001,"power":27321,"unknown_73":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2363967621140217856}} 
[2026-08-08 05:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":152781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:23:19] local.INFO: GPS data processed {"connection_id":152781,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:23:19] local.INFO: Acknowledgment sent {"connection_id":152781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:23:33] local.INFO: TCP Data received {"connection_id":150073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:23:33] local.INFO: Processing buffer {"connection_id":150073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:23:33] local.INFO: IMEI packet received {"connection_id":150073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":150073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:23:36] local.INFO: TCP Data received {"connection_id":150074,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:23:36] local.INFO: Processing buffer {"connection_id":150074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:23:36] local.INFO: IMEI packet received {"connection_id":150074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:23:42] local.INFO: TCP Data received {"connection_id":150074,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:23:42] local.INFO: Processing buffer {"connection_id":150074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:23:42] local.INFO: IMEI packet received {"connection_id":150074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":150074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:23:43] local.INFO: TCP Data received {"connection_id":150073,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150073,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:23:43] local.INFO: Processing buffer {"connection_id":150073,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:23:43] local.INFO: IMEI packet received {"connection_id":150073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":150073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:23:43] local.INFO: TCP Data received {"connection_id":150074,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea45720012d20d50006ce5450000900a52e..."} 
[2026-08-08 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea45720012d20d50006ce5450000900a52e..."} 
[2026-08-08 05:23:43] local.INFO: Processing buffer {"connection_id":150074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea45720012d20d50006ce5450000900a52e..."} 
[2026-08-08 05:23:43] local.INFO: Packet analysis {"connection_id":150074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:43] local.INFO: Extracted packet for processing {"connection_id":150074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:43] local.INFO: GPS Element Parsed {"raw_longitude":757126400,"raw_latitude":114185296,"longitude_deg":75.71264,"latitude_deg":11.4185296,"altitude":9,"angle":165,"satellites":46,"speed":21,"hex_longitude":"2d20d500","hex_latitude":"06ce5450","is_valid_coordinates":true} 
[2026-08-08 05:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253560576001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374725756158214144,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365304627277324288,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146740000,"timestamp_ms":1786146740000,"timestamp_seconds":1786146740,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea45720"} 
[2026-08-08 05:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253560576001,"66":27071,"73":206,"2":56576,"24":21,"16":374725756158214144,"45":2365304627277324288},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253560576001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:23:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374725756158214144,"km_value":374725756158214.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365304627277324288,"description":"Unknown IO ID 45"} 
[2026-08-08 05:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253560576001,"power":27071,"unknown_73":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":2365304627277324288}} 
[2026-08-08 05:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":150074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:23:43] local.INFO: GPS data processed {"connection_id":150074,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:23:43] local.INFO: Acknowledgment sent {"connection_id":150074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:23:44] local.INFO: TCP Data received {"connection_id":150073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea4e7a8012d76570005ec5490000400632b..."} 
[2026-08-08 05:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea4e7a8012d76570005ec5490000400632b..."} 
[2026-08-08 05:23:44] local.INFO: Processing buffer {"connection_id":150073,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fde..."} 
[2026-08-08 05:23:44] local.INFO: IMEI packet received {"connection_id":150073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":150073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:23:45] local.INFO: TCP Data received {"connection_id":150073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea50ad0012d7674c005ec4aa00003006f2b..."} 
[2026-08-08 05:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea50ad0012d7674c005ec4aa00003006f2b..."} 
[2026-08-08 05:23:45] local.INFO: Processing buffer {"connection_id":150073,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fdea4e7a8012d76570005ec5490000400632b..."} 
[2026-08-08 05:23:45] local.INFO: Packet analysis {"connection_id":150073,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:45] local.INFO: Extracted packet for processing {"connection_id":150073,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:23:45] local.INFO: GPS Element Parsed {"raw_longitude":762730240,"raw_latitude":99374224,"longitude_deg":76.273024,"latitude_deg":9.9374224,"altitude":4,"angle":99,"satellites":43,"speed":25,"hex_longitude":"2d765700","hex_latitude":"05ec5490","is_valid_coordinates":true} 
[2026-08-08 05:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253574400001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115786344000651264,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8526017807493959680,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786146777000,"timestamp_ms":1786146777000,"timestamp_seconds":1786146777,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea4e7a8"} 
[2026-08-08 05:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05: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-08-08 05: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-08 05:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:45] 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-08-08 05:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253574400001,"66":12058,"191":206,"87":12288,"24":25,"16":115786344000651264,"45":8526017807493959680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 05:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253574400001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115786344000651264,"km_value":115786344000651.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8526017807493959680,"description":"Unknown IO ID 45"} 
[2026-08-08 05:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253574400001,"power":12058,"unknown_191":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8526017807493959680}} 
[2026-08-08 05:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":150073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:23:45] local.INFO: GPS data processed {"connection_id":150073,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:23:45] local.INFO: Acknowledgment sent {"connection_id":150073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:23:45] local.INFO: Packet analysis {"connection_id":150073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea5"} 
[2026-08-08 05:23:45] local.INFO: Extracted packet for processing {"connection_id":150073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea5"} 
[2026-08-08 05:23:45] local.INFO: GPS Element Parsed {"raw_longitude":762737856,"raw_latitude":99371680,"longitude_deg":76.2737856,"latitude_deg":9.937168,"altitude":3,"angle":111,"satellites":43,"speed":37,"hex_longitude":"2d7674c0","hex_latitude":"05ec4aa0","is_valid_coordinates":true} 
[2026-08-08 05:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253574912001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115786730547707904,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8527284444889124864,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786146786000,"timestamp_ms":1786146786000,"timestamp_seconds":1786146786,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea50ad0"} 
[2026-08-08 05:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 05:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:45] 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-08-08 05:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253574912001,"66":11743,"191":206,"87":12288,"24":37,"16":115786730547707904,"45":8527284444889124864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 05:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253574912001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115786730547707904,"km_value":115786730547707.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8527284444889124864,"description":"Unknown IO ID 45"} 
[2026-08-08 05:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253574912001,"power":11743,"unknown_191":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8527284444889124864}} 
[2026-08-08 05:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":150073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:23:45] local.INFO: GPS data processed {"connection_id":150073,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:23:45] local.INFO: Acknowledgment sent {"connection_id":150073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:23:48] local.INFO: TCP Data received {"connection_id":150073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea535c8012d76964005ec3c900002006f2b..."} 
[2026-08-08 05:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea535c8012d76964005ec3c900002006f2b..."} 
[2026-08-08 05:23:48] local.INFO: Processing buffer {"connection_id":150073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea535c8012d76964005ec3c900002006f2b..."} 
[2026-08-08 05:23:48] local.INFO: Packet analysis {"connection_id":150073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea5"} 
[2026-08-08 05:23:48] local.INFO: Extracted packet for processing {"connection_id":150073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea5"} 
[2026-08-08 05:23:48] local.INFO: GPS Element Parsed {"raw_longitude":762746432,"raw_latitude":99368080,"longitude_deg":76.2746432,"latitude_deg":9.936808,"altitude":2,"angle":111,"satellites":43,"speed":32,"hex_longitude":"2d769640","hex_latitude":"05ec3c90","is_valid_coordinates":true} 
[2026-08-08 05:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253577216001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115787172929339392,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8535658325445615616,"note":"Value kept but may cause issues"} 
[2026-08-08 05:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786146797000,"timestamp_ms":1786146797000,"timestamp_seconds":1786146797,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea535c8"} 
[2026-08-08 05:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:23: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-08-08 05:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 05:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:23:48] 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-08-08 05:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253577216001,"66":11917,"191":206,"87":12288,"24":32,"16":115787172929339392,"45":8535658325445615616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 05:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253577216001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:23:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:23:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115787172929339392,"km_value":115787172929339.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8535658325445615616,"description":"Unknown IO ID 45"} 
[2026-08-08 05:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253577216001,"power":11917,"unknown_191":206,"unknown_87":12288,"ignition":32,"odometer":null,"unknown_45":8535658325445615616}} 
[2026-08-08 05:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":150073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:23:48] local.INFO: GPS data processed {"connection_id":150073,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:23:48] local.INFO: Acknowledgment sent {"connection_id":150073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:24:16] local.INFO: TCP Data received {"connection_id":150074,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea49d70012d20dcc006ce3b80000a009a2f..."} 
[2026-08-08 05:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea49d70012d20dcc006ce3b80000a009a2f..."} 
[2026-08-08 05:24:16] local.INFO: Processing buffer {"connection_id":150074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea49d70012d20dcc006ce3b80000a009a2f..."} 
[2026-08-08 05:24:16] local.INFO: Packet analysis {"connection_id":150074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:24:16] local.INFO: Extracted packet for processing {"connection_id":150074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:24:16] local.INFO: GPS Element Parsed {"raw_longitude":757128384,"raw_latitude":114178944,"longitude_deg":75.7128384,"latitude_deg":11.4178944,"altitude":10,"angle":154,"satellites":47,"speed":16,"hex_longitude":"2d20dcc0","hex_latitude":"06ce3b80","is_valid_coordinates":true} 
[2026-08-08 05:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253565440001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374726082575728640,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365797208484499456,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786146758000,"timestamp_ms":1786146758000,"timestamp_seconds":1786146758,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea49d70"} 
[2026-08-08 05:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 05:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253565440001,"66":27213,"73":206,"2":56576,"24":16,"16":374726082575728640,"45":2365797208484499456},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-08-08 05:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253565440001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:24:16] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 05:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374726082575728640,"km_value":374726082575728.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365797208484499456,"description":"Unknown IO ID 45"} 
[2026-08-08 05:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253565440001,"power":27213,"unknown_73":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":2365797208484499456}} 
[2026-08-08 05:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":150074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:24:16] local.INFO: GPS data processed {"connection_id":150074,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:24:16] local.INFO: Acknowledgment sent {"connection_id":150074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:24:33] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:24:33] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:24:33] local.INFO: IMEI packet received {"connection_id":151310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":151310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:24:38] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:24:38] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:24:38] local.INFO: IMEI packet received {"connection_id":151310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":151310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:24:39] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea5e1a8012d770a8005ec32d00001004d2d..."} 
[2026-08-08 05:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea5e1a8012d770a8005ec32d00001004d2d..."} 
[2026-08-08 05:24:39] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea5e1a8012d770a8005ec32d00001004d2d..."} 
[2026-08-08 05:24:39] local.INFO: Packet analysis {"connection_id":151310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea5"} 
[2026-08-08 05:24:39] local.INFO: Extracted packet for processing {"connection_id":151310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea5"} 
[2026-08-08 05:24:39] local.INFO: GPS Element Parsed {"raw_longitude":762776192,"raw_latitude":99365584,"longitude_deg":76.2776192,"latitude_deg":9.9365584,"altitude":1,"angle":77,"satellites":45,"speed":37,"hex_longitude":"2d770a80","hex_latitude":"05ec32d0","is_valid_coordinates":true} 
[2026-08-08 05:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253590016001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115788658988023808,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8572320441160458240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786146841000,"timestamp_ms":1786146841000,"timestamp_seconds":1786146841,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea5e1a8"} 
[2026-08-08 05:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:24: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-08-08 05:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-08 05:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:24:39] 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-08-08 05:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253590016001,"66":12135,"190":206,"87":12288,"24":37,"16":115788658988023808,"45":8572320441160458240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,87,24,16,45]} 
[2026-08-08 05:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253590016001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:24:39] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-08 05:24:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 05:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115788658988023808,"km_value":115788658988023.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8572320441160458240,"description":"Unknown IO ID 45"} 
[2026-08-08 05:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253590016001,"power":12135,"unknown_190":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8572320441160458240}} 
[2026-08-08 05:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":151310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:24:39] local.INFO: GPS data processed {"connection_id":151310,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:24:39] local.INFO: Acknowledgment sent {"connection_id":151310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:24:42] local.INFO: TCP Data received {"connection_id":150332,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:42] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:42] local.INFO: IMEI packet received {"connection_id":150332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":150332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:24:42] local.INFO: TCP Data received {"connection_id":150332,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:42] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:42] local.INFO: IMEI packet received {"connection_id":150332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":150332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:24:47] local.INFO: TCP Data received {"connection_id":150332,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:47] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:24:47] local.INFO: IMEI packet received {"connection_id":150332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":150332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:24:50] local.INFO: TCP Data received {"connection_id":150332,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea4d420012d20ee4006ce1bf8000c00972d..."} 
[2026-08-08 05:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea4d420012d20ee4006ce1bf8000c00972d..."} 
[2026-08-08 05:24:50] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea4d420012d20ee4006ce1bf8000c00972d..."} 
[2026-08-08 05:24:50] local.INFO: Packet analysis {"connection_id":150332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:24:50] local.INFO: Extracted packet for processing {"connection_id":150332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:24:50] local.INFO: GPS Element Parsed {"raw_longitude":757132864,"raw_latitude":114170872,"longitude_deg":75.7132864,"latitude_deg":11.4170872,"altitude":12,"angle":151,"satellites":45,"speed":34,"hex_longitude":"2d20ee40","hex_latitude":"06ce1bf8","is_valid_coordinates":true} 
[2026-08-08 05:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253570048001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374726524957360128,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2367978639552380928,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786146772000,"timestamp_ms":1786146772000,"timestamp_seconds":1786146772,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea4d420"} 
[2026-08-08 05:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:24: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-08-08 05:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 05:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253570048001,"66":27376,"120":206,"2":56576,"24":34,"16":374726524957360128,"45":2367978639552380928},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 05:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253570048001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:24:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 05:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374726524957360128,"km_value":374726524957360.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2367978639552380928,"description":"Unknown IO ID 45"} 
[2026-08-08 05:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253570048001,"power":27376,"unknown_120":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2367978639552380928}} 
[2026-08-08 05:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":150332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:24:50] local.INFO: GPS data processed {"connection_id":150332,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:24:50] local.INFO: Acknowledgment sent {"connection_id":150332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:24:59] local.INFO: TCP Data received {"connection_id":150332,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea4ff18012d21014006cdfb78000c00962e..."} 
[2026-08-08 05:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea4ff18012d21014006cdfb78000c00962e..."} 
[2026-08-08 05:24:59] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea4ff18012d21014006cdfb78000c00962e..."} 
[2026-08-08 05:24:59] local.INFO: Packet analysis {"connection_id":150332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:24:59] local.INFO: Extracted packet for processing {"connection_id":150332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea4"} 
[2026-08-08 05:24:59] local.INFO: GPS Element Parsed {"raw_longitude":757137728,"raw_latitude":114162552,"longitude_deg":75.7137728,"latitude_deg":11.4162552,"altitude":12,"angle":150,"satellites":46,"speed":33,"hex_longitude":"2d210140","hex_latitude":"06cdfb78","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253573632001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374726993108795392,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2372904451642750976,"note":"Value kept but may cause issues"} 
[2026-08-08 05:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786146783000,"timestamp_ms":1786146783000,"timestamp_seconds":1786146783,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea4ff18"} 
[2026-08-08 05:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":150332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":150332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":150332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253573632001,"66":27365,"120":206,"2":56576,"24":33,"16":374726993108795392,"45":2372904451642750976},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 05:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253573632001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:24:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 05:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374726993108795392,"km_value":374726993108795.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2372904451642750976,"description":"Unknown IO ID 45"} 
[2026-08-08 05:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253573632001,"power":27365,"unknown_120":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2372904451642750976}} 
[2026-08-08 05:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":150332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:24:59] local.INFO: GPS data processed {"connection_id":150332,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:24:59] local.INFO: Acknowledgment sent {"connection_id":150332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:25:09] local.INFO: TCP Data received {"connection_id":151310,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea604d0012d772a0005ec3ca80002003d2d..."} 
[2026-08-08 05:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea604d0012d772a0005ec3ca80002003d2d..."} 
[2026-08-08 05:25:09] local.INFO: Processing buffer {"connection_id":151310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea604d0012d772a0005ec3ca80002003d2d..."} 
[2026-08-08 05:25:09] local.INFO: Packet analysis {"connection_id":151310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:25:09] local.INFO: Extracted packet for processing {"connection_id":151310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:25:09] local.INFO: GPS Element Parsed {"raw_longitude":762784256,"raw_latitude":99368104,"longitude_deg":76.2784256,"latitude_deg":9.9368104,"altitude":2,"angle":61,"satellites":45,"speed":31,"hex_longitude":"2d772a00","hex_latitude":"05ec3ca8","is_valid_coordinates":true} 
[2026-08-08 05:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253591296001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115789067009916928,"note":"Value kept but may cause issues"} 
[2026-08-08 05:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8577809203206475776,"note":"Value kept but may cause issues"} 
[2026-08-08 05:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786146850000,"timestamp_ms":1786146850000,"timestamp_seconds":1786146850,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea604d0"} 
[2026-08-08 05:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:25: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-08-08 05: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:25:09] 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-08-08 05:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253591296001,"66":12113,"102":206,"87":13824,"24":31,"16":115789067009916928,"45":8577809203206475776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-08 05:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253591296001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:25:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 05:25:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115789067009916928,"km_value":115789067009916.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8577809203206475776,"description":"Unknown IO ID 45"} 
[2026-08-08 05:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253591296001,"power":12113,"unknown_102":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8577809203206475776}} 
[2026-08-08 05:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":151310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:25:09] local.INFO: GPS data processed {"connection_id":151310,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:25:09] local.INFO: Acknowledgment sent {"connection_id":151310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:25:35] local.INFO: TCP Data received {"connection_id":150075,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:35] local.INFO: Processing buffer {"connection_id":150075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:35] local.INFO: IMEI packet received {"connection_id":150075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":150075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:25:36] local.INFO: TCP Data received {"connection_id":150075,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:36] local.INFO: Processing buffer {"connection_id":150075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:36] local.INFO: IMEI packet received {"connection_id":150075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":150075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:25:41] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:41] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:41] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:25:42] local.INFO: TCP Data received {"connection_id":150075,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:42] local.INFO: Processing buffer {"connection_id":150075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:25:42] local.INFO: IMEI packet received {"connection_id":150075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":150075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:25:42] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:42] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:42] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:25:43] local.INFO: TCP Data received {"connection_id":150075,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea64350012d21bc8006ccf258000a00a330..."} 
[2026-08-08 05:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea64350012d21bc8006ccf258000a00a330..."} 
[2026-08-08 05:25:43] local.INFO: Processing buffer {"connection_id":150075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea64350012d21bc8006ccf258000a00a330..."} 
[2026-08-08 05:25:43] local.INFO: Packet analysis {"connection_id":150075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:25:43] local.INFO: Extracted packet for processing {"connection_id":150075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:25:43] local.INFO: GPS Element Parsed {"raw_longitude":757185664,"raw_latitude":114094680,"longitude_deg":75.7185664,"latitude_deg":11.409468,"altitude":10,"angle":163,"satellites":48,"speed":51,"hex_longitude":"2d21bc80","hex_latitude":"06ccf258","is_valid_coordinates":true} 
[2026-08-08 05:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253595648001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374731038967988224,"note":"Value kept but may cause issues"} 
[2026-08-08 05:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2427088384642234368,"note":"Value kept but may cause issues"} 
[2026-08-08 05:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146866000,"timestamp_ms":1786146866000,"timestamp_seconds":1786146866,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea64350"} 
[2026-08-08 05:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253595648001,"66":27376,"240":206,"2":56576,"24":51,"16":374731038967988224,"45":2427088384642234368},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-08-08 05:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253595648001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:25:43] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-08 05:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374731038967988224,"km_value":374731038967988.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2427088384642234368,"description":"Unknown IO ID 45"} 
[2026-08-08 05:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253595648001,"power":27376,"unknown_240":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2427088384642234368}} 
[2026-08-08 05:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":150075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:25:43] local.INFO: GPS data processed {"connection_id":150075,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:25:43] local.INFO: Acknowledgment sent {"connection_id":150075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:25:58] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:58] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:25:58] local.INFO: IMEI packet received {"connection_id":152782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":152782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:26:00] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea627f8012d7742c005ec4da8000200312a..."} 
[2026-08-08 05:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea627f8012d7742c005ec4da8000200312a..."} 
[2026-08-08 05:26:00] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea627f8012d7742c005ec4da8000200312a..."} 
[2026-08-08 05:26:00] local.INFO: Packet analysis {"connection_id":152782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:00] local.INFO: Extracted packet for processing {"connection_id":152782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:00] local.INFO: GPS Element Parsed {"raw_longitude":762790592,"raw_latitude":99372456,"longitude_deg":76.2790592,"latitude_deg":9.9372456,"altitude":2,"angle":49,"satellites":42,"speed":33,"hex_longitude":"2d7742c0","hex_latitude":"05ec4da8","is_valid_coordinates":true} 
[2026-08-08 05:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253593600001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115789436377104384,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8586675664973506560,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786146859000,"timestamp_ms":1786146859000,"timestamp_seconds":1786146859,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea627f8"} 
[2026-08-08 05:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 05:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26: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-08-08 05:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253593600001,"66":11950,"102":206,"87":13824,"24":33,"16":115789436377104384,"45":8586675664973506560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-08 05:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253593600001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115789436377104384,"km_value":115789436377104.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8586675664973506560,"description":"Unknown IO ID 45"} 
[2026-08-08 05:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253593600001,"power":11950,"unknown_102":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8586675664973506560}} 
[2026-08-08 05:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":152782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:26:00] local.INFO: GPS data processed {"connection_id":152782,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:26:00] local.INFO: Acknowledgment sent {"connection_id":152782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:26:00] local.INFO: TCP Data received {"connection_id":152782,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea64350012d77534005ec5dc8000300252c..."} 
[2026-08-08 05:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea64350012d77534005ec5dc8000300252c..."} 
[2026-08-08 05:26:01] local.INFO: Processing buffer {"connection_id":152782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea64350012d77534005ec5dc8000300252c..."} 
[2026-08-08 05:26:01] local.INFO: Packet analysis {"connection_id":152782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:01] local.INFO: Extracted packet for processing {"connection_id":152782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:01] local.INFO: GPS Element Parsed {"raw_longitude":762794816,"raw_latitude":99376584,"longitude_deg":76.2794816,"latitude_deg":9.9376584,"altitude":3,"angle":37,"satellites":44,"speed":33,"hex_longitude":"2d775340","hex_latitude":"05ec5dc8","is_valid_coordinates":true} 
[2026-08-08 05:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253595904001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115789719844945920,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8593642170648209408,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786146866000,"timestamp_ms":1786146866000,"timestamp_seconds":1786146866,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea64350"} 
[2026-08-08 05:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 05:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:01] 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-08-08 05:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253595904001,"66":11895,"102":206,"87":13824,"24":33,"16":115789719844945920,"45":8593642170648209408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-08 05:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253595904001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:26:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 05:26:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115789719844945920,"km_value":115789719844945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8593642170648209408,"description":"Unknown IO ID 45"} 
[2026-08-08 05:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253595904001,"power":11895,"unknown_102":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8593642170648209408}} 
[2026-08-08 05:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":152782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:26:01] local.INFO: GPS data processed {"connection_id":152782,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:26:01] local.INFO: Acknowledgment sent {"connection_id":152782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:26:15] local.INFO: TCP Data received {"connection_id":150075,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea65ea8012d21c44006cccc00000600ab30..."} 
[2026-08-08 05:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea65ea8012d21c44006cccc00000600ab30..."} 
[2026-08-08 05:26:15] local.INFO: Processing buffer {"connection_id":150075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea65ea8012d21c44006cccc00000600ab30..."} 
[2026-08-08 05:26:15] local.INFO: Packet analysis {"connection_id":150075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:15] local.INFO: Extracted packet for processing {"connection_id":150075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:15] local.INFO: GPS Element Parsed {"raw_longitude":757187648,"raw_latitude":114084864,"longitude_deg":75.7187648,"latitude_deg":11.4084864,"altitude":6,"angle":171,"satellites":48,"speed":61,"hex_longitude":"2d21c440","hex_latitude":"06cccc00","is_valid_coordinates":true} 
[2026-08-08 05:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253597696001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374731524299292672,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2430958665569818624,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786146873000,"timestamp_ms":1786146873000,"timestamp_seconds":1786146873,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea65ea8"} 
[2026-08-08 05:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:26: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-08-08 05:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253597696001,"66":27397,"120":206,"2":56576,"24":61,"16":374731524299292672,"45":2430958665569818624},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 05:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253597696001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:26:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 05:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374731524299292672,"km_value":374731524299292.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2430958665569818624,"description":"Unknown IO ID 45"} 
[2026-08-08 05:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253597696001,"power":27397,"unknown_120":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":2430958665569818624}} 
[2026-08-08 05:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":150075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:26:15] local.INFO: GPS data processed {"connection_id":150075,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:26:15] local.INFO: Acknowledgment sent {"connection_id":150075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:26:32] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:32] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:32] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:26:34] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:34] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:34] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:26:36] local.INFO: TCP Data received {"connection_id":150076,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:36] local.INFO: Processing buffer {"connection_id":150076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:36] local.INFO: IMEI packet received {"connection_id":150076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:26:38] local.INFO: TCP Data received {"connection_id":150076,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:38] local.INFO: Processing buffer {"connection_id":150076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:38] local.INFO: IMEI packet received {"connection_id":150076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":150076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:26:39] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:39] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:26:39] local.INFO: IMEI packet received {"connection_id":152783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":152783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:26:40] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea67230012d7765c005ec7ca80003001c2a..."} 
[2026-08-08 05:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea67230012d7765c005ec7ca80003001c2a..."} 
[2026-08-08 05:26:40] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea67230012d7765c005ec7ca80003001c2a..."} 
[2026-08-08 05:26:40] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:40] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:40] local.INFO: GPS Element Parsed {"raw_longitude":762799552,"raw_latitude":99384488,"longitude_deg":76.2799552,"latitude_deg":9.9384488,"altitude":3,"angle":28,"satellites":42,"speed":32,"hex_longitude":"2d7765c0","hex_latitude":"05ec7ca8","is_valid_coordinates":true} 
[2026-08-08 05:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253597696001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115790162226577408,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8598286507764992000,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786146878000,"timestamp_ms":1786146878000,"timestamp_seconds":1786146878,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea67230"} 
[2026-08-08 05:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 05:26: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-08-08 05:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:40] 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-08-08 05:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253597696001,"66":11950,"102":206,"87":13824,"24":32,"16":115790162226577408,"45":8598286507764992000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-08 05:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253597696001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:26:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 05:26:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115790162226577408,"km_value":115790162226577.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8598286507764992000,"description":"Unknown IO ID 45"} 
[2026-08-08 05:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253597696001,"power":11950,"unknown_102":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8598286507764992000}} 
[2026-08-08 05:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:26:40] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:26:40] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:26:42] local.INFO: TCP Data received {"connection_id":150076,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:42] local.INFO: Processing buffer {"connection_id":150076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:26:42] local.INFO: IMEI packet received {"connection_id":150076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":150076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:26:43] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea69558012d77760005ec9b680003001d2b..."} 
[2026-08-08 05:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea69558012d77760005ec9b680003001d2b..."} 
[2026-08-08 05:26:43] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea69558012d77760005ec9b680003001d2b..."} 
[2026-08-08 05:26:43] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:43] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":762803712,"raw_latitude":99392360,"longitude_deg":76.2803712,"latitude_deg":9.939236,"altitude":3,"angle":29,"satellites":43,"speed":41,"hex_longitude":"2d777600","hex_latitude":"05ec9b68","is_valid_coordinates":true} 
[2026-08-08 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253600768001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115790596018274304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8603493794836162560,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146887000,"timestamp_ms":1786146887000,"timestamp_seconds":1786146887,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea69558"} 
[2026-08-08 05:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 05:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:26:43] 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-08-08 05:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253600768001,"66":11765,"102":206,"87":13824,"24":41,"16":115790596018274304,"45":8603493794836162560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253600768001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115790596018274304,"km_value":115790596018274.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8603493794836162560,"description":"Unknown IO ID 45"} 
[2026-08-08 05:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253600768001,"power":11765,"unknown_102":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8603493794836162560}} 
[2026-08-08 05:26:43] local.INFO: TCP Data received {"connection_id":150076,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea76848012d22924006cb8fd80007008f31..."} 
[2026-08-08 05:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea76848012d22924006cb8fd80007008f31..."} 
[2026-08-08 05:26:43] local.INFO: Processing buffer {"connection_id":150076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea76848012d22924006cb8fd80007008f31..."} 
[2026-08-08 05:26:43] local.INFO: Packet analysis {"connection_id":150076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea7"} 
[2026-08-08 05:26:43] local.INFO: Extracted packet for processing {"connection_id":150076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea7"} 
[2026-08-08 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":757240384,"raw_latitude":114003928,"longitude_deg":75.7240384,"latitude_deg":11.4003928,"altitude":7,"angle":143,"satellites":49,"speed":59,"hex_longitude":"2d229240","hex_latitude":"06cb8fd8","is_valid_coordinates":true} 
[2026-08-08 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253615616001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374736296007958528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2485494442285694976,"note":"Value kept but may cause issues"} 
[2026-08-08 05:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786146941000,"timestamp_ms":1786146941000,"timestamp_seconds":1786146941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea76848"} 
[2026-08-08 05:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253615616001,"66":27343,"120":206,"2":56576,"24":59,"16":374736296007958528,"45":2485494442285694976},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 05:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253615616001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 05:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374736296007958528,"km_value":374736296007958.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2485494442285694976,"description":"Unknown IO ID 45"} 
[2026-08-08 05:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253615616001,"power":27343,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2485494442285694976}} 
[2026-08-08 05:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:26:43] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:26:43] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":150076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:26:43] local.INFO: GPS data processed {"connection_id":150076,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:26:43] local.INFO: Acknowledgment sent {"connection_id":150076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:27:14] local.INFO: TCP Data received {"connection_id":152783,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea6b880012d77874005ecba300002001b2c..."} 
[2026-08-08 05:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea6b880012d77874005ecba300002001b2c..."} 
[2026-08-08 05:27:14] local.INFO: Processing buffer {"connection_id":152783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea6b880012d77874005ecba300002001b2c..."} 
[2026-08-08 05:27:14] local.INFO: Packet analysis {"connection_id":152783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:27:14] local.INFO: Extracted packet for processing {"connection_id":152783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea6"} 
[2026-08-08 05:27:14] local.INFO: GPS Element Parsed {"raw_longitude":762808128,"raw_latitude":99400240,"longitude_deg":76.2808128,"latitude_deg":9.940024,"altitude":2,"angle":27,"satellites":44,"speed":35,"hex_longitude":"2d778740","hex_latitude":"05ecba30","is_valid_coordinates":true} 
[2026-08-08 05:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253603072001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115791034104938496,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8608067763209725952,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786146896000,"timestamp_ms":1786146896000,"timestamp_seconds":1786146896,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea6b880"} 
[2026-08-08 05:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 05:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:27:14] 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-08-08 05:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253603072001,"66":11743,"102":206,"87":13824,"24":35,"16":115791034104938496,"45":8608067763209725952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253603072001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115791034104938496,"km_value":115791034104938.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8608067763209725952,"description":"Unknown IO ID 45"} 
[2026-08-08 05:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253603072001,"power":11743,"unknown_102":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8608067763209725952}} 
[2026-08-08 05:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":152783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:27:14] local.INFO: GPS data processed {"connection_id":152783,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:27:14] local.INFO: Acknowledgment sent {"connection_id":152783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:27:14] local.INFO: TCP Data received {"connection_id":150076,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea77fb8012d22a58006cb7280000800942e..."} 
[2026-08-08 05:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea77fb8012d22a58006cb7280000800942e..."} 
[2026-08-08 05:27:14] local.INFO: Processing buffer {"connection_id":150076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea77fb8012d22a58006cb7280000800942e..."} 
[2026-08-08 05:27:14] local.INFO: Packet analysis {"connection_id":150076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea7"} 
[2026-08-08 05:27:14] local.INFO: Extracted packet for processing {"connection_id":150076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea7"} 
[2026-08-08 05:27:14] local.INFO: GPS Element Parsed {"raw_longitude":757245312,"raw_latitude":113996416,"longitude_deg":75.7245312,"latitude_deg":11.3996416,"altitude":8,"angle":148,"satellites":46,"speed":59,"hex_longitude":"2d22a580","hex_latitude":"06cb7280","is_valid_coordinates":true} 
[2026-08-08 05:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253616896001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374736729799655424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2491123941818488832,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786146947000,"timestamp_ms":1786146947000,"timestamp_seconds":1786146947,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea77fb8"} 
[2026-08-08 05:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:27: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-08-08 05:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253616896001,"66":27332,"120":206,"2":56576,"24":59,"16":374736729799655424,"45":2491123941818488832},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 05:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253616896001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 05:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374736729799655424,"km_value":374736729799655.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2491123941818488832,"description":"Unknown IO ID 45"} 
[2026-08-08 05:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253616896001,"power":27332,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2491123941818488832}} 
[2026-08-08 05:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":150076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:27:14] local.INFO: GPS data processed {"connection_id":150076,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:27:14] local.INFO: Acknowledgment sent {"connection_id":150076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:27:33] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:27:33] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:27:33] local.INFO: IMEI packet received {"connection_id":152784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":152784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:27:36] local.INFO: TCP Data received {"connection_id":152785,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:36] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:36] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:27:38] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:27:38] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:27:38] local.INFO: IMEI packet received {"connection_id":152784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":152784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:27:39] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea8a4b0012d78a18005edbbd80009003e2e..."} 
[2026-08-08 05:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea8a4b0012d78a18005edbbd80009003e2e..."} 
[2026-08-08 05:27:39] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea8a4b0012d78a18005edbbd80009003e2e..."} 
[2026-08-08 05:27:39] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:27:39] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762880384,"raw_latitude":99466200,"longitude_deg":76.2880384,"latitude_deg":9.94662,"altitude":9,"angle":62,"satellites":46,"speed":36,"hex_longitude":"2d78a180","hex_latitude":"05edbbd8","is_valid_coordinates":true} 
[2026-08-08 05:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253635072001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115795917482754048,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683362319497674752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786147022000,"timestamp_ms":1786147022000,"timestamp_seconds":1786147022,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea8a4b0"} 
[2026-08-08 05:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:27:39] 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-08-08 05:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253635072001,"66":12069,"38":206,"87":13824,"24":36,"16":115795917482754048,"45":8683362319497674752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 05:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253635072001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:27:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 05:27:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115795917482754048,"km_value":115795917482754.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683362319497674752,"description":"Unknown IO ID 45"} 
[2026-08-08 05:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253635072001,"power":12069,"unknown_38":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8683362319497674752}} 
[2026-08-08 05:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:27:39] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:27:39] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:27:40] local.INFO: TCP Data received {"connection_id":152785,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:40] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:40] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:27:41] local.INFO: TCP Data received {"connection_id":152785,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:41] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:27:41] local.INFO: IMEI packet received {"connection_id":152785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":152785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:27:42] local.INFO: TCP Data received {"connection_id":152785,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea879b8012d23610006ca3bc0000a006f31..."} 
[2026-08-08 05:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea879b8012d23610006ca3bc0000a006f31..."} 
[2026-08-08 05:27:42] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea879b8012d23610006ca3bc0000a006f31..."} 
[2026-08-08 05:27:42] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:27:42] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":757293312,"raw_latitude":113916864,"longitude_deg":75.7293312,"latitude_deg":11.3916864,"altitude":10,"angle":111,"satellites":49,"speed":59,"hex_longitude":"2d236100","hex_latitude":"06ca3bc0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253633792001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374741321119694848,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2543548656209274880,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147011000,"timestamp_ms":1786147011000,"timestamp_seconds":1786147011,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea879b8"} 
[2026-08-08 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-08-08 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253633792001,"66":27321,"248":206,"2":56576,"24":59,"16":374741321119694848,"45":2543548656209274880},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-08 05:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253633792001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374741321119694848,"km_value":374741321119694.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2543548656209274880,"description":"Unknown IO ID 45"} 
[2026-08-08 05:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253633792001,"power":27321,"tamper_alert":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2543548656209274880}} 
[2026-08-08 05:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:27:42] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:27:42] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:27:48] local.INFO: TCP Data received {"connection_id":152785,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea88958012d2377c006ca35b8000b006331..."} 
[2026-08-08 05:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea88958012d2377c006ca35b8000b006331..."} 
[2026-08-08 05:27:48] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea88958012d2377c006ca35b8000b006331..."} 
[2026-08-08 05:27:48] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:27:48] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:27:48] local.INFO: GPS Element Parsed {"raw_longitude":757299136,"raw_latitude":113915320,"longitude_deg":75.7299136,"latitude_deg":11.391532,"altitude":11,"angle":99,"satellites":49,"speed":59,"hex_longitude":"2d2377c0","hex_latitude":"06ca35b8","is_valid_coordinates":true} 
[2026-08-08 05:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253634816001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374741608882503680,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2549318893231128576,"note":"Value kept but may cause issues"} 
[2026-08-08 05:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786147015000,"timestamp_ms":1786147015000,"timestamp_seconds":1786147015,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea88958"} 
[2026-08-08 05:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253634816001,"66":27484,"248":206,"2":56576,"24":59,"16":374741608882503680,"45":2549318893231128576},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-08 05:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253634816001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374741608882503680,"km_value":374741608882503.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2549318893231128576,"description":"Unknown IO ID 45"} 
[2026-08-08 05:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253634816001,"power":27484,"tamper_alert":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2549318893231128576}} 
[2026-08-08 05:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:27:48] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:27:48] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:28:10] local.INFO: TCP Data received {"connection_id":152784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea8cfa8012d78c30005edcd100007003e2f..."} 
[2026-08-08 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea8cfa8012d78c30005edcd100007003e2f..."} 
[2026-08-08 05:28:10] local.INFO: Processing buffer {"connection_id":152784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea8cfa8012d78c30005edcd100007003e2f..."} 
[2026-08-08 05:28:10] local.INFO: Packet analysis {"connection_id":152784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:10] local.INFO: Extracted packet for processing {"connection_id":152784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":762888960,"raw_latitude":99470608,"longitude_deg":76.288896,"latitude_deg":9.9470608,"altitude":7,"angle":62,"satellites":47,"speed":35,"hex_longitude":"2d78c300","hex_latitude":"05edcd10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253637632001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115796381339222016,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692369518753470464,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786147033000,"timestamp_ms":1786147033000,"timestamp_seconds":1786147033,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea8cfa8"} 
[2026-08-08 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-08-08 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:28:10] 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-08-08 05:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253637632001,"66":11917,"38":206,"87":13824,"24":35,"16":115796381339222016,"45":8692369518753470464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 05:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253637632001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:28:10] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 05:28:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115796381339222016,"km_value":115796381339222.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692369518753470464,"description":"Unknown IO ID 45"} 
[2026-08-08 05:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253637632001,"power":11917,"unknown_38":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8692369518753470464}} 
[2026-08-08 05:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":152784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:28:10] local.INFO: GPS data processed {"connection_id":152784,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:28:10] local.INFO: Acknowledgment sent {"connection_id":152784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:28:19] local.INFO: TCP Data received {"connection_id":152785,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea8a0c8012d239ac006ca2fe8000c006231..."} 
[2026-08-08 05:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea8a0c8012d239ac006ca2fe8000c006231..."} 
[2026-08-08 05:28:19] local.INFO: Processing buffer {"connection_id":152785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea8a0c8012d239ac006ca2fe8000c006231..."} 
[2026-08-08 05:28:19] local.INFO: Packet analysis {"connection_id":152785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:19] local.INFO: Extracted packet for processing {"connection_id":152785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:19] local.INFO: GPS Element Parsed {"raw_longitude":757308096,"raw_latitude":113913832,"longitude_deg":75.7308096,"latitude_deg":11.3913832,"altitude":12,"angle":98,"satellites":49,"speed":59,"hex_longitude":"2d239ac0","hex_latitude":"06ca2fe8","is_valid_coordinates":true} 
[2026-08-08 05:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253635840001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374742042674200576,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2555722448950900736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786147021000,"timestamp_ms":1786147021000,"timestamp_seconds":1786147021,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea8a0c8"} 
[2026-08-08 05:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253635840001,"66":27376,"248":206,"2":56576,"24":59,"16":374742042674200576,"45":2555722448950900736},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-08 05:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253635840001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374742042674200576,"km_value":374742042674200.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2555722448950900736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253635840001,"power":27376,"tamper_alert":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2555722448950900736}} 
[2026-08-08 05:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":152785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:28:19] local.INFO: GPS data processed {"connection_id":152785,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:28:19] local.INFO: Acknowledgment sent {"connection_id":152785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:28:29] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:29] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:29] local.INFO: IMEI packet received {"connection_id":150077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":150077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:28:33] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:33] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:33] local.INFO: IMEI packet received {"connection_id":150077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":150077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:28:34] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:34] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:34] local.INFO: IMEI packet received {"connection_id":150077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":150077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:28:37] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:37] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:28:37] local.INFO: IMEI packet received {"connection_id":150077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":150077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:28:38] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea8f6b8012d78e38005eddda00005003d2e..."} 
[2026-08-08 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea8f6b8012d78e38005eddda00005003d2e..."} 
[2026-08-08 05:28:38] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea8f6b8012d78e38005eddda00005003d2e..."} 
[2026-08-08 05:28:38] local.INFO: Packet analysis {"connection_id":150077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:38] local.INFO: Extracted packet for processing {"connection_id":150077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":762897280,"raw_latitude":99474848,"longitude_deg":76.289728,"latitude_deg":9.9474848,"altitude":5,"angle":61,"satellites":46,"speed":35,"hex_longitude":"2d78e380","hex_latitude":"05eddda0","is_valid_coordinates":true} 
[2026-08-08 05:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253640448001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115796828015820800,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8701798930474405888,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786147043000,"timestamp_ms":1786147043000,"timestamp_seconds":1786147043,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea8f6b8"} 
[2026-08-08 05:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:28: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-08-08 05: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:28:38] 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-08-08 05:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253640448001,"66":11798,"38":206,"87":13824,"24":35,"16":115796828015820800,"45":8701798930474405888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 05:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253640448001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:28:38] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 05:28:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115796828015820800,"km_value":115796828015820.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8701798930474405888,"description":"Unknown IO ID 45"} 
[2026-08-08 05:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253640448001,"power":11798,"unknown_38":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8701798930474405888}} 
[2026-08-08 05:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":150077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:28:38] local.INFO: GPS data processed {"connection_id":150077,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:28:38] local.INFO: Acknowledgment sent {"connection_id":150077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:28:39] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea92980012d79038005edee300002003a2f..."} 
[2026-08-08 05:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea92980012d79038005edee300002003a2f..."} 
[2026-08-08 05:28:39] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea92980012d79038005edee300002003a2f..."} 
[2026-08-08 05:28:39] local.INFO: Packet analysis {"connection_id":150077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea9"} 
[2026-08-08 05:28:39] local.INFO: Extracted packet for processing {"connection_id":150077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea9"} 
[2026-08-08 05:28:39] local.INFO: GPS Element Parsed {"raw_longitude":762905472,"raw_latitude":99479088,"longitude_deg":76.2905472,"latitude_deg":9.9479088,"altitude":2,"angle":58,"satellites":47,"speed":32,"hex_longitude":"2d790380","hex_latitude":"05edee30","is_valid_coordinates":true} 
[2026-08-08 05:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253643008001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115797270397452288,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710946867218587648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786147056000,"timestamp_ms":1786147056000,"timestamp_seconds":1786147056,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea92980"} 
[2026-08-08 05:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3735547160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1149305038,"corrected_to":0} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4194356548,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184155676877,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2823989249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":237,"raw_value":5877197535196358656,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847001840,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2952867192,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2147872138,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":155,"raw_value":7072058789855232000,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433122369538,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":254,"raw_value":-4610017603350428928,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2810284650386164224,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":191,"raw_value":57777691080677174,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-7836262056827977723,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.WARNING: Large IO value detected {"io_id":29,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,38,87,24,241,157,16,100,159,207,45,205,7,47,10,66,164,128,187,9,46,99,125,1,240,103,227,222,237,4,113,33,39,63,192,239,129,2,155,206,254,53,191,167,29],"length":632,"final_offset":762,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1149305038,"validated":0}]} 
[2026-08-08 05:28:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360355237969723392,"timestamp_seconds":360355237969723.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:28:39] 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-08-08 05:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253643008001,"66":11711,"38":206,"87":13824,"24":32,"16":115797270397452288,"45":8710946867218587648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 05:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253643008001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:28:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 05:28:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115797270397452288,"km_value":115797270397452.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710946867218587648,"description":"Unknown IO ID 45"} 
[2026-08-08 05:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253643008001,"power":11711,"unknown_38":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8710946867218587648}} 
[2026-08-08 05:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":150077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:28:39] local.INFO: GPS data processed {"connection_id":150077,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:28:39] local.INFO: Acknowledgment sent {"connection_id":150077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:28:41] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:28:41] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:28:41] local.INFO: IMEI packet received {"connection_id":151311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":151311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:28:46] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:28:46] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:28:46] local.INFO: IMEI packet received {"connection_id":151311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":151311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:28:48] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea8bc20012d23c2c006ca2780000b006b31..."} 
[2026-08-08 05:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea8bc20012d23c2c006ca2780000b006b31..."} 
[2026-08-08 05:28:48] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea8bc20012d23c2c006ca2780000b006b31..."} 
[2026-08-08 05:28:48] local.INFO: Packet analysis {"connection_id":151311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:48] local.INFO: Extracted packet for processing {"connection_id":151311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:48] local.INFO: GPS Element Parsed {"raw_longitude":757318336,"raw_latitude":113911680,"longitude_deg":75.7318336,"latitude_deg":11.391168,"altitude":11,"angle":107,"satellites":49,"speed":58,"hex_longitude":"2d23c2c0","hex_latitude":"06ca2780","is_valid_coordinates":true} 
[2026-08-08 05:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253637376001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374742536595439616,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2565574073135392768,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786147028000,"timestamp_ms":1786147028000,"timestamp_seconds":1786147028,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea8bc20"} 
[2026-08-08 05:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:28: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-08-08 05:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:28: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-08-08 05:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253637376001,"66":27365,"248":206,"2":56576,"24":58,"16":374742536595439616,"45":2565574073135392768},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-08 05:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253637376001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374742536595439616,"km_value":374742536595439.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2565574073135392768,"description":"Unknown IO ID 45"} 
[2026-08-08 05:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253637376001,"power":27365,"tamper_alert":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2565574073135392768}} 
[2026-08-08 05:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":151311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:28:48] local.INFO: GPS data processed {"connection_id":151311,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:28:48] local.INFO: Acknowledgment sent {"connection_id":151311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:28:49] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea8cbc0012d23d80006ca1e30000b007830..."} 
[2026-08-08 05:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea8cbc0012d23d80006ca1e30000b007830..."} 
[2026-08-08 05:28:49] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea8cbc0012d23d80006ca1e30000b007830..."} 
[2026-08-08 05:28:49] local.INFO: Packet analysis {"connection_id":151311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:49] local.INFO: Extracted packet for processing {"connection_id":151311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea8"} 
[2026-08-08 05:28:49] local.INFO: GPS Element Parsed {"raw_longitude":757323776,"raw_latitude":113909296,"longitude_deg":75.7323776,"latitude_deg":11.3909296,"altitude":11,"angle":120,"satellites":48,"speed":58,"hex_longitude":"2d23d800","hex_latitude":"06ca1e30","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253639168001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374742820063281152,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2576833072203268096,"note":"Value kept but may cause issues"} 
[2026-08-08 05:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786147032000,"timestamp_ms":1786147032000,"timestamp_seconds":1786147032,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea8cbc0"} 
[2026-08-08 05:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253639168001,"66":27234,"248":206,"2":56576,"24":58,"16":374742820063281152,"45":2576833072203268096},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-08 05:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253639168001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374742820063281152,"km_value":374742820063281.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2576833072203268096,"description":"Unknown IO ID 45"} 
[2026-08-08 05:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253639168001,"power":27234,"tamper_alert":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2576833072203268096}} 
[2026-08-08 05:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":151311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:28:49] local.INFO: GPS data processed {"connection_id":151311,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:28:49] local.INFO: Acknowledgment sent {"connection_id":151311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:29:15] local.INFO: TCP Data received {"connection_id":150077,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea948c0012d7913c005edf9a80001002f2f..."} 
[2026-08-08 05:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea948c0012d7913c005edf9a80001002f2f..."} 
[2026-08-08 05:29:15] local.INFO: Processing buffer {"connection_id":150077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea948c0012d7913c005edf9a80001002f2f..."} 
[2026-08-08 05:29:15] local.INFO: Packet analysis {"connection_id":150077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea9"} 
[2026-08-08 05:29:15] local.INFO: Extracted packet for processing {"connection_id":150077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea9"} 
[2026-08-08 05:29:15] local.INFO: GPS Element Parsed {"raw_longitude":762909632,"raw_latitude":99482024,"longitude_deg":76.2909632,"latitude_deg":9.9482024,"altitude":1,"angle":47,"satellites":47,"speed":26,"hex_longitude":"2d7913c0","hex_latitude":"05edf9a8","is_valid_coordinates":true} 
[2026-08-08 05:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253646336001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115797515210588160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719954066474414080,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786147064000,"timestamp_ms":1786147064000,"timestamp_seconds":1786147064,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea948c0"} 
[2026-08-08 05:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 05:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:29:15] 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-08-08 05:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253646336001,"66":11754,"38":206,"87":13824,"24":26,"16":115797515210588160,"45":8719954066474414080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 05:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253646336001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:29:15] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 05:29:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115797515210588160,"km_value":115797515210588.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719954066474414080,"description":"Unknown IO ID 45"} 
[2026-08-08 05:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253646336001,"power":11754,"unknown_38":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8719954066474414080}} 
[2026-08-08 05:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":150077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:29:15] local.INFO: GPS data processed {"connection_id":150077,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:29:15] local.INFO: Acknowledgment sent {"connection_id":150077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:29:20] local.INFO: TCP Data received {"connection_id":151311,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdea9f4a0012d247b8006c8dd700012008a31..."} 
[2026-08-08 05:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdea9f4a0012d247b8006c8dd700012008a31..."} 
[2026-08-08 05:29:20] local.INFO: Processing buffer {"connection_id":151311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdea9f4a0012d247b8006c8dd700012008a31..."} 
[2026-08-08 05:29:20] local.INFO: Packet analysis {"connection_id":151311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdea9"} 
[2026-08-08 05:29:20] local.INFO: Extracted packet for processing {"connection_id":151311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdea9"} 
[2026-08-08 05:29:20] local.INFO: GPS Element Parsed {"raw_longitude":757365632,"raw_latitude":113827184,"longitude_deg":75.7365632,"latitude_deg":11.3827184,"altitude":18,"angle":138,"satellites":49,"speed":50,"hex_longitude":"2d247b80","hex_latitude":"06c8dd70","is_valid_coordinates":true} 
[2026-08-08 05:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253657600001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374747385613516800,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2621939437201295360,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786147108000,"timestamp_ms":1786147108000,"timestamp_seconds":1786147108,"priority":1,"record_length":96,"hex_timestamp":"0000019fdea9f4a0"} 
[2026-08-08 05:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 05:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253657600001,"66":27397,"249":206,"2":56576,"24":50,"16":374747385613516800,"45":2621939437201295360},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 05:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253657600001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:29:20] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 05:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374747385613516800,"km_value":374747385613516.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2621939437201295360,"description":"Unknown IO ID 45"} 
[2026-08-08 05:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253657600001,"power":27397,"unknown_249":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2621939437201295360}} 
[2026-08-08 05:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":151311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:29:20] local.INFO: GPS data processed {"connection_id":151311,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:29:20] local.INFO: Acknowledgment sent {"connection_id":151311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:29:32] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:32] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:32] local.INFO: IMEI packet received {"connection_id":150333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":150333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:29:33] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:33] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:33] local.INFO: IMEI packet received {"connection_id":150333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":150333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:29:36] local.INFO: TCP Data received {"connection_id":150334,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:36] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:36] local.INFO: IMEI packet received {"connection_id":150334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:29:37] local.INFO: TCP Data received {"connection_id":150334,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:37] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:37] local.INFO: IMEI packet received {"connection_id":150334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":150334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:29:38] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:38] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:29:38] local.INFO: IMEI packet received {"connection_id":150333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":150333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:29:39] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaaa080012d79424005ef21380009013f29..."} 
[2026-08-08 05:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaaa080012d79424005ef21380009013f29..."} 
[2026-08-08 05:29:39] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaaa080012d79424005ef21380009013f29..."} 
[2026-08-08 05:29:39] local.INFO: Packet analysis {"connection_id":150333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaa"} 
[2026-08-08 05:29:39] local.INFO: Extracted packet for processing {"connection_id":150333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaa"} 
[2026-08-08 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":762921536,"raw_latitude":99557688,"longitude_deg":76.2921536,"latitude_deg":9.9557688,"altitude":9,"angle":319,"satellites":41,"speed":39,"hex_longitude":"2d794240","hex_latitude":"05ef2138","is_valid_coordinates":true} 
[2026-08-08 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253670144001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115801569659715584,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8739375839886946304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786147152000,"timestamp_ms":1786147152000,"timestamp_seconds":1786147152,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaaa080"} 
[2026-08-08 05:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 05:29: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-08-08 05:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:29:39] 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-08-08 05:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253670144001,"66":11406,"244":206,"87":13824,"24":39,"16":115801569659715584,"45":8739375839886946304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,87,24,16,45]} 
[2026-08-08 05:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253670144001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:29:39] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-08 05:29:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 05:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115801569659715584,"km_value":115801569659715.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8739375839886946304,"description":"Unknown IO ID 45"} 
[2026-08-08 05:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253670144001,"power":11406,"unknown_244":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8739375839886946304}} 
[2026-08-08 05:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":150333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:29:39] local.INFO: GPS data processed {"connection_id":150333,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:29:39] local.INFO: Acknowledgment sent {"connection_id":150333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:29:42] local.INFO: TCP Data received {"connection_id":150334,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:42] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:29:42] local.INFO: IMEI packet received {"connection_id":150334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":150334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:29:43] local.INFO: TCP Data received {"connection_id":150334,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaa0ff8012d24930006c8c0680011009231..."} 
[2026-08-08 05:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaa0ff8012d24930006c8c0680011009231..."} 
[2026-08-08 05:29:43] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaa0ff8012d24930006c8c0680011009231..."} 
[2026-08-08 05:29:43] local.INFO: Packet analysis {"connection_id":150334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaa"} 
[2026-08-08 05:29:43] local.INFO: Extracted packet for processing {"connection_id":150334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaa"} 
[2026-08-08 05:29:43] local.INFO: GPS Element Parsed {"raw_longitude":757371648,"raw_latitude":113819752,"longitude_deg":75.7371648,"latitude_deg":11.3819752,"altitude":17,"angle":146,"satellites":49,"speed":58,"hex_longitude":"2d249300","hex_latitude":"06c8c068","is_valid_coordinates":true} 
[2026-08-08 05:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253659648001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374747845175017472,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2628835574128930816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786147115000,"timestamp_ms":1786147115000,"timestamp_seconds":1786147115,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaa0ff8"} 
[2026-08-08 05:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253659648001,"66":27343,"249":206,"2":56576,"24":58,"16":374747845175017472,"45":2628835574128930816},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 05:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253659648001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:29:43] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 05:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374747845175017472,"km_value":374747845175017.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2628835574128930816,"description":"Unknown IO ID 45"} 
[2026-08-08 05:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253659648001,"power":27343,"unknown_249":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2628835574128930816}} 
[2026-08-08 05:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:29:43] local.INFO: GPS data processed {"connection_id":150334,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:29:43] local.INFO: Acknowledgment sent {"connection_id":150334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:30:10] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab6ba0012d78c88005efa0d00009010427..."} 
[2026-08-08 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab6ba0012d78c88005efa0d00009010427..."} 
[2026-08-08 05:30:10] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab6ba0012d78c88005efa0d00009010427..."} 
[2026-08-08 05:30:10] local.INFO: Packet analysis {"connection_id":150333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:10] local.INFO: Extracted packet for processing {"connection_id":150333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":762890368,"raw_latitude":99590352,"longitude_deg":76.2890368,"latitude_deg":9.9590352,"altitude":9,"angle":260,"satellites":39,"speed":7,"hex_longitude":"2d78c880","hex_latitude":"05efa0d0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253683968001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115803871762186240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703558149109506048,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786147204000,"timestamp_ms":1786147204000,"timestamp_seconds":1786147204,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab6ba0"} 
[2026-08-08 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-08-08 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 05:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:30:10] 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-08-08 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253683968001,"66":11917,"62":206,"87":11776,"24":7,"16":115803871762186240,"45":8703558149109506048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,87,24,16,45]} 
[2026-08-08 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253683968001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:30:10] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 05:30:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115803871762186240,"km_value":115803871762186.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703558149109506048,"description":"Unknown IO ID 45"} 
[2026-08-08 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253683968001,"power":11917,"unknown_62":206,"unknown_87":11776,"ignition":7,"odometer":null,"unknown_45":8703558149109506048}} 
[2026-08-08 05:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":150333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:30:10] local.INFO: GPS data processed {"connection_id":150333,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:30:10] local.INFO: Acknowledgment sent {"connection_id":150333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:30:15] local.INFO: TCP Data received {"connection_id":150334,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaa2768012d24a38006c8a0a0000e009d31..."} 
[2026-08-08 05:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaa2768012d24a38006c8a0a0000e009d31..."} 
[2026-08-08 05:30:15] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaa2768012d24a38006c8a0a0000e009d31..."} 
[2026-08-08 05:30:15] local.INFO: Packet analysis {"connection_id":150334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaa"} 
[2026-08-08 05:30:15] local.INFO: Extracted packet for processing {"connection_id":150334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaa"} 
[2026-08-08 05:30:15] local.INFO: GPS Element Parsed {"raw_longitude":757375872,"raw_latitude":113811616,"longitude_deg":75.7375872,"latitude_deg":11.3811616,"altitude":14,"angle":157,"satellites":49,"speed":61,"hex_longitude":"2d24a380","hex_latitude":"06c8a0a0","is_valid_coordinates":true} 
[2026-08-08 05:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253661440001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374748287556648960,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2635450236079728640,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786147121000,"timestamp_ms":1786147121000,"timestamp_seconds":1786147121,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaa2768"} 
[2026-08-08 05:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:30: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-08-08 05:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253661440001,"66":27397,"249":206,"2":56576,"24":61,"16":374748287556648960,"45":2635450236079728640},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 05:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253661440001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:30:15] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 05:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374748287556648960,"km_value":374748287556648.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2635450236079728640,"description":"Unknown IO ID 45"} 
[2026-08-08 05:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253661440001,"power":27397,"unknown_249":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":2635450236079728640}} 
[2026-08-08 05:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":150334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:30:15] local.INFO: GPS data processed {"connection_id":150334,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:30:15] local.INFO: Acknowledgment sent {"connection_id":150334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:30:32] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:30:32] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:30:32] local.INFO: IMEI packet received {"connection_id":151312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":151312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:30:37] local.INFO: TCP Data received {"connection_id":152786,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:37] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:37] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:30:37] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:30:37] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:30:37] local.INFO: IMEI packet received {"connection_id":151312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":151312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:30:40] local.INFO: TCP Data received {"connection_id":152786,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:40] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:40] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:30:41] local.INFO: TCP Data received {"connection_id":152786,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:41] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:30:41] local.INFO: IMEI packet received {"connection_id":152786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":152786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:30:42] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab6f88012d78c7c005efa088000900f727..."} 
[2026-08-08 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab6f88012d78c7c005efa088000900f727..."} 
[2026-08-08 05:30:42] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab6f88012d78c7c005efa088000900f727..."} 
[2026-08-08 05:30:42] local.INFO: Packet analysis {"connection_id":151312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:42] local.INFO: Extracted packet for processing {"connection_id":151312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":762890176,"raw_latitude":99590280,"longitude_deg":76.2890176,"latitude_deg":9.959028,"altitude":9,"angle":247,"satellites":39,"speed":7,"hex_longitude":"2d78c7c0","hex_latitude":"05efa088","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253684224001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115803884647088128,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703347042876968960,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147205000,"timestamp_ms":1786147205000,"timestamp_seconds":1786147205,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab6f88"} 
[2026-08-08 05:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:30:42] 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-08-08 05: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-08-08 05:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:30:42] 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-08-08 05:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253684224001,"66":11917,"62":206,"87":11776,"24":7,"16":115803884647088128,"45":8703347042876968960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,87,24,16,45]} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253684224001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:30:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 05:30:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115803884647088128,"km_value":115803884647088.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703347042876968960,"description":"Unknown IO ID 45"} 
[2026-08-08 05:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253684224001,"power":11917,"unknown_62":206,"unknown_87":11776,"ignition":7,"odometer":null,"unknown_45":8703347042876968960}} 
[2026-08-08 05:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":151312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:30:42] local.INFO: GPS data processed {"connection_id":151312,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:30:42] local.INFO: Acknowledgment sent {"connection_id":151312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:30:42] local.INFO: TCP Data received {"connection_id":152786,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab2d20012d25024006c739180013009e31..."} 
[2026-08-08 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab2d20012d25024006c739180013009e31..."} 
[2026-08-08 05:30:42] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab2d20012d25024006c739180013009e31..."} 
[2026-08-08 05:30:42] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:42] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":757400128,"raw_latitude":113719576,"longitude_deg":75.7400128,"latitude_deg":11.3719576,"altitude":19,"angle":158,"satellites":49,"speed":56,"hex_longitude":"2d250240","hex_latitude":"06c73918","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253680128001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-08 05:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374752917531394048,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2666764327213144064,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-08 05:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147188000,"timestamp_ms":1786147188000,"timestamp_seconds":1786147188,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab2d20"} 
[2026-08-08 05:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253680128001,"66":27376,"200":0,"2":56576,"24":56,"16":374752917531394048,"45":2666764327213144064},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16,45]} 
[2026-08-08 05:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253680128001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374752917531394048,"km_value":374752917531394.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2666764327213144064,"description":"Unknown IO ID 45"} 
[2026-08-08 05:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253680128001,"power":27376,"gsm_signal":0,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":2666764327213144064}} 
[2026-08-08 05:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:30:42] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:30:42] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:30:47] local.INFO: TCP Data received {"connection_id":152786,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab4878012d25144006c714f80012009731..."} 
[2026-08-08 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab4878012d25144006c714f80012009731..."} 
[2026-08-08 05:30:47] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab4878012d25144006c714f80012009731..."} 
[2026-08-08 05:30:47] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:47] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:30:47] local.INFO: GPS Element Parsed {"raw_longitude":757404736,"raw_latitude":113710328,"longitude_deg":75.7404736,"latitude_deg":11.3710328,"altitude":18,"angle":151,"satellites":49,"speed":59,"hex_longitude":"2d251440","hex_latitude":"06c714f8","is_valid_coordinates":true} 
[2026-08-08 05:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253680128001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-08 05:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374753415747600384,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2666764327213144064,"note":"Value kept but may cause issues"} 
[2026-08-08 05:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-08 05:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786147195000,"timestamp_ms":1786147195000,"timestamp_seconds":1786147195,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab4878"} 
[2026-08-08 05:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:30: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-08-08 05:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253680128001,"66":27321,"200":0,"2":56576,"24":59,"16":374753415747600384,"45":2666764327213144064},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16,45]} 
[2026-08-08 05:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253680128001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374753415747600384,"km_value":374753415747600.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2666764327213144064,"description":"Unknown IO ID 45"} 
[2026-08-08 05:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253680128001,"power":27321,"gsm_signal":0,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2666764327213144064}} 
[2026-08-08 05:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:30:47] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:30:47] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:31:18] local.INFO: TCP Data received {"connection_id":152786,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab5fe8012d25258006c6f5580010009730..."} 
[2026-08-08 05:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab5fe8012d25258006c6f5580010009730..."} 
[2026-08-08 05:31:18] local.INFO: Processing buffer {"connection_id":152786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab5fe8012d25258006c6f5580010009730..."} 
[2026-08-08 05:31:18] local.INFO: Packet analysis {"connection_id":152786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:31:18] local.INFO: Extracted packet for processing {"connection_id":152786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:31:18] local.INFO: GPS Element Parsed {"raw_longitude":757409152,"raw_latitude":113702232,"longitude_deg":75.7409152,"latitude_deg":11.3702232,"altitude":16,"angle":151,"satellites":48,"speed":61,"hex_longitude":"2d252580","hex_latitude":"06c6f558","is_valid_coordinates":true} 
[2026-08-08 05:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253681920001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374753862424199168,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2671830876791568384,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786147201000,"timestamp_ms":1786147201000,"timestamp_seconds":1786147201,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab5fe8"} 
[2026-08-08 05:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":185,"data_length":795,"current_offset":136} 
[2026-08-08 05:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253681920001,"66":27397,"198":206,"2":56576,"24":61,"16":374753862424199168,"45":2671830876791568384},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 05:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253681920001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:31:18] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 05:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374753862424199168,"km_value":374753862424199.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2671830876791568384,"description":"Unknown IO ID 45"} 
[2026-08-08 05:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253681920001,"power":27397,"unknown_198":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":2671830876791568384}} 
[2026-08-08 05:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":152786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:31:18] local.INFO: GPS data processed {"connection_id":152786,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:31:18] local.INFO: Acknowledgment sent {"connection_id":152786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:31:32] local.INFO: TCP Data received {"connection_id":151312,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab7758012d78c5c005efa0180009010827..."} 
[2026-08-08 05:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab7758012d78c5c005efa0180009010827..."} 
[2026-08-08 05:31:33] local.INFO: Processing buffer {"connection_id":151312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab7758012d78c5c005efa0180009010827..."} 
[2026-08-08 05:31:33] local.INFO: Packet analysis {"connection_id":151312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:31:33] local.INFO: Extracted packet for processing {"connection_id":151312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:31:33] local.INFO: GPS Element Parsed {"raw_longitude":762889664,"raw_latitude":99590168,"longitude_deg":76.2889664,"latitude_deg":9.9590168,"altitude":9,"angle":264,"satellites":39,"speed":14,"hex_longitude":"2d78c5c0","hex_latitude":"05efa018","is_valid_coordinates":true} 
[2026-08-08 05:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253684480001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115803910416891904,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703135936644417536,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786147207000,"timestamp_ms":1786147207000,"timestamp_seconds":1786147207,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab7758"} 
[2026-08-08 05:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:31: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:31:33] 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-08-08 05:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:31:33] 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-08-08 05:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253684480001,"66":12058,"62":206,"87":11776,"24":14,"16":115803910416891904,"45":8703135936644417536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,87,24,16,45]} 
[2026-08-08 05:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253684480001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:31:33] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 05:31:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115803910416891904,"km_value":115803910416891.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703135936644417536,"description":"Unknown IO ID 45"} 
[2026-08-08 05:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253684480001,"power":12058,"unknown_62":206,"unknown_87":11776,"ignition":14,"odometer":null,"unknown_45":8703135936644417536}} 
[2026-08-08 05:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":151312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:31:33] local.INFO: GPS data processed {"connection_id":151312,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:31:33] local.INFO: Acknowledgment sent {"connection_id":151312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:31:36] local.INFO: TCP Data received {"connection_id":150335,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:31:36] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:31:36] local.INFO: IMEI packet received {"connection_id":150335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":150335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:31:37] local.INFO: TCP Data received {"connection_id":150078,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:31:37] local.INFO: Processing buffer {"connection_id":150078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:31:37] local.INFO: IMEI packet received {"connection_id":150078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":150078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:31:41] local.INFO: TCP Data received {"connection_id":150335,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:31:41] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:31:41] local.INFO: IMEI packet received {"connection_id":150335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":150335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:31:42] local.INFO: TCP Data received {"connection_id":150335,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab7758012d25360006c6d5b0000d009830..."} 
[2026-08-08 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab7758012d25360006c6d5b0000d009830..."} 
[2026-08-08 05:31:42] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab7758012d25360006c6d5b0000d009830..."} 
[2026-08-08 05:31:42] local.INFO: Packet analysis {"connection_id":150335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:31:42] local.INFO: Extracted packet for processing {"connection_id":150335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":757413376,"raw_latitude":113694128,"longitude_deg":75.7413376,"latitude_deg":11.3694128,"altitude":13,"angle":152,"satellites":48,"speed":60,"hex_longitude":"2d253600","hex_latitude":"06c6d5b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253683456001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374754304805830656,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2676686320137754624,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147207000,"timestamp_ms":1786147207000,"timestamp_seconds":1786147207,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab7758"} 
[2026-08-08 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-08-08 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253683456001,"66":27376,"198":206,"2":56576,"24":60,"16":374754304805830656,"45":2676686320137754624},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253683456001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:31:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 05:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374754304805830656,"km_value":374754304805830.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2676686320137754624,"description":"Unknown IO ID 45"} 
[2026-08-08 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253683456001,"power":27376,"unknown_198":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2676686320137754624}} 
[2026-08-08 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":150335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:31:42] local.INFO: GPS data processed {"connection_id":150335,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:31:42] local.INFO: Acknowledgment sent {"connection_id":150335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:31:43] local.INFO: TCP Data received {"connection_id":150078,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:31:43] local.INFO: Processing buffer {"connection_id":150078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:31:43] local.INFO: IMEI packet received {"connection_id":150078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":150078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:31:44] local.INFO: TCP Data received {"connection_id":150078,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeac84e0012d78648005f04b680000015b24..."} 
[2026-08-08 05:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeac84e0012d78648005f04b680000015b24..."} 
[2026-08-08 05:31:44] local.INFO: Processing buffer {"connection_id":150078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeac84e0012d78648005f04b680000015b24..."} 
[2026-08-08 05:31:44] local.INFO: Packet analysis {"connection_id":150078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeac"} 
[2026-08-08 05:31:44] local.INFO: Extracted packet for processing {"connection_id":150078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeac"} 
[2026-08-08 05:31:44] local.INFO: GPS Element Parsed {"raw_longitude":762864768,"raw_latitude":99634024,"longitude_deg":76.2864768,"latitude_deg":9.9634024,"altitude":0,"angle":347,"satellites":36,"speed":38,"hex_longitude":"2d786480","hex_latitude":"05f04b68","is_valid_coordinates":true} 
[2026-08-08 05:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115806809519816704,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8677380976284332032,"note":"Value kept but may cause issues"} 
[2026-08-08 05:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786147276000,"timestamp_ms":1786147276000,"timestamp_seconds":1786147276,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeac84e0"} 
[2026-08-08 05:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:31: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-08-08 05: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 05:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:31:44] 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-08-08 05:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253700352001,"66":11743,"53":206,"87":11776,"24":38,"16":115806809519816704,"45":8677380976284332032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,87,24,16,45]} 
[2026-08-08 05:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:31:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 05:31:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115806809519816704,"km_value":115806809519816.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8677380976284332032,"description":"Unknown IO ID 45"} 
[2026-08-08 05:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253700352001,"power":11743,"unknown_53":206,"unknown_87":11776,"ignition":38,"odometer":null,"unknown_45":8677380976284332032}} 
[2026-08-08 05:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":150078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:31:44] local.INFO: GPS data processed {"connection_id":150078,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:31:44] local.INFO: Acknowledgment sent {"connection_id":150078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:32:15] local.INFO: TCP Data received {"connection_id":150078,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdead1d38012d78188005f05aa80006010d24..."} 
[2026-08-08 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdead1d38012d78188005f05aa80006010d24..."} 
[2026-08-08 05:32:15] local.INFO: Processing buffer {"connection_id":150078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdead1d38012d78188005f05aa80006010d24..."} 
[2026-08-08 05:32:15] local.INFO: Packet analysis {"connection_id":150078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdead"} 
[2026-08-08 05:32:15] local.INFO: Extracted packet for processing {"connection_id":150078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdead"} 
[2026-08-08 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":762845312,"raw_latitude":99637928,"longitude_deg":76.2845312,"latitude_deg":9.9637928,"altitude":6,"angle":269,"satellites":36,"speed":21,"hex_longitude":"2d781880","hex_latitude":"05f05aa8","is_valid_coordinates":true} 
[2026-08-08 05:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253712128001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115807990635823104,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8654862978150737920,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786147315000,"timestamp_ms":1786147315000,"timestamp_seconds":1786147315,"priority":1,"record_length":96,"hex_timestamp":"0000019fdead1d38"} 
[2026-08-08 05:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 05:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:32:15] 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-08-08 05:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253712128001,"66":11830,"64":206,"87":11776,"24":21,"16":115807990635823104,"45":8654862978150737920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,87,24,16,45]} 
[2026-08-08 05:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253712128001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:32:15] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 05:32:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115807990635823104,"km_value":115807990635823.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8654862978150737920,"description":"Unknown IO ID 45"} 
[2026-08-08 05:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253712128001,"power":11830,"unknown_64":206,"unknown_87":11776,"ignition":21,"odometer":null,"unknown_45":8654862978150737920}} 
[2026-08-08 05:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":150078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:32:15] local.INFO: GPS data processed {"connection_id":150078,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:32:15] local.INFO: Acknowledgment sent {"connection_id":150078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:32:16] local.INFO: TCP Data received {"connection_id":150335,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeab8ec8012d25470006c6b6a8000a00972f..."} 
[2026-08-08 05:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeab8ec8012d25470006c6b6a8000a00972f..."} 
[2026-08-08 05:32:16] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeab8ec8012d25470006c6b6a8000a00972f..."} 
[2026-08-08 05:32:16] local.INFO: Packet analysis {"connection_id":150335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:32:16] local.INFO: Extracted packet for processing {"connection_id":150335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeab"} 
[2026-08-08 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":757417728,"raw_latitude":113686184,"longitude_deg":75.7417728,"latitude_deg":11.3686184,"altitude":10,"angle":151,"satellites":47,"speed":59,"hex_longitude":"2d254700","hex_latitude":"06c6b6a8","is_valid_coordinates":true} 
[2026-08-08 05:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253684992001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374754738597527552,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2681330657251405824,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786147213000,"timestamp_ms":1786147213000,"timestamp_seconds":1786147213,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeab8ec8"} 
[2026-08-08 05:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:32: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-08-08 05:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253684992001,"66":27321,"198":206,"2":56576,"24":59,"16":374754738597527552,"45":2681330657251405824},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 05:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253684992001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:32:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 05:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374754738597527552,"km_value":374754738597527.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2681330657251405824,"description":"Unknown IO ID 45"} 
[2026-08-08 05:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253684992001,"power":27321,"unknown_198":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2681330657251405824}} 
[2026-08-08 05:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":150335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:32:16] local.INFO: GPS data processed {"connection_id":150335,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:32:16] local.INFO: Acknowledgment sent {"connection_id":150335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:32:32] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:32] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:32] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:32:32] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:32] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:32] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:32:36] local.INFO: TCP Data received {"connection_id":150079,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:36] local.INFO: Processing buffer {"connection_id":150079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:36] local.INFO: IMEI packet received {"connection_id":150079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":150079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:32:37] local.INFO: TCP Data received {"connection_id":150079,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:37] local.INFO: Processing buffer {"connection_id":150079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:37] local.INFO: IMEI packet received {"connection_id":150079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":150079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:32:38] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:38] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:32:38] local.INFO: IMEI packet received {"connection_id":152787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":152787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:32:38] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdead2508012d78130005f059200006010125..."} 
[2026-08-08 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdead2508012d78130005f059200006010125..."} 
[2026-08-08 05:32:38] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdead2508012d78130005f059200006010125..."} 
[2026-08-08 05:32:38] local.INFO: Packet analysis {"connection_id":152787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdead"} 
[2026-08-08 05:32:38] local.INFO: Extracted packet for processing {"connection_id":152787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdead"} 
[2026-08-08 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":762843904,"raw_latitude":99637536,"longitude_deg":76.2843904,"latitude_deg":9.9637536,"altitude":6,"angle":257,"satellites":37,"speed":27,"hex_longitude":"2d781300","hex_latitude":"05f05920","is_valid_coordinates":true} 
[2026-08-08 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253712640001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115808059355299840,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8653807446988072960,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786147317000,"timestamp_ms":1786147317000,"timestamp_seconds":1786147317,"priority":1,"record_length":96,"hex_timestamp":"0000019fdead2508"} 
[2026-08-08 05:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 05:32:38] 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-08-08 05:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:32:38] 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-08-08 05:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253712640001,"66":11798,"64":206,"87":11776,"24":27,"16":115808059355299840,"45":8653807446988072960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,87,24,16,45]} 
[2026-08-08 05:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253712640001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:32:38] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 05:32:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115808059355299840,"km_value":115808059355299.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8653807446988072960,"description":"Unknown IO ID 45"} 
[2026-08-08 05:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253712640001,"power":11798,"unknown_64":206,"unknown_87":11776,"ignition":27,"odometer":null,"unknown_45":8653807446988072960}} 
[2026-08-08 05:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":152787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:32:38] local.INFO: GPS data processed {"connection_id":152787,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:32:38] local.INFO: Acknowledgment sent {"connection_id":152787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:32:42] local.INFO: TCP Data received {"connection_id":150079,"ip":"117.224.30.141","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:42] local.INFO: Processing buffer {"connection_id":150079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:32:42] local.INFO: IMEI packet received {"connection_id":150079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":150079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:32:44] local.INFO: TCP Data received {"connection_id":150079,"ip":"117.224.30.141","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaccb30012d261cc006c56d400010008b30..."} 
[2026-08-08 05:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaccb30012d261cc006c56d400010008b30..."} 
[2026-08-08 05:32:44] local.INFO: Processing buffer {"connection_id":150079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaccb30012d261cc006c56d400010008b30..."} 
[2026-08-08 05:32:44] local.INFO: Packet analysis {"connection_id":150079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeac"} 
[2026-08-08 05:32:44] local.INFO: Extracted packet for processing {"connection_id":150079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeac"} 
[2026-08-08 05:32:44] local.INFO: GPS Element Parsed {"raw_longitude":757472448,"raw_latitude":113601856,"longitude_deg":75.7472448,"latitude_deg":11.3601856,"altitude":16,"angle":139,"satellites":48,"speed":41,"hex_longitude":"2d261cc0","hex_latitude":"06c56d40","is_valid_coordinates":true} 
[2026-08-08 05:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253704960001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374759600500506624,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2739525608664557568,"note":"Value kept but may cause issues"} 
[2026-08-08 05:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786147294000,"timestamp_ms":1786147294000,"timestamp_seconds":1786147294,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaccb30"} 
[2026-08-08 05:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-08 05:32:44] 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-08-08 05:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.30.141","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253704960001,"66":27397,"191":206,"2":56576,"24":41,"16":374759600500506624,"45":2739525608664557568},"client_ip":"117.224.30.141","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 05:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253704960001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:32:44] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 05:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374759600500506624,"km_value":374759600500506.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2739525608664557568,"description":"Unknown IO ID 45"} 
[2026-08-08 05:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253704960001,"power":27397,"unknown_191":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":2739525608664557568}} 
[2026-08-08 05:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":150079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:32:44] local.INFO: GPS data processed {"connection_id":150079,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:32:44] local.INFO: Acknowledgment sent {"connection_id":150079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:33:14] local.INFO: TCP Data received {"connection_id":152787,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdead4c18012d77f00005f04be0000600fe27..."} 
[2026-08-08 05:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdead4c18012d77f00005f04be0000600fe27..."} 
[2026-08-08 05:33:14] local.INFO: Processing buffer {"connection_id":152787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdead4c18012d77f00005f04be0000600fe27..."} 
[2026-08-08 05:33:14] local.INFO: Packet analysis {"connection_id":152787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdead"} 
[2026-08-08 05:33:14] local.INFO: Extracted packet for processing {"connection_id":152787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdead"} 
[2026-08-08 05:33:14] local.INFO: GPS Element Parsed {"raw_longitude":762834944,"raw_latitude":99634144,"longitude_deg":76.2834944,"latitude_deg":9.9634144,"altitude":6,"angle":254,"satellites":39,"speed":33,"hex_longitude":"2d77f000","hex_latitude":"05f04be0","is_valid_coordinates":true} 
[2026-08-08 05:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253713152001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115808518916800512,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8652259334616064000,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786147327000,"timestamp_ms":1786147327000,"timestamp_seconds":1786147327,"priority":1,"record_length":96,"hex_timestamp":"0000019fdead4c18"} 
[2026-08-08 05:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2017637921829423616,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3735879160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500818,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184131428557,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":6136154496603793408,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221614677,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2902837249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847132912,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1379926222,"corrected_to":0} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":155,"raw_value":7969401015608803328,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6281958633308880898,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1671612277457409,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57792805070591790,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.WARNING: Large IO value detected {"io_id":172,"raw_value":-1835215553351745531,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,64,87,24,241,157,16,110,159,29,45,128,90,6,36,10,66,21,5,13,1,240,33,227,222,4,113,205,17,34,239,2,155,89,206,39,180,172],"length":632,"final_offset":762,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1379926222,"validated":0}]} 
[2026-08-08 05:33:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432628297631465472,"timestamp_seconds":432628297631465.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:33:15] 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-08-08 05:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253713152001,"66":11482,"64":206,"87":11776,"24":33,"16":115808518916800512,"45":8652259334616064000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,87,24,16,45]} 
[2026-08-08 05:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253713152001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:33:15] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 05:33:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115808518916800512,"km_value":115808518916800.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8652259334616064000,"description":"Unknown IO ID 45"} 
[2026-08-08 05:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253713152001,"power":11482,"unknown_64":206,"unknown_87":11776,"ignition":33,"odometer":null,"unknown_45":8652259334616064000}} 
[2026-08-08 05:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":152787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:33:15] local.INFO: GPS data processed {"connection_id":152787,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:33:15] local.INFO: Acknowledgment sent {"connection_id":152787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:33:32] local.INFO: TCP Data received {"connection_id":150080,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:33:32] local.INFO: Processing buffer {"connection_id":150080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:33:32] local.INFO: IMEI packet received {"connection_id":150080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":150080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:33:44] local.INFO: TCP Data received {"connection_id":150080,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:33:44] local.INFO: Processing buffer {"connection_id":150080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:33:44] local.INFO: IMEI packet received {"connection_id":150080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":150080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:33:46] local.INFO: TCP Data received {"connection_id":150080,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeae4230012d77894005f0f4d80004016529..."} 
[2026-08-08 05:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeae4230012d77894005f0f4d80004016529..."} 
[2026-08-08 05:33:46] local.INFO: Processing buffer {"connection_id":150080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeae4230012d77894005f0f4d80004016529..."} 
[2026-08-08 05:33:46] local.INFO: Packet analysis {"connection_id":150080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:33:46] local.INFO: Extracted packet for processing {"connection_id":150080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":762808640,"raw_latitude":99677400,"longitude_deg":76.280864,"latitude_deg":9.96774,"altitude":4,"angle":357,"satellites":41,"speed":28,"hex_longitude":"2d778940","hex_latitude":"05f0f4d8","is_valid_coordinates":true} 
[2026-08-08 05:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253731328001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115811125961949184,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613626894072395776,"note":"Value kept but may cause issues"} 
[2026-08-08 05:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786147390000,"timestamp_ms":1786147390000,"timestamp_seconds":1786147390,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeae4230"} 
[2026-08-08 05:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 05:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:33:46] 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-08-08 05:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253731328001,"66":11852,"25":206,"87":11776,"24":28,"16":115811125961949184,"45":8613626894072395776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,87,24,16,45]} 
[2026-08-08 05:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253731328001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:33:46] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-08 05:33:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115811125961949184,"km_value":115811125961949.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613626894072395776,"description":"Unknown IO ID 45"} 
[2026-08-08 05:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253731328001,"power":11852,"unknown_25":206,"unknown_87":11776,"ignition":28,"odometer":null,"unknown_45":8613626894072395776}} 
[2026-08-08 05:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":150080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:33:46] local.INFO: GPS data processed {"connection_id":150080,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:33:46] local.INFO: Acknowledgment sent {"connection_id":150080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:34:17] local.INFO: TCP Data received {"connection_id":150080,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeae6d28012d7788c005f118d80005016728..."} 
[2026-08-08 05:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeae6d28012d7788c005f118d80005016728..."} 
[2026-08-08 05:34:17] local.INFO: Processing buffer {"connection_id":150080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeae6d28012d7788c005f118d80005016728..."} 
[2026-08-08 05:34:17] local.INFO: Packet analysis {"connection_id":150080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:34:17] local.INFO: Extracted packet for processing {"connection_id":150080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:34:17] local.INFO: GPS Element Parsed {"raw_longitude":762808512,"raw_latitude":99686616,"longitude_deg":76.2808512,"latitude_deg":9.9686616,"altitude":5,"angle":359,"satellites":40,"speed":33,"hex_longitude":"2d7788c0","hex_latitude":"05f118d8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253731840001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115811572638547968,"note":"Value kept but may cause issues"} 
[2026-08-08 05:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613486156584376320,"note":"Value kept but may cause issues"} 
[2026-08-08 05:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786147401000,"timestamp_ms":1786147401000,"timestamp_seconds":1786147401,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeae6d28"} 
[2026-08-08 05:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 05:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:34:17] 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-08-08 05:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253731840001,"66":12058,"26":206,"87":11776,"24":33,"16":115811572638547968,"45":8613486156584376320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-08-08 05:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253731840001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:34:17] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 05:34:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115811572638547968,"km_value":115811572638547.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613486156584376320,"description":"Unknown IO ID 45"} 
[2026-08-08 05:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253731840001,"power":12058,"unknown_26":206,"unknown_87":11776,"ignition":33,"odometer":null,"unknown_45":8613486156584376320}} 
[2026-08-08 05:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":150080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:34:17] local.INFO: GPS data processed {"connection_id":150080,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:34:17] local.INFO: Acknowledgment sent {"connection_id":150080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:34:32] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:32] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:32] local.INFO: IMEI packet received {"connection_id":150336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":150336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:34:33] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:33] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:33] local.INFO: IMEI packet received {"connection_id":150336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":150336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:34:41] local.INFO: TCP Data received {"connection_id":152788,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:34:41] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:34:41] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:34:45] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:45] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:45] local.INFO: IMEI packet received {"connection_id":150336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":150336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:34:47] local.INFO: TCP Data received {"connection_id":152788,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:34:47] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:34:47] local.INFO: IMEI packet received {"connection_id":152788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":152788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:34:48] local.INFO: TCP Data received {"connection_id":152788,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeae1b20012d271d0006c3fe68000c009830..."} 
[2026-08-08 05:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeae1b20012d271d0006c3fe68000c009830..."} 
[2026-08-08 05:34:48] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeae1b20012d271d0006c3fe68000c009830..."} 
[2026-08-08 05:34:48] local.INFO: Packet analysis {"connection_id":152788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:34:48] local.INFO: Extracted packet for processing {"connection_id":152788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":757538048,"raw_latitude":113507944,"longitude_deg":75.7538048,"latitude_deg":11.3507944,"altitude":12,"angle":152,"satellites":48,"speed":58,"hex_longitude":"2d271d00","hex_latitude":"06c3fe68","is_valid_coordinates":true} 
[2026-08-08 05:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253727744001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374765171073089536,"note":"Value kept but may cause issues"} 
[2026-08-08 05:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2814046108724869120,"note":"Value kept but may cause issues"} 
[2026-08-08 05:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786147380000,"timestamp_ms":1786147380000,"timestamp_seconds":1786147380,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeae1b20"} 
[2026-08-08 05:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 05:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253727744001,"66":27365,"182":206,"2":57088,"24":58,"16":374765171073089536,"45":2814046108724869120},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,2,24,16,45]} 
[2026-08-08 05:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253727744001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:34:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374765171073089536,"km_value":374765171073089.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2814046108724869120,"description":"Unknown IO ID 45"} 
[2026-08-08 05:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253727744001,"power":27365,"unknown_182":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":2814046108724869120}} 
[2026-08-08 05:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":152788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:34:48] local.INFO: GPS data processed {"connection_id":152788,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:34:48] local.INFO: Acknowledgment sent {"connection_id":152788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:34:58] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:58] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:34:58] local.INFO: IMEI packet received {"connection_id":150336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":150336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:35:05] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeae8880012d77868005f130e00005015b29..."} 
[2026-08-08 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeae8880012d77868005f130e00005015b29..."} 
[2026-08-08 05:35:05] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeae8880012d77868005f130e00005015b29..."} 
[2026-08-08 05:35:05] local.INFO: Packet analysis {"connection_id":150336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:35:05] local.INFO: Extracted packet for processing {"connection_id":150336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:35:05] local.INFO: GPS Element Parsed {"raw_longitude":762807936,"raw_latitude":99692768,"longitude_deg":76.2807936,"latitude_deg":9.9692768,"altitude":5,"angle":347,"satellites":41,"speed":36,"hex_longitude":"2d778680","hex_latitude":"05f130e0","is_valid_coordinates":true} 
[2026-08-08 05:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253734656001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115811873286258688,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613345419098380288,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786147408000,"timestamp_ms":1786147408000,"timestamp_seconds":1786147408,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeae8880"} 
[2026-08-08 05:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:35: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-08-08 05: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 05:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:35:05] 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-08-08 05:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253734656001,"66":11721,"26":206,"87":11776,"24":36,"16":115811873286258688,"45":8613345419098380288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-08-08 05:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253734656001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:35:05] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 05:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115811873286258688,"km_value":115811873286258.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613345419098380288,"description":"Unknown IO ID 45"} 
[2026-08-08 05:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253734656001,"power":11721,"unknown_26":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8613345419098380288}} 
[2026-08-08 05:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":150336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:35:05] local.INFO: GPS data processed {"connection_id":150336,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:35:05] local.INFO: Acknowledgment sent {"connection_id":150336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:35:06] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaeaf90012d777b8005f154d80006015627..."} 
[2026-08-08 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaeaf90012d777b8005f154d80006015627..."} 
[2026-08-08 05:35:06] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaeaf90012d777b8005f154d80006015627..."} 
[2026-08-08 05:35:06] local.INFO: Packet analysis {"connection_id":150336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:35:06] local.INFO: Extracted packet for processing {"connection_id":150336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeae"} 
[2026-08-08 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":762805120,"raw_latitude":99701976,"longitude_deg":76.280512,"latitude_deg":9.9701976,"altitude":6,"angle":342,"satellites":39,"speed":38,"hex_longitude":"2d777b80","hex_latitude":"05f154d8","is_valid_coordinates":true} 
[2026-08-08 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253736448001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115812341437693952,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8612712100402356224,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786147418000,"timestamp_ms":1786147418000,"timestamp_seconds":1786147418,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaeaf90"} 
[2026-08-08 05:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 05:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:35:06] 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-08-08 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253736448001,"66":11776,"26":206,"87":11776,"24":38,"16":115812341437693952,"45":8612712100402356224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-08-08 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253736448001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:35:06] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 05:35:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-08-08 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115812341437693952,"km_value":115812341437693.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8612712100402356224,"description":"Unknown IO ID 45"} 
[2026-08-08 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253736448001,"power":11776,"unknown_26":206,"unknown_87":11776,"ignition":38,"odometer":null,"unknown_45":8612712100402356224}} 
[2026-08-08 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":150336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:35:06] local.INFO: GPS data processed {"connection_id":150336,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:35:06] local.INFO: Acknowledgment sent {"connection_id":150336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:35:19] local.INFO: TCP Data received {"connection_id":152788,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaf72e0012d27f34006c22fa0000a009930..."} 
[2026-08-08 05:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaf72e0012d27f34006c22fa0000a009930..."} 
[2026-08-08 05:35:19] local.INFO: Processing buffer {"connection_id":152788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaf72e0012d27f34006c22fa0000a009930..."} 
[2026-08-08 05:35:19] local.INFO: Packet analysis {"connection_id":152788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:35:19] local.INFO: Extracted packet for processing {"connection_id":152788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:35:19] local.INFO: GPS Element Parsed {"raw_longitude":757592896,"raw_latitude":113389472,"longitude_deg":75.7592896,"latitude_deg":11.3389472,"altitude":10,"angle":153,"satellites":48,"speed":57,"hex_longitude":"2d27f340","hex_latitude":"06c22fa0","is_valid_coordinates":true} 
[2026-08-08 05:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253750272001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374771480380047360,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2874352122454818816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786147468000,"timestamp_ms":1786147468000,"timestamp_seconds":1786147468,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaf72e0"} 
[2026-08-08 05:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:35: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-08-08 05: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253750272001,"66":27397,"76":206,"2":57088,"24":57,"16":374771480380047360,"45":2874352122454818816},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253750272001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:35:19] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374771480380047360,"km_value":374771480380047.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2874352122454818816,"description":"Unknown IO ID 45"} 
[2026-08-08 05:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253750272001,"power":27397,"unknown_76":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":2874352122454818816}} 
[2026-08-08 05:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":152788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:35:19] local.INFO: GPS data processed {"connection_id":152788,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:35:19] local.INFO: Acknowledgment sent {"connection_id":152788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:35:36] local.INFO: TCP Data received {"connection_id":150337,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:36] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:36] local.INFO: IMEI packet received {"connection_id":150337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:35:37] local.INFO: TCP Data received {"connection_id":150337,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:37] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:37] local.INFO: IMEI packet received {"connection_id":150337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":150337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:35:42] local.INFO: TCP Data received {"connection_id":150337,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:42] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:35:42] local.INFO: IMEI packet received {"connection_id":150337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":150337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:35:43] local.INFO: TCP Data received {"connection_id":150337,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaf7e98012d27fc0006c22200000a008d30..."} 
[2026-08-08 05:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaf7e98012d27fc0006c22200000a008d30..."} 
[2026-08-08 05:35:43] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaf7e98012d27fc0006c22200000a008d30..."} 
[2026-08-08 05:35:43] local.INFO: Packet analysis {"connection_id":150337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:35:43] local.INFO: Extracted packet for processing {"connection_id":150337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:35:43] local.INFO: GPS Element Parsed {"raw_longitude":757595136,"raw_latitude":113385984,"longitude_deg":75.7595136,"latitude_deg":11.3385984,"altitude":10,"angle":141,"satellites":48,"speed":54,"hex_longitude":"2d27fc00","hex_latitude":"06c22200","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253751808001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374771677948542976,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2878714984591761408,"note":"Value kept but may cause issues"} 
[2026-08-08 05:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786147471000,"timestamp_ms":1786147471000,"timestamp_seconds":1786147471,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaf7e98"} 
[2026-08-08 05:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253751808001,"66":27376,"76":206,"2":57088,"24":54,"16":374771677948542976,"45":2878714984591761408},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253751808001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:35:43] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374771677948542976,"km_value":374771677948543.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2878714984591761408,"description":"Unknown IO ID 45"} 
[2026-08-08 05:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253751808001,"power":27376,"unknown_76":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":2878714984591761408}} 
[2026-08-08 05:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":150337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:35:43] local.INFO: GPS data processed {"connection_id":150337,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:35:43] local.INFO: Acknowledgment sent {"connection_id":150337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:36:07] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:07] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:07] local.INFO: IMEI packet received {"connection_id":150338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":150338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:36:13] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:13] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:13] local.INFO: IMEI packet received {"connection_id":150338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":150338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:36:14] local.INFO: TCP Data received {"connection_id":150337,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeaf99f0012d2814c006c20358000b008e30..."} 
[2026-08-08 05:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeaf99f0012d2814c006c20358000b008e30..."} 
[2026-08-08 05:36:14] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeaf99f0012d2814c006c20358000b008e30..."} 
[2026-08-08 05:36:14] local.INFO: Packet analysis {"connection_id":150337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:36:14] local.INFO: Extracted packet for processing {"connection_id":150337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:36:14] local.INFO: GPS Element Parsed {"raw_longitude":757601472,"raw_latitude":113378136,"longitude_deg":75.7601472,"latitude_deg":11.3378136,"altitude":11,"angle":142,"satellites":48,"speed":58,"hex_longitude":"2d2814c0","hex_latitude":"06c20358","is_valid_coordinates":true} 
[2026-08-08 05:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253752576001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374772163279847424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2881177890637086720,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786147478000,"timestamp_ms":1786147478000,"timestamp_seconds":1786147478,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeaf99f0"} 
[2026-08-08 05:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253752576001,"66":27343,"76":206,"2":57088,"24":58,"16":374772163279847424,"45":2881177890637086720},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253752576001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:36:14] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374772163279847424,"km_value":374772163279847.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2881177890637086720,"description":"Unknown IO ID 45"} 
[2026-08-08 05:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253752576001,"power":27343,"unknown_76":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":2881177890637086720}} 
[2026-08-08 05:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":150337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:36:14] local.INFO: GPS data processed {"connection_id":150337,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:36:14] local.INFO: Acknowledgment sent {"connection_id":150337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:36:15] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeafe040012d77040005f253c8000601571f..."} 
[2026-08-08 05:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeafe040012d77040005f253c8000601571f..."} 
[2026-08-08 05:36:15] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeafe040012d77040005f253c8000601571f..."} 
[2026-08-08 05:36:15] local.INFO: Packet analysis {"connection_id":150338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:36:15] local.INFO: Extracted packet for processing {"connection_id":150338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeaf"} 
[2026-08-08 05:36:15] local.INFO: GPS Element Parsed {"raw_longitude":762774528,"raw_latitude":99767240,"longitude_deg":76.2774528,"latitude_deg":9.976724,"altitude":6,"angle":343,"satellites":31,"speed":39,"hex_longitude":"2d770400","hex_latitude":"05f253c8","is_valid_coordinates":true} 
[2026-08-08 05:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253756672001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115815906260549632,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8578723996981401600,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786147496000,"timestamp_ms":1786147496000,"timestamp_seconds":1786147496,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeafe040"} 
[2026-08-08 05:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:36: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-08-08 05: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 05:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:36:15] 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-08-08 05:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253756672001,"66":11852,"18":206,"87":13568,"24":39,"16":115815906260549632,"45":8578723996981401600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,87,24,16,45]} 
[2026-08-08 05:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253756672001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:36:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-08 05:36:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115815906260549632,"km_value":115815906260549.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8578723996981401600,"description":"Unknown IO ID 45"} 
[2026-08-08 05:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253756672001,"power":11852,"unknown_18":206,"unknown_87":13568,"ignition":39,"odometer":null,"unknown_45":8578723996981401600}} 
[2026-08-08 05:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":150338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:36:15] local.INFO: GPS data processed {"connection_id":150338,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:36:15] local.INFO: Acknowledgment sent {"connection_id":150338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:36:39] local.INFO: TCP Data received {"connection_id":152789,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:40] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:40] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:36:41] local.INFO: TCP Data received {"connection_id":152789,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:41] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:41] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:36:46] local.INFO: TCP Data received {"connection_id":150081,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:46] local.INFO: Processing buffer {"connection_id":150081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:46] local.INFO: IMEI packet received {"connection_id":150081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":150081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:36:46] local.INFO: TCP Data received {"connection_id":150081,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:47] local.INFO: Processing buffer {"connection_id":150081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:36:47] local.INFO: IMEI packet received {"connection_id":150081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":150081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:36:47] local.INFO: TCP Data received {"connection_id":152789,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:47] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:36:47] local.INFO: IMEI packet received {"connection_id":152789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":152789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:36:49] local.INFO: TCP Data received {"connection_id":152789,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb0af48012d29350006c0d9280009008830..."} 
[2026-08-08 05:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb0af48012d29350006c0d9280009008830..."} 
[2026-08-08 05:36:49] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb0af48012d29350006c0d9280009008830..."} 
[2026-08-08 05:36:49] local.INFO: Packet analysis {"connection_id":152789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:36:49] local.INFO: Extracted packet for processing {"connection_id":152789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:36:49] local.INFO: GPS Element Parsed {"raw_longitude":757675264,"raw_latitude":113301800,"longitude_deg":75.7675264,"latitude_deg":11.33018,"altitude":9,"angle":136,"satellites":48,"speed":59,"hex_longitude":"2d293500","hex_latitude":"06c0d928","is_valid_coordinates":true} 
[2026-08-08 05:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253771008001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374777265700995072,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2962383421398212608,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786147549000,"timestamp_ms":1786147549000,"timestamp_seconds":1786147549,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb0af48"} 
[2026-08-08 05:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:36: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-08-08 05:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253771008001,"66":27463,"76":206,"2":57088,"24":59,"16":374777265700995072,"45":2962383421398212608},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253771008001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:36:49] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374777265700995072,"km_value":374777265700995.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2962383421398212608,"description":"Unknown IO ID 45"} 
[2026-08-08 05:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253771008001,"power":27463,"unknown_76":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":2962383421398212608}} 
[2026-08-08 05:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":152789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:36:49] local.INFO: GPS data processed {"connection_id":152789,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:36:49] local.INFO: Acknowledgment sent {"connection_id":152789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:36:53] local.INFO: TCP Data received {"connection_id":152789,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb0c6b8012d294dc006c0bff80007008730..."} 
[2026-08-08 05:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb0c6b8012d294dc006c0bff80007008730..."} 
[2026-08-08 05:36:53] local.INFO: Processing buffer {"connection_id":152789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb0c6b8012d294dc006c0bff80007008730..."} 
[2026-08-08 05:36:53] local.INFO: Packet analysis {"connection_id":152789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:36:53] local.INFO: Extracted packet for processing {"connection_id":152789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":757681600,"raw_latitude":113295352,"longitude_deg":75.76816,"latitude_deg":11.3295352,"altitude":7,"angle":135,"satellites":48,"speed":59,"hex_longitude":"2d294dc0","hex_latitude":"06c0bff8","is_valid_coordinates":true} 
[2026-08-08 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253772544001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374777699492691968,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2969279558325970944,"note":"Value kept but may cause issues"} 
[2026-08-08 05:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786147555000,"timestamp_ms":1786147555000,"timestamp_seconds":1786147555,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb0c6b8"} 
[2026-08-08 05:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253772544001,"66":27365,"76":206,"2":57088,"24":59,"16":374777699492691968,"45":2969279558325970944},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253772544001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374777699492691968,"km_value":374777699492691.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2969279558325970944,"description":"Unknown IO ID 45"} 
[2026-08-08 05:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253772544001,"power":27365,"unknown_76":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":2969279558325970944}} 
[2026-08-08 05:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":152789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:36:53] local.INFO: GPS data processed {"connection_id":152789,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:36:53] local.INFO: Acknowledgment sent {"connection_id":152789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:37:12] local.INFO: TCP Data received {"connection_id":150081,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb13418012d767c0005f365b8000c00212b..."} 
[2026-08-08 05:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb13418012d767c0005f365b8000c00212b..."} 
[2026-08-08 05:37:12] local.INFO: Processing buffer {"connection_id":150081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb13418012d767c0005f365b8000c00212b..."} 
[2026-08-08 05:37:12] local.INFO: Packet analysis {"connection_id":150081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:12] local.INFO: Extracted packet for processing {"connection_id":150081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:12] local.INFO: GPS Element Parsed {"raw_longitude":762739712,"raw_latitude":99837368,"longitude_deg":76.2739712,"latitude_deg":9.9837368,"altitude":12,"angle":33,"satellites":43,"speed":9,"hex_longitude":"2d767c00","hex_latitude":"05f365b8","is_valid_coordinates":true} 
[2026-08-08 05:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253780992001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115819707306606592,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8537628650401757184,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786147583000,"timestamp_ms":1786147583000,"timestamp_seconds":1786147583,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb13418"} 
[2026-08-08 05:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 05:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:37:12] 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-08-08 05:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253780992001,"66":11808,"113":206,"87":12032,"24":9,"16":115819707306606592,"45":8537628650401757184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,87,24,16,45]} 
[2026-08-08 05:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253780992001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:37:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-08-08 05:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115819707306606592,"km_value":115819707306606.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8537628650401757184,"description":"Unknown IO ID 45"} 
[2026-08-08 05:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253780992001,"power":11808,"unknown_113":206,"unknown_87":12032,"ignition":9,"odometer":null,"unknown_45":8537628650401757184}} 
[2026-08-08 05:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":150081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:37:12] local.INFO: GPS data processed {"connection_id":150081,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:37:12] local.INFO: Acknowledgment sent {"connection_id":150081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:37:28] local.INFO: TCP Data received {"connection_id":150081,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb13be8012d767d8005f36740000c00342c..."} 
[2026-08-08 05:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb13be8012d767d8005f36740000c00342c..."} 
[2026-08-08 05:37:28] local.INFO: Processing buffer {"connection_id":150081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb13be8012d767d8005f36740000c00342c..."} 
[2026-08-08 05:37:28] local.INFO: Packet analysis {"connection_id":150081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:28] local.INFO: Extracted packet for processing {"connection_id":150081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:28] local.INFO: GPS Element Parsed {"raw_longitude":762740096,"raw_latitude":99837760,"longitude_deg":76.2740096,"latitude_deg":9.983776,"altitude":12,"angle":52,"satellites":44,"speed":10,"hex_longitude":"2d767d80","hex_latitude":"05f36740","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253781248001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115819733076410368,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8537699019145984000,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786147585000,"timestamp_ms":1786147585000,"timestamp_seconds":1786147585,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb13be8"} 
[2026-08-08 05:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-08 05:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":150081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":150081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":150081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:37: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-08-08 05:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253781248001,"66":11874,"113":206,"87":12032,"24":10,"16":115819733076410368,"45":8537699019145984000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,87,24,16,45]} 
[2026-08-08 05:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253781248001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:37:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:37:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-08-08 05:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115819733076410368,"km_value":115819733076410.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8537699019145984000,"description":"Unknown IO ID 45"} 
[2026-08-08 05:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253781248001,"power":11874,"unknown_113":206,"unknown_87":12032,"ignition":10,"odometer":null,"unknown_45":8537699019145984000}} 
[2026-08-08 05:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":150081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:37:28] local.INFO: GPS data processed {"connection_id":150081,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:37:28] local.INFO: Acknowledgment sent {"connection_id":150081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:37:32] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:37:32] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:37:32] local.INFO: IMEI packet received {"connection_id":151313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":151313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:37:37] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:37] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:37] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:37:38] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:38] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:38] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:37:42] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:42] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:37:42] local.INFO: IMEI packet received {"connection_id":151314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":151314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:37:44] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":1360,"data_hex":"000000000000030f8e0a0000019fdeb0de28012d29674006c0a800000600832f..."} 
[2026-08-08 05:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fdeb0de28012d29674006c0a800000600832f..."} 
[2026-08-08 05:37:44] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fdeb0de28012d29674006c0a800000600832f..."} 
[2026-08-08 05:37:44] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:37:44] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:37:44] local.INFO: GPS Element Parsed {"raw_longitude":757688128,"raw_latitude":113289216,"longitude_deg":75.7688128,"latitude_deg":11.3289216,"altitude":6,"angle":131,"satellites":47,"speed":58,"hex_longitude":"2d296740","hex_latitude":"06c0a800","is_valid_coordinates":true} 
[2026-08-08 05:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253774080001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374778128989421568,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2976246063997908992,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786147561000,"timestamp_ms":1786147561000,"timestamp_seconds":1786147561,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb0de28"} 
[2026-08-08 05:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253774080001,"66":27365,"76":206,"2":57088,"24":58,"16":374778128989421568,"45":2976246063997908992},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253774080001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:37:44] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374778128989421568,"km_value":374778128989421.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2976246063997908992,"description":"Unknown IO ID 45"} 
[2026-08-08 05:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253774080001,"power":27365,"unknown_76":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":2976246063997908992}} 
[2026-08-08 05:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:37:44] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:37:44] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:37:44] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:37:44] local.INFO: Incomplete packet, waiting for more data {"connection_id":151314,"needed":795,"available":565} 
[2026-08-08 05:37:45] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":230,"data_hex":"2d28ca8006c14590000b00872f003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-08 05:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":230,"packet_hex":"2d28ca8006c14590000b00872f003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-08 05:37:45] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb0f980012d2985c006c08d70000700832e..."} 
[2026-08-08 05:37:45] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:37:45] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb0"} 
[2026-08-08 05:37:45] local.INFO: GPS Element Parsed {"raw_longitude":757695936,"raw_latitude":113282416,"longitude_deg":75.7695936,"latitude_deg":11.3282416,"altitude":7,"angle":131,"satellites":46,"speed":59,"hex_longitude":"2d2985c0","hex_latitude":"06c08d70","is_valid_coordinates":true} 
[2026-08-08 05:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253775616001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374778622910660608,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2983423675902459904,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786147568000,"timestamp_ms":1786147568000,"timestamp_seconds":1786147568,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb0f980"} 
[2026-08-08 05:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:37: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-08-08 05:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253775616001,"66":27463,"76":206,"2":57088,"24":59,"16":374778622910660608,"45":2983423675902459904},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253775616001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:37:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374778622910660608,"km_value":374778622910660.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2983423675902459904,"description":"Unknown IO ID 45"} 
[2026-08-08 05:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253775616001,"power":27463,"unknown_76":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":2983423675902459904}} 
[2026-08-08 05:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:37:45] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:37:45] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:37:46] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb110f0012d299f4006c07568000700892e..."} 
[2026-08-08 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb110f0012d299f4006c07568000700892e..."} 
[2026-08-08 05:37:46] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb110f0012d299f4006c07568000700892e..."} 
[2026-08-08 05:37:46] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:46] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:46] local.INFO: GPS Element Parsed {"raw_longitude":757702464,"raw_latitude":113276264,"longitude_deg":75.7702464,"latitude_deg":11.3276264,"altitude":7,"angle":137,"satellites":46,"speed":59,"hex_longitude":"2d299f40","hex_latitude":"06c07568","is_valid_coordinates":true} 
[2026-08-08 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374779056702357504,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2992008662690394112,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786147574000,"timestamp_ms":1786147574000,"timestamp_seconds":1786147574,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb110f0"} 
[2026-08-08 05:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05: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-08-08 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253777408001,"66":27397,"76":206,"2":57088,"24":59,"16":374779056702357504,"45":2992008662690394112},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-08 05:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:37:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 05:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374779056702357504,"km_value":374779056702357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2992008662690394112,"description":"Unknown IO ID 45"} 
[2026-08-08 05:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253777408001,"power":27397,"unknown_76":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":2992008662690394112}} 
[2026-08-08 05:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:37:47] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:37:47] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:37:49] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:37:49] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:37:49] local.INFO: IMEI packet received {"connection_id":151313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":151313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:37:50] local.INFO: TCP Data received {"connection_id":151313,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb18a08012d7682c005f36af8000b003925..."} 
[2026-08-08 05:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb18a08012d7682c005f36af8000b003925..."} 
[2026-08-08 05:37:50] local.INFO: Processing buffer {"connection_id":151313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb18a08012d7682c005f36af8000b003925..."} 
[2026-08-08 05:37:50] local.INFO: Packet analysis {"connection_id":151313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:50] local.INFO: Extracted packet for processing {"connection_id":151313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb1"} 
[2026-08-08 05:37:50] local.INFO: GPS Element Parsed {"raw_longitude":762741440,"raw_latitude":99838712,"longitude_deg":76.274144,"latitude_deg":9.9838712,"altitude":11,"angle":57,"satellites":37,"speed":0,"hex_longitude":"2d7682c0","hex_latitude":"05f36af8","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253781760001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115819814680788992,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8538121231611150336,"note":"Value kept but may cause issues"} 
[2026-08-08 05:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786147605000,"timestamp_ms":1786147605000,"timestamp_seconds":1786147605,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb18a08"} 
[2026-08-08 05:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:37:50] 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-08-08 05: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-08-08 05:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:37:50] 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-08-08 05:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253781760001,"66":11863,"113":206,"87":12032,"24":0,"16":115819814680788992,"45":8538121231611150336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,87,24,16,45]} 
[2026-08-08 05:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253781760001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:37:50] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 05:37:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":12032,"description":"Unknown IO ID 87"} 
[2026-08-08 05:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115819814680788992,"km_value":115819814680788.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8538121231611150336,"description":"Unknown IO ID 45"} 
[2026-08-08 05:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253781760001,"power":11863,"unknown_113":206,"unknown_87":12032,"ignition":0,"odometer":null,"unknown_45":8538121231611150336}} 
[2026-08-08 05:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":151313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:37:50] local.INFO: GPS data processed {"connection_id":151313,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:37:50] local.INFO: Acknowledgment sent {"connection_id":151313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:38:19] local.INFO: TCP Data received {"connection_id":151314,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb21a90012d2a8c8006bf37c80009008e2e..."} 
[2026-08-08 05:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb21a90012d2a8c8006bf37c80009008e2e..."} 
[2026-08-08 05:38:19] local.INFO: Processing buffer {"connection_id":151314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb21a90012d2a8c8006bf37c80009008e2e..."} 
[2026-08-08 05:38:19] local.INFO: Packet analysis {"connection_id":151314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:19] local.INFO: Extracted packet for processing {"connection_id":151314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:19] local.INFO: GPS Element Parsed {"raw_longitude":757763200,"raw_latitude":113194952,"longitude_deg":75.77632,"latitude_deg":11.3194952,"altitude":9,"angle":142,"satellites":46,"speed":59,"hex_longitude":"2d2a8c80","hex_latitude":"06bf37c8","is_valid_coordinates":true} 
[2026-08-08 05:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253794816001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374783944375140352,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3059914500801271808,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786147642000,"timestamp_ms":1786147642000,"timestamp_seconds":1786147642,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb21a90"} 
[2026-08-08 05:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:38: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-08-08 05:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:38: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-08-08 05:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253794816001,"66":27365,"242":206,"2":57088,"24":59,"16":374783944375140352,"45":3059914500801271808},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-08 05:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253794816001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:38:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 05:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374783944375140352,"km_value":374783944375140.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3059914500801271808,"description":"Unknown IO ID 45"} 
[2026-08-08 05:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253794816001,"power":27365,"unknown_242":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3059914500801271808}} 
[2026-08-08 05:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":151314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:38:19] local.INFO: GPS data processed {"connection_id":151314,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:38:19] local.INFO: Acknowledgment sent {"connection_id":151314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:38:32] local.INFO: TCP Data received {"connection_id":150082,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:32] local.INFO: Processing buffer {"connection_id":150082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:32] local.INFO: IMEI packet received {"connection_id":150082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":150082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:38:33] local.INFO: TCP Data received {"connection_id":150082,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:33] local.INFO: Processing buffer {"connection_id":150082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:33] local.INFO: IMEI packet received {"connection_id":150082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":150082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:38:36] local.INFO: TCP Data received {"connection_id":150083,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:36] local.INFO: Processing buffer {"connection_id":150083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:36] local.INFO: IMEI packet received {"connection_id":150083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":150083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:38:37] local.INFO: TCP Data received {"connection_id":150082,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:37] local.INFO: Processing buffer {"connection_id":150082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:38:37] local.INFO: IMEI packet received {"connection_id":150082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":150082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:38:38] local.INFO: TCP Data received {"connection_id":150082,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb2dde0012d777d8005f3b0c80006004c2a..."} 
[2026-08-08 05:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb2dde0012d777d8005f3b0c80006004c2a..."} 
[2026-08-08 05:38:38] local.INFO: Processing buffer {"connection_id":150082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb2dde0012d777d8005f3b0c80006004c2a..."} 
[2026-08-08 05:38:38] local.INFO: Packet analysis {"connection_id":150082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:38] local.INFO: Extracted packet for processing {"connection_id":150082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":762805632,"raw_latitude":99856584,"longitude_deg":76.2805632,"latitude_deg":9.9856584,"altitude":6,"angle":76,"satellites":42,"speed":37,"hex_longitude":"2d777d80","hex_latitude":"05f3b0c8","is_valid_coordinates":true} 
[2026-08-08 05:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253806592001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115823040201228288,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8600116095235809280,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786147692000,"timestamp_ms":1786147692000,"timestamp_seconds":1786147692,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb2dde0"} 
[2026-08-08 05:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2594073385533178880,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3736208160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2991669249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2608332808,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7597854932576698392,"corrected_to":0} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-899233385552001500,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194794496,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,7,87,24,241,157,16,124,159,182,45,192,166,39,10,66,143,64,161,111,123,104,1,240,26,227,222,243,4,113,205,35,42,212,128,40,239,46,2,155,5,69],"length":484,"final_offset":614,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7597854932576698392,"validated":0}]} 
[2026-08-08 05:38:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504484689632231424,"timestamp_seconds":504484689632231.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:38:38] 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-08-08 05:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253806592001,"66":12232,"7":206,"87":13568,"24":37,"16":115823040201228288,"45":8600116095235809280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-08-08 05:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253806592001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:38:38] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-08 05:38:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115823040201228288,"km_value":115823040201228.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8600116095235809280,"description":"Unknown IO ID 45"} 
[2026-08-08 05:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253806592001,"power":12232,"unknown_7":206,"unknown_87":13568,"ignition":37,"odometer":null,"unknown_45":8600116095235809280}} 
[2026-08-08 05:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":150082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:38:38] local.INFO: GPS data processed {"connection_id":150082,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:38:38] local.INFO: Acknowledgment sent {"connection_id":150082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:38:39] local.INFO: TCP Data received {"connection_id":150083,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:39] local.INFO: Processing buffer {"connection_id":150083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:39] local.INFO: IMEI packet received {"connection_id":150083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":150083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:38:42] local.INFO: TCP Data received {"connection_id":150083,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:42] local.INFO: Processing buffer {"connection_id":150083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:38:42] local.INFO: IMEI packet received {"connection_id":150083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":150083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:38:42] local.INFO: TCP Data received {"connection_id":150083,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb23200012d2aa30006bf1c780007008c2f..."} 
[2026-08-08 05:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb23200012d2aa30006bf1c780007008c2f..."} 
[2026-08-08 05:38:42] local.INFO: Processing buffer {"connection_id":150083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb23200012d2aa30006bf1c780007008c2f..."} 
[2026-08-08 05:38:42] local.INFO: Packet analysis {"connection_id":150083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:42] local.INFO: Extracted packet for processing {"connection_id":150083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":757768960,"raw_latitude":113187960,"longitude_deg":75.776896,"latitude_deg":11.318796,"altitude":7,"angle":140,"satellites":47,"speed":58,"hex_longitude":"2d2aa300","hex_latitude":"06bf1c78","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253796352001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374784382461804544,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3065966212798728192,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147648000,"timestamp_ms":1786147648000,"timestamp_seconds":1786147648,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb23200"} 
[2026-08-08 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-08-08 05:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253796352001,"66":27463,"242":206,"2":57088,"24":58,"16":374784382461804544,"45":3065966212798728192},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-08 05:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253796352001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:38:43] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 05:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374784382461804544,"km_value":374784382461804.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3065966212798728192,"description":"Unknown IO ID 45"} 
[2026-08-08 05:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253796352001,"power":27463,"unknown_242":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3065966212798728192}} 
[2026-08-08 05:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":150083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:38:43] local.INFO: GPS data processed {"connection_id":150083,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:38:43] local.INFO: Acknowledgment sent {"connection_id":150083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:38:44] local.INFO: TCP Data received {"connection_id":150083,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb24d58012d2abd4006befdd80007008c2e..."} 
[2026-08-08 05:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb24d58012d2abd4006befdd80007008c2e..."} 
[2026-08-08 05:38:44] local.INFO: Processing buffer {"connection_id":150083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb24d58012d2abd4006befdd80007008c2e..."} 
[2026-08-08 05:38:44] local.INFO: Packet analysis {"connection_id":150083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:44] local.INFO: Extracted packet for processing {"connection_id":150083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:38:44] local.INFO: GPS Element Parsed {"raw_longitude":757775680,"raw_latitude":113180120,"longitude_deg":75.777568,"latitude_deg":11.318012,"altitude":7,"angle":140,"satellites":46,"speed":59,"hex_longitude":"2d2abd40","hex_latitude":"06befdd8","is_valid_coordinates":true} 
[2026-08-08 05:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253797888001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374784876383043584,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3072299399772928000,"note":"Value kept but may cause issues"} 
[2026-08-08 05:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786147655000,"timestamp_ms":1786147655000,"timestamp_seconds":1786147655,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb24d58"} 
[2026-08-08 05:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253797888001,"66":27484,"242":206,"2":57088,"24":59,"16":374784876383043584,"45":3072299399772928000},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-08 05:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253797888001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:38:44] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 05:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374784876383043584,"km_value":374784876383043.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3072299399772928000,"description":"Unknown IO ID 45"} 
[2026-08-08 05:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253797888001,"power":27484,"unknown_242":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3072299399772928000}} 
[2026-08-08 05:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":150083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:38:44] local.INFO: GPS data processed {"connection_id":150083,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:38:44] local.INFO: Acknowledgment sent {"connection_id":150083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:39:09] local.INFO: TCP Data received {"connection_id":150082,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb304f0012d77a0c005f3b8a80008004e27..."} 
[2026-08-08 05:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb304f0012d77a0c005f3b8a80008004e27..."} 
[2026-08-08 05:39:09] local.INFO: Processing buffer {"connection_id":150082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb304f0012d77a0c005f3b8a80008004e27..."} 
[2026-08-08 05:39:09] local.INFO: Packet analysis {"connection_id":150082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:39:09] local.INFO: Extracted packet for processing {"connection_id":150082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:39:09] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99858600,"longitude_deg":76.2814656,"latitude_deg":9.98586,"altitude":8,"angle":78,"satellites":39,"speed":36,"hex_longitude":"2d77a0c0","hex_latitude":"05f3b8a8","is_valid_coordinates":true} 
[2026-08-08 05:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253809152001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115823482582859776,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8610178825653897216,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786147702000,"timestamp_ms":1786147702000,"timestamp_seconds":1786147702,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb304f0"} 
[2026-08-08 05:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 05:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:39:09] 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-08-08 05:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253809152001,"66":11798,"218":206,"87":13568,"24":36,"16":115823482582859776,"45":8610178825653897216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-08-08 05:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253809152001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:39:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 05:39:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115823482582859776,"km_value":115823482582859.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8610178825653897216,"description":"Unknown IO ID 45"} 
[2026-08-08 05:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253809152001,"power":11798,"unknown_218":206,"unknown_87":13568,"ignition":36,"odometer":null,"unknown_45":8610178825653897216}} 
[2026-08-08 05:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":150082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:39:09] local.INFO: GPS data processed {"connection_id":150082,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:39:09] local.INFO: Acknowledgment sent {"connection_id":150082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:39:21] local.INFO: TCP Data received {"connection_id":150083,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb264c8012d2ad3c006bee3080006008b2f..."} 
[2026-08-08 05:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb264c8012d2ad3c006bee3080006008b2f..."} 
[2026-08-08 05:39:21] local.INFO: Processing buffer {"connection_id":150083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb264c8012d2ad3c006bee3080006008b2f..."} 
[2026-08-08 05:39:21] local.INFO: Packet analysis {"connection_id":150083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:39:21] local.INFO: Extracted packet for processing {"connection_id":150083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb2"} 
[2026-08-08 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":757781440,"raw_latitude":113173256,"longitude_deg":75.778144,"latitude_deg":11.3173256,"altitude":6,"angle":139,"satellites":47,"speed":59,"hex_longitude":"2d2ad3c0","hex_latitude":"06bee308","is_valid_coordinates":true} 
[2026-08-08 05:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253799680001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374785310174740480,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3079688117909575680,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786147661000,"timestamp_ms":1786147661000,"timestamp_seconds":1786147661,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb264c8"} 
[2026-08-08 05:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253799680001,"66":27484,"242":206,"2":57088,"24":59,"16":374785310174740480,"45":3079688117909575680},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-08 05:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253799680001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:39:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 05:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374785310174740480,"km_value":374785310174740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3079688117909575680,"description":"Unknown IO ID 45"} 
[2026-08-08 05:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253799680001,"power":27484,"unknown_242":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3079688117909575680}} 
[2026-08-08 05:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":150083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:39:21] local.INFO: GPS data processed {"connection_id":150083,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:39:21] local.INFO: Acknowledgment sent {"connection_id":150083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:39:36] local.INFO: TCP Data received {"connection_id":152790,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:39:36] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:39:36] local.INFO: IMEI packet received {"connection_id":152790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":152790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:39:37] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:39:37] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:39:37] local.INFO: IMEI packet received {"connection_id":150339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":150339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:39:41] local.INFO: TCP Data received {"connection_id":152790,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:39:41] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:39:41] local.INFO: IMEI packet received {"connection_id":152790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":152790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:39:42] local.INFO: TCP Data received {"connection_id":152790,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb36e68012d2bd24006bdb510000c008e30..."} 
[2026-08-08 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb36e68012d2bd24006bdb510000c008e30..."} 
[2026-08-08 05:39:42] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb36e68012d2bd24006bdb510000c008e30..."} 
[2026-08-08 05:39:42] local.INFO: Packet analysis {"connection_id":152790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:39:42] local.INFO: Extracted packet for processing {"connection_id":152790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":757846592,"raw_latitude":113095952,"longitude_deg":75.7846592,"latitude_deg":11.3095952,"altitude":12,"angle":142,"satellites":48,"speed":61,"hex_longitude":"2d2bd240","hex_latitude":"06bdb510","is_valid_coordinates":true} 
[2026-08-08 05:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253817088001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374790176372686848,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3150901286997495808,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147729000,"timestamp_ms":1786147729000,"timestamp_seconds":1786147729,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb36e68"} 
[2026-08-08 05:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 05:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253817088001,"66":27484,"243":206,"2":57088,"24":61,"16":374790176372686848,"45":3150901286997495808},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-08 05:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253817088001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:39:42] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 05:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374790176372686848,"km_value":374790176372686.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3150901286997495808,"description":"Unknown IO ID 45"} 
[2026-08-08 05:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253817088001,"power":27484,"unknown_243":206,"power_alt":57088,"ignition":61,"odometer":null,"unknown_45":3150901286997495808}} 
[2026-08-08 05:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":152790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:39:42] local.INFO: GPS data processed {"connection_id":152790,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:39:42] local.INFO: Acknowledgment sent {"connection_id":152790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:39:42] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:39:42] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:39:42] local.INFO: IMEI packet received {"connection_id":150339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":150339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:39:43] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb32c00012d77c50005f3c1a00007004b29..."} 
[2026-08-08 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb32c00012d77c50005f3c1a00007004b29..."} 
[2026-08-08 05:39:43] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb32c00012d77c50005f3c1a00007004b29..."} 
[2026-08-08 05:39:43] local.INFO: Packet analysis {"connection_id":150339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:39:43] local.INFO: Extracted packet for processing {"connection_id":150339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":762823936,"raw_latitude":99860896,"longitude_deg":76.2823936,"latitude_deg":9.9860896,"altitude":7,"angle":75,"satellites":41,"speed":36,"hex_longitude":"2d77c500","hex_latitude":"05f3c1a0","is_valid_coordinates":true} 
[2026-08-08 05:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253811712001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115823942144360448,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818583463936,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786147712000,"timestamp_ms":1786147712000,"timestamp_seconds":1786147712,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb32c00"} 
[2026-08-08 05:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3736228160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184157839565,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2995765249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":243,"raw_value":-8842817816797764608,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1768882382,"corrected_to":0} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2952867191,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221615519,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":155,"raw_value":8856891617177501696,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6282240108286640130,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":212,"raw_value":4613361195259267584,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2882345542958975488,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57818304291428143,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":178,"raw_value":225181276144975877,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.WARNING: Large IO value detected {"io_id":36,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 05:39:43] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,218,87,24,241,157,16,124,159,221,45,128,176,6,42,10,66,7,182,192,166,39,1,240,5,227,222,243,4,113,205,40,104,12,168,239,47,111,2,155,90,206,212,74,22,178,36],"length":632,"final_offset":762,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1768882382,"validated":0}]} 
[2026-08-08 05:39:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576546681716473856,"timestamp_seconds":576546681716473.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:39:43] 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-08-08 05:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253811712001,"66":11917,"218":206,"87":13568,"24":36,"16":115823942144360448,"45":8620100818583463936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-08-08 05:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253811712001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:39:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 05:39:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115823942144360448,"km_value":115823942144360.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818583463936,"description":"Unknown IO ID 45"} 
[2026-08-08 05:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253811712001,"power":11917,"unknown_218":206,"unknown_87":13568,"ignition":36,"odometer":null,"unknown_45":8620100818583463936}} 
[2026-08-08 05:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":150339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:39:43] local.INFO: GPS data processed {"connection_id":150339,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:39:43] local.INFO: Acknowledgment sent {"connection_id":150339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:40:14] local.INFO: TCP Data received {"connection_id":152790,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb385d8012d2be78006bd9868000a008f30..."} 
[2026-08-08 05:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb385d8012d2be78006bd9868000a008f30..."} 
[2026-08-08 05:40:14] local.INFO: Processing buffer {"connection_id":152790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb385d8012d2be78006bd9868000a008f30..."} 
[2026-08-08 05:40:14] local.INFO: Packet analysis {"connection_id":152790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:40:14] local.INFO: Extracted packet for processing {"connection_id":152790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:40:14] local.INFO: GPS Element Parsed {"raw_longitude":757852032,"raw_latitude":113088616,"longitude_deg":75.7852032,"latitude_deg":11.3088616,"altitude":10,"angle":143,"satellites":48,"speed":58,"hex_longitude":"2d2be780","hex_latitude":"06bd9868","is_valid_coordinates":true} 
[2026-08-08 05:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253818624001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374790618754318336,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3157656686436880384,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786147735000,"timestamp_ms":1786147735000,"timestamp_seconds":1786147735,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb385d8"} 
[2026-08-08 05:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 05:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253818624001,"66":27397,"243":206,"2":57088,"24":58,"16":374790618754318336,"45":3157656686436880384},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-08 05:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253818624001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:40:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 05:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374790618754318336,"km_value":374790618754318.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3157656686436880384,"description":"Unknown IO ID 45"} 
[2026-08-08 05:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253818624001,"power":27397,"unknown_243":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3157656686436880384}} 
[2026-08-08 05:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":152790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:40:14] local.INFO: GPS data processed {"connection_id":152790,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:40:14] local.INFO: Acknowledgment sent {"connection_id":152790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:40:20] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb356f8012d77e84005f3cc700009004623..."} 
[2026-08-08 05:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb356f8012d77e84005f3cc700009004623..."} 
[2026-08-08 05:40:20] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb356f8012d77e84005f3cc700009004623..."} 
[2026-08-08 05:40:20] local.INFO: Packet analysis {"connection_id":150339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:40:20] local.INFO: Extracted packet for processing {"connection_id":150339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb3"} 
[2026-08-08 05:40:20] local.INFO: GPS Element Parsed {"raw_longitude":762832960,"raw_latitude":99863664,"longitude_deg":76.283296,"latitude_deg":9.9863664,"altitude":9,"angle":70,"satellites":35,"speed":35,"hex_longitude":"2d77e840","hex_latitude":"05f3cc70","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253814272001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115824393115926528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8630304286489812992,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786147723000,"timestamp_ms":1786147723000,"timestamp_seconds":1786147723,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb356f8"} 
[2026-08-08 05:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:40:20] 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-08-08 05: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-08-08 05:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:40:20] 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-08-08 05:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253814272001,"66":11917,"218":206,"87":13568,"24":35,"16":115824393115926528,"45":8630304286489812992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,87,24,16,45]} 
[2026-08-08 05:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253814272001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:40:20] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 05:40:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115824393115926528,"km_value":115824393115926.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8630304286489812992,"description":"Unknown IO ID 45"} 
[2026-08-08 05:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253814272001,"power":11917,"unknown_218":206,"unknown_87":13568,"ignition":35,"odometer":null,"unknown_45":8630304286489812992}} 
[2026-08-08 05:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":150339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:40:20] local.INFO: GPS data processed {"connection_id":150339,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:40:20] local.INFO: Acknowledgment sent {"connection_id":150339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:40:33] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:40:33] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:40:33] local.INFO: IMEI packet received {"connection_id":150340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":150340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:40:34] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:40:34] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:40:34] local.INFO: IMEI packet received {"connection_id":150340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":150340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:40:35] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb4ba70012d78e48005f4c0380005003024..."} 
[2026-08-08 05:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb4ba70012d78e48005f4c0380005003024..."} 
[2026-08-08 05:40:35] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb4ba70012d78e48005f4c0380005003024..."} 
[2026-08-08 05:40:35] local.INFO: Packet analysis {"connection_id":150340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:40:35] local.INFO: Extracted packet for processing {"connection_id":150340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:40:35] local.INFO: GPS Element Parsed {"raw_longitude":762897536,"raw_latitude":99926072,"longitude_deg":76.2897536,"latitude_deg":9.9926072,"altitude":5,"angle":48,"satellites":36,"speed":43,"hex_longitude":"2d78e480","hex_latitude":"05f4c038","is_valid_coordinates":true} 
[2026-08-08 05:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253838080001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115828804047339520,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8703135936728678400,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786147814000,"timestamp_ms":1786147814000,"timestamp_seconds":1786147814,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb4ba70"} 
[2026-08-08 05:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2810246167646962688,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3736330160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3023413249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3878163115345772568,"corrected_to":0} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3221302648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-855692725125636310,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194780416,"note":"Value kept but may cause issues"} 
[2026-08-08 05:40:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,114,87,24,241,157,16,129,159,120,45,143,7,39,10,66,208,128,88,122,40,1,240,174,227,222,244,4,113,205,6,100,104,33,239,47,210,2,155,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3878163115345772568,"validated":0}]} 
[2026-08-08 05:40:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504456106625269760,"timestamp_seconds":504456106625269.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:40:35] 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-08-08 05:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253838080001,"66":11830,"114":206,"87":13568,"24":43,"16":115828804047339520,"45":8703135936728678400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,87,24,16,45]} 
[2026-08-08 05:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253838080001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:40:35] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-08 05:40:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115828804047339520,"km_value":115828804047339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8703135936728678400,"description":"Unknown IO ID 45"} 
[2026-08-08 05:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253838080001,"power":11830,"unknown_114":206,"unknown_87":13568,"ignition":43,"odometer":null,"unknown_45":8703135936728678400}} 
[2026-08-08 05:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":150340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:40:35] local.INFO: GPS data processed {"connection_id":150340,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:40:35] local.INFO: Acknowledgment sent {"connection_id":150340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:41:06] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb4dd98012d78fe4005f4dae00004002925..."} 
[2026-08-08 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb4dd98012d78fe4005f4dae00004002925..."} 
[2026-08-08 05:41:06] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb4dd98012d78fe4005f4dae00004002925..."} 
[2026-08-08 05:41:06] local.INFO: Packet analysis {"connection_id":150340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:06] local.INFO: Extracted packet for processing {"connection_id":150340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":762904128,"raw_latitude":99932896,"longitude_deg":76.2904128,"latitude_deg":9.9932896,"altitude":4,"angle":41,"satellites":37,"speed":36,"hex_longitude":"2d78fe40","hex_latitude":"05f4dae0","is_valid_coordinates":true} 
[2026-08-08 05:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253840384001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115829259313872896,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711228342310811648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786147823000,"timestamp_ms":1786147823000,"timestamp_seconds":1786147823,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb4dd98"} 
[2026-08-08 05:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:41: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-08-08 05:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 05:41:06] 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-08-08 05:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:41:06] 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-08-08 05:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253840384001,"66":11700,"114":206,"87":13568,"24":36,"16":115829259313872896,"45":8711228342310811648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,87,24,16,45]} 
[2026-08-08 05:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253840384001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:41:06] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-08 05:41:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115829259313872896,"km_value":115829259313872.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711228342310811648,"description":"Unknown IO ID 45"} 
[2026-08-08 05:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253840384001,"power":11700,"unknown_114":206,"unknown_87":13568,"ignition":36,"odometer":null,"unknown_45":8711228342310811648}} 
[2026-08-08 05:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":150340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:41:06] local.INFO: GPS data processed {"connection_id":150340,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:41:06] local.INFO: Acknowledgment sent {"connection_id":150340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:41:33] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:41:33] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:41:33] local.INFO: IMEI packet received {"connection_id":151315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":151315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:41:38] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:41:38] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:41:38] local.INFO: IMEI packet received {"connection_id":151315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":151315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:41:38] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb504a8012d79174005f4f5900003002c22..."} 
[2026-08-08 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb504a8012d79174005f4f5900003002c22..."} 
[2026-08-08 05:41:38] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb504a8012d79174005f4f5900003002c22..."} 
[2026-08-08 05:41:38] local.INFO: Packet analysis {"connection_id":151315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:41:38] local.INFO: Extracted packet for processing {"connection_id":151315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762910528,"raw_latitude":99939728,"longitude_deg":76.2910528,"latitude_deg":9.9939728,"altitude":3,"angle":44,"satellites":34,"speed":39,"hex_longitude":"2d791740","hex_latitude":"05f4f590","is_valid_coordinates":true} 
[2026-08-08 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253842688001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115829710285438976,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8718476322962857984,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786147833000,"timestamp_ms":1786147833000,"timestamp_seconds":1786147833,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb504a8"} 
[2026-08-08 05:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:41: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-08-08 05: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 05:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:41:38] 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-08-08 05:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253842688001,"66":12058,"174":206,"87":13568,"24":39,"16":115829710285438976,"45":8718476322962857984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 05:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253842688001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:41:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 05:41:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115829710285438976,"km_value":115829710285438.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8718476322962857984,"description":"Unknown IO ID 45"} 
[2026-08-08 05:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253842688001,"power":12058,"unknown_174":206,"unknown_87":13568,"ignition":39,"odometer":null,"unknown_45":8718476322962857984}} 
[2026-08-08 05:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":151315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:41:38] local.INFO: GPS data processed {"connection_id":151315,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:41:38] local.INFO: Acknowledgment sent {"connection_id":151315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:41:47] local.INFO: TCP Data received {"connection_id":152791,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:47] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:47] local.INFO: IMEI packet received {"connection_id":152791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":152791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:41:47] local.INFO: TCP Data received {"connection_id":152791,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:47] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:47] local.INFO: IMEI packet received {"connection_id":152791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":152791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:41:52] local.INFO: TCP Data received {"connection_id":152791,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:52] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:41:52] local.INFO: IMEI packet received {"connection_id":152791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":152791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:41:53] local.INFO: TCP Data received {"connection_id":152791,"ip":"117.224.227.51","data_length":1360,"data_hex":"000000000000030f8e0a0000019fdeb49360012d2cfe8006bc7600000d008b2e..."} 
[2026-08-08 05:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fdeb49360012d2cfe8006bc7600000d008b2e..."} 
[2026-08-08 05:41:53] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fdeb49360012d2cfe8006bc7600000d008b2e..."} 
[2026-08-08 05:41:53] local.INFO: Packet analysis {"connection_id":152791,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:53] local.INFO: Extracted packet for processing {"connection_id":152791,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:53] local.INFO: GPS Element Parsed {"raw_longitude":757923456,"raw_latitude":113014272,"longitude_deg":75.7923456,"latitude_deg":11.3014272,"altitude":13,"angle":139,"satellites":46,"speed":59,"hex_longitude":"2d2cfe80","hex_latitude":"06bc7600","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253836288001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374795579441545216,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3235695623710767104,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786147804000,"timestamp_ms":1786147804000,"timestamp_seconds":1786147804,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb49360"} 
[2026-08-08 05:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253836288001,"66":27397,"194":206,"2":57088,"24":59,"16":374795579441545216,"45":3235695623710767104},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,2,24,16,45]} 
[2026-08-08 05:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253836288001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:41:53] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 05:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374795579441545216,"km_value":374795579441545.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3235695623710767104,"description":"Unknown IO ID 45"} 
[2026-08-08 05:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253836288001,"power":27397,"unknown_194":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3235695623710767104}} 
[2026-08-08 05:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":152791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:41:53] local.INFO: GPS data processed {"connection_id":152791,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:41:53] local.INFO: Acknowledgment sent {"connection_id":152791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:41:53] local.INFO: Packet analysis {"connection_id":152791,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:53] local.INFO: Incomplete packet, waiting for more data {"connection_id":152791,"needed":795,"available":565} 
[2026-08-08 05:41:54] local.INFO: TCP Data received {"connection_id":152791,"ip":"117.224.227.51","data_length":230,"data_hex":"2d2c6cc006bd1678000e00882b003a0000000a000400ef0100715e00f0010045..."} 
[2026-08-08 05:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":230,"packet_hex":"2d2c6cc006bd1678000e00882b003a0000000a000400ef0100715e00f0010045..."} 
[2026-08-08 05:41:54] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb4aad0012d2d150006bc5b30000e008c25..."} 
[2026-08-08 05:41:54] local.INFO: Packet analysis {"connection_id":152791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:54] local.INFO: Extracted packet for processing {"connection_id":152791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:54] local.INFO: GPS Element Parsed {"raw_longitude":757929216,"raw_latitude":113007408,"longitude_deg":75.7929216,"latitude_deg":11.3007408,"altitude":14,"angle":140,"satellites":37,"speed":58,"hex_longitude":"2d2d1500","hex_latitude":"06bc5b30","is_valid_coordinates":true} 
[2026-08-08 05:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253837824001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374796013233242112,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3242169548173344768,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786147810000,"timestamp_ms":1786147810000,"timestamp_seconds":1786147810,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb4aad0"} 
[2026-08-08 05:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253837824001,"66":27376,"194":206,"2":57088,"24":58,"16":374796013233242112,"45":3242169548173344768},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,2,24,16,45]} 
[2026-08-08 05:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253837824001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:41:54] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 05:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374796013233242112,"km_value":374796013233242.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3242169548173344768,"description":"Unknown IO ID 45"} 
[2026-08-08 05:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253837824001,"power":27376,"unknown_194":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3242169548173344768}} 
[2026-08-08 05:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":152791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:41:54] local.INFO: GPS data processed {"connection_id":152791,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:41:54] local.INFO: Acknowledgment sent {"connection_id":152791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:41:57] local.INFO: TCP Data received {"connection_id":152791,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb4c628012d2d2f0006bc3bd8000f008f2c..."} 
[2026-08-08 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb4c628012d2d2f0006bc3bd8000f008f2c..."} 
[2026-08-08 05:41:57] local.INFO: Processing buffer {"connection_id":152791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb4c628012d2d2f0006bc3bd8000f008f2c..."} 
[2026-08-08 05:41:57] local.INFO: Packet analysis {"connection_id":152791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:57] local.INFO: Extracted packet for processing {"connection_id":152791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb4"} 
[2026-08-08 05:41:57] local.INFO: GPS Element Parsed {"raw_longitude":757935872,"raw_latitude":112999384,"longitude_deg":75.7935872,"latitude_deg":11.2999384,"altitude":15,"angle":143,"satellites":44,"speed":59,"hex_longitude":"2d2d2f00","hex_latitude":"06bc3bd8","is_valid_coordinates":true} 
[2026-08-08 05:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253839360001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374796515744415744,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3248502735147577344,"note":"Value kept but may cause issues"} 
[2026-08-08 05:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786147817000,"timestamp_ms":1786147817000,"timestamp_seconds":1786147817,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb4c628"} 
[2026-08-08 05:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:41: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-08-08 05:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253839360001,"66":27397,"194":206,"2":57088,"24":59,"16":374796515744415744,"45":3248502735147577344},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,2,24,16,45]} 
[2026-08-08 05:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253839360001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:41:57] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 05:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374796515744415744,"km_value":374796515744415.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3248502735147577344,"description":"Unknown IO ID 45"} 
[2026-08-08 05:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253839360001,"power":27397,"unknown_194":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3248502735147577344}} 
[2026-08-08 05:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":152791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:41:57] local.INFO: GPS data processed {"connection_id":152791,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:41:57] local.INFO: Acknowledgment sent {"connection_id":152791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:42:10] local.INFO: TCP Data received {"connection_id":151315,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb52bb8012d792f4005f511b0000400271d..."} 
[2026-08-08 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb52bb8012d792f4005f511b0000400271d..."} 
[2026-08-08 05:42:10] local.INFO: Processing buffer {"connection_id":151315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb52bb8012d792f4005f511b0000400271d..."} 
[2026-08-08 05:42:10] local.INFO: Packet analysis {"connection_id":151315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:42:10] local.INFO: Extracted packet for processing {"connection_id":151315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":762916672,"raw_latitude":99946928,"longitude_deg":76.2916672,"latitude_deg":9.9946928,"altitude":4,"angle":39,"satellites":29,"speed":34,"hex_longitude":"2d792f40","hex_latitude":"05f511b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253845248001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115830165551972352,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8725513197382373376,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786147843000,"timestamp_ms":1786147843000,"timestamp_seconds":1786147843,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb52bb8"} 
[2026-08-08 05:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:42: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-08-08 05: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 05:42: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-08-08 05:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:42:10] 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-08-08 05:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253845248001,"66":11917,"174":206,"87":13568,"24":34,"16":115830165551972352,"45":8725513197382373376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 05:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253845248001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:42:10] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 05:42:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115830165551972352,"km_value":115830165551972.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8725513197382373376,"description":"Unknown IO ID 45"} 
[2026-08-08 05:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253845248001,"power":11917,"unknown_174":206,"unknown_87":13568,"ignition":34,"odometer":null,"unknown_45":8725513197382373376}} 
[2026-08-08 05:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":151315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:42:10] local.INFO: GPS data processed {"connection_id":151315,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:42:10] local.INFO: Acknowledgment sent {"connection_id":151315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:42:36] local.INFO: TCP Data received {"connection_id":150085,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:36] local.INFO: Processing buffer {"connection_id":150085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:36] local.INFO: IMEI packet received {"connection_id":150085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":150085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:42:37] local.INFO: TCP Data received {"connection_id":150085,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:37] local.INFO: Processing buffer {"connection_id":150085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:37] local.INFO: IMEI packet received {"connection_id":150085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":150085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:42:41] local.INFO: TCP Data received {"connection_id":150085,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:41] local.INFO: Processing buffer {"connection_id":150085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:42:41] local.INFO: IMEI packet received {"connection_id":150085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":150085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:42:42] local.INFO: TCP Data received {"connection_id":150085,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb5d3b0012d2e034006baea900011009b2f..."} 
[2026-08-08 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb5d3b0012d2e034006baea900011009b2f..."} 
[2026-08-08 05:42:42] local.INFO: Processing buffer {"connection_id":150085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb5d3b0012d2e034006baea900011009b2f..."} 
[2026-08-08 05:42:42] local.INFO: Packet analysis {"connection_id":150085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:42:42] local.INFO: Extracted packet for processing {"connection_id":150085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":757990208,"raw_latitude":112913040,"longitude_deg":75.7990208,"latitude_deg":11.291304,"altitude":17,"angle":155,"satellites":47,"speed":58,"hex_longitude":"2d2e0340","hex_latitude":"06baea90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253857280001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374801476431642624,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3311271654931963904,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147886000,"timestamp_ms":1786147886000,"timestamp_seconds":1786147886,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb5d3b0"} 
[2026-08-08 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-08-08 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253857280001,"66":27376,"105":206,"2":57088,"24":58,"16":374801476431642624,"45":3311271654931963904},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-08-08 05:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253857280001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:42:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 05:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374801476431642624,"km_value":374801476431642.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3311271654931963904,"description":"Unknown IO ID 45"} 
[2026-08-08 05:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253857280001,"power":27376,"unknown_105":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3311271654931963904}} 
[2026-08-08 05:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":150085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:42:42] local.INFO: GPS data processed {"connection_id":150085,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:42:42] local.INFO: Acknowledgment sent {"connection_id":150085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:42:47] local.INFO: TCP Data received {"connection_id":150086,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:42:47] local.INFO: Processing buffer {"connection_id":150086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:42:47] local.INFO: IMEI packet received {"connection_id":150086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":150086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:42:52] local.INFO: TCP Data received {"connection_id":150086,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:42:52] local.INFO: Processing buffer {"connection_id":150086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:42:52] local.INFO: IMEI packet received {"connection_id":150086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":150086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:42:53] local.INFO: TCP Data received {"connection_id":150086,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb6c9c8012d7a650005f5fbc8000b003a10..."} 
[2026-08-08 05:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb6c9c8012d7a650005f5fbc8000b003a10..."} 
[2026-08-08 05:42:53] local.INFO: Processing buffer {"connection_id":150086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb6c9c8012d7a650005f5fbc8000b003a10..."} 
[2026-08-08 05:42:53] local.INFO: Packet analysis {"connection_id":150086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:42:53] local.INFO: Extracted packet for processing {"connection_id":150086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:42:53] local.INFO: GPS Element Parsed {"raw_longitude":762995968,"raw_latitude":100006856,"longitude_deg":76.2995968,"latitude_deg":10.0006856,"altitude":11,"angle":58,"satellites":16,"speed":40,"hex_longitude":"2d7a6500","hex_latitude":"05f5fbc8","is_valid_coordinates":true} 
[2026-08-08 05:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253872896001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115834954440507392,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811081590318424064,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786147949000,"timestamp_ms":1786147949000,"timestamp_seconds":1786147949,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb6c9c8"} 
[2026-08-08 05:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:42: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":76,"data_length":795,"current_offset":136} 
[2026-08-08 05:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:42:53] 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-08-08 05:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253872896001,"66":11798,"22":206,"87":13568,"24":40,"16":115834954440507392,"45":8811081590318424064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,87,24,16,45]} 
[2026-08-08 05:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253872896001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-08-08 05:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115834954440507392,"km_value":115834954440507.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811081590318424064,"description":"Unknown IO ID 45"} 
[2026-08-08 05:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253872896001,"power":11798,"unknown_22":206,"unknown_87":13568,"ignition":40,"odometer":null,"unknown_45":8811081590318424064}} 
[2026-08-08 05:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":150086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:42:53] local.INFO: GPS data processed {"connection_id":150086,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:42:53] local.INFO: Acknowledgment sent {"connection_id":150086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:42:53] local.INFO: TCP Data received {"connection_id":150086,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb6f0d8012d7a854005f60d380009004726..."} 
[2026-08-08 05:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb6f0d8012d7a854005f60d380009004726..."} 
[2026-08-08 05:42:53] local.INFO: Processing buffer {"connection_id":150086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb6f0d8012d7a854005f60d380009004726..."} 
[2026-08-08 05:42:53] local.INFO: Packet analysis {"connection_id":150086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:42:53] local.INFO: Extracted packet for processing {"connection_id":150086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:42:53] local.INFO: GPS Element Parsed {"raw_longitude":763004224,"raw_latitude":100011320,"longitude_deg":76.3004224,"latitude_deg":10.001132,"altitude":9,"angle":71,"satellites":38,"speed":31,"hex_longitude":"2d7a8540","hex_latitude":"05f60d38","is_valid_coordinates":true} 
[2026-08-08 05:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253874944001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115835405412073472,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470876739584,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786147959000,"timestamp_ms":1786147959000,"timestamp_seconds":1786147959,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb6f0d8"} 
[2026-08-08 05:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:42: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":22,"data_length":795,"current_offset":136} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3736469160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3087084921,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184151417037,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3058229249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":245,"raw_value":5246693608839914496,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847263984,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":739770574,"corrected_to":0} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":39,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257772,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-8881379940151328768,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6283928958147100674,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":147,"raw_value":-9221694881519367424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2594117365830519296,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":146,"raw_value":57751573384550197,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-5444850654667997179,"note":"Value kept but may cause issues"} 
[2026-08-08 05:42:53] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,22,87,24,241,157,16,135,159,170,45,64,233,11,35,10,66,134,139,128,212,37,108,1,240,98,227,222,245,4,113,205,44,207,192,39,239,46,2,155,91,206,147,55,146,181],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":739770574,"validated":0}]} 
[2026-08-08 05:42:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792697374813716480,"timestamp_seconds":792697374813716.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:42:53] 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-08-08 05:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253874944001,"66":11830,"34":206,"87":12800,"24":31,"16":115835405412073472,"45":8819455470876739584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 05:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253874944001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 05:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115835405412073472,"km_value":115835405412073.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470876739584,"description":"Unknown IO ID 45"} 
[2026-08-08 05:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253874944001,"power":11830,"unknown_34":206,"unknown_87":12800,"ignition":31,"odometer":null,"unknown_45":8819455470876739584}} 
[2026-08-08 05:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":150086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:42:53] local.INFO: GPS data processed {"connection_id":150086,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:42:53] local.INFO: Acknowledgment sent {"connection_id":150086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:43:15] local.INFO: TCP Data received {"connection_id":150085,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb5eb20012d2e118006bacac80010009b30..."} 
[2026-08-08 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb5eb20012d2e118006bacac80010009b30..."} 
[2026-08-08 05:43:15] local.INFO: Processing buffer {"connection_id":150085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb5eb20012d2e118006bacac80010009b30..."} 
[2026-08-08 05:43:15] local.INFO: Packet analysis {"connection_id":150085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:43:15] local.INFO: Extracted packet for processing {"connection_id":150085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb5"} 
[2026-08-08 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":757993856,"raw_latitude":112904904,"longitude_deg":75.7993856,"latitude_deg":11.2904904,"altitude":16,"angle":155,"satellites":48,"speed":59,"hex_longitude":"2d2e1180","hex_latitude":"06bacac8","is_valid_coordinates":true} 
[2026-08-08 05:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253858816001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374801905928372224,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3315564148324732928,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786147892000,"timestamp_ms":1786147892000,"timestamp_seconds":1786147892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb5eb20"} 
[2026-08-08 05:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:43: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-08-08 05:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253858816001,"66":27463,"105":206,"2":57088,"24":59,"16":374801905928372224,"45":3315564148324732928},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-08-08 05:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253858816001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:43:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 05:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374801905928372224,"km_value":374801905928372.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3315564148324732928,"description":"Unknown IO ID 45"} 
[2026-08-08 05:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253858816001,"power":27463,"unknown_105":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3315564148324732928}} 
[2026-08-08 05:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":150085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:43:15] local.INFO: GPS data processed {"connection_id":150085,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:43:15] local.INFO: Acknowledgment sent {"connection_id":150085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:43:33] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:43:33] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:43:33] local.INFO: IMEI packet received {"connection_id":150341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":150341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:43:34] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:43:34] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:43:34] local.INFO: IMEI packet received {"connection_id":150341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":150341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:43:35] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb6f0d8012d7a854005f60d380009004726..."} 
[2026-08-08 05:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb6f0d8012d7a854005f60d380009004726..."} 
[2026-08-08 05:43:35] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb6f0d8012d7a854005f60d380009004726..."} 
[2026-08-08 05:43:35] local.INFO: Packet analysis {"connection_id":150341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:43:35] local.INFO: Extracted packet for processing {"connection_id":150341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763004224,"raw_latitude":100011320,"longitude_deg":76.3004224,"latitude_deg":10.001132,"altitude":9,"angle":71,"satellites":38,"speed":31,"hex_longitude":"2d7a8540","hex_latitude":"05f60d38","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253877504001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115835405412073472,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828533038876801024,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786147959000,"timestamp_ms":1786147959000,"timestamp_seconds":1786147959,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb6f0d8"} 
[2026-08-08 05:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 05:43:35] 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-08-08 05:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:43:35] 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-08-08 05:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253877504001,"66":11830,"34":206,"87":12800,"24":31,"16":115835405412073472,"45":8828533038876801024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 05:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253877504001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:43:35] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 05:43:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 05:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115835405412073472,"km_value":115835405412073.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828533038876801024,"description":"Unknown IO ID 45"} 
[2026-08-08 05:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253877504001,"power":11830,"unknown_34":206,"unknown_87":12800,"ignition":31,"odometer":null,"unknown_45":8828533038876801024}} 
[2026-08-08 05:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":150341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:43:35] local.INFO: GPS data processed {"connection_id":150341,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:43:35] local.INFO: Acknowledgment sent {"connection_id":150341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:43:36] local.INFO: TCP Data received {"connection_id":150087,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:36] local.INFO: Processing buffer {"connection_id":150087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:36] local.INFO: IMEI packet received {"connection_id":150087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":150087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:43:39] local.INFO: TCP Data received {"connection_id":150087,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:39] local.INFO: Processing buffer {"connection_id":150087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:39] local.INFO: IMEI packet received {"connection_id":150087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":150087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:43:41] local.INFO: TCP Data received {"connection_id":150087,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:41] local.INFO: Processing buffer {"connection_id":150087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:43:41] local.INFO: IMEI packet received {"connection_id":150087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":150087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:43:43] local.INFO: TCP Data received {"connection_id":150087,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb6fc90012d2ec08006b95a28000c00972f..."} 
[2026-08-08 05:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb6fc90012d2ec08006b95a28000c00972f..."} 
[2026-08-08 05:43:43] local.INFO: Processing buffer {"connection_id":150087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb6fc90012d2ec08006b95a28000c00972f..."} 
[2026-08-08 05:43:43] local.INFO: Packet analysis {"connection_id":150087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:43:43] local.INFO: Extracted packet for processing {"connection_id":150087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb6"} 
[2026-08-08 05:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758038656,"raw_latitude":112810536,"longitude_deg":75.8038656,"latitude_deg":11.2810536,"altitude":12,"angle":151,"satellites":47,"speed":62,"hex_longitude":"2d2ec080","hex_latitude":"06b95a28","is_valid_coordinates":true} 
[2026-08-08 05:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253876736001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374806956809912320,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3364118581783226368,"note":"Value kept but may cause issues"} 
[2026-08-08 05:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786147962000,"timestamp_ms":1786147962000,"timestamp_seconds":1786147962,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb6fc90"} 
[2026-08-08 05:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253876736001,"66":26604,"38":206,"2":57088,"24":62,"16":374806956809912320,"45":3364118581783226368},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-08-08 05:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253876736001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:43:43] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 05:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374806956809912320,"km_value":374806956809912.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3364118581783226368,"description":"Unknown IO ID 45"} 
[2026-08-08 05:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253876736001,"power":26604,"unknown_38":206,"power_alt":57088,"ignition":62,"odometer":null,"unknown_45":3364118581783226368}} 
[2026-08-08 05:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":150087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:43:43] local.INFO: GPS data processed {"connection_id":150087,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:43:43] local.INFO: Acknowledgment sent {"connection_id":150087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:44:07] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb71bd0012d7aaac005f616280007004d28..."} 
[2026-08-08 05:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb71bd0012d7aaac005f616280007004d28..."} 
[2026-08-08 05:44:07] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb71bd0012d7aaac005f616280007004d28..."} 
[2026-08-08 05:44:07] local.INFO: Packet analysis {"connection_id":150341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb7"} 
[2026-08-08 05:44:07] local.INFO: Extracted packet for processing {"connection_id":150341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb7"} 
[2026-08-08 05:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763013824,"raw_latitude":100013608,"longitude_deg":76.3013824,"latitude_deg":10.0013608,"altitude":7,"angle":77,"satellites":40,"speed":35,"hex_longitude":"2d7aaac0","hex_latitude":"05f61628","is_valid_coordinates":true} 
[2026-08-08 05:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253877504001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115835877858476032,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828533038876801024,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786147970000,"timestamp_ms":1786147970000,"timestamp_seconds":1786147970,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb71bd0"} 
[2026-08-08 05:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 05:44:07] 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-08-08 05:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:44:07] 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-08-08 05:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253877504001,"66":11808,"34":206,"87":12800,"24":35,"16":115835877858476032,"45":8828533038876801024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 05:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253877504001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:44:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 05:44:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 05:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115835877858476032,"km_value":115835877858476.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828533038876801024,"description":"Unknown IO ID 45"} 
[2026-08-08 05:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253877504001,"power":11808,"unknown_34":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8828533038876801024}} 
[2026-08-08 05:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":150341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:44:07] local.INFO: GPS data processed {"connection_id":150341,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:44:07] local.INFO: Acknowledgment sent {"connection_id":150341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:44:14] local.INFO: TCP Data received {"connection_id":150087,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb71400012d2ed30006b939900009009630..."} 
[2026-08-08 05:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb71400012d2ed30006b939900009009630..."} 
[2026-08-08 05:44:14] local.INFO: Processing buffer {"connection_id":150087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb71400012d2ed30006b939900009009630..."} 
[2026-08-08 05:44:14] local.INFO: Packet analysis {"connection_id":150087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb7"} 
[2026-08-08 05:44:14] local.INFO: Extracted packet for processing {"connection_id":150087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb7"} 
[2026-08-08 05:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758043392,"raw_latitude":112802192,"longitude_deg":75.8043392,"latitude_deg":11.2802192,"altitude":9,"angle":150,"satellites":48,"speed":63,"hex_longitude":"2d2ed300","hex_latitude":"06b93990","is_valid_coordinates":true} 
[2026-08-08 05:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253878272001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374807420666380288,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3368833287640983552,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786147968000,"timestamp_ms":1786147968000,"timestamp_seconds":1786147968,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb71400"} 
[2026-08-08 05:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-08 05:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253878272001,"66":27397,"39":206,"2":57088,"24":63,"16":374807420666380288,"45":3368833287640983552},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-08-08 05:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253878272001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:44:14] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 05:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374807420666380288,"km_value":374807420666380.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3368833287640983552,"description":"Unknown IO ID 45"} 
[2026-08-08 05:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253878272001,"power":27397,"unknown_39":206,"power_alt":57088,"ignition":63,"odometer":null,"unknown_45":3368833287640983552}} 
[2026-08-08 05:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":150087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:44:14] local.INFO: GPS data processed {"connection_id":150087,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:44:14] local.INFO: Acknowledgment sent {"connection_id":150087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:44:29] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:29] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:29] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:44:33] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:33] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:33] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:44:36] local.INFO: TCP Data received {"connection_id":150342,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:36] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:36] local.INFO: IMEI packet received {"connection_id":150342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":150342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:44:38] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:38] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:44:38] local.INFO: IMEI packet received {"connection_id":152792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":152792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:44:39] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb85450012d7b2dc005f6d9d80008015423..."} 
[2026-08-08 05:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb85450012d7b2dc005f6d9d80008015423..."} 
[2026-08-08 05:44:39] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb85450012d7b2dc005f6d9d80008015423..."} 
[2026-08-08 05:44:39] local.INFO: Packet analysis {"connection_id":152792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:44:39] local.INFO: Extracted packet for processing {"connection_id":152792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763047360,"raw_latitude":100063704,"longitude_deg":76.304736,"latitude_deg":10.0063704,"altitude":8,"angle":340,"satellites":35,"speed":40,"hex_longitude":"2d7b2dc0","hex_latitude":"05f6d9d8","is_valid_coordinates":true} 
[2026-08-08 05:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253898240001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115839343897083904,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879128165951535104,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786148050000,"timestamp_ms":1786148050000,"timestamp_seconds":1786148050,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb85450"} 
[2026-08-08 05:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:44: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-08-08 05:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:44:39] 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-08-08 05:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253898240001,"66":12015,"164":206,"87":12800,"24":40,"16":115839343897083904,"45":8879128165951535104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-08-08 05:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253898240001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:44:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 05:44:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 05:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115839343897083904,"km_value":115839343897083.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879128165951535104,"description":"Unknown IO ID 45"} 
[2026-08-08 05:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253898240001,"power":12015,"unknown_164":206,"unknown_87":12800,"ignition":40,"odometer":null,"unknown_45":8879128165951535104}} 
[2026-08-08 05:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":152792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:44:39] local.INFO: GPS data processed {"connection_id":152792,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:44:39] local.INFO: Acknowledgment sent {"connection_id":152792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:44:40] local.INFO: TCP Data received {"connection_id":150342,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:40] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:40] local.INFO: IMEI packet received {"connection_id":150342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":150342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:44:41] local.INFO: TCP Data received {"connection_id":150342,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:41] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:44:41] local.INFO: IMEI packet received {"connection_id":150342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":150342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:44:42] local.INFO: TCP Data received {"connection_id":150342,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb72b70012d2ee5c006b918c0000700952f..."} 
[2026-08-08 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb72b70012d2ee5c006b918c0000700952f..."} 
[2026-08-08 05:44:42] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb72b70012d2ee5c006b918c0000700952f..."} 
[2026-08-08 05:44:42] local.INFO: Packet analysis {"connection_id":150342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb7"} 
[2026-08-08 05:44:42] local.INFO: Extracted packet for processing {"connection_id":150342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb7"} 
[2026-08-08 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758048192,"raw_latitude":112793792,"longitude_deg":75.8048192,"latitude_deg":11.2793792,"altitude":7,"angle":149,"satellites":47,"speed":63,"hex_longitude":"2d2ee5c0","hex_latitude":"06b918c0","is_valid_coordinates":true} 
[2026-08-08 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253879808001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374807888817815552,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3374040574707994624,"note":"Value kept but may cause issues"} 
[2026-08-08 05:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786147974000,"timestamp_ms":1786147974000,"timestamp_seconds":1786147974,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb72b70"} 
[2026-08-08 05:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253879808001,"66":27343,"39":206,"2":57088,"24":63,"16":374807888817815552,"45":3374040574707994624},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-08-08 05:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253879808001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:44:42] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 05:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374807888817815552,"km_value":374807888817815.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3374040574707994624,"description":"Unknown IO ID 45"} 
[2026-08-08 05:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253879808001,"power":27343,"unknown_39":206,"power_alt":57088,"ignition":63,"odometer":null,"unknown_45":3374040574707994624}} 
[2026-08-08 05:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":150342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:44:42] local.INFO: GPS data processed {"connection_id":150342,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:44:42] local.INFO: Acknowledgment sent {"connection_id":150342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:45:10] local.INFO: TCP Data received {"connection_id":152792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb87778012d7b220005f6fd280007015425..."} 
[2026-08-08 05:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb87778012d7b220005f6fd280007015425..."} 
[2026-08-08 05:45:10] local.INFO: Processing buffer {"connection_id":152792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb87778012d7b220005f6fd280007015425..."} 
[2026-08-08 05:45:10] local.INFO: Packet analysis {"connection_id":152792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:45:10] local.INFO: Extracted packet for processing {"connection_id":152792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":100072744,"longitude_deg":76.3044352,"latitude_deg":10.0072744,"altitude":7,"angle":340,"satellites":37,"speed":43,"hex_longitude":"2d7b2200","hex_latitude":"05f6fd28","is_valid_coordinates":true} 
[2026-08-08 05:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253900800001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115839807753551872,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875961572465956864,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786148059000,"timestamp_ms":1786148059000,"timestamp_seconds":1786148059,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb87778"} 
[2026-08-08 05:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 05:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:45:10] 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-08-08 05:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253900800001,"66":11917,"164":206,"87":12800,"24":43,"16":115839807753551872,"45":8875961572465956864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-08-08 05:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253900800001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:45:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 05:45:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 05:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115839807753551872,"km_value":115839807753551.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875961572465956864,"description":"Unknown IO ID 45"} 
[2026-08-08 05:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253900800001,"power":11917,"unknown_164":206,"unknown_87":12800,"ignition":43,"odometer":null,"unknown_45":8875961572465956864}} 
[2026-08-08 05:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":152792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:45:10] local.INFO: GPS data processed {"connection_id":152792,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:45:10] local.INFO: Acknowledgment sent {"connection_id":152792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:45:13] local.INFO: TCP Data received {"connection_id":150342,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb87778012d2fbc4006b75928000700a630..."} 
[2026-08-08 05:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb87778012d2fbc4006b75928000700a630..."} 
[2026-08-08 05:45:13] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb87778012d2fbc4006b75928000700a630..."} 
[2026-08-08 05:45:13] local.INFO: Packet analysis {"connection_id":150342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:45:13] local.INFO: Extracted packet for processing {"connection_id":150342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758103104,"raw_latitude":112679208,"longitude_deg":75.8103104,"latitude_deg":11.2679208,"altitude":7,"angle":166,"satellites":48,"speed":59,"hex_longitude":"2d2fbc40","hex_latitude":"06b75928","is_valid_coordinates":true} 
[2026-08-08 05:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253901568001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374814052095885312,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3437231706950279168,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786148059000,"timestamp_ms":1786148059000,"timestamp_seconds":1786148059,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb87778"} 
[2026-08-08 05:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253901568001,"66":27332,"172":206,"28":21760,"24":59,"16":374814052095885312,"45":3437231706950279168},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-08-08 05:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253901568001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:45:13] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 05:45:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374814052095885312,"km_value":374814052095885.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3437231706950279168,"description":"Unknown IO ID 45"} 
[2026-08-08 05:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253901568001,"power":27332,"unknown_172":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3437231706950279168}} 
[2026-08-08 05:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":150342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:45:13] local.INFO: GPS data processed {"connection_id":150342,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:45:13] local.INFO: Acknowledgment sent {"connection_id":150342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:45:36] local.INFO: TCP Data received {"connection_id":151316,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:36] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:36] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:45:39] local.INFO: TCP Data received {"connection_id":151316,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:39] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:39] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:45:39] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:45:39] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:45:39] local.INFO: IMEI packet received {"connection_id":150343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":150343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:45:41] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:45:41] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:45:41] local.INFO: IMEI packet received {"connection_id":150343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":150343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:45:41] local.INFO: TCP Data received {"connection_id":151316,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:41] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:45:41] local.INFO: IMEI packet received {"connection_id":151316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":151316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:45:42] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:45:42] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 05:45:42] local.INFO: IMEI packet received {"connection_id":150343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":150343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:45:52] local.INFO: TCP Data received {"connection_id":151316,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb892d0012d2fc50006b731e8000b00a631..."} 
[2026-08-08 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb892d0012d2fc50006b731e8000b00a631..."} 
[2026-08-08 05:45:52] local.INFO: Processing buffer {"connection_id":151316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb892d0012d2fc50006b731e8000b00a631..."} 
[2026-08-08 05:45:52] local.INFO: Packet analysis {"connection_id":151316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:45:52] local.INFO: Extracted packet for processing {"connection_id":151316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb8"} 
[2026-08-08 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758105344,"raw_latitude":112669160,"longitude_deg":75.8105344,"latitude_deg":11.266916,"altitude":11,"angle":166,"satellites":49,"speed":57,"hex_longitude":"2d2fc500","hex_latitude":"06b731e8","is_valid_coordinates":true} 
[2026-08-08 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253903104001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374814550312091648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3439694612994271232,"note":"Value kept but may cause issues"} 
[2026-08-08 05:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786148066000,"timestamp_ms":1786148066000,"timestamp_seconds":1786148066,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb892d0"} 
[2026-08-08 05:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 05:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253903104001,"66":27343,"172":206,"28":21760,"24":57,"16":374814550312091648,"45":3439694612994271232},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-08-08 05:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253903104001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:45:52] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 05:45:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374814550312091648,"km_value":374814550312091.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3439694612994271232,"description":"Unknown IO ID 45"} 
[2026-08-08 05:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253903104001,"power":27343,"unknown_172":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3439694612994271232}} 
[2026-08-08 05:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":151316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:45:52] local.INFO: GPS data processed {"connection_id":151316,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:45:52] local.INFO: Acknowledgment sent {"connection_id":151316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:46:41] local.INFO: TCP Data received {"connection_id":150088,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:46:41] local.INFO: Processing buffer {"connection_id":150088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:46:41] local.INFO: IMEI packet received {"connection_id":150088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:46:43] local.INFO: TCP Data received {"connection_id":150088,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:46:43] local.INFO: Processing buffer {"connection_id":150088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:46:43] local.INFO: IMEI packet received {"connection_id":150088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":150088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:46:44] local.INFO: TCP Data received {"connection_id":150088,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb99888012d3106c006b68438001100782f..."} 
[2026-08-08 05:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb99888012d3106c006b68438001100782f..."} 
[2026-08-08 05:46:44] local.INFO: Processing buffer {"connection_id":150088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb99888012d3106c006b68438001100782f..."} 
[2026-08-08 05:46:44] local.INFO: Packet analysis {"connection_id":150088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb9"} 
[2026-08-08 05:46:44] local.INFO: Extracted packet for processing {"connection_id":150088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb9"} 
[2026-08-08 05:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758187712,"raw_latitude":112624696,"longitude_deg":75.8187712,"latitude_deg":11.2624696,"altitude":17,"angle":120,"satellites":47,"speed":58,"hex_longitude":"2d3106c0","hex_latitude":"06b68438","is_valid_coordinates":true} 
[2026-08-08 05:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253922048001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374819343495593984,"note":"Value kept but may cause issues"} 
[2026-08-08 05:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3532722092783187968,"note":"Value kept but may cause issues"} 
[2026-08-08 05:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786148133000,"timestamp_ms":1786148133000,"timestamp_seconds":1786148133,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb99888"} 
[2026-08-08 05:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253922048001,"66":27463,"146":206,"28":21760,"24":58,"16":374819343495593984,"45":3532722092783187968},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,28,24,16,45]} 
[2026-08-08 05:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253922048001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:46:44] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 05:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374819343495593984,"km_value":374819343495594.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3532722092783187968,"description":"Unknown IO ID 45"} 
[2026-08-08 05:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253922048001,"power":27463,"unknown_146":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3532722092783187968}} 
[2026-08-08 05:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":150088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:46:44] local.INFO: GPS data processed {"connection_id":150088,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:46:44] local.INFO: Acknowledgment sent {"connection_id":150088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:47:32] local.INFO: TCP Data received {"connection_id":150088,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeb9b3e0012d31274006b66be8001200842d..."} 
[2026-08-08 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeb9b3e0012d31274006b66be8001200842d..."} 
[2026-08-08 05:47:32] local.INFO: Processing buffer {"connection_id":150088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeb9b3e0012d31274006b66be8001200842d..."} 
[2026-08-08 05:47:32] local.INFO: Packet analysis {"connection_id":150088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeb9"} 
[2026-08-08 05:47:32] local.INFO: Extracted packet for processing {"connection_id":150088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeb9"} 
[2026-08-08 05:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758196032,"raw_latitude":112618472,"longitude_deg":75.8196032,"latitude_deg":11.2618472,"altitude":18,"angle":132,"satellites":45,"speed":59,"hex_longitude":"2d312740","hex_latitude":"06b66be8","is_valid_coordinates":true} 
[2026-08-08 05:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253922048001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374819841711800320,"note":"Value kept but may cause issues"} 
[2026-08-08 05:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3532722092783187968,"note":"Value kept but may cause issues"} 
[2026-08-08 05:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786148140000,"timestamp_ms":1786148140000,"timestamp_seconds":1786148140,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeb9b3e0"} 
[2026-08-08 05:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":150088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":150088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":150088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253922048001,"66":27376,"146":206,"28":21760,"24":59,"16":374819841711800320,"45":3532722092783187968},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,28,24,16,45]} 
[2026-08-08 05:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253922048001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:47:32] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 05:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374819841711800320,"km_value":374819841711800.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3532722092783187968,"description":"Unknown IO ID 45"} 
[2026-08-08 05:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253922048001,"power":27376,"unknown_146":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3532722092783187968}} 
[2026-08-08 05:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":150088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:47:32] local.INFO: GPS data processed {"connection_id":150088,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:47:32] local.INFO: Acknowledgment sent {"connection_id":150088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:47:41] local.INFO: TCP Data received {"connection_id":150345,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:47:41] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:47:41] local.INFO: IMEI packet received {"connection_id":150345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":150345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:47:52] local.INFO: TCP Data received {"connection_id":150345,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:47:52] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:47:52] local.INFO: IMEI packet received {"connection_id":150345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":150345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:47:57] local.INFO: TCP Data received {"connection_id":150345,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeba8ea0012d31e48006b56158000700852a..."} 
[2026-08-08 05:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeba8ea0012d31e48006b56158000700852a..."} 
[2026-08-08 05:47:57] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeba8ea0012d31e48006b56158000700852a..."} 
[2026-08-08 05:47:57] local.INFO: Packet analysis {"connection_id":150345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeba"} 
[2026-08-08 05:47:57] local.INFO: Extracted packet for processing {"connection_id":150345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeba"} 
[2026-08-08 05:47:57] local.INFO: GPS Element Parsed {"raw_longitude":758244480,"raw_latitude":112550232,"longitude_deg":75.824448,"latitude_deg":11.2550232,"altitude":7,"angle":133,"satellites":42,"speed":59,"hex_longitude":"2d31e480","hex_latitude":"06b56158","is_valid_coordinates":true} 
[2026-08-08 05:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253936384001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374823891865960448,"note":"Value kept but may cause issues"} 
[2026-08-08 05:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3587187500759545856,"note":"Value kept but may cause issues"} 
[2026-08-08 05:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786148196000,"timestamp_ms":1786148196000,"timestamp_seconds":1786148196,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeba8ea0"} 
[2026-08-08 05:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253936384001,"66":27397,"78":206,"28":21760,"24":59,"16":374823891865960448,"45":3587187500759545856},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-08-08 05:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253936384001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:47:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-08 05:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374823891865960448,"km_value":374823891865960.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3587187500759545856,"description":"Unknown IO ID 45"} 
[2026-08-08 05:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253936384001,"power":27397,"unknown_78":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3587187500759545856}} 
[2026-08-08 05:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":150345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:47:57] local.INFO: GPS data processed {"connection_id":150345,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:47:57] local.INFO: Acknowledgment sent {"connection_id":150345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:48:41] local.INFO: TCP Data received {"connection_id":150346,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:48:41] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:48:41] local.INFO: IMEI packet received {"connection_id":150346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":150346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:48:42] local.INFO: TCP Data received {"connection_id":150346,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:48:42] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:48:42] local.INFO: IMEI packet received {"connection_id":150346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":150346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:48:43] local.INFO: TCP Data received {"connection_id":150346,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebbb398012d33650006b48e800010007930..."} 
[2026-08-08 05:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebbb398012d33650006b48e800010007930..."} 
[2026-08-08 05:48:43] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebbb398012d33650006b48e800010007930..."} 
[2026-08-08 05:48:43] local.INFO: Packet analysis {"connection_id":150346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebb"} 
[2026-08-08 05:48:43] local.INFO: Extracted packet for processing {"connection_id":150346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebb"} 
[2026-08-08 05:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758342912,"raw_latitude":112496256,"longitude_deg":75.8342912,"latitude_deg":11.2496256,"altitude":16,"angle":121,"satellites":48,"speed":59,"hex_longitude":"2d336500","hex_latitude":"06b48e80","is_valid_coordinates":true} 
[2026-08-08 05:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253955840001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374829277754949632,"note":"Value kept but may cause issues"} 
[2026-08-08 05:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3694640573104214016,"note":"Value kept but may cause issues"} 
[2026-08-08 05:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786148271000,"timestamp_ms":1786148271000,"timestamp_seconds":1786148271,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebbb398"} 
[2026-08-08 05:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-08 05:48:43] 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-08-08 05:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253955840001,"66":27365,"211":206,"28":21760,"24":59,"16":374829277754949632,"45":3694640573104214016},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 05:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253955840001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:48:43] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 05:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374829277754949632,"km_value":374829277754949.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3694640573104214016,"description":"Unknown IO ID 45"} 
[2026-08-08 05:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253955840001,"power":27365,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3694640573104214016}} 
[2026-08-08 05:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":150346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:48:43] local.INFO: GPS data processed {"connection_id":150346,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:48:43] local.INFO: Acknowledgment sent {"connection_id":150346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:48:44] local.INFO: TCP Data received {"connection_id":150346,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebbcb08012d3380c006b478d0000f00852f..."} 
[2026-08-08 05:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebbcb08012d3380c006b478d0000f00852f..."} 
[2026-08-08 05:48:44] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebbcb08012d3380c006b478d0000f00852f..."} 
[2026-08-08 05:48:44] local.INFO: Packet analysis {"connection_id":150346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebb"} 
[2026-08-08 05:48:44] local.INFO: Extracted packet for processing {"connection_id":150346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebb"} 
[2026-08-08 05:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758350016,"raw_latitude":112490704,"longitude_deg":75.8350016,"latitude_deg":11.2490704,"altitude":15,"angle":133,"satellites":47,"speed":59,"hex_longitude":"2d3380c0","hex_latitude":"06b478d0","is_valid_coordinates":true} 
[2026-08-08 05:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253957376001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374829711546646528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3703366297381142528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786148277000,"timestamp_ms":1786148277000,"timestamp_seconds":1786148277,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebbcb08"} 
[2026-08-08 05:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 05:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253957376001,"66":27376,"211":206,"28":21760,"24":59,"16":374829711546646528,"45":3703366297381142528},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 05:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253957376001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:48:44] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 05:48:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374829711546646528,"km_value":374829711546646.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3703366297381142528,"description":"Unknown IO ID 45"} 
[2026-08-08 05:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253957376001,"power":27376,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3703366297381142528}} 
[2026-08-08 05:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":150346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:48:44] local.INFO: GPS data processed {"connection_id":150346,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:48:44] local.INFO: Acknowledgment sent {"connection_id":150346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:49:16] local.INFO: TCP Data received {"connection_id":150346,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebbcb08012d3380c006b478d0000f00852f..."} 
[2026-08-08 05:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebbcb08012d3380c006b478d0000f00852f..."} 
[2026-08-08 05:49:16] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebbcb08012d3380c006b478d0000f00852f..."} 
[2026-08-08 05:49:16] local.INFO: Packet analysis {"connection_id":150346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebb"} 
[2026-08-08 05:49:16] local.INFO: Extracted packet for processing {"connection_id":150346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebb"} 
[2026-08-08 05:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758350016,"raw_latitude":112490704,"longitude_deg":75.8350016,"latitude_deg":11.2490704,"altitude":15,"angle":133,"satellites":47,"speed":59,"hex_longitude":"2d3380c0","hex_latitude":"06b478d0","is_valid_coordinates":true} 
[2026-08-08 05:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253958912001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374829711546646528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3711177227983441920,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786148277000,"timestamp_ms":1786148277000,"timestamp_seconds":1786148277,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebbcb08"} 
[2026-08-08 05:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:49: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-08-08 05:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253958912001,"66":27376,"211":206,"28":21760,"24":59,"16":374829711546646528,"45":3711177227983441920},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 05:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253958912001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:49:16] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 05:49:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374829711546646528,"km_value":374829711546646.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3711177227983441920,"description":"Unknown IO ID 45"} 
[2026-08-08 05:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253958912001,"power":27376,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3711177227983441920}} 
[2026-08-08 05:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":150346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:49:16] local.INFO: GPS data processed {"connection_id":150346,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:49:16] local.INFO: Acknowledgment sent {"connection_id":150346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:49:37] local.INFO: TCP Data received {"connection_id":150347,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:37] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:37] local.INFO: IMEI packet received {"connection_id":150347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":150347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:49:38] local.INFO: TCP Data received {"connection_id":150347,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:38] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:38] local.INFO: IMEI packet received {"connection_id":150347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":150347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:49:41] local.INFO: TCP Data received {"connection_id":150347,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:41] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:49:41] local.INFO: IMEI packet received {"connection_id":150347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":150347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:49:44] local.INFO: TCP Data received {"connection_id":150347,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebca5c8012d33d04006b34f700010009526..."} 
[2026-08-08 05:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebca5c8012d33d04006b34f700010009526..."} 
[2026-08-08 05:49:44] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebca5c8012d33d04006b34f700010009526..."} 
[2026-08-08 05:49:44] local.INFO: Packet analysis {"connection_id":150347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:49:44] local.INFO: Extracted packet for processing {"connection_id":150347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758370368,"raw_latitude":112414576,"longitude_deg":75.8370368,"latitude_deg":11.2414576,"altitude":16,"angle":149,"satellites":38,"speed":51,"hex_longitude":"2d33d040","hex_latitude":"06b34f70","is_valid_coordinates":true} 
[2026-08-08 05:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253971456001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374833662916558848,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729050888987303936,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786148333000,"timestamp_ms":1786148333000,"timestamp_seconds":1786148333,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebca5c8"} 
[2026-08-08 05:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 05:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253971456001,"66":27397,"182":206,"28":21760,"24":51,"16":374833662916558848,"45":3729050888987303936},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253971456001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:49:44] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374833662916558848,"km_value":374833662916558.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729050888987303936,"description":"Unknown IO ID 45"} 
[2026-08-08 05:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253971456001,"power":27397,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3729050888987303936}} 
[2026-08-08 05:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":150347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:49:44] local.INFO: GPS data processed {"connection_id":150347,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:49:44] local.INFO: Acknowledgment sent {"connection_id":150347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:49:46] local.INFO: TCP Data received {"connection_id":150347,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebca5c8012d33d04006b34f700010009526..."} 
[2026-08-08 05:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebca5c8012d33d04006b34f700010009526..."} 
[2026-08-08 05:49:46] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebca5c8012d33d04006b34f700010009526..."} 
[2026-08-08 05:49:46] local.INFO: Packet analysis {"connection_id":150347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:49:46] local.INFO: Extracted packet for processing {"connection_id":150347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758370368,"raw_latitude":112414576,"longitude_deg":75.8370368,"latitude_deg":11.2414576,"altitude":16,"angle":149,"satellites":38,"speed":51,"hex_longitude":"2d33d040","hex_latitude":"06b34f70","is_valid_coordinates":true} 
[2026-08-08 05:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253973248001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374833662916558848,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3733554488612450304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786148333000,"timestamp_ms":1786148333000,"timestamp_seconds":1786148333,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebca5c8"} 
[2026-08-08 05:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:49: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-08-08 05:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:49: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-08-08 05:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253973248001,"66":27397,"182":206,"28":21760,"24":51,"16":374833662916558848,"45":3733554488612450304},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253973248001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:49:46] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374833662916558848,"km_value":374833662916558.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3733554488612450304,"description":"Unknown IO ID 45"} 
[2026-08-08 05:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253973248001,"power":27397,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3733554488612450304}} 
[2026-08-08 05:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":150347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:49:46] local.INFO: GPS data processed {"connection_id":150347,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:49:46] local.INFO: Acknowledgment sent {"connection_id":150347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:50:18] local.INFO: TCP Data received {"connection_id":150347,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebcb950012d33dfc006b33a00000f008a2a..."} 
[2026-08-08 05:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebcb950012d33dfc006b33a00000f008a2a..."} 
[2026-08-08 05:50:18] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebcb950012d33dfc006b33a00000f008a2a..."} 
[2026-08-08 05:50:18] local.INFO: Packet analysis {"connection_id":150347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:50:18] local.INFO: Extracted packet for processing {"connection_id":150347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758374336,"raw_latitude":112409088,"longitude_deg":75.8374336,"latitude_deg":11.2409088,"altitude":15,"angle":138,"satellites":42,"speed":55,"hex_longitude":"2d33dfc0","hex_latitude":"06b33a00","is_valid_coordinates":true} 
[2026-08-08 05:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253973248001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374833989334073344,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3733554488612450304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786148338000,"timestamp_ms":1786148338000,"timestamp_seconds":1786148338,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebcb950"} 
[2026-08-08 05:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 05:50: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-08-08 05:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253973248001,"66":27234,"182":206,"28":21760,"24":55,"16":374833989334073344,"45":3733554488612450304},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253973248001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:50:18] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:50:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374833989334073344,"km_value":374833989334073.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3733554488612450304,"description":"Unknown IO ID 45"} 
[2026-08-08 05:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253973248001,"power":27234,"unknown_182":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3733554488612450304}} 
[2026-08-08 05:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":150347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:50:18] local.INFO: GPS data processed {"connection_id":150347,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:50:18] local.INFO: Acknowledgment sent {"connection_id":150347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:50:36] local.INFO: TCP Data received {"connection_id":150091,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:50:36] local.INFO: Processing buffer {"connection_id":150091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:50:36] local.INFO: IMEI packet received {"connection_id":150091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:50:40] local.INFO: TCP Data received {"connection_id":150091,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:50:40] local.INFO: Processing buffer {"connection_id":150091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:50:40] local.INFO: IMEI packet received {"connection_id":150091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":150091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:50:42] local.INFO: TCP Data received {"connection_id":150091,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebcd4a8012d33fa8006b32100000f007d2e..."} 
[2026-08-08 05:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebcd4a8012d33fa8006b32100000f007d2e..."} 
[2026-08-08 05:50:42] local.INFO: Processing buffer {"connection_id":150091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebcd4a8012d33fa8006b32100000f007d2e..."} 
[2026-08-08 05:50:42] local.INFO: Packet analysis {"connection_id":150091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:50:42] local.INFO: Extracted packet for processing {"connection_id":150091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758381184,"raw_latitude":112402688,"longitude_deg":75.8381184,"latitude_deg":11.2402688,"altitude":15,"angle":125,"satellites":46,"speed":48,"hex_longitude":"2d33fa80","hex_latitude":"06b32100","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253974528001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374834440305639424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3737917350750060544,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786148345000,"timestamp_ms":1786148345000,"timestamp_seconds":1786148345,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebcd4a8"} 
[2026-08-08 05:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 05:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253974528001,"66":27245,"182":206,"28":21760,"24":48,"16":374834440305639424,"45":3737917350750060544},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253974528001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:50:42] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374834440305639424,"km_value":374834440305639.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3737917350750060544,"description":"Unknown IO ID 45"} 
[2026-08-08 05:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253974528001,"power":27245,"unknown_182":206,"unknown_28":21760,"ignition":48,"odometer":null,"unknown_45":3737917350750060544}} 
[2026-08-08 05:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":150091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:50:42] local.INFO: GPS data processed {"connection_id":150091,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:50:42] local.INFO: Acknowledgment sent {"connection_id":150091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:50:45] local.INFO: TCP Data received {"connection_id":150090,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:50:45] local.INFO: Processing buffer {"connection_id":150090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:50:45] local.INFO: IMEI packet received {"connection_id":150090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":150090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:50:46] local.INFO: TCP Data received {"connection_id":150090,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebd49d8012d7ce60005fbf7f0000c001727..."} 
[2026-08-08 05:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebd49d8012d7ce60005fbf7f0000c001727..."} 
[2026-08-08 05:50:46] local.INFO: Processing buffer {"connection_id":150090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebd49d8012d7ce60005fbf7f0000c001727..."} 
[2026-08-08 05:50:46] local.INFO: Packet analysis {"connection_id":150090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebd"} 
[2026-08-08 05:50:46] local.INFO: Extracted packet for processing {"connection_id":150090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebd"} 
[2026-08-08 05:50:46] local.INFO: GPS Element Parsed {"raw_longitude":763160064,"raw_latitude":100399088,"longitude_deg":76.3160064,"latitude_deg":10.0399088,"altitude":12,"angle":23,"satellites":39,"speed":50,"hex_longitude":"2d7ce600","hex_latitude":"05fbf7f0","is_valid_coordinates":true} 
[2026-08-08 05:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253982208001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115857584623190016,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995940281372641280,"note":"Value kept but may cause issues"} 
[2026-08-08 05:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786148375000,"timestamp_ms":1786148375000,"timestamp_seconds":1786148375,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebd49d8"} 
[2026-08-08 05:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:50:46] 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-08-08 05:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:50:46] 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-08-08 05:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253982208001,"66":12004,"34":206,"87":10752,"24":50,"16":115857584623190016,"45":8995940281372641280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 05:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253982208001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:50:46] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 05:50:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115857584623190016,"km_value":115857584623190.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995940281372641280,"description":"Unknown IO ID 45"} 
[2026-08-08 05:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253982208001,"power":12004,"unknown_34":206,"unknown_87":10752,"ignition":50,"odometer":null,"unknown_45":8995940281372641280}} 
[2026-08-08 05:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":150090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:50:46] local.INFO: GPS data processed {"connection_id":150090,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:50:46] local.INFO: Acknowledgment sent {"connection_id":150090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:51:14] local.INFO: TCP Data received {"connection_id":150091,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebcd4a8012d33fa8006b32100000f007d2e..."} 
[2026-08-08 05:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebcd4a8012d33fa8006b32100000f007d2e..."} 
[2026-08-08 05:51:14] local.INFO: Processing buffer {"connection_id":150091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebcd4a8012d33fa8006b32100000f007d2e..."} 
[2026-08-08 05:51:14] local.INFO: Packet analysis {"connection_id":150091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:51:14] local.INFO: Extracted packet for processing {"connection_id":150091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebc"} 
[2026-08-08 05:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758381184,"raw_latitude":112402688,"longitude_deg":75.8381184,"latitude_deg":11.2402688,"altitude":15,"angle":125,"satellites":46,"speed":48,"hex_longitude":"2d33fa80","hex_latitude":"06b32100","is_valid_coordinates":true} 
[2026-08-08 05:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253976320001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374834440305639424,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3745446806375432192,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786148345000,"timestamp_ms":1786148345000,"timestamp_seconds":1786148345,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebcd4a8"} 
[2026-08-08 05:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":109,"data_length":795,"current_offset":136} 
[2026-08-08 05:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253976320001,"66":27245,"182":206,"28":21760,"24":48,"16":374834440305639424,"45":3745446806375432192},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253976320001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:51:14] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374834440305639424,"km_value":374834440305639.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3745446806375432192,"description":"Unknown IO ID 45"} 
[2026-08-08 05:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253976320001,"power":27245,"unknown_182":206,"unknown_28":21760,"ignition":48,"odometer":null,"unknown_45":3745446806375432192}} 
[2026-08-08 05:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":150091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:51:14] local.INFO: GPS data processed {"connection_id":150091,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:51:14] local.INFO: Acknowledgment sent {"connection_id":150091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:51:21] local.INFO: TCP Data received {"connection_id":150090,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebe8e10012d7d600005fd80d8000f000f22..."} 
[2026-08-08 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebe8e10012d7d600005fd80d8000f000f22..."} 
[2026-08-08 05:51:21] local.INFO: Processing buffer {"connection_id":150090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebe8e10012d7d600005fd80d8000f000f22..."} 
[2026-08-08 05:51:21] local.INFO: Packet analysis {"connection_id":150090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:51:21] local.INFO: Extracted packet for processing {"connection_id":150090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763191296,"raw_latitude":100499672,"longitude_deg":76.3191296,"latitude_deg":10.0499672,"altitude":15,"angle":15,"satellites":34,"speed":53,"hex_longitude":"2d7d6000","hex_latitude":"05fd80d8","is_valid_coordinates":true} 
[2026-08-08 05:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254003456001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115862687044337664,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031546865952088064,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786148458000,"timestamp_ms":1786148458000,"timestamp_seconds":1786148458,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebe8e10"} 
[2026-08-08 05:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-08-08 05:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1209,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:51:21] 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-08-08 05:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254003456001,"66":12156,"75":206,"87":10752,"24":53,"16":115862687044337664,"45":9031546865952088064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 05:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254003456001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:51:21] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 05:51:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115862687044337664,"km_value":115862687044337.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031546865952088064,"description":"Unknown IO ID 45"} 
[2026-08-08 05:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254003456001,"power":12156,"unknown_75":206,"unknown_87":10752,"ignition":53,"odometer":null,"unknown_45":9031546865952088064}} 
[2026-08-08 05:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":150090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:51:21] local.INFO: GPS data processed {"connection_id":150090,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:51:21] local.INFO: Acknowledgment sent {"connection_id":150090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:51:35] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:35] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:35] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:51:35] local.INFO: TCP Data received {"connection_id":151318,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:35] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:35] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:51:36] local.INFO: TCP Data received {"connection_id":151318,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:36] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:36] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:51:37] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:37] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:37] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:51:41] local.INFO: TCP Data received {"connection_id":151318,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:41] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:51:41] local.INFO: IMEI packet received {"connection_id":151318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":151318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:51:42] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:42] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:51:42] local.INFO: IMEI packet received {"connection_id":151319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":151319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:51:42] local.INFO: TCP Data received {"connection_id":151318,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebe43d8012d35054006b26d800008007a31..."} 
[2026-08-08 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebe43d8012d35054006b26d800008007a31..."} 
[2026-08-08 05:51:42] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebe43d8012d35054006b26d800008007a31..."} 
[2026-08-08 05:51:42] local.INFO: Packet analysis {"connection_id":151318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:51:42] local.INFO: Extracted packet for processing {"connection_id":151318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758449472,"raw_latitude":112356736,"longitude_deg":75.8449472,"latitude_deg":11.2356736,"altitude":8,"angle":122,"satellites":49,"speed":31,"hex_longitude":"2d350540","hex_latitude":"06b26d80","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457253999872001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374838395970519040,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3819052512773670912,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786148439000,"timestamp_ms":1786148439000,"timestamp_seconds":1786148439,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebe43d8"} 
[2026-08-08 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-08-08 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457253999872001,"66":27169,"182":206,"28":21760,"24":31,"16":374838395970519040,"45":3819052512773670912},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457253999872001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:51:42] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374838395970519040,"km_value":374838395970519.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3819052512773670912,"description":"Unknown IO ID 45"} 
[2026-08-08 05:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457253999872001,"power":27169,"unknown_182":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":3819052512773670912}} 
[2026-08-08 05:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":151318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:51:42] local.INFO: GPS data processed {"connection_id":151318,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:51:42] local.INFO: Acknowledgment sent {"connection_id":151318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:51:43] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebea968012d7d6ac005fda628000f001022..."} 
[2026-08-08 05:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebea968012d7d6ac005fda628000f001022..."} 
[2026-08-08 05:51:43] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebea968012d7d6ac005fda628000f001022..."} 
[2026-08-08 05:51:43] local.INFO: Packet analysis {"connection_id":151319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:51:43] local.INFO: Extracted packet for processing {"connection_id":151319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763194048,"raw_latitude":100509224,"longitude_deg":76.3194048,"latitude_deg":10.0509224,"altitude":15,"angle":16,"satellites":34,"speed":56,"hex_longitude":"2d7d6ac0","hex_latitude":"05fda628","is_valid_coordinates":true} 
[2026-08-08 05:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254005248001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115863168080674816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034220878233131008,"note":"Value kept but may cause issues"} 
[2026-08-08 05:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786148465000,"timestamp_ms":1786148465000,"timestamp_seconds":1786148465,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebea968"} 
[2026-08-08 05:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 05:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:51:43] 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-08-08 05:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254005248001,"66":12113,"75":206,"87":10752,"24":56,"16":115863168080674816,"45":9034220878233131008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 05:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254005248001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:51:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 05:51:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115863168080674816,"km_value":115863168080674.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034220878233131008,"description":"Unknown IO ID 45"} 
[2026-08-08 05:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254005248001,"power":12113,"unknown_75":206,"unknown_87":10752,"ignition":56,"odometer":null,"unknown_45":9034220878233131008}} 
[2026-08-08 05:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":151319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:51:43] local.INFO: GPS data processed {"connection_id":151319,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:51:43] local.INFO: Acknowledgment sent {"connection_id":151319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:52:14] local.INFO: TCP Data received {"connection_id":151319,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebec4c0012d7d758005fdcbc80015001122..."} 
[2026-08-08 05:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebec4c0012d7d758005fdcbc80015001122..."} 
[2026-08-08 05:52:14] local.INFO: Processing buffer {"connection_id":151319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebec4c0012d7d758005fdcbc80015001122..."} 
[2026-08-08 05:52:14] local.INFO: Packet analysis {"connection_id":151319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:52:14] local.INFO: Extracted packet for processing {"connection_id":151319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763196800,"raw_latitude":100518856,"longitude_deg":76.31968,"latitude_deg":10.0518856,"altitude":21,"angle":17,"satellites":34,"speed":54,"hex_longitude":"2d7d7580","hex_latitude":"05fdcbc8","is_valid_coordinates":true} 
[2026-08-08 05:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254007040001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115863653411979264,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9037246734235215872,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786148472000,"timestamp_ms":1786148472000,"timestamp_seconds":1786148472,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebec4c0"} 
[2026-08-08 05:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 05:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:52:14] 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-08-08 05:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254007040001,"66":12189,"75":206,"87":10752,"24":54,"16":115863653411979264,"45":9037246734235215872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 05:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254007040001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:52:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 05:52:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115863653411979264,"km_value":115863653411979.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9037246734235215872,"description":"Unknown IO ID 45"} 
[2026-08-08 05:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254007040001,"power":12189,"unknown_75":206,"unknown_87":10752,"ignition":54,"odometer":null,"unknown_45":9037246734235215872}} 
[2026-08-08 05:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":151319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:52:14] local.INFO: GPS data processed {"connection_id":151319,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:52:14] local.INFO: Acknowledgment sent {"connection_id":151319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:52:32] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:32] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:32] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:52:33] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:33] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:33] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:52:36] local.INFO: TCP Data received {"connection_id":150092,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:36] local.INFO: Processing buffer {"connection_id":150092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:36] local.INFO: IMEI packet received {"connection_id":150092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":150092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:52:38] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:38] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:52:38] local.INFO: IMEI packet received {"connection_id":152794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":152794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:52:38] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebee018012d7d828005fded300016001322..."} 
[2026-08-08 05:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebee018012d7d828005fded300016001322..."} 
[2026-08-08 05:52:38] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebee018012d7d828005fded300016001322..."} 
[2026-08-08 05:52:38] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:52:38] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763200128,"raw_latitude":100527408,"longitude_deg":76.3200128,"latitude_deg":10.0527408,"altitude":22,"angle":19,"satellites":34,"speed":50,"hex_longitude":"2d7d8280","hex_latitude":"05fded30","is_valid_coordinates":true} 
[2026-08-08 05:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254008832001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115864100088578048,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040272590237321216,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786148479000,"timestamp_ms":1786148479000,"timestamp_seconds":1786148479,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebee018"} 
[2026-08-08 05:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 05:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:52:38] 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-08-08 05:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254008832001,"66":12135,"75":206,"87":10752,"24":50,"16":115864100088578048,"45":9040272590237321216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 05:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254008832001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:52:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 05:52:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115864100088578048,"km_value":115864100088578.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040272590237321216,"description":"Unknown IO ID 45"} 
[2026-08-08 05:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254008832001,"power":12135,"unknown_75":206,"unknown_87":10752,"ignition":50,"odometer":null,"unknown_45":9040272590237321216}} 
[2026-08-08 05:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:52:38] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:52:38] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:52:39] local.INFO: TCP Data received {"connection_id":150092,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:39] local.INFO: Processing buffer {"connection_id":150092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:39] local.INFO: IMEI packet received {"connection_id":150092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":150092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:52:58] local.INFO: TCP Data received {"connection_id":150092,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:58] local.INFO: Processing buffer {"connection_id":150092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:52:58] local.INFO: IMEI packet received {"connection_id":150092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":150092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:52:59] local.INFO: TCP Data received {"connection_id":150092,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebe8a28012d35480006b244780006007a2d..."} 
[2026-08-08 05:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebe8a28012d35480006b244780006007a2d..."} 
[2026-08-08 05:52:59] local.INFO: Processing buffer {"connection_id":150092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebe8a28012d35480006b244780006007a2d..."} 
[2026-08-08 05:52:59] local.INFO: Packet analysis {"connection_id":150092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:52:59] local.INFO: Extracted packet for processing {"connection_id":150092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758466560,"raw_latitude":112346232,"longitude_deg":75.846656,"latitude_deg":11.2346232,"altitude":6,"angle":122,"satellites":45,"speed":55,"hex_longitude":"2d354800","hex_latitude":"06b24478","is_valid_coordinates":true} 
[2026-08-08 05:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254002944001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374839353748226048,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3829748561887240192,"note":"Value kept but may cause issues"} 
[2026-08-08 05:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786148457000,"timestamp_ms":1786148457000,"timestamp_seconds":1786148457,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebe8a28"} 
[2026-08-08 05:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 05:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":150092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":150092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":150092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254002944001,"66":27332,"182":206,"28":21760,"24":55,"16":374839353748226048,"45":3829748561887240192},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254002944001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:52:59] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374839353748226048,"km_value":374839353748226.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3829748561887240192,"description":"Unknown IO ID 45"} 
[2026-08-08 05:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254002944001,"power":27332,"unknown_182":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3829748561887240192}} 
[2026-08-08 05:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":150092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:52:59] local.INFO: GPS data processed {"connection_id":150092,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:52:59] local.INFO: Acknowledgment sent {"connection_id":150092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:53:10] local.INFO: TCP Data received {"connection_id":152794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec037d8012d7e3a4005ff71d8000f00332a..."} 
[2026-08-08 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec037d8012d7e3a4005ff71d8000f00332a..."} 
[2026-08-08 05:53:10] local.INFO: Processing buffer {"connection_id":152794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec037d8012d7e3a4005ff71d8000f00332a..."} 
[2026-08-08 05:53:10] local.INFO: Packet analysis {"connection_id":152794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:53:10] local.INFO: Extracted packet for processing {"connection_id":152794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":100626904,"longitude_deg":76.3247168,"latitude_deg":10.0626904,"altitude":15,"angle":51,"satellites":42,"speed":44,"hex_longitude":"2d7e3a40","hex_latitude":"05ff71d8","is_valid_coordinates":true} 
[2026-08-08 05:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254031104001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115869537517174784,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086786330164852736,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786148567000,"timestamp_ms":1786148567000,"timestamp_seconds":1786148567,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec037d8"} 
[2026-08-08 05:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:53: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-08-08 05: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:53:10] 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-08-08 05:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254031104001,"66":12026,"5":206,"87":10752,"24":44,"16":115869537517174784,"45":9086786330164852736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,87,24,16,45]} 
[2026-08-08 05:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254031104001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:53:10] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-08 05:53:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115869537517174784,"km_value":115869537517174.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086786330164852736,"description":"Unknown IO ID 45"} 
[2026-08-08 05:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254031104001,"power":12026,"unknown_5":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":9086786330164852736}} 
[2026-08-08 05:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":152794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:53:10] local.INFO: GPS data processed {"connection_id":152794,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:53:10] local.INFO: Acknowledgment sent {"connection_id":152794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:53:17] local.INFO: TCP Data received {"connection_id":151318,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdebe6ae8012d35260006b25a200006007930..."} 
[2026-08-08 05:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdebe6ae8012d35260006b25a200006007930..."} 
[2026-08-08 05:53:17] local.INFO: Processing buffer {"connection_id":151318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdebe6ae8012d35260006b25a200006007930..."} 
[2026-08-08 05:53:17] local.INFO: Packet analysis {"connection_id":151318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:53:17] local.INFO: Extracted packet for processing {"connection_id":151318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdebe"} 
[2026-08-08 05:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758457856,"raw_latitude":112351776,"longitude_deg":75.8457856,"latitude_deg":11.2351776,"altitude":6,"angle":121,"satellites":48,"speed":46,"hex_longitude":"2d352600","hex_latitude":"06b25a20","is_valid_coordinates":true} 
[2026-08-08 05:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254000384001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374838859826987008,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3820530256401235968,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786148449000,"timestamp_ms":1786148449000,"timestamp_seconds":1786148449,"priority":1,"record_length":96,"hex_timestamp":"0000019fdebe6ae8"} 
[2026-08-08 05:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 05:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254000384001,"66":27463,"182":206,"28":21760,"24":46,"16":374838859826987008,"45":3820530256401235968},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 05:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254000384001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:53:17] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 05:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374838859826987008,"km_value":374838859826987.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3820530256401235968,"description":"Unknown IO ID 45"} 
[2026-08-08 05:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254000384001,"power":27463,"unknown_182":206,"unknown_28":21760,"ignition":46,"odometer":null,"unknown_45":3820530256401235968}} 
[2026-08-08 05:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":151318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:53:17] local.INFO: GPS data processed {"connection_id":151318,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:53:17] local.INFO: Acknowledgment sent {"connection_id":151318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:53:30] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:30] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:30] local.INFO: IMEI packet received {"connection_id":150348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":150348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:53:32] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:32] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:32] local.INFO: IMEI packet received {"connection_id":150348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":150348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:53:38] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:38] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:53:38] local.INFO: IMEI packet received {"connection_id":150348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":150348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:53:39] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec05ee8012d7e57c005ff8970000c002f2a..."} 
[2026-08-08 05:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec05ee8012d7e57c005ff8970000c002f2a..."} 
[2026-08-08 05:53:39] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec05ee8012d7e57c005ff8970000c002f2a..."} 
[2026-08-08 05:53:39] local.INFO: Packet analysis {"connection_id":150348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:53:39] local.INFO: Extracted packet for processing {"connection_id":150348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":100632944,"longitude_deg":76.325472,"latitude_deg":10.0632944,"altitude":12,"angle":47,"satellites":42,"speed":40,"hex_longitude":"2d7e57c0","hex_latitude":"05ff8970","is_valid_coordinates":true} 
[2026-08-08 05:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254033152001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115870001373642752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791932803072,"note":"Value kept but may cause issues"} 
[2026-08-08 05:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786148577000,"timestamp_ms":1786148577000,"timestamp_seconds":1786148577,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec05ee8"} 
[2026-08-08 05:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 05:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:53:39] 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-08-08 05:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254033152001,"66":12069,"4":206,"87":10752,"24":40,"16":115870001373642752,"45":9095652791932803072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-08-08 05:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254033152001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:53:39] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-08 05:53:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115870001373642752,"km_value":115870001373642.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791932803072,"description":"Unknown IO ID 45"} 
[2026-08-08 05:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254033152001,"power":12069,"unknown_4":206,"unknown_87":10752,"ignition":40,"odometer":null,"unknown_45":9095652791932803072}} 
[2026-08-08 05:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":150348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:53:39] local.INFO: GPS data processed {"connection_id":150348,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:53:39] local.INFO: Acknowledgment sent {"connection_id":150348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:53:51] local.INFO: TCP Data received {"connection_id":152795,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:53:51] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:53:51] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:54:10] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec07e28012d7e714005ffa2c8000c002a2a..."} 
[2026-08-08 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec07e28012d7e714005ffa2c8000c002a2a..."} 
[2026-08-08 05:54:10] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec07e28012d7e714005ffa2c8000c002a2a..."} 
[2026-08-08 05:54:10] local.INFO: Packet analysis {"connection_id":150348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:54:10] local.INFO: Extracted packet for processing {"connection_id":150348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763261248,"raw_latitude":100639432,"longitude_deg":76.3261248,"latitude_deg":10.0639432,"altitude":12,"angle":42,"satellites":42,"speed":48,"hex_longitude":"2d7e7140","hex_latitude":"05ffa2c8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 05:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254035712001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115870443755274240,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956303747313664,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786148585000,"timestamp_ms":1786148585000,"timestamp_seconds":1786148585,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec07e28"} 
[2026-08-08 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-08-08 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 05:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:54:10] 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-08-08 05:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254035712001,"66":11917,"4":206,"87":10752,"24":48,"16":115870443755274240,"45":9103956303747313664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-08-08 05:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254035712001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:54:10] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-08 05:54:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115870443755274240,"km_value":115870443755274.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956303747313664,"description":"Unknown IO ID 45"} 
[2026-08-08 05:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254035712001,"power":11917,"unknown_4":206,"unknown_87":10752,"ignition":48,"odometer":null,"unknown_45":9103956303747313664}} 
[2026-08-08 05:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":150348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:54:10] local.INFO: GPS data processed {"connection_id":150348,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:54:10] local.INFO: Acknowledgment sent {"connection_id":150348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:54:25] local.INFO: TCP Data received {"connection_id":152795,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:25] local.INFO: Processing buffer {"connection_id":152795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:25] local.INFO: IMEI packet received {"connection_id":152795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":152795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:54:32] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:32] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:32] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:54:38] local.INFO: TCP Data received {"connection_id":151321,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:38] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:38] local.INFO: IMEI packet received {"connection_id":151321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":151321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:54:41] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:41] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:41] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:54:41] local.INFO: TCP Data received {"connection_id":151321,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:41] local.INFO: Processing buffer {"connection_id":151321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:54:41] local.INFO: IMEI packet received {"connection_id":151321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 05:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":151321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:54:41] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:41] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:54:41] local.INFO: IMEI packet received {"connection_id":151320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":151320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:54:42] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec0a150012d7e894005ffc000000c00242c..."} 
[2026-08-08 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec0a150012d7e894005ffc000000c00242c..."} 
[2026-08-08 05:54:42] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec0a150012d7e894005ffc000000c00242c..."} 
[2026-08-08 05:54:42] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:54:42] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763267392,"raw_latitude":100646912,"longitude_deg":76.3267392,"latitude_deg":10.0646912,"altitude":12,"angle":36,"satellites":44,"speed":41,"hex_longitude":"2d7e8940","hex_latitude":"05ffc000","is_valid_coordinates":true} 
[2026-08-08 05: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-08-08 05:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254037760001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115870911906709504,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111133915655096320,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786148594000,"timestamp_ms":1786148594000,"timestamp_seconds":1786148594,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec0a150"} 
[2026-08-08 05:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 05:54:42] 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-08-08 05: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-08-08 05:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:54:42] 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-08-08 05:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254037760001,"66":11754,"4":206,"87":10752,"24":41,"16":115870911906709504,"45":9111133915655096320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-08-08 05:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254037760001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:54:42] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-08 05:54:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115870911906709504,"km_value":115870911906709.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111133915655096320,"description":"Unknown IO ID 45"} 
[2026-08-08 05:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254037760001,"power":11754,"unknown_4":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":9111133915655096320}} 
[2026-08-08 05:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:54:42] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:54:42] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:54:43] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec0c090012d7e9e8005ffddc8000900232b..."} 
[2026-08-08 05:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec0c090012d7e9e8005ffddc8000900232b..."} 
[2026-08-08 05:54:43] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec0c090012d7e9e8005ffddc8000900232b..."} 
[2026-08-08 05:54:43] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:54:43] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec0"} 
[2026-08-08 05:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763272832,"raw_latitude":100654536,"longitude_deg":76.3272832,"latitude_deg":10.0654536,"altitude":9,"angle":35,"satellites":43,"speed":51,"hex_longitude":"2d7e9e80","hex_latitude":"05ffddc8","is_valid_coordinates":true} 
[2026-08-08 05:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254040064001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115871362878275584,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117889315098066944,"note":"Value kept but may cause issues"} 
[2026-08-08 05:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786148602000,"timestamp_ms":1786148602000,"timestamp_seconds":1786148602,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec0c090"} 
[2026-08-08 05:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-08 05:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:54:43] 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-08-08 05:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254040064001,"66":11863,"21":206,"87":10752,"24":51,"16":115871362878275584,"45":9117889315098066944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-08-08 05:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254040064001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:54:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 05:54:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 05:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115871362878275584,"km_value":115871362878275.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117889315098066944,"description":"Unknown IO ID 45"} 
[2026-08-08 05:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254040064001,"power":11863,"unknown_21":206,"unknown_87":10752,"ignition":51,"odometer":null,"unknown_45":9117889315098066944}} 
[2026-08-08 05:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:54:43] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:54:43] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:55:14] local.INFO: TCP Data received {"connection_id":151320,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec23790012d7fdd4006014880000e002f21..."} 
[2026-08-08 05:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec23790012d7fdd4006014880000e002f21..."} 
[2026-08-08 05:55:14] local.INFO: Processing buffer {"connection_id":151320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec23790012d7fdd4006014880000e002f21..."} 
[2026-08-08 05:55:14] local.INFO: Packet analysis {"connection_id":151320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:55:14] local.INFO: Extracted packet for processing {"connection_id":151320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763354432,"raw_latitude":100747392,"longitude_deg":76.3354432,"latitude_deg":10.0747392,"altitude":14,"angle":47,"satellites":33,"speed":48,"hex_longitude":"2d7fdd40","hex_latitude":"06014880","is_valid_coordinates":true} 
[2026-08-08 05:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254064640001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115877328587849728,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205779876599957504,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786148698000,"timestamp_ms":1786148698000,"timestamp_seconds":1786148698,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec23790"} 
[2026-08-08 05:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6239737305199355136,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3737216160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2522070766908869120,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4613375351337255936,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184164262093,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3248181249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847395056,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1108672718,"corrected_to":0} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":127,"raw_value":4160826751,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526082,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-6131369417688219648,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6280832733404004354,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":70,"raw_value":57775028200953642,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3310147021032882182,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.WARNING: Large IO value detected {"io_id":55,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:14] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,149,87,24,241,157,16,173,159,249,45,64,18,38,10,66,21,172,217,245,13,39,186,192,1,240,168,227,222,4,113,205,51,127,71,239,47,2,155,93,206,70,193,55],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1108672718,"validated":0}]} 
[2026-08-08 05:55:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152971115777032192,"timestamp_seconds":1152971115777032.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:55:14] 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-08-08 05:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254064640001,"66":12232,"149":206,"87":10496,"24":48,"16":115877328587849728,"45":9205779876599957504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 05:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254064640001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:55:14] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 05:55:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115877328587849728,"km_value":115877328587849.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205779876599957504,"description":"Unknown IO ID 45"} 
[2026-08-08 05:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254064640001,"power":12232,"unknown_149":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":9205779876599957504}} 
[2026-08-08 05:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":151320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:55:14] local.INFO: GPS data processed {"connection_id":151320,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:55:14] local.INFO: Acknowledgment sent {"connection_id":151320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:55:38] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:55:38] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:55:38] local.INFO: IMEI packet received {"connection_id":150349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":150349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:55:38] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:55:38] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:55:38] local.INFO: IMEI packet received {"connection_id":150349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":150349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:55:39] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec252e8012d7ff78006016088000b002d26..."} 
[2026-08-08 05:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec252e8012d7ff78006016088000b002d26..."} 
[2026-08-08 05:55:39] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec252e8012d7ff78006016088000b002d26..."} 
[2026-08-08 05:55:39] local.INFO: Packet analysis {"connection_id":150349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:55:39] local.INFO: Extracted packet for processing {"connection_id":150349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763361152,"raw_latitude":100753544,"longitude_deg":76.3361152,"latitude_deg":10.0753544,"altitude":11,"angle":45,"satellites":38,"speed":57,"hex_longitude":"2d7ff780","hex_latitude":"06016088","is_valid_coordinates":true} 
[2026-08-08 05:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254066688001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115877766674513920,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213590807205412864,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786148705000,"timestamp_ms":1786148705000,"timestamp_seconds":1786148705,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec252e8"} 
[2026-08-08 05:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 05:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:55:39] 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-08-08 05:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254066688001,"66":12156,"149":206,"87":10496,"24":57,"16":115877766674513920,"45":9213590807205412864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 05:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254066688001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:55:39] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 05:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115877766674513920,"km_value":115877766674513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213590807205412864,"description":"Unknown IO ID 45"} 
[2026-08-08 05:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254066688001,"power":12156,"unknown_149":206,"unknown_87":10496,"ignition":57,"odometer":null,"unknown_45":9213590807205412864}} 
[2026-08-08 05:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":150349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:55:39] local.INFO: GPS data processed {"connection_id":150349,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:55:39] local.INFO: Acknowledgment sent {"connection_id":150349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:55:55] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec26e40012d80148006017c000009002e29..."} 
[2026-08-08 05:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec26e40012d80148006017c000009002e29..."} 
[2026-08-08 05:55:55] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec26e40012d80148006017c000009002e29..."} 
[2026-08-08 05:55:55] local.INFO: Packet analysis {"connection_id":150349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:55:55] local.INFO: Extracted packet for processing {"connection_id":150349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763368576,"raw_latitude":100760576,"longitude_deg":76.3368576,"latitude_deg":10.0760576,"altitude":9,"angle":46,"satellites":41,"speed":57,"hex_longitude":"2d801480","hex_latitude":"06017c00","is_valid_coordinates":true} 
[2026-08-08 05:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254068480001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115878260595752960,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220979525345642496,"note":"Value kept but may cause issues"} 
[2026-08-08 05:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786148712000,"timestamp_ms":1786148712000,"timestamp_seconds":1786148712,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec26e40"} 
[2026-08-08 05:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 05:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:55:55] 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-08-08 05:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254068480001,"66":12178,"149":206,"87":10496,"24":57,"16":115878260595752960,"45":9220979525345642496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 05:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254068480001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:55:55] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 05:55:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115878260595752960,"km_value":115878260595752.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220979525345642496,"description":"Unknown IO ID 45"} 
[2026-08-08 05:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254068480001,"power":12178,"unknown_149":206,"unknown_87":10496,"ignition":57,"odometer":null,"unknown_45":9220979525345642496}} 
[2026-08-08 05:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":150349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:55:55] local.INFO: GPS data processed {"connection_id":150349,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:55:55] local.INFO: Acknowledgment sent {"connection_id":150349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:56:33] local.INFO: TCP Data received {"connection_id":150094,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:56:33] local.INFO: Processing buffer {"connection_id":150094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:56:33] local.INFO: IMEI packet received {"connection_id":150094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":150094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:56:33] local.INFO: TCP Data received {"connection_id":150094,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:56:33] local.INFO: Processing buffer {"connection_id":150094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:56:33] local.INFO: IMEI packet received {"connection_id":150094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":150094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:56:34] local.INFO: TCP Data received {"connection_id":150094,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec28998012d8030c0060197100006002a28..."} 
[2026-08-08 05:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec28998012d8030c0060197100006002a28..."} 
[2026-08-08 05:56:34] local.INFO: Processing buffer {"connection_id":150094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec28998012d8030c0060197100006002a28..."} 
[2026-08-08 05:56:34] local.INFO: Packet analysis {"connection_id":150094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:56:34] local.INFO: Extracted packet for processing {"connection_id":150094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763375808,"raw_latitude":100767504,"longitude_deg":76.3375808,"latitude_deg":10.0767504,"altitude":6,"angle":42,"satellites":40,"speed":55,"hex_longitude":"2d8030c0","hex_latitude":"06019710","is_valid_coordinates":true} 
[2026-08-08 05:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254070272001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115878737337122816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9217601774037499904,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786148719000,"timestamp_ms":1786148719000,"timestamp_seconds":1786148719,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec28998"} 
[2026-08-08 05:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 05:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":150094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":150094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":150094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:56:34] 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-08-08 05:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254070272001,"66":11798,"148":206,"87":10496,"24":55,"16":115878737337122816,"45":-9217601774037499904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-08-08 05:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254070272001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:56:34] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-08 05:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115878737337122816,"km_value":115878737337122.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9217601774037499904,"description":"Unknown IO ID 45"} 
[2026-08-08 05:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254070272001,"power":11798,"unknown_148":206,"unknown_87":10496,"ignition":55,"odometer":null,"unknown_45":-9217601774037499904}} 
[2026-08-08 05:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":150094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:56:34] local.INFO: GPS data processed {"connection_id":150094,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:56:34] local.INFO: Acknowledgment sent {"connection_id":150094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:56:38] local.INFO: TCP Data received {"connection_id":150094,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec2a108012d8045400601b2380004001e29..."} 
[2026-08-08 05:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec2a108012d8045400601b2380004001e29..."} 
[2026-08-08 05:56:38] local.INFO: Processing buffer {"connection_id":150094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec2a108012d8045400601b2380004001e29..."} 
[2026-08-08 05:56:38] local.INFO: Packet analysis {"connection_id":150094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:56:38] local.INFO: Extracted packet for processing {"connection_id":150094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec2"} 
[2026-08-08 05:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763381056,"raw_latitude":100774456,"longitude_deg":76.3381056,"latitude_deg":10.0774456,"altitude":4,"angle":30,"satellites":41,"speed":58,"hex_longitude":"2d804540","hex_latitude":"0601b238","is_valid_coordinates":true} 
[2026-08-08 05:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254072064001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115879158243917824,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209650105943650304,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786148725000,"timestamp_ms":1786148725000,"timestamp_seconds":1786148725,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec2a108"} 
[2026-08-08 05:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-4971973954254396416,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3737246160,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184171339981,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13449877,"corrected_to":0} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3256373249,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847395056,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":982843598,"corrected_to":0} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":168,"raw_value":57775028200953642,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257794,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-6012586977516322816,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6280832733403873282,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-4609996240048878848,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2666183755961469440,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-7255297704771698682,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 05:56:38] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,148,87,24,241,157,16,175,159,110,45,128,124,9,41,10,66,149,174,82,96,11,38,55,64,1,240,200,227,173,222,4,113,205,249,168,224,239,46,21,2,155,93,206,122,39,193,51],"length":632,"final_offset":762,"validated_count":48,"validation_warnings":[{"io_id":200,"original":13449877,"validated":0},{"io_id":205,"original":982843598,"validated":0}]} 
[2026-08-08 05:56:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432391915518230528,"timestamp_seconds":432391915518230.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 05:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:56:38] 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-08-08 05:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254072064001,"66":12135,"148":206,"87":10496,"24":58,"16":115879158243917824,"45":-9209650105943650304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,87,24,16,45]} 
[2026-08-08 05:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254072064001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:56:38] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-08 05:56:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115879158243917824,"km_value":115879158243917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209650105943650304,"description":"Unknown IO ID 45"} 
[2026-08-08 05:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254072064001,"power":12135,"unknown_148":206,"unknown_87":10496,"ignition":58,"odometer":null,"unknown_45":-9209650105943650304}} 
[2026-08-08 05:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":150094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:56:38] local.INFO: GPS data processed {"connection_id":150094,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:56:38] local.INFO: Acknowledgment sent {"connection_id":150094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:57:09] local.INFO: TCP Data received {"connection_id":150094,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec3f8c8012d811600060360a00005001e20..."} 
[2026-08-08 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec3f8c8012d811600060360a00005001e20..."} 
[2026-08-08 05:57:09] local.INFO: Processing buffer {"connection_id":150094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec3f8c8012d811600060360a00005001e20..."} 
[2026-08-08 05:57:09] local.INFO: Packet analysis {"connection_id":150094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec3"} 
[2026-08-08 05:57:09] local.INFO: Extracted packet for processing {"connection_id":150094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec3"} 
[2026-08-08 05:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763434496,"raw_latitude":100884640,"longitude_deg":76.3434496,"latitude_deg":10.088464,"altitude":5,"angle":30,"satellites":32,"speed":52,"hex_longitude":"2d811600","hex_latitude":"060360a0","is_valid_coordinates":true} 
[2026-08-08 05:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254094336001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115885093888720896,"note":"Value kept but may cause issues"} 
[2026-08-08 05:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150258885829740544,"note":"Value kept but may cause issues"} 
[2026-08-08 05:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786148813000,"timestamp_ms":1786148813000,"timestamp_seconds":1786148813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec3f8c8"} 
[2026-08-08 05:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 05:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:57:09] 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-08-08 05:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254094336001,"66":12135,"194":206,"87":10496,"24":52,"16":115885093888720896,"45":-9150258885829740544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,87,24,16,45]} 
[2026-08-08 05:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254094336001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115885093888720896,"km_value":115885093888720.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150258885829740544,"description":"Unknown IO ID 45"} 
[2026-08-08 05:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254094336001,"power":12135,"unknown_194":206,"unknown_87":10496,"ignition":52,"odometer":null,"unknown_45":-9150258885829740544}} 
[2026-08-08 05:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":150094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:57:09] local.INFO: GPS data processed {"connection_id":150094,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:57:09] local.INFO: Acknowledgment sent {"connection_id":150094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:57:29] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:29] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:29] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:57:33] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:33] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:33] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:57:37] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:37] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:57:37] local.INFO: IMEI packet received {"connection_id":152796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":152796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:57:38] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec41420012d812800060380980005001d20..."} 
[2026-08-08 05:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec41420012d812800060380980005001d20..."} 
[2026-08-08 05:57:38] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec41420012d812800060380980005001d20..."} 
[2026-08-08 05:57:38] local.INFO: Packet analysis {"connection_id":152796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:57:38] local.INFO: Extracted packet for processing {"connection_id":152796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763439104,"raw_latitude":100892824,"longitude_deg":76.3439104,"latitude_deg":10.0892824,"altitude":5,"angle":29,"satellites":32,"speed":52,"hex_longitude":"2d812800","hex_latitude":"06038098","is_valid_coordinates":true} 
[2026-08-08 05:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254096128001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115885549155254272,"note":"Value kept but may cause issues"} 
[2026-08-08 05:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145121967502745600,"note":"Value kept but may cause issues"} 
[2026-08-08 05:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786148820000,"timestamp_ms":1786148820000,"timestamp_seconds":1786148820,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec41420"} 
[2026-08-08 05:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:57:38] 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-08-08 05:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254096128001,"66":12069,"193":206,"87":10496,"24":52,"16":115885549155254272,"45":-9145121967502745600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-08-08 05:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254096128001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:57:38] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:57:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115885549155254272,"km_value":115885549155254.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145121967502745600,"description":"Unknown IO ID 45"} 
[2026-08-08 05:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254096128001,"power":12069,"unknown_193":206,"unknown_87":10496,"ignition":52,"odometer":null,"unknown_45":-9145121967502745600}} 
[2026-08-08 05:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":152796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:57:38] local.INFO: GPS data processed {"connection_id":152796,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:57:38] local.INFO: Acknowledgment sent {"connection_id":152796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:58:11] local.INFO: TCP Data received {"connection_id":152796,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec42f78012d813ac00603a0d00005001d24..."} 
[2026-08-08 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec42f78012d813ac00603a0d00005001d24..."} 
[2026-08-08 05:58:11] local.INFO: Processing buffer {"connection_id":152796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec42f78012d813ac00603a0d00005001d24..."} 
[2026-08-08 05:58:11] local.INFO: Packet analysis {"connection_id":152796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:58:11] local.INFO: Extracted packet for processing {"connection_id":152796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763443904,"raw_latitude":100901072,"longitude_deg":76.3443904,"latitude_deg":10.0901072,"altitude":5,"angle":29,"satellites":36,"speed":54,"hex_longitude":"2d813ac0","hex_latitude":"0603a0d0","is_valid_coordinates":true} 
[2026-08-08 05:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254097920001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115886008716754944,"note":"Value kept but may cause issues"} 
[2026-08-08 05:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9140055417919858688,"note":"Value kept but may cause issues"} 
[2026-08-08 05:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786148827000,"timestamp_ms":1786148827000,"timestamp_seconds":1786148827,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec42f78"} 
[2026-08-08 05:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:58:11] 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-08-08 05:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254097920001,"66":12135,"193":206,"87":10496,"24":54,"16":115886008716754944,"45":-9140055417919858688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-08-08 05:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254097920001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:58:11] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:58:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115886008716754944,"km_value":115886008716754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9140055417919858688,"description":"Unknown IO ID 45"} 
[2026-08-08 05:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254097920001,"power":12135,"unknown_193":206,"unknown_87":10496,"ignition":54,"odometer":null,"unknown_45":-9140055417919858688}} 
[2026-08-08 05:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":152796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:58:11] local.INFO: GPS data processed {"connection_id":152796,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:58:11] local.INFO: Acknowledgment sent {"connection_id":152796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:58:32] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:58:32] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:58:32] local.INFO: IMEI packet received {"connection_id":150351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":150351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:58:38] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:58:38] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:58:38] local.INFO: IMEI packet received {"connection_id":150351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":150351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:58:46] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec44ad0012d814e800603c1500006001e24..."} 
[2026-08-08 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec44ad0012d814e800603c1500006001e24..."} 
[2026-08-08 05:58:46] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec44ad0012d814e800603c1500006001e24..."} 
[2026-08-08 05:58:46] local.INFO: Packet analysis {"connection_id":150351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:58:46] local.INFO: Extracted packet for processing {"connection_id":150351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763448960,"raw_latitude":100909392,"longitude_deg":76.344896,"latitude_deg":10.0909392,"altitude":6,"angle":30,"satellites":36,"speed":54,"hex_longitude":"2d814e80","hex_latitude":"0603c150","is_valid_coordinates":true} 
[2026-08-08 05:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254099712001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115886481163157504,"note":"Value kept but may cause issues"} 
[2026-08-08 05:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134777762104422400,"note":"Value kept but may cause issues"} 
[2026-08-08 05:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786148834000,"timestamp_ms":1786148834000,"timestamp_seconds":1786148834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec44ad0"} 
[2026-08-08 05:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:58:46] 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-08-08 05:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254099712001,"66":12156,"193":206,"87":10496,"24":54,"16":115886481163157504,"45":-9134777762104422400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-08-08 05:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254099712001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:58:46] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 05:58:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115886481163157504,"km_value":115886481163157.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134777762104422400,"description":"Unknown IO ID 45"} 
[2026-08-08 05:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254099712001,"power":12156,"unknown_193":206,"unknown_87":10496,"ignition":54,"odometer":null,"unknown_45":-9134777762104422400}} 
[2026-08-08 05:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":150351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:58:46] local.INFO: GPS data processed {"connection_id":150351,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:58:46] local.INFO: Acknowledgment sent {"connection_id":150351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:59:20] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec5e110012d82000006059e18000a001228..."} 
[2026-08-08 05:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec5e110012d82000006059e18000a001228..."} 
[2026-08-08 05:59:20] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec5e110012d82000006059e18000a001228..."} 
[2026-08-08 05:59:20] local.INFO: Packet analysis {"connection_id":150351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec5"} 
[2026-08-08 05:59:20] local.INFO: Extracted packet for processing {"connection_id":150351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec5"} 
[2026-08-08 05:59:20] local.INFO: GPS Element Parsed {"raw_longitude":763494400,"raw_latitude":101031448,"longitude_deg":76.34944,"latitude_deg":10.1031448,"altitude":10,"angle":18,"satellites":40,"speed":44,"hex_longitude":"2d820000","hex_latitude":"06059e18","is_valid_coordinates":true} 
[2026-08-08 05:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254126080001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115892850599657472,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9083338210079510528,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:20] 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-08-08 05:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786148938000,"timestamp_ms":1786148938000,"timestamp_seconds":1786148938,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec5e110"} 
[2026-08-08 05:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 05:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:59:20] 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-08-08 05:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254126080001,"66":12135,"167":206,"87":10496,"24":44,"16":115892850599657472,"45":-9083338210079510528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 05:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254126080001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:59:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 05:59:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115892850599657472,"km_value":115892850599657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9083338210079510528,"description":"Unknown IO ID 45"} 
[2026-08-08 05:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254126080001,"power":12135,"unknown_167":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-9083338210079510528}} 
[2026-08-08 05:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":150351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:59:20] local.INFO: GPS data processed {"connection_id":150351,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:59:20] local.INFO: Acknowledgment sent {"connection_id":150351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:59:31] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:31] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:31] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 05:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:59:32] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:32] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:32] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:59:38] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:38] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 05:59:38] local.INFO: IMEI packet received {"connection_id":151323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 05:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":151323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 05:59:39] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec60050012d820a800605c2900009000c2a..."} 
[2026-08-08 05:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec60050012d820a800605c2900009000c2a..."} 
[2026-08-08 05:59:39] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec60050012d820a800605c2900009000c2a..."} 
[2026-08-08 05:59:39] local.INFO: Packet analysis {"connection_id":151323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 05:59:39] local.INFO: Extracted packet for processing {"connection_id":151323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763497088,"raw_latitude":101040784,"longitude_deg":76.3497088,"latitude_deg":10.1040784,"altitude":9,"angle":12,"satellites":42,"speed":51,"hex_longitude":"2d820a80","hex_latitude":"0605c290","is_valid_coordinates":true} 
[2026-08-08 05:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254128128001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115893323046060032,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079256822914869248,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:39] 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-08-08 05:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786148946000,"timestamp_ms":1786148946000,"timestamp_seconds":1786148946,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec60050"} 
[2026-08-08 05:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 05: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 05:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 05:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 05:59:39] 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-08-08 05:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 05:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 05:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254128128001,"66":12156,"167":206,"87":10496,"24":51,"16":115893323046060032,"45":-9079256822914869248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 05:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 05:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 05:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254128128001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:59:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 05:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 05:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115893323046060032,"km_value":115893323046060.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079256822914869248,"description":"Unknown IO ID 45"} 
[2026-08-08 05:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254128128001,"power":12156,"unknown_167":206,"unknown_87":10496,"ignition":51,"odometer":null,"unknown_45":-9079256822914869248}} 
[2026-08-08 05:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":151323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:59:39] local.INFO: GPS data processed {"connection_id":151323,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:59:39] local.INFO: Acknowledgment sent {"connection_id":151323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 05:59:45] local.INFO: TCP Data received {"connection_id":150096,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:59:45] local.INFO: Processing buffer {"connection_id":150096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 05:59:45] local.INFO: IMEI packet received {"connection_id":150096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 05:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":150096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 05:59:46] local.INFO: TCP Data received {"connection_id":150096,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec4a890012d391b4006aa5690000800a433..."} 
[2026-08-08 05:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec4a890012d391b4006aa5690000800a433..."} 
[2026-08-08 05:59:46] local.INFO: Processing buffer {"connection_id":150096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec4a890012d391b4006aa5690000800a433..."} 
[2026-08-08 05:59:46] local.INFO: Packet analysis {"connection_id":150096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:59:46] local.INFO: Extracted packet for processing {"connection_id":150096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec4"} 
[2026-08-08 05:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758717248,"raw_latitude":111826576,"longitude_deg":75.8717248,"latitude_deg":11.1826576,"altitude":8,"angle":164,"satellites":51,"speed":58,"hex_longitude":"2d391b40","hex_latitude":"06aa5690","is_valid_coordinates":true} 
[2026-08-08 05:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 05:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254106112001,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374867803611594752,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4112279069628311552,"note":"Value kept but may cause issues"} 
[2026-08-08 05:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 05:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786148858000,"timestamp_ms":1786148858000,"timestamp_seconds":1786148858,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec4a890"} 
[2026-08-08 05:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 05:59: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-08-08 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 05:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 05: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-08-08 05:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 05:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 05:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 05:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 05:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 05:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 05:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 05:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254106112001,"66":27343,"185":206,"28":21760,"24":58,"16":374867803611594752,"45":4112279069628311552},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 05:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 05:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 05:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254106112001,"description":"Unknown IO ID 0"} 
[2026-08-08 05:59:46] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 05:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 05:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374867803611594752,"km_value":374867803611594.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 05:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4112279069628311552,"description":"Unknown IO ID 45"} 
[2026-08-08 05:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254106112001,"power":27343,"unknown_185":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":4112279069628311552}} 
[2026-08-08 05:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":150096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 05:59:46] local.INFO: GPS data processed {"connection_id":150096,"processed":1,"errors":0,"total":1} 
[2026-08-08 05:59:46] local.INFO: Acknowledgment sent {"connection_id":150096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:10] local.INFO: TCP Data received {"connection_id":151323,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec61f90012d8210c00605e818000a000526..."} 
[2026-08-08 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec61f90012d8210c00605e818000a000526..."} 
[2026-08-08 06:00:10] local.INFO: Processing buffer {"connection_id":151323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec61f90012d8210c00605e818000a000526..."} 
[2026-08-08 06:00:10] local.INFO: Packet analysis {"connection_id":151323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:10] local.INFO: Extracted packet for processing {"connection_id":151323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763498688,"raw_latitude":101050392,"longitude_deg":76.3498688,"latitude_deg":10.1050392,"altitude":10,"angle":5,"satellites":38,"speed":45,"hex_longitude":"2d8210c0","hex_latitude":"0605e818","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254130176001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115893795492462592,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076301335657017344,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:10] 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-08-08 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786148954000,"timestamp_ms":1786148954000,"timestamp_seconds":1786148954,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec61f90"} 
[2026-08-08 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 06:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:10] 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-08-08 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254130176001,"66":12004,"167":206,"87":10496,"24":45,"16":115893795492462592,"45":-9076301335657017344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254130176001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 06:00:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115893795492462592,"km_value":115893795492462.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076301335657017344,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254130176001,"power":12004,"unknown_167":206,"unknown_87":10496,"ignition":45,"odometer":null,"unknown_45":-9076301335657017344}} 
[2026-08-08 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":151323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:10] local.INFO: GPS data processed {"connection_id":151323,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:10] local.INFO: Acknowledgment sent {"connection_id":151323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:17] local.INFO: TCP Data received {"connection_id":150096,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec62760012d395c8006a950900008013b2f..."} 
[2026-08-08 06:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec62760012d395c8006a950900008013b2f..."} 
[2026-08-08 06:00:17] local.INFO: Processing buffer {"connection_id":150096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec62760012d395c8006a950900008013b2f..."} 
[2026-08-08 06:00:17] local.INFO: Packet analysis {"connection_id":150096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:17] local.INFO: Extracted packet for processing {"connection_id":150096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758733952,"raw_latitude":111759504,"longitude_deg":75.8733952,"latitude_deg":11.1759504,"altitude":8,"angle":315,"satellites":47,"speed":10,"hex_longitude":"2d395c80","hex_latitude":"06a95090","is_valid_coordinates":true} 
[2026-08-08 06:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254132480001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374871299714973696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133671167838892032,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786148956000,"timestamp_ms":1786148956000,"timestamp_seconds":1786148956,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec62760"} 
[2026-08-08 06:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-08 06:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254132480001,"66":26930,"90":206,"28":21760,"24":10,"16":374871299714973696,"45":4133671167838892032},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 06:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254132480001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:17] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 06:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374871299714973696,"km_value":374871299714973.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133671167838892032,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254132480001,"power":26930,"unknown_90":206,"unknown_28":21760,"ignition":10,"odometer":null,"unknown_45":4133671167838892032}} 
[2026-08-08 06:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":150096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:17] local.INFO: GPS data processed {"connection_id":150096,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:17] local.INFO: Acknowledgment sent {"connection_id":150096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:33] local.INFO: TCP Data received {"connection_id":152797,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:33] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:33] local.INFO: IMEI packet received {"connection_id":152797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":152797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:00:37] local.INFO: TCP Data received {"connection_id":152797,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:37] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:37] local.INFO: IMEI packet received {"connection_id":152797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":152797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:00:41] local.INFO: TCP Data received {"connection_id":152797,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:41] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:00:41] local.INFO: IMEI packet received {"connection_id":152797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":152797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:00:42] local.INFO: TCP Data received {"connection_id":152797,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec63ae8012d39574006a954400007012a2e..."} 
[2026-08-08 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec63ae8012d39574006a954400007012a2e..."} 
[2026-08-08 06:00:42] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec63ae8012d39574006a954400007012a2e..."} 
[2026-08-08 06:00:42] local.INFO: Packet analysis {"connection_id":152797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:42] local.INFO: Extracted packet for processing {"connection_id":152797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758732608,"raw_latitude":111760448,"longitude_deg":75.8732608,"latitude_deg":11.1760448,"altitude":7,"angle":298,"satellites":46,"speed":11,"hex_longitude":"2d395740","hex_latitude":"06a95440","is_valid_coordinates":true} 
[2026-08-08 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254132736001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374871381319352320,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133319324118061056,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786148961000,"timestamp_ms":1786148961000,"timestamp_seconds":1786148961,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec63ae8"} 
[2026-08-08 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-08 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254132736001,"66":27321,"90":206,"28":21760,"24":11,"16":374871381319352320,"45":4133319324118061056},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254132736001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:42] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 06:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374871381319352320,"km_value":374871381319352.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133319324118061056,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254132736001,"power":27321,"unknown_90":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":4133319324118061056}} 
[2026-08-08 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":152797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:42] local.INFO: GPS data processed {"connection_id":152797,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:42] local.INFO: Acknowledgment sent {"connection_id":152797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:44] local.INFO: TCP Data received {"connection_id":152797,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec67580012d39368006a95ef80008011e2d..."} 
[2026-08-08 06:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec67580012d39368006a95ef80008011e2d..."} 
[2026-08-08 06:00:44] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec67580012d39368006a95ef80008011e2d..."} 
[2026-08-08 06:00:44] local.INFO: Packet analysis {"connection_id":152797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:44] local.INFO: Extracted packet for processing {"connection_id":152797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758724224,"raw_latitude":111763192,"longitude_deg":75.8724224,"latitude_deg":11.1763192,"altitude":8,"angle":286,"satellites":45,"speed":34,"hex_longitude":"2d393680","hex_latitude":"06a95ef8","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254134016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374871802226147328,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131841580490571776,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786148976000,"timestamp_ms":1786148976000,"timestamp_seconds":1786148976,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec67580"} 
[2026-08-08 06:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 06:00: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-08-08 06: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-08-08 06:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254134016001,"66":27365,"90":206,"28":21760,"24":34,"16":374871802226147328,"45":4131841580490571776},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 06:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254134016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:44] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 06:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374871802226147328,"km_value":374871802226147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131841580490571776,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254134016001,"power":27365,"unknown_90":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":4131841580490571776}} 
[2026-08-08 06:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":152797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:44] local.INFO: GPS data processed {"connection_id":152797,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:44] local.INFO: Acknowledgment sent {"connection_id":152797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:49] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:00:49] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:00:49] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:00:50] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:00:50] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:00:50] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:00:52] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec63ed0012d8212c006060b88000b00002e..."} 
[2026-08-08 06:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec63ed0012d8212c006060b88000b00002e..."} 
[2026-08-08 06:00:52] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fde..."} 
[2026-08-08 06:00:52] local.INFO: IMEI packet received {"connection_id":152798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":152798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:00:53] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec65e10012d8210c006062e40000d01622c..."} 
[2026-08-08 06:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec65e10012d8210c006062e40000d01622c..."} 
[2026-08-08 06:00:53] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fdec63ed0012d8212c006060b88000b00002e..."} 
[2026-08-08 06:00:53] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:53] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":763499200,"raw_latitude":101059464,"longitude_deg":76.34992,"latitude_deg":10.1059464,"altitude":11,"angle":0,"satellites":46,"speed":44,"hex_longitude":"2d8212c0","hex_latitude":"06060b88","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254132224001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115894233579126784,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9074542117050116096,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:53] 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-08-08 06:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786148962000,"timestamp_ms":1786148962000,"timestamp_seconds":1786148962,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec63ed0"} 
[2026-08-08 06:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:53] 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-08-08 06:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254132224001,"66":11721,"167":206,"87":10496,"24":44,"16":115894233579126784,"45":-9074542117050116096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 06:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254132224001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115894233579126784,"km_value":115894233579126.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9074542117050116096,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254132224001,"power":11721,"unknown_167":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-9074542117050116096}} 
[2026-08-08 06:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:53] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:53] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:53] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:53] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":763498688,"raw_latitude":101068352,"longitude_deg":76.3498688,"latitude_deg":10.1068352,"altitude":13,"angle":354,"satellites":44,"speed":43,"hex_longitude":"2d8210c0","hex_latitude":"06062e40","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254134272001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115894667370823680,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073979167094372352,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:53] 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-08-08 06:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786148970000,"timestamp_ms":1786148970000,"timestamp_seconds":1786148970,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec65e10"} 
[2026-08-08 06:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 06:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:53] 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-08-08 06:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254134272001,"66":12015,"167":206,"87":10496,"24":43,"16":115894667370823680,"45":-9073979167094372352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 06:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254134272001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115894667370823680,"km_value":115894667370823.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073979167094372352,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254134272001,"power":12015,"unknown_167":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9073979167094372352}} 
[2026-08-08 06:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:53] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:53] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:00:59] local.INFO: TCP Data received {"connection_id":152798,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec68138012d820ac006065478000d015c29..."} 
[2026-08-08 06:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec68138012d820ac006065478000d015c29..."} 
[2026-08-08 06:00:59] local.INFO: Processing buffer {"connection_id":152798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec68138012d820ac006065478000d015c29..."} 
[2026-08-08 06:00:59] local.INFO: Packet analysis {"connection_id":152798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:59] local.INFO: Extracted packet for processing {"connection_id":152798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763497152,"raw_latitude":101078136,"longitude_deg":76.3497152,"latitude_deg":10.1078136,"altitude":13,"angle":348,"satellites":41,"speed":43,"hex_longitude":"2d820ac0","hex_latitude":"06065478","is_valid_coordinates":true} 
[2026-08-08 06:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254136320001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115895148407160832,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9074542117045518336,"note":"Value kept but may cause issues"} 
[2026-08-08 06:00:59] 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-08-08 06:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786148979000,"timestamp_ms":1786148979000,"timestamp_seconds":1786148979,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec68138"} 
[2026-08-08 06:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 06:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":152798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":152798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:00: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-08-08 06:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254136320001,"66":12004,"167":206,"87":10496,"24":43,"16":115895148407160832,"45":-9074542117045518336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 06:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254136320001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115895148407160832,"km_value":115895148407160.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9074542117045518336,"description":"Unknown IO ID 45"} 
[2026-08-08 06:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254136320001,"power":12004,"unknown_167":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9074542117045518336}} 
[2026-08-08 06:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":152798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:00:59] local.INFO: GPS data processed {"connection_id":152798,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:00:59] local.INFO: Acknowledgment sent {"connection_id":152798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:01:16] local.INFO: TCP Data received {"connection_id":152797,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec69c90012d39108006a966b0000701172a..."} 
[2026-08-08 06:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec69c90012d39108006a966b0000701172a..."} 
[2026-08-08 06:01:16] local.INFO: Processing buffer {"connection_id":152797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec69c90012d39108006a966b0000701172a..."} 
[2026-08-08 06:01:16] local.INFO: Packet analysis {"connection_id":152797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:01:16] local.INFO: Extracted packet for processing {"connection_id":152797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758714496,"raw_latitude":111765168,"longitude_deg":75.8714496,"latitude_deg":11.1765168,"altitude":7,"angle":279,"satellites":42,"speed":40,"hex_longitude":"2d391080","hex_latitude":"06a966b0","is_valid_coordinates":true} 
[2026-08-08 06:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254137856001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374872274672549888,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122623275004000256,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786148986000,"timestamp_ms":1786148986000,"timestamp_seconds":1786148986,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec69c90"} 
[2026-08-08 06:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 06:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254137856001,"66":27267,"90":206,"28":21760,"24":40,"16":374872274672549888,"45":4122623275004000256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 06:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254137856001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:01:16] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 06:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374872274672549888,"km_value":374872274672549.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122623275004000256,"description":"Unknown IO ID 45"} 
[2026-08-08 06:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254137856001,"power":27267,"unknown_90":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":4122623275004000256}} 
[2026-08-08 06:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":152797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:01:16] local.INFO: GPS data processed {"connection_id":152797,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:01:16] local.INFO: Acknowledgment sent {"connection_id":152797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:01:33] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:01:33] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:01:33] local.INFO: IMEI packet received {"connection_id":150352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":150352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:01:36] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:01:36] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:01:36] local.INFO: IMEI packet received {"connection_id":151324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":151324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:01:38] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:01:38] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:01:38] local.INFO: IMEI packet received {"connection_id":150352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":150352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:01:38] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec6a460012d820300060678a8000c015b2b..."} 
[2026-08-08 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec6a460012d820300060678a8000c015b2b..."} 
[2026-08-08 06:01:38] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec6a460012d820300060678a8000c015b2b..."} 
[2026-08-08 06:01:38] local.INFO: Packet analysis {"connection_id":150352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:01:38] local.INFO: Extracted packet for processing {"connection_id":150352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763495168,"raw_latitude":101087400,"longitude_deg":76.3495168,"latitude_deg":10.10874,"altitude":12,"angle":347,"satellites":43,"speed":40,"hex_longitude":"2d820300","hex_latitude":"060678a8","is_valid_coordinates":true} 
[2026-08-08 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254138624001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115895607968661504,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076230966903277568,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:38] 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-08-08 06:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786148988000,"timestamp_ms":1786148988000,"timestamp_seconds":1786148988,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec6a460"} 
[2026-08-08 06:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:01:38] 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-08-08 06:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254138624001,"66":11776,"168":206,"87":10496,"24":40,"16":115895607968661504,"45":-9076230966903277568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-08-08 06:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254138624001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:01:39] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-08 06:01:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115895607968661504,"km_value":115895607968661.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076230966903277568,"description":"Unknown IO ID 45"} 
[2026-08-08 06:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254138624001,"power":11776,"unknown_168":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-9076230966903277568}} 
[2026-08-08 06:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":150352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:01:39] local.INFO: GPS data processed {"connection_id":150352,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:01:39] local.INFO: Acknowledgment sent {"connection_id":150352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:01:39] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:01:39] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:01:39] local.INFO: IMEI packet received {"connection_id":151324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":151324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:01:42] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec6bfb8012d38eb0006a96d480008011a2d..."} 
[2026-08-08 06:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec6bfb8012d38eb0006a96d480008011a2d..."} 
[2026-08-08 06:01:42] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec6bfb8012d38eb0006a96d480008011a2d..."} 
[2026-08-08 06:01:42] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:01:42] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758704896,"raw_latitude":111766856,"longitude_deg":75.8704896,"latitude_deg":11.1766856,"altitude":8,"angle":282,"satellites":45,"speed":45,"hex_longitude":"2d38eb00","hex_latitude":"06a96d48","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254140416001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374872738529017856,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111927225889501184,"note":"Value kept but may cause issues"} 
[2026-08-08 06:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786148995000,"timestamp_ms":1786148995000,"timestamp_seconds":1786148995,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec6bfb8"} 
[2026-08-08 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-08-08 06:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 06:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254140416001,"66":27376,"91":206,"28":21760,"24":45,"16":374872738529017856,"45":4111927225889501184},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 06:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254140416001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:01:42] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 06:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374872738529017856,"km_value":374872738529017.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111927225889501184,"description":"Unknown IO ID 45"} 
[2026-08-08 06:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254140416001,"power":27376,"unknown_91":206,"unknown_28":21760,"ignition":45,"odometer":null,"unknown_45":4111927225889501184}} 
[2026-08-08 06:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:01:42] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:01:42] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:02:09] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec6c788012d81f94006069cf0000a01552c..."} 
[2026-08-08 06:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec6c788012d81f94006069cf0000a01552c..."} 
[2026-08-08 06:02:09] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec6c788012d81f94006069cf0000a01552c..."} 
[2026-08-08 06:02:09] local.INFO: Packet analysis {"connection_id":150352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:02:09] local.INFO: Extracted packet for processing {"connection_id":150352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec6"} 
[2026-08-08 06:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763492672,"raw_latitude":101096688,"longitude_deg":76.3492672,"latitude_deg":10.1096688,"altitude":10,"angle":341,"satellites":44,"speed":43,"hex_longitude":"2d81f940","hex_latitude":"06069cf0","is_valid_coordinates":true} 
[2026-08-08 06:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254140928001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115896071825129472,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078412397970413568,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] 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-08-08 06:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786148997000,"timestamp_ms":1786148997000,"timestamp_seconds":1786148997,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec6c788"} 
[2026-08-08 06:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3737510160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2147878338,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3323957249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3893886986,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1101463758,"corrected_to":0} 
[2026-08-08 06:02:09] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3160211456,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,168,87,24,241,157,16,190,159,129,45,192,84,13,41,10,66,167,94,46,44,189,62,1,240,201,227,222,5,4,113,205,144,42,239,47,2,155],"length":434,"final_offset":564,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1101463758,"validated":0}]} 
[2026-08-08 06:02:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865072843676188672,"timestamp_seconds":865072843676188.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:02:09] 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-08-08 06:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254140928001,"66":12026,"168":206,"87":10496,"24":43,"16":115896071825129472,"45":-9078412397970413568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-08-08 06:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254140928001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:02:09] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-08 06:02:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115896071825129472,"km_value":115896071825129.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078412397970413568,"description":"Unknown IO ID 45"} 
[2026-08-08 06:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254140928001,"power":12026,"unknown_168":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9078412397970413568}} 
[2026-08-08 06:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":150352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:02:10] local.INFO: GPS data processed {"connection_id":150352,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:02:10] local.INFO: Acknowledgment sent {"connection_id":150352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:02:14] local.INFO: TCP Data received {"connection_id":151324,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec7f450012d37590006a98a80000601132d..."} 
[2026-08-08 06:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec7f450012d37590006a98a80000601132d..."} 
[2026-08-08 06:02:14] local.INFO: Processing buffer {"connection_id":151324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec7f450012d37590006a98a80000601132d..."} 
[2026-08-08 06:02:14] local.INFO: Packet analysis {"connection_id":151324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec7"} 
[2026-08-08 06:02:14] local.INFO: Extracted packet for processing {"connection_id":151324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec7"} 
[2026-08-08 06:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758601984,"raw_latitude":111774336,"longitude_deg":75.8601984,"latitude_deg":11.1774336,"altitude":6,"angle":275,"satellites":45,"speed":51,"hex_longitude":"2d375900","hex_latitude":"06a98a80","is_valid_coordinates":true} 
[2026-08-08 06:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254162944001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374877703511212032,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988218973627514880,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149074000,"timestamp_ms":1786149074000,"timestamp_seconds":1786149074,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec7f450"} 
[2026-08-08 06:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06: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-08-08 06:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254162944001,"66":27343,"91":206,"28":21760,"24":51,"16":374877703511212032,"45":3988218973627514880},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 06:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254162944001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:02:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 06:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374877703511212032,"km_value":374877703511212.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988218973627514880,"description":"Unknown IO ID 45"} 
[2026-08-08 06:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254162944001,"power":27343,"unknown_91":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3988218973627514880}} 
[2026-08-08 06:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":151324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:02:14] local.INFO: GPS data processed {"connection_id":151324,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:02:14] local.INFO: Acknowledgment sent {"connection_id":151324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:02:32] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:32] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:32] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:02:34] local.INFO: TCP Data received {"connection_id":150097,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:34] local.INFO: Processing buffer {"connection_id":150097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:34] local.INFO: IMEI packet received {"connection_id":150097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":150097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:02:35] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:35] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:35] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:02:36] local.INFO: TCP Data received {"connection_id":150097,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:36] local.INFO: Processing buffer {"connection_id":150097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:36] local.INFO: IMEI packet received {"connection_id":150097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:02:37] local.INFO: TCP Data received {"connection_id":150097,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:37] local.INFO: Processing buffer {"connection_id":150097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:37] local.INFO: IMEI packet received {"connection_id":150097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":150097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:02:38] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:38] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:02:38] local.INFO: IMEI packet received {"connection_id":152799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":152799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:02:39] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec8deb0012d814ac006079910000701512e..."} 
[2026-08-08 06:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec8deb0012d814ac006079910000701512e..."} 
[2026-08-08 06:02:39] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec8deb0012d814ac006079910000701512e..."} 
[2026-08-08 06:02:39] local.INFO: Packet analysis {"connection_id":152799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec8"} 
[2026-08-08 06:02:39] local.INFO: Extracted packet for processing {"connection_id":152799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec8"} 
[2026-08-08 06:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763448000,"raw_latitude":101161232,"longitude_deg":76.3448,"latitude_deg":10.1161232,"altitude":7,"angle":337,"satellites":46,"speed":41,"hex_longitude":"2d814ac0","hex_latitude":"06079910","is_valid_coordinates":true} 
[2026-08-08 06:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254176000001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115899894346022912,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126122406506088448,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786149134000,"timestamp_ms":1786149134000,"timestamp_seconds":1786149134,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec8deb0"} 
[2026-08-08 06:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:02: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-08-08 06:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:02:39] 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-08-08 06:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254176000001,"66":11830,"173":206,"87":10496,"24":41,"16":115899894346022912,"45":-9126122406506088448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-08-08 06:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254176000001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:02:39] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-08 06:02:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115899894346022912,"km_value":115899894346022.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126122406506088448,"description":"Unknown IO ID 45"} 
[2026-08-08 06:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254176000001,"power":11830,"unknown_173":206,"unknown_87":10496,"ignition":41,"odometer":null,"unknown_45":-9126122406506088448}} 
[2026-08-08 06:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":152799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:02:39] local.INFO: GPS data processed {"connection_id":152799,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:02:39] local.INFO: Acknowledgment sent {"connection_id":152799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:02:41] local.INFO: TCP Data received {"connection_id":150097,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:41] local.INFO: Processing buffer {"connection_id":150097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:02:41] local.INFO: IMEI packet received {"connection_id":150097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:02:43] local.INFO: TCP Data received {"connection_id":150097,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec81390012d37324006a990f8000501182d..."} 
[2026-08-08 06:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec81390012d37324006a990f8000501182d..."} 
[2026-08-08 06:02:43] local.INFO: Processing buffer {"connection_id":150097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec81390012d37324006a990f8000501182d..."} 
[2026-08-08 06:02:43] local.INFO: Packet analysis {"connection_id":150097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec8"} 
[2026-08-08 06:02:43] local.INFO: Extracted packet for processing {"connection_id":150097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec8"} 
[2026-08-08 06:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758592064,"raw_latitude":111775992,"longitude_deg":75.8592064,"latitude_deg":11.1775992,"altitude":5,"angle":280,"satellites":45,"speed":42,"hex_longitude":"2d373240","hex_latitude":"06a990f8","is_valid_coordinates":true} 
[2026-08-08 06:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254162944001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374878180252581888,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988218973627514880,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149082000,"timestamp_ms":1786149082000,"timestamp_seconds":1786149082,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec81390"} 
[2026-08-08 06:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 06:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254162944001,"66":27300,"91":206,"28":21760,"24":42,"16":374878180252581888,"45":3988218973627514880},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 06:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254162944001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:02:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 06:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374878180252581888,"km_value":374878180252581.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988218973627514880,"description":"Unknown IO ID 45"} 
[2026-08-08 06:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254162944001,"power":27300,"unknown_91":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":3988218973627514880}} 
[2026-08-08 06:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":150097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:02:43] local.INFO: GPS data processed {"connection_id":150097,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:02:43] local.INFO: Acknowledgment sent {"connection_id":150097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:02:47] local.INFO: TCP Data received {"connection_id":152799,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec905c0012d8139800607bb600009014b2d..."} 
[2026-08-08 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec905c0012d8139800607bb600009014b2d..."} 
[2026-08-08 06:02:48] local.INFO: Processing buffer {"connection_id":152799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec905c0012d8139800607bb600009014b2d..."} 
[2026-08-08 06:02:48] local.INFO: Packet analysis {"connection_id":152799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:02:48] local.INFO: Extracted packet for processing {"connection_id":152799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763443584,"raw_latitude":101170016,"longitude_deg":76.3443584,"latitude_deg":10.1170016,"altitude":9,"angle":331,"satellites":45,"speed":39,"hex_longitude":"2d813980","hex_latitude":"0607bb60","is_valid_coordinates":true} 
[2026-08-08 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254178304001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115900371087392768,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130274162410450944,"note":"Value kept but may cause issues"} 
[2026-08-08 06:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786149144000,"timestamp_ms":1786149144000,"timestamp_seconds":1786149144,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec905c0"} 
[2026-08-08 06:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 06:02:48] 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-08-08 06:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:02:48] 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-08-08 06:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254178304001,"66":12037,"173":206,"87":10496,"24":39,"16":115900371087392768,"45":-9130274162410450944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-08-08 06:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254178304001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115900371087392768,"km_value":115900371087392.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130274162410450944,"description":"Unknown IO ID 45"} 
[2026-08-08 06:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254178304001,"power":12037,"unknown_173":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9130274162410450944}} 
[2026-08-08 06:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":152799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:02:48] local.INFO: GPS data processed {"connection_id":152799,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:02:48] local.INFO: Acknowledgment sent {"connection_id":152799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:03:15] local.INFO: TCP Data received {"connection_id":150097,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec832d0012d370d8006a997b0000501182e..."} 
[2026-08-08 06:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec832d0012d370d8006a997b0000501182e..."} 
[2026-08-08 06:03:15] local.INFO: Processing buffer {"connection_id":150097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec832d0012d370d8006a997b0000501182e..."} 
[2026-08-08 06:03:15] local.INFO: Packet analysis {"connection_id":150097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec8"} 
[2026-08-08 06:03:15] local.INFO: Extracted packet for processing {"connection_id":150097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec8"} 
[2026-08-08 06:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758582656,"raw_latitude":111777712,"longitude_deg":75.8582656,"latitude_deg":11.1777712,"altitude":5,"angle":280,"satellites":46,"speed":51,"hex_longitude":"2d370d80","hex_latitude":"06a997b0","is_valid_coordinates":true} 
[2026-08-08 06:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254164992001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374878635519115264,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3977311818280400896,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786149090000,"timestamp_ms":1786149090000,"timestamp_seconds":1786149090,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec832d0"} 
[2026-08-08 06:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254164992001,"66":27365,"104":206,"28":21760,"24":51,"16":374878635519115264,"45":3977311818280400896},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-08 06:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254164992001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:03:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 06:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374878635519115264,"km_value":374878635519115.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3977311818280400896,"description":"Unknown IO ID 45"} 
[2026-08-08 06:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254164992001,"power":27365,"unknown_104":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3977311818280400896}} 
[2026-08-08 06:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":150097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:03:15] local.INFO: GPS data processed {"connection_id":150097,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:03:15] local.INFO: Acknowledgment sent {"connection_id":150097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:03:33] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:03:33] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:03:33] local.INFO: IMEI packet received {"connection_id":150353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":150353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:03:36] local.INFO: TCP Data received {"connection_id":151325,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:36] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:36] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:03:38] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:03:38] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:03:38] local.INFO: IMEI packet received {"connection_id":150353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":150353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:03:38] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec928e8012d8128400607da100008014b2d..."} 
[2026-08-08 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec928e8012d8128400607da100008014b2d..."} 
[2026-08-08 06:03:38] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec928e8012d8128400607da100008014b2d..."} 
[2026-08-08 06:03:38] local.INFO: Packet analysis {"connection_id":150353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:03:38] local.INFO: Extracted packet for processing {"connection_id":150353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763439168,"raw_latitude":101177872,"longitude_deg":76.3439168,"latitude_deg":10.1177872,"altitude":8,"angle":331,"satellites":45,"speed":39,"hex_longitude":"2d812840","hex_latitude":"0607da10","is_valid_coordinates":true} 
[2026-08-08 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254180864001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115900809174056960,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135129605756461056,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786149153000,"timestamp_ms":1786149153000,"timestamp_seconds":1786149153,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec928e8"} 
[2026-08-08 06:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3737633160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3362101249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172960774,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257787,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4300094105434259480,"corrected_to":0} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2415996289,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3238723584,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":6,"raw_value":520376863277792044,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194763776,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,173,87,24,241,157,16,194,159,222,45,192,153,7,46,10,66,187,128,120,44,193,152,1,240,5,227,4,113,205,12,19,137,42,239,2,155,6,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":4300094105434259480,"validated":0}]} 
[2026-08-08 06:03:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648882477966229504,"timestamp_seconds":648882477966229.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:03:38] 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-08-08 06:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254180864001,"66":11798,"173":206,"87":10496,"24":39,"16":115900809174056960,"45":-9135129605756461056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-08-08 06:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254180864001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115900809174056960,"km_value":115900809174056.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135129605756461056,"description":"Unknown IO ID 45"} 
[2026-08-08 06:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254180864001,"power":11798,"unknown_173":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9135129605756461056}} 
[2026-08-08 06:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":150353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:03:39] local.INFO: GPS data processed {"connection_id":150353,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:03:39] local.INFO: Acknowledgment sent {"connection_id":150353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:03:39] local.INFO: TCP Data received {"connection_id":151325,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:39] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:39] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:03:41] local.INFO: TCP Data received {"connection_id":151325,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:41] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:03:41] local.INFO: IMEI packet received {"connection_id":151325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":151325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:03:42] local.INFO: TCP Data received {"connection_id":151325,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec94828012d35bf8006aa1c800008012430..."} 
[2026-08-08 06:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec94828012d35bf8006aa1c800008012430..."} 
[2026-08-08 06:03:42] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec94828012d35bf8006aa1c800008012430..."} 
[2026-08-08 06:03:42] local.INFO: Packet analysis {"connection_id":151325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:03:42] local.INFO: Extracted packet for processing {"connection_id":151325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758497152,"raw_latitude":111811712,"longitude_deg":75.8497152,"latitude_deg":11.1811712,"altitude":8,"angle":292,"satellites":48,"speed":59,"hex_longitude":"2d35bf80","hex_latitude":"06aa1c80","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254183680001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374883067925364736,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3882173276160462848,"note":"Value kept but may cause issues"} 
[2026-08-08 06:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786149161000,"timestamp_ms":1786149161000,"timestamp_seconds":1786149161,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec94828"} 
[2026-08-08 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-08-08 06:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 06:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254183680001,"66":27234,"104":206,"28":21760,"24":59,"16":374883067925364736,"45":3882173276160462848},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-08 06:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254183680001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:03:42] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 06:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374883067925364736,"km_value":374883067925364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3882173276160462848,"description":"Unknown IO ID 45"} 
[2026-08-08 06:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254183680001,"power":27234,"unknown_104":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3882173276160462848}} 
[2026-08-08 06:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":151325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:03:42] local.INFO: GPS data processed {"connection_id":151325,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:03:42] local.INFO: Acknowledgment sent {"connection_id":151325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:04:10] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeca5998012d808e000608eee8000c00112e..."} 
[2026-08-08 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeca5998012d808e000608eee8000c00112e..."} 
[2026-08-08 06:04:10] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeca5998012d808e000608eee8000c00112e..."} 
[2026-08-08 06:04:10] local.INFO: Packet analysis {"connection_id":150353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:04:10] local.INFO: Extracted packet for processing {"connection_id":150353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763399680,"raw_latitude":101248744,"longitude_deg":76.339968,"latitude_deg":10.1248744,"altitude":12,"angle":17,"satellites":46,"speed":44,"hex_longitude":"2d808e00","hex_latitude":"0608eee8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254202368001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115904807788609536,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184176620428972032,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786149231000,"timestamp_ms":1786149231000,"timestamp_seconds":1786149231,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeca5998"} 
[2026-08-08 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-08-08 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 06:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:04:10] 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-08-08 06:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254202368001,"66":12058,"174":206,"87":10496,"24":44,"16":115904807788609536,"45":-9184176620428972032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 06:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254202368001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:04:10] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 06:04:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115904807788609536,"km_value":115904807788609.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184176620428972032,"description":"Unknown IO ID 45"} 
[2026-08-08 06:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254202368001,"power":12058,"unknown_174":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-9184176620428972032}} 
[2026-08-08 06:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":150353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:04:10] local.INFO: GPS data processed {"connection_id":150353,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:04:10] local.INFO: Acknowledgment sent {"connection_id":150353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:04:14] local.INFO: TCP Data received {"connection_id":151325,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec95f98012d359f0006aa2a38000801242e..."} 
[2026-08-08 06:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec95f98012d359f0006aa2a38000801242e..."} 
[2026-08-08 06:04:14] local.INFO: Processing buffer {"connection_id":151325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec95f98012d359f0006aa2a38000801242e..."} 
[2026-08-08 06:04:14] local.INFO: Packet analysis {"connection_id":151325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:04:14] local.INFO: Extracted packet for processing {"connection_id":151325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758488832,"raw_latitude":111815224,"longitude_deg":75.8488832,"latitude_deg":11.1815224,"altitude":8,"angle":292,"satellites":46,"speed":59,"hex_longitude":"2d359f00","hex_latitude":"06aa2a38","is_valid_coordinates":true} 
[2026-08-08 06:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254185216001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374883501717061632,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3872954970674069504,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149167000,"timestamp_ms":1786149167000,"timestamp_seconds":1786149167,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec95f98"} 
[2026-08-08 06:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 06:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254185216001,"66":27484,"106":206,"28":21760,"24":59,"16":374883501717061632,"45":3872954970674069504},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254185216001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:04:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374883501717061632,"km_value":374883501717061.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3872954970674069504,"description":"Unknown IO ID 45"} 
[2026-08-08 06:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254185216001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3872954970674069504}} 
[2026-08-08 06:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":151325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:04:14] local.INFO: GPS data processed {"connection_id":151325,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:04:14] local.INFO: Acknowledgment sent {"connection_id":151325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:04:32] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:04:32] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:04:32] local.INFO: IMEI packet received {"connection_id":152800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":152800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:04:36] local.INFO: TCP Data received {"connection_id":150354,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:04:36] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:04:36] local.INFO: IMEI packet received {"connection_id":150354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":150354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:04:37] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:04:37] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:04:37] local.INFO: IMEI packet received {"connection_id":152800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":152800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:04:38] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeca6550012d8093400608faa8000d001d2e..."} 
[2026-08-08 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeca6550012d8093400608faa8000d001d2e..."} 
[2026-08-08 06:04:38] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeca6550012d8093400608faa8000d001d2e..."} 
[2026-08-08 06:04:38] local.INFO: Packet analysis {"connection_id":152800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:04:38] local.INFO: Extracted packet for processing {"connection_id":152800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763401024,"raw_latitude":101251752,"longitude_deg":76.3401024,"latitude_deg":10.1251752,"altitude":13,"angle":29,"satellites":46,"speed":43,"hex_longitude":"2d809340","hex_latitude":"0608faa8","is_valid_coordinates":true} 
[2026-08-08 06:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254203136001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115904966702399488,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183402564242184192,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786149234000,"timestamp_ms":1786149234000,"timestamp_seconds":1786149234,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeca6550"} 
[2026-08-08 06:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 06:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:04:38] 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-08-08 06:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254203136001,"66":12058,"174":206,"87":10496,"24":43,"16":115904966702399488,"45":-9183402564242184192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 06:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254203136001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:04:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 06:04:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115904966702399488,"km_value":115904966702399.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183402564242184192,"description":"Unknown IO ID 45"} 
[2026-08-08 06:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254203136001,"power":12058,"unknown_174":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9183402564242184192}} 
[2026-08-08 06:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":152800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:04:38] local.INFO: GPS data processed {"connection_id":152800,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:04:38] local.INFO: Acknowledgment sent {"connection_id":152800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:04:41] local.INFO: TCP Data received {"connection_id":150354,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:04:41] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:04:41] local.INFO: IMEI packet received {"connection_id":150354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":150354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:04:43] local.INFO: TCP Data received {"connection_id":150354,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdec97708012d357e8006aa37f00007012531..."} 
[2026-08-08 06:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdec97708012d357e8006aa37f00007012531..."} 
[2026-08-08 06:04:43] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdec97708012d357e8006aa37f00007012531..."} 
[2026-08-08 06:04:43] local.INFO: Packet analysis {"connection_id":150354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:04:43] local.INFO: Extracted packet for processing {"connection_id":150354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdec9"} 
[2026-08-08 06:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758480512,"raw_latitude":111818736,"longitude_deg":75.8480512,"latitude_deg":11.1818736,"altitude":7,"angle":293,"satellites":49,"speed":59,"hex_longitude":"2d357e80","hex_latitude":"06aa37f0","is_valid_coordinates":true} 
[2026-08-08 06:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254186752001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374883931213791232,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3863807033931872256,"note":"Value kept but may cause issues"} 
[2026-08-08 06:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149173000,"timestamp_ms":1786149173000,"timestamp_seconds":1786149173,"priority":1,"record_length":96,"hex_timestamp":"0000019fdec97708"} 
[2026-08-08 06:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 06:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254186752001,"66":27484,"106":206,"28":21760,"24":59,"16":374883931213791232,"45":3863807033931872256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254186752001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:04:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374883931213791232,"km_value":374883931213791.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3863807033931872256,"description":"Unknown IO ID 45"} 
[2026-08-08 06:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254186752001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3863807033931872256}} 
[2026-08-08 06:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":150354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:04:43] local.INFO: GPS data processed {"connection_id":150354,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:04:43] local.INFO: Acknowledgment sent {"connection_id":150354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:05:09] local.INFO: TCP Data received {"connection_id":152800,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeca74f0012d809d00060907e80010002a2e..."} 
[2026-08-08 06:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeca74f0012d809d00060907e80010002a2e..."} 
[2026-08-08 06:05:09] local.INFO: Processing buffer {"connection_id":152800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeca74f0012d809d00060907e80010002a2e..."} 
[2026-08-08 06:05:09] local.INFO: Packet analysis {"connection_id":152800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:09] local.INFO: Extracted packet for processing {"connection_id":152800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763403520,"raw_latitude":101255144,"longitude_deg":76.340352,"latitude_deg":10.1255144,"altitude":16,"angle":42,"satellites":46,"speed":39,"hex_longitude":"2d809d00","hex_latitude":"060907e8","is_valid_coordinates":true} 
[2026-08-08 06:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254203904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115905172860829696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181924820613683200,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786149238000,"timestamp_ms":1786149238000,"timestamp_seconds":1786149238,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeca74f0"} 
[2026-08-08 06:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 06:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:05:09] 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-08-08 06:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254203904001,"66":12037,"55":206,"87":10496,"24":39,"16":115905172860829696,"45":-9181924820613683200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,87,24,16,45]} 
[2026-08-08 06:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254203904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:05:09] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 06:05:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115905172860829696,"km_value":115905172860829.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181924820613683200,"description":"Unknown IO ID 45"} 
[2026-08-08 06:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254203904001,"power":12037,"unknown_55":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9181924820613683200}} 
[2026-08-08 06:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":152800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:05:09] local.INFO: GPS data processed {"connection_id":152800,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:05:09] local.INFO: Acknowledgment sent {"connection_id":152800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:05:14] local.INFO: TCP Data received {"connection_id":150354,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeca9fe8012d34c54006aa5050000600a434..."} 
[2026-08-08 06:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeca9fe8012d34c54006aa5050000600a434..."} 
[2026-08-08 06:05:14] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeca9fe8012d34c54006aa5050000600a434..."} 
[2026-08-08 06:05:14] local.INFO: Packet analysis {"connection_id":150354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:14] local.INFO: Extracted packet for processing {"connection_id":150354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111824976,"longitude_deg":75.8433088,"latitude_deg":11.1824976,"altitude":6,"angle":164,"satellites":52,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-08-08 06:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254202368001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886379345149952,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499872768,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149249000,"timestamp_ms":1786149249000,"timestamp_seconds":1786149249,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeca9fe8"} 
[2026-08-08 06:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 06:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254202368001,"66":27343,"106":206,"28":21760,"24":0,"16":374886379345149952,"45":3802586226499872768},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254202368001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:05:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886379345149952,"km_value":374886379345149.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499872768,"description":"Unknown IO ID 45"} 
[2026-08-08 06:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254202368001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802586226499872768}} 
[2026-08-08 06:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":150354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:05:14] local.INFO: GPS data processed {"connection_id":150354,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:05:14] local.INFO: Acknowledgment sent {"connection_id":150354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:05:31] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:31] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:31] local.INFO: IMEI packet received {"connection_id":150355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":150355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:05:32] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:32] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:32] local.INFO: IMEI packet received {"connection_id":150355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":150355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:05:38] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:38] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:05:38] local.INFO: IMEI packet received {"connection_id":150355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":150355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:05:38] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeca9c00012d80b680060922600012002a2d..."} 
[2026-08-08 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeca9c00012d80b680060922600012002a2d..."} 
[2026-08-08 06:05:38] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeca9c00012d80b680060922600012002a2d..."} 
[2026-08-08 06:05:38] local.INFO: Packet analysis {"connection_id":150355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:38] local.INFO: Extracted packet for processing {"connection_id":150355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":763410048,"raw_latitude":101261920,"longitude_deg":76.3410048,"latitude_deg":10.126192,"altitude":18,"angle":42,"satellites":45,"speed":35,"hex_longitude":"2d80b680","hex_latitude":"06092260","is_valid_coordinates":true} 
[2026-08-08 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254204928001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115905623832395776,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179180439589885952,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786149248000,"timestamp_ms":1786149248000,"timestamp_seconds":1786149248,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeca9c00"} 
[2026-08-08 06:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3386706919950386176,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3737788160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2156609542,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365639995,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3393333249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3583508489,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4300375580410970136,"corrected_to":0} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2281778560,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147879109,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3327459328,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":6,"raw_value":626695239670777389,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194786048,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,55,87,24,241,157,16,199,159,101,45,64,250,13,46,10,66,174,198,89,238,12,77,1,240,119,227,222,8,4,113,205,41,50,143,168,239,2,155,6,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":4300375580410970136,"validated":0}]} 
[2026-08-08 06:05:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152967881666265088,"timestamp_seconds":1152967881666265.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:05:38] 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-08-08 06:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254204928001,"66":11863,"55":206,"87":10496,"24":35,"16":115905623832395776,"45":-9179180439589885952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,87,24,16,45]} 
[2026-08-08 06:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254204928001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:05:38] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 06:05:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115905623832395776,"km_value":115905623832395.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179180439589885952,"description":"Unknown IO ID 45"} 
[2026-08-08 06:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254204928001,"power":11863,"unknown_55":206,"unknown_87":10496,"ignition":35,"odometer":null,"unknown_45":-9179180439589885952}} 
[2026-08-08 06:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":150355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:05:38] local.INFO: GPS data processed {"connection_id":150355,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:05:38] local.INFO: Acknowledgment sent {"connection_id":150355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:05:41] local.INFO: TCP Data received {"connection_id":150356,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:05:41] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:05:41] local.INFO: IMEI packet received {"connection_id":150356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":150356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:05:42] local.INFO: TCP Data received {"connection_id":150356,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:05:42] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:05:42] local.INFO: IMEI packet received {"connection_id":150356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":150356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:05:43] local.INFO: TCP Data received {"connection_id":150356,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecac310012d34c60006aa4a10000a009734..."} 
[2026-08-08 06:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecac310012d34c60006aa4a10000a009734..."} 
[2026-08-08 06:05:43] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecac310012d34c60006aa4a10000a009734..."} 
[2026-08-08 06:05:43] local.INFO: Packet analysis {"connection_id":150356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:43] local.INFO: Extracted packet for processing {"connection_id":150356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111823376,"longitude_deg":75.843328,"latitude_deg":11.1823376,"altitude":10,"angle":151,"satellites":52,"speed":6,"hex_longitude":"2d34c600","hex_latitude":"06aa4a10","is_valid_coordinates":true} 
[2026-08-08 06:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254207744001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886465244495872,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755623424,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149258000,"timestamp_ms":1786149258000,"timestamp_seconds":1786149258,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecac310"} 
[2026-08-08 06:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 06:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254207744001,"66":27365,"106":206,"28":21760,"24":6,"16":374886465244495872,"45":3802515857755623424},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254207744001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:05:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886465244495872,"km_value":374886465244495.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755623424,"description":"Unknown IO ID 45"} 
[2026-08-08 06:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254207744001,"power":27365,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802515857755623424}} 
[2026-08-08 06:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":150356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:05:43] local.INFO: GPS data processed {"connection_id":150356,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:05:43] local.INFO: Acknowledgment sent {"connection_id":150356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:05:47] local.INFO: TCP Data received {"connection_id":150356,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecad698012d34c74006aa4758000a00aa31..."} 
[2026-08-08 06:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecad698012d34c74006aa4758000a00aa31..."} 
[2026-08-08 06:05:47] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecad698012d34c74006aa4758000a00aa31..."} 
[2026-08-08 06:05:47] local.INFO: Packet analysis {"connection_id":150356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:47] local.INFO: Extracted packet for processing {"connection_id":150356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeca"} 
[2026-08-08 06:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822680,"longitude_deg":75.84336,"latitude_deg":11.182268,"altitude":10,"angle":170,"satellites":49,"speed":5,"hex_longitude":"2d34c740","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-08-08 06:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254210048001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886499604234240,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987746816,"note":"Value kept but may cause issues"} 
[2026-08-08 06:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786149263000,"timestamp_ms":1786149263000,"timestamp_seconds":1786149263,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecad698"} 
[2026-08-08 06:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 06:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254210048001,"66":27484,"106":206,"28":21760,"24":5,"16":374886499604234240,"45":3802726963987746816},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254210048001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:05:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886499604234240,"km_value":374886499604234.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987746816,"description":"Unknown IO ID 45"} 
[2026-08-08 06:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254210048001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3802726963987746816}} 
[2026-08-08 06:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":150356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:05:47] local.INFO: GPS data processed {"connection_id":150356,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:05:47] local.INFO: Acknowledgment sent {"connection_id":150356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:06:10] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecc5180012d8250c00609bc680008004e2d..."} 
[2026-08-08 06:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecc5180012d8250c00609bc680008004e2d..."} 
[2026-08-08 06:06:10] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecc5180012d8250c00609bc680008004e2d..."} 
[2026-08-08 06:06:10] local.INFO: Packet analysis {"connection_id":150355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:06:10] local.INFO: Extracted packet for processing {"connection_id":150355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763515072,"raw_latitude":101301352,"longitude_deg":76.3515072,"latitude_deg":10.1301352,"altitude":8,"angle":78,"satellites":45,"speed":38,"hex_longitude":"2d8250c0","hex_latitude":"0609bc68","is_valid_coordinates":true} 
[2026-08-08 06:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254234624001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115911426333212672,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062860905452425216,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786149360000,"timestamp_ms":1786149360000,"timestamp_seconds":1786149360,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecc5180"} 
[2026-08-08 06:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:06: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-08-08 06:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:06:10] 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-08-08 06:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254234624001,"66":11950,"70":206,"87":10496,"24":38,"16":115911426333212672,"45":-9062860905452425216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 06:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254234624001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:06:10] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 06:06:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115911426333212672,"km_value":115911426333212.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062860905452425216,"description":"Unknown IO ID 45"} 
[2026-08-08 06:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254234624001,"power":11950,"unknown_70":206,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-9062860905452425216}} 
[2026-08-08 06:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":150355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:06:10] local.INFO: GPS data processed {"connection_id":150355,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:06:10] local.INFO: Acknowledgment sent {"connection_id":150355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:06:19] local.INFO: TCP Data received {"connection_id":150356,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb28a0012d34c68006aa47c0000a00b231..."} 
[2026-08-08 06:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb28a0012d34c68006aa47c0000a00b231..."} 
[2026-08-08 06:06:19] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb28a0012d34c68006aa47c0000a00b231..."} 
[2026-08-08 06:06:19] local.INFO: Packet analysis {"connection_id":150356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:06:19] local.INFO: Extracted packet for processing {"connection_id":150356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111822784,"longitude_deg":75.8433408,"latitude_deg":11.1822784,"altitude":10,"angle":178,"satellites":49,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa47c0","is_valid_coordinates":true} 
[2026-08-08 06:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254211328001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886568323710976,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708456960,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786149284000,"timestamp_ms":1786149284000,"timestamp_seconds":1786149284,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb28a0"} 
[2026-08-08 06:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:06: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-08-08 06: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 06:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254211328001,"66":27463,"106":206,"28":21760,"24":0,"16":374886568323710976,"45":3803078807708456960},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254211328001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:06:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886568323710976,"km_value":374886568323711.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708456960,"description":"Unknown IO ID 45"} 
[2026-08-08 06:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254211328001,"power":27463,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803078807708456960}} 
[2026-08-08 06:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":150356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:06:19] local.INFO: GPS data processed {"connection_id":150356,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:06:19] local.INFO: Acknowledgment sent {"connection_id":150356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:06:36] local.INFO: TCP Data received {"connection_id":150098,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:06:36] local.INFO: Processing buffer {"connection_id":150098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:06:36] local.INFO: IMEI packet received {"connection_id":150098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":150098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:06:38] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:06:38] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:06:38] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:06:41] local.INFO: TCP Data received {"connection_id":150098,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:06:41] local.INFO: Processing buffer {"connection_id":150098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:06:41] local.INFO: IMEI packet received {"connection_id":150098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":150098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:06:42] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:06:42] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:06:42] local.INFO: IMEI packet received {"connection_id":151326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":151326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:06:43] local.INFO: TCP Data received {"connection_id":150098,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb3840012d34c54006aa4730000a010631..."} 
[2026-08-08 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb3840012d34c54006aa4730000a010631..."} 
[2026-08-08 06:06:43] local.INFO: Processing buffer {"connection_id":150098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb3840012d34c54006aa4730000a010631..."} 
[2026-08-08 06:06:43] local.INFO: Packet analysis {"connection_id":150098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:06:43] local.INFO: Extracted packet for processing {"connection_id":150098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822640,"longitude_deg":75.8433088,"latitude_deg":11.182264,"altitude":10,"angle":262,"satellites":49,"speed":10,"hex_longitude":"2d34c540","hex_latitude":"06aa4730","is_valid_coordinates":true} 
[2026-08-08 06:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254216704001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886585503580160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475950592,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149288000,"timestamp_ms":1786149288000,"timestamp_seconds":1786149288,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb3840"} 
[2026-08-08 06:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 06:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254216704001,"66":27267,"106":206,"28":21760,"24":10,"16":374886585503580160,"45":3802867701475950592},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254216704001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886585503580160,"km_value":374886585503580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475950592,"description":"Unknown IO ID 45"} 
[2026-08-08 06:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254216704001,"power":27267,"unknown_106":206,"unknown_28":21760,"ignition":10,"odometer":null,"unknown_45":3802867701475950592}} 
[2026-08-08 06:06:43] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecc5d38012d825bc00609c028000700402a..."} 
[2026-08-08 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecc5d38012d825bc00609c028000700402a..."} 
[2026-08-08 06:06:43] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecc5d38012d825bc00609c028000700402a..."} 
[2026-08-08 06:06:43] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:06:43] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":150098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:06:43] local.INFO: GPS data processed {"connection_id":150098,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:06:43] local.INFO: Acknowledgment sent {"connection_id":150098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763517888,"raw_latitude":101302312,"longitude_deg":76.3517888,"latitude_deg":10.1302312,"altitude":7,"angle":64,"satellites":42,"speed":39,"hex_longitude":"2d825bc0","hex_latitude":"0609c028","is_valid_coordinates":true} 
[2026-08-08 06:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254236160001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115911568067133440,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056527718476388352,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149363000,"timestamp_ms":1786149363000,"timestamp_seconds":1786149363,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecc5d38"} 
[2026-08-08 06:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 06:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:06:43] 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-08-08 06:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254236160001,"66":12135,"70":206,"87":10496,"24":39,"16":115911568067133440,"45":-9056527718476388352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 06:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254236160001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115911568067133440,"km_value":115911568067133.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056527718476388352,"description":"Unknown IO ID 45"} 
[2026-08-08 06:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254236160001,"power":12135,"unknown_70":206,"unknown_87":10496,"ignition":39,"odometer":null,"unknown_45":-9056527718476388352}} 
[2026-08-08 06:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:06:43] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:06:43] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:06:44] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecc68f0012d8265c00609c698000600322c..."} 
[2026-08-08 06:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecc68f0012d8265c00609c698000600322c..."} 
[2026-08-08 06:06:44] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecc68f0012d8265c00609c698000600322c..."} 
[2026-08-08 06:06:44] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:06:44] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763520448,"raw_latitude":101303960,"longitude_deg":76.3520448,"latitude_deg":10.130396,"altitude":6,"angle":50,"satellites":44,"speed":40,"hex_longitude":"2d8265c0","hex_latitude":"0609c698","is_valid_coordinates":true} 
[2026-08-08 06:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254236928001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115911714096021504,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053431493732325376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786149366000,"timestamp_ms":1786149366000,"timestamp_seconds":1786149366,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecc68f0"} 
[2026-08-08 06:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 06:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:06:44] 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-08-08 06:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254236928001,"66":12069,"70":206,"87":10496,"24":40,"16":115911714096021504,"45":-9053431493732325376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 06:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254236928001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:06:44] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 06:06:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115911714096021504,"km_value":115911714096021.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053431493732325376,"description":"Unknown IO ID 45"} 
[2026-08-08 06:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254236928001,"power":12069,"unknown_70":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-9053431493732325376}} 
[2026-08-08 06:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:06:44] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:06:44] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:06:47] local.INFO: TCP Data received {"connection_id":150098,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb3c28012d34c40006aa4740000a011d32..."} 
[2026-08-08 06:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb3c28012d34c40006aa4740000a011d32..."} 
[2026-08-08 06:06:47] local.INFO: Processing buffer {"connection_id":150098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb3c28012d34c40006aa4740000a011d32..."} 
[2026-08-08 06:06:47] local.INFO: Packet analysis {"connection_id":150098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:06:47] local.INFO: Extracted packet for processing {"connection_id":150098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822656,"longitude_deg":75.8432768,"latitude_deg":11.1822656,"altitude":10,"angle":285,"satellites":50,"speed":12,"hex_longitude":"2d34c400","hex_latitude":"06aa4740","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254217728001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886602683449344,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755025408,"note":"Value kept but may cause issues"} 
[2026-08-08 06:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786149289000,"timestamp_ms":1786149289000,"timestamp_seconds":1786149289,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb3c28"} 
[2026-08-08 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-08-08 06:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 06:06: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-08-08 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-08-08 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-08-08 06:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254217728001,"66":27126,"106":206,"28":21760,"24":12,"16":374886602683449344,"45":3802515857755025408},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254217728001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:06:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886602683449344,"km_value":374886602683449.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755025408,"description":"Unknown IO ID 45"} 
[2026-08-08 06:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254217728001,"power":27126,"unknown_106":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3802515857755025408}} 
[2026-08-08 06:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":150098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:06:47] local.INFO: GPS data processed {"connection_id":150098,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:06:47] local.INFO: Acknowledgment sent {"connection_id":150098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:07:15] local.INFO: TCP Data received {"connection_id":151326,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecc74a8012d826e400609cf50000600272b..."} 
[2026-08-08 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecc74a8012d826e400609cf50000600272b..."} 
[2026-08-08 06:07:15] local.INFO: Processing buffer {"connection_id":151326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecc74a8012d826e400609cf50000600272b..."} 
[2026-08-08 06:07:15] local.INFO: Packet analysis {"connection_id":151326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:07:15] local.INFO: Extracted packet for processing {"connection_id":151326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecc"} 
[2026-08-08 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763522624,"raw_latitude":101306192,"longitude_deg":76.3522624,"latitude_deg":10.1306192,"altitude":6,"angle":39,"satellites":43,"speed":42,"hex_longitude":"2d826e40","hex_latitude":"0609cf50","is_valid_coordinates":true} 
[2026-08-08 06:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254237696001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115911864419876864,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050616743964796928,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786149369000,"timestamp_ms":1786149369000,"timestamp_seconds":1786149369,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecc74a8"} 
[2026-08-08 06:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:07:15] 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-08-08 06:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254237696001,"66":12004,"70":206,"87":10496,"24":42,"16":115911864419876864,"45":-9050616743964796928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 06:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254237696001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:07:15] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 06:07:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115911864419876864,"km_value":115911864419876.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050616743964796928,"description":"Unknown IO ID 45"} 
[2026-08-08 06:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254237696001,"power":12004,"unknown_70":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-9050616743964796928}} 
[2026-08-08 06:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":151326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:07:15] local.INFO: GPS data processed {"connection_id":151326,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:07:15] local.INFO: Acknowledgment sent {"connection_id":151326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:07:19] local.INFO: TCP Data received {"connection_id":150098,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb4010012d34c2c006aa47b0000a012f32..."} 
[2026-08-08 06:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb4010012d34c2c006aa47b0000a012f32..."} 
[2026-08-08 06:07:19] local.INFO: Processing buffer {"connection_id":150098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb4010012d34c2c006aa47b0000a012f32..."} 
[2026-08-08 06:07:19] local.INFO: Packet analysis {"connection_id":150098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:07:19] local.INFO: Extracted packet for processing {"connection_id":150098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111822768,"longitude_deg":75.8432448,"latitude_deg":11.1822768,"altitude":10,"angle":303,"satellites":50,"speed":9,"hex_longitude":"2d34c2c0","hex_latitude":"06aa47b0","is_valid_coordinates":true} 
[2026-08-08 06:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254217984001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886615568351232,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034141184,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786149290000,"timestamp_ms":1786149290000,"timestamp_seconds":1786149290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb4010"} 
[2026-08-08 06:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:07: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-08-08 06:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 06:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254217984001,"66":27126,"106":206,"28":21760,"24":9,"16":374886615568351232,"45":3802164014034141184},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254217984001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:07:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886615568351232,"km_value":374886615568351.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034141184,"description":"Unknown IO ID 45"} 
[2026-08-08 06:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254217984001,"power":27126,"unknown_106":206,"unknown_28":21760,"ignition":9,"odometer":null,"unknown_45":3802164014034141184}} 
[2026-08-08 06:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":150098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:07:19] local.INFO: GPS data processed {"connection_id":150098,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:07:19] local.INFO: Acknowledgment sent {"connection_id":150098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:07:33] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:07:33] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:07:33] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:07:35] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:07:35] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:07:35] local.INFO: IMEI packet received {"connection_id":151327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":151327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:07:37] local.INFO: TCP Data received {"connection_id":150099,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:07:37] local.INFO: Processing buffer {"connection_id":150099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:07:37] local.INFO: IMEI packet received {"connection_id":150099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":150099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:07:41] local.INFO: TCP Data received {"connection_id":150099,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:07:41] local.INFO: Processing buffer {"connection_id":150099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:07:41] local.INFO: IMEI packet received {"connection_id":150099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:07:43] local.INFO: TCP Data received {"connection_id":150099,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb43f8012d34c24006aa4840000a014232..."} 
[2026-08-08 06:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb43f8012d34c24006aa4840000a014232..."} 
[2026-08-08 06:07:43] local.INFO: Processing buffer {"connection_id":150099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb43f8012d34c24006aa4840000a014232..."} 
[2026-08-08 06:07:43] local.INFO: Packet analysis {"connection_id":150099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:07:43] local.INFO: Extracted packet for processing {"connection_id":150099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111822912,"longitude_deg":75.843232,"latitude_deg":11.1822912,"altitude":10,"angle":322,"satellites":50,"speed":6,"hex_longitude":"2d34c240","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-08 06:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886628453253120,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313281536,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149291000,"timestamp_ms":1786149291000,"timestamp_seconds":1786149291,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb43f8"} 
[2026-08-08 06:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 06:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218240001,"66":27300,"106":206,"28":21760,"24":6,"16":374886628453253120,"45":3801812170313281536},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886628453253120,"km_value":374886628453253.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313281536,"description":"Unknown IO ID 45"} 
[2026-08-08 06:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218240001,"power":27300,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3801812170313281536}} 
[2026-08-08 06:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":150099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:07:43] local.INFO: GPS data processed {"connection_id":150099,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:07:43] local.INFO: Acknowledgment sent {"connection_id":150099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:07:45] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecd8a00012d829b40060b1290000801652e..."} 
[2026-08-08 06:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecd8a00012d829b40060b1290000801652e..."} 
[2026-08-08 06:07:45] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecd8a00012d829b40060b1290000801652e..."} 
[2026-08-08 06:07:45] local.INFO: Packet analysis {"connection_id":151327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecd"} 
[2026-08-08 06:07:45] local.INFO: Extracted packet for processing {"connection_id":151327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecd"} 
[2026-08-08 06:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763534144,"raw_latitude":101388944,"longitude_deg":76.3534144,"latitude_deg":10.1388944,"altitude":8,"angle":357,"satellites":46,"speed":56,"hex_longitude":"2d829b40","hex_latitude":"060b1290","is_valid_coordinates":true} 
[2026-08-08 06:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254254848001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115916009063317504,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035205988970620928,"note":"Value kept but may cause issues"} 
[2026-08-08 06:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786149440000,"timestamp_ms":1786149440000,"timestamp_seconds":1786149440,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecd8a00"} 
[2026-08-08 06:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 06:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:07:45] 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-08-08 06:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254254848001,"66":12069,"68":206,"87":10496,"24":56,"16":115916009063317504,"45":-9035205988970620928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,87,24,16,45]} 
[2026-08-08 06:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254254848001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:07:45] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 06:07:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115916009063317504,"km_value":115916009063317.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035205988970620928,"description":"Unknown IO ID 45"} 
[2026-08-08 06:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254254848001,"power":12069,"unknown_68":206,"unknown_87":10496,"ignition":56,"odometer":null,"unknown_45":-9035205988970620928}} 
[2026-08-08 06:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":151327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:07:45] local.INFO: GPS data processed {"connection_id":151327,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:07:45] local.INFO: Acknowledgment sent {"connection_id":151327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:08:14] local.INFO: TCP Data received {"connection_id":150099,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:08:14] local.INFO: Processing buffer {"connection_id":150099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:08:14] local.INFO: Packet analysis {"connection_id":150099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:08:14] local.INFO: Extracted packet for processing {"connection_id":150099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:08: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-08-08 06:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:08:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":150099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:08:14] local.INFO: GPS data processed {"connection_id":150099,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:08:14] local.INFO: Acknowledgment sent {"connection_id":150099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:08:17] local.INFO: TCP Data received {"connection_id":151327,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecda558012d8298c0060b39e0000801632f..."} 
[2026-08-08 06:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecda558012d8298c0060b39e0000801632f..."} 
[2026-08-08 06:08:17] local.INFO: Processing buffer {"connection_id":151327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecda558012d8298c0060b39e0000801632f..."} 
[2026-08-08 06:08:17] local.INFO: Packet analysis {"connection_id":151327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecd"} 
[2026-08-08 06:08:17] local.INFO: Extracted packet for processing {"connection_id":151327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecd"} 
[2026-08-08 06:08:17] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":101399008,"longitude_deg":76.3533504,"latitude_deg":10.1399008,"altitude":8,"angle":355,"satellites":47,"speed":56,"hex_longitude":"2d8298c0","hex_latitude":"060b39e0","is_valid_coordinates":true} 
[2026-08-08 06:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254256640001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115916498689589248,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035557832689020928,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786149447000,"timestamp_ms":1786149447000,"timestamp_seconds":1786149447,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecda558"} 
[2026-08-08 06:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:08:17] 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-08-08 06:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254256640001,"66":12145,"50":206,"87":10496,"24":56,"16":115916498689589248,"45":-9035557832689020928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-08-08 06:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254256640001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:08:17] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 06:08:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115916498689589248,"km_value":115916498689589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035557832689020928,"description":"Unknown IO ID 45"} 
[2026-08-08 06:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254256640001,"power":12145,"unknown_50":206,"unknown_87":10496,"ignition":56,"odometer":null,"unknown_45":-9035557832689020928}} 
[2026-08-08 06:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":151327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:08:17] local.INFO: GPS data processed {"connection_id":151327,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:08:17] local.INFO: Acknowledgment sent {"connection_id":151327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:08:30] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:30] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:30] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:08:33] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:33] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:33] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:08:36] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:36] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:08:36] local.INFO: IMEI packet received {"connection_id":152801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":152801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:08:37] local.INFO: TCP Data received {"connection_id":150357,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:08:37] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:08:37] local.INFO: IMEI packet received {"connection_id":150357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":150357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:08:41] local.INFO: TCP Data received {"connection_id":150357,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:08:41] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:08:41] local.INFO: IMEI packet received {"connection_id":150357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":150357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:08:43] local.INFO: TCP Data received {"connection_id":150357,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:08:43] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:08:43] local.INFO: Packet analysis {"connection_id":150357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:08:43] local.INFO: Extracted packet for processing {"connection_id":150357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:08:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":150357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:08:43] local.INFO: GPS data processed {"connection_id":150357,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:08:43] local.INFO: Acknowledgment sent {"connection_id":150357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:09:14] local.INFO: TCP Data received {"connection_id":150357,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:14] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:14] local.INFO: Packet analysis {"connection_id":150357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:09:14] local.INFO: Extracted packet for processing {"connection_id":150357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:09: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-08-08 06:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:09:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":150357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:09:14] local.INFO: GPS data processed {"connection_id":150357,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:09:14] local.INFO: Acknowledgment sent {"connection_id":150357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:09:22] local.INFO: TCP Data received {"connection_id":152801,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecdc0b0012d829480060b5f780008015f2d..."} 
[2026-08-08 06:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecdc0b0012d829480060b5f780008015f2d..."} 
[2026-08-08 06:09:22] local.INFO: Processing buffer {"connection_id":152801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecdc0b0012d829480060b5f780008015f2d..."} 
[2026-08-08 06:09:22] local.INFO: Packet analysis {"connection_id":152801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecd"} 
[2026-08-08 06:09:22] local.INFO: Extracted packet for processing {"connection_id":152801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecd"} 
[2026-08-08 06:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763532416,"raw_latitude":101408632,"longitude_deg":76.3532416,"latitude_deg":10.1408632,"altitude":8,"angle":351,"satellites":45,"speed":53,"hex_longitude":"2d829480","hex_latitude":"060b5f78","is_valid_coordinates":true} 
[2026-08-08 06:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254258432001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115916966841024512,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261520128221184,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786149454000,"timestamp_ms":1786149454000,"timestamp_seconds":1786149454,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecdc0b0"} 
[2026-08-08 06:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 06:09:22] 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-08-08 06:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:09:22] 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-08-08 06:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254258432001,"66":12037,"50":206,"87":10496,"24":53,"16":115916966841024512,"45":-9036261520128221184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-08-08 06:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254258432001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:09:22] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 06:09:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115916966841024512,"km_value":115916966841024.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261520128221184,"description":"Unknown IO ID 45"} 
[2026-08-08 06:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254258432001,"power":12037,"unknown_50":206,"unknown_87":10496,"ignition":53,"odometer":null,"unknown_45":-9036261520128221184}} 
[2026-08-08 06:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":152801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:09:22] local.INFO: GPS data processed {"connection_id":152801,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:09:22] local.INFO: Acknowledgment sent {"connection_id":152801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:09:31] local.INFO: TCP Data received {"connection_id":150100,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:31] local.INFO: Processing buffer {"connection_id":150100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:31] local.INFO: IMEI packet received {"connection_id":150100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":150100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:09:32] local.INFO: TCP Data received {"connection_id":150100,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:32] local.INFO: Processing buffer {"connection_id":150100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:32] local.INFO: IMEI packet received {"connection_id":150100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":150100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:09:37] local.INFO: TCP Data received {"connection_id":150100,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:37] local.INFO: Processing buffer {"connection_id":150100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:09:37] local.INFO: IMEI packet received {"connection_id":150100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":150100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:09:38] local.INFO: TCP Data received {"connection_id":150100,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecefd18012d82c380060d0888000800102f..."} 
[2026-08-08 06:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecefd18012d82c380060d0888000800102f..."} 
[2026-08-08 06:09:38] local.INFO: Processing buffer {"connection_id":150100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecefd18012d82c380060d0888000800102f..."} 
[2026-08-08 06:09:38] local.INFO: Packet analysis {"connection_id":150100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdece"} 
[2026-08-08 06:09:38] local.INFO: Extracted packet for processing {"connection_id":150100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdece"} 
[2026-08-08 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763544448,"raw_latitude":101517448,"longitude_deg":76.3544448,"latitude_deg":10.1517448,"altitude":8,"angle":16,"satellites":47,"speed":51,"hex_longitude":"2d82c380","hex_latitude":"060d0888","is_valid_coordinates":true} 
[2026-08-08 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254279168001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115922369909882880,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621002147878912,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786149535000,"timestamp_ms":1786149535000,"timestamp_seconds":1786149535,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecefd18"} 
[2026-08-08 06:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:09:38] 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-08-08 06:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254279168001,"66":11950,"137":206,"87":10496,"24":51,"16":115922369909882880,"45":-9026621002147878912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-08 06:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254279168001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:09:38] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 06:09:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115922369909882880,"km_value":115922369909882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621002147878912,"description":"Unknown IO ID 45"} 
[2026-08-08 06:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254279168001,"power":11950,"unknown_137":206,"unknown_87":10496,"ignition":51,"odometer":null,"unknown_45":-9026621002147878912}} 
[2026-08-08 06:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":150100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:09:38] local.INFO: GPS data processed {"connection_id":150100,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:09:38] local.INFO: Acknowledgment sent {"connection_id":150100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:09:41] local.INFO: TCP Data received {"connection_id":152802,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:09:41] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:09:41] local.INFO: IMEI packet received {"connection_id":152802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":152802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:09:42] local.INFO: TCP Data received {"connection_id":152802,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:09:42] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:09:42] local.INFO: IMEI packet received {"connection_id":152802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":152802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:09:43] local.INFO: TCP Data received {"connection_id":152802,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:43] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:43] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:09:43] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:09:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:09:43] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:09:43] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:09:47] local.INFO: TCP Data received {"connection_id":152802,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:47] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:09:47] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:09:47] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:09:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:09:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:09:47] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:09:47] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:10:09] local.INFO: TCP Data received {"connection_id":150100,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecf1c58012d82cd80060d2d080005000c2e..."} 
[2026-08-08 06:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecf1c58012d82cd80060d2d080005000c2e..."} 
[2026-08-08 06:10:09] local.INFO: Processing buffer {"connection_id":150100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecf1c58012d82cd80060d2d080005000c2e..."} 
[2026-08-08 06:10:09] local.INFO: Packet analysis {"connection_id":150100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecf"} 
[2026-08-08 06:10:09] local.INFO: Extracted packet for processing {"connection_id":150100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecf"} 
[2026-08-08 06:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763547008,"raw_latitude":101526792,"longitude_deg":76.3547008,"latitude_deg":10.1526792,"altitude":5,"angle":12,"satellites":46,"speed":47,"hex_longitude":"2d82cd80","hex_latitude":"060d2d08","is_valid_coordinates":true} 
[2026-08-08 06:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254280960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115922838061318144,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024228464843520000,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786149543000,"timestamp_ms":1786149543000,"timestamp_seconds":1786149543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecf1c58"} 
[2026-08-08 06:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 06:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:10:09] 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-08-08 06:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254280960001,"66":12058,"137":206,"87":10496,"24":47,"16":115922838061318144,"45":-9024228464843520000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-08 06:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254280960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:10:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 06:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115922838061318144,"km_value":115922838061318.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024228464843520000,"description":"Unknown IO ID 45"} 
[2026-08-08 06:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254280960001,"power":12058,"unknown_137":206,"unknown_87":10496,"ignition":47,"odometer":null,"unknown_45":-9024228464843520000}} 
[2026-08-08 06:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":150100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:10:09] local.INFO: GPS data processed {"connection_id":150100,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:10:09] local.INFO: Acknowledgment sent {"connection_id":150100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:10:19] local.INFO: TCP Data received {"connection_id":152802,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:10:19] local.INFO: Processing buffer {"connection_id":152802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:10:19] local.INFO: Packet analysis {"connection_id":152802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:10:19] local.INFO: Extracted packet for processing {"connection_id":152802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:10: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-08-08 06: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:10: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-08-08 06: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-08-08 06:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:10:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":152802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:10:19] local.INFO: GPS data processed {"connection_id":152802,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:10:19] local.INFO: Acknowledgment sent {"connection_id":152802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:10:31] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:31] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:31] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:10:32] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:32] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:32] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:10:36] local.INFO: TCP Data received {"connection_id":150101,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:10:36] local.INFO: Processing buffer {"connection_id":150101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:10:36] local.INFO: IMEI packet received {"connection_id":150101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":150101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:10:38] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:38] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:10:38] local.INFO: IMEI packet received {"connection_id":151328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":151328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:10:40] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded02210012d835dc0060e30300006003d2b..."} 
[2026-08-08 06:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded02210012d835dc0060e30300006003d2b..."} 
[2026-08-08 06:10:40] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded02210012d835dc0060e30300006003d2b..."} 
[2026-08-08 06:10:40] local.INFO: Packet analysis {"connection_id":151328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:10:40] local.INFO: Extracted packet for processing {"connection_id":151328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763583936,"raw_latitude":101593136,"longitude_deg":76.3583936,"latitude_deg":10.1593136,"altitude":6,"angle":61,"satellites":43,"speed":55,"hex_longitude":"2d835dc0","hex_latitude":"060e3030","is_valid_coordinates":true} 
[2026-08-08 06:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254298368001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115926965524889600,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8989255198969448448,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786149610000,"timestamp_ms":1786149610000,"timestamp_seconds":1786149610,"priority":1,"record_length":96,"hex_timestamp":"0000019fded02210"} 
[2026-08-08 06:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:10: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-08-08 06:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:10:40] 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-08-08 06:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254298368001,"66":12069,"1":206,"87":10496,"24":55,"16":115926965524889600,"45":-8989255198969448448},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-08-08 06:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254298368001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:10:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115926965524889600,"km_value":115926965524889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8989255198969448448,"description":"Unknown IO ID 45"} 
[2026-08-08 06:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254298368001,"power":12069,"imei":206,"unknown_87":10496,"ignition":55,"odometer":null,"unknown_45":-8989255198969448448}} 
[2026-08-08 06:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":151328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:10:40] local.INFO: GPS data processed {"connection_id":151328,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:10:40] local.INFO: Acknowledgment sent {"connection_id":151328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:10:41] local.INFO: TCP Data received {"connection_id":150101,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:10:41] local.INFO: Processing buffer {"connection_id":150101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:10:41] local.INFO: IMEI packet received {"connection_id":150101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":150101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:10:43] local.INFO: TCP Data received {"connection_id":150101,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:10:43] local.INFO: Processing buffer {"connection_id":150101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdecb72d8012d34c50006aa4880000a014230..."} 
[2026-08-08 06:10:43] local.INFO: Packet analysis {"connection_id":150101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:10:43] local.INFO: Extracted packet for processing {"connection_id":150101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdecb"} 
[2026-08-08 06:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822976,"longitude_deg":75.8433024,"latitude_deg":11.1822976,"altitude":10,"angle":322,"satellites":48,"speed":4,"hex_longitude":"2d34c500","hex_latitude":"06aa4880","is_valid_coordinates":true} 
[2026-08-08 06:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254218496001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824963072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149303000,"timestamp_ms":1786149303000,"timestamp_seconds":1786149303,"priority":1,"record_length":96,"hex_timestamp":"0000019fdecb72d8"} 
[2026-08-08 06:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254218496001,"66":27919,"106":206,"28":21760,"24":4,"16":374886675697893376,"45":3801671432824963072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254218496001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824963072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254218496001,"power":27919,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3801671432824963072}} 
[2026-08-08 06:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":150101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:10:43] local.INFO: GPS data processed {"connection_id":150101,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:10:43] local.INFO: Acknowledgment sent {"connection_id":150101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:14] local.INFO: TCP Data received {"connection_id":151328,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded02210012d835dc0060e30300006003d2b..."} 
[2026-08-08 06:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded02210012d835dc0060e30300006003d2b..."} 
[2026-08-08 06:11:14] local.INFO: Processing buffer {"connection_id":151328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded02210012d835dc0060e30300006003d2b..."} 
[2026-08-08 06:11:14] local.INFO: Packet analysis {"connection_id":151328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:14] local.INFO: Extracted packet for processing {"connection_id":151328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763583936,"raw_latitude":101593136,"longitude_deg":76.3583936,"latitude_deg":10.1593136,"altitude":6,"angle":61,"satellites":43,"speed":55,"hex_longitude":"2d835dc0","hex_latitude":"060e3030","is_valid_coordinates":true} 
[2026-08-08 06:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254300160001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115926965524889600,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8980810949666525184,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149610000,"timestamp_ms":1786149610000,"timestamp_seconds":1786149610,"priority":1,"record_length":96,"hex_timestamp":"0000019fded02210"} 
[2026-08-08 06:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:14] 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-08-08 06:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254300160001,"66":12069,"1":206,"87":10496,"24":55,"16":115926965524889600,"45":-8980810949666525184},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":206,"io_data_keys":[0,66,1,87,24,16,45]} 
[2026-08-08 06:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254300160001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115926965524889600,"km_value":115926965524889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8980810949666525184,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254300160001,"power":12069,"imei":206,"unknown_87":10496,"ignition":55,"odometer":null,"unknown_45":-8980810949666525184}} 
[2026-08-08 06:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":151328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:14] local.INFO: GPS data processed {"connection_id":151328,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:14] local.INFO: Acknowledgment sent {"connection_id":151328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:19] local.INFO: TCP Data received {"connection_id":150101,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:19] local.INFO: Processing buffer {"connection_id":150101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:19] local.INFO: Packet analysis {"connection_id":150101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:19] local.INFO: Extracted packet for processing {"connection_id":150101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":150101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:19] local.INFO: GPS data processed {"connection_id":150101,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:19] local.INFO: Acknowledgment sent {"connection_id":150101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:32] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:11:32] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:11:32] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:11:41] local.INFO: TCP Data received {"connection_id":150359,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:11:41] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:11:41] local.INFO: IMEI packet received {"connection_id":150359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":150359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:11:42] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:11:42] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:11:42] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:11:43] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded100b8012d848840060e9e380006004b2e..."} 
[2026-08-08 06:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded100b8012d848840060e9e380006004b2e..."} 
[2026-08-08 06:11:43] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:11:43] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:11:44] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded11c10012d84af00060ea5e8000300542f..."} 
[2026-08-08 06:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded11c10012d84af00060ea5e8000300542f..."} 
[2026-08-08 06:11:44] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fde..."} 
[2026-08-08 06:11:44] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:11:44] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded13768012d84d340060ea7d8000300572d..."} 
[2026-08-08 06:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded13768012d84d340060ea7d8000300572d..."} 
[2026-08-08 06:11:44] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019fded100b8012d848840060e9e380006004b2e..."} 
[2026-08-08 06:11:44] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:44] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763660352,"raw_latitude":101621304,"longitude_deg":76.3660352,"latitude_deg":10.1621304,"altitude":6,"angle":75,"satellites":46,"speed":56,"hex_longitude":"2d848840","hex_latitude":"060e9e38","is_valid_coordinates":true} 
[2026-08-08 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254312960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115930904009900032,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8907416349482655744,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786149667000,"timestamp_ms":1786149667000,"timestamp_seconds":1786149667,"priority":1,"record_length":96,"hex_timestamp":"0000019fded100b8"} 
[2026-08-08 06:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:44] 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-08-08 06:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:44] 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-08-08 06:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254312960001,"66":12189,"255":206,"87":10496,"24":56,"16":115930904009900032,"45":-8907416349482655744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254312960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115930904009900032,"km_value":115930904009900.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8907416349482655744,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254312960001,"power":12189,"unknown_255":206,"unknown_87":10496,"ignition":56,"odometer":null,"unknown_45":-8907416349482655744}} 
[2026-08-08 06:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:44] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:44] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:44] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:44] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763670272,"raw_latitude":101623272,"longitude_deg":76.3670272,"latitude_deg":10.1623272,"altitude":3,"angle":84,"satellites":47,"speed":56,"hex_longitude":"2d84af00","hex_latitude":"060ea5e8","is_valid_coordinates":true} 
[2026-08-08 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254314752001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115931385046237184,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8896790669111183360,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786149674000,"timestamp_ms":1786149674000,"timestamp_seconds":1786149674,"priority":1,"record_length":96,"hex_timestamp":"0000019fded11c10"} 
[2026-08-08 06:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:44] 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-08-08 06:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254314752001,"66":11928,"255":206,"87":10496,"24":56,"16":115931385046237184,"45":-8896790669111183360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254314752001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115931385046237184,"km_value":115931385046237.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8896790669111183360,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254314752001,"power":11928,"unknown_255":206,"unknown_87":10496,"ignition":56,"odometer":null,"unknown_45":-8896790669111183360}} 
[2026-08-08 06:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:44] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:44] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:44] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:44] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763679552,"raw_latitude":101623768,"longitude_deg":76.3679552,"latitude_deg":10.1623768,"altitude":3,"angle":87,"satellites":45,"speed":50,"hex_longitude":"2d84d340","hex_latitude":"060ea7d8","is_valid_coordinates":true} 
[2026-08-08 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254316544001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115931831722835968,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8885883513763141632,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786149681000,"timestamp_ms":1786149681000,"timestamp_seconds":1786149681,"priority":1,"record_length":96,"hex_timestamp":"0000019fded13768"} 
[2026-08-08 06:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:44] 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-08-08 06:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:44] 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-08-08 06:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254316544001,"66":12015,"171":206,"87":10496,"24":50,"16":115931831722835968,"45":-8885883513763141632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,87,24,16,45]} 
[2026-08-08 06:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254316544001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115931831722835968,"km_value":115931831722835.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8885883513763141632,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254316544001,"power":12015,"unknown_171":206,"unknown_87":10496,"ignition":50,"odometer":null,"unknown_45":-8885883513763141632}} 
[2026-08-08 06:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:45] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:45] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:45] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded14ed8012d84f080060eab58000300492c..."} 
[2026-08-08 06:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded14ed8012d84f080060eab58000300492c..."} 
[2026-08-08 06:11:45] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded14ed8012d84f080060eab58000300492c..."} 
[2026-08-08 06:11:45] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:45] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763687040,"raw_latitude":101624664,"longitude_deg":76.368704,"latitude_deg":10.1624664,"altitude":3,"angle":73,"satellites":44,"speed":48,"hex_longitude":"2d84f080","hex_latitude":"060eab58","is_valid_coordinates":true} 
[2026-08-08 06:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254318336001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115932192500088832,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8875680045857253376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786149687000,"timestamp_ms":1786149687000,"timestamp_seconds":1786149687,"priority":1,"record_length":96,"hex_timestamp":"0000019fded14ed8"} 
[2026-08-08 06:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:11:45] 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-08-08 06:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254318336001,"66":12037,"171":206,"87":10496,"24":48,"16":115932192500088832,"45":-8875680045857253376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,87,24,16,45]} 
[2026-08-08 06:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254318336001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:45] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 06:11:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115932192500088832,"km_value":115932192500088.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8875680045857253376,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254318336001,"power":12037,"unknown_171":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":-8875680045857253376}} 
[2026-08-08 06:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:45] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:45] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:46] local.INFO: TCP Data received {"connection_id":150359,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:11:46] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:11:46] local.INFO: IMEI packet received {"connection_id":150359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":150359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:11:49] local.INFO: TCP Data received {"connection_id":150359,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:49] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:49] local.INFO: Packet analysis {"connection_id":150359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:49] local.INFO: Extracted packet for processing {"connection_id":150359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:11:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":150359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:49] local.INFO: GPS data processed {"connection_id":150359,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:49] local.INFO: Acknowledgment sent {"connection_id":150359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:11:52] local.INFO: TCP Data received {"connection_id":150359,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:52] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:11:52] local.INFO: Packet analysis {"connection_id":150359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:52] local.INFO: Extracted packet for processing {"connection_id":150359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:11:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:11:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":150359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:11:52] local.INFO: GPS data processed {"connection_id":150359,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:11:52] local.INFO: Acknowledgment sent {"connection_id":150359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:12:17] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded15e78012d850240060eb2c00004003d2c..."} 
[2026-08-08 06:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded15e78012d850240060eb2c00004003d2c..."} 
[2026-08-08 06:12:17] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded15e78012d850240060eb2c00004003d2c..."} 
[2026-08-08 06:12:17] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:12:17] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763691584,"raw_latitude":101626560,"longitude_deg":76.3691584,"latitude_deg":10.162656,"altitude":4,"angle":61,"satellites":44,"speed":47,"hex_longitude":"2d850240","hex_latitude":"060eb2c0","is_valid_coordinates":true} 
[2026-08-08 06:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254319872001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115932424428322816,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8867446902788237312,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786149691000,"timestamp_ms":1786149691000,"timestamp_seconds":1786149691,"priority":1,"record_length":96,"hex_timestamp":"0000019fded15e78"} 
[2026-08-08 06:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4251398048405521408,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3738218160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2221047814,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3504693249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2489319432,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4467290241600389144,"corrected_to":0} 
[2026-08-08 06:12:17] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":134294916,"corrected_to":0} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3718971392,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":1044483269980080170,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194866688,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,171,87,24,241,157,16,223,159,55,45,64,167,3,10,66,28,165,47,255,222,1,240,227,14,4,113,205,56,202,60,96,44,239,2,155,6,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":4467290241600389144,"validated":0},{"io_id":202,"original":134294916,"validated":0}]} 
[2026-08-08 06:12:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216253235444318208,"timestamp_seconds":216253235444318.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:12:17] 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-08-08 06:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254319872001,"66":11743,"171":206,"87":10496,"24":47,"16":115932424428322816,"45":-8867446902788237312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,87,24,16,45]} 
[2026-08-08 06:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254319872001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:12:17] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 06:12:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115932424428322816,"km_value":115932424428322.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8867446902788237312,"description":"Unknown IO ID 45"} 
[2026-08-08 06:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254319872001,"power":11743,"unknown_171":206,"unknown_87":10496,"ignition":47,"odometer":null,"unknown_45":-8867446902788237312}} 
[2026-08-08 06:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:12:17] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:12:17] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:12:32] local.INFO: TCP Data received {"connection_id":150102,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:32] local.INFO: Processing buffer {"connection_id":150102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:32] local.INFO: IMEI packet received {"connection_id":150102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":150102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:12:33] local.INFO: TCP Data received {"connection_id":150102,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:33] local.INFO: Processing buffer {"connection_id":150102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:33] local.INFO: IMEI packet received {"connection_id":150102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":150102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:12:36] local.INFO: TCP Data received {"connection_id":152803,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:12:36] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:12:36] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:12:38] local.INFO: TCP Data received {"connection_id":150102,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:38] local.INFO: Processing buffer {"connection_id":150102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:12:38] local.INFO: IMEI packet received {"connection_id":150102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":150102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:12:39] local.INFO: TCP Data received {"connection_id":150102,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded16a30012d850dc0060ebae8000400312c..."} 
[2026-08-08 06:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded16a30012d850dc0060ebae8000400312c..."} 
[2026-08-08 06:12:39] local.INFO: Processing buffer {"connection_id":150102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded16a30012d850dc0060ebae8000400312c..."} 
[2026-08-08 06:12:39] local.INFO: Packet analysis {"connection_id":150102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:12:39] local.INFO: Extracted packet for processing {"connection_id":150102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded1"} 
[2026-08-08 06:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763694528,"raw_latitude":101628648,"longitude_deg":76.3694528,"latitude_deg":10.1628648,"altitude":4,"angle":49,"satellites":44,"speed":48,"hex_longitude":"2d850dc0","hex_latitude":"060ebae8","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254320896001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115932600521981952,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8862450721951137792,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786149694000,"timestamp_ms":1786149694000,"timestamp_seconds":1786149694,"priority":1,"record_length":96,"hex_timestamp":"0000019fded16a30"} 
[2026-08-08 06:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 06:12: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-08-08 06:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:12:39] 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-08-08 06:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254320896001,"66":12058,"171":206,"87":10496,"24":48,"16":115932600521981952,"45":-8862450721951137792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,87,24,16,45]} 
[2026-08-08 06:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254320896001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:12:39] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 06:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 06:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115932600521981952,"km_value":115932600521981.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8862450721951137792,"description":"Unknown IO ID 45"} 
[2026-08-08 06:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254320896001,"power":12058,"unknown_171":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":-8862450721951137792}} 
[2026-08-08 06:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":150102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:12:39] local.INFO: GPS data processed {"connection_id":150102,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:12:39] local.INFO: Acknowledgment sent {"connection_id":150102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:12:41] local.INFO: TCP Data received {"connection_id":152803,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:12:41] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:12:41] local.INFO: IMEI packet received {"connection_id":152803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":152803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:12:43] local.INFO: TCP Data received {"connection_id":152803,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:12:43] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:12:43] local.INFO: Packet analysis {"connection_id":152803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:12:43] local.INFO: Extracted packet for processing {"connection_id":152803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":152803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:12:43] local.INFO: GPS data processed {"connection_id":152803,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:12:43] local.INFO: Acknowledgment sent {"connection_id":152803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:13:14] local.INFO: TCP Data received {"connection_id":152803,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:13:14] local.INFO: Processing buffer {"connection_id":152803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:13:14] local.INFO: Packet analysis {"connection_id":152803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:13:14] local.INFO: Extracted packet for processing {"connection_id":152803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:13:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:13:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":152803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:13:14] local.INFO: GPS data processed {"connection_id":152803,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:13:14] local.INFO: Acknowledgment sent {"connection_id":152803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:13:21] local.INFO: TCP Data received {"connection_id":150102,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded29ec8012d85ad0006102c88001100182f..."} 
[2026-08-08 06:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded29ec8012d85ad0006102c88001100182f..."} 
[2026-08-08 06:13:21] local.INFO: Processing buffer {"connection_id":150102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded29ec8012d85ad0006102c88001100182f..."} 
[2026-08-08 06:13:21] local.INFO: Packet analysis {"connection_id":150102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded2"} 
[2026-08-08 06:13:21] local.INFO: Extracted packet for processing {"connection_id":150102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded2"} 
[2026-08-08 06:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763735296,"raw_latitude":101723272,"longitude_deg":76.3735296,"latitude_deg":10.1723272,"altitude":17,"angle":24,"satellites":47,"speed":60,"hex_longitude":"2d85ad00","hex_latitude":"06102c88","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254340096001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115937664288423936,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818892469282793472,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786149773000,"timestamp_ms":1786149773000,"timestamp_seconds":1786149773,"priority":1,"record_length":96,"hex_timestamp":"0000019fded29ec8"} 
[2026-08-08 06:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578346298543164928,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3053459456,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3738296160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2237382662,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84870390941617952,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640051,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505368645992448,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7214390570070835200,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3524661249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2206203904,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18624889469349803,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792914731237632,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3434840027025702936,"corrected_to":0} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3087084933,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182251184455936,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3794206720,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":6,"raw_value":1098913493450496811,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194744320,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":281574482391552,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,141,79,24,241,157,16,228,159,104,45,192,231,8,46,10,66,142,227,76,199,3,49,1,240,5,226,222,15,4,113,205,54,250,176,40,239,2,155,6,69,120],"length":583,"final_offset":713,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3434840027025702936,"validated":0}]} 
[2026-08-08 06:13:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008830707653804032,"timestamp_seconds":1008830707653804.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:13:21] 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-08-08 06:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254340096001,"66":12058,"141":206,"79":46592,"24":60,"16":115937664288423936,"45":-8818892469282793472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,79,24,16,45]} 
[2026-08-08 06:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254340096001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:13:21] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 06:13:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115937664288423936,"km_value":115937664288423.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818892469282793472,"description":"Unknown IO ID 45"} 
[2026-08-08 06:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254340096001,"power":12058,"unknown_141":206,"unknown_79":46592,"ignition":60,"odometer":null,"unknown_45":-8818892469282793472}} 
[2026-08-08 06:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":150102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:13:21] local.INFO: GPS data processed {"connection_id":150102,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:13:21] local.INFO: Acknowledgment sent {"connection_id":150102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:13:32] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:32] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:32] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:13:34] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:34] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:34] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:13:36] local.INFO: TCP Data received {"connection_id":152804,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:13:36] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:13:36] local.INFO: IMEI packet received {"connection_id":152804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":152804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:13:38] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:38] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:13:38] local.INFO: IMEI packet received {"connection_id":151329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":151329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:13:39] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded2b638012d85bbc006104cb00012001a2e..."} 
[2026-08-08 06:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded2b638012d85bbc006104cb00012001a2e..."} 
[2026-08-08 06:13:39] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded2b638012d85bbc006104cb00012001a2e..."} 
[2026-08-08 06:13:39] local.INFO: Packet analysis {"connection_id":151329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded2"} 
[2026-08-08 06:13:39] local.INFO: Extracted packet for processing {"connection_id":151329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded2"} 
[2026-08-08 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763739072,"raw_latitude":101731504,"longitude_deg":76.3739072,"latitude_deg":10.1731504,"altitude":18,"angle":26,"satellites":46,"speed":60,"hex_longitude":"2d85bbc0","hex_latitude":"06104cb0","is_valid_coordinates":true} 
[2026-08-08 06:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254341888001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115938102375088128,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8814388869653035008,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786149779000,"timestamp_ms":1786149779000,"timestamp_seconds":1786149779,"priority":1,"record_length":96,"hex_timestamp":"0000019fded2b638"} 
[2026-08-08 06:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 06:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:13:39] 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-08-08 06:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254341888001,"66":12102,"141":206,"79":46592,"24":60,"16":115938102375088128,"45":-8814388869653035008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,79,24,16,45]} 
[2026-08-08 06:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254341888001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:13:39] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 06:13:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115938102375088128,"km_value":115938102375088.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8814388869653035008,"description":"Unknown IO ID 45"} 
[2026-08-08 06:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254341888001,"power":12102,"unknown_141":206,"unknown_79":46592,"ignition":60,"odometer":null,"unknown_45":-8814388869653035008}} 
[2026-08-08 06:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":151329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:13:39] local.INFO: GPS data processed {"connection_id":151329,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:13:39] local.INFO: Acknowledgment sent {"connection_id":151329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:13:41] local.INFO: TCP Data received {"connection_id":152804,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:13:41] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:13:41] local.INFO: IMEI packet received {"connection_id":152804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:13:43] local.INFO: TCP Data received {"connection_id":152804,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:13:43] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:13:43] local.INFO: Packet analysis {"connection_id":152804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:13:43] local.INFO: Extracted packet for processing {"connection_id":152804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":152804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:13:43] local.INFO: GPS data processed {"connection_id":152804,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:13:43] local.INFO: Acknowledgment sent {"connection_id":152804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:14:10] local.INFO: TCP Data received {"connection_id":151329,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded2d190012d85cdc006106d280013001d2f..."} 
[2026-08-08 06:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded2d190012d85cdc006106d280013001d2f..."} 
[2026-08-08 06:14:10] local.INFO: Processing buffer {"connection_id":151329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded2d190012d85cdc006106d280013001d2f..."} 
[2026-08-08 06:14:10] local.INFO: Packet analysis {"connection_id":151329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded2"} 
[2026-08-08 06:14:10] local.INFO: Extracted packet for processing {"connection_id":151329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded2"} 
[2026-08-08 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763743680,"raw_latitude":101739816,"longitude_deg":76.374368,"latitude_deg":10.1739816,"altitude":19,"angle":29,"satellites":47,"speed":50,"hex_longitude":"2d85cdc0","hex_latitude":"06106d28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254343424001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115938561936588800,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810237113744445440,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786149786000,"timestamp_ms":1786149786000,"timestamp_seconds":1786149786,"priority":1,"record_length":96,"hex_timestamp":"0000019fded2d190"} 
[2026-08-08 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-08-08 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 06:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:14:10] 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-08-08 06:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254343424001,"66":12113,"141":206,"79":46592,"24":50,"16":115938561936588800,"45":-8810237113744445440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,79,24,16,45]} 
[2026-08-08 06:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254343424001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:14:10] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 06:14:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115938561936588800,"km_value":115938561936588.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810237113744445440,"description":"Unknown IO ID 45"} 
[2026-08-08 06:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254343424001,"power":12113,"unknown_141":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8810237113744445440}} 
[2026-08-08 06:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":151329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:14:10] local.INFO: GPS data processed {"connection_id":151329,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:14:10] local.INFO: Acknowledgment sent {"connection_id":151329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:14:15] local.INFO: TCP Data received {"connection_id":152804,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:14:15] local.INFO: Processing buffer {"connection_id":152804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:14:15] local.INFO: Packet analysis {"connection_id":152804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:14:15] local.INFO: Extracted packet for processing {"connection_id":152804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:14:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":152804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:14:15] local.INFO: GPS data processed {"connection_id":152804,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:14:15] local.INFO: Acknowledgment sent {"connection_id":152804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:14:33] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:33] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:33] local.INFO: IMEI packet received {"connection_id":151330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":151330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:14:36] local.INFO: TCP Data received {"connection_id":150103,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:14:36] local.INFO: Processing buffer {"connection_id":150103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:14:36] local.INFO: IMEI packet received {"connection_id":150103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":150103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:14:37] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:37] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:37] local.INFO: IMEI packet received {"connection_id":151330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":151330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:14:41] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:41] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:14:41] local.INFO: IMEI packet received {"connection_id":151330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":151330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:14:41] local.INFO: TCP Data received {"connection_id":150103,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:14:41] local.INFO: Processing buffer {"connection_id":150103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:14:41] local.INFO: IMEI packet received {"connection_id":150103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":150103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:14:42] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded3db30012d86804006114140001a00312d..."} 
[2026-08-08 06:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded3db30012d86804006114140001a00312d..."} 
[2026-08-08 06:14:42] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded3db30012d86804006114140001a00312d..."} 
[2026-08-08 06:14:42] local.INFO: Packet analysis {"connection_id":151330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded3"} 
[2026-08-08 06:14:42] local.INFO: Extracted packet for processing {"connection_id":151330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded3"} 
[2026-08-08 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763789376,"raw_latitude":101794112,"longitude_deg":76.3789376,"latitude_deg":10.1794112,"altitude":26,"angle":49,"satellites":45,"speed":32,"hex_longitude":"2d868040","hex_latitude":"06114140","is_valid_coordinates":true} 
[2026-08-08 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254360576001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115942053745000448,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8760486411596101632,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786149854000,"timestamp_ms":1786149854000,"timestamp_seconds":1786149854,"priority":1,"record_length":96,"hex_timestamp":"0000019fded3db30"} 
[2026-08-08 06:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3053459456,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3738382160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2252488710,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3545909249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1258160334,"corrected_to":0} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807178,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3876847616,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:42] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,254,79,24,241,157,16,232,159,160,45,20,21,42,10,66,117,128,243,17,44,231,102,64,1,240,228,227,222,4,113,205,31,59,38,192,40,239,46,253,2,155],"length":434,"final_offset":564,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1258160334,"validated":0}]} 
[2026-08-08 06:14:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801481825666269184,"timestamp_seconds":1801481825666269.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:14:42] 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-08-08 06:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254360576001,"66":11765,"254":206,"79":46592,"24":32,"16":115942053745000448,"45":-8760486411596101632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-08 06:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254360576001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:14:42] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 06:14:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115942053745000448,"km_value":115942053745000.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8760486411596101632,"description":"Unknown IO ID 45"} 
[2026-08-08 06:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254360576001,"power":11765,"unknown_254":206,"unknown_79":46592,"ignition":32,"odometer":null,"unknown_45":-8760486411596101632}} 
[2026-08-08 06:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":151330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:14:42] local.INFO: GPS data processed {"connection_id":151330,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:14:42] local.INFO: Acknowledgment sent {"connection_id":151330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:14:43] local.INFO: TCP Data received {"connection_id":150103,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:14:43] local.INFO: Processing buffer {"connection_id":150103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:14:43] local.INFO: Packet analysis {"connection_id":150103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:14:43] local.INFO: Extracted packet for processing {"connection_id":150103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":150103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:14:43] local.INFO: GPS data processed {"connection_id":150103,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:14:43] local.INFO: Acknowledgment sent {"connection_id":150103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:15:14] local.INFO: TCP Data received {"connection_id":151330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded3f2a0012d868ec006114ea0001900252d..."} 
[2026-08-08 06:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded3f2a0012d868ec006114ea0001900252d..."} 
[2026-08-08 06:15:14] local.INFO: Processing buffer {"connection_id":151330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded3f2a0012d868ec006114ea0001900252d..."} 
[2026-08-08 06:15:14] local.INFO: Packet analysis {"connection_id":151330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded3"} 
[2026-08-08 06:15:14] local.INFO: Extracted packet for processing {"connection_id":151330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded3"} 
[2026-08-08 06:15:14] local.INFO: GPS Element Parsed {"raw_longitude":763793088,"raw_latitude":101797536,"longitude_deg":76.3793088,"latitude_deg":10.1797536,"altitude":25,"angle":37,"satellites":45,"speed":35,"hex_longitude":"2d868ec0","hex_latitude":"06114ea0","is_valid_coordinates":true} 
[2026-08-08 06:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254362624001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115942298558136320,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8754927280804773888,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149860000,"timestamp_ms":1786149860000,"timestamp_seconds":1786149860,"priority":1,"record_length":96,"hex_timestamp":"0000019fded3f2a0"} 
[2026-08-08 06:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 06:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:15:14] 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-08-08 06:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254362624001,"66":12113,"254":206,"79":46592,"24":35,"16":115942298558136320,"45":-8754927280804773888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254362624001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115942298558136320,"km_value":115942298558136.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8754927280804773888,"description":"Unknown IO ID 45"} 
[2026-08-08 06:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254362624001,"power":12113,"unknown_254":206,"unknown_79":46592,"ignition":35,"odometer":null,"unknown_45":-8754927280804773888}} 
[2026-08-08 06:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":151330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:15:14] local.INFO: GPS data processed {"connection_id":151330,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:15:14] local.INFO: Acknowledgment sent {"connection_id":151330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:15:14] local.INFO: TCP Data received {"connection_id":150103,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:15:14] local.INFO: Processing buffer {"connection_id":150103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:15:14] local.INFO: Packet analysis {"connection_id":150103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:15:14] local.INFO: Extracted packet for processing {"connection_id":150103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":150103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:15:14] local.INFO: GPS data processed {"connection_id":150103,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:15:14] local.INFO: Acknowledgment sent {"connection_id":150103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:15:33] local.INFO: TCP Data received {"connection_id":150360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:33] local.INFO: Processing buffer {"connection_id":150360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:33] local.INFO: IMEI packet received {"connection_id":150360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":150360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:15:33] local.INFO: TCP Data received {"connection_id":150360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:33] local.INFO: Processing buffer {"connection_id":150360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:33] local.INFO: IMEI packet received {"connection_id":150360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":150360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:15:36] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:15:36] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:15:36] local.INFO: IMEI packet received {"connection_id":151331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":151331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:15:38] local.INFO: TCP Data received {"connection_id":150360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:38] local.INFO: Processing buffer {"connection_id":150360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:15:38] local.INFO: IMEI packet received {"connection_id":150360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":150360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:15:38] local.INFO: TCP Data received {"connection_id":150360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4e4d0012d86f4c006127690000c00252f..."} 
[2026-08-08 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4e4d0012d86f4c006127690000c00252f..."} 
[2026-08-08 06:15:38] local.INFO: Processing buffer {"connection_id":150360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4e4d0012d86f4c006127690000c00252f..."} 
[2026-08-08 06:15:38] local.INFO: Packet analysis {"connection_id":150360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:15:38] local.INFO: Extracted packet for processing {"connection_id":150360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763819200,"raw_latitude":101873296,"longitude_deg":76.38192,"latitude_deg":10.1873296,"altitude":12,"angle":37,"satellites":47,"speed":53,"hex_longitude":"2d86f4c0","hex_latitude":"06127690","is_valid_coordinates":true} 
[2026-08-08 06:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254378240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115946267107917824,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8727413101813086208,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786149922000,"timestamp_ms":1786149922000,"timestamp_seconds":1786149922,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4e4d0"} 
[2026-08-08 06:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 06:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:15:38] 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-08-08 06:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254378240001,"66":12069,"100":206,"79":46592,"24":53,"16":115946267107917824,"45":-8727413101813086208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-08-08 06:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254378240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:15:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 06:15:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115946267107917824,"km_value":115946267107917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8727413101813086208,"description":"Unknown IO ID 45"} 
[2026-08-08 06:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254378240001,"power":12069,"unknown_100":206,"unknown_79":46592,"ignition":53,"odometer":null,"unknown_45":-8727413101813086208}} 
[2026-08-08 06:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":150360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:15:38] local.INFO: GPS data processed {"connection_id":150360,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:15:38] local.INFO: Acknowledgment sent {"connection_id":150360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:15:40] local.INFO: TCP Data received {"connection_id":150360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4f088012d86ff80061281b8000d00312d..."} 
[2026-08-08 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4f088012d86ff80061281b8000d00312d..."} 
[2026-08-08 06:15:40] local.INFO: Processing buffer {"connection_id":150360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4f088012d86ff80061281b8000d00312d..."} 
[2026-08-08 06:15:40] local.INFO: Packet analysis {"connection_id":150360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:15:40] local.INFO: Extracted packet for processing {"connection_id":150360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763821952,"raw_latitude":101876152,"longitude_deg":76.3821952,"latitude_deg":10.1876152,"altitude":13,"angle":49,"satellites":45,"speed":51,"hex_longitude":"2d86ff80","hex_latitude":"061281b8","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254380032001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115946460381446144,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8722135445997711360,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786149925000,"timestamp_ms":1786149925000,"timestamp_seconds":1786149925,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4f088"} 
[2026-08-08 06:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:15:40] 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-08-08 06:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254380032001,"66":12015,"100":206,"79":46592,"24":51,"16":115946460381446144,"45":-8722135445997711360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-08-08 06:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254380032001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115946460381446144,"km_value":115946460381446.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8722135445997711360,"description":"Unknown IO ID 45"} 
[2026-08-08 06:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254380032001,"power":12015,"unknown_100":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8722135445997711360}} 
[2026-08-08 06:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":150360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:15:40] local.INFO: GPS data processed {"connection_id":150360,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:15:40] local.INFO: Acknowledgment sent {"connection_id":150360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:15:41] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:15:41] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:15:41] local.INFO: IMEI packet received {"connection_id":151331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":151331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:15:43] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:15:43] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded01e28012d34c54006aa4760000901422b..."} 
[2026-08-08 06:15:43] local.INFO: Packet analysis {"connection_id":151331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:15:43] local.INFO: Extracted packet for processing {"connection_id":151331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded0"} 
[2026-08-08 06:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254221568001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010933760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149609000,"timestamp_ms":1786149609000,"timestamp_seconds":1786149609,"priority":1,"record_length":96,"hex_timestamp":"0000019fded01e28"} 
[2026-08-08 06:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 06:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254221568001,"66":26495,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802445489010933760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254221568001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:15:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010933760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254221568001,"power":26495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489010933760}} 
[2026-08-08 06:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":151331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:15:43] local.INFO: GPS data processed {"connection_id":151331,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:15:43] local.INFO: Acknowledgment sent {"connection_id":151331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:16:10] local.INFO: TCP Data received {"connection_id":150360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded507f8012d87198006129200000f003d2d..."} 
[2026-08-08 06:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded507f8012d87198006129200000f003d2d..."} 
[2026-08-08 06:16:10] local.INFO: Processing buffer {"connection_id":150360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded507f8012d87198006129200000f003d2d..."} 
[2026-08-08 06:16:10] local.INFO: Packet analysis {"connection_id":150360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded5"} 
[2026-08-08 06:16:10] local.INFO: Extracted packet for processing {"connection_id":150360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded5"} 
[2026-08-08 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763828608,"raw_latitude":101880320,"longitude_deg":76.3828608,"latitude_deg":10.188032,"altitude":15,"angle":61,"satellites":45,"speed":51,"hex_longitude":"2d871980","hex_latitude":"06129200","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254380800001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115946834043600896,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8719109589997340672,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786149931000,"timestamp_ms":1786149931000,"timestamp_seconds":1786149931,"priority":1,"record_length":96,"hex_timestamp":"0000019fded507f8"} 
[2026-08-08 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-08-08 06:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 06:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:16:10] 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-08-08 06:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254380800001,"66":12113,"100":206,"79":46592,"24":51,"16":115946834043600896,"45":-8719109589997340672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-08-08 06:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254380800001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:16:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 06:16:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115946834043600896,"km_value":115946834043600.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8719109589997340672,"description":"Unknown IO ID 45"} 
[2026-08-08 06:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254380800001,"power":12113,"unknown_100":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8719109589997340672}} 
[2026-08-08 06:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":150360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:16:11] local.INFO: GPS data processed {"connection_id":150360,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:16:11] local.INFO: Acknowledgment sent {"connection_id":150360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:16:14] local.INFO: TCP Data received {"connection_id":151331,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:16:14] local.INFO: Processing buffer {"connection_id":151331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:16:14] local.INFO: Packet analysis {"connection_id":151331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:16:14] local.INFO: Extracted packet for processing {"connection_id":151331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:16:14] 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-08-08 06:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:16:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":151331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:16:14] local.INFO: GPS data processed {"connection_id":151331,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:16:14] local.INFO: Acknowledgment sent {"connection_id":151331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:16:33] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:16:33] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:16:33] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:16:35] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:16:35] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:16:35] local.INFO: IMEI packet received {"connection_id":152805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":152805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:16:36] local.INFO: TCP Data received {"connection_id":151332,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:16:36] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:16:36] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:16:36] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded52350012d873a000612a380000f003e27..."} 
[2026-08-08 06:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded52350012d873a000612a380000f003e27..."} 
[2026-08-08 06:16:36] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded52350012d873a000612a380000f003e27..."} 
[2026-08-08 06:16:36] local.INFO: Packet analysis {"connection_id":152805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded5"} 
[2026-08-08 06:16:36] local.INFO: Extracted packet for processing {"connection_id":152805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded5"} 
[2026-08-08 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763836928,"raw_latitude":101884800,"longitude_deg":76.3836928,"latitude_deg":10.18848,"altitude":15,"angle":62,"satellites":39,"speed":54,"hex_longitude":"2d873a00","hex_latitude":"0612a380","is_valid_coordinates":true} 
[2026-08-08 06:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254382336001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115947289310134272,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8711791240601796608,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786149938000,"timestamp_ms":1786149938000,"timestamp_seconds":1786149938,"priority":1,"record_length":96,"hex_timestamp":"0000019fded52350"} 
[2026-08-08 06:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 06:16: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-08-08 06:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:16:36] 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-08-08 06:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254382336001,"66":12189,"100":206,"79":46592,"24":54,"16":115947289310134272,"45":-8711791240601796608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,79,24,16,45]} 
[2026-08-08 06:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254382336001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:16:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 06:16:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115947289310134272,"km_value":115947289310134.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8711791240601796608,"description":"Unknown IO ID 45"} 
[2026-08-08 06:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254382336001,"power":12189,"unknown_100":206,"unknown_79":46592,"ignition":54,"odometer":null,"unknown_45":-8711791240601796608}} 
[2026-08-08 06:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":152805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:16:37] local.INFO: GPS data processed {"connection_id":152805,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:16:37] local.INFO: Acknowledgment sent {"connection_id":152805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:16:41] local.INFO: TCP Data received {"connection_id":151332,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:16:41] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:16:41] local.INFO: IMEI packet received {"connection_id":151332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":151332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:16:43] local.INFO: TCP Data received {"connection_id":151332,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:16:43] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:16:43] local.INFO: Packet analysis {"connection_id":151332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:16:43] local.INFO: Extracted packet for processing {"connection_id":151332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:16:43] 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-08-08 06:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:16:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":151332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:16:43] local.INFO: GPS data processed {"connection_id":151332,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:16:43] local.INFO: Acknowledgment sent {"connection_id":151332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:17:15] local.INFO: TCP Data received {"connection_id":152805,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded634c0012d8788800613c3d0001801502a..."} 
[2026-08-08 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded634c0012d8788800613c3d0001801502a..."} 
[2026-08-08 06:17:15] local.INFO: Processing buffer {"connection_id":152805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded634c0012d8788800613c3d0001801502a..."} 
[2026-08-08 06:17:15] local.INFO: Packet analysis {"connection_id":152805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded6"} 
[2026-08-08 06:17:15] local.INFO: Extracted packet for processing {"connection_id":152805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded6"} 
[2026-08-08 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763857024,"raw_latitude":101958608,"longitude_deg":76.3857024,"latitude_deg":10.1958608,"altitude":24,"angle":336,"satellites":42,"speed":53,"hex_longitude":"2d878880","hex_latitude":"0613c3d0","is_valid_coordinates":true} 
[2026-08-08 06:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254400256001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115951670176776192,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8676536499750930432,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786150008000,"timestamp_ms":1786150008000,"timestamp_seconds":1786150008,"priority":1,"record_length":96,"hex_timestamp":"0000019fded634c0"} 
[2026-08-08 06:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 06:17: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-08-08 06:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:17:15] 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-08-08 06:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254400256001,"66":12004,"204":206,"79":46592,"24":53,"16":115951670176776192,"45":-8676536499750930432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254400256001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115951670176776192,"km_value":115951670176776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8676536499750930432,"description":"Unknown IO ID 45"} 
[2026-08-08 06:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254400256001,"power":12004,"lac":206,"unknown_79":46592,"ignition":53,"odometer":null,"unknown_45":-8676536499750930432}} 
[2026-08-08 06:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":152805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:17:15] local.INFO: GPS data processed {"connection_id":152805,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:17:15] local.INFO: Acknowledgment sent {"connection_id":152805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:17:15] local.INFO: TCP Data received {"connection_id":151332,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:17:15] local.INFO: Processing buffer {"connection_id":151332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:17:15] local.INFO: Packet analysis {"connection_id":151332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:17:15] local.INFO: Extracted packet for processing {"connection_id":151332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:17:15] 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-08-08 06:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":151332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:17:15] local.INFO: GPS data processed {"connection_id":151332,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:17:15] local.INFO: Acknowledgment sent {"connection_id":151332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:17:32] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:17:32] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:17:32] local.INFO: IMEI packet received {"connection_id":150361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":150361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:17:36] local.INFO: TCP Data received {"connection_id":150104,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:17:36] local.INFO: Processing buffer {"connection_id":150104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:17:36] local.INFO: IMEI packet received {"connection_id":150104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":150104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:17:37] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:17:37] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:17:37] local.INFO: IMEI packet received {"connection_id":150361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":150361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:17:41] local.INFO: TCP Data received {"connection_id":150104,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:17:41] local.INFO: Processing buffer {"connection_id":150104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:17:41] local.INFO: IMEI packet received {"connection_id":150104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":150104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:17:42] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded65018012d877b800613e470001701532a..."} 
[2026-08-08 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded65018012d877b800613e470001701532a..."} 
[2026-08-08 06:17:42] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded65018012d877b800613e470001701532a..."} 
[2026-08-08 06:17:42] local.INFO: Packet analysis {"connection_id":150361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded6"} 
[2026-08-08 06:17:42] local.INFO: Extracted packet for processing {"connection_id":150361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded6"} 
[2026-08-08 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763853696,"raw_latitude":101966960,"longitude_deg":76.3853696,"latitude_deg":10.196696,"altitude":23,"angle":339,"satellites":42,"speed":50,"hex_longitude":"2d877b80","hex_latitude":"0613e470","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254402048001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115952103968473088,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8680547518166872064,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786150015000,"timestamp_ms":1786150015000,"timestamp_seconds":1786150015,"priority":1,"record_length":96,"hex_timestamp":"0000019fded65018"} 
[2026-08-08 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-08-08 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:17:42] 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-08-08 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254402048001,"66":12004,"204":206,"79":46592,"24":50,"16":115952103968473088,"45":-8680547518166872064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-08-08 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254402048001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:17:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115952103968473088,"km_value":115952103968473.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8680547518166872064,"description":"Unknown IO ID 45"} 
[2026-08-08 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254402048001,"power":12004,"lac":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8680547518166872064}} 
[2026-08-08 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":150361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:17:42] local.INFO: GPS data processed {"connection_id":150361,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:17:42] local.INFO: Acknowledgment sent {"connection_id":150361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:17:43] local.INFO: TCP Data received {"connection_id":150104,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:17:43] local.INFO: Processing buffer {"connection_id":150104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:17:43] local.INFO: Packet analysis {"connection_id":150104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:17:43] local.INFO: Extracted packet for processing {"connection_id":150104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:17:43] 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-08-08 06:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:17:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":150104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:17:43] local.INFO: GPS data processed {"connection_id":150104,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:17:43] local.INFO: Acknowledgment sent {"connection_id":150104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:18:14] local.INFO: TCP Data received {"connection_id":150104,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:18:14] local.INFO: Processing buffer {"connection_id":150104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:18:14] local.INFO: Packet analysis {"connection_id":150104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:18:14] local.INFO: Extracted packet for processing {"connection_id":150104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:18:14] 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-08-08 06:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:18:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:18:14] local.INFO: GPS data processed {"connection_id":150104,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:18:14] local.INFO: Acknowledgment sent {"connection_id":150104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:18:17] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded66b70012d876e4006140530001601502c..."} 
[2026-08-08 06:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded66b70012d876e4006140530001601502c..."} 
[2026-08-08 06:18:17] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded66b70012d876e4006140530001601502c..."} 
[2026-08-08 06:18:17] local.INFO: Packet analysis {"connection_id":150361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded6"} 
[2026-08-08 06:18:17] local.INFO: Extracted packet for processing {"connection_id":150361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded6"} 
[2026-08-08 06:18:17] local.INFO: GPS Element Parsed {"raw_longitude":763850304,"raw_latitude":101975344,"longitude_deg":76.3850304,"latitude_deg":10.1975344,"altitude":22,"angle":336,"satellites":44,"speed":52,"hex_longitude":"2d876e40","hex_latitude":"06140530","is_valid_coordinates":true} 
[2026-08-08 06:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254403840001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115952542055137280,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8684206692861972480,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786150022000,"timestamp_ms":1786150022000,"timestamp_seconds":1786150022,"priority":1,"record_length":96,"hex_timestamp":"0000019fded66b70"} 
[2026-08-08 06:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:18:17] 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-08-08 06:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254403840001,"66":11917,"204":206,"79":46592,"24":52,"16":115952542055137280,"45":-8684206692861972480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-08-08 06:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254403840001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:18:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115952542055137280,"km_value":115952542055137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8684206692861972480,"description":"Unknown IO ID 45"} 
[2026-08-08 06:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254403840001,"power":11917,"lac":206,"unknown_79":46592,"ignition":52,"odometer":null,"unknown_45":-8684206692861972480}} 
[2026-08-08 06:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":150361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:18:18] local.INFO: GPS data processed {"connection_id":150361,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:18:18] local.INFO: Acknowledgment sent {"connection_id":150361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:18:32] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:32] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:32] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:18:35] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:35] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:35] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:18:36] local.INFO: TCP Data received {"connection_id":150105,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:18:36] local.INFO: Processing buffer {"connection_id":150105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:18:36] local.INFO: IMEI packet received {"connection_id":150105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":150105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:18:37] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:37] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:18:37] local.INFO: IMEI packet received {"connection_id":152806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":152806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:18:38] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded778f8012d86f800061560f0000b015b2d..."} 
[2026-08-08 06:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded778f8012d86f800061560f0000b015b2d..."} 
[2026-08-08 06:18:38] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded778f8012d86f800061560f0000b015b2d..."} 
[2026-08-08 06:18:38] local.INFO: Packet analysis {"connection_id":152806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:18:38] local.INFO: Extracted packet for processing {"connection_id":152806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763820032,"raw_latitude":102064368,"longitude_deg":76.3820032,"latitude_deg":10.2064368,"altitude":11,"angle":347,"satellites":45,"speed":52,"hex_longitude":"2d86f800","hex_latitude":"061560f0","is_valid_coordinates":true} 
[2026-08-08 06:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254421504001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115957107605372928,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8718546639997984768,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786150091000,"timestamp_ms":1786150091000,"timestamp_seconds":1786150091,"priority":1,"record_length":96,"hex_timestamp":"0000019fded778f8"} 
[2026-08-08 06:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:18:38] 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-08-08 06:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254421504001,"66":11852,"154":206,"79":46592,"24":52,"16":115957107605372928,"45":-8718546639997984768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-08 06:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254421504001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:18:38] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 06:18:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115957107605372928,"km_value":115957107605372.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8718546639997984768,"description":"Unknown IO ID 45"} 
[2026-08-08 06:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254421504001,"power":11852,"unknown_154":206,"unknown_79":46592,"ignition":52,"odometer":null,"unknown_45":-8718546639997984768}} 
[2026-08-08 06:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":152806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:18:38] local.INFO: GPS data processed {"connection_id":152806,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:18:38] local.INFO: Acknowledgment sent {"connection_id":152806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:18:41] local.INFO: TCP Data received {"connection_id":150105,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:18:41] local.INFO: Processing buffer {"connection_id":150105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:18:41] local.INFO: IMEI packet received {"connection_id":150105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":150105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:18:43] local.INFO: TCP Data received {"connection_id":150105,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:18:43] local.INFO: Processing buffer {"connection_id":150105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:18:43] local.INFO: Packet analysis {"connection_id":150105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:18:43] local.INFO: Extracted packet for processing {"connection_id":150105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:18:43] 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-08-08 06:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":150105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:18:43] local.INFO: GPS data processed {"connection_id":150105,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:18:43] local.INFO: Acknowledgment sent {"connection_id":150105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:19:09] local.INFO: TCP Data received {"connection_id":152806,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded79450012d86f480061583b8000a01672c..."} 
[2026-08-08 06:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded79450012d86f480061583b8000a01672c..."} 
[2026-08-08 06:19:09] local.INFO: Processing buffer {"connection_id":152806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded79450012d86f480061583b8000a01672c..."} 
[2026-08-08 06:19:09] local.INFO: Packet analysis {"connection_id":152806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:19:09] local.INFO: Extracted packet for processing {"connection_id":152806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763819136,"raw_latitude":102073272,"longitude_deg":76.3819136,"latitude_deg":10.2073272,"altitude":10,"angle":359,"satellites":44,"speed":48,"hex_longitude":"2d86f480","hex_latitude":"061583b8","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254423296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115957541397069824,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8721220652274487296,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786150098000,"timestamp_ms":1786150098000,"timestamp_seconds":1786150098,"priority":1,"record_length":96,"hex_timestamp":"0000019fded79450"} 
[2026-08-08 06:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 06:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:19:09] 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-08-08 06:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254423296001,"66":12004,"154":206,"79":46592,"24":48,"16":115957541397069824,"45":-8721220652274487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-08 06:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254423296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:19:09] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 06:19:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115957541397069824,"km_value":115957541397069.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8721220652274487296,"description":"Unknown IO ID 45"} 
[2026-08-08 06:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254423296001,"power":12004,"unknown_154":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8721220652274487296}} 
[2026-08-08 06:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":152806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:19:09] local.INFO: GPS data processed {"connection_id":152806,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:19:09] local.INFO: Acknowledgment sent {"connection_id":152806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:19:14] local.INFO: TCP Data received {"connection_id":150105,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:19:14] local.INFO: Processing buffer {"connection_id":150105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:19:14] local.INFO: Packet analysis {"connection_id":150105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:19:14] local.INFO: Extracted packet for processing {"connection_id":150105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:19:14] 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-08-08 06:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:19:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":150105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:19:14] local.INFO: GPS data processed {"connection_id":150105,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:19:14] local.INFO: Acknowledgment sent {"connection_id":150105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:19:36] local.INFO: TCP Data received {"connection_id":150106,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:19:36] local.INFO: Processing buffer {"connection_id":150106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:19:36] local.INFO: IMEI packet received {"connection_id":150106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":150106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:19:38] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:38] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:38] local.INFO: IMEI packet received {"connection_id":150362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":150362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:19:38] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:38] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:38] local.INFO: IMEI packet received {"connection_id":150362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":150362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:19:41] local.INFO: TCP Data received {"connection_id":150106,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:19:41] local.INFO: Processing buffer {"connection_id":150106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:19:41] local.INFO: IMEI packet received {"connection_id":150106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":150106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:19:42] local.INFO: TCP Data received {"connection_id":150106,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:19:42] local.INFO: Processing buffer {"connection_id":150106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:19:42] local.INFO: Packet analysis {"connection_id":150106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:19:42] local.INFO: Extracted packet for processing {"connection_id":150106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 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-08-08 06: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-08-08 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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:19:42] 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-08-08 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-08-08 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-08-08 06:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:19:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":150106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:19:42] local.INFO: GPS data processed {"connection_id":150106,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:19:42] local.INFO: Acknowledgment sent {"connection_id":150106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:19:42] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:42] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:19:42] local.INFO: IMEI packet received {"connection_id":150362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":150362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:19:44] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded79450012d86f480061583b8000a01672c..."} 
[2026-08-08 06:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded79450012d86f480061583b8000a01672c..."} 
[2026-08-08 06:19:44] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded79450012d86f480061583b8000a01672c..."} 
[2026-08-08 06:19:44] local.INFO: Packet analysis {"connection_id":150362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:19:44] local.INFO: Extracted packet for processing {"connection_id":150362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:19:44] local.INFO: GPS Element Parsed {"raw_longitude":763819136,"raw_latitude":102073272,"longitude_deg":76.3819136,"latitude_deg":10.2073272,"altitude":10,"angle":359,"satellites":44,"speed":48,"hex_longitude":"2d86f480","hex_latitude":"061583b8","is_valid_coordinates":true} 
[2026-08-08 06:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254425088001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115957541397069824,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8722205814690695168,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786150098000,"timestamp_ms":1786150098000,"timestamp_seconds":1786150098,"priority":1,"record_length":96,"hex_timestamp":"0000019fded79450"} 
[2026-08-08 06:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:19:44] 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-08-08 06:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254425088001,"66":11852,"154":206,"79":46592,"24":48,"16":115957541397069824,"45":-8722205814690695168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-08 06:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254425088001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:19:44] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 06:19:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115957541397069824,"km_value":115957541397069.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8722205814690695168,"description":"Unknown IO ID 45"} 
[2026-08-08 06:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254425088001,"power":11852,"unknown_154":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8722205814690695168}} 
[2026-08-08 06:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":150362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:19:44] local.INFO: GPS data processed {"connection_id":150362,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:19:44] local.INFO: Acknowledgment sent {"connection_id":150362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:19:47] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded7b390012d86f6400615ab20000a00022e..."} 
[2026-08-08 06:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded7b390012d86f6400615ab20000a00022e..."} 
[2026-08-08 06:19:47] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded7b390012d86f6400615ab20000a00022e..."} 
[2026-08-08 06:19:47] local.INFO: Packet analysis {"connection_id":150362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:19:47] local.INFO: Extracted packet for processing {"connection_id":150362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded7"} 
[2026-08-08 06:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763819584,"raw_latitude":102083360,"longitude_deg":76.3819584,"latitude_deg":10.208336,"altitude":10,"angle":2,"satellites":46,"speed":51,"hex_longitude":"2d86f640","hex_latitude":"0615ab20","is_valid_coordinates":true} 
[2026-08-08 06:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254425088001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115958031023341568,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8722205814690695168,"note":"Value kept but may cause issues"} 
[2026-08-08 06:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786150106000,"timestamp_ms":1786150106000,"timestamp_seconds":1786150106,"priority":1,"record_length":96,"hex_timestamp":"0000019fded7b390"} 
[2026-08-08 06:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 06:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:19:47] 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-08-08 06:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254425088001,"66":12015,"154":206,"79":46592,"24":51,"16":115958031023341568,"45":-8722205814690695168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-08-08 06:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254425088001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:19:47] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 06:19:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115958031023341568,"km_value":115958031023341.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8722205814690695168,"description":"Unknown IO ID 45"} 
[2026-08-08 06:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254425088001,"power":12015,"unknown_154":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8722205814690695168}} 
[2026-08-08 06:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":150362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:19:47] local.INFO: GPS data processed {"connection_id":150362,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:19:47] local.INFO: Acknowledgment sent {"connection_id":150362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:20:14] local.INFO: TCP Data received {"connection_id":150106,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:20:14] local.INFO: Processing buffer {"connection_id":150106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:20:14] local.INFO: Packet analysis {"connection_id":150106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:20:14] local.INFO: Extracted packet for processing {"connection_id":150106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:20:14] 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-08-08 06:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:20:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":150106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:20:14] local.INFO: GPS data processed {"connection_id":150106,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:20:14] local.INFO: Acknowledgment sent {"connection_id":150106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:20:30] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:30] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:30] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:20:33] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:33] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:33] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:20:38] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:38] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:20:38] local.INFO: IMEI packet received {"connection_id":151333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":151333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:20:38] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded95d58012d865500061702f80011014d2c..."} 
[2026-08-08 06:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded95d58012d865500061702f80011014d2c..."} 
[2026-08-08 06:20:38] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded95d58012d865500061702f80011014d2c..."} 
[2026-08-08 06:20:38] local.INFO: Packet analysis {"connection_id":151333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:20:38] local.INFO: Extracted packet for processing {"connection_id":151333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763778304,"raw_latitude":102171384,"longitude_deg":76.3778304,"latitude_deg":10.2171384,"altitude":17,"angle":333,"satellites":44,"speed":49,"hex_longitude":"2d865500","hex_latitude":"061702f8","is_valid_coordinates":true} 
[2026-08-08 06:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254452992001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115962807026974720,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8761753048895639552,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786150215000,"timestamp_ms":1786150215000,"timestamp_seconds":1786150215,"priority":1,"record_length":96,"hex_timestamp":"0000019fded95d58"} 
[2026-08-08 06:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 06:20:38] 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-08-08 06:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:20:38] 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-08-08 06:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254452992001,"66":11852,"234":206,"79":46592,"24":49,"16":115962807026974720,"45":-8761753048895639552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-08-08 06:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254452992001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:20:38] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 06:20:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115962807026974720,"km_value":115962807026974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8761753048895639552,"description":"Unknown IO ID 45"} 
[2026-08-08 06:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254452992001,"power":11852,"unknown_234":206,"unknown_79":46592,"ignition":49,"odometer":null,"unknown_45":-8761753048895639552}} 
[2026-08-08 06:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":151333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:20:38] local.INFO: GPS data processed {"connection_id":151333,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:20:38] local.INFO: Acknowledgment sent {"connection_id":151333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:20:41] local.INFO: TCP Data received {"connection_id":151334,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:20:41] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:20:41] local.INFO: IMEI packet received {"connection_id":151334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:20:46] local.INFO: TCP Data received {"connection_id":151334,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:20:46] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:20:46] local.INFO: IMEI packet received {"connection_id":151334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":151334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:20:48] local.INFO: TCP Data received {"connection_id":151334,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:20:48] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded4b5f0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:20:48] local.INFO: Packet analysis {"connection_id":151334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:20:48] local.INFO: Extracted packet for processing {"connection_id":151334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded4"} 
[2026-08-08 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254299904001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786149910000,"timestamp_ms":1786149910000,"timestamp_seconds":1786149910,"priority":1,"record_length":96,"hex_timestamp":"0000019fded4b5f0"} 
[2026-08-08 06:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 06:20:48] 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-08-08 06:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254299904001,"66":26180,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254299904001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254299904001,"power":26180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":151334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:20:48] local.INFO: GPS data processed {"connection_id":151334,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:20:48] local.INFO: Acknowledgment sent {"connection_id":151334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:21:10] local.INFO: TCP Data received {"connection_id":151333,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded978b0012d86478006172300001101542d..."} 
[2026-08-08 06:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded978b0012d86478006172300001101542d..."} 
[2026-08-08 06:21:10] local.INFO: Processing buffer {"connection_id":151333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded978b0012d86478006172300001101542d..."} 
[2026-08-08 06:21:10] local.INFO: Packet analysis {"connection_id":151333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:10] local.INFO: Extracted packet for processing {"connection_id":151333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763774848,"raw_latitude":102179584,"longitude_deg":76.3774848,"latitude_deg":10.2179584,"altitude":17,"angle":340,"satellites":45,"speed":51,"hex_longitude":"2d864780","hex_latitude":"06172300","is_valid_coordinates":true} 
[2026-08-08 06:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254455040001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115963236523704320,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8767101073450928128,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786150222000,"timestamp_ms":1786150222000,"timestamp_seconds":1786150222,"priority":1,"record_length":96,"hex_timestamp":"0000019fded978b0"} 
[2026-08-08 06:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 06:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:21:10] 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-08-08 06:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254455040001,"66":11852,"234":206,"79":46592,"24":51,"16":115963236523704320,"45":-8767101073450928128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-08-08 06:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254455040001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:21:10] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 06:21:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115963236523704320,"km_value":115963236523704.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8767101073450928128,"description":"Unknown IO ID 45"} 
[2026-08-08 06:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254455040001,"power":11852,"unknown_234":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8767101073450928128}} 
[2026-08-08 06:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":151333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:21:10] local.INFO: GPS data processed {"connection_id":151333,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:21:10] local.INFO: Acknowledgment sent {"connection_id":151333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:21:19] local.INFO: TCP Data received {"connection_id":151334,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:21:19] local.INFO: Processing buffer {"connection_id":151334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:21:19] local.INFO: Packet analysis {"connection_id":151334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:19] local.INFO: Extracted packet for processing {"connection_id":151334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:21:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":151334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:21:19] local.INFO: GPS data processed {"connection_id":151334,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:21:19] local.INFO: Acknowledgment sent {"connection_id":151334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:21:33] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:21:33] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:21:33] local.INFO: IMEI packet received {"connection_id":150363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":150363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:21:36] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:21:36] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:21:36] local.INFO: IMEI packet received {"connection_id":150363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":150363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:21:37] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fded99408012d863c8006174460001201552d..."} 
[2026-08-08 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded99408012d863c8006174460001201552d..."} 
[2026-08-08 06:21:37] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded99408012d863c8006174460001201552d..."} 
[2026-08-08 06:21:37] local.INFO: Packet analysis {"connection_id":150363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:37] local.INFO: Extracted packet for processing {"connection_id":150363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763772032,"raw_latitude":102188128,"longitude_deg":76.3772032,"latitude_deg":10.2188128,"altitude":18,"angle":341,"satellites":45,"speed":50,"hex_longitude":"2d863c80","hex_latitude":"06174460","is_valid_coordinates":true} 
[2026-08-08 06:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254456832001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115963674610368512,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8770900985634422784,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786150229000,"timestamp_ms":1786150229000,"timestamp_seconds":1786150229,"priority":1,"record_length":96,"hex_timestamp":"0000019fded99408"} 
[2026-08-08 06:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 06:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:21:37] 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-08-08 06:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254456832001,"66":11450,"234":206,"79":46592,"24":50,"16":115963674610368512,"45":-8770900985634422784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-08-08 06:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254456832001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:21:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-08 06:21:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115963674610368512,"km_value":115963674610368.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8770900985634422784,"description":"Unknown IO ID 45"} 
[2026-08-08 06:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254456832001,"power":11450,"unknown_234":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8770900985634422784}} 
[2026-08-08 06:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":150363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:21:37] local.INFO: GPS data processed {"connection_id":150363,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:21:37] local.INFO: Acknowledgment sent {"connection_id":150363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:21:37] local.INFO: TCP Data received {"connection_id":151335,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:21:37] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:21:37] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:21:41] local.INFO: TCP Data received {"connection_id":151335,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:21:41] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:21:41] local.INFO: IMEI packet received {"connection_id":151335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":151335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:21:43] local.INFO: TCP Data received {"connection_id":151335,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:21:43] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:21:43] local.INFO: Packet analysis {"connection_id":151335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:43] local.INFO: Extracted packet for processing {"connection_id":151335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:21:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":151335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:21:43] local.INFO: GPS data processed {"connection_id":151335,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:21:43] local.INFO: Acknowledgment sent {"connection_id":151335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:22:08] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedadc28012d85c2c00618f4d00018015a2c..."} 
[2026-08-08 06:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedadc28012d85c2c00618f4d00018015a2c..."} 
[2026-08-08 06:22:08] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedadc28012d85c2c00618f4d00018015a2c..."} 
[2026-08-08 06:22:08] local.INFO: Packet analysis {"connection_id":150363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeda"} 
[2026-08-08 06:22:08] local.INFO: Extracted packet for processing {"connection_id":150363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeda"} 
[2026-08-08 06:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763740864,"raw_latitude":102298832,"longitude_deg":76.3740864,"latitude_deg":10.2298832,"altitude":24,"angle":346,"satellites":44,"speed":58,"hex_longitude":"2d85c2c0","hex_latitude":"0618f4d0","is_valid_coordinates":true} 
[2026-08-08 06:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254478592001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115969249477918720,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8805944620206579712,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786150313000,"timestamp_ms":1786150313000,"timestamp_seconds":1786150313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedadc28"} 
[2026-08-08 06:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 06:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:22:08] 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-08-08 06:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254478592001,"66":11895,"235":206,"79":46592,"24":58,"16":115969249477918720,"45":-8805944620206579712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,79,24,16,45]} 
[2026-08-08 06:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254478592001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:22:08] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 06:22:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115969249477918720,"km_value":115969249477918.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8805944620206579712,"description":"Unknown IO ID 45"} 
[2026-08-08 06:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254478592001,"power":11895,"unknown_235":206,"unknown_79":46592,"ignition":58,"odometer":null,"unknown_45":-8805944620206579712}} 
[2026-08-08 06:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":150363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:22:08] local.INFO: GPS data processed {"connection_id":150363,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:22:08] local.INFO: Acknowledgment sent {"connection_id":150363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:22:14] local.INFO: TCP Data received {"connection_id":151335,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:22:14] local.INFO: Processing buffer {"connection_id":151335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:22:14] local.INFO: Packet analysis {"connection_id":151335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:22:14] local.INFO: Extracted packet for processing {"connection_id":151335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":151335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:22:14] local.INFO: GPS data processed {"connection_id":151335,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:22:14] local.INFO: Acknowledgment sent {"connection_id":151335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:22:34] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:34] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:34] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:22:36] local.INFO: TCP Data received {"connection_id":152808,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:22:36] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:22:36] local.INFO: IMEI packet received {"connection_id":152808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":152808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:22:37] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:37] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:37] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:22:41] local.INFO: TCP Data received {"connection_id":152808,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:22:41] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:22:41] local.INFO: IMEI packet received {"connection_id":152808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":152808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:22:42] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:42] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:22:42] local.INFO: IMEI packet received {"connection_id":152807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":152807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:22:43] local.INFO: TCP Data received {"connection_id":152808,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:22:43] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:22:43] local.INFO: Packet analysis {"connection_id":152808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:22:43] local.INFO: Extracted packet for processing {"connection_id":152808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":152808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:22:43] local.INFO: GPS data processed {"connection_id":152808,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:22:43] local.INFO: Acknowledgment sent {"connection_id":152808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:22:44] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedaf398012d85ba40061916e80018015a2b..."} 
[2026-08-08 06:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedaf398012d85ba40061916e80018015a2b..."} 
[2026-08-08 06:22:44] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedaf398012d85ba40061916e80018015a2b..."} 
[2026-08-08 06:22:44] local.INFO: Packet analysis {"connection_id":152807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeda"} 
[2026-08-08 06:22:44] local.INFO: Extracted packet for processing {"connection_id":152807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeda"} 
[2026-08-08 06:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763738688,"raw_latitude":102307560,"longitude_deg":76.3738688,"latitude_deg":10.230756,"altitude":24,"angle":346,"satellites":43,"speed":60,"hex_longitude":"2d85ba40","hex_latitude":"061916e8","is_valid_coordinates":true} 
[2026-08-08 06:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254480128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115969683269615616,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8808266788762234880,"note":"Value kept but may cause issues"} 
[2026-08-08 06:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786150319000,"timestamp_ms":1786150319000,"timestamp_seconds":1786150319,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedaf398"} 
[2026-08-08 06:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 06:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:22:44] 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-08-08 06:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254480128001,"66":11917,"235":206,"79":46592,"24":60,"16":115969683269615616,"45":-8808266788762234880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,79,24,16,45]} 
[2026-08-08 06:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254480128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:22:44] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 06:22:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115969683269615616,"km_value":115969683269615.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8808266788762234880,"description":"Unknown IO ID 45"} 
[2026-08-08 06:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254480128001,"power":11917,"unknown_235":206,"unknown_79":46592,"ignition":60,"odometer":null,"unknown_45":-8808266788762234880}} 
[2026-08-08 06:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":152807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:22:44] local.INFO: GPS data processed {"connection_id":152807,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:22:44] local.INFO: Acknowledgment sent {"connection_id":152807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:23:14] local.INFO: TCP Data received {"connection_id":152808,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:23:14] local.INFO: Processing buffer {"connection_id":152808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:23:14] local.INFO: Packet analysis {"connection_id":152808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:23:14] local.INFO: Extracted packet for processing {"connection_id":152808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:23:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":152808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:23:14] local.INFO: GPS data processed {"connection_id":152808,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:23:14] local.INFO: Acknowledgment sent {"connection_id":152808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:23:16] local.INFO: TCP Data received {"connection_id":152807,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedb0b08012d85b1c0061939080019015a2b..."} 
[2026-08-08 06:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedb0b08012d85b1c0061939080019015a2b..."} 
[2026-08-08 06:23:16] local.INFO: Processing buffer {"connection_id":152807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedb0b08012d85b1c0061939080019015a2b..."} 
[2026-08-08 06:23:16] local.INFO: Packet analysis {"connection_id":152807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedb"} 
[2026-08-08 06:23:16] local.INFO: Extracted packet for processing {"connection_id":152807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedb"} 
[2026-08-08 06:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763736512,"raw_latitude":102316296,"longitude_deg":76.3736512,"latitude_deg":10.2316296,"altitude":25,"angle":346,"satellites":43,"speed":57,"hex_longitude":"2d85b1c0","hex_latitude":"06193908","is_valid_coordinates":true} 
[2026-08-08 06:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254481664001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115970121356279808,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810659326062041088,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786150325000,"timestamp_ms":1786150325000,"timestamp_seconds":1786150325,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedb0b08"} 
[2026-08-08 06:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:23:16] 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-08-08 06:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:23:16] 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-08-08 06:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254481664001,"66":11950,"235":206,"79":46592,"24":57,"16":115970121356279808,"45":-8810659326062041088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,79,24,16,45]} 
[2026-08-08 06:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254481664001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:23:16] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-08 06:23:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115970121356279808,"km_value":115970121356279.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810659326062041088,"description":"Unknown IO ID 45"} 
[2026-08-08 06:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254481664001,"power":11950,"unknown_235":206,"unknown_79":46592,"ignition":57,"odometer":null,"unknown_45":-8810659326062041088}} 
[2026-08-08 06:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":152807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:23:16] local.INFO: GPS data processed {"connection_id":152807,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:23:16] local.INFO: Acknowledgment sent {"connection_id":152807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:23:36] local.INFO: TCP Data received {"connection_id":150364,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:23:36] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:23:36] local.INFO: IMEI packet received {"connection_id":150364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:23:37] local.INFO: TCP Data received {"connection_id":150107,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:23:37] local.INFO: Processing buffer {"connection_id":150107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:23:37] local.INFO: IMEI packet received {"connection_id":150107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":150107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:23:40] local.INFO: TCP Data received {"connection_id":150107,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:23:40] local.INFO: Processing buffer {"connection_id":150107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:23:40] local.INFO: IMEI packet received {"connection_id":150107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":150107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:23:41] local.INFO: TCP Data received {"connection_id":150107,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedc2c18012d859900061ad0780023015e2b..."} 
[2026-08-08 06:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedc2c18012d859900061ad0780023015e2b..."} 
[2026-08-08 06:23:41] local.INFO: Processing buffer {"connection_id":150107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedc2c18012d859900061ad0780023015e2b..."} 
[2026-08-08 06:23:41] local.INFO: Packet analysis {"connection_id":150107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:23:41] local.INFO: Extracted packet for processing {"connection_id":150107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763730176,"raw_latitude":102420600,"longitude_deg":76.3730176,"latitude_deg":10.24206,"altitude":35,"angle":350,"satellites":43,"speed":59,"hex_longitude":"2d859900","hex_latitude":"061ad078","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254500608001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115975206597558272,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8818962837848389632,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786150399000,"timestamp_ms":1786150399000,"timestamp_seconds":1786150399,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedc2c18"} 
[2026-08-08 06:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3053459456,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3738925160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28673,"corrected_to":0} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3685685249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1915814094,"corrected_to":0} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3221302661,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640050,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:41] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,49,79,24,241,157,16,6,159,253,45,128,137,34,44,10,66,229,64,100,33,5,202,1,240,239,227,222,26,4,113,205,50,147,170,46,2,156],"length":434,"final_offset":564,"validated_count":38,"validation_warnings":[{"io_id":202,"original":28673,"validated":0},{"io_id":205,"original":1915814094,"validated":0}]} 
[2026-08-08 06:23:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594463905270726656,"timestamp_seconds":2594463905270726.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:23:41] 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-08-08 06:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254500608001,"66":11917,"49":206,"79":46592,"24":59,"16":115975206597558272,"45":-8818962837848389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-08 06:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254500608001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:23:41] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 06:23:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115975206597558272,"km_value":115975206597558.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8818962837848389632,"description":"Unknown IO ID 45"} 
[2026-08-08 06:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254500608001,"power":11917,"unknown_49":206,"unknown_79":46592,"ignition":59,"odometer":null,"unknown_45":-8818962837848389632}} 
[2026-08-08 06:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":150107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:23:41] local.INFO: GPS data processed {"connection_id":150107,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:23:41] local.INFO: Acknowledgment sent {"connection_id":150107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:23:41] local.INFO: TCP Data received {"connection_id":150364,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:23:41] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:23:41] local.INFO: IMEI packet received {"connection_id":150364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:23:42] local.INFO: TCP Data received {"connection_id":150107,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedc4388012d859080061af220002201542c..."} 
[2026-08-08 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedc4388012d859080061af220002201542c..."} 
[2026-08-08 06:23:42] local.INFO: Processing buffer {"connection_id":150107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedc4388012d859080061af220002201542c..."} 
[2026-08-08 06:23:42] local.INFO: Packet analysis {"connection_id":150107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:23:42] local.INFO: Extracted packet for processing {"connection_id":150107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763728000,"raw_latitude":102429216,"longitude_deg":76.3728,"latitude_deg":10.2429216,"altitude":34,"angle":340,"satellites":44,"speed":58,"hex_longitude":"2d859080","hex_latitude":"061af220","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254502144001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115975636094287872,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8820018369008732160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786150405000,"timestamp_ms":1786150405000,"timestamp_seconds":1786150405,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedc4388"} 
[2026-08-08 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-08-08 06:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:23:42] 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-08-08 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-08-08 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-08-08 06:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:23:42] 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-08-08 06:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254502144001,"66":12189,"49":206,"79":46592,"24":58,"16":115975636094287872,"45":-8820018369008732160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-08 06:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254502144001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:23:42] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 06:23:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115975636094287872,"km_value":115975636094287.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8820018369008732160,"description":"Unknown IO ID 45"} 
[2026-08-08 06:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254502144001,"power":12189,"unknown_49":206,"unknown_79":46592,"ignition":58,"odometer":null,"unknown_45":-8820018369008732160}} 
[2026-08-08 06:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":150107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:23:42] local.INFO: GPS data processed {"connection_id":150107,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:23:42] local.INFO: Acknowledgment sent {"connection_id":150107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:23:43] local.INFO: TCP Data received {"connection_id":150364,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:23:43] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:23:43] local.INFO: Packet analysis {"connection_id":150364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:23:43] local.INFO: Extracted packet for processing {"connection_id":150364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:23:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":150364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:23:43] local.INFO: GPS data processed {"connection_id":150364,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:23:43] local.INFO: Acknowledgment sent {"connection_id":150364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:24:13] local.INFO: TCP Data received {"connection_id":150107,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedc5af8012d8581c0061b11f00020014a2b..."} 
[2026-08-08 06:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedc5af8012d8581c0061b11f00020014a2b..."} 
[2026-08-08 06:24:13] local.INFO: Processing buffer {"connection_id":150107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedc5af8012d8581c0061b11f00020014a2b..."} 
[2026-08-08 06:24:13] local.INFO: Packet analysis {"connection_id":150107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:24:13] local.INFO: Extracted packet for processing {"connection_id":150107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763724224,"raw_latitude":102437360,"longitude_deg":76.3724224,"latitude_deg":10.243736,"altitude":32,"angle":330,"satellites":43,"speed":59,"hex_longitude":"2d8581c0","hex_latitude":"061b11f0","is_valid_coordinates":true} 
[2026-08-08 06:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254503680001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115976074180952064,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8822410906308567040,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786150411000,"timestamp_ms":1786150411000,"timestamp_seconds":1786150411,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedc5af8"} 
[2026-08-08 06:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 06:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:24:13] 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-08-08 06:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254503680001,"66":12135,"49":206,"79":46592,"24":59,"16":115976074180952064,"45":-8822410906308567040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-08 06:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254503680001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:24:13] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 06:24:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 06:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115976074180952064,"km_value":115976074180952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8822410906308567040,"description":"Unknown IO ID 45"} 
[2026-08-08 06:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254503680001,"power":12135,"unknown_49":206,"unknown_79":46592,"ignition":59,"odometer":null,"unknown_45":-8822410906308567040}} 
[2026-08-08 06:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":150107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:24:13] local.INFO: GPS data processed {"connection_id":150107,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:24:13] local.INFO: Acknowledgment sent {"connection_id":150107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:24:14] local.INFO: TCP Data received {"connection_id":150364,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:14] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:14] local.INFO: Packet analysis {"connection_id":150364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:24:14] local.INFO: Extracted packet for processing {"connection_id":150364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:24:14] local.INFO: GPS data processed {"connection_id":150364,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:24:14] local.INFO: Acknowledgment sent {"connection_id":150364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:24:33] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:33] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:33] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:24:33] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:33] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:33] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:24:38] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:38] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:24:38] local.INFO: IMEI packet received {"connection_id":152809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":152809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:24:38] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedc7650012d856b00061b3310001e01412d..."} 
[2026-08-08 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedc7650012d856b00061b3310001e01412d..."} 
[2026-08-08 06:24:38] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedc7650012d856b00061b3310001e01412d..."} 
[2026-08-08 06:24:38] local.INFO: Packet analysis {"connection_id":152809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:24:38] local.INFO: Extracted packet for processing {"connection_id":152809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedc"} 
[2026-08-08 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763718400,"raw_latitude":102445840,"longitude_deg":76.37184,"latitude_deg":10.244584,"altitude":30,"angle":321,"satellites":45,"speed":56,"hex_longitude":"2d856b00","hex_latitude":"061b3310","is_valid_coordinates":true} 
[2026-08-08 06:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254505216001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115976568102191104,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8826562662212964352,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786150418000,"timestamp_ms":1786150418000,"timestamp_seconds":1786150418,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedc7650"} 
[2026-08-08 06:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 06:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:24:38] 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-08-08 06:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254505216001,"66":12015,"113":206,"79":21504,"24":56,"16":115976568102191104,"45":-8826562662212964352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-08-08 06:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254505216001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:24:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 06:24:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115976568102191104,"km_value":115976568102191.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8826562662212964352,"description":"Unknown IO ID 45"} 
[2026-08-08 06:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254505216001,"power":12015,"unknown_113":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":-8826562662212964352}} 
[2026-08-08 06:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":152809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:24:38] local.INFO: GPS data processed {"connection_id":152809,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:24:38] local.INFO: Acknowledgment sent {"connection_id":152809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:24:41] local.INFO: TCP Data received {"connection_id":152810,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:24:41] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:24:41] local.INFO: IMEI packet received {"connection_id":152810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":152810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:24:46] local.INFO: TCP Data received {"connection_id":152810,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:24:46] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:24:46] local.INFO: IMEI packet received {"connection_id":152810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":152810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:24:48] local.INFO: TCP Data received {"connection_id":152810,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:48] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:48] local.INFO: Packet analysis {"connection_id":152810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:24:48] local.INFO: Extracted packet for processing {"connection_id":152810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:24:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":152810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:24:48] local.INFO: GPS data processed {"connection_id":152810,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:24:48] local.INFO: Acknowledgment sent {"connection_id":152810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:24:52] local.INFO: TCP Data received {"connection_id":152810,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:52] local.INFO: Processing buffer {"connection_id":152810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:24:52] local.INFO: Packet analysis {"connection_id":152810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:24:52] local.INFO: Extracted packet for processing {"connection_id":152810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:24:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":152810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:24:52] local.INFO: GPS data processed {"connection_id":152810,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:24:52] local.INFO: Acknowledgment sent {"connection_id":152810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:25:10] local.INFO: TCP Data received {"connection_id":152809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedd9760012d84a840061ca0280013014e2e..."} 
[2026-08-08 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedd9760012d84a840061ca0280013014e2e..."} 
[2026-08-08 06:25:10] local.INFO: Processing buffer {"connection_id":152809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedd9760012d84a840061ca0280013014e2e..."} 
[2026-08-08 06:25:10] local.INFO: Packet analysis {"connection_id":152809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:25:10] local.INFO: Extracted packet for processing {"connection_id":152809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763668544,"raw_latitude":102539304,"longitude_deg":76.3668544,"latitude_deg":10.2539304,"altitude":19,"angle":334,"satellites":46,"speed":59,"hex_longitude":"2d84a840","hex_latitude":"061ca028","is_valid_coordinates":true} 
[2026-08-08 06:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254524160001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115981726357913600,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8882787288787054592,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786150492000,"timestamp_ms":1786150492000,"timestamp_seconds":1786150492,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedd9760"} 
[2026-08-08 06:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-08 06:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:25:10] 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-08-08 06:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254524160001,"66":11874,"115":206,"79":21504,"24":59,"16":115981726357913600,"45":-8882787288787054592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 06:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254524160001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:25:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 06:25:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115981726357913600,"km_value":115981726357913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8882787288787054592,"description":"Unknown IO ID 45"} 
[2026-08-08 06:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254524160001,"power":11874,"unknown_115":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":-8882787288787054592}} 
[2026-08-08 06:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":152809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:25:10] local.INFO: GPS data processed {"connection_id":152809,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:25:10] local.INFO: Acknowledgment sent {"connection_id":152809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:25:32] local.INFO: TCP Data received {"connection_id":150108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:32] local.INFO: Processing buffer {"connection_id":150108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:32] local.INFO: IMEI packet received {"connection_id":150108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":150108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:25:33] local.INFO: TCP Data received {"connection_id":150108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:33] local.INFO: Processing buffer {"connection_id":150108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:33] local.INFO: IMEI packet received {"connection_id":150108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":150108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:25:36] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:25:36] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:25:36] local.INFO: IMEI packet received {"connection_id":151336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":151336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:25:37] local.INFO: TCP Data received {"connection_id":150108,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:38] local.INFO: Processing buffer {"connection_id":150108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:25:38] local.INFO: IMEI packet received {"connection_id":150108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":150108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:25:38] local.INFO: TCP Data received {"connection_id":150108,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeddaed0012d849980061cc098001101522e..."} 
[2026-08-08 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeddaed0012d849980061cc098001101522e..."} 
[2026-08-08 06:25:38] local.INFO: Processing buffer {"connection_id":150108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeddaed0012d849980061cc098001101522e..."} 
[2026-08-08 06:25:38] local.INFO: Packet analysis {"connection_id":150108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:25:38] local.INFO: Extracted packet for processing {"connection_id":150108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":763664768,"raw_latitude":102547608,"longitude_deg":76.3664768,"latitude_deg":10.2547608,"altitude":17,"angle":338,"satellites":46,"speed":60,"hex_longitude":"2d849980","hex_latitude":"061cc098","is_valid_coordinates":true} 
[2026-08-08 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254525952001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115982164444577792,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8887783469621434368,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786150498000,"timestamp_ms":1786150498000,"timestamp_seconds":1786150498,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeddaed0"} 
[2026-08-08 06:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 06:25:38] 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-08-08 06:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:25:38] 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-08-08 06:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254525952001,"66":11547,"115":206,"79":21504,"24":60,"16":115982164444577792,"45":-8887783469621434368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 06:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254525952001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115982164444577792,"km_value":115982164444577.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8887783469621434368,"description":"Unknown IO ID 45"} 
[2026-08-08 06:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254525952001,"power":11547,"unknown_115":206,"unknown_79":21504,"ignition":60,"odometer":null,"unknown_45":-8887783469621434368}} 
[2026-08-08 06:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":150108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:25:38] local.INFO: GPS data processed {"connection_id":150108,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:25:38] local.INFO: Acknowledgment sent {"connection_id":150108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:25:41] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:25:41] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:25:41] local.INFO: IMEI packet received {"connection_id":151336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":151336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:25:43] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:25:43] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fded94db8012d34c54006aa4760001001422c..."} 
[2026-08-08 06:25:43] local.INFO: Packet analysis {"connection_id":151336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:25:43] local.INFO: Extracted packet for processing {"connection_id":151336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fded9"} 
[2026-08-08 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254376960001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150211000,"timestamp_ms":1786150211000,"timestamp_seconds":1786150211,"priority":1,"record_length":96,"hex_timestamp":"0000019fded94db8"} 
[2026-08-08 06:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-08 06:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254376960001,"66":25995,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254376960001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:25:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254376960001,"power":25995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":151336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:25:43] local.INFO: GPS data processed {"connection_id":151336,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:25:43] local.INFO: Acknowledgment sent {"connection_id":151336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:26:09] local.INFO: TCP Data received {"connection_id":150108,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeddca28012d848d80061ce2f8001001572e..."} 
[2026-08-08 06:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeddca28012d848d80061ce2f8001001572e..."} 
[2026-08-08 06:26:09] local.INFO: Processing buffer {"connection_id":150108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeddca28012d848d80061ce2f8001001572e..."} 
[2026-08-08 06:26:09] local.INFO: Packet analysis {"connection_id":150108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:26:09] local.INFO: Extracted packet for processing {"connection_id":150108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763661696,"raw_latitude":102556408,"longitude_deg":76.3661696,"latitude_deg":10.2556408,"altitude":16,"angle":343,"satellites":46,"speed":51,"hex_longitude":"2d848d80","hex_latitude":"061ce2f8","is_valid_coordinates":true} 
[2026-08-08 06:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254527488001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115982615416143872,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8891935225525790720,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786150505000,"timestamp_ms":1786150505000,"timestamp_seconds":1786150505,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeddca28"} 
[2026-08-08 06:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 06:26:09] 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-08-08 06:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:26:09] 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-08-08 06:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254527488001,"66":11917,"115":206,"79":21504,"24":51,"16":115982615416143872,"45":-8891935225525790720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 06:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254527488001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:26:09] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 06:26:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115982615416143872,"km_value":115982615416143.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8891935225525790720,"description":"Unknown IO ID 45"} 
[2026-08-08 06:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254527488001,"power":11917,"unknown_115":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-8891935225525790720}} 
[2026-08-08 06:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":150108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:26:09] local.INFO: GPS data processed {"connection_id":150108,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:26:09] local.INFO: Acknowledgment sent {"connection_id":150108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:26:14] local.INFO: TCP Data received {"connection_id":151336,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:26:14] local.INFO: Processing buffer {"connection_id":151336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:26:14] local.INFO: Packet analysis {"connection_id":151336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:26:14] local.INFO: Extracted packet for processing {"connection_id":151336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:26: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-08-08 06:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:26:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":151336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:26:14] local.INFO: GPS data processed {"connection_id":151336,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:26:14] local.INFO: Acknowledgment sent {"connection_id":151336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:26:36] local.INFO: TCP Data received {"connection_id":150365,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:26:36] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:26:36] local.INFO: IMEI packet received {"connection_id":150365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:26:37] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:37] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:37] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:26:37] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:37] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:37] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:26:41] local.INFO: TCP Data received {"connection_id":150365,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:26:41] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:26:41] local.INFO: IMEI packet received {"connection_id":150365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":150365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:26:43] local.INFO: TCP Data received {"connection_id":150365,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:26:43] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:26:43] local.INFO: Packet analysis {"connection_id":150365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:26:43] local.INFO: Extracted packet for processing {"connection_id":150365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:26:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":150365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:26:43] local.INFO: GPS data processed {"connection_id":150365,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:26:43] local.INFO: Acknowledgment sent {"connection_id":150365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:26:44] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:44] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:26:44] local.INFO: IMEI packet received {"connection_id":152811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":152811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:26:49] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedebc58012d838cc0061da1a0000701272d..."} 
[2026-08-08 06:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedebc58012d838cc0061da1a0000701272d..."} 
[2026-08-08 06:26:49] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedebc58012d838cc0061da1a0000701272d..."} 
[2026-08-08 06:26:49] local.INFO: Packet analysis {"connection_id":152811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdede"} 
[2026-08-08 06:26:49] local.INFO: Extracted packet for processing {"connection_id":152811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdede"} 
[2026-08-08 06:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763595968,"raw_latitude":102605216,"longitude_deg":76.3595968,"latitude_deg":10.2605216,"altitude":7,"angle":295,"satellites":45,"speed":53,"hex_longitude":"2d838cc0","hex_latitude":"061da1a0","is_valid_coordinates":true} 
[2026-08-08 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254543360001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115986725699846144,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958081845039093760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786150567000,"timestamp_ms":1786150567000,"timestamp_seconds":1786150567,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedebc58"} 
[2026-08-08 06:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3739098160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184137130189,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":222,"raw_value":60799889976442886,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2605332435994619392,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":980615374,"corrected_to":0} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3221626177,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":156,"raw_value":1068479011593650176,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":96,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":5716193930122821634,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":109,"raw_value":-4609965127440004095,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3314709798884215296,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":114,"raw_value":57766635834855252,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:49] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,117,79,24,241,157,16,159,133,45,192,129,8,43,10,66,106,64,113,41,78,128,1,240,174,227,15,222,29,4,205,56,28,84,32,46,239,115,2,156,96,206,109,67,114,55],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":980615374,"validated":0}]} 
[2026-08-08 06:26:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504728806984384512,"timestamp_seconds":504728806984384.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:26:49] 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-08-08 06:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254543360001,"66":11765,"117":206,"79":21504,"24":53,"16":115986725699846144,"45":-8958081845039093760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 06:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254543360001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:26:49] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 06:26:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115986725699846144,"km_value":115986725699846.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958081845039093760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254543360001,"power":11765,"unknown_117":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":-8958081845039093760}} 
[2026-08-08 06:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":152811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:26:50] local.INFO: GPS data processed {"connection_id":152811,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:26:50] local.INFO: Acknowledgment sent {"connection_id":152811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:26:50] local.INFO: TCP Data received {"connection_id":152811,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeded7b0012d836b40061db188000901282d..."} 
[2026-08-08 06:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeded7b0012d836b40061db188000901282d..."} 
[2026-08-08 06:26:50] local.INFO: Processing buffer {"connection_id":152811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeded7b0012d836b40061db188000901282d..."} 
[2026-08-08 06:26:50] local.INFO: Packet analysis {"connection_id":152811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdede"} 
[2026-08-08 06:26:50] local.INFO: Extracted packet for processing {"connection_id":152811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdede"} 
[2026-08-08 06:26:50] local.INFO: GPS Element Parsed {"raw_longitude":763587392,"raw_latitude":102609288,"longitude_deg":76.3587392,"latitude_deg":10.2609288,"altitude":9,"angle":296,"satellites":45,"speed":52,"hex_longitude":"2d836b40","hex_latitude":"061db188","is_valid_coordinates":true} 
[2026-08-08 06:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254545152001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115987176671412224,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967581625502031872,"note":"Value kept but may cause issues"} 
[2026-08-08 06:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786150574000,"timestamp_ms":1786150574000,"timestamp_seconds":1786150574,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeded7b0"} 
[2026-08-08 06:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 06:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:26:50] 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-08-08 06:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254545152001,"66":12004,"117":206,"79":21504,"24":52,"16":115987176671412224,"45":-8967581625502031872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 06:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254545152001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:26:50] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 06:26:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115987176671412224,"km_value":115987176671412.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967581625502031872,"description":"Unknown IO ID 45"} 
[2026-08-08 06:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254545152001,"power":12004,"unknown_117":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":-8967581625502031872}} 
[2026-08-08 06:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":152811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:26:50] local.INFO: GPS data processed {"connection_id":152811,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:26:50] local.INFO: Acknowledgment sent {"connection_id":152811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:27:14] local.INFO: TCP Data received {"connection_id":150365,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:27:14] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:27:14] local.INFO: Packet analysis {"connection_id":150365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:27:14] local.INFO: Extracted packet for processing {"connection_id":150365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:27: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-08-08 06:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:27:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":150365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:27:14] local.INFO: GPS data processed {"connection_id":150365,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:27:14] local.INFO: Acknowledgment sent {"connection_id":150365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:27:33] local.INFO: TCP Data received {"connection_id":150366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:27:33] local.INFO: Processing buffer {"connection_id":150366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:27:33] local.INFO: IMEI packet received {"connection_id":150366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":150366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:27:36] local.INFO: TCP Data received {"connection_id":150109,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:27:36] local.INFO: Processing buffer {"connection_id":150109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:27:36] local.INFO: IMEI packet received {"connection_id":150109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:27:38] local.INFO: TCP Data received {"connection_id":150366,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:27:38] local.INFO: Processing buffer {"connection_id":150366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:27:38] local.INFO: IMEI packet received {"connection_id":150366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":150366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:27:39] local.INFO: TCP Data received {"connection_id":150366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedef308012d834a00061dc198000901282d..."} 
[2026-08-08 06:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedef308012d834a00061dc198000901282d..."} 
[2026-08-08 06:27:39] local.INFO: Processing buffer {"connection_id":150366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedef308012d834a00061dc198000901282d..."} 
[2026-08-08 06:27:39] local.INFO: Packet analysis {"connection_id":150366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdede"} 
[2026-08-08 06:27:39] local.INFO: Extracted packet for processing {"connection_id":150366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdede"} 
[2026-08-08 06:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763578880,"raw_latitude":102613400,"longitude_deg":76.357888,"latitude_deg":10.26134,"altitude":9,"angle":296,"satellites":45,"speed":53,"hex_longitude":"2d834a00","hex_latitude":"061dc198","is_valid_coordinates":true} 
[2026-08-08 06:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254546944001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115987631937945600,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8977011037220796416,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786150581000,"timestamp_ms":1786150581000,"timestamp_seconds":1786150581,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedef308"} 
[2026-08-08 06:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:27:39] 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-08-08 06:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254546944001,"66":11634,"117":206,"79":21504,"24":53,"16":115987631937945600,"45":-8977011037220796416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 06:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254546944001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:27:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 06:27:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115987631937945600,"km_value":115987631937945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8977011037220796416,"description":"Unknown IO ID 45"} 
[2026-08-08 06:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254546944001,"power":11634,"unknown_117":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":-8977011037220796416}} 
[2026-08-08 06:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":150366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:27:39] local.INFO: GPS data processed {"connection_id":150366,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:27:39] local.INFO: Acknowledgment sent {"connection_id":150366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:27:41] local.INFO: TCP Data received {"connection_id":150109,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:27:41] local.INFO: Processing buffer {"connection_id":150109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:27:41] local.INFO: IMEI packet received {"connection_id":150109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":150109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:27:43] local.INFO: TCP Data received {"connection_id":150109,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:27:43] local.INFO: Processing buffer {"connection_id":150109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:27:43] local.INFO: Packet analysis {"connection_id":150109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:27:43] local.INFO: Extracted packet for processing {"connection_id":150109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:27:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":150109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:27:43] local.INFO: GPS data processed {"connection_id":150109,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:27:43] local.INFO: Acknowledgment sent {"connection_id":150109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:28:10] local.INFO: TCP Data received {"connection_id":150366,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedf0e60012d832940061dd1b0000901292e..."} 
[2026-08-08 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedf0e60012d832940061dd1b0000901292e..."} 
[2026-08-08 06:28:10] local.INFO: Processing buffer {"connection_id":150366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedf0e60012d832940061dd1b0000901292e..."} 
[2026-08-08 06:28:10] local.INFO: Packet analysis {"connection_id":150366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedf"} 
[2026-08-08 06:28:10] local.INFO: Extracted packet for processing {"connection_id":150366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedf"} 
[2026-08-08 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763570496,"raw_latitude":102617520,"longitude_deg":76.3570496,"latitude_deg":10.261752,"altitude":9,"angle":297,"satellites":46,"speed":52,"hex_longitude":"2d832940","hex_latitude":"061dd1b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254548736001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115988078614544384,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8986370080195373056,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786150588000,"timestamp_ms":1786150588000,"timestamp_seconds":1786150588,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedf0e60"} 
[2026-08-08 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-08-08 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 06:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:28:10] 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-08-08 06:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254548736001,"66":12232,"117":206,"79":21504,"24":52,"16":115988078614544384,"45":-8986370080195373056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 06:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254548736001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:28:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 06:28:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115988078614544384,"km_value":115988078614544.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8986370080195373056,"description":"Unknown IO ID 45"} 
[2026-08-08 06:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254548736001,"power":12232,"unknown_117":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":-8986370080195373056}} 
[2026-08-08 06:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":150366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:28:10] local.INFO: GPS data processed {"connection_id":150366,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:28:10] local.INFO: Acknowledgment sent {"connection_id":150366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:28:14] local.INFO: TCP Data received {"connection_id":150109,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:14] local.INFO: Processing buffer {"connection_id":150109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:14] local.INFO: Packet analysis {"connection_id":150109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:28:14] local.INFO: Extracted packet for processing {"connection_id":150109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:28: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-08-08 06:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:28:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:28:14] local.INFO: GPS data processed {"connection_id":150109,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:28:14] local.INFO: Acknowledgment sent {"connection_id":150109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:28:32] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:28:32] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:28:32] local.INFO: IMEI packet received {"connection_id":152812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":152812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:28:37] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:28:37] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:28:37] local.INFO: IMEI packet received {"connection_id":152812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":152812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:28:40] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedf29b8012d8308c0061de1b8000801282d..."} 
[2026-08-08 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedf29b8012d8308c0061de1b8000801282d..."} 
[2026-08-08 06:28:40] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedf29b8012d8308c0061de1b8000801282d..."} 
[2026-08-08 06:28:40] local.INFO: Packet analysis {"connection_id":152812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedf"} 
[2026-08-08 06:28:40] local.INFO: Extracted packet for processing {"connection_id":152812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedf"} 
[2026-08-08 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763562176,"raw_latitude":102621624,"longitude_deg":76.3562176,"latitude_deg":10.2621624,"altitude":8,"angle":296,"satellites":45,"speed":51,"hex_longitude":"2d8308c0","hex_latitude":"061de1b8","is_valid_coordinates":true} 
[2026-08-08 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254550528001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115988520996175872,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8995588385681592320,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786150595000,"timestamp_ms":1786150595000,"timestamp_seconds":1786150595,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedf29b8"} 
[2026-08-08 06:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 06:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:28:40] 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-08-08 06:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254550528001,"66":12189,"117":206,"79":21504,"24":51,"16":115988520996175872,"45":-8995588385681592320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 06:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254550528001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:28:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 06:28:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115988520996175872,"km_value":115988520996175.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8995588385681592320,"description":"Unknown IO ID 45"} 
[2026-08-08 06:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254550528001,"power":12189,"unknown_117":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-8995588385681592320}} 
[2026-08-08 06:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":152812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:28:40] local.INFO: GPS data processed {"connection_id":152812,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:28:40] local.INFO: Acknowledgment sent {"connection_id":152812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:28:41] local.INFO: TCP Data received {"connection_id":151337,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:28:41] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:28:41] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:28:46] local.INFO: TCP Data received {"connection_id":151337,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:28:46] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:28:46] local.INFO: IMEI packet received {"connection_id":151337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":151337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:28:48] local.INFO: TCP Data received {"connection_id":151337,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:48] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:48] local.INFO: Packet analysis {"connection_id":151337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:28:48] local.INFO: Extracted packet for processing {"connection_id":151337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":151337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:28:48] local.INFO: GPS data processed {"connection_id":151337,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:28:48] local.INFO: Acknowledgment sent {"connection_id":151337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:28:52] local.INFO: TCP Data received {"connection_id":151337,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:52] local.INFO: Processing buffer {"connection_id":151337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:28:52] local.INFO: Packet analysis {"connection_id":151337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:28:52] local.INFO: Extracted packet for processing {"connection_id":151337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:28:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:28:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":151337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:28:52] local.INFO: GPS data processed {"connection_id":151337,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:28:52] local.INFO: Acknowledgment sent {"connection_id":151337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:29:11] local.INFO: TCP Data received {"connection_id":152812,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee119d0012d81ec00061edf080018014b2c..."} 
[2026-08-08 06:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee119d0012d81ec00061edf080018014b2c..."} 
[2026-08-08 06:29:11] local.INFO: Processing buffer {"connection_id":152812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee119d0012d81ec00061edf080018014b2c..."} 
[2026-08-08 06:29:11] local.INFO: Packet analysis {"connection_id":152812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:29:11] local.INFO: Extracted packet for processing {"connection_id":152812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763489280,"raw_latitude":102686472,"longitude_deg":76.348928,"latitude_deg":10.2686472,"altitude":24,"angle":331,"satellites":44,"speed":20,"hex_longitude":"2d81ec00","hex_latitude":"061edf08","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254580736001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115993275524972544,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079256822492858368,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786150722000,"timestamp_ms":1786150722000,"timestamp_seconds":1786150722,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee119d0"} 
[2026-08-08 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-08-08 06:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 06:29:11] 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-08-08 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-08-08 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-08-08 06:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:29:11] 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-08-08 06:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254580736001,"66":11678,"157":206,"79":21504,"24":20,"16":115993275524972544,"45":-9079256822492858368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 06:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254580736001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:29:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 06:29:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115993275524972544,"km_value":115993275524972.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079256822492858368,"description":"Unknown IO ID 45"} 
[2026-08-08 06:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254580736001,"power":11678,"unknown_157":206,"unknown_79":21504,"ignition":20,"odometer":null,"unknown_45":-9079256822492858368}} 
[2026-08-08 06:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":152812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:29:11] local.INFO: GPS data processed {"connection_id":152812,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:29:11] local.INFO: Acknowledgment sent {"connection_id":152812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:29:33] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:33] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:33] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:29:33] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:33] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:33] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:29:36] local.INFO: TCP Data received {"connection_id":150367,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:29:36] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:29:36] local.INFO: IMEI packet received {"connection_id":150367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:29:38] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:38] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:29:38] local.INFO: IMEI packet received {"connection_id":151338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":151338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:29:38] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee15080012d81da00061efee8001a015029..."} 
[2026-08-08 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee15080012d81da00061efee8001a015029..."} 
[2026-08-08 06:29:38] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee15080012d81da00061efee8001a015029..."} 
[2026-08-08 06:29:38] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:29:38] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763484672,"raw_latitude":102694632,"longitude_deg":76.3484672,"latitude_deg":10.2694632,"altitude":26,"angle":336,"satellites":41,"speed":24,"hex_longitude":"2d81da00","hex_latitude":"061efee8","is_valid_coordinates":true} 
[2026-08-08 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254584832001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115993730791505920,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084886322025396224,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786150736000,"timestamp_ms":1786150736000,"timestamp_seconds":1786150736,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee15080"} 
[2026-08-08 06:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-08 06:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:29:38] 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-08-08 06:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254584832001,"66":11254,"157":206,"79":21504,"24":24,"16":115993730791505920,"45":-9084886322025396224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 06:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254584832001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:29:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 06:29:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115993730791505920,"km_value":115993730791505.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084886322025396224,"description":"Unknown IO ID 45"} 
[2026-08-08 06:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254584832001,"power":11254,"unknown_157":206,"unknown_79":21504,"ignition":24,"odometer":null,"unknown_45":-9084886322025396224}} 
[2026-08-08 06:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:29:38] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:29:38] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:29:41] local.INFO: TCP Data received {"connection_id":150367,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:29:41] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:29:41] local.INFO: IMEI packet received {"connection_id":150367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":150367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:29:43] local.INFO: TCP Data received {"connection_id":150367,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:29:43] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:29:43] local.INFO: Packet analysis {"connection_id":150367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:29:43] local.INFO: Extracted packet for processing {"connection_id":150367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:29:43] local.INFO: GPS data processed {"connection_id":150367,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:29:43] local.INFO: Acknowledgment sent {"connection_id":150367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:30:09] local.INFO: TCP Data received {"connection_id":151338,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee18348012d81cb80061f20c8001a01542b..."} 
[2026-08-08 06:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee18348012d81cb80061f20c8001a01542b..."} 
[2026-08-08 06:30:09] local.INFO: Processing buffer {"connection_id":151338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee18348012d81cb80061f20c8001a01542b..."} 
[2026-08-08 06:30:09] local.INFO: Packet analysis {"connection_id":151338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:30:09] local.INFO: Extracted packet for processing {"connection_id":151338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763480960,"raw_latitude":102703304,"longitude_deg":76.348096,"latitude_deg":10.2703304,"altitude":26,"angle":340,"satellites":43,"speed":32,"hex_longitude":"2d81cb80","hex_latitude":"061f20c8","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254588416001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115994186058039296,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089952871604099072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786150749000,"timestamp_ms":1786150749000,"timestamp_seconds":1786150749,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee18348"} 
[2026-08-08 06:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 06:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:30:09] 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-08-08 06:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254588416001,"66":11743,"159":206,"79":21504,"24":32,"16":115994186058039296,"45":-9089952871604099072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-08-08 06:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254588416001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:30:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-08 06:30:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115994186058039296,"km_value":115994186058039.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089952871604099072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254588416001,"power":11743,"unknown_159":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":-9089952871604099072}} 
[2026-08-08 06:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":151338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:30:09] local.INFO: GPS data processed {"connection_id":151338,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:30:09] local.INFO: Acknowledgment sent {"connection_id":151338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:30:15] local.INFO: TCP Data received {"connection_id":150367,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:30:15] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:30:15] local.INFO: Packet analysis {"connection_id":150367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:30:15] local.INFO: Extracted packet for processing {"connection_id":150367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:30:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":150367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:30:15] local.INFO: GPS data processed {"connection_id":150367,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:30:15] local.INFO: Acknowledgment sent {"connection_id":150367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:30:33] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:30:33] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:30:33] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:30:36] local.INFO: TCP Data received {"connection_id":150368,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:30:36] local.INFO: Processing buffer {"connection_id":150368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:30:36] local.INFO: IMEI packet received {"connection_id":150368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":150368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:30:37] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:30:37] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:30:37] local.INFO: IMEI packet received {"connection_id":151339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":151339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:30:37] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee1ae40012d81bd80061f42e8001801532c..."} 
[2026-08-08 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee1ae40012d81bd80061f42e8001801532c..."} 
[2026-08-08 06:30:37] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee1ae40012d81bd80061f42e8001801532c..."} 
[2026-08-08 06:30:37] local.INFO: Packet analysis {"connection_id":151339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:30:37] local.INFO: Extracted packet for processing {"connection_id":151339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee1"} 
[2026-08-08 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763477376,"raw_latitude":102712040,"longitude_deg":76.3477376,"latitude_deg":10.271204,"altitude":24,"angle":339,"satellites":44,"speed":35,"hex_longitude":"2d81bd80","hex_latitude":"061f42e8","is_valid_coordinates":true} 
[2026-08-08 06:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254591744001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115994645619539968,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094034258764183552,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786150760000,"timestamp_ms":1786150760000,"timestamp_seconds":1786150760,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee1ae40"} 
[2026-08-08 06:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 06:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:30:37] 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-08-08 06:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254591744001,"66":12004,"159":206,"79":21504,"24":35,"16":115994645619539968,"45":-9094034258764183552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-08-08 06:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254591744001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:30:37] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-08 06:30:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115994645619539968,"km_value":115994645619539.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094034258764183552,"description":"Unknown IO ID 45"} 
[2026-08-08 06:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254591744001,"power":12004,"unknown_159":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":-9094034258764183552}} 
[2026-08-08 06:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":151339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:30:37] local.INFO: GPS data processed {"connection_id":151339,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:30:37] local.INFO: Acknowledgment sent {"connection_id":151339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:30:41] local.INFO: TCP Data received {"connection_id":150368,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:30:41] local.INFO: Processing buffer {"connection_id":150368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:30:41] local.INFO: IMEI packet received {"connection_id":150368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":150368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:30:43] local.INFO: TCP Data received {"connection_id":150368,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:30:43] local.INFO: Processing buffer {"connection_id":150368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdedde580012d34c54006aa4760001001422a..."} 
[2026-08-08 06:30:43] local.INFO: Packet analysis {"connection_id":150368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:30:43] local.INFO: Extracted packet for processing {"connection_id":150368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdedd"} 
[2026-08-08 06:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":16,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254454016001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150512000,"timestamp_ms":1786150512000,"timestamp_seconds":1786150512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdedde580"} 
[2026-08-08 06:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 06:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254454016001,"66":25973,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254454016001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254454016001,"power":25973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":150368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:30:43] local.INFO: GPS data processed {"connection_id":150368,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:30:43] local.INFO: Acknowledgment sent {"connection_id":150368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:31:10] local.INFO: TCP Data received {"connection_id":151339,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee309e8012d812b400620c5c80013016129..."} 
[2026-08-08 06:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee309e8012d812b400620c5c80013016129..."} 
[2026-08-08 06:31:10] local.INFO: Processing buffer {"connection_id":151339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee309e8012d812b400620c5c80013016129..."} 
[2026-08-08 06:31:10] local.INFO: Packet analysis {"connection_id":151339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee3"} 
[2026-08-08 06:31:10] local.INFO: Extracted packet for processing {"connection_id":151339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee3"} 
[2026-08-08 06:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763439936,"raw_latitude":102811080,"longitude_deg":76.3439936,"latitude_deg":10.281108,"altitude":19,"angle":353,"satellites":41,"speed":56,"hex_longitude":"2d812b40","hex_latitude":"0620c5c8","is_valid_coordinates":true} 
[2026-08-08 06:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254615552001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":115999928429314048,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138718411291881472,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786150849000,"timestamp_ms":1786150849000,"timestamp_seconds":1786150849,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee309e8"} 
[2026-08-08 06:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 06:31:10] 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-08-08 06:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:31:10] 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-08-08 06:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254615552001,"66":11798,"49":206,"79":21504,"24":56,"16":115999928429314048,"45":-9138718411291881472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-08 06:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254615552001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:31:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 06:31:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":115999928429314048,"km_value":115999928429314.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138718411291881472,"description":"Unknown IO ID 45"} 
[2026-08-08 06:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254615552001,"power":11798,"unknown_49":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":-9138718411291881472}} 
[2026-08-08 06:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":151339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:31:10] local.INFO: GPS data processed {"connection_id":151339,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:31:10] local.INFO: Acknowledgment sent {"connection_id":151339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:31:14] local.INFO: TCP Data received {"connection_id":150368,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:14] local.INFO: Processing buffer {"connection_id":150368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:14] local.INFO: Packet analysis {"connection_id":150368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:31:14] local.INFO: Extracted packet for processing {"connection_id":150368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:31:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:31:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":150368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:31:14] local.INFO: GPS data processed {"connection_id":150368,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:31:14] local.INFO: Acknowledgment sent {"connection_id":150368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:31:38] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:38] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:38] local.INFO: IMEI packet received {"connection_id":152813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":152813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:31:39] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:39] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:39] local.INFO: IMEI packet received {"connection_id":152813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":152813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:31:41] local.INFO: TCP Data received {"connection_id":150110,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:31:41] local.INFO: Processing buffer {"connection_id":150110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:31:41] local.INFO: IMEI packet received {"connection_id":150110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":150110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:31:42] local.INFO: TCP Data received {"connection_id":150111,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 06:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 06:31:42] local.INFO: Processing buffer {"connection_id":150111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 06:31:42] local.INFO: IMEI packet received {"connection_id":150111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 06:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":150111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:31:43] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:43] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:31:43] local.INFO: IMEI packet received {"connection_id":152813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":152813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:31:45] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee32158012d8123400620e6b8001501552b..."} 
[2026-08-08 06:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee32158012d8123400620e6b8001501552b..."} 
[2026-08-08 06:31:45] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee32158012d8123400620e6b8001501552b..."} 
[2026-08-08 06:31:45] local.INFO: Packet analysis {"connection_id":152813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee3"} 
[2026-08-08 06:31:45] local.INFO: Extracted packet for processing {"connection_id":152813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee3"} 
[2026-08-08 06:31:45] local.INFO: GPS Element Parsed {"raw_longitude":763437888,"raw_latitude":102819512,"longitude_deg":76.3437888,"latitude_deg":10.2819512,"altitude":21,"angle":341,"satellites":43,"speed":58,"hex_longitude":"2d812340","hex_latitude":"0620e6b8","is_valid_coordinates":true} 
[2026-08-08 06:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254617344001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116000349336109056,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139140623754475520,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786150855000,"timestamp_ms":1786150855000,"timestamp_seconds":1786150855,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee32158"} 
[2026-08-08 06:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3739381160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2167603206,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2954416331136436736,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154955981,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3801909249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847657200,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3811639502,"corrected_to":0} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221626910,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2181090784,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":156,"raw_value":1946680938930896896,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":206,"raw_value":5716193930122493954,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-4609962116399491583,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57949343743627092,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3679442190519238662,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-4244642558581265664,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:45] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,49,79,24,241,157,16,29,159,238,45,192,160,19,42,10,66,28,211,128,123,20,43,183,64,1,240,207,227,222,32,4,113,205,48,137,59,239,46,2,156,97,206,101,22,226,31,52],"length":632,"final_offset":762,"validated_count":48,"validation_warnings":[{"io_id":205,"original":3811639502,"validated":0}]} 
[2026-08-08 06:31:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369482590422564864,"timestamp_seconds":1369482590422564.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:31:45] 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-08-08 06:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254617344001,"66":11874,"49":206,"79":21504,"24":58,"16":116000349336109056,"45":-9139140623754475520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-08 06:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254617344001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:31:45] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 06:31:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116000349336109056,"km_value":116000349336109.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139140623754475520,"description":"Unknown IO ID 45"} 
[2026-08-08 06:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254617344001,"power":11874,"unknown_49":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":-9139140623754475520}} 
[2026-08-08 06:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":152813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:31:45] local.INFO: GPS data processed {"connection_id":152813,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:31:45] local.INFO: Acknowledgment sent {"connection_id":152813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:31:46] local.INFO: TCP Data received {"connection_id":150110,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:31:46] local.INFO: Processing buffer {"connection_id":150110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:31:46] local.INFO: IMEI packet received {"connection_id":150110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":150110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:31:47] local.INFO: TCP Data received {"connection_id":152813,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee33cb0012d81144006210b780017014f2b..."} 
[2026-08-08 06:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee33cb0012d81144006210b780017014f2b..."} 
[2026-08-08 06:31:47] local.INFO: Processing buffer {"connection_id":152813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee33cb0012d81144006210b780017014f2b..."} 
[2026-08-08 06:31:47] local.INFO: Packet analysis {"connection_id":152813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee3"} 
[2026-08-08 06:31:47] local.INFO: Extracted packet for processing {"connection_id":152813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee3"} 
[2026-08-08 06:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763434048,"raw_latitude":102828920,"longitude_deg":76.3434048,"latitude_deg":10.282892,"altitude":23,"angle":335,"satellites":43,"speed":59,"hex_longitude":"2d811440","hex_latitude":"06210b78","is_valid_coordinates":true} 
[2026-08-08 06:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254618880001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116000843257348096,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141392423566002176,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786150862000,"timestamp_ms":1786150862000,"timestamp_seconds":1786150862,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee33cb0"} 
[2026-08-08 06:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 06:31:47] 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-08-08 06:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:31:47] 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-08-08 06:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254618880001,"66":11895,"49":206,"79":21504,"24":59,"16":116000843257348096,"45":-9141392423566002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-08-08 06:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254618880001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:31:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 06:31:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116000843257348096,"km_value":116000843257348.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141392423566002176,"description":"Unknown IO ID 45"} 
[2026-08-08 06:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254618880001,"power":11895,"unknown_49":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":-9141392423566002176}} 
[2026-08-08 06:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":152813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:31:47] local.INFO: GPS data processed {"connection_id":152813,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:31:47] local.INFO: Acknowledgment sent {"connection_id":152813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:31:48] local.INFO: TCP Data received {"connection_id":150110,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:48] local.INFO: Processing buffer {"connection_id":150110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:48] local.INFO: Packet analysis {"connection_id":150110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:31:48] local.INFO: Extracted packet for processing {"connection_id":150110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:31:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":150110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:31:48] local.INFO: GPS data processed {"connection_id":150110,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:31:48] local.INFO: Acknowledgment sent {"connection_id":150110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:31:53] local.INFO: TCP Data received {"connection_id":150110,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:53] local.INFO: Processing buffer {"connection_id":150110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:31:53] local.INFO: Packet analysis {"connection_id":150110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:31:53] local.INFO: Extracted packet for processing {"connection_id":150110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:31:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:31:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":150110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:31:53] local.INFO: GPS data processed {"connection_id":150110,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:31:53] local.INFO: Acknowledgment sent {"connection_id":150110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:32:36] local.INFO: TCP Data received {"connection_id":152814,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:32:36] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:32:36] local.INFO: IMEI packet received {"connection_id":152814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":152814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:32:41] local.INFO: TCP Data received {"connection_id":152814,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:32:41] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:32:41] local.INFO: IMEI packet received {"connection_id":152814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":152814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:32:42] local.INFO: TCP Data received {"connection_id":152815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:32:42] local.INFO: Processing buffer {"connection_id":152815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:32:42] local.INFO: IMEI packet received {"connection_id":152815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":152815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:32:43] local.INFO: TCP Data received {"connection_id":152814,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:32:43] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:32:43] local.INFO: Packet analysis {"connection_id":152814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:32:43] local.INFO: Extracted packet for processing {"connection_id":152814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:32:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":152814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:32:43] local.INFO: GPS data processed {"connection_id":152814,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:32:43] local.INFO: Acknowledgment sent {"connection_id":152814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:32:43] local.INFO: TCP Data received {"connection_id":152815,"ip":"42.106.6.37","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152815,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:32:43] local.INFO: Processing buffer {"connection_id":152815,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:32:43] local.INFO: IMEI packet received {"connection_id":152815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":152815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:33:14] local.INFO: TCP Data received {"connection_id":152814,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:33:14] local.INFO: Processing buffer {"connection_id":152814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:33:14] local.INFO: Packet analysis {"connection_id":152814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:33:14] local.INFO: Extracted packet for processing {"connection_id":152814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:33:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":152814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:33:14] local.INFO: GPS data processed {"connection_id":152814,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:33:14] local.INFO: Acknowledgment sent {"connection_id":152814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:33:37] local.INFO: TCP Data received {"connection_id":150112,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:33:37] local.INFO: Processing buffer {"connection_id":150112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:33:37] local.INFO: IMEI packet received {"connection_id":150112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":150112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:33:41] local.INFO: TCP Data received {"connection_id":150112,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:33:41] local.INFO: Processing buffer {"connection_id":150112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:33:41] local.INFO: IMEI packet received {"connection_id":150112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":150112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:33:43] local.INFO: TCP Data received {"connection_id":150112,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:33:43] local.INFO: Processing buffer {"connection_id":150112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:33:43] local.INFO: Packet analysis {"connection_id":150112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:33:43] local.INFO: Extracted packet for processing {"connection_id":150112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:33:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":150112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:33:43] local.INFO: GPS data processed {"connection_id":150112,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:33:43] local.INFO: Acknowledgment sent {"connection_id":150112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:34:15] local.INFO: TCP Data received {"connection_id":150112,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:34:15] local.INFO: Processing buffer {"connection_id":150112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:34:15] local.INFO: Packet analysis {"connection_id":150112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:34:15] local.INFO: Extracted packet for processing {"connection_id":150112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:34: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-08-08 06:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:34:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":150112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:34:15] local.INFO: GPS data processed {"connection_id":150112,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:34:15] local.INFO: Acknowledgment sent {"connection_id":150112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:34:36] local.INFO: TCP Data received {"connection_id":150113,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:34:36] local.INFO: Processing buffer {"connection_id":150113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:34:36] local.INFO: IMEI packet received {"connection_id":150113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":150113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:34:41] local.INFO: TCP Data received {"connection_id":150113,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:34:41] local.INFO: Processing buffer {"connection_id":150113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:34:41] local.INFO: IMEI packet received {"connection_id":150113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":150113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:34:43] local.INFO: TCP Data received {"connection_id":150113,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:34:43] local.INFO: Processing buffer {"connection_id":150113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:34:43] local.INFO: Packet analysis {"connection_id":150113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:34:43] local.INFO: Extracted packet for processing {"connection_id":150113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:34:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":150113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:34:43] local.INFO: GPS data processed {"connection_id":150113,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:34:43] local.INFO: Acknowledgment sent {"connection_id":150113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:35:14] local.INFO: TCP Data received {"connection_id":150113,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:35:14] local.INFO: Processing buffer {"connection_id":150113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:35:14] local.INFO: Packet analysis {"connection_id":150113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:35:14] local.INFO: Extracted packet for processing {"connection_id":150113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:35:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":150113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:35:14] local.INFO: GPS data processed {"connection_id":150113,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:35:14] local.INFO: Acknowledgment sent {"connection_id":150113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:35:36] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:35:36] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:35:36] local.INFO: IMEI packet received {"connection_id":151341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":151341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:35:41] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:35:41] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:35:41] local.INFO: IMEI packet received {"connection_id":151341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":151341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:35:43] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:35:43] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee27d48012d34c54006aa4760000901422b..."} 
[2026-08-08 06:35:43] local.INFO: Packet analysis {"connection_id":151341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:35:43] local.INFO: Extracted packet for processing {"connection_id":151341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee2"} 
[2026-08-08 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254531072001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786150813000,"timestamp_ms":1786150813000,"timestamp_seconds":1786150813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee27d48"} 
[2026-08-08 06:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 06:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254531072001,"66":25875,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254531072001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:35:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254531072001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":151341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:35:43] local.INFO: GPS data processed {"connection_id":151341,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:35:43] local.INFO: Acknowledgment sent {"connection_id":151341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:36:14] local.INFO: TCP Data received {"connection_id":151341,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:36:14] local.INFO: Processing buffer {"connection_id":151341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:36:14] local.INFO: Packet analysis {"connection_id":151341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:36:14] local.INFO: Extracted packet for processing {"connection_id":151341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:36:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":151341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:36:14] local.INFO: GPS data processed {"connection_id":151341,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:36:14] local.INFO: Acknowledgment sent {"connection_id":151341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:36:36] local.INFO: TCP Data received {"connection_id":150371,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:36:36] local.INFO: Processing buffer {"connection_id":150371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:36:36] local.INFO: IMEI packet received {"connection_id":150371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:36:41] local.INFO: TCP Data received {"connection_id":150371,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:36:41] local.INFO: Processing buffer {"connection_id":150371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:36:41] local.INFO: IMEI packet received {"connection_id":150371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":150371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:36:43] local.INFO: TCP Data received {"connection_id":150371,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:36:43] local.INFO: Processing buffer {"connection_id":150371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:36:43] local.INFO: Packet analysis {"connection_id":150371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:36:43] local.INFO: Extracted packet for processing {"connection_id":150371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:36:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":150371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:36:43] local.INFO: GPS data processed {"connection_id":150371,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:36:43] local.INFO: Acknowledgment sent {"connection_id":150371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:37:03] local.INFO: TCP Data received {"connection_id":152816,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 06:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 06:37:03] local.INFO: Processing buffer {"connection_id":152816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 06:37:03] local.INFO: IMEI packet received {"connection_id":152816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 06:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":152816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:37:14] local.INFO: TCP Data received {"connection_id":150371,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:37:14] local.INFO: Processing buffer {"connection_id":150371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:37:14] local.INFO: Packet analysis {"connection_id":150371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:37:14] local.INFO: Extracted packet for processing {"connection_id":150371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:37:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":150371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:37:14] local.INFO: GPS data processed {"connection_id":150371,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:37:14] local.INFO: Acknowledgment sent {"connection_id":150371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:37:36] local.INFO: TCP Data received {"connection_id":150116,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:37:36] local.INFO: Processing buffer {"connection_id":150116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:37:36] local.INFO: IMEI packet received {"connection_id":150116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":150116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:37:41] local.INFO: TCP Data received {"connection_id":150116,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:37:41] local.INFO: Processing buffer {"connection_id":150116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:37:41] local.INFO: IMEI packet received {"connection_id":150116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":150116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:37:43] local.INFO: TCP Data received {"connection_id":150116,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:37:43] local.INFO: Processing buffer {"connection_id":150116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:37:43] local.INFO: Packet analysis {"connection_id":150116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:37:43] local.INFO: Extracted packet for processing {"connection_id":150116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:37:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":150116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:37:43] local.INFO: GPS data processed {"connection_id":150116,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:37:43] local.INFO: Acknowledgment sent {"connection_id":150116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:38:01] local.INFO: TCP Data received {"connection_id":150115,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:01] local.INFO: Processing buffer {"connection_id":150115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:01] local.INFO: IMEI packet received {"connection_id":150115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":150115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:38:03] local.INFO: TCP Data received {"connection_id":150115,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee89bb0012d7e5d000626dd70000c014b2c..."} 
[2026-08-08 06:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee89bb0012d7e5d000626dd70000c014b2c..."} 
[2026-08-08 06:38:03] local.INFO: Processing buffer {"connection_id":150115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee89bb0012d7e5d000626dd70000c014b2c..."} 
[2026-08-08 06:38:03] local.INFO: Packet analysis {"connection_id":150115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee8"} 
[2026-08-08 06:38:03] local.INFO: Extracted packet for processing {"connection_id":150115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee8"} 
[2026-08-08 06:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763256064,"raw_latitude":103210352,"longitude_deg":76.3256064,"latitude_deg":10.3210352,"altitude":12,"angle":331,"satellites":44,"speed":42,"hex_longitude":"2d7e5d00","hex_latitude":"0626dd70","is_valid_coordinates":true} 
[2026-08-08 06:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254708480001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116022562906963968,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110359860125118464,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786151214000,"timestamp_ms":1786151214000,"timestamp_seconds":1786151214,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee89bb0"} 
[2026-08-08 06:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3674937296102097920,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3739729160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3891509249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1858859860103004136,"corrected_to":0} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147886619,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182259774390528,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2736913140154452779,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194816768,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,52,79,24,241,157,16,49,159,77,45,156,10,44,66,46,125,48,15,64,1,240,141,227,222,38,4,113,205,53,216,198,112,239,47,2,6,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1858859860103004136,"validated":0}]} 
[2026-08-08 06:38:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792998761258811392,"timestamp_seconds":792998761258811.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":150115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":150115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":150115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:38:03] 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-08-08 06:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254708480001,"66":11743,"52":206,"79":21504,"24":42,"16":116022562906963968,"45":9110359860125118464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-08 06:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254708480001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:38:03] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 06:38:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116022562906963968,"km_value":116022562906963.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110359860125118464,"description":"Unknown IO ID 45"} 
[2026-08-08 06:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254708480001,"power":11743,"unknown_52":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":9110359860125118464}} 
[2026-08-08 06:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":150115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:38:03] local.INFO: GPS data processed {"connection_id":150115,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:38:03] local.INFO: Acknowledgment sent {"connection_id":150115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:38:14] local.INFO: TCP Data received {"connection_id":150116,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:38:14] local.INFO: Processing buffer {"connection_id":150116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:38:14] local.INFO: Packet analysis {"connection_id":150116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:38:14] local.INFO: Extracted packet for processing {"connection_id":150116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:38:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":150116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:38:14] local.INFO: GPS data processed {"connection_id":150116,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:38:14] local.INFO: Acknowledgment sent {"connection_id":150116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:38:33] local.INFO: TCP Data received {"connection_id":150372,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:33] local.INFO: Processing buffer {"connection_id":150372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:33] local.INFO: IMEI packet received {"connection_id":150372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":150372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:38:34] local.INFO: TCP Data received {"connection_id":150372,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150372,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:38:34] local.INFO: Processing buffer {"connection_id":150372,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:38:34] local.INFO: IMEI packet received {"connection_id":150372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":150372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:38:34] local.INFO: TCP Data received {"connection_id":150372,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:38:34] local.INFO: Processing buffer {"connection_id":150372,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 06:38:34] local.INFO: IMEI packet received {"connection_id":150372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":150372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:38:36] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:38:36] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:38:36] local.INFO: IMEI packet received {"connection_id":151342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":151342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:38:41] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:38:41] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:38:41] local.INFO: IMEI packet received {"connection_id":151342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":151342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:38:43] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:38:43] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:38:43] local.INFO: Packet analysis {"connection_id":151342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:38:43] local.INFO: Extracted packet for processing {"connection_id":151342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:38:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":151342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:38:43] local.INFO: GPS data processed {"connection_id":151342,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:38:43] local.INFO: Acknowledgment sent {"connection_id":151342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:39:14] local.INFO: TCP Data received {"connection_id":151342,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:39:14] local.INFO: Processing buffer {"connection_id":151342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:39:14] local.INFO: Packet analysis {"connection_id":151342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:39:14] local.INFO: Extracted packet for processing {"connection_id":151342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:39:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":151342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:39:14] local.INFO: GPS data processed {"connection_id":151342,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:39:14] local.INFO: Acknowledgment sent {"connection_id":151342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:39:36] local.INFO: TCP Data received {"connection_id":151343,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:39:36] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:39:36] local.INFO: IMEI packet received {"connection_id":151343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":151343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:39:41] local.INFO: TCP Data received {"connection_id":151343,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:39:41] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:39:41] local.INFO: IMEI packet received {"connection_id":151343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":151343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:39:43] local.INFO: TCP Data received {"connection_id":151343,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:39:43] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:39:43] local.INFO: Packet analysis {"connection_id":151343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:39:43] local.INFO: Extracted packet for processing {"connection_id":151343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:39:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":151343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:39:43] local.INFO: GPS data processed {"connection_id":151343,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:39:43] local.INFO: Acknowledgment sent {"connection_id":151343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:40:14] local.INFO: TCP Data received {"connection_id":151343,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:14] local.INFO: Processing buffer {"connection_id":151343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:14] local.INFO: Packet analysis {"connection_id":151343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:40:14] local.INFO: Extracted packet for processing {"connection_id":151343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:40:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":151343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:40:14] local.INFO: GPS data processed {"connection_id":151343,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:40:14] local.INFO: Acknowledgment sent {"connection_id":151343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:40:41] local.INFO: TCP Data received {"connection_id":150373,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:40:41] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:40:41] local.INFO: IMEI packet received {"connection_id":150373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":150373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:40:46] local.INFO: TCP Data received {"connection_id":150373,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:40:46] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:40:46] local.INFO: IMEI packet received {"connection_id":150373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":150373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:40:48] local.INFO: TCP Data received {"connection_id":150373,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:48] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:48] local.INFO: Packet analysis {"connection_id":150373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:40:48] local.INFO: Extracted packet for processing {"connection_id":150373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:40:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":150373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:40:48] local.INFO: GPS data processed {"connection_id":150373,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:40:48] local.INFO: Acknowledgment sent {"connection_id":150373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:40:52] local.INFO: TCP Data received {"connection_id":150373,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:52] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdee71510012d34c54006aa47600009014228..."} 
[2026-08-08 06:40:52] local.INFO: Packet analysis {"connection_id":150373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:40:52] local.INFO: Extracted packet for processing {"connection_id":150373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdee7"} 
[2026-08-08 06:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786151114000,"timestamp_ms":1786151114000,"timestamp_seconds":1786151114,"priority":1,"record_length":96,"hex_timestamp":"0000019fdee71510"} 
[2026-08-08 06:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 06:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254608128001,"66":25843,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:40:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:40:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254608128001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":150373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:40:52] local.INFO: GPS data processed {"connection_id":150373,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:40:52] local.INFO: Acknowledgment sent {"connection_id":150373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:41:36] local.INFO: TCP Data received {"connection_id":150374,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:41:36] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:41:36] local.INFO: IMEI packet received {"connection_id":150374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":150374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:41:41] local.INFO: TCP Data received {"connection_id":150374,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:41:41] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:41:41] local.INFO: IMEI packet received {"connection_id":150374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":150374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:41:43] local.INFO: TCP Data received {"connection_id":150374,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:41:43] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:41:43] local.INFO: Packet analysis {"connection_id":150374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:41:43] local.INFO: Extracted packet for processing {"connection_id":150374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:41:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":150374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:41:43] local.INFO: GPS data processed {"connection_id":150374,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:41:43] local.INFO: Acknowledgment sent {"connection_id":150374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:42:14] local.INFO: TCP Data received {"connection_id":150374,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:42:14] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:42:14] local.INFO: Packet analysis {"connection_id":150374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:42:14] local.INFO: Extracted packet for processing {"connection_id":150374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:42:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":150374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:42:14] local.INFO: GPS data processed {"connection_id":150374,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:42:14] local.INFO: Acknowledgment sent {"connection_id":150374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:42:36] local.INFO: TCP Data received {"connection_id":152821,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:42:36] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:42:36] local.INFO: IMEI packet received {"connection_id":152821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":152821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:42:41] local.INFO: TCP Data received {"connection_id":152821,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:42:41] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:42:41] local.INFO: IMEI packet received {"connection_id":152821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":152821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:42:43] local.INFO: TCP Data received {"connection_id":152821,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:42:43] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:42:43] local.INFO: Packet analysis {"connection_id":152821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:42:43] local.INFO: Extracted packet for processing {"connection_id":152821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:42:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":152821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:42:43] local.INFO: GPS data processed {"connection_id":152821,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:42:43] local.INFO: Acknowledgment sent {"connection_id":152821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:43:15] local.INFO: TCP Data received {"connection_id":152821,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:15] local.INFO: Processing buffer {"connection_id":152821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:15] local.INFO: Packet analysis {"connection_id":152821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:43:15] local.INFO: Extracted packet for processing {"connection_id":152821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:43: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-08-08 06:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":152821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:43:15] local.INFO: GPS data processed {"connection_id":152821,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:43:15] local.INFO: Acknowledgment sent {"connection_id":152821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:43:39] local.INFO: TCP Data received {"connection_id":150117,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:43:39] local.INFO: Processing buffer {"connection_id":150117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:43:39] local.INFO: IMEI packet received {"connection_id":150117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":150117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:43:41] local.INFO: TCP Data received {"connection_id":150375,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:43:41] local.INFO: Processing buffer {"connection_id":150375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:43:41] local.INFO: IMEI packet received {"connection_id":150375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":150375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:43:42] local.INFO: TCP Data received {"connection_id":150117,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeee0e38012d7a5e4006294f08001c012027..."} 
[2026-08-08 06:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeee0e38012d7a5e4006294f08001c012027..."} 
[2026-08-08 06:43:42] local.INFO: Processing buffer {"connection_id":150117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeee0e38012d7a5e4006294f08001c012027..."} 
[2026-08-08 06:43:42] local.INFO: Packet analysis {"connection_id":150117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeee"} 
[2026-08-08 06:43:42] local.INFO: Extracted packet for processing {"connection_id":150117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeee"} 
[2026-08-08 06:43:42] local.INFO: GPS Element Parsed {"raw_longitude":762994240,"raw_latitude":103370504,"longitude_deg":76.299424,"latitude_deg":10.3370504,"altitude":28,"angle":288,"satellites":39,"speed":52,"hex_longitude":"2d7a5e40","hex_latitude":"06294f08","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254800384001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116039227380072448,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827125664852385792,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786151571000,"timestamp_ms":1786151571000,"timestamp_seconds":1786151571,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeee0e38"} 
[2026-08-08 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-08-08 06:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 06:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:43:42] 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-08-08 06:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254800384001,"66":11917,"243":206,"79":21504,"24":52,"16":116039227380072448,"45":8827125664852385792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 06:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254800384001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:43:42] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 06:43:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116039227380072448,"km_value":116039227380072.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827125664852385792,"description":"Unknown IO ID 45"} 
[2026-08-08 06:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254800384001,"power":11917,"unknown_243":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":8827125664852385792}} 
[2026-08-08 06:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":150117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:43:42] local.INFO: GPS data processed {"connection_id":150117,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:43:42] local.INFO: Acknowledgment sent {"connection_id":150117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:43:46] local.INFO: TCP Data received {"connection_id":150375,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:43:46] local.INFO: Processing buffer {"connection_id":150375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:43:46] local.INFO: IMEI packet received {"connection_id":150375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":150375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:43:48] local.INFO: TCP Data received {"connection_id":150375,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:48] local.INFO: Processing buffer {"connection_id":150375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:48] local.INFO: Packet analysis {"connection_id":150375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:43:48] local.INFO: Extracted packet for processing {"connection_id":150375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":150375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:43:48] local.INFO: GPS data processed {"connection_id":150375,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:43:48] local.INFO: Acknowledgment sent {"connection_id":150375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:43:52] local.INFO: TCP Data received {"connection_id":150375,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:52] local.INFO: Processing buffer {"connection_id":150375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:43:52] local.INFO: Packet analysis {"connection_id":150375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:43:52] local.INFO: Extracted packet for processing {"connection_id":150375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:43:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:43:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":150375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:43:52] local.INFO: GPS data processed {"connection_id":150375,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:43:52] local.INFO: Acknowledgment sent {"connection_id":150375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:44:13] local.INFO: TCP Data received {"connection_id":150117,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeee2990012d7a3d4006295b90001b012526..."} 
[2026-08-08 06:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeee2990012d7a3d4006295b90001b012526..."} 
[2026-08-08 06:44:13] local.INFO: Processing buffer {"connection_id":150117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeee2990012d7a3d4006295b90001b012526..."} 
[2026-08-08 06:44:13] local.INFO: Packet analysis {"connection_id":150117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeee"} 
[2026-08-08 06:44:13] local.INFO: Extracted packet for processing {"connection_id":150117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeee"} 
[2026-08-08 06:44:13] local.INFO: GPS Element Parsed {"raw_longitude":762985792,"raw_latitude":103373712,"longitude_deg":76.2985792,"latitude_deg":10.3373712,"altitude":27,"angle":293,"satellites":38,"speed":50,"hex_longitude":"2d7a3d40","hex_latitude":"06295b90","is_valid_coordinates":true} 
[2026-08-08 06:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254802176001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116039661171769344,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817555515645036544,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786151578000,"timestamp_ms":1786151578000,"timestamp_seconds":1786151578,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeee2990"} 
[2026-08-08 06:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:44:13] 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-08-08 06:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:44:13] 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-08-08 06:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254802176001,"66":11917,"243":206,"79":21504,"24":50,"16":116039661171769344,"45":8817555515645036544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 06:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254802176001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:44:13] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 06:44:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116039661171769344,"km_value":116039661171769.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817555515645036544,"description":"Unknown IO ID 45"} 
[2026-08-08 06:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254802176001,"power":11917,"unknown_243":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":8817555515645036544}} 
[2026-08-08 06:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":150117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:44:13] local.INFO: GPS data processed {"connection_id":150117,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:44:13] local.INFO: Acknowledgment sent {"connection_id":150117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:44:32] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:44:32] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:44:32] local.INFO: IMEI packet received {"connection_id":150376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":150376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:44:36] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:44:36] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:44:36] local.INFO: IMEI packet received {"connection_id":151345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":151345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:44:38] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:44:38] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:44:38] local.INFO: IMEI packet received {"connection_id":150376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":150376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:44:41] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:44:41] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:44:41] local.INFO: IMEI packet received {"connection_id":151345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":151345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:44:43] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeef5270012d792b400629ef00001e012b26..."} 
[2026-08-08 06:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeef5270012d792b400629ef00001e012b26..."} 
[2026-08-08 06:44:43] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeef5270012d792b400629ef00001e012b26..."} 
[2026-08-08 06:44:43] local.INFO: Packet analysis {"connection_id":150376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeef"} 
[2026-08-08 06:44:43] local.INFO: Extracted packet for processing {"connection_id":150376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeef"} 
[2026-08-08 06:44:43] local.INFO: GPS Element Parsed {"raw_longitude":762915648,"raw_latitude":103411456,"longitude_deg":76.2915648,"latitude_deg":10.3411456,"altitude":30,"angle":299,"satellites":38,"speed":26,"hex_longitude":"2d792b40","hex_latitude":"0629ef00","is_valid_coordinates":true} 
[2026-08-08 06:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254822144001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116043642606452736,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734027816316016640,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151654000,"timestamp_ms":1786151654000,"timestamp_seconds":1786151654,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeef5270"} 
[2026-08-08 06:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740182160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":-9221637598735230463,"corrected_to":0} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":5716193930121904130,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":41,"raw_value":8056939845053130752,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184165638349,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":228,"raw_value":57950804032507732,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4006453249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847460592,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2684431737,"corrected_to":0} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640161,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":156,"raw_value":4840806649469861888,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":94,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2954415231624808960,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":238,"raw_value":7498494674402902022,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,207,79,24,241,157,16,68,159,23,45,202,29,42,10,66,206,248,128,174,41,213,1,240,228,227,67,222,4,113,205,38,132,120,40,239,46,243,2,156,94,26,238,49],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":202,"original":-9221637598735230463,"validated":0},{"io_id":205,"original":2684431737,"validated":0}]} 
[2026-08-08 06:44:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2090021138814926848,"timestamp_seconds":2090021138814926.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:44:43] 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-08-08 06:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254822144001,"66":11678,"207":206,"79":21504,"24":26,"16":116043642606452736,"45":8734027816316016640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254822144001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116043642606452736,"km_value":116043642606452.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734027816316016640,"description":"Unknown IO ID 45"} 
[2026-08-08 06:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254822144001,"power":11678,"unknown_207":206,"unknown_79":21504,"ignition":26,"odometer":null,"unknown_45":8734027816316016640}} 
[2026-08-08 06:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":150376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:44:43] local.INFO: GPS data processed {"connection_id":150376,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:44:43] local.INFO: Acknowledgment sent {"connection_id":150376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:44:43] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:44:43] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:44:43] local.INFO: Packet analysis {"connection_id":151345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:44:43] local.INFO: Extracted packet for processing {"connection_id":151345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":151345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:44:43] local.INFO: GPS data processed {"connection_id":151345,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:44:43] local.INFO: Acknowledgment sent {"connection_id":151345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:45:15] local.INFO: TCP Data received {"connection_id":151345,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:45:15] local.INFO: Processing buffer {"connection_id":151345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:45:15] local.INFO: Packet analysis {"connection_id":151345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:45:15] local.INFO: Extracted packet for processing {"connection_id":151345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:45: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-08-08 06:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:45:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":151345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:45:15] local.INFO: GPS data processed {"connection_id":151345,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:45:15] local.INFO: Acknowledgment sent {"connection_id":151345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:45:18] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeef5658012d7928c00629efe8001e012027..."} 
[2026-08-08 06:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeef5658012d7928c00629efe8001e012027..."} 
[2026-08-08 06:45:18] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeef5658012d7928c00629efe8001e012027..."} 
[2026-08-08 06:45:18] local.INFO: Packet analysis {"connection_id":150376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeef"} 
[2026-08-08 06:45:18] local.INFO: Extracted packet for processing {"connection_id":150376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeef"} 
[2026-08-08 06:45:18] local.INFO: GPS Element Parsed {"raw_longitude":762915008,"raw_latitude":103411688,"longitude_deg":76.2915008,"latitude_deg":10.3411688,"altitude":30,"angle":288,"satellites":39,"speed":27,"hex_longitude":"2d7928c0","hex_latitude":"0629efe8","is_valid_coordinates":true} 
[2026-08-08 06:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254823424001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116043672671223808,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731142697805348864,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786151655000,"timestamp_ms":1786151655000,"timestamp_seconds":1786151655,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeef5658"} 
[2026-08-08 06:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-08 06:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:45:18] 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-08-08 06:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254823424001,"66":11678,"207":206,"79":21504,"24":27,"16":116043672671223808,"45":8731142697805348864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 06:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254823424001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:45:18] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 06:45:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116043672671223808,"km_value":116043672671223.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731142697805348864,"description":"Unknown IO ID 45"} 
[2026-08-08 06:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254823424001,"power":11678,"unknown_207":206,"unknown_79":21504,"ignition":27,"odometer":null,"unknown_45":8731142697805348864}} 
[2026-08-08 06:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":150376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:45:18] local.INFO: GPS data processed {"connection_id":150376,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:45:18] local.INFO: Acknowledgment sent {"connection_id":150376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:45:37] local.INFO: TCP Data received {"connection_id":152822,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:45:37] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:45:37] local.INFO: IMEI packet received {"connection_id":152822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":152822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:45:37] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:45:38] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:45:38] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:45:39] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:45:39] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:45:39] local.INFO: IMEI packet received {"connection_id":152823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":152823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:45:40] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef05828012d780b40062a03380016010727..."} 
[2026-08-08 06:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef05828012d780b40062a03380016010727..."} 
[2026-08-08 06:45:40] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef05828012d780b40062a03380016010727..."} 
[2026-08-08 06:45:40] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:45:40] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:45:40] local.INFO: GPS Element Parsed {"raw_longitude":762841920,"raw_latitude":103416632,"longitude_deg":76.284192,"latitude_deg":10.3416632,"altitude":22,"angle":263,"satellites":39,"speed":52,"hex_longitude":"2d780b40","hex_latitude":"062a0338","is_valid_coordinates":true} 
[2026-08-08 06:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254838784001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116047241789046784,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8660422109908385792,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786151721000,"timestamp_ms":1786151721000,"timestamp_seconds":1786151721,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef05828"} 
[2026-08-08 06:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:45: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-08-08 06:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:45:40] 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-08-08 06:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254838784001,"66":12026,"207":206,"79":21504,"24":52,"16":116047241789046784,"45":8660422109908385792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 06:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254838784001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:45:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 06:45:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116047241789046784,"km_value":116047241789046.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8660422109908385792,"description":"Unknown IO ID 45"} 
[2026-08-08 06:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254838784001,"power":12026,"unknown_207":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":8660422109908385792}} 
[2026-08-08 06:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:45:40] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:45:40] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:45:41] local.INFO: TCP Data received {"connection_id":152822,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:45:41] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:45:41] local.INFO: IMEI packet received {"connection_id":152822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":152822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:45:41] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef07768012d77e4800629ffe0001701082b..."} 
[2026-08-08 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef07768012d77e4800629ffe0001701082b..."} 
[2026-08-08 06:45:41] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef07768012d77e4800629ffe0001701082b..."} 
[2026-08-08 06:45:41] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:45:41] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":762832000,"raw_latitude":103415776,"longitude_deg":76.2832,"latitude_deg":10.3415776,"altitude":23,"angle":264,"satellites":43,"speed":44,"hex_longitude":"2d77e480","hex_latitude":"0629ffe0","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254840576001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116047718530416640,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8650077904514004992,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786151729000,"timestamp_ms":1786151729000,"timestamp_seconds":1786151729,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef07768"} 
[2026-08-08 06:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 06:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:45:41] 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-08-08 06:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254840576001,"66":11874,"207":206,"79":21504,"24":44,"16":116047718530416640,"45":8650077904514004992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 06:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254840576001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:45:41] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 06:45:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116047718530416640,"km_value":116047718530416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8650077904514004992,"description":"Unknown IO ID 45"} 
[2026-08-08 06:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254840576001,"power":11874,"unknown_207":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":8650077904514004992}} 
[2026-08-08 06:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:45:41] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:45:41] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:45:43] local.INFO: TCP Data received {"connection_id":152822,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:45:43] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeebacd8012d34c54006aa47600014014227..."} 
[2026-08-08 06:45:43] local.INFO: Packet analysis {"connection_id":152822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:45:43] local.INFO: Extracted packet for processing {"connection_id":152822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeeb"} 
[2026-08-08 06:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":20,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254685184001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151415000,"timestamp_ms":1786151415000,"timestamp_seconds":1786151415,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeebacd8"} 
[2026-08-08 06:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 06:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254685184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254685184001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254685184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":152822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:45:43] local.INFO: GPS data processed {"connection_id":152822,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:45:43] local.INFO: Acknowledgment sent {"connection_id":152822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:46:12] local.INFO: TCP Data received {"connection_id":152823,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef09a90012d77bfc00629fc40001701102b..."} 
[2026-08-08 06:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef09a90012d77bfc00629fc40001701102b..."} 
[2026-08-08 06:46:12] local.INFO: Processing buffer {"connection_id":152823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef09a90012d77bfc00629fc40001701102b..."} 
[2026-08-08 06:46:12] local.INFO: Packet analysis {"connection_id":152823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:12] local.INFO: Extracted packet for processing {"connection_id":152823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":762822592,"raw_latitude":103414848,"longitude_deg":76.2822592,"latitude_deg":10.3414848,"altitude":23,"angle":272,"satellites":43,"speed":32,"hex_longitude":"2d77bfc0","hex_latitude":"0629fc40","is_valid_coordinates":true} 
[2026-08-08 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254842624001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116048173796950016,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8639170749166247936,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786151738000,"timestamp_ms":1786151738000,"timestamp_seconds":1786151738,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef09a90"} 
[2026-08-08 06:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 06:46: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-08-08 06:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:46:12] 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-08-08 06:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254842624001,"66":11776,"197":206,"79":21504,"24":32,"16":116048173796950016,"45":8639170749166247936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 06:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254842624001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:46:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 06:46:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116048173796950016,"km_value":116048173796950.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8639170749166247936,"description":"Unknown IO ID 45"} 
[2026-08-08 06:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254842624001,"power":11776,"unknown_197":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":8639170749166247936}} 
[2026-08-08 06:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":152823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:46:12] local.INFO: GPS data processed {"connection_id":152823,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:46:12] local.INFO: Acknowledgment sent {"connection_id":152823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:46:14] local.INFO: TCP Data received {"connection_id":152822,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:46:14] local.INFO: Processing buffer {"connection_id":152822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:46:14] local.INFO: Packet analysis {"connection_id":152822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:14] local.INFO: Extracted packet for processing {"connection_id":152822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:46:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":152822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:46:14] local.INFO: GPS data processed {"connection_id":152822,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:46:14] local.INFO: Acknowledgment sent {"connection_id":152822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:46:30] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:30] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:30] local.INFO: IMEI packet received {"connection_id":150377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":150377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:46:32] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:32] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:32] local.INFO: IMEI packet received {"connection_id":150377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":150377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:46:36] local.INFO: TCP Data received {"connection_id":150118,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:46:36] local.INFO: Processing buffer {"connection_id":150118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:46:36] local.INFO: IMEI packet received {"connection_id":150118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:46:37] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:37] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:46:37] local.INFO: IMEI packet received {"connection_id":150377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":150377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:46:38] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef0a260012d77b9800629fd88001601212b..."} 
[2026-08-08 06:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef0a260012d77b9800629fd88001601212b..."} 
[2026-08-08 06:46:38] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef0a260012d77b9800629fd88001601212b..."} 
[2026-08-08 06:46:38] local.INFO: Packet analysis {"connection_id":150377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:38] local.INFO: Extracted packet for processing {"connection_id":150377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762820992,"raw_latitude":103415176,"longitude_deg":76.2820992,"latitude_deg":10.3415176,"altitude":22,"angle":289,"satellites":43,"speed":32,"hex_longitude":"2d77b980","hex_latitude":"0629fd88","is_valid_coordinates":true} 
[2026-08-08 06:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254844928001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116048251106361344,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8628826543771893760,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786151740000,"timestamp_ms":1786151740000,"timestamp_seconds":1786151740,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef0a260"} 
[2026-08-08 06:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740263160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4028469249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3805216974,"corrected_to":0} 
[2026-08-08 06:46:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,197,79,24,241,157,16,73,159,119,45,128,255,23,43,10,66,207,72,88,64,3,22,39,60,1,240,141,227,71,222,42,4,113,205,2,117,104,40,239,46,156],"length":434,"final_offset":564,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3805216974,"validated":0}]} 
[2026-08-08 06:46:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657623914720788480,"timestamp_seconds":1657623914720788.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:46:38] 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-08-08 06:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254844928001,"66":11776,"197":206,"79":21504,"24":32,"16":116048251106361344,"45":8628826543771893760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 06:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254844928001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116048251106361344,"km_value":116048251106361.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8628826543771893760,"description":"Unknown IO ID 45"} 
[2026-08-08 06:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254844928001,"power":11776,"unknown_197":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":8628826543771893760}} 
[2026-08-08 06:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":150377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:46:38] local.INFO: GPS data processed {"connection_id":150377,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:46:38] local.INFO: Acknowledgment sent {"connection_id":150377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:46:41] local.INFO: TCP Data received {"connection_id":150118,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:46:41] local.INFO: Processing buffer {"connection_id":150118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:46:41] local.INFO: IMEI packet received {"connection_id":150118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:46:43] local.INFO: TCP Data received {"connection_id":150118,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:46:43] local.INFO: Processing buffer {"connection_id":150118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:46:43] local.INFO: Packet analysis {"connection_id":150118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:43] local.INFO: Extracted packet for processing {"connection_id":150118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:46:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":150118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:46:43] local.INFO: GPS data processed {"connection_id":150118,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:46:43] local.INFO: Acknowledgment sent {"connection_id":150118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:47:14] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef1ac00012d76f3800629ecf0000e00f629..."} 
[2026-08-08 06:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef1ac00012d76f3800629ecf0000e00f629..."} 
[2026-08-08 06:47:14] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef1ac00012d76f3800629ecf0000e00f629..."} 
[2026-08-08 06:47:14] local.INFO: Packet analysis {"connection_id":150377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef1"} 
[2026-08-08 06:47:14] local.INFO: Extracted packet for processing {"connection_id":150377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef1"} 
[2026-08-08 06:47:14] local.INFO: GPS Element Parsed {"raw_longitude":762770304,"raw_latitude":103410928,"longitude_deg":76.2770304,"latitude_deg":10.3410928,"altitude":14,"angle":246,"satellites":41,"speed":30,"hex_longitude":"2d76f380","hex_latitude":"0629ecf0","is_valid_coordinates":true} 
[2026-08-08 06:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254861056001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116051343482814464,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576894410568169472,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151808000,"timestamp_ms":1786151808000,"timestamp_seconds":1786151808,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef1ac00"} 
[2026-08-08 06:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 06:47:14] 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-08-08 06:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:47:14] 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-08-08 06:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254861056001,"66":11917,"197":206,"79":21504,"24":30,"16":116051343482814464,"45":8576894410568169472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254861056001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116051343482814464,"km_value":116051343482814.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576894410568169472,"description":"Unknown IO ID 45"} 
[2026-08-08 06:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254861056001,"power":11917,"unknown_197":206,"unknown_79":21504,"ignition":30,"odometer":null,"unknown_45":8576894410568169472}} 
[2026-08-08 06:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":150377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:47:14] local.INFO: GPS data processed {"connection_id":150377,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:47:14] local.INFO: Acknowledgment sent {"connection_id":150377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:47:14] local.INFO: TCP Data received {"connection_id":150118,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:14] local.INFO: Processing buffer {"connection_id":150118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:14] local.INFO: Packet analysis {"connection_id":150118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:47:14] local.INFO: Extracted packet for processing {"connection_id":150118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":150118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:47:14] local.INFO: GPS data processed {"connection_id":150118,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:47:14] local.INFO: Acknowledgment sent {"connection_id":150118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:47:32] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:47:32] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:47:32] local.INFO: IMEI packet received {"connection_id":150378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":150378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:47:37] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:47:37] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:47:37] local.INFO: IMEI packet received {"connection_id":150378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":150378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:47:38] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef1d310012d76d2400629de38001000f728..."} 
[2026-08-08 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef1d310012d76d2400629de38001000f728..."} 
[2026-08-08 06:47:38] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef1d310012d76d2400629de38001000f728..."} 
[2026-08-08 06:47:38] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef1"} 
[2026-08-08 06:47:38] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef1"} 
[2026-08-08 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762761792,"raw_latitude":103407160,"longitude_deg":76.2761792,"latitude_deg":10.340716,"altitude":16,"angle":247,"satellites":40,"speed":41,"hex_longitude":"2d76d240","hex_latitude":"0629de38","is_valid_coordinates":true} 
[2026-08-08 06:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254862848001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116051790159413248,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8571335279777738752,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786151818000,"timestamp_ms":1786151818000,"timestamp_seconds":1786151818,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef1d310"} 
[2026-08-08 06:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 06:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:47:38] 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-08-08 06:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254862848001,"66":11852,"199":206,"79":21504,"24":41,"16":116051790159413248,"45":8571335279777738752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-08 06:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254862848001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:47:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 06:47:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116051790159413248,"km_value":116051790159413.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8571335279777738752,"description":"Unknown IO ID 45"} 
[2026-08-08 06:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254862848001,"power":11852,"trip_odometer":0.206,"unknown_79":21504,"ignition":41,"odometer":null,"unknown_45":8571335279777738752}} 
[2026-08-08 06:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:47:38] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:47:38] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:47:41] local.INFO: TCP Data received {"connection_id":150379,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:47:41] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:47:41] local.INFO: IMEI packet received {"connection_id":150379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":150379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:47:46] local.INFO: TCP Data received {"connection_id":150379,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:47:46] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:47:46] local.INFO: IMEI packet received {"connection_id":150379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":150379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:47:48] local.INFO: TCP Data received {"connection_id":150379,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:48] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:48] local.INFO: Packet analysis {"connection_id":150379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:47:48] local.INFO: Extracted packet for processing {"connection_id":150379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:47:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:47:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":150379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:47:48] local.INFO: GPS data processed {"connection_id":150379,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:47:48] local.INFO: Acknowledgment sent {"connection_id":150379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:47:52] local.INFO: TCP Data received {"connection_id":150379,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:52] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:47:52] local.INFO: Packet analysis {"connection_id":150379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:47:52] local.INFO: Extracted packet for processing {"connection_id":150379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:47:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:47:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":150379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:47:52] local.INFO: GPS data processed {"connection_id":150379,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:47:52] local.INFO: Acknowledgment sent {"connection_id":150379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:48:12] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef1f638012d76ad800629cfc0001300fd28..."} 
[2026-08-08 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef1f638012d76ad800629cfc0001300fd28..."} 
[2026-08-08 06:48:12] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef1f638012d76ad800629cfc0001300fd28..."} 
[2026-08-08 06:48:12] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef1"} 
[2026-08-08 06:48:12] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef1"} 
[2026-08-08 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":762752384,"raw_latitude":103403456,"longitude_deg":76.2752384,"latitude_deg":10.3403456,"altitude":19,"angle":253,"satellites":40,"speed":42,"hex_longitude":"2d76ad80","hex_latitude":"0629cfc0","is_valid_coordinates":true} 
[2026-08-08 06:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254865408001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116052275490717696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8561976236801144832,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786151827000,"timestamp_ms":1786151827000,"timestamp_seconds":1786151827,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef1f638"} 
[2026-08-08 06:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":76,"data_length":795,"current_offset":136} 
[2026-08-08 06:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:48:12] 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-08-08 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254865408001,"66":11917,"199":206,"79":21504,"24":42,"16":116052275490717696,"45":8561976236801144832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-08 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254865408001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:48:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116052275490717696,"km_value":116052275490717.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8561976236801144832,"description":"Unknown IO ID 45"} 
[2026-08-08 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254865408001,"power":11917,"trip_odometer":0.206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":8561976236801144832}} 
[2026-08-08 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:48:12] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:48:12] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:48:36] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:36] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:36] local.INFO: IMEI packet received {"connection_id":150380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":150380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:48:36] local.INFO: TCP Data received {"connection_id":152824,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:48:36] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:48:36] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:48:37] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:37] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:37] local.INFO: IMEI packet received {"connection_id":150380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":150380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:48:41] local.INFO: TCP Data received {"connection_id":152824,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:48:41] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:48:41] local.INFO: IMEI packet received {"connection_id":152824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":152824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:48:42] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:42] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:48:42] local.INFO: IMEI packet received {"connection_id":150380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":150380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:48:43] local.INFO: TCP Data received {"connection_id":152824,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:48:43] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:48:43] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:48:43] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:48:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:48:43] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:48:43] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:48:47] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef2ec50012d75d980062a42b8000c011c26..."} 
[2026-08-08 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef2ec50012d75d980062a42b8000c011c26..."} 
[2026-08-08 06:48:47] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef2ec50012d75d980062a42b8000c011c26..."} 
[2026-08-08 06:48:47] local.INFO: Packet analysis {"connection_id":150380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef2"} 
[2026-08-08 06:48:47] local.INFO: Extracted packet for processing {"connection_id":150380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef2"} 
[2026-08-08 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":762698112,"raw_latitude":103432888,"longitude_deg":76.2698112,"latitude_deg":10.3432888,"altitude":12,"angle":284,"satellites":38,"speed":30,"hex_longitude":"2d75d980","hex_latitude":"062a42b8","is_valid_coordinates":true} 
[2026-08-08 06:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254883328001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116055548255797248,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8493577817466908672,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786151890000,"timestamp_ms":1786151890000,"timestamp_seconds":1786151890,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef2ec50"} 
[2026-08-08 06:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 06:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:48:47] 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-08-08 06:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254883328001,"66":11776,"201":206,"79":21504,"24":30,"16":116055548255797248,"45":8493577817466908672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254883328001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:48:47] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:48:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116055548255797248,"km_value":116055548255797.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8493577817466908672,"description":"Unknown IO ID 45"} 
[2026-08-08 06:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254883328001,"power":11776,"unknown_201":206,"unknown_79":21504,"ignition":30,"odometer":null,"unknown_45":8493577817466908672}} 
[2026-08-08 06:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":150380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:48:47] local.INFO: GPS data processed {"connection_id":150380,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:48:47] local.INFO: Acknowledgment sent {"connection_id":150380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:48:48] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef2f420012d75d2c0062a4368000d011028..."} 
[2026-08-08 06:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef2f420012d75d2c0062a4368000d011028..."} 
[2026-08-08 06:48:48] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef2f420012d75d2c0062a4368000d011028..."} 
[2026-08-08 06:48:48] local.INFO: Packet analysis {"connection_id":150380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef2"} 
[2026-08-08 06:48:48] local.INFO: Extracted packet for processing {"connection_id":150380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef2"} 
[2026-08-08 06:48:48] local.INFO: GPS Element Parsed {"raw_longitude":762696384,"raw_latitude":103433064,"longitude_deg":76.2696384,"latitude_deg":10.3433064,"altitude":13,"angle":272,"satellites":40,"speed":35,"hex_longitude":"2d75d2c0","hex_latitude":"062a4368","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254883840001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116055634155143168,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8491959336350955520,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786151892000,"timestamp_ms":1786151892000,"timestamp_seconds":1786151892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef2f420"} 
[2026-08-08 06:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740434160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4071221249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2949185742,"corrected_to":0} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221302646,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2147887601,"note":"Value kept but may cause issues"} 
[2026-08-08 06:48:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,201,79,24,241,157,16,159,228,45,64,11,38,10,66,197,192,46,6,189,1,240,250,227,222,42,4,113,205,134,20,40,35,239,47,2,156],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2949185742,"validated":0}]} 
[2026-08-08 06:48:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865003552968146944,"timestamp_seconds":865003552968147.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:48:48] 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-08-08 06:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254883840001,"66":11026,"201":206,"79":21504,"24":35,"16":116055634155143168,"45":8491959336350955520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254883840001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:48:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:48:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116055634155143168,"km_value":116055634155143.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8491959336350955520,"description":"Unknown IO ID 45"} 
[2026-08-08 06:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254883840001,"power":11026,"unknown_201":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8491959336350955520}} 
[2026-08-08 06:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":150380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:48:48] local.INFO: GPS data processed {"connection_id":150380,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:48:48] local.INFO: Acknowledgment sent {"connection_id":150380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:49:14] local.INFO: TCP Data received {"connection_id":152824,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:49:14] local.INFO: Processing buffer {"connection_id":152824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:49:14] local.INFO: Packet analysis {"connection_id":152824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:49:14] local.INFO: Extracted packet for processing {"connection_id":152824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:49:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":152824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:49:14] local.INFO: GPS data processed {"connection_id":152824,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:49:14] local.INFO: Acknowledgment sent {"connection_id":152824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:49:32] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:49:32] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:49:32] local.INFO: IMEI packet received {"connection_id":151346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":151346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:49:34] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:49:34] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:49:34] local.INFO: IMEI packet received {"connection_id":151346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":151346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:49:35] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef3bf40012d754280062a19d8000c016428..."} 
[2026-08-08 06:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef3bf40012d754280062a19d8000c016428..."} 
[2026-08-08 06:49:35] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef3bf40012d754280062a19d8000c016428..."} 
[2026-08-08 06:49:35] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef3"} 
[2026-08-08 06:49:35] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef3"} 
[2026-08-08 06:49:35] local.INFO: GPS Element Parsed {"raw_longitude":762659456,"raw_latitude":103422424,"longitude_deg":76.2659456,"latitude_deg":10.3422424,"altitude":12,"angle":356,"satellites":40,"speed":8,"hex_longitude":"2d754280","hex_latitude":"062a19d8","is_valid_coordinates":true} 
[2026-08-08 06:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254896896001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116057549710557184,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449597352353138688,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786151944000,"timestamp_ms":1786151944000,"timestamp_seconds":1786151944,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef3bf40"} 
[2026-08-08 06:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740496160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154235085,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4087349249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":42,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847395056,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2949185742,"corrected_to":0} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221629460,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3472936367,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":156,"raw_value":5865938514650071040,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":206,"raw_value":5716193930121576450,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-4609950806408425984,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2882345542958975488,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57895648062492500,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2803492062796644358,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,201,79,24,241,157,16,81,159,175,45,192,22,12,41,10,66,167,20,13,39,163,1,240,93,227,222,42,4,113,205,7,152,71,40,239,44,2,156,206,123,244,27,243],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2949185742,"validated":0}]} 
[2026-08-08 06:49:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865064034696298496,"timestamp_seconds":865064034696298.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:49:35] 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-08-08 06:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254896896001,"66":12135,"201":206,"79":21504,"24":8,"16":116057549710557184,"45":8449597352353138688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254896896001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:49:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:49:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116057549710557184,"km_value":116057549710557.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449597352353138688,"description":"Unknown IO ID 45"} 
[2026-08-08 06:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254896896001,"power":12135,"unknown_201":206,"unknown_79":21504,"ignition":8,"odometer":null,"unknown_45":8449597352353138688}} 
[2026-08-08 06:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:49:35] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:49:35] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:49:36] local.INFO: TCP Data received {"connection_id":150119,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:49:36] local.INFO: Processing buffer {"connection_id":150119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:49:36] local.INFO: IMEI packet received {"connection_id":150119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":150119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:49:38] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef3f208012d754180062a3d08000b000228..."} 
[2026-08-08 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef3f208012d754180062a3d08000b000228..."} 
[2026-08-08 06:49:38] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef3f208012d754180062a3d08000b000228..."} 
[2026-08-08 06:49:38] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef3"} 
[2026-08-08 06:49:38] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef3"} 
[2026-08-08 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":762659200,"raw_latitude":103431432,"longitude_deg":76.26592,"latitude_deg":10.3431432,"altitude":11,"angle":2,"satellites":40,"speed":40,"hex_longitude":"2d754180","hex_latitude":"062a3d08","is_valid_coordinates":true} 
[2026-08-08 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254897664001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116057987797221376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449456614864967680,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786151957000,"timestamp_ms":1786151957000,"timestamp_seconds":1786151957,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef3f208"} 
[2026-08-08 06:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 06:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:49:38] 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-08-08 06:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254897664001,"66":12135,"201":206,"79":21504,"24":40,"16":116057987797221376,"45":8449456614864967680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254897664001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116057987797221376,"km_value":116057987797221.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449456614864967680,"description":"Unknown IO ID 45"} 
[2026-08-08 06:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254897664001,"power":12135,"unknown_201":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8449456614864967680}} 
[2026-08-08 06:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:49:38] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:49:38] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:49:41] local.INFO: TCP Data received {"connection_id":150119,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:49:41] local.INFO: Processing buffer {"connection_id":150119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:49:41] local.INFO: IMEI packet received {"connection_id":150119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":150119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:49:43] local.INFO: TCP Data received {"connection_id":150119,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:49:43] local.INFO: Processing buffer {"connection_id":150119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:49:43] local.INFO: Packet analysis {"connection_id":150119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:49:43] local.INFO: Extracted packet for processing {"connection_id":150119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:49:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":150119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:49:43] local.INFO: GPS data processed {"connection_id":150119,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:49:43] local.INFO: Acknowledgment sent {"connection_id":150119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:50:09] local.INFO: TCP Data received {"connection_id":151346,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef41148012d7542c0062a60700009000029..."} 
[2026-08-08 06:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef41148012d7542c0062a60700009000029..."} 
[2026-08-08 06:50:09] local.INFO: Processing buffer {"connection_id":151346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef41148012d7542c0062a60700009000029..."} 
[2026-08-08 06:50:09] local.INFO: Packet analysis {"connection_id":151346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:50:09] local.INFO: Extracted packet for processing {"connection_id":151346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762659520,"raw_latitude":103440496,"longitude_deg":76.265952,"latitude_deg":10.3440496,"altitude":9,"angle":0,"satellites":41,"speed":46,"hex_longitude":"2d7542c0","hex_latitude":"062a6070","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254900992001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116058425883885568,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449175139890563072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786151965000,"timestamp_ms":1786151965000,"timestamp_seconds":1786151965,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef41148"} 
[2026-08-08 06:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 06:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:50:09] 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-08-08 06:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254900992001,"66":12048,"201":206,"79":21504,"24":46,"16":116058425883885568,"45":8449175139890563072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254900992001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:50:09] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:50:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116058425883885568,"km_value":116058425883885.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449175139890563072,"description":"Unknown IO ID 45"} 
[2026-08-08 06:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254900992001,"power":12048,"unknown_201":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8449175139890563072}} 
[2026-08-08 06:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":151346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:50:09] local.INFO: GPS data processed {"connection_id":151346,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:50:09] local.INFO: Acknowledgment sent {"connection_id":151346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:50:14] local.INFO: TCP Data received {"connection_id":150119,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:50:14] local.INFO: Processing buffer {"connection_id":150119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:50:14] local.INFO: Packet analysis {"connection_id":150119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:50:14] local.INFO: Extracted packet for processing {"connection_id":150119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 06:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:50:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":150119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:50:14] local.INFO: GPS data processed {"connection_id":150119,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:50:14] local.INFO: Acknowledgment sent {"connection_id":150119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:50:36] local.INFO: TCP Data received {"connection_id":152825,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:50:36] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:50:36] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:50:38] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:38] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:38] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:50:38] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:38] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:38] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:50:40] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:40] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:50:40] local.INFO: IMEI packet received {"connection_id":151347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":151347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:50:41] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef43088012d754300062a86780008000029..."} 
[2026-08-08 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef43088012d754300062a86780008000029..."} 
[2026-08-08 06:50:41] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef43088012d754300062a86780008000029..."} 
[2026-08-08 06:50:41] local.INFO: Packet analysis {"connection_id":151347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:50:41] local.INFO: Extracted packet for processing {"connection_id":151347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":762659584,"raw_latitude":103450232,"longitude_deg":76.2659584,"latitude_deg":10.3450232,"altitude":8,"angle":0,"satellites":41,"speed":47,"hex_longitude":"2d754300","hex_latitude":"062a8678","is_valid_coordinates":true} 
[2026-08-08 06:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254903040001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116058898330288128,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449526983613771776,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786151973000,"timestamp_ms":1786151973000,"timestamp_seconds":1786151973,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef43088"} 
[2026-08-08 06:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:50: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-08-08 06: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3580550819356866816,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740509160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7182779610772275200,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505370523729920,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4088373249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627273176231881,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5780087760659152872,"corrected_to":0} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3489738101,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194708224,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":852269,"corrected_to":0} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3032162798554653224,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3660360779302656,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,201,79,24,241,157,16,82,159,242,45,128,61,11,40,10,66,191,25,12,81,179,1,240,22,227,222,42,4,113,205,167,69,200,39,239,46,2,156,6,32],"length":583,"final_offset":713,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-5780087760659152872,"validated":0},{"io_id":200,"original":852269,"validated":0}]} 
[2026-08-08 06:50:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648518522438025216,"timestamp_seconds":648518522438025.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:50:41] 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-08-08 06:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254903040001,"66":12015,"201":206,"79":21504,"24":47,"16":116058898330288128,"45":8449526983613771776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254903040001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:50:41] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:50:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116058898330288128,"km_value":116058898330288.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449526983613771776,"description":"Unknown IO ID 45"} 
[2026-08-08 06:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254903040001,"power":12015,"unknown_201":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":8449526983613771776}} 
[2026-08-08 06:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":151347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:50:41] local.INFO: GPS data processed {"connection_id":151347,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:50:41] local.INFO: Acknowledgment sent {"connection_id":151347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:50:41] local.INFO: TCP Data received {"connection_id":152825,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:50:41] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:50:41] local.INFO: IMEI packet received {"connection_id":152825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":152825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:50:42] local.INFO: TCP Data received {"connection_id":152825,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:50:42] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef044a0012d34c54006aa4760000901422a..."} 
[2026-08-08 06:50:42] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:50:42] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef0"} 
[2026-08-08 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786151716000,"timestamp_ms":1786151716000,"timestamp_seconds":1786151716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef044a0"} 
[2026-08-08 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-08-08 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254762240001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254762240001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:50:42] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:50:42] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:50:42] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef44fc8012d754540062aabe0000800052b..."} 
[2026-08-08 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef44fc8012d754540062aabe0000800052b..."} 
[2026-08-08 06:50:42] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef44fc8012d754540062aabe0000800052b..."} 
[2026-08-08 06:50:42] local.INFO: Packet analysis {"connection_id":151347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:50:42] local.INFO: Extracted packet for processing {"connection_id":151347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":762660160,"raw_latitude":103459808,"longitude_deg":76.266016,"latitude_deg":10.3459808,"altitude":8,"angle":5,"satellites":43,"speed":47,"hex_longitude":"2d754540","hex_latitude":"062aabe0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254905088001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116059362186756096,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449597352360441856,"note":"Value kept but may cause issues"} 
[2026-08-08 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786151981000,"timestamp_ms":1786151981000,"timestamp_seconds":1786151981,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef44fc8"} 
[2026-08-08 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-08-08 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:50:42] 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-08-08 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254905088001,"66":12004,"201":206,"79":21504,"24":47,"16":116059362186756096,"45":8449597352360441856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254905088001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116059362186756096,"km_value":116059362186756.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449597352360441856,"description":"Unknown IO ID 45"} 
[2026-08-08 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254905088001,"power":12004,"unknown_201":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":8449597352360441856}} 
[2026-08-08 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":151347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:50:42] local.INFO: GPS data processed {"connection_id":151347,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:50:42] local.INFO: Acknowledgment sent {"connection_id":151347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:51:13] local.INFO: TCP Data received {"connection_id":152825,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:51:13] local.INFO: Processing buffer {"connection_id":152825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:51:13] local.INFO: Packet analysis {"connection_id":152825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:51:13] local.INFO: Extracted packet for processing {"connection_id":152825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":152825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:51:13] local.INFO: GPS data processed {"connection_id":152825,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:51:13] local.INFO: Acknowledgment sent {"connection_id":152825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:51:13] local.INFO: TCP Data received {"connection_id":151347,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef570d8012d74cec0062b85a80009016724..."} 
[2026-08-08 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef570d8012d74cec0062b85a80009016724..."} 
[2026-08-08 06:51:13] local.INFO: Processing buffer {"connection_id":151347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef570d8012d74cec0062b85a80009016724..."} 
[2026-08-08 06:51:13] local.INFO: Packet analysis {"connection_id":151347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef5"} 
[2026-08-08 06:51:13] local.INFO: Extracted packet for processing {"connection_id":151347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef5"} 
[2026-08-08 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":762629824,"raw_latitude":103515560,"longitude_deg":76.2629824,"latitude_deg":10.351556,"altitude":9,"angle":359,"satellites":36,"speed":45,"hex_longitude":"2d74cec0","hex_latitude":"062b85a8","is_valid_coordinates":true} 
[2026-08-08 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254923776001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116062806750527488,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8417157361308708864,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786152055000,"timestamp_ms":1786152055000,"timestamp_seconds":1786152055,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef570d8"} 
[2026-08-08 06:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 06:51: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-08-08 06:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:51:13] 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-08-08 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254923776001,"66":12004,"157":206,"79":21504,"24":45,"16":116062806750527488,"45":8417157361308708864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254923776001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116062806750527488,"km_value":116062806750527.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8417157361308708864,"description":"Unknown IO ID 45"} 
[2026-08-08 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254923776001,"power":12004,"unknown_157":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":8417157361308708864}} 
[2026-08-08 06:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":151347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:51:14] local.INFO: GPS data processed {"connection_id":151347,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:51:14] local.INFO: Acknowledgment sent {"connection_id":151347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:51:30] local.INFO: TCP Data received {"connection_id":150120,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:30] local.INFO: Processing buffer {"connection_id":150120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:30] local.INFO: IMEI packet received {"connection_id":150120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":150120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:51:32] local.INFO: TCP Data received {"connection_id":150120,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:32] local.INFO: Processing buffer {"connection_id":150120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:32] local.INFO: IMEI packet received {"connection_id":150120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":150120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:51:36] local.INFO: TCP Data received {"connection_id":152826,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:51:36] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:51:36] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:51:37] local.INFO: TCP Data received {"connection_id":150120,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:37] local.INFO: Processing buffer {"connection_id":150120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:51:37] local.INFO: IMEI packet received {"connection_id":150120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":150120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:51:38] local.INFO: TCP Data received {"connection_id":150120,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef59018012d74d1c0062ba9000009000326..."} 
[2026-08-08 06:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef59018012d74d1c0062ba9000009000326..."} 
[2026-08-08 06:51:38] local.INFO: Processing buffer {"connection_id":150120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef59018012d74d1c0062ba9000009000326..."} 
[2026-08-08 06:51:38] local.INFO: Packet analysis {"connection_id":150120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef5"} 
[2026-08-08 06:51:38] local.INFO: Extracted packet for processing {"connection_id":150120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef5"} 
[2026-08-08 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":762630592,"raw_latitude":103524608,"longitude_deg":76.2630592,"latitude_deg":10.3524608,"altitude":9,"angle":3,"satellites":38,"speed":42,"hex_longitude":"2d74d1c0","hex_latitude":"062ba900","is_valid_coordinates":true} 
[2026-08-08 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254926080001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116063244837191680,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8416875886334552064,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786152063000,"timestamp_ms":1786152063000,"timestamp_seconds":1786152063,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef59018"} 
[2026-08-08 06:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 06:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:51:38] 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-08-08 06:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254926080001,"66":12156,"157":206,"79":21504,"24":42,"16":116063244837191680,"45":8416875886334552064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 06:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254926080001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:51:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 06:51:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116063244837191680,"km_value":116063244837191.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8416875886334552064,"description":"Unknown IO ID 45"} 
[2026-08-08 06:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254926080001,"power":12156,"unknown_157":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":8416875886334552064}} 
[2026-08-08 06:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":150120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:51:38] local.INFO: GPS data processed {"connection_id":150120,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:51:38] local.INFO: Acknowledgment sent {"connection_id":150120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:51:41] local.INFO: TCP Data received {"connection_id":152826,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:51:41] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:51:41] local.INFO: IMEI packet received {"connection_id":152826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":152826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:51:43] local.INFO: TCP Data received {"connection_id":152826,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:51:43] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:51:43] local.INFO: Packet analysis {"connection_id":152826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:51:43] local.INFO: Extracted packet for processing {"connection_id":152826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:51:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":152826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:51:43] local.INFO: GPS data processed {"connection_id":152826,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:51:43] local.INFO: Acknowledgment sent {"connection_id":152826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:52:09] local.INFO: TCP Data received {"connection_id":150120,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef59bd0012d74d140062bb4f0000a016028..."} 
[2026-08-08 06:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef59bd0012d74d140062bb4f0000a016028..."} 
[2026-08-08 06:52:09] local.INFO: Processing buffer {"connection_id":150120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef59bd0012d74d140062bb4f0000a016028..."} 
[2026-08-08 06:52:09] local.INFO: Packet analysis {"connection_id":150120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef5"} 
[2026-08-08 06:52:09] local.INFO: Extracted packet for processing {"connection_id":150120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef5"} 
[2026-08-08 06:52:09] local.INFO: GPS Element Parsed {"raw_longitude":762630464,"raw_latitude":103527664,"longitude_deg":76.2630464,"latitude_deg":10.3527664,"altitude":10,"angle":352,"satellites":40,"speed":39,"hex_longitude":"2d74d140","hex_latitude":"062bb4f0","is_valid_coordinates":true} 
[2026-08-08 06:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254928128001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116063395161047040,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8417720311267000320,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786152066000,"timestamp_ms":1786152066000,"timestamp_seconds":1786152066,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef59bd0"} 
[2026-08-08 06:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 06:52: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-08-08 06:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:52:09] 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-08-08 06:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254928128001,"66":11917,"157":206,"79":21504,"24":39,"16":116063395161047040,"45":8417720311267000320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 06:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254928128001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116063395161047040,"km_value":116063395161047.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8417720311267000320,"description":"Unknown IO ID 45"} 
[2026-08-08 06:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254928128001,"power":11917,"unknown_157":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":8417720311267000320}} 
[2026-08-08 06:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":150120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:52:09] local.INFO: GPS data processed {"connection_id":150120,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:52:09] local.INFO: Acknowledgment sent {"connection_id":150120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:52:14] local.INFO: TCP Data received {"connection_id":152826,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:52:14] local.INFO: Processing buffer {"connection_id":152826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:52:14] local.INFO: Packet analysis {"connection_id":152826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:52:14] local.INFO: Extracted packet for processing {"connection_id":152826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:52:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":152826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:52:14] local.INFO: GPS data processed {"connection_id":152826,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:52:14] local.INFO: Acknowledgment sent {"connection_id":152826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:52:31] local.INFO: TCP Data received {"connection_id":150381,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:31] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:31] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:52:32] local.INFO: TCP Data received {"connection_id":150381,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:32] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:32] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:52:33] local.INFO: TCP Data received {"connection_id":150381,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:33] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:33] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:52:33] local.INFO: TCP Data received {"connection_id":150381,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:33] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:52:33] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:52:36] local.INFO: TCP Data received {"connection_id":150121,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:52:36] local.INFO: Processing buffer {"connection_id":150121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:52:36] local.INFO: IMEI packet received {"connection_id":150121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":150121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:52:41] local.INFO: TCP Data received {"connection_id":150121,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:52:41] local.INFO: Processing buffer {"connection_id":150121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:52:41] local.INFO: IMEI packet received {"connection_id":150121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":150121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:52:43] local.INFO: TCP Data received {"connection_id":150121,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:52:43] local.INFO: Processing buffer {"connection_id":150121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:52:43] local.INFO: Packet analysis {"connection_id":150121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:52:43] local.INFO: Extracted packet for processing {"connection_id":150121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:52:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":150121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:52:43] local.INFO: GPS data processed {"connection_id":150121,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:52:43] local.INFO: Acknowledgment sent {"connection_id":150121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:53:14] local.INFO: TCP Data received {"connection_id":150121,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:53:14] local.INFO: Processing buffer {"connection_id":150121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:53:14] local.INFO: Packet analysis {"connection_id":150121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:53:14] local.INFO: Extracted packet for processing {"connection_id":150121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:53:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:53:14] local.INFO: GPS data processed {"connection_id":150121,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:53:14] local.INFO: Acknowledgment sent {"connection_id":150121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:53:36] local.INFO: TCP Data received {"connection_id":152827,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:53:36] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:53:36] local.INFO: IMEI packet received {"connection_id":152827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":152827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:53:41] local.INFO: TCP Data received {"connection_id":152827,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:53:41] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:53:41] local.INFO: IMEI packet received {"connection_id":152827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":152827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:53:43] local.INFO: TCP Data received {"connection_id":152827,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:53:43] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:53:43] local.INFO: Packet analysis {"connection_id":152827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:53:43] local.INFO: Extracted packet for processing {"connection_id":152827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:53:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":152827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:53:43] local.INFO: GPS data processed {"connection_id":152827,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:53:43] local.INFO: Acknowledgment sent {"connection_id":152827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:54:14] local.INFO: TCP Data received {"connection_id":152827,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:54:14] local.INFO: Processing buffer {"connection_id":152827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:54:14] local.INFO: Packet analysis {"connection_id":152827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:54:14] local.INFO: Extracted packet for processing {"connection_id":152827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:54:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":152827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:54:14] local.INFO: GPS data processed {"connection_id":152827,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:54:14] local.INFO: Acknowledgment sent {"connection_id":152827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:54:36] local.INFO: TCP Data received {"connection_id":150122,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:54:36] local.INFO: Processing buffer {"connection_id":150122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:54:36] local.INFO: IMEI packet received {"connection_id":150122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:54:41] local.INFO: TCP Data received {"connection_id":150122,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:54:41] local.INFO: Processing buffer {"connection_id":150122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:54:41] local.INFO: IMEI packet received {"connection_id":150122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":150122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:54:43] local.INFO: TCP Data received {"connection_id":150122,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:54:43] local.INFO: Processing buffer {"connection_id":150122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:54:43] local.INFO: Packet analysis {"connection_id":150122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:54:43] local.INFO: Extracted packet for processing {"connection_id":150122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":150122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:54:43] local.INFO: GPS data processed {"connection_id":150122,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:54:43] local.INFO: Acknowledgment sent {"connection_id":150122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:55:14] local.INFO: TCP Data received {"connection_id":150122,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:14] local.INFO: Processing buffer {"connection_id":150122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:14] local.INFO: Packet analysis {"connection_id":150122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:55:14] local.INFO: Extracted packet for processing {"connection_id":150122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:55:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":150122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:55:14] local.INFO: GPS data processed {"connection_id":150122,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:55:14] local.INFO: Acknowledgment sent {"connection_id":150122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:55:41] local.INFO: TCP Data received {"connection_id":150382,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:55:41] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:55:41] local.INFO: IMEI packet received {"connection_id":150382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":150382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:55:46] local.INFO: TCP Data received {"connection_id":150382,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:55:46] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:55:46] local.INFO: IMEI packet received {"connection_id":150382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":150382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:55:48] local.INFO: TCP Data received {"connection_id":150382,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:48] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:48] local.INFO: Packet analysis {"connection_id":150382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:55:48] local.INFO: Extracted packet for processing {"connection_id":150382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":150382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:55:48] local.INFO: GPS data processed {"connection_id":150382,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:55:48] local.INFO: Acknowledgment sent {"connection_id":150382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:55:53] local.INFO: TCP Data received {"connection_id":150382,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:53] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef4dc68012d34c54006aa4760000901422b..."} 
[2026-08-08 06:55:53] local.INFO: Packet analysis {"connection_id":150382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:55:53] local.INFO: Extracted packet for processing {"connection_id":150382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef4"} 
[2026-08-08 06:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":9,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254839296001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786152017000,"timestamp_ms":1786152017000,"timestamp_seconds":1786152017,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef4dc68"} 
[2026-08-08 06:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254839296001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254839296001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:55:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:55:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254839296001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":150382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:55:53] local.INFO: GPS data processed {"connection_id":150382,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:55:53] local.INFO: Acknowledgment sent {"connection_id":150382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:56:36] local.INFO: TCP Data received {"connection_id":150123,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:56:36] local.INFO: Processing buffer {"connection_id":150123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:56:36] local.INFO: IMEI packet received {"connection_id":150123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":150123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:56:41] local.INFO: TCP Data received {"connection_id":150123,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:56:41] local.INFO: Processing buffer {"connection_id":150123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:56:41] local.INFO: IMEI packet received {"connection_id":150123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":150123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:56:43] local.INFO: TCP Data received {"connection_id":150123,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:56:43] local.INFO: Processing buffer {"connection_id":150123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:56:43] local.INFO: Packet analysis {"connection_id":150123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:56:43] local.INFO: Extracted packet for processing {"connection_id":150123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:56:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":150123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:56:43] local.INFO: GPS data processed {"connection_id":150123,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:56:43] local.INFO: Acknowledgment sent {"connection_id":150123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:57:14] local.INFO: TCP Data received {"connection_id":150123,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:57:14] local.INFO: Processing buffer {"connection_id":150123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:57:14] local.INFO: Packet analysis {"connection_id":150123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:57:14] local.INFO: Extracted packet for processing {"connection_id":150123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:57:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":150123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:57:14] local.INFO: GPS data processed {"connection_id":150123,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:57:14] local.INFO: Acknowledgment sent {"connection_id":150123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:57:36] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:57:36] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:57:36] local.INFO: IMEI packet received {"connection_id":150383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":150383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:57:36] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:57:36] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:57:36] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:57:37] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:57:37] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:57:37] local.INFO: IMEI packet received {"connection_id":151350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":151350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:57:39] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefa4b08012d743340062cfbc0001e00772e..."} 
[2026-08-08 06:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefa4b08012d743340062cfbc0001e00772e..."} 
[2026-08-08 06:57:39] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefa4b08012d743340062cfbc0001e00772e..."} 
[2026-08-08 06:57:39] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefa"} 
[2026-08-08 06:57:39] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefa"} 
[2026-08-08 06:57:39] local.INFO: GPS Element Parsed {"raw_longitude":762590016,"raw_latitude":103611328,"longitude_deg":76.2590016,"latitude_deg":10.3611328,"altitude":30,"angle":119,"satellites":46,"speed":6,"hex_longitude":"2d743340","hex_latitude":"062cfbc0","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255006720001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070172619440128,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8372684315015532544,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786152373000,"timestamp_ms":1786152373000,"timestamp_seconds":1786152373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefa4b08"} 
[2026-08-08 06:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 06:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:57:39] 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-08-08 06:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255006720001,"66":13319,"23":206,"79":21504,"24":6,"16":116070172619440128,"45":8372684315015532544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,79,24,16,45]} 
[2026-08-08 06:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255006720001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:57:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-08 06:57:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070172619440128,"km_value":116070172619440.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8372684315015532544,"description":"Unknown IO ID 45"} 
[2026-08-08 06:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255006720001,"power":13319,"unknown_23":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":8372684315015532544}} 
[2026-08-08 06:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:57:39] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:57:39] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:57:41] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:57:41] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:57:41] local.INFO: IMEI packet received {"connection_id":150383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":150383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:57:43] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefa9d10012d7436c0062cfa40001e00742d..."} 
[2026-08-08 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefa9d10012d7436c0062cfa40001e00742d..."} 
[2026-08-08 06:57:43] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefa9d10012d7436c0062cfa40001e00742d..."} 
[2026-08-08 06:57:43] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefa"} 
[2026-08-08 06:57:43] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefa"} 
[2026-08-08 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103610944,"longitude_deg":76.2590912,"latitude_deg":10.3610944,"altitude":30,"angle":116,"satellites":45,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cfa40","is_valid_coordinates":true} 
[2026-08-08 06:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255007488001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070219864080384,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373106527480561664,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152394000,"timestamp_ms":1786152394000,"timestamp_seconds":1786152394,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefa9d10"} 
[2026-08-08 06:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740909160,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-801640622002787072,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4192309249,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3860201678,"corrected_to":0} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2818649460,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57955352402874196,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.WARNING: Large IO value detected {"io_id":249,"raw_value":-5289476467613777914,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:43] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,23,79,24,241,157,16,93,159,63,45,192,252,30,46,10,66,237,254,26,44,92,229,64,1,240,166,227,222,4,113,205,11,221,27,56,239,51,22,2,156,6,5,62,249],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3860201678,"validated":0}]} 
[2026-08-08 06:57:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2161858860590432256,"timestamp_seconds":2161858860590432.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 06:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:57:43] 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-08-08 06:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255007488001,"66":13178,"21":206,"79":21504,"24":0,"16":116070219864080384,"45":8373106527480561664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 06:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255007488001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:57:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 06:57:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070219864080384,"km_value":116070219864080.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373106527480561664,"description":"Unknown IO ID 45"} 
[2026-08-08 06:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255007488001,"power":13178,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373106527480561664}} 
[2026-08-08 06:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:57:43] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:57:43] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:57:44] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:57:44] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:57:44] local.INFO: Packet analysis {"connection_id":150383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:57:44] local.INFO: Extracted packet for processing {"connection_id":150383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:57:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":150383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:57:44] local.INFO: GPS data processed {"connection_id":150383,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:57:44] local.INFO: Acknowledgment sent {"connection_id":150383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:58:14] local.INFO: TCP Data received {"connection_id":151350,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefae748012d743840062cf688001d00bf2e..."} 
[2026-08-08 06:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefae748012d743840062cf688001d00bf2e..."} 
[2026-08-08 06:58:14] local.INFO: Processing buffer {"connection_id":151350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefae748012d743840062cf688001d00bf2e..."} 
[2026-08-08 06:58:14] local.INFO: Packet analysis {"connection_id":151350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefa"} 
[2026-08-08 06:58:14] local.INFO: Extracted packet for processing {"connection_id":151350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefa"} 
[2026-08-08 06:58:14] local.INFO: GPS Element Parsed {"raw_longitude":762591296,"raw_latitude":103609992,"longitude_deg":76.2591296,"latitude_deg":10.3609992,"altitude":29,"angle":191,"satellites":46,"speed":5,"hex_longitude":"2d743840","hex_latitude":"062cf688","is_valid_coordinates":true} 
[2026-08-08 06:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255012864001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070275698655232,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898950656,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152413000,"timestamp_ms":1786152413000,"timestamp_seconds":1786152413,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefae748"} 
[2026-08-08 06:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-08 06:58: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-08-08 06:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:58:14] 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-08-08 06:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255012864001,"66":13200,"21":206,"79":21504,"24":5,"16":116070275698655232,"45":8374091689898950656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 06:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255012864001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:58:14] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 06:58:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070275698655232,"km_value":116070275698655.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898950656,"description":"Unknown IO ID 45"} 
[2026-08-08 06:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255012864001,"power":13200,"unknown_21":206,"unknown_79":21504,"ignition":5,"odometer":null,"unknown_45":8374091689898950656}} 
[2026-08-08 06:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":151350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:58:14] local.INFO: GPS data processed {"connection_id":151350,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:58:14] local.INFO: Acknowledgment sent {"connection_id":151350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:58:15] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:58:15] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:58:15] local.INFO: Packet analysis {"connection_id":150383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:58:15] local.INFO: Extracted packet for processing {"connection_id":150383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:58:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":150383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:58:15] local.INFO: GPS data processed {"connection_id":150383,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:58:15] local.INFO: Acknowledgment sent {"connection_id":150383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:58:36] local.INFO: TCP Data received {"connection_id":152830,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:58:36] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:58:36] local.INFO: IMEI packet received {"connection_id":152830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":152830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:58:38] local.INFO: TCP Data received {"connection_id":150124,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:58:38] local.INFO: Processing buffer {"connection_id":150124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:58:38] local.INFO: IMEI packet received {"connection_id":150124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":150124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:58:40] local.INFO: TCP Data received {"connection_id":150124,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:58:40] local.INFO: Processing buffer {"connection_id":150124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:58:40] local.INFO: IMEI packet received {"connection_id":150124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":150124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:58:41] local.INFO: TCP Data received {"connection_id":150124,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefb3950012d743ac0062cf1f8002000bf2f..."} 
[2026-08-08 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefb3950012d743ac0062cf1f8002000bf2f..."} 
[2026-08-08 06:58:41] local.INFO: Processing buffer {"connection_id":150124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefb3950012d743ac0062cf1f8002000bf2f..."} 
[2026-08-08 06:58:41] local.INFO: Packet analysis {"connection_id":150124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefb"} 
[2026-08-08 06:58:41] local.INFO: Extracted packet for processing {"connection_id":150124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefb"} 
[2026-08-08 06:58:41] local.INFO: GPS Element Parsed {"raw_longitude":762591936,"raw_latitude":103608824,"longitude_deg":76.2591936,"latitude_deg":10.3608824,"altitude":32,"angle":191,"satellites":47,"speed":0,"hex_longitude":"2d743ac0","hex_latitude":"062cf1f8","is_valid_coordinates":true} 
[2026-08-08 06: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-08-08 06:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255017728001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070353008066560,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374513902363772928,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786152434000,"timestamp_ms":1786152434000,"timestamp_seconds":1786152434,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefb3950"} 
[2026-08-08 06:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-08 06:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06: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-08-08 06:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:58:41] 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-08-08 06:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255017728001,"66":12961,"21":206,"79":21504,"24":0,"16":116070353008066560,"45":8374513902363772928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 06:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255017728001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:58:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 06:58:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070353008066560,"km_value":116070353008066.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374513902363772928,"description":"Unknown IO ID 45"} 
[2026-08-08 06:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255017728001,"power":12961,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374513902363772928}} 
[2026-08-08 06:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":150124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:58:41] local.INFO: GPS data processed {"connection_id":150124,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:58:41] local.INFO: Acknowledgment sent {"connection_id":150124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:58:41] local.INFO: TCP Data received {"connection_id":152830,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:58:41] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:58:41] local.INFO: IMEI packet received {"connection_id":152830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":152830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:58:43] local.INFO: TCP Data received {"connection_id":152830,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:58:43] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:58:43] local.INFO: Packet analysis {"connection_id":152830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:58:43] local.INFO: Extracted packet for processing {"connection_id":152830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:58:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:58:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":152830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:58:43] local.INFO: GPS data processed {"connection_id":152830,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:58:43] local.INFO: Acknowledgment sent {"connection_id":152830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:59:13] local.INFO: TCP Data received {"connection_id":150124,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefb8b58012d7436c0062cf178002100bf2e..."} 
[2026-08-08 06:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefb8b58012d7436c0062cf178002100bf2e..."} 
[2026-08-08 06:59:13] local.INFO: Processing buffer {"connection_id":150124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefb8b58012d7436c0062cf178002100bf2e..."} 
[2026-08-08 06:59:13] local.INFO: Packet analysis {"connection_id":150124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefb"} 
[2026-08-08 06:59:13] local.INFO: Extracted packet for processing {"connection_id":150124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefb"} 
[2026-08-08 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255023104001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8375217589805250560,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786152455000,"timestamp_ms":1786152455000,"timestamp_seconds":1786152455,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefb8b58"} 
[2026-08-08 06:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 06:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 06:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:59:13] 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-08-08 06:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255023104001,"66":13243,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8375217589805250560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 06:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255023104001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:59:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 06:59:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8375217589805250560,"description":"Unknown IO ID 45"} 
[2026-08-08 06:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255023104001,"power":13243,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8375217589805250560}} 
[2026-08-08 06:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":150124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:59:13] local.INFO: GPS data processed {"connection_id":150124,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:59:13] local.INFO: Acknowledgment sent {"connection_id":150124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:59:15] local.INFO: TCP Data received {"connection_id":152830,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:15] local.INFO: Processing buffer {"connection_id":152830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:15] local.INFO: Packet analysis {"connection_id":152830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:59:15] local.INFO: Extracted packet for processing {"connection_id":152830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:59:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:59:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":152830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:59:15] local.INFO: GPS data processed {"connection_id":152830,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:59:15] local.INFO: Acknowledgment sent {"connection_id":152830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:59:32] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:59:32] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:59:32] local.INFO: IMEI packet received {"connection_id":151351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 06:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":151351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:59:38] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:59:38] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 06:59:38] local.INFO: IMEI packet received {"connection_id":151351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 06:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":151351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:59:39] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefbdd60012d7436c0062cf178002100bf2a..."} 
[2026-08-08 06:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefbdd60012d7436c0062cf178002100bf2a..."} 
[2026-08-08 06:59:39] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefbdd60012d7436c0062cf178002100bf2a..."} 
[2026-08-08 06:59:39] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefb"} 
[2026-08-08 06:59:39] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefb"} 
[2026-08-08 06:59:39] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 06:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255028480001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786152476000,"timestamp_ms":1786152476000,"timestamp_seconds":1786152476,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefbdd60"} 
[2026-08-08 06:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:59: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-08-08 06: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 06:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 06:59:39] 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-08-08 06:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 06:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 06:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255028480001,"66":13254,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 06:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 06:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 06:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255028480001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:59:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 06:59:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 06:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 06:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255028480001,"power":13254,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 06:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:59:39] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:59:39] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:59:41] local.INFO: TCP Data received {"connection_id":151352,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:59:41] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:59:41] local.INFO: IMEI packet received {"connection_id":151352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 06:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":151352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 06:59:46] local.INFO: TCP Data received {"connection_id":151352,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:59:46] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 06:59:46] local.INFO: IMEI packet received {"connection_id":151352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 06:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":151352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 06:59:48] local.INFO: TCP Data received {"connection_id":151352,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:48] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:48] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:59:48] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:59:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:59:48] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:59:48] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 06:59:52] local.INFO: TCP Data received {"connection_id":151352,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:52] local.INFO: Processing buffer {"connection_id":151352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 06:59:52] local.INFO: Packet analysis {"connection_id":151352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:59:52] local.INFO: Extracted packet for processing {"connection_id":151352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 06:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 06:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 06:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 06:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 06:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 06:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 06:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 06:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 06:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 06:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 06:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 06:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 06:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 06:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 06:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 06:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 06:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 06:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 06:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 06:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 06:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 06:59:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 06:59:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 06:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 06:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 06:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 06:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":151352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 06:59:52] local.INFO: GPS data processed {"connection_id":151352,"processed":1,"errors":0,"total":1} 
[2026-08-08 06:59:52] local.INFO: Acknowledgment sent {"connection_id":151352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:00:11] local.INFO: TCP Data received {"connection_id":151351,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefc2f68012d7436c0062cf178002100bf29..."} 
[2026-08-08 07:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefc2f68012d7436c0062cf178002100bf29..."} 
[2026-08-08 07:00:11] local.INFO: Processing buffer {"connection_id":151351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefc2f68012d7436c0062cf178002100bf29..."} 
[2026-08-08 07:00:11] local.INFO: Packet analysis {"connection_id":151351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefc"} 
[2026-08-08 07:00:11] local.INFO: Extracted packet for processing {"connection_id":151351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefc"} 
[2026-08-08 07:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255033856001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786152497000,"timestamp_ms":1786152497000,"timestamp_seconds":1786152497,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefc2f68"} 
[2026-08-08 07:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:00: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-08-08 07:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-08 07:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:00:11] 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-08-08 07:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255033856001,"66":13363,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255033856001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:00:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:00:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255033856001,"power":13363,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":151351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:00:11] local.INFO: GPS data processed {"connection_id":151351,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:00:11] local.INFO: Acknowledgment sent {"connection_id":151351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:00:37] local.INFO: TCP Data received {"connection_id":150384,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:00:37] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:00:37] local.INFO: IMEI packet received {"connection_id":150384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":150384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:00:37] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:00:37] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:00:37] local.INFO: IMEI packet received {"connection_id":152831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":152831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:00:41] local.INFO: TCP Data received {"connection_id":150384,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:00:41] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:00:41] local.INFO: IMEI packet received {"connection_id":150384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":150384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:00:43] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:00:43] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:00:43] local.INFO: IMEI packet received {"connection_id":152831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":152831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:00:44] local.INFO: TCP Data received {"connection_id":150384,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 07:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 07:00:44] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdef97430012d34c54006aa4760001301422a..."} 
[2026-08-08 07:00:44] local.INFO: Packet analysis {"connection_id":150384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 07:00:44] local.INFO: Extracted packet for processing {"connection_id":150384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdef9"} 
[2026-08-08 07:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254916352001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786152318000,"timestamp_ms":1786152318000,"timestamp_seconds":1786152318,"priority":1,"record_length":96,"hex_timestamp":"0000019fdef97430"} 
[2026-08-08 07:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254916352001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254916352001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:00:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254916352001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":150384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:00:44] local.INFO: GPS data processed {"connection_id":150384,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:00:44] local.INFO: Acknowledgment sent {"connection_id":150384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:00:45] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefc8170012d7436c0062cf178002100bf2b..."} 
[2026-08-08 07:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefc8170012d7436c0062cf178002100bf2b..."} 
[2026-08-08 07:00:45] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefc8170012d7436c0062cf178002100bf2b..."} 
[2026-08-08 07:00:45] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefc"} 
[2026-08-08 07:00:45] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefc"} 
[2026-08-08 07:00:45] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255039232001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786152518000,"timestamp_ms":1786152518000,"timestamp_seconds":1786152518,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefc8170"} 
[2026-08-08 07:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-08 07:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:00:45] 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-08-08 07:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255039232001,"66":13189,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255039232001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:00:45] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:00:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255039232001,"power":13189,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:00:45] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:00:45] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:00:46] local.INFO: TCP Data received {"connection_id":152831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefcd378012d7436c0062cf178002100bf2a..."} 
[2026-08-08 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefcd378012d7436c0062cf178002100bf2a..."} 
[2026-08-08 07:00:46] local.INFO: Processing buffer {"connection_id":152831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefcd378012d7436c0062cf178002100bf2a..."} 
[2026-08-08 07:00:46] local.INFO: Packet analysis {"connection_id":152831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefc"} 
[2026-08-08 07:00:46] local.INFO: Extracted packet for processing {"connection_id":152831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefc"} 
[2026-08-08 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255044608001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786152539000,"timestamp_ms":1786152539000,"timestamp_seconds":1786152539,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefcd378"} 
[2026-08-08 07:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-08 07:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:00:46] 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-08-08 07:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255044608001,"66":13319,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255044608001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:00:46] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:00:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255044608001,"power":13319,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":152831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:00:46] local.INFO: GPS data processed {"connection_id":152831,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:00:46] local.INFO: Acknowledgment sent {"connection_id":152831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:00:52] local.INFO: TCP Data received {"connection_id":150385,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:00:52] local.INFO: Processing buffer {"connection_id":150385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:00:52] local.INFO: IMEI packet received {"connection_id":150385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":150385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:01:16] local.INFO: TCP Data received {"connection_id":150384,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:01:16] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:01:16] local.INFO: Packet analysis {"connection_id":150384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:01:16] local.INFO: Extracted packet for processing {"connection_id":150384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:01:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":150384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:01:16] local.INFO: GPS data processed {"connection_id":150384,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:01:16] local.INFO: Acknowledgment sent {"connection_id":150384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:01:32] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:01:32] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:01:32] local.INFO: IMEI packet received {"connection_id":151353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":151353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:01:36] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:01:36] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:01:36] local.INFO: IMEI packet received {"connection_id":151354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":151354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:01:37] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:01:37] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:01:37] local.INFO: IMEI packet received {"connection_id":151353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":151353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:01:39] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefd2580012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefd2580012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:01:39] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefd2580012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:01:39] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefd"} 
[2026-08-08 07:01:39] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefd"} 
[2026-08-08 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255049984001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786152560000,"timestamp_ms":1786152560000,"timestamp_seconds":1786152560,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefd2580"} 
[2026-08-08 07:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3740985160,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4220213249,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-414331036861453056,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3860136142,"corrected_to":0} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221630193,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184486,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57955348107906900,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-7129196915392593914,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,21,79,24,241,157,16,93,159,129,45,192,33,43,10,66,47,41,221,1,240,198,227,222,44,4,113,205,57,58,248,239,50,2,156,6,29,5,144,250],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3860136142,"validated":0}]} 
[2026-08-08 07:01:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378110790361153536,"timestamp_seconds":2378110790361153.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 07:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:01:39] 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-08-08 07:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255049984001,"66":12939,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255049984001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:01:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:01:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255049984001,"power":12939,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:01:39] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:01:39] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:01:41] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:01:41] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:01:41] local.INFO: IMEI packet received {"connection_id":151354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":151354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:01:43] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefd7788012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefd7788012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:01:43] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefd7788012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:01:43] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefd"} 
[2026-08-08 07:01:43] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefd"} 
[2026-08-08 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255055360001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152581000,"timestamp_ms":1786152581000,"timestamp_seconds":1786152581,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefd7788"} 
[2026-08-08 07:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 07:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:01:43] 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-08-08 07:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255055360001,"66":13341,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255055360001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:01:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:01:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255055360001,"power":13341,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:01:43] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:01:43] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:01:44] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:01:44] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:01:44] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:01:44] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:01:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:01:44] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:01:44] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:02:15] local.INFO: TCP Data received {"connection_id":151353,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefdc990012d7436c0062cf178002100bf2e..."} 
[2026-08-08 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefdc990012d7436c0062cf178002100bf2e..."} 
[2026-08-08 07:02:15] local.INFO: Processing buffer {"connection_id":151353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefdc990012d7436c0062cf178002100bf2e..."} 
[2026-08-08 07:02:15] local.INFO: Packet analysis {"connection_id":151353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefd"} 
[2026-08-08 07:02:15] local.INFO: Extracted packet for processing {"connection_id":151353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefd"} 
[2026-08-08 07:02:15] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255060736001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786152602000,"timestamp_ms":1786152602000,"timestamp_seconds":1786152602,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefdc990"} 
[2026-08-08 07:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:02: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-08-08 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-08 07:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:02:15] 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-08-08 07:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255060736001,"66":13276,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255060736001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:02:15] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:02:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255060736001,"power":13276,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":151353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:02:15] local.INFO: GPS data processed {"connection_id":151353,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:02:15] local.INFO: Acknowledgment sent {"connection_id":151353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:02:16] local.INFO: TCP Data received {"connection_id":151354,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:16] local.INFO: Processing buffer {"connection_id":151354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:16] local.INFO: Packet analysis {"connection_id":151354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:16] local.INFO: Extracted packet for processing {"connection_id":151354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:02:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:02:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":151354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:02:16] local.INFO: GPS data processed {"connection_id":151354,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:02:16] local.INFO: Acknowledgment sent {"connection_id":151354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:02:30] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:30] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:30] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:02:32] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:32] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:32] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:02:39] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:39] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:02:39] local.INFO: IMEI packet received {"connection_id":152832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":152832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:02:40] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe1b98012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe1b98012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:02:40] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe1b98012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:02:40] local.INFO: Packet analysis {"connection_id":152832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:40] local.INFO: Extracted packet for processing {"connection_id":152832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:40] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255066112001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786152623000,"timestamp_ms":1786152623000,"timestamp_seconds":1786152623,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe1b98"} 
[2026-08-08 07:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:02: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-08-08 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 07:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":152832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":152832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":152832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:02:40] 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-08-08 07:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255066112001,"66":13363,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255066112001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:02:40] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:02:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255066112001,"power":13363,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":152832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:02:40] local.INFO: GPS data processed {"connection_id":152832,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:02:40] local.INFO: Acknowledgment sent {"connection_id":152832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:02:41] local.INFO: TCP Data received {"connection_id":150125,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:02:41] local.INFO: Processing buffer {"connection_id":150125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:02:41] local.INFO: IMEI packet received {"connection_id":150125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:02:46] local.INFO: TCP Data received {"connection_id":150125,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:02:46] local.INFO: Processing buffer {"connection_id":150125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:02:46] local.INFO: IMEI packet received {"connection_id":150125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":150125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:02:50] local.INFO: TCP Data received {"connection_id":150125,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:50] local.INFO: Processing buffer {"connection_id":150125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:50] local.INFO: Packet analysis {"connection_id":150125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:50] local.INFO: Extracted packet for processing {"connection_id":150125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:02:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:02:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":150125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:02:50] local.INFO: GPS data processed {"connection_id":150125,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:02:50] local.INFO: Acknowledgment sent {"connection_id":150125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:02:53] local.INFO: TCP Data received {"connection_id":150125,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:53] local.INFO: Processing buffer {"connection_id":150125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:02:53] local.INFO: Packet analysis {"connection_id":150125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:53] local.INFO: Extracted packet for processing {"connection_id":150125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:02:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":150125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:02:53] local.INFO: GPS data processed {"connection_id":150125,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:02:53] local.INFO: Acknowledgment sent {"connection_id":150125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:03:12] local.INFO: TCP Data received {"connection_id":152832,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe6da0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe6da0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:03:12] local.INFO: Processing buffer {"connection_id":152832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe6da0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:03:12] local.INFO: Packet analysis {"connection_id":152832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:03:12] local.INFO: Extracted packet for processing {"connection_id":152832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:03:12] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255071488001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786152644000,"timestamp_ms":1786152644000,"timestamp_seconds":1786152644,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe6da0"} 
[2026-08-08 07:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-08 07:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:03:12] 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-08-08 07:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255071488001,"66":13102,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255071488001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:03:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:03:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255071488001,"power":13102,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":152832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:03:12] local.INFO: GPS data processed {"connection_id":152832,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:03:12] local.INFO: Acknowledgment sent {"connection_id":152832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:03:32] local.INFO: TCP Data received {"connection_id":150386,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:03:32] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:03:32] local.INFO: IMEI packet received {"connection_id":150386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":150386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:03:36] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:03:36] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:03:36] local.INFO: IMEI packet received {"connection_id":150387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":150387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:03:37] local.INFO: TCP Data received {"connection_id":150386,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:03:37] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:03:37] local.INFO: IMEI packet received {"connection_id":150386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":150386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:03:38] local.INFO: TCP Data received {"connection_id":150386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefebfa8012d7436c0062cf178002100bf2e..."} 
[2026-08-08 07:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefebfa8012d7436c0062cf178002100bf2e..."} 
[2026-08-08 07:03:38] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefebfa8012d7436c0062cf178002100bf2e..."} 
[2026-08-08 07:03:38] local.INFO: Packet analysis {"connection_id":150386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:03:38] local.INFO: Extracted packet for processing {"connection_id":150386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:03:38] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":46,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255076864001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786152665000,"timestamp_ms":1786152665000,"timestamp_seconds":1786152665,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefebfa8"} 
[2026-08-08 07:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:03: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-08-08 07:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 07:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:03:38] 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-08-08 07:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255076864001,"66":13352,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255076864001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:03:38] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:03:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255076864001,"power":13352,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":150386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:03:38] local.INFO: GPS data processed {"connection_id":150386,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:03:38] local.INFO: Acknowledgment sent {"connection_id":150386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:03:41] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:03:41] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:03:41] local.INFO: IMEI packet received {"connection_id":150387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":150387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:03:43] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:03:43] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:03:43] local.INFO: Packet analysis {"connection_id":150387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:03:43] local.INFO: Extracted packet for processing {"connection_id":150387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":150387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:03:43] local.INFO: GPS data processed {"connection_id":150387,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:03:43] local.INFO: Acknowledgment sent {"connection_id":150387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:03:43] local.INFO: TCP Data received {"connection_id":150386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeff11b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeff11b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:03:43] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeff11b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:03:43] local.INFO: Packet analysis {"connection_id":150386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeff"} 
[2026-08-08 07:03:43] local.INFO: Extracted packet for processing {"connection_id":150386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeff"} 
[2026-08-08 07:03:43] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255082240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152686000,"timestamp_ms":1786152686000,"timestamp_seconds":1786152686,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeff11b0"} 
[2026-08-08 07:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:03:43] 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-08-08 07:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255082240001,"66":13374,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255082240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255082240001,"power":13374,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":150386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:03:43] local.INFO: GPS data processed {"connection_id":150386,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:03:43] local.INFO: Acknowledgment sent {"connection_id":150386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:04:14] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:04:14] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:04:14] local.INFO: Packet analysis {"connection_id":150387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:04:14] local.INFO: Extracted packet for processing {"connection_id":150387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":150387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:04:14] local.INFO: GPS data processed {"connection_id":150387,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:04:14] local.INFO: Acknowledgment sent {"connection_id":150387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:04:14] local.INFO: TCP Data received {"connection_id":150386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeff63b8012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeff63b8012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:04:14] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeff63b8012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:04:14] local.INFO: Packet analysis {"connection_id":150386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeff"} 
[2026-08-08 07:04:14] local.INFO: Extracted packet for processing {"connection_id":150386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeff"} 
[2026-08-08 07:04:14] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255087616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152707000,"timestamp_ms":1786152707000,"timestamp_seconds":1786152707,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeff63b8"} 
[2026-08-08 07:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 07:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:04:14] 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-08-08 07:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255087616001,"66":13330,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255087616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255087616001,"power":13330,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":150386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:04:14] local.INFO: GPS data processed {"connection_id":150386,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:04:14] local.INFO: Acknowledgment sent {"connection_id":150386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:04:36] local.INFO: TCP Data received {"connection_id":151355,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:04:36] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:04:36] local.INFO: IMEI packet received {"connection_id":151355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":151355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:04:37] local.INFO: TCP Data received {"connection_id":150126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:04:37] local.INFO: Processing buffer {"connection_id":150126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:04:37] local.INFO: IMEI packet received {"connection_id":150126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":150126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:04:41] local.INFO: TCP Data received {"connection_id":151355,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:04:41] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:04:41] local.INFO: IMEI packet received {"connection_id":151355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":151355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:04:42] local.INFO: TCP Data received {"connection_id":150126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:04:42] local.INFO: Processing buffer {"connection_id":150126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:04:42] local.INFO: IMEI packet received {"connection_id":150126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":150126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:04:43] local.INFO: TCP Data received {"connection_id":151355,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:04:43] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:04:43] local.INFO: Packet analysis {"connection_id":151355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:04:43] local.INFO: Extracted packet for processing {"connection_id":151355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:04:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":151355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:04:43] local.INFO: GPS data processed {"connection_id":151355,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:04:43] local.INFO: Acknowledgment sent {"connection_id":151355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:04:45] local.INFO: TCP Data received {"connection_id":150126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdeffb5c0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdeffb5c0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:04:45] local.INFO: Processing buffer {"connection_id":150126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdeffb5c0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:04:45] local.INFO: Packet analysis {"connection_id":150126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdeff"} 
[2026-08-08 07:04:45] local.INFO: Extracted packet for processing {"connection_id":150126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdeff"} 
[2026-08-08 07:04:45] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255092992001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786152728000,"timestamp_ms":1786152728000,"timestamp_seconds":1786152728,"priority":1,"record_length":96,"hex_timestamp":"0000019fdeffb5c0"} 
[2026-08-08 07:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3741153160,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1047086771617190656,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3275303027370422648,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4263221249,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3860136142,"corrected_to":0} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2415996276,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3221630193,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040230,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57955348107906900,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":253,"raw_value":2702161071157198854,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":230,"raw_value":1513436314903517184,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,21,79,24,241,157,16,93,159,17,45,192,33,44,10,66,191,46,109,1,240,227,222,4,113,205,201,54,120,239,51,2,156,6,29,253,230,91],"length":626,"final_offset":756,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3860136142,"validated":0}]} 
[2026-08-08 07:04:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378110798951088128,"timestamp_seconds":2378110798951088.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 07:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255092992001,"66":13472,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255092992001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:04:45] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:04:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255092992001,"power":13472,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":150126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:04:45] local.INFO: GPS data processed {"connection_id":150126,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:04:45] local.INFO: Acknowledgment sent {"connection_id":150126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:04:48] local.INFO: TCP Data received {"connection_id":150126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0007c8012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0007c8012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:04:48] local.INFO: Processing buffer {"connection_id":150126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0007c8012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:04:48] local.INFO: Packet analysis {"connection_id":150126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:04:48] local.INFO: Extracted packet for processing {"connection_id":150126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:04:48] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255098368001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786152749000,"timestamp_ms":1786152749000,"timestamp_seconds":1786152749,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0007c8"} 
[2026-08-08 07:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-08 07:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255098368001,"66":13091,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255098368001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:04:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:04:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255098368001,"power":13091,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":150126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:04:48] local.INFO: GPS data processed {"connection_id":150126,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:04:48] local.INFO: Acknowledgment sent {"connection_id":150126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:05:14] local.INFO: TCP Data received {"connection_id":151355,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:05:15] local.INFO: Processing buffer {"connection_id":151355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:05:15] local.INFO: Packet analysis {"connection_id":151355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:05:15] local.INFO: Extracted packet for processing {"connection_id":151355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:05:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":151355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:05:15] local.INFO: GPS data processed {"connection_id":151355,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:05:15] local.INFO: Acknowledgment sent {"connection_id":151355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:05:32] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:05:32] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:05:32] local.INFO: IMEI packet received {"connection_id":151356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":151356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:05:36] local.INFO: TCP Data received {"connection_id":150389,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:05:36] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:05:36] local.INFO: IMEI packet received {"connection_id":150389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:05:37] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:05:37] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:05:37] local.INFO: IMEI packet received {"connection_id":151356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":151356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:05:39] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0059d0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0059d0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:05:39] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0059d0012d7436c0062cf178002100bf2d..."} 
[2026-08-08 07:05:39] local.INFO: Packet analysis {"connection_id":151356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:05:39] local.INFO: Extracted packet for processing {"connection_id":151356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255103744001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786152770000,"timestamp_ms":1786152770000,"timestamp_seconds":1786152770,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0059d0"} 
[2026-08-08 07:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:05: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-08-08 07:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 07:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255103744001,"66":13396,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255103744001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:05:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:05:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255103744001,"power":13396,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":151356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:05:39] local.INFO: GPS data processed {"connection_id":151356,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:05:39] local.INFO: Acknowledgment sent {"connection_id":151356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:05:41] local.INFO: TCP Data received {"connection_id":150389,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:05:41] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:05:41] local.INFO: IMEI packet received {"connection_id":150389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":150389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:05:44] local.INFO: TCP Data received {"connection_id":150389,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:05:44] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdefe0bf8012d34c54006aa47600013014226..."} 
[2026-08-08 07:05:44] local.INFO: Packet analysis {"connection_id":150389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:05:44] local.INFO: Extracted packet for processing {"connection_id":150389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdefe"} 
[2026-08-08 07:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457254993408001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786152619000,"timestamp_ms":1786152619000,"timestamp_seconds":1786152619,"priority":1,"record_length":96,"hex_timestamp":"0000019fdefe0bf8"} 
[2026-08-08 07:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457254993408001,"66":25712,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457254993408001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:05:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:05:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457254993408001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":150389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:05:44] local.INFO: GPS data processed {"connection_id":150389,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:05:44] local.INFO: Acknowledgment sent {"connection_id":150389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:06:11] local.INFO: TCP Data received {"connection_id":151356,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:11] local.INFO: Processing buffer {"connection_id":151356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:11] local.INFO: Packet analysis {"connection_id":151356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:06:11] local.INFO: Extracted packet for processing {"connection_id":151356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:06:11] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:06: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-08-08 07:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255109120001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786152782000,"timestamp_ms":1786152782000,"timestamp_seconds":1786152782,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0088b0"} 
[2026-08-08 07:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 07:06: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-08-08 07:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255109120001,"66":13406,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255109120001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:06:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:06:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255109120001,"power":13406,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":151356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:06:11] local.INFO: GPS data processed {"connection_id":151356,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:06:11] local.INFO: Acknowledgment sent {"connection_id":151356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:06:15] local.INFO: TCP Data received {"connection_id":150389,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:06:15] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:06:15] local.INFO: Packet analysis {"connection_id":150389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf02"} 
[2026-08-08 07:06:15] local.INFO: Extracted packet for processing {"connection_id":150389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf02"} 
[2026-08-08 07:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255070464001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786152920000,"timestamp_ms":1786152920000,"timestamp_seconds":1786152920,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf02a3c0"} 
[2026-08-08 07:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 07:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255070464001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255070464001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:06:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255070464001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":150389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:06:15] local.INFO: GPS data processed {"connection_id":150389,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:06:15] local.INFO: Acknowledgment sent {"connection_id":150389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:06:23] local.INFO: TCP Data received {"connection_id":150388,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:06:23] local.INFO: Processing buffer {"connection_id":150388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:06:23] local.INFO: IMEI packet received {"connection_id":150388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":150388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:06:36] local.INFO: TCP Data received {"connection_id":152833,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:06:36] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:06:36] local.INFO: IMEI packet received {"connection_id":152833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":152833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:06:37] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:06:37] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:06:37] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:06:41] local.INFO: TCP Data received {"connection_id":152833,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:06:41] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:06:41] local.INFO: IMEI packet received {"connection_id":152833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":152833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:06:42] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:06:42] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:06:42] local.INFO: IMEI packet received {"connection_id":152834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":152834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:06:43] local.INFO: TCP Data received {"connection_id":152833,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:06:43] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:06:43] local.INFO: Packet analysis {"connection_id":152833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf02"} 
[2026-08-08 07:06:43] local.INFO: Extracted packet for processing {"connection_id":152833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf02"} 
[2026-08-08 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255070464001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152920000,"timestamp_ms":1786152920000,"timestamp_seconds":1786152920,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf02a3c0"} 
[2026-08-08 07:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 07:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255070464001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255070464001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:06:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255070464001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":152833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:06:43] local.INFO: GPS data processed {"connection_id":152833,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:06:43] local.INFO: Acknowledgment sent {"connection_id":152833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:06:46] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:46] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:46] local.INFO: Packet analysis {"connection_id":152834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:06:46] local.INFO: Extracted packet for processing {"connection_id":152834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:06:46] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786152782000,"timestamp_ms":1786152782000,"timestamp_seconds":1786152782,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0088b0"} 
[2026-08-08 07:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13406,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:06:46] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:06:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13406,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":152834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:06:46] local.INFO: GPS data processed {"connection_id":152834,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:06:46] local.INFO: Acknowledgment sent {"connection_id":152834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:06:48] local.INFO: TCP Data received {"connection_id":152834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:48] local.INFO: Processing buffer {"connection_id":152834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:06:48] local.INFO: Packet analysis {"connection_id":152834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:06:48] local.INFO: Extracted packet for processing {"connection_id":152834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:06:48] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786152782000,"timestamp_ms":1786152782000,"timestamp_seconds":1786152782,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0088b0"} 
[2026-08-08 07:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13406,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:06:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:06:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13406,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":152834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:06:48] local.INFO: GPS data processed {"connection_id":152834,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:06:48] local.INFO: Acknowledgment sent {"connection_id":152834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:07:14] local.INFO: TCP Data received {"connection_id":152833,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:07:14] local.INFO: Processing buffer {"connection_id":152833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf02a3c0012d34c54006aa47600013014227..."} 
[2026-08-08 07:07:14] local.INFO: Packet analysis {"connection_id":152833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf02"} 
[2026-08-08 07:07:14] local.INFO: Extracted packet for processing {"connection_id":152833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf02"} 
[2026-08-08 07:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255070464001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786152920000,"timestamp_ms":1786152920000,"timestamp_seconds":1786152920,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf02a3c0"} 
[2026-08-08 07:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 07:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255070464001,"66":25647,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255070464001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:07:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255070464001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:07:14] local.INFO: GPS data processed {"connection_id":152833,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:07:14] local.INFO: Acknowledgment sent {"connection_id":152833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:07:32] local.INFO: TCP Data received {"connection_id":150390,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:07:33] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:07:33] local.INFO: IMEI packet received {"connection_id":150390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":150390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:07:36] local.INFO: TCP Data received {"connection_id":151357,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:36] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:36] local.INFO: IMEI packet received {"connection_id":151357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":151357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:07:37] local.INFO: TCP Data received {"connection_id":150390,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:07:37] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:07:37] local.INFO: IMEI packet received {"connection_id":150390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":150390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:07:37] local.INFO: TCP Data received {"connection_id":151357,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:38] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:38] local.INFO: IMEI packet received {"connection_id":151357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":151357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:07:39] local.INFO: TCP Data received {"connection_id":150390,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:07:39] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0088b0012d7436c0062cf178002100bf2c..."} 
[2026-08-08 07:07:39] local.INFO: Packet analysis {"connection_id":150390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:07:39] local.INFO: Extracted packet for processing {"connection_id":150390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf00"} 
[2026-08-08 07:07:39] local.INFO: GPS Element Parsed {"raw_longitude":762590912,"raw_latitude":103608696,"longitude_deg":76.2590912,"latitude_deg":10.3608696,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d7436c0","hex_latitude":"062cf178","is_valid_coordinates":true} 
[2026-08-08 07:07: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-08-08 07:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786152782000,"timestamp_ms":1786152782000,"timestamp_seconds":1786152782,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0088b0"} 
[2026-08-08 07:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:07: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-08-08 07:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13406,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:07:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:07:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13406,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":150390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:07:39] local.INFO: GPS data processed {"connection_id":150390,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:07:39] local.INFO: Acknowledgment sent {"connection_id":150390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:07:41] local.INFO: TCP Data received {"connection_id":151357,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:41] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:07:41] local.INFO: IMEI packet received {"connection_id":151357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":151357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:07:43] local.INFO: TCP Data received {"connection_id":151357,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf03d470012d34c54006aa4760001301422a..."} 
[2026-08-08 07:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf03d470012d34c54006aa4760001301422a..."} 
[2026-08-08 07:07:43] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf03d470012d34c54006aa4760001301422a..."} 
[2026-08-08 07:07:43] local.INFO: Packet analysis {"connection_id":151357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf03"} 
[2026-08-08 07:07:43] local.INFO: Extracted packet for processing {"connection_id":151357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf03"} 
[2026-08-08 07:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111822688,"longitude_deg":75.8433088,"latitude_deg":11.1822688,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-08-08 07:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255147520001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786152998000,"timestamp_ms":1786152998000,"timestamp_seconds":1786152998,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf03d470"} 
[2026-08-08 07:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 07:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255147520001,"66":25702,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255147520001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255147520001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":151357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:07:43] local.INFO: GPS data processed {"connection_id":151357,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:07:43] local.INFO: Acknowledgment sent {"connection_id":151357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:08:11] local.INFO: TCP Data received {"connection_id":150390,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:08:11] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:08:11] local.INFO: Packet analysis {"connection_id":150390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:08:11] local.INFO: Extracted packet for processing {"connection_id":150390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:08:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:08:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:08:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":150390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:08:11] local.INFO: GPS data processed {"connection_id":150390,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:08:11] local.INFO: Acknowledgment sent {"connection_id":150390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:08:15] local.INFO: TCP Data received {"connection_id":151357,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf042678012d34c40006aa48080013014229..."} 
[2026-08-08 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf042678012d34c40006aa48080013014229..."} 
[2026-08-08 07:08:15] local.INFO: Processing buffer {"connection_id":151357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf042678012d34c40006aa48080013014229..."} 
[2026-08-08 07:08:15] local.INFO: Packet analysis {"connection_id":151357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf04"} 
[2026-08-08 07:08:15] local.INFO: Extracted packet for processing {"connection_id":151357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf04"} 
[2026-08-08 07:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":19,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-08-08 07:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255167488001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755037696,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786153019000,"timestamp_ms":1786153019000,"timestamp_seconds":1786153019,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf042678"} 
[2026-08-08 07:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255167488001,"66":27800,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802515857755037696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255167488001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:08:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755037696,"description":"Unknown IO ID 45"} 
[2026-08-08 07:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255167488001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755037696}} 
[2026-08-08 07:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":151357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:08:15] local.INFO: GPS data processed {"connection_id":151357,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:08:15] local.INFO: Acknowledgment sent {"connection_id":151357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:08:32] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:08:32] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:08:32] local.INFO: IMEI packet received {"connection_id":151358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":151358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:08:36] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:08:36] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:08:36] local.INFO: IMEI packet received {"connection_id":150391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":150391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:08:38] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:08:38] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:08:38] local.INFO: IMEI packet received {"connection_id":151358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":151358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:08:40] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:08:40] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:08:40] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:08:40] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:08:40] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:08: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-08-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:08:40] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:08:40] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:08:41] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:08:41] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:08:41] local.INFO: IMEI packet received {"connection_id":150391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":150391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:08:42] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf047880012d34c40006aa4808001301422b..."} 
[2026-08-08 07:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf047880012d34c40006aa4808001301422b..."} 
[2026-08-08 07:08:42] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf047880012d34c40006aa4808001301422b..."} 
[2026-08-08 07:08:42] local.INFO: Packet analysis {"connection_id":150391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf04"} 
[2026-08-08 07:08:42] local.INFO: Extracted packet for processing {"connection_id":150391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf04"} 
[2026-08-08 07:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":19,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-08-08 07:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255172864001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-08-08 07:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786153040000,"timestamp_ms":1786153040000,"timestamp_seconds":1786153040,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf047880"} 
[2026-08-08 07:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 07:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255172864001,"66":27691,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802164014034192384},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255172864001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:08:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-08-08 07:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255172864001,"power":27691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-08-08 07:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":150391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:08:42] local.INFO: GPS data processed {"connection_id":150391,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:08:42] local.INFO: Acknowledgment sent {"connection_id":150391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:09:12] local.INFO: TCP Data received {"connection_id":151358,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:12] local.INFO: Processing buffer {"connection_id":151358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:12] local.INFO: Packet analysis {"connection_id":151358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:12] local.INFO: Extracted packet for processing {"connection_id":151358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:09:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:09:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":151358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:09:12] local.INFO: GPS data processed {"connection_id":151358,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:09:12] local.INFO: Acknowledgment sent {"connection_id":151358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:09:13] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf04ca88012d34c40006aa4808001301422a..."} 
[2026-08-08 07:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf04ca88012d34c40006aa4808001301422a..."} 
[2026-08-08 07:09:13] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf04ca88012d34c40006aa4808001301422a..."} 
[2026-08-08 07:09:13] local.INFO: Packet analysis {"connection_id":150391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf04"} 
[2026-08-08 07:09:13] local.INFO: Extracted packet for processing {"connection_id":150391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf04"} 
[2026-08-08 07:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822856,"longitude_deg":75.8432768,"latitude_deg":11.1822856,"altitude":19,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4808","is_valid_coordinates":true} 
[2026-08-08 07:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255178240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886675697893376,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034192384,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786153061000,"timestamp_ms":1786153061000,"timestamp_seconds":1786153061,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf04ca88"} 
[2026-08-08 07:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":43,"data_length":795,"current_offset":136} 
[2026-08-08 07:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255178240001,"66":27800,"106":206,"28":21760,"24":0,"16":374886675697893376,"45":3802164014034192384},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255178240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:09:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:09:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886675697893376,"km_value":374886675697893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034192384,"description":"Unknown IO ID 45"} 
[2026-08-08 07:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255178240001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034192384}} 
[2026-08-08 07:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":150391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:09:13] local.INFO: GPS data processed {"connection_id":150391,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:09:13] local.INFO: Acknowledgment sent {"connection_id":150391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:09:36] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:36] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:36] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:09:37] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:09:37] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:09:37] local.INFO: IMEI packet received {"connection_id":152835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":152835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:09:39] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:39] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:39] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:09:40] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:40] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:40] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:09:41] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:41] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:09:41] local.INFO: IMEI packet received {"connection_id":152836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":152836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:09:42] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:09:42] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:09:42] local.INFO: IMEI packet received {"connection_id":152835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":152835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:09:43] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf059d78012d34c18006aa4000000b01012e..."} 
[2026-08-08 07:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf059d78012d34c18006aa4000000b01012e..."} 
[2026-08-08 07:09:43] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf059d78012d34c18006aa4000000b01012e..."} 
[2026-08-08 07:09:43] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:43] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820800,"longitude_deg":75.8432128,"latitude_deg":11.18208,"altitude":11,"angle":257,"satellites":46,"speed":5,"hex_longitude":"2d34c180","hex_latitude":"06aa4000","is_valid_coordinates":true} 
[2026-08-08 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255197184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886787367043072,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080267264,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153115000,"timestamp_ms":1786153115000,"timestamp_seconds":1786153115,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf059d78"} 
[2026-08-08 07:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 07:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255197184001,"66":27930,"106":206,"28":21760,"24":5,"16":374886787367043072,"45":3801601064080267264},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255197184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:09:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886787367043072,"km_value":374886787367043.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080267264,"description":"Unknown IO ID 45"} 
[2026-08-08 07:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255197184001,"power":27930,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3801601064080267264}} 
[2026-08-08 07:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:09:43] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:09:43] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:09:44] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:44] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:44] local.INFO: Packet analysis {"connection_id":152835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:44] local.INFO: Extracted packet for processing {"connection_id":152835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:09: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-08-08 07: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-08-08 07:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:09:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:09:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":152835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:09:44] local.INFO: GPS data processed {"connection_id":152835,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:09:44] local.INFO: Acknowledgment sent {"connection_id":152835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:09:47] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf05a548012d34c0c006aa3fd0000a010d2d..."} 
[2026-08-08 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf05a548012d34c0c006aa3fd0000a010d2d..."} 
[2026-08-08 07:09:47] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf05a548012d34c0c006aa3fd0000a010d2d..."} 
[2026-08-08 07:09:47] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:47] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111820752,"longitude_deg":75.8431936,"latitude_deg":11.1820752,"altitude":10,"angle":269,"satellites":45,"speed":3,"hex_longitude":"2d34c0c0","hex_latitude":"06aa3fd0","is_valid_coordinates":true} 
[2026-08-08 07:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255197440001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886800251944960,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591889408,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786153117000,"timestamp_ms":1786153117000,"timestamp_seconds":1786153117,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf05a548"} 
[2026-08-08 07:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 07:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255197440001,"66":28028,"106":206,"28":21760,"24":3,"16":374886800251944960,"45":3801460326591889408},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255197440001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:09:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:09:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886800251944960,"km_value":374886800251944.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591889408,"description":"Unknown IO ID 45"} 
[2026-08-08 07:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255197440001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801460326591889408}} 
[2026-08-08 07:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:09:47] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:09:47] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:09:48] local.INFO: TCP Data received {"connection_id":152835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:48] local.INFO: Processing buffer {"connection_id":152835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:09:48] local.INFO: Packet analysis {"connection_id":152835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:48] local.INFO: Extracted packet for processing {"connection_id":152835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:09:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:09:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:09:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":152835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:09:48] local.INFO: GPS data processed {"connection_id":152835,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:09:48] local.INFO: Acknowledgment sent {"connection_id":152835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:10:19] local.INFO: TCP Data received {"connection_id":152836,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf05b100012d34c04006aa3fc0000a011c2d..."} 
[2026-08-08 07:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf05b100012d34c04006aa3fc0000a011c2d..."} 
[2026-08-08 07:10:19] local.INFO: Processing buffer {"connection_id":152836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf05b100012d34c04006aa3fc0000a011c2d..."} 
[2026-08-08 07:10:19] local.INFO: Packet analysis {"connection_id":152836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:10:19] local.INFO: Extracted packet for processing {"connection_id":152836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":10,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255197952001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359344128,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786153120000,"timestamp_ms":1786153120000,"timestamp_seconds":1786153120,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf05b100"} 
[2026-08-08 07:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 07:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255197952001,"66":27321,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801249220359344128},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255197952001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:10:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359344128,"description":"Unknown IO ID 45"} 
[2026-08-08 07:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255197952001,"power":27321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801249220359344128}} 
[2026-08-08 07:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":152836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:10:19] local.INFO: GPS data processed {"connection_id":152836,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:10:19] local.INFO: Acknowledgment sent {"connection_id":152836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:10:33] local.INFO: TCP Data received {"connection_id":150127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:10:33] local.INFO: Processing buffer {"connection_id":150127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:10:33] local.INFO: IMEI packet received {"connection_id":150127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":150127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:10:37] local.INFO: TCP Data received {"connection_id":150127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:10:37] local.INFO: Processing buffer {"connection_id":150127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:10:37] local.INFO: IMEI packet received {"connection_id":150127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":150127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:10:39] local.INFO: TCP Data received {"connection_id":150127,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:10:39] local.INFO: Processing buffer {"connection_id":150127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:10:39] local.INFO: Packet analysis {"connection_id":150127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:10:39] local.INFO: Extracted packet for processing {"connection_id":150127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:10:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:10: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-08-08 07:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:10:39] 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-08-08 07:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:10:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:10:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":150127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:10:39] local.INFO: GPS data processed {"connection_id":150127,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:10:39] local.INFO: Acknowledgment sent {"connection_id":150127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:10:41] local.INFO: TCP Data received {"connection_id":150128,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:10:41] local.INFO: Processing buffer {"connection_id":150128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:10:41] local.INFO: IMEI packet received {"connection_id":150128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":150128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:10:46] local.INFO: TCP Data received {"connection_id":150128,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:10:46] local.INFO: Processing buffer {"connection_id":150128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:10:46] local.INFO: IMEI packet received {"connection_id":150128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":150128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:10:48] local.INFO: TCP Data received {"connection_id":150128,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf060308012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf060308012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:10:48] local.INFO: Processing buffer {"connection_id":150128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf060308012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:10:48] local.INFO: Packet analysis {"connection_id":150128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:10:48] local.INFO: Extracted packet for processing {"connection_id":150128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255198720001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153141000,"timestamp_ms":1786153141000,"timestamp_seconds":1786153141,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf060308"} 
[2026-08-08 07:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:10: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-08-08 07:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 07:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255198720001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255198720001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:10:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255198720001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":150128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:10:48] local.INFO: GPS data processed {"connection_id":150128,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:10:48] local.INFO: Acknowledgment sent {"connection_id":150128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:11:11] local.INFO: TCP Data received {"connection_id":150127,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:11:11] local.INFO: Processing buffer {"connection_id":150127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:11:11] local.INFO: Packet analysis {"connection_id":150127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:11:11] local.INFO: Extracted packet for processing {"connection_id":150127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:11:11] 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-08-08 07:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:11:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:11:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":150127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:11:11] local.INFO: GPS data processed {"connection_id":150127,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:11:11] local.INFO: Acknowledgment sent {"connection_id":150127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:11:19] local.INFO: TCP Data received {"connection_id":150128,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:11:19] local.INFO: Processing buffer {"connection_id":150128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:11:19] local.INFO: Packet analysis {"connection_id":150128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:11:19] local.INFO: Extracted packet for processing {"connection_id":150128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:11:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":150128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:11:19] local.INFO: GPS data processed {"connection_id":150128,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:11:19] local.INFO: Acknowledgment sent {"connection_id":150128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:11:32] local.INFO: TCP Data received {"connection_id":150129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:11:32] local.INFO: Processing buffer {"connection_id":150129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:11:32] local.INFO: IMEI packet received {"connection_id":150129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":150129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:11:36] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:11:36] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:11:36] local.INFO: IMEI packet received {"connection_id":151360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":151360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:11:37] local.INFO: TCP Data received {"connection_id":150129,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:11:37] local.INFO: Processing buffer {"connection_id":150129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:11:37] local.INFO: IMEI packet received {"connection_id":150129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":150129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:11:39] local.INFO: TCP Data received {"connection_id":150129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:11:39] local.INFO: Processing buffer {"connection_id":150129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:11:39] local.INFO: Packet analysis {"connection_id":150129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:11:39] local.INFO: Extracted packet for processing {"connection_id":150129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:11: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-08-08 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:11:39] 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-08-08 07:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:11:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:11:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":150129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:11:39] local.INFO: GPS data processed {"connection_id":150129,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:11:39] local.INFO: Acknowledgment sent {"connection_id":150129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:11:41] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:11:41] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:11:41] local.INFO: IMEI packet received {"connection_id":151360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":151360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:11:43] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:11:43] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:11:43] local.INFO: Packet analysis {"connection_id":151360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:11:43] local.INFO: Extracted packet for processing {"connection_id":151360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:11:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":151360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:11:43] local.INFO: GPS data processed {"connection_id":151360,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:11:43] local.INFO: Acknowledgment sent {"connection_id":151360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:11:58] local.INFO: TCP Data received {"connection_id":151359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:11:58] local.INFO: Processing buffer {"connection_id":151359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:11:58] local.INFO: IMEI packet received {"connection_id":151359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":151359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:12:14] local.INFO: TCP Data received {"connection_id":151360,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:12:14] local.INFO: Processing buffer {"connection_id":151360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:12:14] local.INFO: Packet analysis {"connection_id":151360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:12:14] local.INFO: Extracted packet for processing {"connection_id":151360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:12: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-08-08 07:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:12:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":151360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:12:14] local.INFO: GPS data processed {"connection_id":151360,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:12:14] local.INFO: Acknowledgment sent {"connection_id":151360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:12:26] local.INFO: TCP Data received {"connection_id":150129,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:26] local.INFO: Processing buffer {"connection_id":150129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:26] local.INFO: Packet analysis {"connection_id":150129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:12:26] local.INFO: Extracted packet for processing {"connection_id":150129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:12:26] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:12:26] 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-08-08 07:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:12:26] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:12:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":150129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:12:26] local.INFO: GPS data processed {"connection_id":150129,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:12:26] local.INFO: Acknowledgment sent {"connection_id":150129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:12:36] local.INFO: TCP Data received {"connection_id":152837,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:12:36] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:12:36] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:12:37] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:12:37] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:12:37] local.INFO: IMEI packet received {"connection_id":150392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":150392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:12:41] local.INFO: TCP Data received {"connection_id":152837,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:12:41] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:12:41] local.INFO: IMEI packet received {"connection_id":152837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":152837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:12:42] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:12:42] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:12:42] local.INFO: IMEI packet received {"connection_id":150392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":150392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:12:43] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:43] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:43] local.INFO: Packet analysis {"connection_id":150392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:12:43] local.INFO: Extracted packet for processing {"connection_id":150392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:12:43] 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-08-08 07:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":150392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:12:43] local.INFO: GPS data processed {"connection_id":150392,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:12:43] local.INFO: Acknowledgment sent {"connection_id":150392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:12:43] local.INFO: TCP Data received {"connection_id":152837,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:12:43] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:12:43] local.INFO: Packet analysis {"connection_id":152837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:12:43] local.INFO: Extracted packet for processing {"connection_id":152837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":152837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:12:43] local.INFO: GPS data processed {"connection_id":152837,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:12:43] local.INFO: Acknowledgment sent {"connection_id":152837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:12:48] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:48] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf052c30012d743600062cf148002100bf2c..."} 
[2026-08-08 07:12:48] local.INFO: Packet analysis {"connection_id":150392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:12:48] local.INFO: Extracted packet for processing {"connection_id":150392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf05"} 
[2026-08-08 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255112192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374091689898375168,"note":"Value kept but may cause issues"} 
[2026-08-08 07:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153086000,"timestamp_ms":1786153086000,"timestamp_seconds":1786153086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf052c30"} 
[2026-08-08 07:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 07:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:12:48] 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-08-08 07:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255112192001,"66":13015,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8374091689898375168},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255112192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374091689898375168,"description":"Unknown IO ID 45"} 
[2026-08-08 07:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255112192001,"power":13015,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374091689898375168}} 
[2026-08-08 07:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":150392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:12:48] local.INFO: GPS data processed {"connection_id":150392,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:12:48] local.INFO: Acknowledgment sent {"connection_id":150392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:13:15] local.INFO: TCP Data received {"connection_id":152837,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:13:15] local.INFO: Processing buffer {"connection_id":152837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:13:15] local.INFO: Packet analysis {"connection_id":152837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:13:15] local.INFO: Extracted packet for processing {"connection_id":152837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:13:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":152837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:13:15] local.INFO: GPS data processed {"connection_id":152837,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:13:15] local.INFO: Acknowledgment sent {"connection_id":152837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:13:32] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:13:32] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:13:32] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:13:36] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:13:36] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:13:36] local.INFO: IMEI packet received {"connection_id":150393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":150393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:13:37] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:13:37] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:13:37] local.INFO: IMEI packet received {"connection_id":152838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":152838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:13:39] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09ac88012d743600062cf148002100bf2d..."} 
[2026-08-08 07:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09ac88012d743600062cf148002100bf2d..."} 
[2026-08-08 07:13:39] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09ac88012d743600062cf148002100bf2d..."} 
[2026-08-08 07:13:39] local.INFO: Packet analysis {"connection_id":152838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:13:39] local.INFO: Extracted packet for processing {"connection_id":152838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:13:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255190016001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153381000,"timestamp_ms":1786153381000,"timestamp_seconds":1786153381,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09ac88"} 
[2026-08-08 07:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:13: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-08-08 07:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 07:13: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-08-08 07:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:13:39] 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-08-08 07:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255190016001,"66":12722,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255190016001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:13:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:13:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255190016001,"power":12722,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":152838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:13:39] local.INFO: GPS data processed {"connection_id":152838,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:13:39] local.INFO: Acknowledgment sent {"connection_id":152838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:13:41] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:13:41] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:13:41] local.INFO: IMEI packet received {"connection_id":150393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":150393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:13:43] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:13:43] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:13:43] local.INFO: Packet analysis {"connection_id":150393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:13:43] local.INFO: Extracted packet for processing {"connection_id":150393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":150393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:13:43] local.INFO: GPS data processed {"connection_id":150393,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:13:43] local.INFO: Acknowledgment sent {"connection_id":150393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:14:11] local.INFO: TCP Data received {"connection_id":152838,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09ac88012d743600062cf148002100bf2d..."} 
[2026-08-08 07:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09ac88012d743600062cf148002100bf2d..."} 
[2026-08-08 07:14:11] local.INFO: Processing buffer {"connection_id":152838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09ac88012d743600062cf148002100bf2d..."} 
[2026-08-08 07:14:11] local.INFO: Packet analysis {"connection_id":152838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:14:11] local.INFO: Extracted packet for processing {"connection_id":152838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:14:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153381000,"timestamp_ms":1786153381000,"timestamp_seconds":1786153381,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09ac88"} 
[2026-08-08 07:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:14: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-08-08 07:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:14:11] 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-08-08 07:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":12722,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:14:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:14:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":12722,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":152838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:14:11] local.INFO: GPS data processed {"connection_id":152838,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:14:11] local.INFO: Acknowledgment sent {"connection_id":152838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:14:14] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:14:14] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0606f0012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:14:14] local.INFO: Packet analysis {"connection_id":150393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:14:14] local.INFO: Extracted packet for processing {"connection_id":150393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf06"} 
[2026-08-08 07:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:14: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-08-08 07:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153142000,"timestamp_ms":1786153142000,"timestamp_seconds":1786153142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0606f0"} 
[2026-08-08 07:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204096001,"66":28006,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:14:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204096001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":150393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:14:14] local.INFO: GPS data processed {"connection_id":150393,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:14:14] local.INFO: Acknowledgment sent {"connection_id":150393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:14:32] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:14:32] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:14:32] local.INFO: IMEI packet received {"connection_id":152839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":152839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:14:36] local.INFO: TCP Data received {"connection_id":152840,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:14:36] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:14:36] local.INFO: IMEI packet received {"connection_id":152840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":152840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:14:37] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:14:37] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:14:37] local.INFO: IMEI packet received {"connection_id":152839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":152839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:14:38] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:14:38] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:14:38] local.INFO: Packet analysis {"connection_id":152839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:14:38] local.INFO: Extracted packet for processing {"connection_id":152839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:14: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-08-08 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:14: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-08-08 07:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:14:39] 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-08-08 07:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:14:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:14:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":152839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:14:39] local.INFO: GPS data processed {"connection_id":152839,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:14:39] local.INFO: Acknowledgment sent {"connection_id":152839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:14:41] local.INFO: TCP Data received {"connection_id":152840,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:14:41] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:14:41] local.INFO: IMEI packet received {"connection_id":152840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":152840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:14:43] local.INFO: TCP Data received {"connection_id":152840,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0aa2a0012d34c18006aa3f980009011c2d..."} 
[2026-08-08 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0aa2a0012d34c18006aa3f980009011c2d..."} 
[2026-08-08 07:14:43] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0aa2a0012d34c18006aa3f980009011c2d..."} 
[2026-08-08 07:14:43] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0a"} 
[2026-08-08 07:14:43] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0a"} 
[2026-08-08 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820696,"longitude_deg":75.8432128,"latitude_deg":11.1820696,"altitude":9,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255204352001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153444000,"timestamp_ms":1786153444000,"timestamp_seconds":1786153444,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0aa2a0"} 
[2026-08-08 07:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 07:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255204352001,"66":26452,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255204352001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255204352001,"power":26452,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:14:43] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:14:43] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:15:10] local.INFO: TCP Data received {"connection_id":152839,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:10] local.INFO: Processing buffer {"connection_id":152839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:10] local.INFO: Packet analysis {"connection_id":152839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:15:10] local.INFO: Extracted packet for processing {"connection_id":152839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:15:10] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:15: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-08-08 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:15: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-08-08 07:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:15:10] 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-08-08 07:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:15:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:15:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":152839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:15:10] local.INFO: GPS data processed {"connection_id":152839,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:15:10] local.INFO: Acknowledgment sent {"connection_id":152839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:15:14] local.INFO: TCP Data received {"connection_id":152840,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0add38012d34c18006aa3f980009011c2d..."} 
[2026-08-08 07:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0add38012d34c18006aa3f980009011c2d..."} 
[2026-08-08 07:15:14] local.INFO: Processing buffer {"connection_id":152840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0add38012d34c18006aa3f980009011c2d..."} 
[2026-08-08 07:15:14] local.INFO: Packet analysis {"connection_id":152840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0a"} 
[2026-08-08 07:15:14] local.INFO: Extracted packet for processing {"connection_id":152840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0a"} 
[2026-08-08 07:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820696,"longitude_deg":75.8432128,"latitude_deg":11.1820696,"altitude":9,"angle":284,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 07:15: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-08-08 07:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255281664001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591862784,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153459000,"timestamp_ms":1786153459000,"timestamp_seconds":1786153459,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0add38"} 
[2026-08-08 07:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 07:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255281664001,"66":26321,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801460326591862784},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255281664001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:15:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591862784,"description":"Unknown IO ID 45"} 
[2026-08-08 07:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255281664001,"power":26321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326591862784}} 
[2026-08-08 07:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":152840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:15:14] local.INFO: GPS data processed {"connection_id":152840,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:15:14] local.INFO: Acknowledgment sent {"connection_id":152840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:15:36] local.INFO: TCP Data received {"connection_id":150130,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:15:36] local.INFO: Processing buffer {"connection_id":150130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:15:36] local.INFO: IMEI packet received {"connection_id":150130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":150130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:15:37] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:15:37] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:15:37] local.INFO: IMEI packet received {"connection_id":152841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":152841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:15:42] local.INFO: TCP Data received {"connection_id":150130,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:15:42] local.INFO: Processing buffer {"connection_id":150130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:15:42] local.INFO: IMEI packet received {"connection_id":150130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":150130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:15:42] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:15:42] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:15:42] local.INFO: IMEI packet received {"connection_id":152841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":152841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:15:43] local.INFO: TCP Data received {"connection_id":150130,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0b3ee0012d34c04006aa3fc00009011c2e..."} 
[2026-08-08 07:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0b3ee0012d34c04006aa3fc00009011c2e..."} 
[2026-08-08 07:15:43] local.INFO: Processing buffer {"connection_id":150130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0b3ee0012d34c04006aa3fc00009011c2e..."} 
[2026-08-08 07:15:43] local.INFO: Packet analysis {"connection_id":150130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:15:43] local.INFO: Extracted packet for processing {"connection_id":150130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255285504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591862784,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153484000,"timestamp_ms":1786153484000,"timestamp_seconds":1786153484,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0b3ee0"} 
[2026-08-08 07:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-08 07:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255285504001,"66":27713,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801460326591862784},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255285504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:15:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591862784,"description":"Unknown IO ID 45"} 
[2026-08-08 07:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255285504001,"power":27713,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326591862784}} 
[2026-08-08 07:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":150130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:15:43] local.INFO: GPS data processed {"connection_id":150130,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:15:43] local.INFO: Acknowledgment sent {"connection_id":150130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:15:44] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:44] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:44] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:15:44] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:15:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:15:44] 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-08-08 07:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:15:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:15:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:15:44] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:15:44] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:15:48] local.INFO: TCP Data received {"connection_id":152841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:48] local.INFO: Processing buffer {"connection_id":152841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:15:48] local.INFO: Packet analysis {"connection_id":152841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:15:48] local.INFO: Extracted packet for processing {"connection_id":152841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:15:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:15:48] 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-08-08 07:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:15:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:15:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":152841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:15:48] local.INFO: GPS data processed {"connection_id":152841,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:15:48] local.INFO: Acknowledgment sent {"connection_id":152841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:16:14] local.INFO: TCP Data received {"connection_id":150130,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0b90e8012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0b90e8012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:16:14] local.INFO: Processing buffer {"connection_id":150130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0b90e8012d34c04006aa3fc00009011c2b..."} 
[2026-08-08 07:16:14] local.INFO: Packet analysis {"connection_id":150130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:16:14] local.INFO: Extracted packet for processing {"connection_id":150130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111820736,"longitude_deg":75.8431808,"latitude_deg":11.1820736,"altitude":9,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa3fc0","is_valid_coordinates":true} 
[2026-08-08 07:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255291904001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886808841879552,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153505000,"timestamp_ms":1786153505000,"timestamp_seconds":1786153505,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0b90e8"} 
[2026-08-08 07:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 07:16: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-08-08 07:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255291904001,"66":27745,"106":206,"28":21760,"24":0,"16":374886808841879552,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255291904001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:16:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886808841879552,"km_value":374886808841879.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255291904001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":150130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:16:14] local.INFO: GPS data processed {"connection_id":150130,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:16:14] local.INFO: Acknowledgment sent {"connection_id":150130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:16:32] local.INFO: TCP Data received {"connection_id":150395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:16:32] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:16:32] local.INFO: IMEI packet received {"connection_id":150395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":150395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:16:37] local.INFO: TCP Data received {"connection_id":150395,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:16:37] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:16:37] local.INFO: IMEI packet received {"connection_id":150395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":150395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:16:39] local.INFO: TCP Data received {"connection_id":150395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:16:39] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:16:39] local.INFO: Packet analysis {"connection_id":150395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:16:39] local.INFO: Extracted packet for processing {"connection_id":150395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:16:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:16: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-08-08 07:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:16: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-08-08 07:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:16: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-08-08 07:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:16:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:16:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":150395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:16:39] local.INFO: GPS data processed {"connection_id":150395,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:16:39] local.INFO: Acknowledgment sent {"connection_id":150395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:16:40] local.INFO: TCP Data received {"connection_id":151361,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:16:40] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:16:40] local.INFO: IMEI packet received {"connection_id":151361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":151361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:16:41] local.INFO: TCP Data received {"connection_id":151361,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:16:41] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:16:41] local.INFO: IMEI packet received {"connection_id":151361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":151361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:16:42] local.INFO: TCP Data received {"connection_id":151361,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0be2f0012d34c0c006aa40f80009002f2c..."} 
[2026-08-08 07:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0be2f0012d34c0c006aa40f80009002f2c..."} 
[2026-08-08 07:16:42] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0be2f0012d34c0c006aa40f80009002f2c..."} 
[2026-08-08 07:16:42] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:16:42] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111821048,"longitude_deg":75.8431936,"latitude_deg":11.1821048,"altitude":9,"angle":47,"satellites":44,"speed":3,"hex_longitude":"2d34c0c0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-08-08 07:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255297280001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886826021748736,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482870984704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786153526000,"timestamp_ms":1786153526000,"timestamp_seconds":1786153526,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0be2f0"} 
[2026-08-08 07:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 07:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255297280001,"66":27745,"106":206,"28":21760,"24":3,"16":374886826021748736,"45":3801108482870984704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255297280001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:16:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886826021748736,"km_value":374886826021748.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482870984704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255297280001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801108482870984704}} 
[2026-08-08 07:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:16:42] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:16:42] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:16:47] local.INFO: TCP Data received {"connection_id":151361,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0be2f0012d34c0c006aa40f80009002f2c..."} 
[2026-08-08 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0be2f0012d34c0c006aa40f80009002f2c..."} 
[2026-08-08 07:16:47] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0be2f0012d34c0c006aa40f80009002f2c..."} 
[2026-08-08 07:16:47] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:16:47] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111821048,"longitude_deg":75.8431936,"latitude_deg":11.1821048,"altitude":9,"angle":47,"satellites":44,"speed":3,"hex_longitude":"2d34c0c0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-08-08 07:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255302656001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886826021748736,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359419904,"note":"Value kept but may cause issues"} 
[2026-08-08 07:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786153526000,"timestamp_ms":1786153526000,"timestamp_seconds":1786153526,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0be2f0"} 
[2026-08-08 07:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 07:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255302656001,"66":27745,"106":206,"28":21760,"24":3,"16":374886826021748736,"45":3801249220359419904},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255302656001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:16:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886826021748736,"km_value":374886826021748.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359419904,"description":"Unknown IO ID 45"} 
[2026-08-08 07:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255302656001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801249220359419904}} 
[2026-08-08 07:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:16:47] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:16:47] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:17:11] local.INFO: TCP Data received {"connection_id":150395,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:17:11] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:17:11] local.INFO: Packet analysis {"connection_id":150395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:17:11] local.INFO: Extracted packet for processing {"connection_id":150395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:17:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:17: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-08-08 07: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-08-08 07:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:17: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-08-08 07:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:17:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:17:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":150395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:17:11] local.INFO: GPS data processed {"connection_id":150395,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:17:11] local.INFO: Acknowledgment sent {"connection_id":150395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:17:18] local.INFO: TCP Data received {"connection_id":151361,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0be6d8012d34c10006aa41280009003e2d..."} 
[2026-08-08 07:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0be6d8012d34c10006aa41280009003e2d..."} 
[2026-08-08 07:17:19] local.INFO: Processing buffer {"connection_id":151361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0be6d8012d34c10006aa41280009003e2d..."} 
[2026-08-08 07:17:19] local.INFO: Packet analysis {"connection_id":151361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:17:19] local.INFO: Extracted packet for processing {"connection_id":151361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111821096,"longitude_deg":75.8432,"latitude_deg":11.1821096,"altitude":9,"angle":62,"satellites":45,"speed":2,"hex_longitude":"2d34c100","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-08-08 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255302656001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886830316716032,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359419904,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786153527000,"timestamp_ms":1786153527000,"timestamp_seconds":1786153527,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0be6d8"} 
[2026-08-08 07:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 07:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255302656001,"66":27604,"106":206,"28":21760,"24":2,"16":374886830316716032,"45":3801249220359419904},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255302656001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:17:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886830316716032,"km_value":374886830316716.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359419904,"description":"Unknown IO ID 45"} 
[2026-08-08 07:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255302656001,"power":27604,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3801249220359419904}} 
[2026-08-08 07:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":151361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:17:19] local.INFO: GPS data processed {"connection_id":151361,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:17:19] local.INFO: Acknowledgment sent {"connection_id":151361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:17:32] local.INFO: TCP Data received {"connection_id":150396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:17:32] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:17:32] local.INFO: IMEI packet received {"connection_id":150396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":150396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:17:32] local.INFO: TCP Data received {"connection_id":150394,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:17:32] local.INFO: Processing buffer {"connection_id":150394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:17:32] local.INFO: IMEI packet received {"connection_id":150394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":150394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:17:36] local.INFO: TCP Data received {"connection_id":152842,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:17:36] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:17:36] local.INFO: IMEI packet received {"connection_id":152842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":152842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:17:37] local.INFO: TCP Data received {"connection_id":150396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:17:37] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:17:37] local.INFO: IMEI packet received {"connection_id":150396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":150396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:17:39] local.INFO: TCP Data received {"connection_id":150396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:17:39] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf09c3f8012d743600062cf148002100bf2c..."} 
[2026-08-08 07:17:39] local.INFO: Packet analysis {"connection_id":150396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:17:39] local.INFO: Extracted packet for processing {"connection_id":150396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf09"} 
[2026-08-08 07:17:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255265536001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153387000,"timestamp_ms":1786153387000,"timestamp_seconds":1786153387,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf09c3f8"} 
[2026-08-08 07:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:17: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-08-08 07:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07: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-08-08 07:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:17: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-08-08 07:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255265536001,"66":3177,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255265536001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:17:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:17:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255265536001,"power":3177,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":150396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:17:39] local.INFO: GPS data processed {"connection_id":150396,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:17:39] local.INFO: Acknowledgment sent {"connection_id":150396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:17:41] local.INFO: TCP Data received {"connection_id":152842,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:17:41] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:17:41] local.INFO: IMEI packet received {"connection_id":152842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":152842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:17:43] local.INFO: TCP Data received {"connection_id":152842,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bf290012d34c20006aa4178000a00512d..."} 
[2026-08-08 07:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bf290012d34c20006aa4178000a00512d..."} 
[2026-08-08 07:17:43] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bf290012d34c20006aa4178000a00512d..."} 
[2026-08-08 07:17:43] local.INFO: Packet analysis {"connection_id":152842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:17:43] local.INFO: Extracted packet for processing {"connection_id":152842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111821176,"longitude_deg":75.8432256,"latitude_deg":11.1821176,"altitude":10,"angle":81,"satellites":45,"speed":3,"hex_longitude":"2d34c200","hex_latitude":"06aa4178","is_valid_coordinates":true} 
[2026-08-08 07:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255302912001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589103609856,"note":"Value kept but may cause issues"} 
[2026-08-08 07:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153530000,"timestamp_ms":1786153530000,"timestamp_seconds":1786153530,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bf290"} 
[2026-08-08 07:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 07:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255302912001,"66":27713,"106":206,"28":21760,"24":3,"16":374886838906650624,"45":3801319589103609856},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255302912001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:17:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589103609856,"description":"Unknown IO ID 45"} 
[2026-08-08 07:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255302912001,"power":27713,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801319589103609856}} 
[2026-08-08 07:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":152842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:17:43] local.INFO: GPS data processed {"connection_id":152842,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:17:43] local.INFO: Acknowledgment sent {"connection_id":152842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:18:11] local.INFO: TCP Data received {"connection_id":150396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:11] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:11] local.INFO: Packet analysis {"connection_id":150396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:18:11] local.INFO: Extracted packet for processing {"connection_id":150396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:18: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-08-08 07:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:18:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:18:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":150396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:18:11] local.INFO: GPS data processed {"connection_id":150396,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:18:11] local.INFO: Acknowledgment sent {"connection_id":150396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:18:14] local.INFO: TCP Data received {"connection_id":152842,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bf290012d34c20006aa4178000a00512d..."} 
[2026-08-08 07:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bf290012d34c20006aa4178000a00512d..."} 
[2026-08-08 07:18:14] local.INFO: Processing buffer {"connection_id":152842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bf290012d34c20006aa4178000a00512d..."} 
[2026-08-08 07:18:14] local.INFO: Packet analysis {"connection_id":152842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:18:14] local.INFO: Extracted packet for processing {"connection_id":152842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111821176,"longitude_deg":75.8432256,"latitude_deg":11.1821176,"altitude":10,"angle":81,"satellites":45,"speed":3,"hex_longitude":"2d34c200","hex_latitude":"06aa4178","is_valid_coordinates":true} 
[2026-08-08 07:18: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-08-08 07:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255303680001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080340992,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153530000,"timestamp_ms":1786153530000,"timestamp_seconds":1786153530,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bf290"} 
[2026-08-08 07:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 07:18: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-08-08 07:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255303680001,"66":27713,"106":206,"28":21760,"24":3,"16":374886838906650624,"45":3801601064080340992},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255303680001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:18:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080340992,"description":"Unknown IO ID 45"} 
[2026-08-08 07:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255303680001,"power":27713,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801601064080340992}} 
[2026-08-08 07:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":152842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:18:14] local.INFO: GPS data processed {"connection_id":152842,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:18:14] local.INFO: Acknowledgment sent {"connection_id":152842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:18:36] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:18:36] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:18:36] local.INFO: IMEI packet received {"connection_id":150398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":150398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:18:37] local.INFO: TCP Data received {"connection_id":150397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:18:37] local.INFO: Processing buffer {"connection_id":150397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:18:37] local.INFO: IMEI packet received {"connection_id":150397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":150397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:18:41] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:18:41] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:18:41] local.INFO: IMEI packet received {"connection_id":150398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":150398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:18:42] local.INFO: TCP Data received {"connection_id":150397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:18:42] local.INFO: Processing buffer {"connection_id":150397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:18:42] local.INFO: IMEI packet received {"connection_id":150397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":150397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:18:43] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bf678012d34c24006aa4180000a00622d..."} 
[2026-08-08 07:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bf678012d34c24006aa4180000a00622d..."} 
[2026-08-08 07:18:43] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bf678012d34c24006aa4180000a00622d..."} 
[2026-08-08 07:18:43] local.INFO: Packet analysis {"connection_id":150398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:18:43] local.INFO: Extracted packet for processing {"connection_id":150398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821184,"longitude_deg":75.843232,"latitude_deg":11.1821184,"altitude":10,"angle":98,"satellites":45,"speed":2,"hex_longitude":"2d34c240","hex_latitude":"06aa4180","is_valid_coordinates":true} 
[2026-08-08 07:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255303680001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080340992,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153531000,"timestamp_ms":1786153531000,"timestamp_seconds":1786153531,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bf678"} 
[2026-08-08 07:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 07:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255303680001,"66":27484,"106":206,"28":21760,"24":2,"16":374886838906650624,"45":3801601064080340992},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255303680001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080340992,"description":"Unknown IO ID 45"} 
[2026-08-08 07:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255303680001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3801601064080340992}} 
[2026-08-08 07:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":150398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:18:43] local.INFO: GPS data processed {"connection_id":150398,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:18:43] local.INFO: Acknowledgment sent {"connection_id":150398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:18:44] local.INFO: TCP Data received {"connection_id":150397,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:44] local.INFO: Processing buffer {"connection_id":150397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:44] local.INFO: Packet analysis {"connection_id":150397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:18:44] local.INFO: Extracted packet for processing {"connection_id":150397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:18: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-08-08 07:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:18:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:18:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":150397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:18:44] local.INFO: GPS data processed {"connection_id":150397,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:18:44] local.INFO: Acknowledgment sent {"connection_id":150397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:18:48] local.INFO: TCP Data received {"connection_id":150397,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:48] local.INFO: Processing buffer {"connection_id":150397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:18:48] local.INFO: Packet analysis {"connection_id":150397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:18:48] local.INFO: Extracted packet for processing {"connection_id":150397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:18:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:18:48] 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-08-08 07:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:18:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:18:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":150397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:18:48] local.INFO: GPS data processed {"connection_id":150397,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:18:48] local.INFO: Acknowledgment sent {"connection_id":150397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:19:14] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bfa60012d34c28006aa4178000a006e2d..."} 
[2026-08-08 07:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bfa60012d34c28006aa4178000a006e2d..."} 
[2026-08-08 07:19:14] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bfa60012d34c28006aa4178000a006e2d..."} 
[2026-08-08 07:19:14] local.INFO: Packet analysis {"connection_id":150398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:19:14] local.INFO: Extracted packet for processing {"connection_id":150398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111821176,"longitude_deg":75.8432384,"latitude_deg":11.1821176,"altitude":10,"angle":110,"satellites":45,"speed":3,"hex_longitude":"2d34c280","hex_latitude":"06aa4178","is_valid_coordinates":true} 
[2026-08-08 07:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255303936001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824520704,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153532000,"timestamp_ms":1786153532000,"timestamp_seconds":1786153532,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bfa60"} 
[2026-08-08 07:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 07:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255303936001,"66":27484,"106":206,"28":21760,"24":3,"16":374886838906650624,"45":3801671432824520704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255303936001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:19:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824520704,"description":"Unknown IO ID 45"} 
[2026-08-08 07:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255303936001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801671432824520704}} 
[2026-08-08 07:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":150398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:19:15] local.INFO: GPS data processed {"connection_id":150398,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:19:15] local.INFO: Acknowledgment sent {"connection_id":150398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:19:32] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:19:32] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:19:32] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:19:36] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:19:36] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:19:36] local.INFO: IMEI packet received {"connection_id":151362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":151362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:19:37] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:19:37] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:19:37] local.INFO: IMEI packet received {"connection_id":152843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":152843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:19:39] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:19:39] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:19:39] local.INFO: Packet analysis {"connection_id":152843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:19:39] local.INFO: Extracted packet for processing {"connection_id":152843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:19:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:19: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-08-08 07:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:19:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:19:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":152843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:19:39] local.INFO: GPS data processed {"connection_id":152843,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:19:39] local.INFO: Acknowledgment sent {"connection_id":152843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:19:41] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:19:41] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:19:41] local.INFO: IMEI packet received {"connection_id":151362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":151362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:19:43] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:19:43] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:19:43] local.INFO: Packet analysis {"connection_id":151362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:19:43] local.INFO: Extracted packet for processing {"connection_id":151362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821152,"longitude_deg":75.8432448,"latitude_deg":11.1821152,"altitude":10,"angle":140,"satellites":45,"speed":2,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4160","is_valid_coordinates":true} 
[2026-08-08 07:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568696320,"note":"Value kept but may cause issues"} 
[2026-08-08 07:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153533000,"timestamp_ms":1786153533000,"timestamp_seconds":1786153533,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bfe48"} 
[2026-08-08 07:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 07:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304192001,"66":27050,"106":206,"28":21760,"24":2,"16":374886838906650624,"45":3801741801568696320},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:19:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568696320,"description":"Unknown IO ID 45"} 
[2026-08-08 07:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304192001,"power":27050,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3801741801568696320}} 
[2026-08-08 07:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":151362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:19:43] local.INFO: GPS data processed {"connection_id":151362,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:19:43] local.INFO: Acknowledgment sent {"connection_id":151362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:20:11] local.INFO: TCP Data received {"connection_id":152843,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:20:11] local.INFO: Processing buffer {"connection_id":152843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:20:11] local.INFO: Packet analysis {"connection_id":152843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:20:11] local.INFO: Extracted packet for processing {"connection_id":152843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:20:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:20: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-08-08 07:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:20:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:20:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":152843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:20:11] local.INFO: GPS data processed {"connection_id":152843,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:20:11] local.INFO: Acknowledgment sent {"connection_id":152843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:20:14] local.INFO: TCP Data received {"connection_id":151362,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:14] local.INFO: Processing buffer {"connection_id":151362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:14] local.INFO: Packet analysis {"connection_id":151362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:20:14] local.INFO: Extracted packet for processing {"connection_id":151362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821152,"longitude_deg":75.8432448,"latitude_deg":11.1821152,"altitude":10,"angle":140,"satellites":45,"speed":2,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4160","is_valid_coordinates":true} 
[2026-08-08 07:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568696320,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153533000,"timestamp_ms":1786153533000,"timestamp_seconds":1786153533,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bfe48"} 
[2026-08-08 07:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 07:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304192001,"66":27050,"106":206,"28":21760,"24":2,"16":374886838906650624,"45":3801741801568696320},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:20:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568696320,"description":"Unknown IO ID 45"} 
[2026-08-08 07:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304192001,"power":27050,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3801741801568696320}} 
[2026-08-08 07:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":151362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:20:14] local.INFO: GPS data processed {"connection_id":151362,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:20:14] local.INFO: Acknowledgment sent {"connection_id":151362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:20:32] local.INFO: TCP Data received {"connection_id":150131,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:20:32] local.INFO: Processing buffer {"connection_id":150131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:20:32] local.INFO: IMEI packet received {"connection_id":150131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":150131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:20:37] local.INFO: TCP Data received {"connection_id":150131,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:20:37] local.INFO: Processing buffer {"connection_id":150131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:20:37] local.INFO: IMEI packet received {"connection_id":150131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":150131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:20:39] local.INFO: TCP Data received {"connection_id":150131,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:20:39] local.INFO: Processing buffer {"connection_id":150131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:20:39] local.INFO: Packet analysis {"connection_id":150131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:20:39] local.INFO: Extracted packet for processing {"connection_id":150131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:20: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-08-08 07:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:20:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:20:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":150131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:20:39] local.INFO: GPS data processed {"connection_id":150131,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:20:39] local.INFO: Acknowledgment sent {"connection_id":150131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:20:41] local.INFO: TCP Data received {"connection_id":150399,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:20:41] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:20:41] local.INFO: IMEI packet received {"connection_id":150399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":150399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:20:46] local.INFO: TCP Data received {"connection_id":150399,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:20:46] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:20:46] local.INFO: IMEI packet received {"connection_id":150399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":150399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:20:48] local.INFO: TCP Data received {"connection_id":150399,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:48] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:48] local.INFO: Packet analysis {"connection_id":150399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:20:48] local.INFO: Extracted packet for processing {"connection_id":150399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821152,"longitude_deg":75.8432448,"latitude_deg":11.1821152,"altitude":10,"angle":140,"satellites":45,"speed":2,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4160","is_valid_coordinates":true} 
[2026-08-08 07:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568696320,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153533000,"timestamp_ms":1786153533000,"timestamp_seconds":1786153533,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bfe48"} 
[2026-08-08 07:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 07:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304192001,"66":27050,"106":206,"28":21760,"24":2,"16":374886838906650624,"45":3801741801568696320},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568696320,"description":"Unknown IO ID 45"} 
[2026-08-08 07:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304192001,"power":27050,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3801741801568696320}} 
[2026-08-08 07:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":150399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:20:48] local.INFO: GPS data processed {"connection_id":150399,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:20:48] local.INFO: Acknowledgment sent {"connection_id":150399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:20:52] local.INFO: TCP Data received {"connection_id":150399,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:52] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0bfe48012d34c2c006aa4160000a008c2d..."} 
[2026-08-08 07:20:52] local.INFO: Packet analysis {"connection_id":150399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:20:52] local.INFO: Extracted packet for processing {"connection_id":150399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0b"} 
[2026-08-08 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821152,"longitude_deg":75.8432448,"latitude_deg":11.1821152,"altitude":10,"angle":140,"satellites":45,"speed":2,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4160","is_valid_coordinates":true} 
[2026-08-08 07:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304192001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568696320,"note":"Value kept but may cause issues"} 
[2026-08-08 07:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786153533000,"timestamp_ms":1786153533000,"timestamp_seconds":1786153533,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0bfe48"} 
[2026-08-08 07:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 07:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304192001,"66":27050,"106":206,"28":21760,"24":2,"16":374886838906650624,"45":3801741801568696320},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304192001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:20:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:20:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568696320,"description":"Unknown IO ID 45"} 
[2026-08-08 07:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304192001,"power":27050,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3801741801568696320}} 
[2026-08-08 07:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":150399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:20:52] local.INFO: GPS data processed {"connection_id":150399,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:20:52] local.INFO: Acknowledgment sent {"connection_id":150399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:21:11] local.INFO: TCP Data received {"connection_id":150131,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:11] local.INFO: Processing buffer {"connection_id":150131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:11] local.INFO: Packet analysis {"connection_id":150131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:21:11] local.INFO: Extracted packet for processing {"connection_id":150131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 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-08-08 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 07:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:21: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-08-08 07:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:21:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:21:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":150131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:21:11] local.INFO: GPS data processed {"connection_id":150131,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:21:11] local.INFO: Acknowledgment sent {"connection_id":150131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:21:37] local.INFO: TCP Data received {"connection_id":152844,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:21:37] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:21:37] local.INFO: IMEI packet received {"connection_id":152844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":152844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:21:37] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:21:37] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:21:37] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:21:41] local.INFO: TCP Data received {"connection_id":152844,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:21:41] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:21:41] local.INFO: IMEI packet received {"connection_id":152844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":152844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:21:42] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:21:42] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:21:42] local.INFO: IMEI packet received {"connection_id":151363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":151363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:21:43] local.INFO: TCP Data received {"connection_id":152844,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:21:43] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:21:43] local.INFO: Packet analysis {"connection_id":152844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:21:43] local.INFO: Extracted packet for processing {"connection_id":152844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:21:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":152844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:21:43] local.INFO: GPS data processed {"connection_id":152844,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:21:43] local.INFO: Acknowledgment sent {"connection_id":152844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:21:44] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:44] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:44] local.INFO: Packet analysis {"connection_id":151363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:21:44] local.INFO: Extracted packet for processing {"connection_id":151363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:21:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:21: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-08-08 07:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:21:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:21:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":151363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:21:44] local.INFO: GPS data processed {"connection_id":151363,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:21:44] local.INFO: Acknowledgment sent {"connection_id":151363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:21:48] local.INFO: TCP Data received {"connection_id":151363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:48] local.INFO: Processing buffer {"connection_id":151363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:21:48] local.INFO: Packet analysis {"connection_id":151363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:21:48] local.INFO: Extracted packet for processing {"connection_id":151363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:21:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:21:48] 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-08-08 07:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":151363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:21:48] local.INFO: GPS data processed {"connection_id":151363,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:21:48] local.INFO: Acknowledgment sent {"connection_id":151363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:22:14] local.INFO: TCP Data received {"connection_id":152844,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:22:14] local.INFO: Processing buffer {"connection_id":152844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:22:14] local.INFO: Packet analysis {"connection_id":152844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:22:14] local.INFO: Extracted packet for processing {"connection_id":152844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":152844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:22:14] local.INFO: GPS data processed {"connection_id":152844,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:22:14] local.INFO: Acknowledgment sent {"connection_id":152844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:22:32] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:22:32] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:22:32] local.INFO: IMEI packet received {"connection_id":151364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":151364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:22:36] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:22:36] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:22:36] local.INFO: IMEI packet received {"connection_id":150400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:22:37] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:22:38] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:22:38] local.INFO: IMEI packet received {"connection_id":151364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":151364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:22:39] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:22:39] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf0e5bc0012d743600062cf148002100bf2b..."} 
[2026-08-08 07:22:39] local.INFO: Packet analysis {"connection_id":151364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:22:39] local.INFO: Extracted packet for processing {"connection_id":151364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf0e"} 
[2026-08-08 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255267072001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153688000,"timestamp_ms":1786153688000,"timestamp_seconds":1786153688,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf0e5bc0"} 
[2026-08-08 07:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":12,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 07:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:22: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-08-08 07:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255267072001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255267072001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:22:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:22:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255267072001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":151364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:22:39] local.INFO: GPS data processed {"connection_id":151364,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:22:39] local.INFO: Acknowledgment sent {"connection_id":151364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:22:41] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:22:41] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:22:41] local.INFO: IMEI packet received {"connection_id":150400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":150400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:22:43] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:22:43] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:22:43] local.INFO: Packet analysis {"connection_id":150400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:22:43] local.INFO: Extracted packet for processing {"connection_id":150400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":150400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:22:43] local.INFO: GPS data processed {"connection_id":150400,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:22:43] local.INFO: Acknowledgment sent {"connection_id":150400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:23:11] local.INFO: TCP Data received {"connection_id":151364,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:11] local.INFO: Processing buffer {"connection_id":151364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:11] local.INFO: Packet analysis {"connection_id":151364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:23:11] local.INFO: Extracted packet for processing {"connection_id":151364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 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-08-08 07:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:23: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-08-08 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-08-08 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-08-08 07:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:23: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-08-08 07:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:23:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:23:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":151364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:23:11] local.INFO: GPS data processed {"connection_id":151364,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:23:11] local.INFO: Acknowledgment sent {"connection_id":151364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:23:14] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:23:14] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:23:14] local.INFO: Packet analysis {"connection_id":150400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:23:14] local.INFO: Extracted packet for processing {"connection_id":150400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":150400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:23:14] local.INFO: GPS data processed {"connection_id":150400,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:23:14] local.INFO: Acknowledgment sent {"connection_id":150400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:23:18] local.INFO: TCP Data received {"connection_id":150132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:23:18] local.INFO: Processing buffer {"connection_id":150132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:23:18] local.INFO: IMEI packet received {"connection_id":150132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":150132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:23:36] local.INFO: TCP Data received {"connection_id":150134,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:23:36] local.INFO: Processing buffer {"connection_id":150134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:23:36] local.INFO: IMEI packet received {"connection_id":150134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:23:37] local.INFO: TCP Data received {"connection_id":150133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:23:37] local.INFO: Processing buffer {"connection_id":150133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:23:37] local.INFO: IMEI packet received {"connection_id":150133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":150133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:23:41] local.INFO: TCP Data received {"connection_id":150134,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:23:41] local.INFO: Processing buffer {"connection_id":150134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:23:41] local.INFO: IMEI packet received {"connection_id":150134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:23:42] local.INFO: TCP Data received {"connection_id":150133,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:23:42] local.INFO: Processing buffer {"connection_id":150133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:23:42] local.INFO: IMEI packet received {"connection_id":150133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":150133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:23:43] local.INFO: TCP Data received {"connection_id":150134,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:23:43] local.INFO: Processing buffer {"connection_id":150134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:23:43] local.INFO: Packet analysis {"connection_id":150134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:23:43] local.INFO: Extracted packet for processing {"connection_id":150134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:23:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":150134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:23:43] local.INFO: GPS data processed {"connection_id":150134,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:23:43] local.INFO: Acknowledgment sent {"connection_id":150134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:23:44] local.INFO: TCP Data received {"connection_id":150133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:44] local.INFO: Processing buffer {"connection_id":150133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:44] local.INFO: Packet analysis {"connection_id":150133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:23:44] local.INFO: Extracted packet for processing {"connection_id":150133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:23:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:23:44] 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-08-08 07:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:23: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-08-08 07:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:23:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:23:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":150133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:23:44] local.INFO: GPS data processed {"connection_id":150133,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:23:44] local.INFO: Acknowledgment sent {"connection_id":150133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:23:48] local.INFO: TCP Data received {"connection_id":150133,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:48] local.INFO: Processing buffer {"connection_id":150133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:23:48] local.INFO: Packet analysis {"connection_id":150133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:23:48] local.INFO: Extracted packet for processing {"connection_id":150133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:23:48] 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-08-08 07:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:23:48] 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-08-08 07:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":150133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:23:48] local.INFO: GPS data processed {"connection_id":150133,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:23:48] local.INFO: Acknowledgment sent {"connection_id":150133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:24:14] local.INFO: TCP Data received {"connection_id":150134,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:14] local.INFO: Processing buffer {"connection_id":150134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:14] local.INFO: Packet analysis {"connection_id":150134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:24:14] local.INFO: Extracted packet for processing {"connection_id":150134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:24:14] local.INFO: GPS data processed {"connection_id":150134,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:24:14] local.INFO: Acknowledgment sent {"connection_id":150134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:24:32] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:24:32] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:24:32] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:24:37] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:24:37] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:24:37] local.INFO: IMEI packet received {"connection_id":152845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":152845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:24:39] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:24:39] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:24:39] local.INFO: Packet analysis {"connection_id":152845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:24:39] local.INFO: Extracted packet for processing {"connection_id":152845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:24:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:24: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-08-08 07:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:24: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-08-08 07:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:24:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:24:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":152845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:24:39] local.INFO: GPS data processed {"connection_id":152845,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:24:39] local.INFO: Acknowledgment sent {"connection_id":152845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:24:41] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:24:41] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:24:41] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:24:46] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:24:46] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:24:46] local.INFO: IMEI packet received {"connection_id":151365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":151365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:24:48] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:48] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:48] local.INFO: Packet analysis {"connection_id":151365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:24:48] local.INFO: Extracted packet for processing {"connection_id":151365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":151365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:24:48] local.INFO: GPS data processed {"connection_id":151365,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:24:48] local.INFO: Acknowledgment sent {"connection_id":151365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:24:52] local.INFO: TCP Data received {"connection_id":151365,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:52] local.INFO: Processing buffer {"connection_id":151365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:24:52] local.INFO: Packet analysis {"connection_id":151365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:24:52] local.INFO: Extracted packet for processing {"connection_id":151365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:24:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":151365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:24:52] local.INFO: GPS data processed {"connection_id":151365,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:24:52] local.INFO: Acknowledgment sent {"connection_id":151365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:25:11] local.INFO: TCP Data received {"connection_id":152845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:25:11] local.INFO: Processing buffer {"connection_id":152845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:25:11] local.INFO: Packet analysis {"connection_id":152845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:25:11] local.INFO: Extracted packet for processing {"connection_id":152845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:25:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:25: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-08-08 07:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:25: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-08-08 07:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:25:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:25:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":152845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:25:11] local.INFO: GPS data processed {"connection_id":152845,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:25:11] local.INFO: Acknowledgment sent {"connection_id":152845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:25:32] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:25:32] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:25:32] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:25:36] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:25:36] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:25:36] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:25:37] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:25:37] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:25:37] local.INFO: IMEI packet received {"connection_id":151366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":151366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:25:39] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:25:39] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:25:39] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:25:39] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:25: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-08-08 07:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:25: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-08-08 07:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:25:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:25:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:25:39] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:25:39] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:25:41] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:25:41] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:25:41] local.INFO: IMEI packet received {"connection_id":151367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":151367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:25:43] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:25:43] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf109610012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:25:43] local.INFO: Packet analysis {"connection_id":151367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:25:43] local.INFO: Extracted packet for processing {"connection_id":151367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf10"} 
[2026-08-08 07:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255304448001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312867840,"note":"Value kept but may cause issues"} 
[2026-08-08 07:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153834000,"timestamp_ms":1786153834000,"timestamp_seconds":1786153834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf109610"} 
[2026-08-08 07:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 07:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255304448001,"66":26408,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3801812170312867840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255304448001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:25:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312867840,"description":"Unknown IO ID 45"} 
[2026-08-08 07:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255304448001,"power":26408,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170312867840}} 
[2026-08-08 07:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":151367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:25:43] local.INFO: GPS data processed {"connection_id":151367,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:25:43] local.INFO: Acknowledgment sent {"connection_id":151367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:26:10] local.INFO: TCP Data received {"connection_id":151366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:10] local.INFO: Processing buffer {"connection_id":151366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:10] local.INFO: Packet analysis {"connection_id":151366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:26:10] local.INFO: Extracted packet for processing {"connection_id":151366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 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-08-08 07:26: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-08-08 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:26: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-08-08 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-08-08 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-08-08 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:26: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-08-08 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:26:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:26:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":151366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:26:11] local.INFO: GPS data processed {"connection_id":151366,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:26:11] local.INFO: Acknowledgment sent {"connection_id":151366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:26:14] local.INFO: TCP Data received {"connection_id":151367,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:26:14] local.INFO: Processing buffer {"connection_id":151367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:26:14] local.INFO: Packet analysis {"connection_id":151367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:26:14] local.INFO: Extracted packet for processing {"connection_id":151367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:26:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":151367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:26:14] local.INFO: GPS data processed {"connection_id":151367,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:26:14] local.INFO: Acknowledgment sent {"connection_id":151367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:26:36] local.INFO: TCP Data received {"connection_id":150135,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:26:36] local.INFO: Processing buffer {"connection_id":150135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:26:36] local.INFO: IMEI packet received {"connection_id":150135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:26:37] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:26:37] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:26:37] local.INFO: IMEI packet received {"connection_id":152846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":152846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:26:41] local.INFO: TCP Data received {"connection_id":150135,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:26:41] local.INFO: Processing buffer {"connection_id":150135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:26:41] local.INFO: IMEI packet received {"connection_id":150135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":150135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:26:42] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:26:42] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:26:42] local.INFO: IMEI packet received {"connection_id":152846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":152846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:26:44] local.INFO: TCP Data received {"connection_id":150135,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:26:44] local.INFO: Processing buffer {"connection_id":150135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:26:44] local.INFO: Packet analysis {"connection_id":150135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:26:44] local.INFO: Extracted packet for processing {"connection_id":150135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":150135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:26:44] local.INFO: GPS data processed {"connection_id":150135,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:26:44] local.INFO: Acknowledgment sent {"connection_id":150135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:26:44] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:44] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:44] local.INFO: Packet analysis {"connection_id":152846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:26:44] local.INFO: Extracted packet for processing {"connection_id":152846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:26:44] 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-08-08 07:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:26: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-08-08 07:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":152846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:26:44] local.INFO: GPS data processed {"connection_id":152846,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:26:44] local.INFO: Acknowledgment sent {"connection_id":152846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:26:48] local.INFO: TCP Data received {"connection_id":152846,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:48] local.INFO: Processing buffer {"connection_id":152846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:26:48] local.INFO: Packet analysis {"connection_id":152846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:26:48] local.INFO: Extracted packet for processing {"connection_id":152846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:26:48] 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-08-08 07:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:26:48] 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-08-08 07:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:26:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:26:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":152846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:26:48] local.INFO: GPS data processed {"connection_id":152846,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:26:48] local.INFO: Acknowledgment sent {"connection_id":152846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:27:15] local.INFO: TCP Data received {"connection_id":150135,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:27:15] local.INFO: Processing buffer {"connection_id":150135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:27:15] local.INFO: Packet analysis {"connection_id":150135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:27:15] local.INFO: Extracted packet for processing {"connection_id":150135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:27:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:27:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":150135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:27:16] local.INFO: GPS data processed {"connection_id":150135,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:27:16] local.INFO: Acknowledgment sent {"connection_id":150135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:27:32] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:27:32] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:27:32] local.INFO: IMEI packet received {"connection_id":152848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":152848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:27:36] local.INFO: TCP Data received {"connection_id":150402,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:27:36] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:27:36] local.INFO: IMEI packet received {"connection_id":150402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:27:37] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:27:37] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:27:37] local.INFO: IMEI packet received {"connection_id":152848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":152848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:27:39] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:27:39] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:27:39] local.INFO: Packet analysis {"connection_id":152848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:27:39] local.INFO: Extracted packet for processing {"connection_id":152848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:27: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-08-08 07:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:27: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-08-08 07:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:27:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:27:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":152848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:27:39] local.INFO: GPS data processed {"connection_id":152848,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:27:39] local.INFO: Acknowledgment sent {"connection_id":152848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:27:41] local.INFO: TCP Data received {"connection_id":150402,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:27:41] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:27:41] local.INFO: IMEI packet received {"connection_id":150402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":150402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:27:43] local.INFO: TCP Data received {"connection_id":150402,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:27:43] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:27:43] local.INFO: Packet analysis {"connection_id":150402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:27:43] local.INFO: Extracted packet for processing {"connection_id":150402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":150402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:27:43] local.INFO: GPS data processed {"connection_id":150402,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:27:43] local.INFO: Acknowledgment sent {"connection_id":150402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:27:43] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:27:43] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf12f388012d743600062cf148002100bf2d..."} 
[2026-08-08 07:27:43] local.INFO: Packet analysis {"connection_id":152848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:27:43] local.INFO: Extracted packet for processing {"connection_id":152848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf12"} 
[2026-08-08 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255344128001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786153989000,"timestamp_ms":1786153989000,"timestamp_seconds":1786153989,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf12f388"} 
[2026-08-08 07:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:27:43] 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-08-08 07:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:27:43] 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-08-08 07:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255344128001,"66":2220,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255344128001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255344128001,"power":2220,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":152848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:27:43] local.INFO: GPS data processed {"connection_id":152848,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:27:43] local.INFO: Acknowledgment sent {"connection_id":152848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:28:14] local.INFO: TCP Data received {"connection_id":150402,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:28:14] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:28:14] local.INFO: Packet analysis {"connection_id":150402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:28:14] local.INFO: Extracted packet for processing {"connection_id":150402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:28:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:28:14] local.INFO: GPS data processed {"connection_id":150402,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:28:14] local.INFO: Acknowledgment sent {"connection_id":150402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:28:15] local.INFO: TCP Data received {"connection_id":152848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:15] local.INFO: Processing buffer {"connection_id":152848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:15] local.INFO: Packet analysis {"connection_id":152848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:28:15] local.INFO: Extracted packet for processing {"connection_id":152848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:28:15] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:28: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-08-08 07: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":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:28:15] 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-08-08 07:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:28: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-08-08 07:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:28:15] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:28:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":152848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:28:15] local.INFO: GPS data processed {"connection_id":152848,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:28:15] local.INFO: Acknowledgment sent {"connection_id":152848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:28:36] local.INFO: TCP Data received {"connection_id":150403,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:28:36] local.INFO: Processing buffer {"connection_id":150403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:28:36] local.INFO: IMEI packet received {"connection_id":150403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":150403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:28:37] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:28:37] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:28:37] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:28:41] local.INFO: TCP Data received {"connection_id":150403,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:28:41] local.INFO: Processing buffer {"connection_id":150403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:28:41] local.INFO: IMEI packet received {"connection_id":150403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":150403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:28:42] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:28:42] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:28:42] local.INFO: IMEI packet received {"connection_id":152849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":152849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:28:43] local.INFO: TCP Data received {"connection_id":150403,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:28:43] local.INFO: Processing buffer {"connection_id":150403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:28:43] local.INFO: Packet analysis {"connection_id":150403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:28:43] local.INFO: Extracted packet for processing {"connection_id":150403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:28:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:28:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":150403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:28:43] local.INFO: GPS data processed {"connection_id":150403,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:28:43] local.INFO: Acknowledgment sent {"connection_id":150403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:28:44] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:44] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:44] local.INFO: Packet analysis {"connection_id":152849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:28:44] local.INFO: Extracted packet for processing {"connection_id":152849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:28:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:28: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-08-08 07:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:28:44] 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-08-08 07:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:28: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-08-08 07:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:28:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:28:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":152849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:28:44] local.INFO: GPS data processed {"connection_id":152849,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:28:44] local.INFO: Acknowledgment sent {"connection_id":152849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:28:48] local.INFO: TCP Data received {"connection_id":152849,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:48] local.INFO: Processing buffer {"connection_id":152849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:28:48] local.INFO: Packet analysis {"connection_id":152849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:28:48] local.INFO: Extracted packet for processing {"connection_id":152849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:28:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:28:48] 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-08-08 07: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:28:48] 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-08-08 07: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-08-08 07:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:28:48] 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-08-08 07:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:28:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:28:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":152849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:28:48] local.INFO: GPS data processed {"connection_id":152849,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:28:48] local.INFO: Acknowledgment sent {"connection_id":152849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:28:52] local.INFO: TCP Data received {"connection_id":152847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:28:52] local.INFO: Processing buffer {"connection_id":152847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:28:52] local.INFO: IMEI packet received {"connection_id":152847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":152847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:29:14] local.INFO: TCP Data received {"connection_id":150403,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:14] local.INFO: Processing buffer {"connection_id":150403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:14] local.INFO: Packet analysis {"connection_id":150403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:29:14] local.INFO: Extracted packet for processing {"connection_id":150403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:29:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:29:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":150403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:29:14] local.INFO: GPS data processed {"connection_id":150403,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:29:14] local.INFO: Acknowledgment sent {"connection_id":150403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:29:32] local.INFO: TCP Data received {"connection_id":152850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:29:32] local.INFO: Processing buffer {"connection_id":152850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:29:32] local.INFO: IMEI packet received {"connection_id":152850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":152850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:29:37] local.INFO: TCP Data received {"connection_id":152850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:29:37] local.INFO: Processing buffer {"connection_id":152850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:29:37] local.INFO: IMEI packet received {"connection_id":152850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":152850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:29:39] local.INFO: TCP Data received {"connection_id":152850,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:29:39] local.INFO: Processing buffer {"connection_id":152850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:29:39] local.INFO: Packet analysis {"connection_id":152850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:29:39] local.INFO: Extracted packet for processing {"connection_id":152850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:29: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-08-08 07:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:29: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-08-08 07:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:29:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:29:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":152850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:29:39] local.INFO: GPS data processed {"connection_id":152850,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:29:39] local.INFO: Acknowledgment sent {"connection_id":152850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:29:41] local.INFO: TCP Data received {"connection_id":151368,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:29:41] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:29:41] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:29:46] local.INFO: TCP Data received {"connection_id":151368,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:29:46] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:29:46] local.INFO: IMEI packet received {"connection_id":151368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":151368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:29:47] local.INFO: TCP Data received {"connection_id":151368,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:47] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:47] local.INFO: Packet analysis {"connection_id":151368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:29:47] local.INFO: Extracted packet for processing {"connection_id":151368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:29:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":151368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:29:47] local.INFO: GPS data processed {"connection_id":151368,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:29:47] local.INFO: Acknowledgment sent {"connection_id":151368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:29:52] local.INFO: TCP Data received {"connection_id":151368,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:52] local.INFO: Processing buffer {"connection_id":151368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:29:52] local.INFO: Packet analysis {"connection_id":151368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:29:52] local.INFO: Extracted packet for processing {"connection_id":151368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:29:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:29:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":151368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:29:52] local.INFO: GPS data processed {"connection_id":151368,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:29:52] local.INFO: Acknowledgment sent {"connection_id":151368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:30:11] local.INFO: TCP Data received {"connection_id":152850,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:30:11] local.INFO: Processing buffer {"connection_id":152850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:30:11] local.INFO: Packet analysis {"connection_id":152850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:30:11] local.INFO: Extracted packet for processing {"connection_id":152850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:30:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:30: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-08-08 07: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-08-08 07: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-08-08 07: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-08-08 07:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:30: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-08-08 07:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:30:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:30:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":152850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:30:11] local.INFO: GPS data processed {"connection_id":152850,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:30:11] local.INFO: Acknowledgment sent {"connection_id":152850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:30:32] local.INFO: TCP Data received {"connection_id":150404,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:30:32] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:30:32] local.INFO: IMEI packet received {"connection_id":150404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":150404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:30:37] local.INFO: TCP Data received {"connection_id":150405,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:30:37] local.INFO: Processing buffer {"connection_id":150405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:30:37] local.INFO: IMEI packet received {"connection_id":150405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":150405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:30:37] local.INFO: TCP Data received {"connection_id":150404,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:30:37] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:30:37] local.INFO: IMEI packet received {"connection_id":150404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":150404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:30:39] local.INFO: TCP Data received {"connection_id":150404,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:30:39] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:30:39] local.INFO: Packet analysis {"connection_id":150404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:30:39] local.INFO: Extracted packet for processing {"connection_id":150404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07: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-08-08 07:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:30: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-08-08 07:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:30:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:30:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":150404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:30:39] local.INFO: GPS data processed {"connection_id":150404,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:30:39] local.INFO: Acknowledgment sent {"connection_id":150404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:30:41] local.INFO: TCP Data received {"connection_id":150405,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:30:41] local.INFO: Processing buffer {"connection_id":150405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:30:41] local.INFO: IMEI packet received {"connection_id":150405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":150405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:30:43] local.INFO: TCP Data received {"connection_id":150405,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:30:43] local.INFO: Processing buffer {"connection_id":150405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:30:43] local.INFO: Packet analysis {"connection_id":150405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:30:43] local.INFO: Extracted packet for processing {"connection_id":150405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":150405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:30:43] local.INFO: GPS data processed {"connection_id":150405,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:30:43] local.INFO: Acknowledgment sent {"connection_id":150405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:31:11] local.INFO: TCP Data received {"connection_id":150404,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:11] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:11] local.INFO: Packet analysis {"connection_id":150404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:31:11] local.INFO: Extracted packet for processing {"connection_id":150404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:31:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:31: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-08-08 07:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:31: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-08-08 07:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:31: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-08-08 07:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:31:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:31:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":150404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:31:11] local.INFO: GPS data processed {"connection_id":150404,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:31:11] local.INFO: Acknowledgment sent {"connection_id":150404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:31:14] local.INFO: TCP Data received {"connection_id":150405,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:31:14] local.INFO: Processing buffer {"connection_id":150405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf152dd8012d34c44006aa3fe80014008123..."} 
[2026-08-08 07:31:14] local.INFO: Packet analysis {"connection_id":150405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:31:14] local.INFO: Extracted packet for processing {"connection_id":150405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf15"} 
[2026-08-08 07:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255381504001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154135000,"timestamp_ms":1786154135000,"timestamp_seconds":1786154135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf152dd8"} 
[2026-08-08 07:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 07:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255381504001,"66":26136,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255381504001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:31:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:31:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255381504001,"power":26136,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":150405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:31:14] local.INFO: GPS data processed {"connection_id":150405,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:31:14] local.INFO: Acknowledgment sent {"connection_id":150405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:31:36] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:31:36] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:31:36] local.INFO: IMEI packet received {"connection_id":151369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":151369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:31:37] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:31:37] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:31:37] local.INFO: IMEI packet received {"connection_id":152851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":152851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:31:41] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:31:41] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:31:41] local.INFO: IMEI packet received {"connection_id":151369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":151369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:31:42] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:31:42] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:31:42] local.INFO: IMEI packet received {"connection_id":152851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":152851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:31:43] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:31:43] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:31:43] local.INFO: Packet analysis {"connection_id":151369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:31:43] local.INFO: Extracted packet for processing {"connection_id":151369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":151369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:31:43] local.INFO: GPS data processed {"connection_id":151369,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:31:43] local.INFO: Acknowledgment sent {"connection_id":151369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:31:43] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:43] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:43] local.INFO: Packet analysis {"connection_id":152851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:31:43] local.INFO: Extracted packet for processing {"connection_id":152851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:31:43] 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-08-08 07:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:31:43] 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-08-08 07:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":152851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:31:43] local.INFO: GPS data processed {"connection_id":152851,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:31:43] local.INFO: Acknowledgment sent {"connection_id":152851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:31:48] local.INFO: TCP Data received {"connection_id":152851,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:48] local.INFO: Processing buffer {"connection_id":152851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:31:48] local.INFO: Packet analysis {"connection_id":152851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:31:48] local.INFO: Extracted packet for processing {"connection_id":152851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:31:48] 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-08-08 07:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:31:48] 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-08-08 07:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:31:48] 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-08-08 07:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":152851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:31:48] local.INFO: GPS data processed {"connection_id":152851,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:31:48] local.INFO: Acknowledgment sent {"connection_id":152851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:32:14] local.INFO: TCP Data received {"connection_id":151369,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:14] local.INFO: Processing buffer {"connection_id":151369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:14] local.INFO: Packet analysis {"connection_id":151369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:32:14] local.INFO: Extracted packet for processing {"connection_id":151369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:32:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":151369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:32:14] local.INFO: GPS data processed {"connection_id":151369,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:32:14] local.INFO: Acknowledgment sent {"connection_id":151369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:32:32] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:32:32] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:32:32] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:32:37] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:32:37] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:32:37] local.INFO: IMEI packet received {"connection_id":152852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":152852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:32:39] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:32:39] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:32:39] local.INFO: Packet analysis {"connection_id":152852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:32:39] local.INFO: Extracted packet for processing {"connection_id":152852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 07:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:32: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-08-08 07: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-08-08 07:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:32: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-08-08 07:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:32:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:32:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":152852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:32:39] local.INFO: GPS data processed {"connection_id":152852,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:32:39] local.INFO: Acknowledgment sent {"connection_id":152852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:32:41] local.INFO: TCP Data received {"connection_id":150406,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:32:41] local.INFO: Processing buffer {"connection_id":150406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:32:41] local.INFO: IMEI packet received {"connection_id":150406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":150406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:32:46] local.INFO: TCP Data received {"connection_id":150406,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:32:46] local.INFO: Processing buffer {"connection_id":150406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:32:46] local.INFO: IMEI packet received {"connection_id":150406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":150406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:32:48] local.INFO: TCP Data received {"connection_id":150406,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:48] local.INFO: Processing buffer {"connection_id":150406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:48] local.INFO: Packet analysis {"connection_id":150406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:32:48] local.INFO: Extracted packet for processing {"connection_id":150406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:32: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-08-08 07:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":150406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:32:48] local.INFO: GPS data processed {"connection_id":150406,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:32:48] local.INFO: Acknowledgment sent {"connection_id":150406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:32:52] local.INFO: TCP Data received {"connection_id":150406,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:52] local.INFO: Processing buffer {"connection_id":150406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:32:52] local.INFO: Packet analysis {"connection_id":150406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:32:52] local.INFO: Extracted packet for processing {"connection_id":150406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:32:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:32:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":150406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:32:52] local.INFO: GPS data processed {"connection_id":150406,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:32:52] local.INFO: Acknowledgment sent {"connection_id":150406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:33:11] local.INFO: TCP Data received {"connection_id":152852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:33:11] local.INFO: Processing buffer {"connection_id":152852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf178b50012d743600062cf148002100bf2c..."} 
[2026-08-08 07:33:11] local.INFO: Packet analysis {"connection_id":152852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:33:11] local.INFO: Extracted packet for processing {"connection_id":152852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf17"} 
[2026-08-08 07:33:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":44,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255421184001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786154290000,"timestamp_ms":1786154290000,"timestamp_seconds":1786154290,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf178b50"} 
[2026-08-08 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-08-08 07: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-08-08 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 07:33: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-08-08 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-08-08 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-08-08 07:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:33: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-08-08 07:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255421184001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255421184001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:33:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:33:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255421184001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":152852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:33:11] local.INFO: GPS data processed {"connection_id":152852,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:33:11] local.INFO: Acknowledgment sent {"connection_id":152852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:33:36] local.INFO: TCP Data received {"connection_id":150407,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:33:36] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:33:36] local.INFO: IMEI packet received {"connection_id":150407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":150407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:33:37] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:33:37] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:33:37] local.INFO: IMEI packet received {"connection_id":150408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":150408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:33:41] local.INFO: TCP Data received {"connection_id":150407,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:33:41] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:33:41] local.INFO: IMEI packet received {"connection_id":150407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":150407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:33:42] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:33:42] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:33:42] local.INFO: IMEI packet received {"connection_id":150408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":150408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:33:43] local.INFO: TCP Data received {"connection_id":150407,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:33:43] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:33:43] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:33:43] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:33:43] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:33:43] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:33:43] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:33:43] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:33:43] local.INFO: Packet analysis {"connection_id":150408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:33:43] local.INFO: Extracted packet for processing {"connection_id":150408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":150408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:33:43] local.INFO: GPS data processed {"connection_id":150408,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:33:43] local.INFO: Acknowledgment sent {"connection_id":150408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:33:48] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:33:48] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:33:48] local.INFO: Packet analysis {"connection_id":150408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:33:48] local.INFO: Extracted packet for processing {"connection_id":150408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:33:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:33:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:33:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":150408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:33:48] local.INFO: GPS data processed {"connection_id":150408,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:33:48] local.INFO: Acknowledgment sent {"connection_id":150408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:34:14] local.INFO: TCP Data received {"connection_id":150407,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:34:14] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:34:14] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:34:14] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:34:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:34:14] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:34:14] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:34:32] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:34:32] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:34:32] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:34:37] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:34:37] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:34:37] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:34:37] local.INFO: TCP Data received {"connection_id":150136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:34:37] local.INFO: Processing buffer {"connection_id":150136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:34:37] local.INFO: IMEI packet received {"connection_id":150136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":150136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:34:38] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:34:38] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:34:38] local.INFO: IMEI packet received {"connection_id":151370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":151370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:34:41] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:34:41] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:34:41] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:34:41] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 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-08-08 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 07:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:34: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-08-08 07:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:34:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:34:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:34:41] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:34:41] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:34:41] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:34:41] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:34:41] local.INFO: IMEI packet received {"connection_id":151371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":151371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:34:43] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:34:43] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:34:43] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:34:43] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:34:43] 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-08-08 07:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:34:43] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:34:43] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:34:43] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:34:43] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:34:43] local.INFO: Packet analysis {"connection_id":151371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:34:43] local.INFO: Extracted packet for processing {"connection_id":151371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":151371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:34:43] local.INFO: GPS data processed {"connection_id":151371,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:34:43] local.INFO: Acknowledgment sent {"connection_id":151371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:35:14] local.INFO: TCP Data received {"connection_id":151370,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:35:14] local.INFO: Processing buffer {"connection_id":151370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:35:14] local.INFO: Packet analysis {"connection_id":151370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:35:14] local.INFO: Extracted packet for processing {"connection_id":151370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:35:14] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:35: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-08-08 07:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":151370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:35:14] local.INFO: GPS data processed {"connection_id":151370,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:35:14] local.INFO: Acknowledgment sent {"connection_id":151370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:35:14] local.INFO: TCP Data received {"connection_id":151371,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:35:14] local.INFO: Processing buffer {"connection_id":151371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:35:14] local.INFO: Packet analysis {"connection_id":151371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:35:14] local.INFO: Extracted packet for processing {"connection_id":151371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":151371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:35:14] local.INFO: GPS data processed {"connection_id":151371,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:35:14] local.INFO: Acknowledgment sent {"connection_id":151371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:35:27] local.INFO: TCP Data received {"connection_id":150409,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:35:27] local.INFO: Processing buffer {"connection_id":150409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:35:27] local.INFO: IMEI packet received {"connection_id":150409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":150409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:35:32] local.INFO: TCP Data received {"connection_id":150137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:35:32] local.INFO: Processing buffer {"connection_id":150137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:35:32] local.INFO: IMEI packet received {"connection_id":150137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":150137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:35:36] local.INFO: TCP Data received {"connection_id":152853,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:35:36] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:35:36] local.INFO: IMEI packet received {"connection_id":152853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":152853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:35:37] local.INFO: TCP Data received {"connection_id":150137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:35:37] local.INFO: Processing buffer {"connection_id":150137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:35:37] local.INFO: IMEI packet received {"connection_id":150137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":150137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:35:39] local.INFO: TCP Data received {"connection_id":150137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:35:39] local.INFO: Processing buffer {"connection_id":150137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:35:39] local.INFO: Packet analysis {"connection_id":150137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:35:39] local.INFO: Extracted packet for processing {"connection_id":150137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:35:39] 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-08-08 07:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:35:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:35:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":150137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:35:39] local.INFO: GPS data processed {"connection_id":150137,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:35:39] local.INFO: Acknowledgment sent {"connection_id":150137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:35:41] local.INFO: TCP Data received {"connection_id":152853,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:35:41] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:35:41] local.INFO: IMEI packet received {"connection_id":152853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":152853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:35:43] local.INFO: TCP Data received {"connection_id":152853,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:35:43] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:35:43] local.INFO: Packet analysis {"connection_id":152853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:35:43] local.INFO: Extracted packet for processing {"connection_id":152853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:35:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":152853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:35:43] local.INFO: GPS data processed {"connection_id":152853,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:35:43] local.INFO: Acknowledgment sent {"connection_id":152853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:36:11] local.INFO: TCP Data received {"connection_id":150137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:11] local.INFO: Processing buffer {"connection_id":150137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:11] local.INFO: Packet analysis {"connection_id":150137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:36:11] local.INFO: Extracted packet for processing {"connection_id":150137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:36:11] 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-08-08 07:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:36:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:36:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":150137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:36:11] local.INFO: GPS data processed {"connection_id":150137,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:36:11] local.INFO: Acknowledgment sent {"connection_id":150137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:36:14] local.INFO: TCP Data received {"connection_id":152853,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:36:14] local.INFO: Processing buffer {"connection_id":152853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf19c5a0012d34c44006aa3fe80014008125..."} 
[2026-08-08 07:36:14] local.INFO: Packet analysis {"connection_id":152853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:36:14] local.INFO: Extracted packet for processing {"connection_id":152853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf19"} 
[2026-08-08 07:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154436000,"timestamp_ms":1786154436000,"timestamp_seconds":1786154436,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf19c5a0"} 
[2026-08-08 07:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 07:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255458560001,"66":26006,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:36:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255458560001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":152853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:36:14] local.INFO: GPS data processed {"connection_id":152853,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:36:14] local.INFO: Acknowledgment sent {"connection_id":152853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:36:37] local.INFO: TCP Data received {"connection_id":150410,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:36:37] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:36:37] local.INFO: IMEI packet received {"connection_id":150410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":150410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:36:41] local.INFO: TCP Data received {"connection_id":151372,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:36:41] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:36:41] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:36:42] local.INFO: TCP Data received {"connection_id":150410,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:36:42] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:36:42] local.INFO: IMEI packet received {"connection_id":150410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":150410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:36:44] local.INFO: TCP Data received {"connection_id":150410,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:44] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:44] local.INFO: Packet analysis {"connection_id":150410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:36:44] local.INFO: Extracted packet for processing {"connection_id":150410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:36:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:36:44] 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-08-08 07:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:36:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:36:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":150410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:36:44] local.INFO: GPS data processed {"connection_id":150410,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:36:44] local.INFO: Acknowledgment sent {"connection_id":150410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:36:46] local.INFO: TCP Data received {"connection_id":151372,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:36:46] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:36:46] local.INFO: IMEI packet received {"connection_id":151372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":151372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:36:48] local.INFO: TCP Data received {"connection_id":151372,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:36:48] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:36:48] local.INFO: Packet analysis {"connection_id":151372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:36:48] local.INFO: Extracted packet for processing {"connection_id":151372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":151372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:36:48] local.INFO: GPS data processed {"connection_id":151372,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:36:48] local.INFO: Acknowledgment sent {"connection_id":151372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:36:48] local.INFO: TCP Data received {"connection_id":150410,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:48] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:36:48] local.INFO: Packet analysis {"connection_id":150410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:36:48] local.INFO: Extracted packet for processing {"connection_id":150410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:36:48] 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-08-08 07:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":150410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:36:48] local.INFO: GPS data processed {"connection_id":150410,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:36:48] local.INFO: Acknowledgment sent {"connection_id":150410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:36:52] local.INFO: TCP Data received {"connection_id":151372,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:36:52] local.INFO: Processing buffer {"connection_id":151372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:36:52] local.INFO: Packet analysis {"connection_id":151372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:36:52] local.INFO: Extracted packet for processing {"connection_id":151372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:36:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:36:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":151372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:36:52] local.INFO: GPS data processed {"connection_id":151372,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:36:52] local.INFO: Acknowledgment sent {"connection_id":151372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:37:32] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:37:32] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:37:32] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:37:36] local.INFO: TCP Data received {"connection_id":150138,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:37:36] local.INFO: Processing buffer {"connection_id":150138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:37:36] local.INFO: IMEI packet received {"connection_id":150138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":150138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:37:37] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:37:37] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:37:37] local.INFO: IMEI packet received {"connection_id":151373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":151373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:37:39] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:37:39] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:37:39] local.INFO: Packet analysis {"connection_id":151373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:37:39] local.INFO: Extracted packet for processing {"connection_id":151373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:37:39] 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-08-08 07:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:37:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:37:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":151373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:37:39] local.INFO: GPS data processed {"connection_id":151373,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:37:39] local.INFO: Acknowledgment sent {"connection_id":151373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:37:41] local.INFO: TCP Data received {"connection_id":150138,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:37:41] local.INFO: Processing buffer {"connection_id":150138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:37:41] local.INFO: IMEI packet received {"connection_id":150138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":150138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:37:43] local.INFO: TCP Data received {"connection_id":150138,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:37:43] local.INFO: Processing buffer {"connection_id":150138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:37:43] local.INFO: Packet analysis {"connection_id":150138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:37:43] local.INFO: Extracted packet for processing {"connection_id":150138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:37:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":150138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:37:43] local.INFO: GPS data processed {"connection_id":150138,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:37:43] local.INFO: Acknowledgment sent {"connection_id":150138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:38:14] local.INFO: TCP Data received {"connection_id":150138,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:38:14] local.INFO: Processing buffer {"connection_id":150138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:38:14] local.INFO: Packet analysis {"connection_id":150138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:38:14] local.INFO: Extracted packet for processing {"connection_id":150138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:38:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":150138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:38:14] local.INFO: GPS data processed {"connection_id":150138,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:38:14] local.INFO: Acknowledgment sent {"connection_id":150138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:38:24] local.INFO: TCP Data received {"connection_id":151373,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:24] local.INFO: Processing buffer {"connection_id":151373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1c2318012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:24] local.INFO: Packet analysis {"connection_id":151373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:38:24] local.INFO: Extracted packet for processing {"connection_id":151373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1c"} 
[2026-08-08 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255498240001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786154591000,"timestamp_ms":1786154591000,"timestamp_seconds":1786154591,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1c2318"} 
[2026-08-08 07:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 07:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:38: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-08-08 07:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255498240001,"66":2209,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255498240001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:38:24] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:38:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255498240001,"power":2209,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":151373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:38:24] local.INFO: GPS data processed {"connection_id":151373,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:38:24] local.INFO: Acknowledgment sent {"connection_id":151373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:38:36] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:38:36] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:38:36] local.INFO: IMEI packet received {"connection_id":151374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":151374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:38:39] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:38:39] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:38:39] local.INFO: IMEI packet received {"connection_id":150411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":150411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:38:41] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:38:41] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:38:41] local.INFO: IMEI packet received {"connection_id":151374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":151374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:38:42] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:38:42] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:38:42] local.INFO: IMEI packet received {"connection_id":150411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":150411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:38:42] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:38:42] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:38:42] local.INFO: Packet analysis {"connection_id":151374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:38:42] local.INFO: Extracted packet for processing {"connection_id":151374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07: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-08-08 07:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":151374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:38:43] local.INFO: GPS data processed {"connection_id":151374,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:38:43] local.INFO: Acknowledgment sent {"connection_id":151374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:38:44] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:44] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:44] local.INFO: Packet analysis {"connection_id":150411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:38:44] local.INFO: Extracted packet for processing {"connection_id":150411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:38:44] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07: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-08-08 07: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-08-08 07: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-08-08 07:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:38:44] 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-08-08 07:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:38:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:38:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":150411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:38:44] local.INFO: GPS data processed {"connection_id":150411,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:38:44] local.INFO: Acknowledgment sent {"connection_id":150411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:38:58] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:58] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:38:58] local.INFO: Packet analysis {"connection_id":150411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:38:58] local.INFO: Extracted packet for processing {"connection_id":150411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:38:58] 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-08-08 07:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:38: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-08-08 07:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":150411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:38:58] local.INFO: GPS data processed {"connection_id":150411,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:38:58] local.INFO: Acknowledgment sent {"connection_id":150411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:39:14] local.INFO: TCP Data received {"connection_id":151374,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:39:14] local.INFO: Processing buffer {"connection_id":151374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:39:14] local.INFO: Packet analysis {"connection_id":151374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:39:14] local.INFO: Extracted packet for processing {"connection_id":151374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:39:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":151374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:39:14] local.INFO: GPS data processed {"connection_id":151374,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:39:14] local.INFO: Acknowledgment sent {"connection_id":151374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:39:32] local.INFO: TCP Data received {"connection_id":150412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:39:32] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:39:32] local.INFO: IMEI packet received {"connection_id":150412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":150412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:39:36] local.INFO: TCP Data received {"connection_id":152854,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:39:36] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:39:36] local.INFO: IMEI packet received {"connection_id":152854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":152854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:39:37] local.INFO: TCP Data received {"connection_id":150412,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:39:37] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:39:37] local.INFO: IMEI packet received {"connection_id":150412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":150412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:39:39] local.INFO: TCP Data received {"connection_id":150412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:39:39] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:39:39] local.INFO: Packet analysis {"connection_id":150412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:39:39] local.INFO: Extracted packet for processing {"connection_id":150412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:39:39] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:39: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-08-08 07:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:39:39] 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-08-08 07:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:39:39] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:39:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":150412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:39:39] local.INFO: GPS data processed {"connection_id":150412,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:39:39] local.INFO: Acknowledgment sent {"connection_id":150412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:39:41] local.INFO: TCP Data received {"connection_id":152854,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:39:41] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:39:41] local.INFO: IMEI packet received {"connection_id":152854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":152854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:39:42] local.INFO: TCP Data received {"connection_id":152854,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:39:42] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:39:42] local.INFO: Packet analysis {"connection_id":152854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:39:42] local.INFO: Extracted packet for processing {"connection_id":152854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 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-08-08 07: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-08-08 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 07:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:39:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":152854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:39:43] local.INFO: GPS data processed {"connection_id":152854,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:39:43] local.INFO: Acknowledgment sent {"connection_id":152854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:40:11] local.INFO: TCP Data received {"connection_id":150412,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:40:11] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:40:11] local.INFO: Packet analysis {"connection_id":150412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:40:11] local.INFO: Extracted packet for processing {"connection_id":150412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:40:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:40: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-08-08 07: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:40: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-08-08 07:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:40:11] 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-08-08 07:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:40:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:40:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":150412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:40:11] local.INFO: GPS data processed {"connection_id":150412,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:40:11] local.INFO: Acknowledgment sent {"connection_id":150412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:40:14] local.INFO: TCP Data received {"connection_id":152854,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:40:14] local.INFO: Processing buffer {"connection_id":152854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:40:14] local.INFO: Packet analysis {"connection_id":152854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:40:14] local.INFO: Extracted packet for processing {"connection_id":152854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:40:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":152854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:40:14] local.INFO: GPS data processed {"connection_id":152854,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:40:14] local.INFO: Acknowledgment sent {"connection_id":152854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:40:32] local.INFO: TCP Data received {"connection_id":150139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:40:32] local.INFO: Processing buffer {"connection_id":150139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:40:32] local.INFO: IMEI packet received {"connection_id":150139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":150139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:40:32] local.INFO: TCP Data received {"connection_id":150140,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:40:32] local.INFO: Processing buffer {"connection_id":150140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:40:32] local.INFO: IMEI packet received {"connection_id":150140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":150140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:40:36] local.INFO: TCP Data received {"connection_id":150141,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:40:36] local.INFO: Processing buffer {"connection_id":150141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:40:36] local.INFO: IMEI packet received {"connection_id":150141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":150141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:40:37] local.INFO: TCP Data received {"connection_id":150140,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:40:37] local.INFO: Processing buffer {"connection_id":150140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:40:37] local.INFO: IMEI packet received {"connection_id":150140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":150140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:40:40] local.INFO: TCP Data received {"connection_id":150140,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:40:40] local.INFO: Processing buffer {"connection_id":150140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:40:40] local.INFO: Packet analysis {"connection_id":150140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:40:40] local.INFO: Extracted packet for processing {"connection_id":150140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:40:40] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:40: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-08-08 07: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:40: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-08-08 07:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:40:40] 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-08-08 07:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:40:40] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:40:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":150140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:40:40] local.INFO: GPS data processed {"connection_id":150140,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:40:40] local.INFO: Acknowledgment sent {"connection_id":150140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:40:41] local.INFO: TCP Data received {"connection_id":150141,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:40:41] local.INFO: Processing buffer {"connection_id":150141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:40:41] local.INFO: IMEI packet received {"connection_id":150141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":150141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:40:43] local.INFO: TCP Data received {"connection_id":150141,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:40:43] local.INFO: Processing buffer {"connection_id":150141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:40:43] local.INFO: Packet analysis {"connection_id":150141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:40:43] local.INFO: Extracted packet for processing {"connection_id":150141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:40:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":150141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:40:43] local.INFO: GPS data processed {"connection_id":150141,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:40:43] local.INFO: Acknowledgment sent {"connection_id":150141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:41:14] local.INFO: TCP Data received {"connection_id":150141,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:41:14] local.INFO: Processing buffer {"connection_id":150141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf1e5d68012d34c44006aa3fe80014008124..."} 
[2026-08-08 07:41:14] local.INFO: Packet analysis {"connection_id":150141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:41:14] local.INFO: Extracted packet for processing {"connection_id":150141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf1e"} 
[2026-08-08 07:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":20,"angle":129,"satellites":36,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255535616001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786154737000,"timestamp_ms":1786154737000,"timestamp_seconds":1786154737,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf1e5d68"} 
[2026-08-08 07:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 07:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255535616001,"66":25875,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255535616001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:41:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255535616001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":150141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:41:14] local.INFO: GPS data processed {"connection_id":150141,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:41:14] local.INFO: Acknowledgment sent {"connection_id":150141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:41:23] local.INFO: TCP Data received {"connection_id":150140,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:41:23] local.INFO: Processing buffer {"connection_id":150140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:41:23] local.INFO: Packet analysis {"connection_id":150140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:41:23] local.INFO: Extracted packet for processing {"connection_id":150140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:41:23] 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-08-08 07:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:41: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-08-08 07:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":150140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:41:23] local.INFO: GPS data processed {"connection_id":150140,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:41:23] local.INFO: Acknowledgment sent {"connection_id":150140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:41:37] local.INFO: TCP Data received {"connection_id":150142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:41:37] local.INFO: Processing buffer {"connection_id":150142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:41:37] local.INFO: IMEI packet received {"connection_id":150142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 07:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":150142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:41:42] local.INFO: TCP Data received {"connection_id":152855,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:41:42] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:41:42] local.INFO: IMEI packet received {"connection_id":152855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":152855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:41:42] local.INFO: TCP Data received {"connection_id":150142,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:41:42] local.INFO: Processing buffer {"connection_id":150142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 07:41:42] local.INFO: IMEI packet received {"connection_id":150142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 07:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":150142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:41:45] local.INFO: TCP Data received {"connection_id":150142,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:41:45] local.INFO: Processing buffer {"connection_id":150142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:41:45] local.INFO: Packet analysis {"connection_id":150142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:41:45] local.INFO: Extracted packet for processing {"connection_id":150142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:41:45] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:41: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-08-08 07:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:41:45] 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-08-08 07:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:41:45] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:41:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":150142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:41:45] local.INFO: GPS data processed {"connection_id":150142,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:41:45] local.INFO: Acknowledgment sent {"connection_id":150142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:41:46] local.INFO: TCP Data received {"connection_id":152855,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:41:46] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:41:46] local.INFO: IMEI packet received {"connection_id":152855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":152855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:41:48] local.INFO: TCP Data received {"connection_id":152855,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:41:48] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:41:48] local.INFO: Packet analysis {"connection_id":152855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:41:48] local.INFO: Extracted packet for processing {"connection_id":152855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":152855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:41:48] local.INFO: GPS data processed {"connection_id":152855,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:41:48] local.INFO: Acknowledgment sent {"connection_id":152855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:42:17] local.INFO: TCP Data received {"connection_id":150142,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:42:17] local.INFO: Processing buffer {"connection_id":150142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf20bae0012d743600062cf148002100bf2a..."} 
[2026-08-08 07:42:17] local.INFO: Packet analysis {"connection_id":150142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:42:17] local.INFO: Extracted packet for processing {"connection_id":150142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf20"} 
[2026-08-08 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608648,"longitude_deg":76.259072,"latitude_deg":10.3608648,"altitude":33,"angle":191,"satellites":42,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf148","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255575296001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8373880583665829888,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786154892000,"timestamp_ms":1786154892000,"timestamp_seconds":1786154892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf20bae0"} 
[2026-08-08 07:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 07:42:17] 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-08-08 07: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-08-08 07:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 07:42:17] 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-08-08 07:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 07:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 07:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255575296001,"66":2231,"21":206,"79":21504,"24":0,"16":116070417432576000,"45":8373880583665829888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 07:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 07:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 07:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255575296001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:42:17] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 07:42:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 07:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8373880583665829888,"description":"Unknown IO ID 45"} 
[2026-08-08 07:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255575296001,"power":2231,"unknown_21":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8373880583665829888}} 
[2026-08-08 07:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":150142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:42:17] local.INFO: GPS data processed {"connection_id":150142,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:42:17] local.INFO: Acknowledgment sent {"connection_id":150142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:42:19] local.INFO: TCP Data received {"connection_id":152855,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:42:19] local.INFO: Processing buffer {"connection_id":152855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:42:19] local.INFO: Packet analysis {"connection_id":152855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:42:19] local.INFO: Extracted packet for processing {"connection_id":152855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:42:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":152855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:42:19] local.INFO: GPS data processed {"connection_id":152855,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:42:19] local.INFO: Acknowledgment sent {"connection_id":152855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:42:36] local.INFO: TCP Data received {"connection_id":150413,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:42:36] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:42:36] local.INFO: IMEI packet received {"connection_id":150413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":150413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:42:41] local.INFO: TCP Data received {"connection_id":150413,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:42:41] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:42:41] local.INFO: IMEI packet received {"connection_id":150413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":150413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:42:43] local.INFO: TCP Data received {"connection_id":150413,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:42:43] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:42:43] local.INFO: Packet analysis {"connection_id":150413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:42:43] local.INFO: Extracted packet for processing {"connection_id":150413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07: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-08-08 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:42:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":150413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:42:43] local.INFO: GPS data processed {"connection_id":150413,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:42:43] local.INFO: Acknowledgment sent {"connection_id":150413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:43:15] local.INFO: TCP Data received {"connection_id":150413,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:43:15] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:43:15] local.INFO: Packet analysis {"connection_id":150413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:43:15] local.INFO: Extracted packet for processing {"connection_id":150413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":150413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:43:15] local.INFO: GPS data processed {"connection_id":150413,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:43:15] local.INFO: Acknowledgment sent {"connection_id":150413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:43:36] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:43:36] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:43:36] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:43:41] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:43:41] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:43:41] local.INFO: IMEI packet received {"connection_id":151375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":151375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:43:43] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:43:43] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:43:43] local.INFO: Packet analysis {"connection_id":151375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:43:43] local.INFO: Extracted packet for processing {"connection_id":151375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":151375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:43:43] local.INFO: GPS data processed {"connection_id":151375,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:43:43] local.INFO: Acknowledgment sent {"connection_id":151375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:44:15] local.INFO: TCP Data received {"connection_id":151375,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:15] local.INFO: Processing buffer {"connection_id":151375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:15] local.INFO: Packet analysis {"connection_id":151375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:44:15] local.INFO: Extracted packet for processing {"connection_id":151375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:44:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":151375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:44:15] local.INFO: GPS data processed {"connection_id":151375,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:44:15] local.INFO: Acknowledgment sent {"connection_id":151375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:44:41] local.INFO: TCP Data received {"connection_id":150144,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:44:41] local.INFO: Processing buffer {"connection_id":150144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:44:41] local.INFO: IMEI packet received {"connection_id":150144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":150144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:44:46] local.INFO: TCP Data received {"connection_id":150144,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:44:46] local.INFO: Processing buffer {"connection_id":150144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:44:46] local.INFO: IMEI packet received {"connection_id":150144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":150144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:44:47] local.INFO: TCP Data received {"connection_id":150144,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:47] local.INFO: Processing buffer {"connection_id":150144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:47] local.INFO: Packet analysis {"connection_id":150144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:44:47] local.INFO: Extracted packet for processing {"connection_id":150144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:44: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-08-08 07:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:44:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":150144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:44:47] local.INFO: GPS data processed {"connection_id":150144,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:44:47] local.INFO: Acknowledgment sent {"connection_id":150144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:44:52] local.INFO: TCP Data received {"connection_id":150144,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:52] local.INFO: Processing buffer {"connection_id":150144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:44:52] local.INFO: Packet analysis {"connection_id":150144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:44:52] local.INFO: Extracted packet for processing {"connection_id":150144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:44:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:44:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":150144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:44:52] local.INFO: GPS data processed {"connection_id":150144,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:44:52] local.INFO: Acknowledgment sent {"connection_id":150144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:45:36] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:45:36] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:45:36] local.INFO: IMEI packet received {"connection_id":151376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":151376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:45:41] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:45:41] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:45:41] local.INFO: IMEI packet received {"connection_id":151376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":151376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:45:42] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:45:42] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:45:42] local.INFO: Packet analysis {"connection_id":151376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:45:42] local.INFO: Extracted packet for processing {"connection_id":151376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07: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-08-08 07:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07: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-08-08 07: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":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07: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-08-08 07:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:45:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":151376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":608999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:45:43] local.INFO: GPS data processed {"connection_id":151376,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:45:43] local.INFO: Acknowledgment sent {"connection_id":151376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:46:14] local.INFO: TCP Data received {"connection_id":151376,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:46:14] local.INFO: Processing buffer {"connection_id":151376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf22f530012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:46:14] local.INFO: Packet analysis {"connection_id":151376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:46:14] local.INFO: Extracted packet for processing {"connection_id":151376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf22"} 
[2026-08-08 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255612672001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155038000,"timestamp_ms":1786155038000,"timestamp_seconds":1786155038,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf22f530"} 
[2026-08-08 07:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 07:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255612672001,"66":25843,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255612672001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:46:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255612672001,"power":25843,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":151376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:46:14] local.INFO: GPS data processed {"connection_id":151376,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:46:14] local.INFO: Acknowledgment sent {"connection_id":151376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:46:36] local.INFO: TCP Data received {"connection_id":150145,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:46:36] local.INFO: Processing buffer {"connection_id":150145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:46:36] local.INFO: IMEI packet received {"connection_id":150145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:46:41] local.INFO: TCP Data received {"connection_id":150145,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:46:41] local.INFO: Processing buffer {"connection_id":150145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:46:41] local.INFO: IMEI packet received {"connection_id":150145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:46:42] local.INFO: TCP Data received {"connection_id":150145,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:46:42] local.INFO: Processing buffer {"connection_id":150145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:46:42] local.INFO: Packet analysis {"connection_id":150145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:46:42] local.INFO: Extracted packet for processing {"connection_id":150145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:46: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-08-08 07:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:46:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":150145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:46:43] local.INFO: GPS data processed {"connection_id":150145,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:46:43] local.INFO: Acknowledgment sent {"connection_id":150145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:47:14] local.INFO: TCP Data received {"connection_id":150145,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:47:14] local.INFO: Processing buffer {"connection_id":150145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:47:14] local.INFO: Packet analysis {"connection_id":150145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:47:14] local.INFO: Extracted packet for processing {"connection_id":150145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:47:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":150145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:47:14] local.INFO: GPS data processed {"connection_id":150145,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:47:14] local.INFO: Acknowledgment sent {"connection_id":150145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:47:22] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:47:22] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:47:22] local.INFO: IMEI packet received {"connection_id":151377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":151377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:47:27] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:47:27] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:47:27] local.INFO: IMEI packet received {"connection_id":151377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-08 07:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":151377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:47:29] local.INFO: TCP Data received {"connection_id":151377,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019fdf262598012d675500061f8ad00006008b2f..."} 
[2026-08-08 07:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151377,"packet_length":93,"packet_hex":"00000000000000518e010000019fdf262598012d675500061f8ad00006008b2f..."} 
[2026-08-08 07:47:29] local.INFO: Processing buffer {"connection_id":151377,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fdf262598012d675500061f8ad00006008b2f..."} 
[2026-08-08 07:47:29] local.INFO: Packet analysis {"connection_id":151377,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fdf26"} 
[2026-08-08 07:47:29] local.INFO: Extracted packet for processing {"connection_id":151377,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fdf26"} 
[2026-08-08 07:47:29] local.INFO: GPS Element Parsed {"raw_longitude":761746688,"raw_latitude":102730448,"longitude_deg":76.1746688,"latitude_deg":10.2730448,"altitude":6,"angle":139,"satellites":47,"speed":41,"hex_longitude":"2d675500","hex_latitude":"061f8ad0","is_valid_coordinates":true} 
[2026-08-08 07:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-08 07:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:47:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:47:29] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 07:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":151377,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-08 07:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":151377,"device_imei":"862567071632322","avl_records_count":0} 
[2026-08-08 07:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":151377,"device_imei":"862567071632322","avl_records_count":0} 
[2026-08-08 07:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 07:47:29] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 07:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":151377,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 07:47:29] local.ERROR: GPS data processing failed {"connection_id":151377,"error":"No valid data to process"} 
[2026-08-08 07:47:29] local.INFO: Acknowledgment sent {"connection_id":151377,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 07:47:36] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:47:36] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:47:36] local.INFO: IMEI packet received {"connection_id":151378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":151378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:47:41] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:47:41] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:47:41] local.INFO: IMEI packet received {"connection_id":151378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":151378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:47:42] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:47:42] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:47:42] local.INFO: Packet analysis {"connection_id":151378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:47:42] local.INFO: Extracted packet for processing {"connection_id":151378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 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-08-08 07:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:47: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-08-08 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-08-08 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-08-08 07:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:47:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":151378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:47:43] local.INFO: GPS data processed {"connection_id":151378,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:47:43] local.INFO: Acknowledgment sent {"connection_id":151378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:48:07] local.INFO: TCP Data received {"connection_id":150414,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:48:07] local.INFO: Processing buffer {"connection_id":150414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:48:07] local.INFO: IMEI packet received {"connection_id":150414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":150414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:48:14] local.INFO: TCP Data received {"connection_id":151378,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:48:14] local.INFO: Processing buffer {"connection_id":151378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:48:14] local.INFO: Packet analysis {"connection_id":151378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:48:14] local.INFO: Extracted packet for processing {"connection_id":151378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:48:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":151378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:48:14] local.INFO: GPS data processed {"connection_id":151378,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:48:14] local.INFO: Acknowledgment sent {"connection_id":151378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:48:36] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:48:36] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:48:36] local.INFO: IMEI packet received {"connection_id":151379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":151379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:48:41] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:48:41] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:48:41] local.INFO: IMEI packet received {"connection_id":151379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:48:42] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:48:42] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:48:42] local.INFO: Packet analysis {"connection_id":151379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:48:42] local.INFO: Extracted packet for processing {"connection_id":151379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:48: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-08-08 07:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:48:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":151379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:48:43] local.INFO: GPS data processed {"connection_id":151379,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:48:43] local.INFO: Acknowledgment sent {"connection_id":151379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:49:14] local.INFO: TCP Data received {"connection_id":151379,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:49:14] local.INFO: Processing buffer {"connection_id":151379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:49:14] local.INFO: Packet analysis {"connection_id":151379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:49:14] local.INFO: Extracted packet for processing {"connection_id":151379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:49:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":151379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:49:14] local.INFO: GPS data processed {"connection_id":151379,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:49:14] local.INFO: Acknowledgment sent {"connection_id":151379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:49:41] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:49:41] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:49:41] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:49:46] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:49:46] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:49:46] local.INFO: IMEI packet received {"connection_id":151380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":151380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:49:47] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:49:47] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:49:47] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:49:47] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:49:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:49:48] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:49:48] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:50:19] local.INFO: TCP Data received {"connection_id":151380,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:50:19] local.INFO: Processing buffer {"connection_id":151380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:50:19] local.INFO: Packet analysis {"connection_id":151380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:50:19] local.INFO: Extracted packet for processing {"connection_id":151380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:50:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:50:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:50:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":151380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:50:19] local.INFO: GPS data processed {"connection_id":151380,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:50:19] local.INFO: Acknowledgment sent {"connection_id":151380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:50:36] local.INFO: TCP Data received {"connection_id":150146,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:50:36] local.INFO: Processing buffer {"connection_id":150146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:50:36] local.INFO: IMEI packet received {"connection_id":150146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:50:41] local.INFO: TCP Data received {"connection_id":150146,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:50:41] local.INFO: Processing buffer {"connection_id":150146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:50:41] local.INFO: IMEI packet received {"connection_id":150146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":150146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:50:43] local.INFO: TCP Data received {"connection_id":150146,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:50:43] local.INFO: Processing buffer {"connection_id":150146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:50:43] local.INFO: Packet analysis {"connection_id":150146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:50:43] local.INFO: Extracted packet for processing {"connection_id":150146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:50:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":150146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:50:43] local.INFO: GPS data processed {"connection_id":150146,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:50:43] local.INFO: Acknowledgment sent {"connection_id":150146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:51:15] local.INFO: TCP Data received {"connection_id":150146,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:51:15] local.INFO: Processing buffer {"connection_id":150146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf278cf8012d34c44006aa3fe80016008128..."} 
[2026-08-08 07:51:15] local.INFO: Packet analysis {"connection_id":150146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:51:15] local.INFO: Extracted packet for processing {"connection_id":150146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf27"} 
[2026-08-08 07:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255689728001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786155339000,"timestamp_ms":1786155339000,"timestamp_seconds":1786155339,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf278cf8"} 
[2026-08-08 07:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":243,"data_length":795,"current_offset":136} 
[2026-08-08 07:51: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-08-08 07:51:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255689728001,"66":25778,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255689728001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:51:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255689728001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":150146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:51:15] local.INFO: GPS data processed {"connection_id":150146,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:51:15] local.INFO: Acknowledgment sent {"connection_id":150146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:51:36] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:51:36] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:51:36] local.INFO: IMEI packet received {"connection_id":150415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":150415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:51:41] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:51:41] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:51:41] local.INFO: IMEI packet received {"connection_id":150415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":150415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:51:42] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:51:42] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:51:42] local.INFO: Packet analysis {"connection_id":150415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:51:42] local.INFO: Extracted packet for processing {"connection_id":150415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 07:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 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-08-08 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:51: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-08-08 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-08-08 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-08-08 07:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:51:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":150415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:51:42] local.INFO: GPS data processed {"connection_id":150415,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:51:42] local.INFO: Acknowledgment sent {"connection_id":150415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:52:14] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:52:14] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:52:14] local.INFO: Packet analysis {"connection_id":150415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:52:14] local.INFO: Extracted packet for processing {"connection_id":150415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:52:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":150415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:52:14] local.INFO: GPS data processed {"connection_id":150415,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:52:14] local.INFO: Acknowledgment sent {"connection_id":150415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:52:36] local.INFO: TCP Data received {"connection_id":150147,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:52:36] local.INFO: Processing buffer {"connection_id":150147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:52:36] local.INFO: IMEI packet received {"connection_id":150147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":150147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:52:41] local.INFO: TCP Data received {"connection_id":150147,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:52:41] local.INFO: Processing buffer {"connection_id":150147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:52:41] local.INFO: IMEI packet received {"connection_id":150147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":150147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:52:43] local.INFO: TCP Data received {"connection_id":150147,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:52:43] local.INFO: Processing buffer {"connection_id":150147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:52:43] local.INFO: Packet analysis {"connection_id":150147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:52:43] local.INFO: Extracted packet for processing {"connection_id":150147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:52:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":150147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:52:43] local.INFO: GPS data processed {"connection_id":150147,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:52:43] local.INFO: Acknowledgment sent {"connection_id":150147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:53:14] local.INFO: TCP Data received {"connection_id":150147,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:14] local.INFO: Processing buffer {"connection_id":150147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:14] local.INFO: Packet analysis {"connection_id":150147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:53:14] local.INFO: Extracted packet for processing {"connection_id":150147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:53:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:53:14] local.INFO: GPS data processed {"connection_id":150147,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:53:14] local.INFO: Acknowledgment sent {"connection_id":150147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:53:41] local.INFO: TCP Data received {"connection_id":150416,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:53:41] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:53:41] local.INFO: IMEI packet received {"connection_id":150416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":150416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:53:46] local.INFO: TCP Data received {"connection_id":150416,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:53:46] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:53:46] local.INFO: IMEI packet received {"connection_id":150416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":150416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:53:47] local.INFO: TCP Data received {"connection_id":150417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:53:47] local.INFO: Processing buffer {"connection_id":150417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:53:47] local.INFO: IMEI packet received {"connection_id":150417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":150417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:53:47] local.INFO: TCP Data received {"connection_id":150416,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:47] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:47] local.INFO: Packet analysis {"connection_id":150416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:53:47] local.INFO: Extracted packet for processing {"connection_id":150416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:53:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":150416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:53:47] local.INFO: GPS data processed {"connection_id":150416,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:53:47] local.INFO: Acknowledgment sent {"connection_id":150416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:53:52] local.INFO: TCP Data received {"connection_id":150416,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:52] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:53:52] local.INFO: Packet analysis {"connection_id":150416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:53:52] local.INFO: Extracted packet for processing {"connection_id":150416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:53:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":150416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:53:52] local.INFO: GPS data processed {"connection_id":150416,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:53:52] local.INFO: Acknowledgment sent {"connection_id":150416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:54:36] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:54:36] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:54:36] local.INFO: IMEI packet received {"connection_id":150418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:54:42] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:54:42] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:54:42] local.INFO: IMEI packet received {"connection_id":150418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":150418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:54:44] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:54:44] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:54:44] local.INFO: Packet analysis {"connection_id":150418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:54:44] local.INFO: Extracted packet for processing {"connection_id":150418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:54:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:54:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":150418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:54:44] local.INFO: GPS data processed {"connection_id":150418,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:54:44] local.INFO: Acknowledgment sent {"connection_id":150418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:55:15] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:55:15] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:55:15] local.INFO: Packet analysis {"connection_id":150418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:55:15] local.INFO: Extracted packet for processing {"connection_id":150418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:55: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-08-08 07:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:55:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":150418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:55:15] local.INFO: GPS data processed {"connection_id":150418,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:55:15] local.INFO: Acknowledgment sent {"connection_id":150418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:55:36] local.INFO: TCP Data received {"connection_id":150148,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:55:36] local.INFO: Processing buffer {"connection_id":150148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:55:36] local.INFO: IMEI packet received {"connection_id":150148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":150148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:55:41] local.INFO: TCP Data received {"connection_id":150148,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:55:41] local.INFO: Processing buffer {"connection_id":150148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:55:41] local.INFO: IMEI packet received {"connection_id":150148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":150148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:55:42] local.INFO: TCP Data received {"connection_id":150148,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:55:42] local.INFO: Processing buffer {"connection_id":150148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:55:42] local.INFO: Packet analysis {"connection_id":150148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:55:42] local.INFO: Extracted packet for processing {"connection_id":150148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:55: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-08-08 07:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:55:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":150148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:55:42] local.INFO: GPS data processed {"connection_id":150148,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:55:42] local.INFO: Acknowledgment sent {"connection_id":150148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:56:14] local.INFO: TCP Data received {"connection_id":150148,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:56:14] local.INFO: Processing buffer {"connection_id":150148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf2c24c0012d34c44006aa3fe80016008125..."} 
[2026-08-08 07:56:14] local.INFO: Packet analysis {"connection_id":150148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:56:14] local.INFO: Extracted packet for processing {"connection_id":150148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf2c"} 
[2026-08-08 07:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":22,"angle":129,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255766784001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155640000,"timestamp_ms":1786155640000,"timestamp_seconds":1786155640,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf2c24c0"} 
[2026-08-08 07:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 07:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255766784001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255766784001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255766784001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":150148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:56:14] local.INFO: GPS data processed {"connection_id":150148,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:56:14] local.INFO: Acknowledgment sent {"connection_id":150148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:56:36] local.INFO: TCP Data received {"connection_id":152857,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:56:36] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:56:36] local.INFO: IMEI packet received {"connection_id":152857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":152857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:56:41] local.INFO: TCP Data received {"connection_id":152857,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:56:41] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:56:41] local.INFO: IMEI packet received {"connection_id":152857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":152857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:56:42] local.INFO: TCP Data received {"connection_id":152857,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:56:42] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:56:42] local.INFO: Packet analysis {"connection_id":152857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:56:42] local.INFO: Extracted packet for processing {"connection_id":152857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:56:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":152857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:56:42] local.INFO: GPS data processed {"connection_id":152857,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:56:42] local.INFO: Acknowledgment sent {"connection_id":152857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:57:14] local.INFO: TCP Data received {"connection_id":152857,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:57:14] local.INFO: Processing buffer {"connection_id":152857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:57:14] local.INFO: Packet analysis {"connection_id":152857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:57:14] local.INFO: Extracted packet for processing {"connection_id":152857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:57:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":152857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:57:14] local.INFO: GPS data processed {"connection_id":152857,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:57:14] local.INFO: Acknowledgment sent {"connection_id":152857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:57:41] local.INFO: TCP Data received {"connection_id":152858,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:57:41] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:57:41] local.INFO: IMEI packet received {"connection_id":152858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":152858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:57:46] local.INFO: TCP Data received {"connection_id":152858,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:57:46] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:57:46] local.INFO: IMEI packet received {"connection_id":152858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":152858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:57:47] local.INFO: TCP Data received {"connection_id":152858,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:57:47] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:57:47] local.INFO: Packet analysis {"connection_id":152858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:57:47] local.INFO: Extracted packet for processing {"connection_id":152858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:57:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:57:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":152858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:57:47] local.INFO: GPS data processed {"connection_id":152858,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:57:47] local.INFO: Acknowledgment sent {"connection_id":152858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:58:19] local.INFO: TCP Data received {"connection_id":152858,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:58:19] local.INFO: Processing buffer {"connection_id":152858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:58:19] local.INFO: Packet analysis {"connection_id":152858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:58:19] local.INFO: Extracted packet for processing {"connection_id":152858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:58:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:58:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":152858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:58:19] local.INFO: GPS data processed {"connection_id":152858,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:58:19] local.INFO: Acknowledgment sent {"connection_id":152858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:58:37] local.INFO: TCP Data received {"connection_id":152859,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:58:37] local.INFO: Processing buffer {"connection_id":152859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:58:37] local.INFO: IMEI packet received {"connection_id":152859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":152859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:58:41] local.INFO: TCP Data received {"connection_id":152859,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:58:41] local.INFO: Processing buffer {"connection_id":152859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:58:41] local.INFO: IMEI packet received {"connection_id":152859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":152859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:58:42] local.INFO: TCP Data received {"connection_id":152859,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:58:42] local.INFO: Processing buffer {"connection_id":152859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:58:42] local.INFO: Packet analysis {"connection_id":152859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:58:42] local.INFO: Extracted packet for processing {"connection_id":152859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:58:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":152859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:58:43] local.INFO: GPS data processed {"connection_id":152859,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:58:43] local.INFO: Acknowledgment sent {"connection_id":152859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:59:14] local.INFO: TCP Data received {"connection_id":152859,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:59:14] local.INFO: Processing buffer {"connection_id":152859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:59:14] local.INFO: Packet analysis {"connection_id":152859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:59:14] local.INFO: Extracted packet for processing {"connection_id":152859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:59:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":152859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:59:14] local.INFO: GPS data processed {"connection_id":152859,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:59:14] local.INFO: Acknowledgment sent {"connection_id":152859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 07:59:23] local.INFO: TCP Data received {"connection_id":151381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:59:23] local.INFO: Processing buffer {"connection_id":151381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-08 07:59:23] local.INFO: IMEI packet received {"connection_id":151381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-08 07:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":151381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:59:36] local.INFO: TCP Data received {"connection_id":150149,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:59:36] local.INFO: Processing buffer {"connection_id":150149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:59:36] local.INFO: IMEI packet received {"connection_id":150149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":150149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 07:59:41] local.INFO: TCP Data received {"connection_id":150149,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:59:41] local.INFO: Processing buffer {"connection_id":150149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 07:59:41] local.INFO: IMEI packet received {"connection_id":150149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 07:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":150149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 07:59:43] local.INFO: TCP Data received {"connection_id":150149,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:59:43] local.INFO: Processing buffer {"connection_id":150149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 07:59:43] local.INFO: Packet analysis {"connection_id":150149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:59:43] local.INFO: Extracted packet for processing {"connection_id":150149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 07:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 07:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 07:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 07:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 07:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 07:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 07:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 07:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 07:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 07:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 07:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 07:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 07:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 07:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 07:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 07:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 07:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 07:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 07:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 07:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 07:59:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 07:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 07:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 07:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 07:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 07:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":150149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 07:59:43] local.INFO: GPS data processed {"connection_id":150149,"processed":1,"errors":0,"total":1} 
[2026-08-08 07:59:43] local.INFO: Acknowledgment sent {"connection_id":150149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:00:14] local.INFO: TCP Data received {"connection_id":150149,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:00:14] local.INFO: Processing buffer {"connection_id":150149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:00:14] local.INFO: Packet analysis {"connection_id":150149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 08:00:14] local.INFO: Extracted packet for processing {"connection_id":150149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 08:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 08:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 08:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:00:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":150149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:00:14] local.INFO: GPS data processed {"connection_id":150149,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:00:14] local.INFO: Acknowledgment sent {"connection_id":150149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:00:36] local.INFO: TCP Data received {"connection_id":150150,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:00:36] local.INFO: Processing buffer {"connection_id":150150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:00:36] local.INFO: IMEI packet received {"connection_id":150150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:00:41] local.INFO: TCP Data received {"connection_id":150150,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:00:41] local.INFO: Processing buffer {"connection_id":150150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:00:41] local.INFO: IMEI packet received {"connection_id":150150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":150150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:00:42] local.INFO: TCP Data received {"connection_id":150150,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:00:42] local.INFO: Processing buffer {"connection_id":150150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:00:42] local.INFO: Packet analysis {"connection_id":150150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 08:00:42] local.INFO: Extracted packet for processing {"connection_id":150150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 08:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 08:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 08:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":150150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:00:42] local.INFO: GPS data processed {"connection_id":150150,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:00:42] local.INFO: Acknowledgment sent {"connection_id":150150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:01:14] local.INFO: TCP Data received {"connection_id":150150,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:01:14] local.INFO: Processing buffer {"connection_id":150150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf30bc88012d34c44006aa3fe8000e008126..."} 
[2026-08-08 08:01:14] local.INFO: Packet analysis {"connection_id":150150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 08:01:14] local.INFO: Extracted packet for processing {"connection_id":150150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf30"} 
[2026-08-08 08:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":14,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255843840001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786155941000,"timestamp_ms":1786155941000,"timestamp_seconds":1786155941,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf30bc88"} 
[2026-08-08 08:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 08:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255843840001,"66":25397,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255843840001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:01:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255843840001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":150150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:01:14] local.INFO: GPS data processed {"connection_id":150150,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:01:14] local.INFO: Acknowledgment sent {"connection_id":150150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:01:41] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:01:41] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:01:41] local.INFO: IMEI packet received {"connection_id":151383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":151383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:01:46] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:01:46] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:01:46] local.INFO: IMEI packet received {"connection_id":151383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":151383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:01:47] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:01:47] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:01:47] local.INFO: Packet analysis {"connection_id":151383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:01:47] local.INFO: Extracted packet for processing {"connection_id":151383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:01:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:01:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":151383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:01:47] local.INFO: GPS data processed {"connection_id":151383,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:01:47] local.INFO: Acknowledgment sent {"connection_id":151383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:02:19] local.INFO: TCP Data received {"connection_id":151383,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:02:19] local.INFO: Processing buffer {"connection_id":151383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:02:19] local.INFO: Packet analysis {"connection_id":151383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:02:19] local.INFO: Extracted packet for processing {"connection_id":151383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:02:19] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:02:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":151383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:02:19] local.INFO: GPS data processed {"connection_id":151383,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:02:19] local.INFO: Acknowledgment sent {"connection_id":151383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:02:37] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:02:37] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:02:37] local.INFO: IMEI packet received {"connection_id":150419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":150419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:02:41] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:02:41] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:02:41] local.INFO: IMEI packet received {"connection_id":150419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:02:42] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:02:42] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:02:42] local.INFO: Packet analysis {"connection_id":150419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:02:42] local.INFO: Extracted packet for processing {"connection_id":150419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 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-08-08 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:02:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":150419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:02:42] local.INFO: GPS data processed {"connection_id":150419,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:02:42] local.INFO: Acknowledgment sent {"connection_id":150419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:03:14] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:03:14] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:03:14] local.INFO: Packet analysis {"connection_id":150419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:03:14] local.INFO: Extracted packet for processing {"connection_id":150419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":150419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:03:14] local.INFO: GPS data processed {"connection_id":150419,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:03:14] local.INFO: Acknowledgment sent {"connection_id":150419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:03:36] local.INFO: TCP Data received {"connection_id":150420,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:03:36] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:03:36] local.INFO: IMEI packet received {"connection_id":150420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":150420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:03:41] local.INFO: TCP Data received {"connection_id":150420,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:03:41] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:03:41] local.INFO: IMEI packet received {"connection_id":150420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":150420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:03:42] local.INFO: TCP Data received {"connection_id":150420,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:03:42] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:03:42] local.INFO: Packet analysis {"connection_id":150420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:03:42] local.INFO: Extracted packet for processing {"connection_id":150420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 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-08-08 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08: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-08-08 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-08-08 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-08-08 08:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:03:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":150420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:03:42] local.INFO: GPS data processed {"connection_id":150420,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:03:42] local.INFO: Acknowledgment sent {"connection_id":150420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:04:14] local.INFO: TCP Data received {"connection_id":150420,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:04:14] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:04:14] local.INFO: Packet analysis {"connection_id":150420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:04:14] local.INFO: Extracted packet for processing {"connection_id":150420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:04:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":150420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:04:14] local.INFO: GPS data processed {"connection_id":150420,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:04:14] local.INFO: Acknowledgment sent {"connection_id":150420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:04:36] local.INFO: TCP Data received {"connection_id":152860,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:04:36] local.INFO: Processing buffer {"connection_id":152860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:04:36] local.INFO: IMEI packet received {"connection_id":152860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":152860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:04:41] local.INFO: TCP Data received {"connection_id":152860,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:04:41] local.INFO: Processing buffer {"connection_id":152860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:04:41] local.INFO: IMEI packet received {"connection_id":152860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":152860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:04:42] local.INFO: TCP Data received {"connection_id":152860,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:04:42] local.INFO: Processing buffer {"connection_id":152860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:04:42] local.INFO: Packet analysis {"connection_id":152860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:04:42] local.INFO: Extracted packet for processing {"connection_id":152860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:04: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-08-08 08:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:04:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":152860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:04:42] local.INFO: GPS data processed {"connection_id":152860,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:04:42] local.INFO: Acknowledgment sent {"connection_id":152860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:05:14] local.INFO: TCP Data received {"connection_id":152860,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:14] local.INFO: Processing buffer {"connection_id":152860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:14] local.INFO: Packet analysis {"connection_id":152860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:05:14] local.INFO: Extracted packet for processing {"connection_id":152860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:05:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":152860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:05:14] local.INFO: GPS data processed {"connection_id":152860,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:05:14] local.INFO: Acknowledgment sent {"connection_id":152860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:05:41] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:05:41] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:05:41] local.INFO: IMEI packet received {"connection_id":151384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":151384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:05:46] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:05:46] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:05:46] local.INFO: IMEI packet received {"connection_id":151384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":151384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:05:46] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:46] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:46] local.INFO: Packet analysis {"connection_id":151384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:05:46] local.INFO: Extracted packet for processing {"connection_id":151384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:05: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-08-08 08:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:05:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":151384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:05:47] local.INFO: GPS data processed {"connection_id":151384,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:05:47] local.INFO: Acknowledgment sent {"connection_id":151384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:05:52] local.INFO: TCP Data received {"connection_id":151384,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:52] local.INFO: Processing buffer {"connection_id":151384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf355450012d34c44006aa3fe80001008123..."} 
[2026-08-08 08:05:52] local.INFO: Packet analysis {"connection_id":151384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:05:52] local.INFO: Extracted packet for processing {"connection_id":151384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf35"} 
[2026-08-08 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":35,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255920896001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786156242000,"timestamp_ms":1786156242000,"timestamp_seconds":1786156242,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf355450"} 
[2026-08-08 08:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 08:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255920896001,"66":25702,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255920896001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:05:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:05:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255920896001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":151384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:05:52] local.INFO: GPS data processed {"connection_id":151384,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:05:52] local.INFO: Acknowledgment sent {"connection_id":151384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:06:36] local.INFO: TCP Data received {"connection_id":152861,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:06:36] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:06:36] local.INFO: IMEI packet received {"connection_id":152861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":152861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:06:41] local.INFO: TCP Data received {"connection_id":152861,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:06:41] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:06:41] local.INFO: IMEI packet received {"connection_id":152861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":152861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:06:42] local.INFO: TCP Data received {"connection_id":152861,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:06:42] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:06:42] local.INFO: Packet analysis {"connection_id":152861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:06:42] local.INFO: Extracted packet for processing {"connection_id":152861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08: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-08-08 08:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:06:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":152861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:06:42] local.INFO: GPS data processed {"connection_id":152861,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:06:42] local.INFO: Acknowledgment sent {"connection_id":152861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:07:14] local.INFO: TCP Data received {"connection_id":152861,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:07:14] local.INFO: Processing buffer {"connection_id":152861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:07:14] local.INFO: Packet analysis {"connection_id":152861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:07:14] local.INFO: Extracted packet for processing {"connection_id":152861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:07:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:07:14] local.INFO: GPS data processed {"connection_id":152861,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:07:14] local.INFO: Acknowledgment sent {"connection_id":152861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:07:36] local.INFO: TCP Data received {"connection_id":150151,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:07:36] local.INFO: Processing buffer {"connection_id":150151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:07:36] local.INFO: IMEI packet received {"connection_id":150151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":150151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:07:41] local.INFO: TCP Data received {"connection_id":150151,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:07:41] local.INFO: Processing buffer {"connection_id":150151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:07:41] local.INFO: IMEI packet received {"connection_id":150151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:07:42] local.INFO: TCP Data received {"connection_id":150151,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:07:42] local.INFO: Processing buffer {"connection_id":150151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:07:42] local.INFO: Packet analysis {"connection_id":150151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:07:42] local.INFO: Extracted packet for processing {"connection_id":150151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 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-08-08 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:07:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":150151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:07:42] local.INFO: GPS data processed {"connection_id":150151,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:07:42] local.INFO: Acknowledgment sent {"connection_id":150151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:08:14] local.INFO: TCP Data received {"connection_id":150151,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:08:14] local.INFO: Processing buffer {"connection_id":150151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:08:14] local.INFO: Packet analysis {"connection_id":150151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:08:14] local.INFO: Extracted packet for processing {"connection_id":150151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:08:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":150151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:08:14] local.INFO: GPS data processed {"connection_id":150151,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:08:14] local.INFO: Acknowledgment sent {"connection_id":150151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:08:36] local.INFO: TCP Data received {"connection_id":152862,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:08:36] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:08:36] local.INFO: IMEI packet received {"connection_id":152862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":152862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:08:41] local.INFO: TCP Data received {"connection_id":152862,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:08:41] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:08:41] local.INFO: IMEI packet received {"connection_id":152862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":152862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:08:42] local.INFO: TCP Data received {"connection_id":152862,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:08:42] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:08:42] local.INFO: Packet analysis {"connection_id":152862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:08:42] local.INFO: Extracted packet for processing {"connection_id":152862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:08:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":152862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:08:42] local.INFO: GPS data processed {"connection_id":152862,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:08:42] local.INFO: Acknowledgment sent {"connection_id":152862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:09:14] local.INFO: TCP Data received {"connection_id":152862,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:09:14] local.INFO: Processing buffer {"connection_id":152862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:09:14] local.INFO: Packet analysis {"connection_id":152862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:09:14] local.INFO: Extracted packet for processing {"connection_id":152862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:09:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":152862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:09:14] local.INFO: GPS data processed {"connection_id":152862,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:09:14] local.INFO: Acknowledgment sent {"connection_id":152862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:09:36] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:09:36] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:09:36] local.INFO: IMEI packet received {"connection_id":151385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":151385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:09:41] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:09:41] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:09:41] local.INFO: IMEI packet received {"connection_id":151385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":151385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:09:42] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:09:42] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:09:42] local.INFO: Packet analysis {"connection_id":151385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:09:42] local.INFO: Extracted packet for processing {"connection_id":151385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 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-08-08 08:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:09:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":151385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:09:42] local.INFO: GPS data processed {"connection_id":151385,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:09:42] local.INFO: Acknowledgment sent {"connection_id":151385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:10:14] local.INFO: TCP Data received {"connection_id":151385,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:14] local.INFO: Processing buffer {"connection_id":151385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:14] local.INFO: Packet analysis {"connection_id":151385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:10:14] local.INFO: Extracted packet for processing {"connection_id":151385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:10:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":151385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:10:14] local.INFO: GPS data processed {"connection_id":151385,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:10:14] local.INFO: Acknowledgment sent {"connection_id":151385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:10:41] local.INFO: TCP Data received {"connection_id":150152,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:10:41] local.INFO: Processing buffer {"connection_id":150152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:10:41] local.INFO: IMEI packet received {"connection_id":150152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":150152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:10:46] local.INFO: TCP Data received {"connection_id":150152,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:10:46] local.INFO: Processing buffer {"connection_id":150152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:10:46] local.INFO: IMEI packet received {"connection_id":150152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":150152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:10:47] local.INFO: TCP Data received {"connection_id":150152,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:47] local.INFO: Processing buffer {"connection_id":150152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:47] local.INFO: Packet analysis {"connection_id":150152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:10:47] local.INFO: Extracted packet for processing {"connection_id":150152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 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-08-08 08:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:10:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":150152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:10:47] local.INFO: GPS data processed {"connection_id":150152,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:10:47] local.INFO: Acknowledgment sent {"connection_id":150152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:10:52] local.INFO: TCP Data received {"connection_id":150152,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:52] local.INFO: Processing buffer {"connection_id":150152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf39ec18012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:10:52] local.INFO: Packet analysis {"connection_id":150152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:10:52] local.INFO: Extracted packet for processing {"connection_id":150152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf39"} 
[2026-08-08 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457255997952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786156543000,"timestamp_ms":1786156543000,"timestamp_seconds":1786156543,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf39ec18"} 
[2026-08-08 08:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 08:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457255997952001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457255997952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:10:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:10:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457255997952001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":150152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:10:52] local.INFO: GPS data processed {"connection_id":150152,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:10:52] local.INFO: Acknowledgment sent {"connection_id":150152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:11:37] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:11:37] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:11:37] local.INFO: IMEI packet received {"connection_id":150421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":150421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:11:41] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:11:41] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:11:41] local.INFO: IMEI packet received {"connection_id":150421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":150421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:11:42] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:11:42] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:11:42] local.INFO: Packet analysis {"connection_id":150421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:11:42] local.INFO: Extracted packet for processing {"connection_id":150421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 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-08-08 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:11:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":150421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:11:42] local.INFO: GPS data processed {"connection_id":150421,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:11:42] local.INFO: Acknowledgment sent {"connection_id":150421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:12:14] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:12:14] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:12:14] local.INFO: Packet analysis {"connection_id":150421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:12:14] local.INFO: Extracted packet for processing {"connection_id":150421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:12:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":150421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:12:14] local.INFO: GPS data processed {"connection_id":150421,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:12:14] local.INFO: Acknowledgment sent {"connection_id":150421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:12:36] local.INFO: TCP Data received {"connection_id":150153,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:12:36] local.INFO: Processing buffer {"connection_id":150153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:12:36] local.INFO: IMEI packet received {"connection_id":150153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":150153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:12:41] local.INFO: TCP Data received {"connection_id":150153,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:12:41] local.INFO: Processing buffer {"connection_id":150153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:12:41] local.INFO: IMEI packet received {"connection_id":150153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":150153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:12:42] local.INFO: TCP Data received {"connection_id":150153,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:12:42] local.INFO: Processing buffer {"connection_id":150153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:12:42] local.INFO: Packet analysis {"connection_id":150153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:12:42] local.INFO: Extracted packet for processing {"connection_id":150153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:12:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:12:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":150153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:12:42] local.INFO: GPS data processed {"connection_id":150153,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:12:42] local.INFO: Acknowledgment sent {"connection_id":150153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:13:14] local.INFO: TCP Data received {"connection_id":150153,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:14] local.INFO: Processing buffer {"connection_id":150153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:14] local.INFO: Packet analysis {"connection_id":150153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:13:14] local.INFO: Extracted packet for processing {"connection_id":150153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:13:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:13:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":150153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:13:14] local.INFO: GPS data processed {"connection_id":150153,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:13:14] local.INFO: Acknowledgment sent {"connection_id":150153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:13:41] local.INFO: TCP Data received {"connection_id":152863,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:13:41] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:13:41] local.INFO: IMEI packet received {"connection_id":152863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:13:46] local.INFO: TCP Data received {"connection_id":152863,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:13:46] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:13:46] local.INFO: IMEI packet received {"connection_id":152863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":152863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:13:47] local.INFO: TCP Data received {"connection_id":152863,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:47] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:47] local.INFO: Packet analysis {"connection_id":152863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:13:47] local.INFO: Extracted packet for processing {"connection_id":152863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:13:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":152863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:13:47] local.INFO: GPS data processed {"connection_id":152863,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:13:47] local.INFO: Acknowledgment sent {"connection_id":152863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:13:52] local.INFO: TCP Data received {"connection_id":152863,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:52] local.INFO: Processing buffer {"connection_id":152863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:13:52] local.INFO: Packet analysis {"connection_id":152863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:13:52] local.INFO: Extracted packet for processing {"connection_id":152863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:13:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":152863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:13:52] local.INFO: GPS data processed {"connection_id":152863,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:13:52] local.INFO: Acknowledgment sent {"connection_id":152863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:14:36] local.INFO: TCP Data received {"connection_id":152864,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:14:36] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:14:36] local.INFO: IMEI packet received {"connection_id":152864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":152864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:14:41] local.INFO: TCP Data received {"connection_id":152864,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:14:41] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:14:41] local.INFO: IMEI packet received {"connection_id":152864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":152864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:14:42] local.INFO: TCP Data received {"connection_id":152864,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:14:42] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:14:42] local.INFO: Packet analysis {"connection_id":152864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:14:42] local.INFO: Extracted packet for processing {"connection_id":152864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:14:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":152864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:14:42] local.INFO: GPS data processed {"connection_id":152864,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:14:42] local.INFO: Acknowledgment sent {"connection_id":152864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:15:14] local.INFO: TCP Data received {"connection_id":152864,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:15:14] local.INFO: Processing buffer {"connection_id":152864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:15:14] local.INFO: Packet analysis {"connection_id":152864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:15:14] local.INFO: Extracted packet for processing {"connection_id":152864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:15:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":152864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:15:14] local.INFO: GPS data processed {"connection_id":152864,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:15:14] local.INFO: Acknowledgment sent {"connection_id":152864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:15:37] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:15:37] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:15:37] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:15:41] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:15:41] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:15:41] local.INFO: IMEI packet received {"connection_id":151386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":151386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:15:42] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:15:42] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:15:42] local.INFO: Packet analysis {"connection_id":151386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:15:42] local.INFO: Extracted packet for processing {"connection_id":151386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:15:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:15:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":151386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:15:42] local.INFO: GPS data processed {"connection_id":151386,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:15:42] local.INFO: Acknowledgment sent {"connection_id":151386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:16:14] local.INFO: TCP Data received {"connection_id":151386,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:16:14] local.INFO: Processing buffer {"connection_id":151386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf3e83e0012d34c44006aa3fe80001008126..."} 
[2026-08-08 08:16:14] local.INFO: Packet analysis {"connection_id":151386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:16:14] local.INFO: Extracted packet for processing {"connection_id":151386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf3e"} 
[2026-08-08 08:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":1,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786156844000,"timestamp_ms":1786156844000,"timestamp_seconds":1786156844,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf3e83e0"} 
[2026-08-08 08:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256075008001,"66":25680,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 08:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 08:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256075008001,"power":25680,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":151386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:16:14] local.INFO: GPS data processed {"connection_id":151386,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:16:14] local.INFO: Acknowledgment sent {"connection_id":151386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:16:36] local.INFO: TCP Data received {"connection_id":152865,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:16:36] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:16:36] local.INFO: IMEI packet received {"connection_id":152865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":152865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:16:41] local.INFO: TCP Data received {"connection_id":152865,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:16:41] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:16:41] local.INFO: IMEI packet received {"connection_id":152865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":152865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:16:42] local.INFO: TCP Data received {"connection_id":152865,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:16:42] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:16:42] local.INFO: Packet analysis {"connection_id":152865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:16:42] local.INFO: Extracted packet for processing {"connection_id":152865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:16:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":152865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:16:42] local.INFO: GPS data processed {"connection_id":152865,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:16:42] local.INFO: Acknowledgment sent {"connection_id":152865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:17:14] local.INFO: TCP Data received {"connection_id":152865,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:14] local.INFO: Processing buffer {"connection_id":152865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:14] local.INFO: Packet analysis {"connection_id":152865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:17:14] local.INFO: Extracted packet for processing {"connection_id":152865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:17:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":152865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:17:14] local.INFO: GPS data processed {"connection_id":152865,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:17:14] local.INFO: Acknowledgment sent {"connection_id":152865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:17:41] local.INFO: TCP Data received {"connection_id":151387,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:17:41] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:17:41] local.INFO: IMEI packet received {"connection_id":151387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":151387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:17:46] local.INFO: TCP Data received {"connection_id":151387,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:17:46] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:17:46] local.INFO: IMEI packet received {"connection_id":151387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":151387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:17:47] local.INFO: TCP Data received {"connection_id":151387,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:47] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:47] local.INFO: Packet analysis {"connection_id":151387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:17:47] local.INFO: Extracted packet for processing {"connection_id":151387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:17:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":151387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:17:47] local.INFO: GPS data processed {"connection_id":151387,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:17:47] local.INFO: Acknowledgment sent {"connection_id":151387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:17:52] local.INFO: TCP Data received {"connection_id":151387,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:52] local.INFO: Processing buffer {"connection_id":151387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:17:52] local.INFO: Packet analysis {"connection_id":151387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:17:52] local.INFO: Extracted packet for processing {"connection_id":151387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:17:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:17:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":151387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:17:52] local.INFO: GPS data processed {"connection_id":151387,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:17:52] local.INFO: Acknowledgment sent {"connection_id":151387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:18:36] local.INFO: TCP Data received {"connection_id":150154,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:18:36] local.INFO: Processing buffer {"connection_id":150154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:18:36] local.INFO: IMEI packet received {"connection_id":150154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":150154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:18:41] local.INFO: TCP Data received {"connection_id":150154,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:18:41] local.INFO: Processing buffer {"connection_id":150154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:18:41] local.INFO: IMEI packet received {"connection_id":150154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":150154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:18:42] local.INFO: TCP Data received {"connection_id":150154,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:18:42] local.INFO: Processing buffer {"connection_id":150154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:18:42] local.INFO: Packet analysis {"connection_id":150154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:18:42] local.INFO: Extracted packet for processing {"connection_id":150154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:18:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:18:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":150154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:18:42] local.INFO: GPS data processed {"connection_id":150154,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:18:42] local.INFO: Acknowledgment sent {"connection_id":150154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:19:14] local.INFO: TCP Data received {"connection_id":150154,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:19:14] local.INFO: Processing buffer {"connection_id":150154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:19:14] local.INFO: Packet analysis {"connection_id":150154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:19:14] local.INFO: Extracted packet for processing {"connection_id":150154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:19:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":150154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:19:14] local.INFO: GPS data processed {"connection_id":150154,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:19:14] local.INFO: Acknowledgment sent {"connection_id":150154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:19:36] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:19:36] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:19:36] local.INFO: IMEI packet received {"connection_id":150422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":150422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:19:41] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:19:41] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:19:41] local.INFO: IMEI packet received {"connection_id":150422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":150422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:19:42] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:19:42] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:19:42] local.INFO: Packet analysis {"connection_id":150422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:19:42] local.INFO: Extracted packet for processing {"connection_id":150422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 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-08-08 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:19:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":150422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:19:42] local.INFO: GPS data processed {"connection_id":150422,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:19:42] local.INFO: Acknowledgment sent {"connection_id":150422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:20:14] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:20:14] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:20:14] local.INFO: Packet analysis {"connection_id":150422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:20:14] local.INFO: Extracted packet for processing {"connection_id":150422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:20:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":150422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:20:14] local.INFO: GPS data processed {"connection_id":150422,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:20:14] local.INFO: Acknowledgment sent {"connection_id":150422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:20:36] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:20:36] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:20:36] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:20:41] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:20:41] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:20:41] local.INFO: IMEI packet received {"connection_id":151388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:20:42] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:20:42] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:20:42] local.INFO: Packet analysis {"connection_id":151388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:20:42] local.INFO: Extracted packet for processing {"connection_id":151388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":151388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:20:42] local.INFO: GPS data processed {"connection_id":151388,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:20:42] local.INFO: Acknowledgment sent {"connection_id":151388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:21:14] local.INFO: TCP Data received {"connection_id":151388,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:21:14] local.INFO: Processing buffer {"connection_id":151388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf431ba8012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:21:14] local.INFO: Packet analysis {"connection_id":151388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:21:14] local.INFO: Extracted packet for processing {"connection_id":151388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf43"} 
[2026-08-08 08:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256152064001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157145000,"timestamp_ms":1786157145000,"timestamp_seconds":1786157145,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf431ba8"} 
[2026-08-08 08:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 08:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256152064001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256152064001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:21:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:21:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256152064001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":151388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:21:14] local.INFO: GPS data processed {"connection_id":151388,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:21:14] local.INFO: Acknowledgment sent {"connection_id":151388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:21:36] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:21:36] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:21:36] local.INFO: IMEI packet received {"connection_id":151389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":151389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:21:41] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:21:41] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:21:41] local.INFO: IMEI packet received {"connection_id":151389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":151389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:21:42] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:21:42] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:21:42] local.INFO: Packet analysis {"connection_id":151389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:21:42] local.INFO: Extracted packet for processing {"connection_id":151389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 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-08-08 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08: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-08-08 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-08-08 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-08-08 08:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:21:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":151389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:21:42] local.INFO: GPS data processed {"connection_id":151389,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:21:42] local.INFO: Acknowledgment sent {"connection_id":151389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:22:14] local.INFO: TCP Data received {"connection_id":151389,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:22:14] local.INFO: Processing buffer {"connection_id":151389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:22:14] local.INFO: Packet analysis {"connection_id":151389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:22:14] local.INFO: Extracted packet for processing {"connection_id":151389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":151389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:22:14] local.INFO: GPS data processed {"connection_id":151389,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:22:14] local.INFO: Acknowledgment sent {"connection_id":151389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:22:36] local.INFO: TCP Data received {"connection_id":151390,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:22:36] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:22:36] local.INFO: IMEI packet received {"connection_id":151390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":151390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:22:41] local.INFO: TCP Data received {"connection_id":151390,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:22:41] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:22:41] local.INFO: IMEI packet received {"connection_id":151390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":151390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:22:43] local.INFO: TCP Data received {"connection_id":151390,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:22:43] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:22:43] local.INFO: Packet analysis {"connection_id":151390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:22:43] local.INFO: Extracted packet for processing {"connection_id":151390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":151390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:22:43] local.INFO: GPS data processed {"connection_id":151390,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:22:43] local.INFO: Acknowledgment sent {"connection_id":151390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:23:14] local.INFO: TCP Data received {"connection_id":151390,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:23:14] local.INFO: Processing buffer {"connection_id":151390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:23:14] local.INFO: Packet analysis {"connection_id":151390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:23:14] local.INFO: Extracted packet for processing {"connection_id":151390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:23:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":151390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:23:14] local.INFO: GPS data processed {"connection_id":151390,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:23:14] local.INFO: Acknowledgment sent {"connection_id":151390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:23:36] local.INFO: TCP Data received {"connection_id":150155,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:23:36] local.INFO: Processing buffer {"connection_id":150155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:23:36] local.INFO: IMEI packet received {"connection_id":150155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:23:41] local.INFO: TCP Data received {"connection_id":150155,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:23:41] local.INFO: Processing buffer {"connection_id":150155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:23:41] local.INFO: IMEI packet received {"connection_id":150155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:23:42] local.INFO: TCP Data received {"connection_id":150155,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:23:42] local.INFO: Processing buffer {"connection_id":150155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:23:42] local.INFO: Packet analysis {"connection_id":150155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:23:42] local.INFO: Extracted packet for processing {"connection_id":150155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08: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-08-08 08:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:23:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":150155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:23:42] local.INFO: GPS data processed {"connection_id":150155,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:23:42] local.INFO: Acknowledgment sent {"connection_id":150155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:24:14] local.INFO: TCP Data received {"connection_id":150155,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:24:14] local.INFO: Processing buffer {"connection_id":150155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:24:14] local.INFO: Packet analysis {"connection_id":150155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:24:14] local.INFO: Extracted packet for processing {"connection_id":150155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:24:14] local.INFO: GPS data processed {"connection_id":150155,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:24:14] local.INFO: Acknowledgment sent {"connection_id":150155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:24:36] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:24:36] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:24:36] local.INFO: IMEI packet received {"connection_id":151391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":151391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:24:41] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:24:41] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:24:41] local.INFO: IMEI packet received {"connection_id":151391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":151391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:24:43] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:24:43] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:24:43] local.INFO: Packet analysis {"connection_id":151391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:24:43] local.INFO: Extracted packet for processing {"connection_id":151391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:24:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":151391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:24:43] local.INFO: GPS data processed {"connection_id":151391,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:24:43] local.INFO: Acknowledgment sent {"connection_id":151391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:25:15] local.INFO: TCP Data received {"connection_id":151391,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:15] local.INFO: Processing buffer {"connection_id":151391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:15] local.INFO: Packet analysis {"connection_id":151391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:25:15] local.INFO: Extracted packet for processing {"connection_id":151391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:25:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:25:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":151391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:25:15] local.INFO: GPS data processed {"connection_id":151391,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:25:15] local.INFO: Acknowledgment sent {"connection_id":151391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:25:41] local.INFO: TCP Data received {"connection_id":152866,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:25:41] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:25:41] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:25:46] local.INFO: TCP Data received {"connection_id":152866,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:25:46] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:25:46] local.INFO: IMEI packet received {"connection_id":152866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":152866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:25:48] local.INFO: TCP Data received {"connection_id":152866,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:48] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:48] local.INFO: Packet analysis {"connection_id":152866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:25:48] local.INFO: Extracted packet for processing {"connection_id":152866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:25: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-08-08 08:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:25:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:25:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":152866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:25:48] local.INFO: GPS data processed {"connection_id":152866,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:25:48] local.INFO: Acknowledgment sent {"connection_id":152866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:25:52] local.INFO: TCP Data received {"connection_id":152866,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:52] local.INFO: Processing buffer {"connection_id":152866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf47b370012d34c44006aa3fe8000900812a..."} 
[2026-08-08 08:25:52] local.INFO: Packet analysis {"connection_id":152866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:25:52] local.INFO: Extracted packet for processing {"connection_id":152866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf47"} 
[2026-08-08 08:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256229120001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786157446000,"timestamp_ms":1786157446000,"timestamp_seconds":1786157446,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf47b370"} 
[2026-08-08 08:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 08:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256229120001,"66":25593,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256229120001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:25:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256229120001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":152866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:25:52] local.INFO: GPS data processed {"connection_id":152866,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:25:52] local.INFO: Acknowledgment sent {"connection_id":152866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:26:36] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:26:36] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:26:36] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:26:41] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:26:41] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:26:41] local.INFO: IMEI packet received {"connection_id":151392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":151392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:26:42] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:26:42] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:26:42] local.INFO: Packet analysis {"connection_id":151392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4c"} 
[2026-08-08 08:26:42] local.INFO: Extracted packet for processing {"connection_id":151392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4c"} 
[2026-08-08 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256306176001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157747000,"timestamp_ms":1786157747000,"timestamp_seconds":1786157747,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4c4b38"} 
[2026-08-08 08:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 08:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256306176001,"66":25604,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256306176001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:26:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256306176001,"power":25604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":151392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:26:42] local.INFO: GPS data processed {"connection_id":151392,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:26:42] local.INFO: Acknowledgment sent {"connection_id":151392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:27:14] local.INFO: TCP Data received {"connection_id":151392,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:27:14] local.INFO: Processing buffer {"connection_id":151392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:27:14] local.INFO: Packet analysis {"connection_id":151392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4c"} 
[2026-08-08 08:27:14] local.INFO: Extracted packet for processing {"connection_id":151392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4c"} 
[2026-08-08 08:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256306176001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157747000,"timestamp_ms":1786157747000,"timestamp_seconds":1786157747,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4c4b38"} 
[2026-08-08 08:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 08:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256306176001,"66":25604,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256306176001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:27:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256306176001,"power":25604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":151392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:27:14] local.INFO: GPS data processed {"connection_id":151392,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:27:14] local.INFO: Acknowledgment sent {"connection_id":151392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:27:36] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:27:36] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:27:36] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:27:41] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:27:41] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:27:41] local.INFO: IMEI packet received {"connection_id":151393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":151393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:27:44] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:27:44] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4c4b38012d34c44006aa3fe80009008127..."} 
[2026-08-08 08:27:44] local.INFO: Packet analysis {"connection_id":151393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4c"} 
[2026-08-08 08:27:44] local.INFO: Extracted packet for processing {"connection_id":151393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4c"} 
[2026-08-08 08:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":39,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256306176001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786157747000,"timestamp_ms":1786157747000,"timestamp_seconds":1786157747,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4c4b38"} 
[2026-08-08 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-08-08 08:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 08:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256306176001,"66":25604,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256306176001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:27:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:27:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256306176001,"power":25604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":151393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:27:44] local.INFO: GPS data processed {"connection_id":151393,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:27:44] local.INFO: Acknowledgment sent {"connection_id":151393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:28:16] local.INFO: TCP Data received {"connection_id":151393,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4df118012d34c44006aa3fe80009008126..."} 
[2026-08-08 08:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4df118012d34c44006aa3fe80009008126..."} 
[2026-08-08 08:28:16] local.INFO: Processing buffer {"connection_id":151393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4df118012d34c44006aa3fe80009008126..."} 
[2026-08-08 08:28:16] local.INFO: Packet analysis {"connection_id":151393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4d"} 
[2026-08-08 08:28:16] local.INFO: Extracted packet for processing {"connection_id":151393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4d"} 
[2026-08-08 08:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820776,"longitude_deg":75.8432832,"latitude_deg":11.1820776,"altitude":9,"angle":129,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3fe8","is_valid_coordinates":true} 
[2026-08-08 08:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256383232001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786157855000,"timestamp_ms":1786157855000,"timestamp_seconds":1786157855,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4df118"} 
[2026-08-08 08:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 08:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256383232001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256383232001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:28:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256383232001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":151393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:28:16] local.INFO: GPS data processed {"connection_id":151393,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:28:16] local.INFO: Acknowledgment sent {"connection_id":151393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:28:36] local.INFO: TCP Data received {"connection_id":152867,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:28:36] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:28:36] local.INFO: IMEI packet received {"connection_id":152867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":152867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:28:41] local.INFO: TCP Data received {"connection_id":152867,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:28:41] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:28:41] local.INFO: IMEI packet received {"connection_id":152867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":152867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:28:42] local.INFO: TCP Data received {"connection_id":152867,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e00b8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e00b8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:28:42] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e00b8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:28:42] local.INFO: Packet analysis {"connection_id":152867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:28:42] local.INFO: Extracted packet for processing {"connection_id":152867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256410880001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777837568,"note":"Value kept but may cause issues"} 
[2026-08-08 08:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157859000,"timestamp_ms":1786157859000,"timestamp_seconds":1786157859,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e00b8"} 
[2026-08-08 08:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08: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-08-08 08:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256410880001,"66":25441,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802234382777837568},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256410880001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:28:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777837568,"description":"Unknown IO ID 45"} 
[2026-08-08 08:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256410880001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382777837568}} 
[2026-08-08 08:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":152867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:28:42] local.INFO: GPS data processed {"connection_id":152867,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:28:42] local.INFO: Acknowledgment sent {"connection_id":152867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:29:13] local.INFO: TCP Data received {"connection_id":152867,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:29:13] local.INFO: Processing buffer {"connection_id":152867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:29:13] local.INFO: Packet analysis {"connection_id":152867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:29:13] local.INFO: Extracted packet for processing {"connection_id":152867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:29:13] 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-08-08 08:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:29:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:29:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":152867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:29:13] local.INFO: GPS data processed {"connection_id":152867,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:29:13] local.INFO: Acknowledgment sent {"connection_id":152867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:29:36] local.INFO: TCP Data received {"connection_id":150423,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:29:36] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:29:36] local.INFO: IMEI packet received {"connection_id":150423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:29:41] local.INFO: TCP Data received {"connection_id":150423,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:29:41] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:29:41] local.INFO: IMEI packet received {"connection_id":150423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":150423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:29:43] local.INFO: TCP Data received {"connection_id":150423,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:29:43] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:29:43] local.INFO: Packet analysis {"connection_id":150423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:29:43] local.INFO: Extracted packet for processing {"connection_id":150423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:29:43] 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-08-08 08:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:29:43] local.INFO: GPS data processed {"connection_id":150423,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:29:43] local.INFO: Acknowledgment sent {"connection_id":150423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:30:15] local.INFO: TCP Data received {"connection_id":150423,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:30:15] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:30:15] local.INFO: Packet analysis {"connection_id":150423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:30:15] local.INFO: Extracted packet for processing {"connection_id":150423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08: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":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:30: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-08-08 08:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:30:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":150423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:30:15] local.INFO: GPS data processed {"connection_id":150423,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:30:15] local.INFO: Acknowledgment sent {"connection_id":150423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:30:41] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:30:41] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:30:41] local.INFO: IMEI packet received {"connection_id":151394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":151394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:30:46] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:30:46] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:30:46] local.INFO: IMEI packet received {"connection_id":151394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":151394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:30:48] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:30:48] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:30:48] local.INFO: Packet analysis {"connection_id":151394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:30:48] local.INFO: Extracted packet for processing {"connection_id":151394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:30:48] 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-08-08 08: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-08-08 08:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:30:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":151394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:30:48] local.INFO: GPS data processed {"connection_id":151394,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:30:48] local.INFO: Acknowledgment sent {"connection_id":151394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:31:19] local.INFO: TCP Data received {"connection_id":151394,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:31:19] local.INFO: Processing buffer {"connection_id":151394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:31:19] local.INFO: Packet analysis {"connection_id":151394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:31:19] local.INFO: Extracted packet for processing {"connection_id":151394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08: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":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:31: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-08-08 08:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:31:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:31:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":151394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:31:19] local.INFO: GPS data processed {"connection_id":151394,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:31:19] local.INFO: Acknowledgment sent {"connection_id":151394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:31:37] local.INFO: TCP Data received {"connection_id":152868,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:31:37] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:31:37] local.INFO: IMEI packet received {"connection_id":152868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":152868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:31:41] local.INFO: TCP Data received {"connection_id":152868,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:31:41] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:31:41] local.INFO: IMEI packet received {"connection_id":152868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":152868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:31:42] local.INFO: TCP Data received {"connection_id":152868,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:31:42] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:31:42] local.INFO: Packet analysis {"connection_id":152868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:31:42] local.INFO: Extracted packet for processing {"connection_id":152868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08: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":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:31: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-08-08 08:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:31:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":152868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:31:42] local.INFO: GPS data processed {"connection_id":152868,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:31:42] local.INFO: Acknowledgment sent {"connection_id":152868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:32:13] local.INFO: TCP Data received {"connection_id":152868,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:32:13] local.INFO: Processing buffer {"connection_id":152868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:32:13] local.INFO: Packet analysis {"connection_id":152868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:32:13] local.INFO: Extracted packet for processing {"connection_id":152868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:32: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-08-08 08:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:32:13] 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-08-08 08:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:32:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:32:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":152868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:32:13] local.INFO: GPS data processed {"connection_id":152868,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:32:13] local.INFO: Acknowledgment sent {"connection_id":152868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:32:36] local.INFO: TCP Data received {"connection_id":152869,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:32:36] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:32:36] local.INFO: IMEI packet received {"connection_id":152869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":152869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:32:41] local.INFO: TCP Data received {"connection_id":152869,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:32:41] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:32:41] local.INFO: IMEI packet received {"connection_id":152869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":152869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:32:42] local.INFO: TCP Data received {"connection_id":152869,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:32:42] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:32:42] local.INFO: Packet analysis {"connection_id":152869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:32:42] local.INFO: Extracted packet for processing {"connection_id":152869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:32: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-08-08 08:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:32:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":152869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:32:42] local.INFO: GPS data processed {"connection_id":152869,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:32:42] local.INFO: Acknowledgment sent {"connection_id":152869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:33:14] local.INFO: TCP Data received {"connection_id":152869,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:33:14] local.INFO: Processing buffer {"connection_id":152869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf4e1ff8012d34c68006aa3fb80009011d26..."} 
[2026-08-08 08:33:14] local.INFO: Packet analysis {"connection_id":152869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:33:14] local.INFO: Extracted packet for processing {"connection_id":152869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf4e"} 
[2026-08-08 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820728,"longitude_deg":75.8433408,"latitude_deg":11.1820728,"altitude":9,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-08-08 08:33: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-08-08 08:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256411904001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786157867000,"timestamp_ms":1786157867000,"timestamp_seconds":1786157867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf4e1ff8"} 
[2026-08-08 08:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 08:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 08:33:14] 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-08-08 08:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256411904001,"66":25462,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256411904001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:33:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256411904001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":152869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:33:14] local.INFO: GPS data processed {"connection_id":152869,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:33:14] local.INFO: Acknowledgment sent {"connection_id":152869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:33:36] local.INFO: TCP Data received {"connection_id":150156,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:33:36] local.INFO: Processing buffer {"connection_id":150156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:33:36] local.INFO: IMEI packet received {"connection_id":150156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":150156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:33:42] local.INFO: TCP Data received {"connection_id":150156,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:33:42] local.INFO: Processing buffer {"connection_id":150156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:33:42] local.INFO: IMEI packet received {"connection_id":150156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":150156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:33:43] local.INFO: TCP Data received {"connection_id":150156,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:33:43] local.INFO: Processing buffer {"connection_id":150156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:33:43] local.INFO: Packet analysis {"connection_id":150156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:33:43] local.INFO: Extracted packet for processing {"connection_id":150156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:33:43] 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-08-08 08:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:33:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":150156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:33:43] local.INFO: GPS data processed {"connection_id":150156,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:33:43] local.INFO: Acknowledgment sent {"connection_id":150156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:34:15] local.INFO: TCP Data received {"connection_id":150156,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:15] local.INFO: Processing buffer {"connection_id":150156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:15] local.INFO: Packet analysis {"connection_id":150156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:34:15] local.INFO: Extracted packet for processing {"connection_id":150156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:34: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-08-08 08:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:34:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":150156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:34:15] local.INFO: GPS data processed {"connection_id":150156,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:34:15] local.INFO: Acknowledgment sent {"connection_id":150156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:34:41] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:34:41] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:34:41] local.INFO: IMEI packet received {"connection_id":151395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":151395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:34:46] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:34:46] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:34:46] local.INFO: IMEI packet received {"connection_id":151395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":151395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:34:47] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:47] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:47] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:34:47] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:34:47] 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-08-08 08:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:34:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:34:47] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:34:47] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:34:52] local.INFO: TCP Data received {"connection_id":151395,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:52] local.INFO: Processing buffer {"connection_id":151395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:34:52] local.INFO: Packet analysis {"connection_id":151395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:34:52] local.INFO: Extracted packet for processing {"connection_id":151395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:34:52] 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-08-08 08:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:34:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:34:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":151395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:34:52] local.INFO: GPS data processed {"connection_id":151395,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:34:52] local.INFO: Acknowledgment sent {"connection_id":151395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:35:41] local.INFO: TCP Data received {"connection_id":150157,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:35:41] local.INFO: Processing buffer {"connection_id":150157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:35:41] local.INFO: IMEI packet received {"connection_id":150157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":150157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:35:46] local.INFO: TCP Data received {"connection_id":150157,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:35:46] local.INFO: Processing buffer {"connection_id":150157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:35:46] local.INFO: IMEI packet received {"connection_id":150157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":150157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:35:48] local.INFO: TCP Data received {"connection_id":150157,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:35:48] local.INFO: Processing buffer {"connection_id":150157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:35:48] local.INFO: Packet analysis {"connection_id":150157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:35:48] local.INFO: Extracted packet for processing {"connection_id":150157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:35: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-08-08 08:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:35:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":150157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:35:48] local.INFO: GPS data processed {"connection_id":150157,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:35:48] local.INFO: Acknowledgment sent {"connection_id":150157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:35:53] local.INFO: TCP Data received {"connection_id":150157,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:35:53] local.INFO: Processing buffer {"connection_id":150157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:35:53] local.INFO: Packet analysis {"connection_id":150157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:35:53] local.INFO: Extracted packet for processing {"connection_id":150157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":150157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:35:53] local.INFO: GPS data processed {"connection_id":150157,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:35:53] local.INFO: Acknowledgment sent {"connection_id":150157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:36:36] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:36:36] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:36:36] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:36:41] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:36:41] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:36:41] local.INFO: IMEI packet received {"connection_id":151396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":151396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:36:41] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:36:41] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:36:41] local.INFO: Packet analysis {"connection_id":151396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:36:41] local.INFO: Extracted packet for processing {"connection_id":151396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 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-08-08 08: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-08-08 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":118,"data_length":795,"current_offset":136} 
[2026-08-08 08: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-08-08 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-08-08 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-08-08 08:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":151396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:36:41] local.INFO: GPS data processed {"connection_id":151396,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:36:41] local.INFO: Acknowledgment sent {"connection_id":151396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:37:13] local.INFO: TCP Data received {"connection_id":151396,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:37:13] local.INFO: Processing buffer {"connection_id":151396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:37:13] local.INFO: Packet analysis {"connection_id":151396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:37:13] local.INFO: Extracted packet for processing {"connection_id":151396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:37:13] 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-08-08 08:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:37:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":151396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:37:13] local.INFO: GPS data processed {"connection_id":151396,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:37:13] local.INFO: Acknowledgment sent {"connection_id":151396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:37:36] local.INFO: TCP Data received {"connection_id":152870,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:37:36] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:37:36] local.INFO: IMEI packet received {"connection_id":152870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":152870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:37:41] local.INFO: TCP Data received {"connection_id":152870,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:37:41] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:37:41] local.INFO: IMEI packet received {"connection_id":152870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":152870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:37:42] local.INFO: TCP Data received {"connection_id":152870,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:37:42] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:37:42] local.INFO: Packet analysis {"connection_id":152870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:37:42] local.INFO: Extracted packet for processing {"connection_id":152870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 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-08-08 08: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-08-08 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":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:37:42] 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-08-08 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-08-08 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-08-08 08:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:37:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":152870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:37:42] local.INFO: GPS data processed {"connection_id":152870,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:37:42] local.INFO: Acknowledgment sent {"connection_id":152870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:37:46] local.INFO: TCP Data received {"connection_id":150424,"ip":"88.214.25.121","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-08 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-08 08:37:46] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-08 08:37:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":150424,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-08 08:38:14] local.INFO: TCP Data received {"connection_id":152870,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:38:14] local.INFO: Processing buffer {"connection_id":152870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf52bba8012d34c54006aa3f980009011d25..."} 
[2026-08-08 08:38:14] local.INFO: Packet analysis {"connection_id":152870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:38:14] local.INFO: Extracted packet for processing {"connection_id":152870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf52"} 
[2026-08-08 08:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":9,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256413952001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475424256,"note":"Value kept but may cause issues"} 
[2026-08-08 08:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786158169000,"timestamp_ms":1786158169000,"timestamp_seconds":1786158169,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf52bba8"} 
[2026-08-08 08:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 08:38:14] 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-08-08 08:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256413952001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802867701475424256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256413952001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:38:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475424256,"description":"Unknown IO ID 45"} 
[2026-08-08 08:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256413952001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802867701475424256}} 
[2026-08-08 08:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":152870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:38:14] local.INFO: GPS data processed {"connection_id":152870,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:38:14] local.INFO: Acknowledgment sent {"connection_id":152870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:38:36] local.INFO: TCP Data received {"connection_id":152871,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:38:36] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:38:36] local.INFO: IMEI packet received {"connection_id":152871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":152871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:38:41] local.INFO: TCP Data received {"connection_id":152871,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:38:41] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:38:41] local.INFO: IMEI packet received {"connection_id":152871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":152871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:38:42] local.INFO: TCP Data received {"connection_id":152871,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:38:42] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:38:42] local.INFO: Packet analysis {"connection_id":152871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:38:42] local.INFO: Extracted packet for processing {"connection_id":152871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:38:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":152871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:38:42] local.INFO: GPS data processed {"connection_id":152871,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:38:42] local.INFO: Acknowledgment sent {"connection_id":152871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:39:13] local.INFO: TCP Data received {"connection_id":152871,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:13] local.INFO: Processing buffer {"connection_id":152871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:13] local.INFO: Packet analysis {"connection_id":152871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:39:13] local.INFO: Extracted packet for processing {"connection_id":152871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:39:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:39:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":152871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:39:13] local.INFO: GPS data processed {"connection_id":152871,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:39:13] local.INFO: Acknowledgment sent {"connection_id":152871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:39:41] local.INFO: TCP Data received {"connection_id":150158,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:39:41] local.INFO: Processing buffer {"connection_id":150158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:39:41] local.INFO: IMEI packet received {"connection_id":150158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":150158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:39:46] local.INFO: TCP Data received {"connection_id":150158,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:39:46] local.INFO: Processing buffer {"connection_id":150158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:39:46] local.INFO: IMEI packet received {"connection_id":150158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":150158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:39:47] local.INFO: TCP Data received {"connection_id":150158,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:47] local.INFO: Processing buffer {"connection_id":150158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:47] local.INFO: Packet analysis {"connection_id":150158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:39:47] local.INFO: Extracted packet for processing {"connection_id":150158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:39:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":150158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:39:47] local.INFO: GPS data processed {"connection_id":150158,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:39:47] local.INFO: Acknowledgment sent {"connection_id":150158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:39:52] local.INFO: TCP Data received {"connection_id":150158,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:52] local.INFO: Processing buffer {"connection_id":150158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:39:52] local.INFO: Packet analysis {"connection_id":150158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:39:52] local.INFO: Extracted packet for processing {"connection_id":150158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08: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-08-08 08:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:39:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:39:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":150158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:39:52] local.INFO: GPS data processed {"connection_id":150158,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:39:52] local.INFO: Acknowledgment sent {"connection_id":150158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:40:40] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:40:40] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:40:40] local.INFO: IMEI packet received {"connection_id":151397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":151397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:40:41] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:40:41] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:40:41] local.INFO: IMEI packet received {"connection_id":151397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":151397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:40:42] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:40:42] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:40:42] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:40:42] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:40:42] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:40:42] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:40:47] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:40:47] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:40:47] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:40:47] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:40:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:40:47] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:40:47] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:41:18] local.INFO: TCP Data received {"connection_id":151397,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:41:18] local.INFO: Processing buffer {"connection_id":151397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:41:18] local.INFO: Packet analysis {"connection_id":151397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:41:18] local.INFO: Extracted packet for processing {"connection_id":151397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:41:18] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:41:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:41:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":151397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:41:18] local.INFO: GPS data processed {"connection_id":151397,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:41:18] local.INFO: Acknowledgment sent {"connection_id":151397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:41:36] local.INFO: TCP Data received {"connection_id":150159,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:41:36] local.INFO: Processing buffer {"connection_id":150159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:41:36] local.INFO: IMEI packet received {"connection_id":150159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":150159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:41:41] local.INFO: TCP Data received {"connection_id":150159,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:41:41] local.INFO: Processing buffer {"connection_id":150159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:41:41] local.INFO: IMEI packet received {"connection_id":150159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":150159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:41:42] local.INFO: TCP Data received {"connection_id":150159,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:41:42] local.INFO: Processing buffer {"connection_id":150159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:41:42] local.INFO: Packet analysis {"connection_id":150159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:41:42] local.INFO: Extracted packet for processing {"connection_id":150159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 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-08-08 08:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:41:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":150159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:41:42] local.INFO: GPS data processed {"connection_id":150159,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:41:42] local.INFO: Acknowledgment sent {"connection_id":150159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:42:14] local.INFO: TCP Data received {"connection_id":150159,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:42:14] local.INFO: Processing buffer {"connection_id":150159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:42:14] local.INFO: Packet analysis {"connection_id":150159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:42:14] local.INFO: Extracted packet for processing {"connection_id":150159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:42:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":150159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:42:14] local.INFO: GPS data processed {"connection_id":150159,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:42:14] local.INFO: Acknowledgment sent {"connection_id":150159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:42:36] local.INFO: TCP Data received {"connection_id":152872,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:42:36] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:42:36] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:42:41] local.INFO: TCP Data received {"connection_id":152872,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:42:41] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:42:41] local.INFO: IMEI packet received {"connection_id":152872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":152872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:42:43] local.INFO: TCP Data received {"connection_id":152872,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:42:43] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:42:43] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:42:43] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:42:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:42:43] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:42:43] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:43:15] local.INFO: TCP Data received {"connection_id":152872,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:43:15] local.INFO: Processing buffer {"connection_id":152872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf575370012d34c54006aa3f980004011d28..."} 
[2026-08-08 08:43:15] local.INFO: Packet analysis {"connection_id":152872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:43:15] local.INFO: Extracted packet for processing {"connection_id":152872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf57"} 
[2026-08-08 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256491264001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786158470000,"timestamp_ms":1786158470000,"timestamp_seconds":1786158470,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf575370"} 
[2026-08-08 08:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256491264001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256491264001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256491264001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":152872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:43:15] local.INFO: GPS data processed {"connection_id":152872,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:43:15] local.INFO: Acknowledgment sent {"connection_id":152872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:43:36] local.INFO: TCP Data received {"connection_id":150160,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:43:36] local.INFO: Processing buffer {"connection_id":150160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:43:36] local.INFO: IMEI packet received {"connection_id":150160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":150160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:43:41] local.INFO: TCP Data received {"connection_id":150160,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:43:41] local.INFO: Processing buffer {"connection_id":150160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:43:41] local.INFO: IMEI packet received {"connection_id":150160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":150160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:43:42] local.INFO: TCP Data received {"connection_id":150160,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:43:42] local.INFO: Processing buffer {"connection_id":150160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:43:42] local.INFO: Packet analysis {"connection_id":150160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:43:42] local.INFO: Extracted packet for processing {"connection_id":150160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 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-08-08 08: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-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:43:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":150160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:43:42] local.INFO: GPS data processed {"connection_id":150160,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:43:42] local.INFO: Acknowledgment sent {"connection_id":150160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:44:14] local.INFO: TCP Data received {"connection_id":150160,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:14] local.INFO: Processing buffer {"connection_id":150160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:14] local.INFO: Packet analysis {"connection_id":150160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:44:14] local.INFO: Extracted packet for processing {"connection_id":150160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:44:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":150160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:44:14] local.INFO: GPS data processed {"connection_id":150160,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:44:14] local.INFO: Acknowledgment sent {"connection_id":150160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:44:41] local.INFO: TCP Data received {"connection_id":150425,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:44:41] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:44:41] local.INFO: IMEI packet received {"connection_id":150425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":150425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:44:46] local.INFO: TCP Data received {"connection_id":150425,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:44:46] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:44:46] local.INFO: IMEI packet received {"connection_id":150425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":150425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:44:47] local.INFO: TCP Data received {"connection_id":150425,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:47] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:47] local.INFO: Packet analysis {"connection_id":150425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:44:47] local.INFO: Extracted packet for processing {"connection_id":150425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":150425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:44:47] local.INFO: GPS data processed {"connection_id":150425,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:44:47] local.INFO: Acknowledgment sent {"connection_id":150425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:44:52] local.INFO: TCP Data received {"connection_id":150425,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:52] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:44:52] local.INFO: Packet analysis {"connection_id":150425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:44:52] local.INFO: Extracted packet for processing {"connection_id":150425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:44:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:44:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":150425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:44:52] local.INFO: GPS data processed {"connection_id":150425,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:44:52] local.INFO: Acknowledgment sent {"connection_id":150425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:45:36] local.INFO: TCP Data received {"connection_id":152873,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:45:36] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:45:36] local.INFO: IMEI packet received {"connection_id":152873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":152873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:45:41] local.INFO: TCP Data received {"connection_id":152873,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:45:41] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:45:41] local.INFO: IMEI packet received {"connection_id":152873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":152873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:45:42] local.INFO: TCP Data received {"connection_id":152873,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:45:42] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:45:42] local.INFO: Packet analysis {"connection_id":152873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:45:42] local.INFO: Extracted packet for processing {"connection_id":152873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08: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-08-08 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:45:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":152873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:45:42] local.INFO: GPS data processed {"connection_id":152873,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:45:42] local.INFO: Acknowledgment sent {"connection_id":152873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:46:14] local.INFO: TCP Data received {"connection_id":152873,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:46:14] local.INFO: Processing buffer {"connection_id":152873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:46:14] local.INFO: Packet analysis {"connection_id":152873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:46:14] local.INFO: Extracted packet for processing {"connection_id":152873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:46:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":152873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:46:14] local.INFO: GPS data processed {"connection_id":152873,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:46:14] local.INFO: Acknowledgment sent {"connection_id":152873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:46:36] local.INFO: TCP Data received {"connection_id":150161,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:46:36] local.INFO: Processing buffer {"connection_id":150161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:46:36] local.INFO: IMEI packet received {"connection_id":150161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:46:41] local.INFO: TCP Data received {"connection_id":150161,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:46:41] local.INFO: Processing buffer {"connection_id":150161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:46:41] local.INFO: IMEI packet received {"connection_id":150161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:46:42] local.INFO: TCP Data received {"connection_id":150161,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:46:42] local.INFO: Processing buffer {"connection_id":150161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:46:42] local.INFO: Packet analysis {"connection_id":150161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:46:42] local.INFO: Extracted packet for processing {"connection_id":150161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:46:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":150161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:46:42] local.INFO: GPS data processed {"connection_id":150161,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:46:42] local.INFO: Acknowledgment sent {"connection_id":150161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:47:13] local.INFO: TCP Data received {"connection_id":150161,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:47:13] local.INFO: Processing buffer {"connection_id":150161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:47:13] local.INFO: Packet analysis {"connection_id":150161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:47:13] local.INFO: Extracted packet for processing {"connection_id":150161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:47:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":150161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:47:13] local.INFO: GPS data processed {"connection_id":150161,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:47:13] local.INFO: Acknowledgment sent {"connection_id":150161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:47:36] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:47:36] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:47:36] local.INFO: IMEI packet received {"connection_id":151398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":151398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:47:41] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:47:41] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:47:41] local.INFO: IMEI packet received {"connection_id":151398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":151398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:47:42] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:47:42] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:47:42] local.INFO: Packet analysis {"connection_id":151398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:47:42] local.INFO: Extracted packet for processing {"connection_id":151398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 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-08-08 08: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-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:47:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":151398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:47:42] local.INFO: GPS data processed {"connection_id":151398,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:47:42] local.INFO: Acknowledgment sent {"connection_id":151398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:48:14] local.INFO: TCP Data received {"connection_id":151398,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:14] local.INFO: Processing buffer {"connection_id":151398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf5beb38012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:14] local.INFO: Packet analysis {"connection_id":151398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:48:14] local.INFO: Extracted packet for processing {"connection_id":151398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf5b"} 
[2026-08-08 08:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256568320001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786158771000,"timestamp_ms":1786158771000,"timestamp_seconds":1786158771,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf5beb38"} 
[2026-08-08 08:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256568320001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256568320001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:48:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256568320001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":151398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:48:14] local.INFO: GPS data processed {"connection_id":151398,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:48:14] local.INFO: Acknowledgment sent {"connection_id":151398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:48:41] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:48:41] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:48:41] local.INFO: IMEI packet received {"connection_id":151399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:48:49] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:48:49] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:48:49] local.INFO: IMEI packet received {"connection_id":151399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":151399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:48:51] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:51] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:51] local.INFO: Packet analysis {"connection_id":151399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:48:51] local.INFO: Extracted packet for processing {"connection_id":151399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08: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-08-08 08:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":151399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:48:51] local.INFO: GPS data processed {"connection_id":151399,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:48:51] local.INFO: Acknowledgment sent {"connection_id":151399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:48:52] local.INFO: TCP Data received {"connection_id":151399,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:52] local.INFO: Processing buffer {"connection_id":151399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:48:52] local.INFO: Packet analysis {"connection_id":151399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:48:52] local.INFO: Extracted packet for processing {"connection_id":151399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:48:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:48:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":151399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:48:52] local.INFO: GPS data processed {"connection_id":151399,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:48:52] local.INFO: Acknowledgment sent {"connection_id":151399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:49:36] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:49:36] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:49:36] local.INFO: IMEI packet received {"connection_id":150426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":150426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:49:41] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:49:41] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:49:41] local.INFO: IMEI packet received {"connection_id":150426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":150426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:49:42] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:49:42] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:49:42] local.INFO: Packet analysis {"connection_id":150426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:49:42] local.INFO: Extracted packet for processing {"connection_id":150426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 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-08-08 08:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:49:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":150426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:49:42] local.INFO: GPS data processed {"connection_id":150426,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:49:42] local.INFO: Acknowledgment sent {"connection_id":150426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:50:14] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:50:14] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:50:14] local.INFO: Packet analysis {"connection_id":150426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:50:14] local.INFO: Extracted packet for processing {"connection_id":150426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:50:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":150426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:50:14] local.INFO: GPS data processed {"connection_id":150426,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:50:14] local.INFO: Acknowledgment sent {"connection_id":150426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:50:36] local.INFO: TCP Data received {"connection_id":152874,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:50:36] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:50:36] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:50:41] local.INFO: TCP Data received {"connection_id":152874,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:50:41] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:50:41] local.INFO: IMEI packet received {"connection_id":152874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":152874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:50:42] local.INFO: TCP Data received {"connection_id":152874,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:50:42] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:50:42] local.INFO: Packet analysis {"connection_id":152874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:50:42] local.INFO: Extracted packet for processing {"connection_id":152874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08: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-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08: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-08-08 08:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":152874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:50:42] local.INFO: GPS data processed {"connection_id":152874,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:50:42] local.INFO: Acknowledgment sent {"connection_id":152874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:51:14] local.INFO: TCP Data received {"connection_id":152874,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:51:14] local.INFO: Processing buffer {"connection_id":152874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:51:14] local.INFO: Packet analysis {"connection_id":152874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:51:14] local.INFO: Extracted packet for processing {"connection_id":152874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:51:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":152874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:51:14] local.INFO: GPS data processed {"connection_id":152874,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:51:14] local.INFO: Acknowledgment sent {"connection_id":152874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:51:36] local.INFO: TCP Data received {"connection_id":151400,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:51:36] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:51:36] local.INFO: IMEI packet received {"connection_id":151400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":151400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:51:41] local.INFO: TCP Data received {"connection_id":151400,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:51:41] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:51:41] local.INFO: IMEI packet received {"connection_id":151400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":151400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:51:43] local.INFO: TCP Data received {"connection_id":151400,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:51:43] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:51:43] local.INFO: Packet analysis {"connection_id":151400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:51:43] local.INFO: Extracted packet for processing {"connection_id":151400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:51:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":151400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:51:43] local.INFO: GPS data processed {"connection_id":151400,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:51:43] local.INFO: Acknowledgment sent {"connection_id":151400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:52:15] local.INFO: TCP Data received {"connection_id":151400,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:52:15] local.INFO: Processing buffer {"connection_id":151400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:52:15] local.INFO: Packet analysis {"connection_id":151400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:52:15] local.INFO: Extracted packet for processing {"connection_id":151400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:52:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:52:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":151400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:52:15] local.INFO: GPS data processed {"connection_id":151400,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:52:15] local.INFO: Acknowledgment sent {"connection_id":151400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:52:36] local.INFO: TCP Data received {"connection_id":150162,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:52:36] local.INFO: Processing buffer {"connection_id":150162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:52:36] local.INFO: IMEI packet received {"connection_id":150162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":150162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:52:41] local.INFO: TCP Data received {"connection_id":150162,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:52:41] local.INFO: Processing buffer {"connection_id":150162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:52:41] local.INFO: IMEI packet received {"connection_id":150162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":150162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:52:42] local.INFO: TCP Data received {"connection_id":150162,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:52:42] local.INFO: Processing buffer {"connection_id":150162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:52:42] local.INFO: Packet analysis {"connection_id":150162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:52:42] local.INFO: Extracted packet for processing {"connection_id":150162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:52:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":150162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:52:42] local.INFO: GPS data processed {"connection_id":150162,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:52:42] local.INFO: Acknowledgment sent {"connection_id":150162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:53:14] local.INFO: TCP Data received {"connection_id":150162,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:53:14] local.INFO: Processing buffer {"connection_id":150162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf608300012d34c54006aa3f980004011d26..."} 
[2026-08-08 08:53:14] local.INFO: Packet analysis {"connection_id":150162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:53:14] local.INFO: Extracted packet for processing {"connection_id":150162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf60"} 
[2026-08-08 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256645376001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786159072000,"timestamp_ms":1786159072000,"timestamp_seconds":1786159072,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf608300"} 
[2026-08-08 08:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256645376001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256645376001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:53:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256645376001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:53:14] local.INFO: GPS data processed {"connection_id":150162,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:53:14] local.INFO: Acknowledgment sent {"connection_id":150162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:53:41] local.INFO: TCP Data received {"connection_id":152875,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:53:41] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:53:41] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:53:46] local.INFO: TCP Data received {"connection_id":152875,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:53:46] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:53:46] local.INFO: IMEI packet received {"connection_id":152875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":152875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:53:48] local.INFO: TCP Data received {"connection_id":152875,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:53:48] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:53:48] local.INFO: Packet analysis {"connection_id":152875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:53:48] local.INFO: Extracted packet for processing {"connection_id":152875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:53:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:53:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":152875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:53:48] local.INFO: GPS data processed {"connection_id":152875,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:53:48] local.INFO: Acknowledgment sent {"connection_id":152875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:54:20] local.INFO: TCP Data received {"connection_id":152875,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:54:20] local.INFO: Processing buffer {"connection_id":152875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:54:20] local.INFO: Packet analysis {"connection_id":152875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:54:20] local.INFO: Extracted packet for processing {"connection_id":152875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:54: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-08-08 08:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:54:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":152875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:54:20] local.INFO: GPS data processed {"connection_id":152875,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:54:20] local.INFO: Acknowledgment sent {"connection_id":152875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:54:36] local.INFO: TCP Data received {"connection_id":151401,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:54:36] local.INFO: Processing buffer {"connection_id":151401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:54:36] local.INFO: IMEI packet received {"connection_id":151401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":151401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:54:41] local.INFO: TCP Data received {"connection_id":151401,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:54:41] local.INFO: Processing buffer {"connection_id":151401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:54:41] local.INFO: IMEI packet received {"connection_id":151401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":151401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:54:42] local.INFO: TCP Data received {"connection_id":151401,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:54:42] local.INFO: Processing buffer {"connection_id":151401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:54:42] local.INFO: Packet analysis {"connection_id":151401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:54:42] local.INFO: Extracted packet for processing {"connection_id":151401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08: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-08-08 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08: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-08-08 08:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:54:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":151401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:54:42] local.INFO: GPS data processed {"connection_id":151401,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:54:42] local.INFO: Acknowledgment sent {"connection_id":151401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:55:14] local.INFO: TCP Data received {"connection_id":151401,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:14] local.INFO: Processing buffer {"connection_id":151401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:14] local.INFO: Packet analysis {"connection_id":151401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:14] local.INFO: Extracted packet for processing {"connection_id":151401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:55:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":151401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:55:14] local.INFO: GPS data processed {"connection_id":151401,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:55:14] local.INFO: Acknowledgment sent {"connection_id":151401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:55:41] local.INFO: TCP Data received {"connection_id":150427,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:55:41] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:55:41] local.INFO: IMEI packet received {"connection_id":150427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":150427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:55:46] local.INFO: TCP Data received {"connection_id":150427,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:55:46] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:55:46] local.INFO: IMEI packet received {"connection_id":150427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":150427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:55:47] local.INFO: TCP Data received {"connection_id":150427,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:47] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:47] local.INFO: Packet analysis {"connection_id":150427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:47] local.INFO: Extracted packet for processing {"connection_id":150427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:55: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-08-08 08:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:55:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:55:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":150427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:55:47] local.INFO: GPS data processed {"connection_id":150427,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:55:47] local.INFO: Acknowledgment sent {"connection_id":150427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:55:52] local.INFO: TCP Data received {"connection_id":150427,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:52] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:52] local.INFO: Packet analysis {"connection_id":150427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:52] local.INFO: Extracted packet for processing {"connection_id":150427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:55:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:55:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":150427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:55:52] local.INFO: GPS data processed {"connection_id":150427,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:55:52] local.INFO: Acknowledgment sent {"connection_id":150427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:55:57] local.INFO: TCP Data received {"connection_id":150427,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:57] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:55:57] local.INFO: Packet analysis {"connection_id":150427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:57] local.INFO: Extracted packet for processing {"connection_id":150427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:55:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:55:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:55:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":150427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:55:57] local.INFO: GPS data processed {"connection_id":150427,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:55:57] local.INFO: Acknowledgment sent {"connection_id":150427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:56:36] local.INFO: TCP Data received {"connection_id":150163,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:56:36] local.INFO: Processing buffer {"connection_id":150163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:56:36] local.INFO: IMEI packet received {"connection_id":150163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":150163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:56:41] local.INFO: TCP Data received {"connection_id":150163,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:56:41] local.INFO: Processing buffer {"connection_id":150163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:56:41] local.INFO: IMEI packet received {"connection_id":150163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":150163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:56:42] local.INFO: TCP Data received {"connection_id":150163,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:56:42] local.INFO: Processing buffer {"connection_id":150163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:56:42] local.INFO: Packet analysis {"connection_id":150163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:56:42] local.INFO: Extracted packet for processing {"connection_id":150163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:56:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":150163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:56:42] local.INFO: GPS data processed {"connection_id":150163,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:56:42] local.INFO: Acknowledgment sent {"connection_id":150163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:57:13] local.INFO: TCP Data received {"connection_id":150163,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:57:13] local.INFO: Processing buffer {"connection_id":150163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:57:13] local.INFO: Packet analysis {"connection_id":150163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:57:13] local.INFO: Extracted packet for processing {"connection_id":150163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:57:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":150163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:57:13] local.INFO: GPS data processed {"connection_id":150163,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:57:13] local.INFO: Acknowledgment sent {"connection_id":150163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:57:36] local.INFO: TCP Data received {"connection_id":151402,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:57:36] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:57:36] local.INFO: IMEI packet received {"connection_id":151402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":151402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:57:41] local.INFO: TCP Data received {"connection_id":151402,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:57:41] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:57:41] local.INFO: IMEI packet received {"connection_id":151402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":151402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:57:43] local.INFO: TCP Data received {"connection_id":151402,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:57:43] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:57:43] local.INFO: Packet analysis {"connection_id":151402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:57:43] local.INFO: Extracted packet for processing {"connection_id":151402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":151402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:57:43] local.INFO: GPS data processed {"connection_id":151402,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:57:43] local.INFO: Acknowledgment sent {"connection_id":151402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:58:14] local.INFO: TCP Data received {"connection_id":151402,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:58:14] local.INFO: Processing buffer {"connection_id":151402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf651ac8012d34c54006aa3f980004011d25..."} 
[2026-08-08 08:58:14] local.INFO: Packet analysis {"connection_id":151402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:58:14] local.INFO: Extracted packet for processing {"connection_id":151402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf65"} 
[2026-08-08 08:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":4,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256722432001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786159373000,"timestamp_ms":1786159373000,"timestamp_seconds":1786159373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf651ac8"} 
[2026-08-08 08:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 08:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256722432001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256722432001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:58:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256722432001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":151402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:58:14] local.INFO: GPS data processed {"connection_id":151402,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:58:14] local.INFO: Acknowledgment sent {"connection_id":151402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:58:36] local.INFO: TCP Data received {"connection_id":150164,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:58:36] local.INFO: Processing buffer {"connection_id":150164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:58:36] local.INFO: IMEI packet received {"connection_id":150164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":150164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:58:41] local.INFO: TCP Data received {"connection_id":150164,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:58:41] local.INFO: Processing buffer {"connection_id":150164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:58:41] local.INFO: IMEI packet received {"connection_id":150164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":150164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:58:42] local.INFO: TCP Data received {"connection_id":150164,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:58:42] local.INFO: Processing buffer {"connection_id":150164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:58:42] local.INFO: Packet analysis {"connection_id":150164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf69"} 
[2026-08-08 08:58:42] local.INFO: Extracted packet for processing {"connection_id":150164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf69"} 
[2026-08-08 08:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":16,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256799488001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159674000,"timestamp_ms":1786159674000,"timestamp_seconds":1786159674,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf69b290"} 
[2026-08-08 08:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256799488001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256799488001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:58:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256799488001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":150164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:58:42] local.INFO: GPS data processed {"connection_id":150164,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:58:42] local.INFO: Acknowledgment sent {"connection_id":150164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:59:13] local.INFO: TCP Data received {"connection_id":150164,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:59:13] local.INFO: Processing buffer {"connection_id":150164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:59:13] local.INFO: Packet analysis {"connection_id":150164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf69"} 
[2026-08-08 08:59:13] local.INFO: Extracted packet for processing {"connection_id":150164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf69"} 
[2026-08-08 08:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":16,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 08:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256799488001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786159674000,"timestamp_ms":1786159674000,"timestamp_seconds":1786159674,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf69b290"} 
[2026-08-08 08:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 08:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 08:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 08:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 08:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 08:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256799488001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256799488001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:59:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:59:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256799488001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":150164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:59:13] local.INFO: GPS data processed {"connection_id":150164,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:59:13] local.INFO: Acknowledgment sent {"connection_id":150164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 08:59:36] local.INFO: TCP Data received {"connection_id":150428,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:59:36] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:59:36] local.INFO: IMEI packet received {"connection_id":150428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 08:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":150428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 08:59:41] local.INFO: TCP Data received {"connection_id":150428,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:59:41] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 08:59:41] local.INFO: IMEI packet received {"connection_id":150428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 08:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":150428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 08:59:42] local.INFO: TCP Data received {"connection_id":150428,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:59:42] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf69b290012d34c54006aa3f980010011d28..."} 
[2026-08-08 08:59:42] local.INFO: Packet analysis {"connection_id":150428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf69"} 
[2026-08-08 08:59:42] local.INFO: Extracted packet for processing {"connection_id":150428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf69"} 
[2026-08-08 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":16,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256799488001,"note":"Value kept but may cause issues"} 
[2026-08-08 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 08:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159674000,"timestamp_ms":1786159674000,"timestamp_seconds":1786159674,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf69b290"} 
[2026-08-08 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-08-08 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 08:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 08:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256799488001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256799488001,"description":"Unknown IO ID 0"} 
[2026-08-08 08:59:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 08:59:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 08:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256799488001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 08:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":150428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 08:59:43] local.INFO: GPS data processed {"connection_id":150428,"processed":1,"errors":0,"total":1} 
[2026-08-08 08:59:43] local.INFO: Acknowledgment sent {"connection_id":150428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:00:14] local.INFO: TCP Data received {"connection_id":150428,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6adb70012d34c54006aa3f980010011d27..."} 
[2026-08-08 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6adb70012d34c54006aa3f980010011d27..."} 
[2026-08-08 09:00:14] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6adb70012d34c54006aa3f980010011d27..."} 
[2026-08-08 09:00:14] local.INFO: Packet analysis {"connection_id":150428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6a"} 
[2026-08-08 09:00:14] local.INFO: Extracted packet for processing {"connection_id":150428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6a"} 
[2026-08-08 09:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820696,"longitude_deg":75.8433088,"latitude_deg":11.1820696,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f98","is_valid_coordinates":true} 
[2026-08-08 09:00: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-08-08 09:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256876544001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 09:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786159750000,"timestamp_ms":1786159750000,"timestamp_seconds":1786159750,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6adb70"} 
[2026-08-08 09:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 09:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256876544001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256876544001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:00:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 09:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256876544001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 09:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":150428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:00:14] local.INFO: GPS data processed {"connection_id":150428,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:00:14] local.INFO: Acknowledgment sent {"connection_id":150428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:00:33] local.INFO: TCP Data received {"connection_id":150165,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:33] local.INFO: Processing buffer {"connection_id":150165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:33] local.INFO: IMEI packet received {"connection_id":150165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":150165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:00:36] local.INFO: TCP Data received {"connection_id":150165,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:36] local.INFO: Processing buffer {"connection_id":150165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:36] local.INFO: IMEI packet received {"connection_id":150165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:00:41] local.INFO: TCP Data received {"connection_id":150165,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:41] local.INFO: Processing buffer {"connection_id":150165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:00:41] local.INFO: IMEI packet received {"connection_id":150165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":150165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:00:44] local.INFO: TCP Data received {"connection_id":150165,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6b3930012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6b3930012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:00:44] local.INFO: Processing buffer {"connection_id":150165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6b3930012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:00:44] local.INFO: Packet analysis {"connection_id":150165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:00:44] local.INFO: Extracted packet for processing {"connection_id":150165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256896000001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754527744,"note":"Value kept but may cause issues"} 
[2026-08-08 09:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786159774000,"timestamp_ms":1786159774000,"timestamp_seconds":1786159774,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6b3930"} 
[2026-08-08 09:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256896000001,"66":25321,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754527744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256896000001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:00:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754527744,"description":"Unknown IO ID 45"} 
[2026-08-08 09:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256896000001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754527744}} 
[2026-08-08 09:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":150165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:00:44] local.INFO: GPS data processed {"connection_id":150165,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:00:44] local.INFO: Acknowledgment sent {"connection_id":150165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:01:15] local.INFO: TCP Data received {"connection_id":150165,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6b8b38012d34c60006aa3f900010011d26..."} 
[2026-08-08 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6b8b38012d34c60006aa3f900010011d26..."} 
[2026-08-08 09:01:15] local.INFO: Processing buffer {"connection_id":150165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6b8b38012d34c60006aa3f900010011d26..."} 
[2026-08-08 09:01:15] local.INFO: Packet analysis {"connection_id":150165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:01:15] local.INFO: Extracted packet for processing {"connection_id":150165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256902144001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786159795000,"timestamp_ms":1786159795000,"timestamp_seconds":1786159795,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6b8b38"} 
[2026-08-08 09:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 09:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256902144001,"66":24571,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256902144001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:01:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:01:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256902144001,"power":24571,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":150165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:01:16] local.INFO: GPS data processed {"connection_id":150165,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:01:16] local.INFO: Acknowledgment sent {"connection_id":150165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:01:36] local.INFO: TCP Data received {"connection_id":151403,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:01:36] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:01:36] local.INFO: IMEI packet received {"connection_id":151403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":151403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:01:41] local.INFO: TCP Data received {"connection_id":151403,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:01:41] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:01:41] local.INFO: IMEI packet received {"connection_id":151403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":151403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:01:43] local.INFO: TCP Data received {"connection_id":151403,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:01:43] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:01:43] local.INFO: Packet analysis {"connection_id":151403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:01:43] local.INFO: Extracted packet for processing {"connection_id":151403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:01:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":151403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:01:43] local.INFO: GPS data processed {"connection_id":151403,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:01:43] local.INFO: Acknowledgment sent {"connection_id":151403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:02:15] local.INFO: TCP Data received {"connection_id":151403,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:02:15] local.INFO: Processing buffer {"connection_id":151403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:02:15] local.INFO: Packet analysis {"connection_id":151403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:02:15] local.INFO: Extracted packet for processing {"connection_id":151403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:02:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":151403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:02:15] local.INFO: GPS data processed {"connection_id":151403,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:02:15] local.INFO: Acknowledgment sent {"connection_id":151403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:02:36] local.INFO: TCP Data received {"connection_id":150429,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:02:36] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:02:36] local.INFO: IMEI packet received {"connection_id":150429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:02:41] local.INFO: TCP Data received {"connection_id":150429,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:02:41] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:02:41] local.INFO: IMEI packet received {"connection_id":150429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:02:47] local.INFO: TCP Data received {"connection_id":150429,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:02:47] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:02:47] local.INFO: Packet analysis {"connection_id":150429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:02:47] local.INFO: Extracted packet for processing {"connection_id":150429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:02:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":150429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:02:47] local.INFO: GPS data processed {"connection_id":150429,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:02:47] local.INFO: Acknowledgment sent {"connection_id":150429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:03:19] local.INFO: TCP Data received {"connection_id":150429,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:03:19] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:03:19] local.INFO: Packet analysis {"connection_id":150429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:03:19] local.INFO: Extracted packet for processing {"connection_id":150429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:03:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":150429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:03:19] local.INFO: GPS data processed {"connection_id":150429,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:03:19] local.INFO: Acknowledgment sent {"connection_id":150429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:03:36] local.INFO: TCP Data received {"connection_id":150166,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:03:36] local.INFO: Processing buffer {"connection_id":150166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:03:36] local.INFO: IMEI packet received {"connection_id":150166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":150166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:03:41] local.INFO: TCP Data received {"connection_id":150166,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:03:41] local.INFO: Processing buffer {"connection_id":150166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:03:41] local.INFO: IMEI packet received {"connection_id":150166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":150166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:03:43] local.INFO: TCP Data received {"connection_id":150166,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:03:43] local.INFO: Processing buffer {"connection_id":150166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:03:43] local.INFO: Packet analysis {"connection_id":150166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:03:43] local.INFO: Extracted packet for processing {"connection_id":150166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:03:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":150166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:03:43] local.INFO: GPS data processed {"connection_id":150166,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:03:43] local.INFO: Acknowledgment sent {"connection_id":150166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:04:15] local.INFO: TCP Data received {"connection_id":150166,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:15] local.INFO: Processing buffer {"connection_id":150166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:15] local.INFO: Packet analysis {"connection_id":150166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:04:15] local.INFO: Extracted packet for processing {"connection_id":150166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:04:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:04:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":150166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:04:15] local.INFO: GPS data processed {"connection_id":150166,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:04:15] local.INFO: Acknowledgment sent {"connection_id":150166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:04:41] local.INFO: TCP Data received {"connection_id":150167,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:04:41] local.INFO: Processing buffer {"connection_id":150167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:04:41] local.INFO: IMEI packet received {"connection_id":150167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":150167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:04:46] local.INFO: TCP Data received {"connection_id":150167,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:04:46] local.INFO: Processing buffer {"connection_id":150167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:04:46] local.INFO: IMEI packet received {"connection_id":150167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":150167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:04:47] local.INFO: TCP Data received {"connection_id":150167,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:47] local.INFO: Processing buffer {"connection_id":150167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:47] local.INFO: Packet analysis {"connection_id":150167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:04:47] local.INFO: Extracted packet for processing {"connection_id":150167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:04:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":150167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:04:47] local.INFO: GPS data processed {"connection_id":150167,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:04:47] local.INFO: Acknowledgment sent {"connection_id":150167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:04:53] local.INFO: TCP Data received {"connection_id":150167,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:53] local.INFO: Processing buffer {"connection_id":150167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:04:53] local.INFO: Packet analysis {"connection_id":150167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:04:53] local.INFO: Extracted packet for processing {"connection_id":150167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:04: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-08-08 09:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:04:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:04:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":150167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:04:53] local.INFO: GPS data processed {"connection_id":150167,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:04:53] local.INFO: Acknowledgment sent {"connection_id":150167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:05:36] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:05:36] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:05:36] local.INFO: IMEI packet received {"connection_id":150430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:05:41] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:05:41] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:05:41] local.INFO: IMEI packet received {"connection_id":150430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":150430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:05:42] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:05:42] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf6bb248012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:05:42] local.INFO: Packet analysis {"connection_id":150430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:05:42] local.INFO: Extracted packet for processing {"connection_id":150430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf6b"} 
[2026-08-08 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256907520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786159805000,"timestamp_ms":1786159805000,"timestamp_seconds":1786159805,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf6bb248"} 
[2026-08-08 09:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":95,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 09:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2932,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256907520001,"66":25299,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256907520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:05:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256907520001,"power":25299,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":150430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:05:42] local.INFO: GPS data processed {"connection_id":150430,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:05:42] local.INFO: Acknowledgment sent {"connection_id":150430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:06:14] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:06:14] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:06:14] local.INFO: Packet analysis {"connection_id":150430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:06:14] local.INFO: Extracted packet for processing {"connection_id":150430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:06:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":150430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:06:14] local.INFO: GPS data processed {"connection_id":150430,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:06:14] local.INFO: Acknowledgment sent {"connection_id":150430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:06:36] local.INFO: TCP Data received {"connection_id":152876,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:06:36] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:06:36] local.INFO: IMEI packet received {"connection_id":152876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":152876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:06:41] local.INFO: TCP Data received {"connection_id":152876,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:06:41] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:06:41] local.INFO: IMEI packet received {"connection_id":152876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":152876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:06:42] local.INFO: TCP Data received {"connection_id":152876,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:06:42] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:06:42] local.INFO: Packet analysis {"connection_id":152876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:06:42] local.INFO: Extracted packet for processing {"connection_id":152876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09: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-08-08 09: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-08-08 09:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:06:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":152876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:06:42] local.INFO: GPS data processed {"connection_id":152876,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:06:42] local.INFO: Acknowledgment sent {"connection_id":152876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:07:14] local.INFO: TCP Data received {"connection_id":152876,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:07:14] local.INFO: Processing buffer {"connection_id":152876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:07:14] local.INFO: Packet analysis {"connection_id":152876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:07:14] local.INFO: Extracted packet for processing {"connection_id":152876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:07:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":152876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:07:14] local.INFO: GPS data processed {"connection_id":152876,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:07:14] local.INFO: Acknowledgment sent {"connection_id":152876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:07:36] local.INFO: TCP Data received {"connection_id":150431,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:07:36] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:07:36] local.INFO: IMEI packet received {"connection_id":150431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":150431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:07:41] local.INFO: TCP Data received {"connection_id":150431,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:07:41] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:07:41] local.INFO: IMEI packet received {"connection_id":150431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:07:43] local.INFO: TCP Data received {"connection_id":150431,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:07:43] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:07:43] local.INFO: Packet analysis {"connection_id":150431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:07:43] local.INFO: Extracted packet for processing {"connection_id":150431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:07:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":150431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:07:43] local.INFO: GPS data processed {"connection_id":150431,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:07:43] local.INFO: Acknowledgment sent {"connection_id":150431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:08:14] local.INFO: TCP Data received {"connection_id":150431,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:08:14] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:08:14] local.INFO: Packet analysis {"connection_id":150431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:08:14] local.INFO: Extracted packet for processing {"connection_id":150431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:08:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":150431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:08:14] local.INFO: GPS data processed {"connection_id":150431,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:08:14] local.INFO: Acknowledgment sent {"connection_id":150431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:08:41] local.INFO: TCP Data received {"connection_id":150168,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:08:41] local.INFO: Processing buffer {"connection_id":150168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:08:41] local.INFO: IMEI packet received {"connection_id":150168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":150168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:08:46] local.INFO: TCP Data received {"connection_id":150168,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:08:46] local.INFO: Processing buffer {"connection_id":150168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:08:46] local.INFO: IMEI packet received {"connection_id":150168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":150168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:08:48] local.INFO: TCP Data received {"connection_id":150168,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:08:48] local.INFO: Processing buffer {"connection_id":150168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:08:48] local.INFO: Packet analysis {"connection_id":150168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:08:48] local.INFO: Extracted packet for processing {"connection_id":150168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":150168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:08:48] local.INFO: GPS data processed {"connection_id":150168,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:08:48] local.INFO: Acknowledgment sent {"connection_id":150168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:09:19] local.INFO: TCP Data received {"connection_id":150168,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:09:19] local.INFO: Processing buffer {"connection_id":150168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:09:19] local.INFO: Packet analysis {"connection_id":150168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:09:19] local.INFO: Extracted packet for processing {"connection_id":150168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:09:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":150168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:09:19] local.INFO: GPS data processed {"connection_id":150168,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:09:19] local.INFO: Acknowledgment sent {"connection_id":150168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:09:36] local.INFO: TCP Data received {"connection_id":152877,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:09:36] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:09:36] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:09:41] local.INFO: TCP Data received {"connection_id":152877,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:09:41] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:09:41] local.INFO: IMEI packet received {"connection_id":152877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":152877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:09:42] local.INFO: TCP Data received {"connection_id":152877,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:09:42] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:09:42] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:09:42] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 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-08-08 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:09: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-08-08 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-08-08 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-08-08 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:09:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:09:42] local.INFO: GPS data processed {"connection_id":152877,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:09:42] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:10:14] local.INFO: TCP Data received {"connection_id":152877,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:10:14] local.INFO: Processing buffer {"connection_id":152877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:10:14] local.INFO: Packet analysis {"connection_id":152877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:10:14] local.INFO: Extracted packet for processing {"connection_id":152877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:10:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":152877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:10:14] local.INFO: GPS data processed {"connection_id":152877,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:10:14] local.INFO: Acknowledgment sent {"connection_id":152877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:10:36] local.INFO: TCP Data received {"connection_id":151404,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:10:36] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:10:36] local.INFO: IMEI packet received {"connection_id":151404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":151404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:10:41] local.INFO: TCP Data received {"connection_id":151404,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:10:41] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:10:41] local.INFO: IMEI packet received {"connection_id":151404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":151404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:10:42] local.INFO: TCP Data received {"connection_id":151404,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:10:42] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7055c8012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:10:42] local.INFO: Packet analysis {"connection_id":151404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:10:42] local.INFO: Extracted packet for processing {"connection_id":151404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf70"} 
[2026-08-08 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256910080001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987058688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160109000,"timestamp_ms":1786160109000,"timestamp_seconds":1786160109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7055c8"} 
[2026-08-08 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-08 09:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256910080001,"66":25604,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802726963987058688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256910080001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:10:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987058688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256910080001,"power":25604,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802726963987058688}} 
[2026-08-08 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":151404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:10:42] local.INFO: GPS data processed {"connection_id":151404,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:10:42] local.INFO: Acknowledgment sent {"connection_id":151404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:11:13] local.INFO: TCP Data received {"connection_id":151404,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:11:13] local.INFO: Processing buffer {"connection_id":151404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:11:13] local.INFO: Packet analysis {"connection_id":151404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:11:13] local.INFO: Extracted packet for processing {"connection_id":151404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:11:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":151404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:11:13] local.INFO: GPS data processed {"connection_id":151404,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:11:13] local.INFO: Acknowledgment sent {"connection_id":151404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:11:36] local.INFO: TCP Data received {"connection_id":152878,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:11:36] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:11:36] local.INFO: IMEI packet received {"connection_id":152878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":152878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:11:41] local.INFO: TCP Data received {"connection_id":152878,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:11:41] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:11:41] local.INFO: IMEI packet received {"connection_id":152878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":152878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:11:42] local.INFO: TCP Data received {"connection_id":152878,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:11:42] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:11:42] local.INFO: Packet analysis {"connection_id":152878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:11:42] local.INFO: Extracted packet for processing {"connection_id":152878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 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-08-08 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 09:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:11:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":152878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:11:42] local.INFO: GPS data processed {"connection_id":152878,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:11:42] local.INFO: Acknowledgment sent {"connection_id":152878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:12:14] local.INFO: TCP Data received {"connection_id":152878,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:12:14] local.INFO: Processing buffer {"connection_id":152878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:12:14] local.INFO: Packet analysis {"connection_id":152878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:12:14] local.INFO: Extracted packet for processing {"connection_id":152878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:12:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":152878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:12:14] local.INFO: GPS data processed {"connection_id":152878,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:12:14] local.INFO: Acknowledgment sent {"connection_id":152878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:12:36] local.INFO: TCP Data received {"connection_id":150432,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:12:36] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:12:36] local.INFO: IMEI packet received {"connection_id":150432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":150432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:12:41] local.INFO: TCP Data received {"connection_id":150432,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:12:41] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:12:41] local.INFO: IMEI packet received {"connection_id":150432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":150432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:12:42] local.INFO: TCP Data received {"connection_id":150432,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:12:42] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:12:42] local.INFO: Packet analysis {"connection_id":150432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:12:42] local.INFO: Extracted packet for processing {"connection_id":150432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09: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-08-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:12:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:12:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":150432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:12:42] local.INFO: GPS data processed {"connection_id":150432,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:12:42] local.INFO: Acknowledgment sent {"connection_id":150432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:13:14] local.INFO: TCP Data received {"connection_id":150432,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:13:14] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:13:14] local.INFO: Packet analysis {"connection_id":150432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:13:14] local.INFO: Extracted packet for processing {"connection_id":150432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09: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-08-08 09: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":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:13:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:13:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":150432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:13:14] local.INFO: GPS data processed {"connection_id":150432,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:13:14] local.INFO: Acknowledgment sent {"connection_id":150432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:13:36] local.INFO: TCP Data received {"connection_id":152879,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:13:36] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:13:36] local.INFO: IMEI packet received {"connection_id":152879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":152879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:13:41] local.INFO: TCP Data received {"connection_id":152879,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:13:41] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:13:41] local.INFO: IMEI packet received {"connection_id":152879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":152879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:13:42] local.INFO: TCP Data received {"connection_id":152879,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:13:42] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:13:42] local.INFO: Packet analysis {"connection_id":152879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:13:42] local.INFO: Extracted packet for processing {"connection_id":152879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 09:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 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-08-08 09: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-08-08 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 09:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:13:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":152879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:13:42] local.INFO: GPS data processed {"connection_id":152879,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:13:42] local.INFO: Acknowledgment sent {"connection_id":152879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:14:14] local.INFO: TCP Data received {"connection_id":152879,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:14:14] local.INFO: Processing buffer {"connection_id":152879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:14:14] local.INFO: Packet analysis {"connection_id":152879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:14:14] local.INFO: Extracted packet for processing {"connection_id":152879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:14:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":152879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:14:14] local.INFO: GPS data processed {"connection_id":152879,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:14:14] local.INFO: Acknowledgment sent {"connection_id":152879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:14:36] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:14:36] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:14:36] local.INFO: IMEI packet received {"connection_id":150433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":150433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:14:41] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:14:41] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:14:41] local.INFO: IMEI packet received {"connection_id":150433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":150433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:14:43] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:14:43] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:14:43] local.INFO: Packet analysis {"connection_id":150433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:14:43] local.INFO: Extracted packet for processing {"connection_id":150433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:14:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":150433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:14:43] local.INFO: GPS data processed {"connection_id":150433,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:14:43] local.INFO: Acknowledgment sent {"connection_id":150433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:15:14] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:15:14] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:15:14] local.INFO: Packet analysis {"connection_id":150433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:15:14] local.INFO: Extracted packet for processing {"connection_id":150433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:15:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":150433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:15:14] local.INFO: GPS data processed {"connection_id":150433,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:15:14] local.INFO: Acknowledgment sent {"connection_id":150433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:15:41] local.INFO: TCP Data received {"connection_id":152880,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:15:41] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:15:41] local.INFO: IMEI packet received {"connection_id":152880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":152880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:15:46] local.INFO: TCP Data received {"connection_id":152880,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:15:46] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:15:46] local.INFO: IMEI packet received {"connection_id":152880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":152880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:15:47] local.INFO: TCP Data received {"connection_id":152880,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:15:47] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf74ed90012d34c54006aa3f900010011d22..."} 
[2026-08-08 09:15:47] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:15:47] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf74"} 
[2026-08-08 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457256987904001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786160410000,"timestamp_ms":1786160410000,"timestamp_seconds":1786160410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf74ed90"} 
[2026-08-08 09:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457256987904001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457256987904001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:15:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457256987904001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:15:47] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:15:47] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:15:49] local.INFO: TCP Data received {"connection_id":152880,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:15:49] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:15:49] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:15:49] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:15:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:15:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:15:49] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:15:49] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:16:21] local.INFO: TCP Data received {"connection_id":152880,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:16:21] local.INFO: Processing buffer {"connection_id":152880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:16:21] local.INFO: Packet analysis {"connection_id":152880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:16:21] local.INFO: Extracted packet for processing {"connection_id":152880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:16:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:16:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":152880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:16:21] local.INFO: GPS data processed {"connection_id":152880,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:16:21] local.INFO: Acknowledgment sent {"connection_id":152880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:16:36] local.INFO: TCP Data received {"connection_id":150434,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:16:36] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:16:36] local.INFO: IMEI packet received {"connection_id":150434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":150434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:16:42] local.INFO: TCP Data received {"connection_id":150434,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:16:42] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:16:42] local.INFO: IMEI packet received {"connection_id":150434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":150434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:16:43] local.INFO: TCP Data received {"connection_id":150434,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:16:43] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:16:43] local.INFO: Packet analysis {"connection_id":150434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:16:43] local.INFO: Extracted packet for processing {"connection_id":150434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:16:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":150434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:16:43] local.INFO: GPS data processed {"connection_id":150434,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:16:43] local.INFO: Acknowledgment sent {"connection_id":150434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:17:15] local.INFO: TCP Data received {"connection_id":150434,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:17:15] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:17:15] local.INFO: Packet analysis {"connection_id":150434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:17:15] local.INFO: Extracted packet for processing {"connection_id":150434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:17:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":150434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:17:15] local.INFO: GPS data processed {"connection_id":150434,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:17:15] local.INFO: Acknowledgment sent {"connection_id":150434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:17:36] local.INFO: TCP Data received {"connection_id":152881,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:17:36] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:17:36] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:17:43] local.INFO: TCP Data received {"connection_id":152881,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:17:43] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:17:43] local.INFO: IMEI packet received {"connection_id":152881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":152881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:17:44] local.INFO: TCP Data received {"connection_id":152881,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:17:44] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:17:44] local.INFO: Packet analysis {"connection_id":152881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:17:44] local.INFO: Extracted packet for processing {"connection_id":152881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:17:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:17:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":152881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:17:44] local.INFO: GPS data processed {"connection_id":152881,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:17:44] local.INFO: Acknowledgment sent {"connection_id":152881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:18:15] local.INFO: TCP Data received {"connection_id":152881,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:18:15] local.INFO: Processing buffer {"connection_id":152881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:18:15] local.INFO: Packet analysis {"connection_id":152881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:18:15] local.INFO: Extracted packet for processing {"connection_id":152881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:18:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:18:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":152881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:18:15] local.INFO: GPS data processed {"connection_id":152881,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:18:15] local.INFO: Acknowledgment sent {"connection_id":152881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:18:36] local.INFO: TCP Data received {"connection_id":150435,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:18:36] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:18:36] local.INFO: IMEI packet received {"connection_id":150435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":150435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:18:42] local.INFO: TCP Data received {"connection_id":150435,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:18:42] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:18:42] local.INFO: IMEI packet received {"connection_id":150435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":150435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:18:44] local.INFO: TCP Data received {"connection_id":150435,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:18:44] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:18:44] local.INFO: Packet analysis {"connection_id":150435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:18:44] local.INFO: Extracted packet for processing {"connection_id":150435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:18:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:18:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":150435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:18:44] local.INFO: GPS data processed {"connection_id":150435,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:18:44] local.INFO: Acknowledgment sent {"connection_id":150435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:19:16] local.INFO: TCP Data received {"connection_id":150435,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:16] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:16] local.INFO: Packet analysis {"connection_id":150435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:19:16] local.INFO: Extracted packet for processing {"connection_id":150435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:19:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":150435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:19:16] local.INFO: GPS data processed {"connection_id":150435,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:19:16] local.INFO: Acknowledgment sent {"connection_id":150435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:19:41] local.INFO: TCP Data received {"connection_id":150169,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:19:41] local.INFO: Processing buffer {"connection_id":150169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:19:41] local.INFO: IMEI packet received {"connection_id":150169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":150169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:19:46] local.INFO: TCP Data received {"connection_id":150169,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:19:46] local.INFO: Processing buffer {"connection_id":150169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:19:46] local.INFO: IMEI packet received {"connection_id":150169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":150169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:19:48] local.INFO: TCP Data received {"connection_id":150169,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:48] local.INFO: Processing buffer {"connection_id":150169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:48] local.INFO: Packet analysis {"connection_id":150169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:19:48] local.INFO: Extracted packet for processing {"connection_id":150169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":150169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:19:48] local.INFO: GPS data processed {"connection_id":150169,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:19:48] local.INFO: Acknowledgment sent {"connection_id":150169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:19:51] local.INFO: TCP Data received {"connection_id":150169,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:51] local.INFO: Processing buffer {"connection_id":150169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:19:51] local.INFO: Packet analysis {"connection_id":150169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:19:51] local.INFO: Extracted packet for processing {"connection_id":150169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":150169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:19:51] local.INFO: GPS data processed {"connection_id":150169,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:19:51] local.INFO: Acknowledgment sent {"connection_id":150169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:20:37] local.INFO: TCP Data received {"connection_id":150436,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:20:37] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:20:37] local.INFO: IMEI packet received {"connection_id":150436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":150436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:20:41] local.INFO: TCP Data received {"connection_id":150436,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:20:41] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:20:41] local.INFO: IMEI packet received {"connection_id":150436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":150436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:20:42] local.INFO: TCP Data received {"connection_id":150436,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:20:42] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf798558012d34c54006aa3f900010011d27..."} 
[2026-08-08 09:20:42] local.INFO: Packet analysis {"connection_id":150436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:20:42] local.INFO: Extracted packet for processing {"connection_id":150436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf79"} 
[2026-08-08 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257064960001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786160711000,"timestamp_ms":1786160711000,"timestamp_seconds":1786160711,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf798558"} 
[2026-08-08 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257064960001,"66":25625,"105":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-08 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257064960001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:20:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 09:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257064960001,"power":25625,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":150436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:20:42] local.INFO: GPS data processed {"connection_id":150436,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:20:42] local.INFO: Acknowledgment sent {"connection_id":150436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:21:14] local.INFO: TCP Data received {"connection_id":150436,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:21:14] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:21:14] local.INFO: Packet analysis {"connection_id":150436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:21:14] local.INFO: Extracted packet for processing {"connection_id":150436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:21:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:21:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":150436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:21:14] local.INFO: GPS data processed {"connection_id":150436,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:21:14] local.INFO: Acknowledgment sent {"connection_id":150436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:21:36] local.INFO: TCP Data received {"connection_id":150437,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:21:36] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:21:36] local.INFO: IMEI packet received {"connection_id":150437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":150437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:21:41] local.INFO: TCP Data received {"connection_id":150437,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:21:41] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:21:41] local.INFO: IMEI packet received {"connection_id":150437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":150437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:21:42] local.INFO: TCP Data received {"connection_id":150437,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:21:42] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:21:42] local.INFO: Packet analysis {"connection_id":150437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:21:42] local.INFO: Extracted packet for processing {"connection_id":150437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 09:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 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-08-08 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 09:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:21:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":150437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:21:42] local.INFO: GPS data processed {"connection_id":150437,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:21:42] local.INFO: Acknowledgment sent {"connection_id":150437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:22:14] local.INFO: TCP Data received {"connection_id":150437,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:14] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:14] local.INFO: Packet analysis {"connection_id":150437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:22:14] local.INFO: Extracted packet for processing {"connection_id":150437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":150437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:22:14] local.INFO: GPS data processed {"connection_id":150437,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:22:14] local.INFO: Acknowledgment sent {"connection_id":150437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:22:41] local.INFO: TCP Data received {"connection_id":151405,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:22:41] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:22:41] local.INFO: IMEI packet received {"connection_id":151405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":151405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:22:46] local.INFO: TCP Data received {"connection_id":151405,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:22:46] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:22:46] local.INFO: IMEI packet received {"connection_id":151405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":151405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:22:47] local.INFO: TCP Data received {"connection_id":151405,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:47] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:47] local.INFO: Packet analysis {"connection_id":151405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:22:47] local.INFO: Extracted packet for processing {"connection_id":151405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:22:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":151405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:22:47] local.INFO: GPS data processed {"connection_id":151405,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:22:47] local.INFO: Acknowledgment sent {"connection_id":151405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:22:52] local.INFO: TCP Data received {"connection_id":151405,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:52] local.INFO: Processing buffer {"connection_id":151405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:22:52] local.INFO: Packet analysis {"connection_id":151405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:22:52] local.INFO: Extracted packet for processing {"connection_id":151405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:22:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:22:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":151405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:22:52] local.INFO: GPS data processed {"connection_id":151405,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:22:52] local.INFO: Acknowledgment sent {"connection_id":151405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:23:36] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:23:36] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:23:36] local.INFO: IMEI packet received {"connection_id":150438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:23:41] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:23:41] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:23:41] local.INFO: IMEI packet received {"connection_id":150438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:23:42] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:23:42] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:23:42] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:23:42] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 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-08-08 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:23:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:23:42] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:23:42] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:24:14] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:24:14] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:24:14] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:24:14] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:24:14] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:24:14] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:24:36] local.INFO: TCP Data received {"connection_id":151406,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:24:36] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:24:36] local.INFO: IMEI packet received {"connection_id":151406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":151406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:24:41] local.INFO: TCP Data received {"connection_id":151406,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:24:41] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:24:41] local.INFO: IMEI packet received {"connection_id":151406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":151406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:24:43] local.INFO: TCP Data received {"connection_id":151406,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:24:43] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:24:43] local.INFO: Packet analysis {"connection_id":151406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:24:43] local.INFO: Extracted packet for processing {"connection_id":151406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:24:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":151406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:24:43] local.INFO: GPS data processed {"connection_id":151406,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:24:43] local.INFO: Acknowledgment sent {"connection_id":151406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:25:14] local.INFO: TCP Data received {"connection_id":151406,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:25:14] local.INFO: Processing buffer {"connection_id":151406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:25:14] local.INFO: Packet analysis {"connection_id":151406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:25:14] local.INFO: Extracted packet for processing {"connection_id":151406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:25:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":151406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:25:14] local.INFO: GPS data processed {"connection_id":151406,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:25:14] local.INFO: Acknowledgment sent {"connection_id":151406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:25:36] local.INFO: TCP Data received {"connection_id":152882,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:25:36] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:25:36] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:25:41] local.INFO: TCP Data received {"connection_id":152882,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:25:41] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:25:41] local.INFO: IMEI packet received {"connection_id":152882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":152882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:25:42] local.INFO: TCP Data received {"connection_id":152882,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:25:42] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf7e1d20012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:25:42] local.INFO: Packet analysis {"connection_id":152882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:25:42] local.INFO: Extracted packet for processing {"connection_id":152882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf7e"} 
[2026-08-08 09:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257142016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161012000,"timestamp_ms":1786161012000,"timestamp_seconds":1786161012,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf7e1d20"} 
[2026-08-08 09:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257142016001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257142016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:25:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257142016001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":152882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:25:42] local.INFO: GPS data processed {"connection_id":152882,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:25:42] local.INFO: Acknowledgment sent {"connection_id":152882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:26:13] local.INFO: TCP Data received {"connection_id":152882,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:13] local.INFO: Processing buffer {"connection_id":152882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:13] local.INFO: Packet analysis {"connection_id":152882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:26:13] local.INFO: Extracted packet for processing {"connection_id":152882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:26:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:26:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":152882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:26:13] local.INFO: GPS data processed {"connection_id":152882,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:26:13] local.INFO: Acknowledgment sent {"connection_id":152882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:26:41] local.INFO: TCP Data received {"connection_id":150439,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:26:41] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:26:41] local.INFO: IMEI packet received {"connection_id":150439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":150439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:26:46] local.INFO: TCP Data received {"connection_id":150439,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:26:46] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:26:46] local.INFO: IMEI packet received {"connection_id":150439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":150439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:26:48] local.INFO: TCP Data received {"connection_id":150439,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:48] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:48] local.INFO: Packet analysis {"connection_id":150439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:26:48] local.INFO: Extracted packet for processing {"connection_id":150439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":150439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:26:48] local.INFO: GPS data processed {"connection_id":150439,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:26:48] local.INFO: Acknowledgment sent {"connection_id":150439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:26:52] local.INFO: TCP Data received {"connection_id":150439,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:52] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:26:52] local.INFO: Packet analysis {"connection_id":150439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:26:52] local.INFO: Extracted packet for processing {"connection_id":150439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:26:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:26:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":150439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:26:52] local.INFO: GPS data processed {"connection_id":150439,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:26:52] local.INFO: Acknowledgment sent {"connection_id":150439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:27:36] local.INFO: TCP Data received {"connection_id":150170,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:27:36] local.INFO: Processing buffer {"connection_id":150170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:27:36] local.INFO: IMEI packet received {"connection_id":150170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:27:41] local.INFO: TCP Data received {"connection_id":150170,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:27:41] local.INFO: Processing buffer {"connection_id":150170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:27:41] local.INFO: IMEI packet received {"connection_id":150170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":150170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:27:42] local.INFO: TCP Data received {"connection_id":150170,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:27:42] local.INFO: Processing buffer {"connection_id":150170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:27:42] local.INFO: Packet analysis {"connection_id":150170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:27:42] local.INFO: Extracted packet for processing {"connection_id":150170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:27:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":150170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:27:42] local.INFO: GPS data processed {"connection_id":150170,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:27:42] local.INFO: Acknowledgment sent {"connection_id":150170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:28:14] local.INFO: TCP Data received {"connection_id":150170,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:28:14] local.INFO: Processing buffer {"connection_id":150170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:28:14] local.INFO: Packet analysis {"connection_id":150170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:28:14] local.INFO: Extracted packet for processing {"connection_id":150170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:28:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:28:14] local.INFO: GPS data processed {"connection_id":150170,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:28:14] local.INFO: Acknowledgment sent {"connection_id":150170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:28:36] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:28:36] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:28:36] local.INFO: IMEI packet received {"connection_id":150440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":150440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:28:41] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:28:41] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:28:41] local.INFO: IMEI packet received {"connection_id":150440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":150440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:28:42] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:28:42] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:28:42] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:28:42] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:28:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:28:42] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:28:42] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:29:14] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:29:14] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:29:14] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:29:14] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:29:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:29:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:29:14] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:29:14] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:29:36] local.INFO: TCP Data received {"connection_id":150441,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:29:36] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:29:36] local.INFO: IMEI packet received {"connection_id":150441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:29:41] local.INFO: TCP Data received {"connection_id":150441,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:29:41] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:29:41] local.INFO: IMEI packet received {"connection_id":150441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":150441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:29:42] local.INFO: TCP Data received {"connection_id":150441,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:29:42] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:29:42] local.INFO: Packet analysis {"connection_id":150441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:29:42] local.INFO: Extracted packet for processing {"connection_id":150441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:29:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":150441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:29:42] local.INFO: GPS data processed {"connection_id":150441,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:29:42] local.INFO: Acknowledgment sent {"connection_id":150441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:30:14] local.INFO: TCP Data received {"connection_id":150441,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:30:14] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:30:14] local.INFO: Packet analysis {"connection_id":150441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:30:14] local.INFO: Extracted packet for processing {"connection_id":150441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:30:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":150441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:30:14] local.INFO: GPS data processed {"connection_id":150441,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:30:14] local.INFO: Acknowledgment sent {"connection_id":150441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:30:36] local.INFO: TCP Data received {"connection_id":151407,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:30:36] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:30:36] local.INFO: IMEI packet received {"connection_id":151407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":151407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:30:41] local.INFO: TCP Data received {"connection_id":151407,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:30:41] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:30:41] local.INFO: IMEI packet received {"connection_id":151407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":151407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:30:42] local.INFO: TCP Data received {"connection_id":151407,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:30:42] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf82b4e8012d34c54006aa3f900010011d24..."} 
[2026-08-08 09:30:42] local.INFO: Packet analysis {"connection_id":151407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:30:42] local.INFO: Extracted packet for processing {"connection_id":151407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf82"} 
[2026-08-08 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257219072001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161313000,"timestamp_ms":1786161313000,"timestamp_seconds":1786161313,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf82b4e8"} 
[2026-08-08 09:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257219072001,"66":25615,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257219072001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:30:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257219072001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":151407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:30:42] local.INFO: GPS data processed {"connection_id":151407,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:30:42] local.INFO: Acknowledgment sent {"connection_id":151407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:31:14] local.INFO: TCP Data received {"connection_id":151407,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:31:14] local.INFO: Processing buffer {"connection_id":151407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:31:14] local.INFO: Packet analysis {"connection_id":151407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:31:14] local.INFO: Extracted packet for processing {"connection_id":151407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257296128001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161614000,"timestamp_ms":1786161614000,"timestamp_seconds":1786161614,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf874cb0"} 
[2026-08-08 09:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257296128001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257296128001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:31:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:31:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257296128001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":151407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:31:14] local.INFO: GPS data processed {"connection_id":151407,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:31:14] local.INFO: Acknowledgment sent {"connection_id":151407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:31:36] local.INFO: TCP Data received {"connection_id":152883,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:31:36] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:31:36] local.INFO: IMEI packet received {"connection_id":152883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":152883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:31:41] local.INFO: TCP Data received {"connection_id":152883,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:31:41] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:31:41] local.INFO: IMEI packet received {"connection_id":152883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":152883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:31:43] local.INFO: TCP Data received {"connection_id":152883,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:31:43] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:31:43] local.INFO: Packet analysis {"connection_id":152883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:31:43] local.INFO: Extracted packet for processing {"connection_id":152883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257296128001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786161614000,"timestamp_ms":1786161614000,"timestamp_seconds":1786161614,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf874cb0"} 
[2026-08-08 09:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257296128001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257296128001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:31:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257296128001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":152883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:31:43] local.INFO: GPS data processed {"connection_id":152883,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:31:43] local.INFO: Acknowledgment sent {"connection_id":152883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:32:15] local.INFO: TCP Data received {"connection_id":152883,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:32:15] local.INFO: Processing buffer {"connection_id":152883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:32:15] local.INFO: Packet analysis {"connection_id":152883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:32:15] local.INFO: Extracted packet for processing {"connection_id":152883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257296128001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786161614000,"timestamp_ms":1786161614000,"timestamp_seconds":1786161614,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf874cb0"} 
[2026-08-08 09:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257296128001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257296128001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:32:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:32:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257296128001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":152883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:32:15] local.INFO: GPS data processed {"connection_id":152883,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:32:15] local.INFO: Acknowledgment sent {"connection_id":152883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:32:36] local.INFO: TCP Data received {"connection_id":150442,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:32:36] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:32:36] local.INFO: IMEI packet received {"connection_id":150442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":150442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:32:41] local.INFO: TCP Data received {"connection_id":150442,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:32:41] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:32:41] local.INFO: IMEI packet received {"connection_id":150442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":150442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:32:43] local.INFO: TCP Data received {"connection_id":150442,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:32:43] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf874cb0012d34c54006aa3f900010011d23..."} 
[2026-08-08 09:32:43] local.INFO: Packet analysis {"connection_id":150442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:32:43] local.INFO: Extracted packet for processing {"connection_id":150442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf87"} 
[2026-08-08 09:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257296128001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786161614000,"timestamp_ms":1786161614000,"timestamp_seconds":1786161614,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf874cb0"} 
[2026-08-08 09:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257296128001,"66":25647,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257296128001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:32:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257296128001,"power":25647,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":150442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:32:43] local.INFO: GPS data processed {"connection_id":150442,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:32:43] local.INFO: Acknowledgment sent {"connection_id":150442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:33:14] local.INFO: TCP Data received {"connection_id":150442,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf892940012d34c54006aa3f900010011d20..."} 
[2026-08-08 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf892940012d34c54006aa3f900010011d20..."} 
[2026-08-08 09:33:14] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf892940012d34c54006aa3f900010011d20..."} 
[2026-08-08 09:33:14] local.INFO: Packet analysis {"connection_id":150442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf89"} 
[2026-08-08 09:33:14] local.INFO: Extracted packet for processing {"connection_id":150442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf89"} 
[2026-08-08 09:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820688,"longitude_deg":75.8433088,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":32,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09:33: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-08-08 09:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257373184001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161736000,"timestamp_ms":1786161736000,"timestamp_seconds":1786161736,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf892940"} 
[2026-08-08 09:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 09:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 09:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257373184001,"66":25625,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257373184001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:33:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257373184001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":150442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:33:14] local.INFO: GPS data processed {"connection_id":150442,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:33:14] local.INFO: Acknowledgment sent {"connection_id":150442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:33:36] local.INFO: TCP Data received {"connection_id":151408,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:36] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:36] local.INFO: IMEI packet received {"connection_id":151408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":151408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:33:38] local.INFO: TCP Data received {"connection_id":151408,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:38] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:38] local.INFO: IMEI packet received {"connection_id":151408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":151408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:33:41] local.INFO: TCP Data received {"connection_id":151408,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:41] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:33:41] local.INFO: IMEI packet received {"connection_id":151408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:33:41] local.INFO: TCP Data received {"connection_id":151408,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf898318012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf898318012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:33:41] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf898318012d34c60006aa3f900010011d25..."} 
[2026-08-08 09:33:41] local.INFO: Packet analysis {"connection_id":151408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf89"} 
[2026-08-08 09:33:41] local.INFO: Extracted packet for processing {"connection_id":151408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf89"} 
[2026-08-08 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111820688,"longitude_deg":75.843328,"latitude_deg":11.1820688,"altitude":16,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c600","hex_latitude":"06aa3f90","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257404416001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374886838906650624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754525696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786161759000,"timestamp_ms":1786161759000,"timestamp_seconds":1786161759,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf898318"} 
[2026-08-08 09:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":25,"data_length":795,"current_offset":136} 
[2026-08-08 09:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257404416001,"66":27484,"106":206,"28":21760,"24":0,"16":374886838906650624,"45":3802515857754525696},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257404416001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:33:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374886838906650624,"km_value":374886838906650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754525696,"description":"Unknown IO ID 45"} 
[2026-08-08 09:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257404416001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857754525696}} 
[2026-08-08 09:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":151408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:33:41] local.INFO: GPS data processed {"connection_id":151408,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:33:41] local.INFO: Acknowledgment sent {"connection_id":151408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:34:13] local.INFO: TCP Data received {"connection_id":151408,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8a4668012d34c50006aa4d10000c016428..."} 
[2026-08-08 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8a4668012d34c50006aa4d10000c016428..."} 
[2026-08-08 09:34:13] local.INFO: Processing buffer {"connection_id":151408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8a4668012d34c50006aa4d10000c016428..."} 
[2026-08-08 09:34:13] local.INFO: Packet analysis {"connection_id":151408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:34:13] local.INFO: Extracted packet for processing {"connection_id":151408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824144,"longitude_deg":75.8433024,"latitude_deg":11.1824144,"altitude":12,"angle":356,"satellites":40,"speed":3,"hex_longitude":"2d34c500","hex_latitude":"06aa4d10","is_valid_coordinates":true} 
[2026-08-08 09:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257421824001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374887045065080832,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499381248,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786161809000,"timestamp_ms":1786161809000,"timestamp_seconds":1786161809,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8a4668"} 
[2026-08-08 09:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 09:34: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-08-08 09:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257421824001,"66":27843,"106":206,"28":21760,"24":3,"16":374887045065080832,"45":3802586226499381248},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257421824001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:34:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:34:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374887045065080832,"km_value":374887045065080.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499381248,"description":"Unknown IO ID 45"} 
[2026-08-08 09:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257421824001,"power":27843,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802586226499381248}} 
[2026-08-08 09:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":151408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:34:13] local.INFO: GPS data processed {"connection_id":151408,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:34:13] local.INFO: Acknowledgment sent {"connection_id":151408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:34:41] local.INFO: TCP Data received {"connection_id":150443,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:34:41] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:34:41] local.INFO: IMEI packet received {"connection_id":150443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":150443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:34:46] local.INFO: TCP Data received {"connection_id":150443,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:34:46] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:34:46] local.INFO: IMEI packet received {"connection_id":150443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":150443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:34:48] local.INFO: TCP Data received {"connection_id":150443,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8a4a50012d34c50006aa4d50000c015928..."} 
[2026-08-08 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8a4a50012d34c50006aa4d50000c015928..."} 
[2026-08-08 09:34:48] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8a4a50012d34c50006aa4d50000c015928..."} 
[2026-08-08 09:34:48] local.INFO: Packet analysis {"connection_id":150443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:34:48] local.INFO: Extracted packet for processing {"connection_id":150443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824208,"longitude_deg":75.8433024,"latitude_deg":11.1824208,"altitude":12,"angle":345,"satellites":40,"speed":1,"hex_longitude":"2d34c500","hex_latitude":"06aa4d50","is_valid_coordinates":true} 
[2026-08-08 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257423104001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374887049360048128,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011232768,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786161810000,"timestamp_ms":1786161810000,"timestamp_seconds":1786161810,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8a4a50"} 
[2026-08-08 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:34: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-08-08 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257423104001,"66":27843,"106":206,"28":21760,"24":1,"16":374887049360048128,"45":3802445489011232768},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257423104001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374887049360048128,"km_value":374887049360048.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011232768,"description":"Unknown IO ID 45"} 
[2026-08-08 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257423104001,"power":27843,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3802445489011232768}} 
[2026-08-08 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":150443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:34:48] local.INFO: GPS data processed {"connection_id":150443,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:34:48] local.INFO: Acknowledgment sent {"connection_id":150443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:34:52] local.INFO: TCP Data received {"connection_id":150443,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8a5608012d34c50006aa4e08000b000127..."} 
[2026-08-08 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8a5608012d34c50006aa4e08000b000127..."} 
[2026-08-08 09:34:52] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8a5608012d34c50006aa4e08000b000127..."} 
[2026-08-08 09:34:52] local.INFO: Packet analysis {"connection_id":150443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:34:52] local.INFO: Extracted packet for processing {"connection_id":150443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824392,"longitude_deg":75.8433024,"latitude_deg":11.1824392,"altitude":11,"angle":1,"satellites":39,"speed":1,"hex_longitude":"2d34c500","hex_latitude":"06aa4e08","is_valid_coordinates":true} 
[2026-08-08 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257423360001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374887057949982720,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011249152,"note":"Value kept but may cause issues"} 
[2026-08-08 09:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786161813000,"timestamp_ms":1786161813000,"timestamp_seconds":1786161813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8a5608"} 
[2026-08-08 09:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 09:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257423360001,"66":27821,"106":206,"28":21760,"24":1,"16":374887057949982720,"45":3802445489011249152},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257423360001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:34:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:34:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374887057949982720,"km_value":374887057949982.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011249152,"description":"Unknown IO ID 45"} 
[2026-08-08 09:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257423360001,"power":27821,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3802445489011249152}} 
[2026-08-08 09:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":150443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:34:52] local.INFO: GPS data processed {"connection_id":150443,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:34:52] local.INFO: Acknowledgment sent {"connection_id":150443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:35:36] local.INFO: TCP Data received {"connection_id":150171,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:36] local.INFO: Processing buffer {"connection_id":150171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:36] local.INFO: IMEI packet received {"connection_id":150171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:35:36] local.INFO: TCP Data received {"connection_id":150171,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:36] local.INFO: Processing buffer {"connection_id":150171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:36] local.INFO: IMEI packet received {"connection_id":150171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:35:41] local.INFO: TCP Data received {"connection_id":150171,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:41] local.INFO: Processing buffer {"connection_id":150171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:35:41] local.INFO: IMEI packet received {"connection_id":150171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":150171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:35:42] local.INFO: TCP Data received {"connection_id":150171,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8aa810012d34c50006aa4e48000b016526..."} 
[2026-08-08 09:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8aa810012d34c50006aa4e48000b016526..."} 
[2026-08-08 09:35:42] local.INFO: Processing buffer {"connection_id":150171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8aa810012d34c50006aa4e48000b016526..."} 
[2026-08-08 09:35:42] local.INFO: Packet analysis {"connection_id":150171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:35:42] local.INFO: Extracted packet for processing {"connection_id":150171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824456,"longitude_deg":75.8433024,"latitude_deg":11.1824456,"altitude":11,"angle":357,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4e48","is_valid_coordinates":true} 
[2026-08-08 09:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257424128001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374887057949982720,"note":"Value kept but may cause issues"} 
[2026-08-08 09:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011296256,"note":"Value kept but may cause issues"} 
[2026-08-08 09:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161834000,"timestamp_ms":1786161834000,"timestamp_seconds":1786161834,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8aa810"} 
[2026-08-08 09:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 09:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257424128001,"66":27713,"106":206,"28":21760,"24":0,"16":374887057949982720,"45":3802445489011296256},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257424128001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:35:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374887057949982720,"km_value":374887057949982.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011296256,"description":"Unknown IO ID 45"} 
[2026-08-08 09:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257424128001,"power":27713,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489011296256}} 
[2026-08-08 09:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":150171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:35:42] local.INFO: GPS data processed {"connection_id":150171,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:35:42] local.INFO: Acknowledgment sent {"connection_id":150171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:36:13] local.INFO: TCP Data received {"connection_id":150171,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8afa18012d34c50006aa4e48000b01652a..."} 
[2026-08-08 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8afa18012d34c50006aa4e48000b01652a..."} 
[2026-08-08 09:36:13] local.INFO: Processing buffer {"connection_id":150171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8afa18012d34c50006aa4e48000b01652a..."} 
[2026-08-08 09:36:13] local.INFO: Packet analysis {"connection_id":150171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:36:13] local.INFO: Extracted packet for processing {"connection_id":150171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8a"} 
[2026-08-08 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824456,"longitude_deg":75.8433024,"latitude_deg":11.1824456,"altitude":11,"angle":357,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4e48","is_valid_coordinates":true} 
[2026-08-08 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257429504001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374887057949982720,"note":"Value kept but may cause issues"} 
[2026-08-08 09:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011312640,"note":"Value kept but may cause issues"} 
[2026-08-08 09:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786161855000,"timestamp_ms":1786161855000,"timestamp_seconds":1786161855,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8afa18"} 
[2026-08-08 09:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 09:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257429504001,"66":28006,"106":206,"28":21760,"24":0,"16":374887057949982720,"45":3802445489011312640},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257429504001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:36:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:36:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374887057949982720,"km_value":374887057949982.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011312640,"description":"Unknown IO ID 45"} 
[2026-08-08 09:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257429504001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489011312640}} 
[2026-08-08 09:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":150171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:36:14] local.INFO: GPS data processed {"connection_id":150171,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:36:14] local.INFO: Acknowledgment sent {"connection_id":150171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:36:37] local.INFO: TCP Data received {"connection_id":151409,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:36:37] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:36:37] local.INFO: IMEI packet received {"connection_id":151409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":151409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:36:41] local.INFO: TCP Data received {"connection_id":151409,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:36:41] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:36:41] local.INFO: IMEI packet received {"connection_id":151409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":151409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:36:42] local.INFO: TCP Data received {"connection_id":151409,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8b4c20012d34c50006aa4e48000b01652a..."} 
[2026-08-08 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8b4c20012d34c50006aa4e48000b01652a..."} 
[2026-08-08 09:36:42] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8b4c20012d34c50006aa4e48000b01652a..."} 
[2026-08-08 09:36:42] local.INFO: Packet analysis {"connection_id":151409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8b"} 
[2026-08-08 09:36:42] local.INFO: Extracted packet for processing {"connection_id":151409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8b"} 
[2026-08-08 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824456,"longitude_deg":75.8433024,"latitude_deg":11.1824456,"altitude":11,"angle":357,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4e48","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257434880001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374887057949982720,"note":"Value kept but may cause issues"} 
[2026-08-08 09:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011312640,"note":"Value kept but may cause issues"} 
[2026-08-08 09:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161876000,"timestamp_ms":1786161876000,"timestamp_seconds":1786161876,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8b4c20"} 
[2026-08-08 09:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 09:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257434880001,"66":27767,"106":206,"28":21760,"24":0,"16":374887057949982720,"45":3802445489011312640},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-08 09:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257434880001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 09:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374887057949982720,"km_value":374887057949982.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011312640,"description":"Unknown IO ID 45"} 
[2026-08-08 09:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257434880001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802445489011312640}} 
[2026-08-08 09:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":151409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:36:42] local.INFO: GPS data processed {"connection_id":151409,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:36:42] local.INFO: Acknowledgment sent {"connection_id":151409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:37:14] local.INFO: TCP Data received {"connection_id":151409,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8cea30012d35138006aa6460000a00732a..."} 
[2026-08-08 09:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8cea30012d35138006aa6460000a00732a..."} 
[2026-08-08 09:37:14] local.INFO: Processing buffer {"connection_id":151409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8cea30012d35138006aa6460000a00732a..."} 
[2026-08-08 09:37:14] local.INFO: Packet analysis {"connection_id":151409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8c"} 
[2026-08-08 09:37:14] local.INFO: Extracted packet for processing {"connection_id":151409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8c"} 
[2026-08-08 09:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758453120,"raw_latitude":111830112,"longitude_deg":75.845312,"latitude_deg":11.1830112,"altitude":10,"angle":115,"satellites":42,"speed":8,"hex_longitude":"2d351380","hex_latitude":"06aa6460","is_valid_coordinates":true} 
[2026-08-08 09:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257466624001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374888114511937536,"note":"Value kept but may cause issues"} 
[2026-08-08 09:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823907955986991104,"note":"Value kept but may cause issues"} 
[2026-08-08 09:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161982000,"timestamp_ms":1786161982000,"timestamp_seconds":1786161982,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8cea30"} 
[2026-08-08 09:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257466624001,"66":27800,"104":206,"28":21760,"24":8,"16":374888114511937536,"45":3823907955986991104},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-08 09:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257466624001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:37:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 09:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374888114511937536,"km_value":374888114511937.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823907955986991104,"description":"Unknown IO ID 45"} 
[2026-08-08 09:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257466624001,"power":27800,"unknown_104":206,"unknown_28":21760,"ignition":8,"odometer":null,"unknown_45":3823907955986991104}} 
[2026-08-08 09:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":151409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:37:14] local.INFO: GPS data processed {"connection_id":151409,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:37:14] local.INFO: Acknowledgment sent {"connection_id":151409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:37:36] local.INFO: TCP Data received {"connection_id":150172,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:37:36] local.INFO: Processing buffer {"connection_id":150172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:37:36] local.INFO: IMEI packet received {"connection_id":150172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":150172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:37:41] local.INFO: TCP Data received {"connection_id":150172,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:37:41] local.INFO: Processing buffer {"connection_id":150172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:37:41] local.INFO: IMEI packet received {"connection_id":150172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":150172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:37:42] local.INFO: TCP Data received {"connection_id":150172,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8cf5e8012d3516c006aa6378000b00642b..."} 
[2026-08-08 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8cf5e8012d3516c006aa6378000b00642b..."} 
[2026-08-08 09:37:42] local.INFO: Processing buffer {"connection_id":150172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8cf5e8012d3516c006aa6378000b00642b..."} 
[2026-08-08 09:37:42] local.INFO: Packet analysis {"connection_id":150172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8c"} 
[2026-08-08 09:37:42] local.INFO: Extracted packet for processing {"connection_id":150172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8c"} 
[2026-08-08 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758453952,"raw_latitude":111829880,"longitude_deg":75.8453952,"latitude_deg":11.182988,"altitude":11,"angle":100,"satellites":43,"speed":12,"hex_longitude":"2d3516c0","hex_latitude":"06aa6378","is_valid_coordinates":true} 
[2026-08-08 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-08-08 09:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257467392001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374888153166643200,"note":"Value kept but may cause issues"} 
[2026-08-08 09:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824541274684547072,"note":"Value kept but may cause issues"} 
[2026-08-08 09:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786161985000,"timestamp_ms":1786161985000,"timestamp_seconds":1786161985,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8cf5e8"} 
[2026-08-08 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-08-08 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 09:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 09:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257467392001,"66":27821,"104":206,"28":21760,"24":12,"16":374888153166643200,"45":3824541274684547072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-08 09:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257467392001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:37:42] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 09:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374888153166643200,"km_value":374888153166643.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824541274684547072,"description":"Unknown IO ID 45"} 
[2026-08-08 09:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257467392001,"power":27821,"unknown_104":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3824541274684547072}} 
[2026-08-08 09:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":150172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:37:42] local.INFO: GPS data processed {"connection_id":150172,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:37:42] local.INFO: Acknowledgment sent {"connection_id":150172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:38:14] local.INFO: TCP Data received {"connection_id":150172,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8d0970012d351e4006aa6210000c00722b..."} 
[2026-08-08 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8d0970012d351e4006aa6210000c00722b..."} 
[2026-08-08 09:38:14] local.INFO: Processing buffer {"connection_id":150172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8d0970012d351e4006aa6210000c00722b..."} 
[2026-08-08 09:38:14] local.INFO: Packet analysis {"connection_id":150172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8d"} 
[2026-08-08 09:38:14] local.INFO: Extracted packet for processing {"connection_id":150172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8d"} 
[2026-08-08 09:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758455872,"raw_latitude":111829520,"longitude_deg":75.8455872,"latitude_deg":11.182952,"altitude":12,"angle":114,"satellites":43,"speed":17,"hex_longitude":"2d351e40","hex_latitude":"06aa6210","is_valid_coordinates":true} 
[2026-08-08 09:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257468160001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374888247655923712,"note":"Value kept but may cause issues"} 
[2026-08-08 09:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3825456068358797312,"note":"Value kept but may cause issues"} 
[2026-08-08 09:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786161990000,"timestamp_ms":1786161990000,"timestamp_seconds":1786161990,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8d0970"} 
[2026-08-08 09:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 09:38: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-08-08 09:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257468160001,"66":27908,"104":206,"28":21760,"24":17,"16":374888247655923712,"45":3825456068358797312},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-08 09:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257468160001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:38:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 09:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374888247655923712,"km_value":374888247655923.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3825456068358797312,"description":"Unknown IO ID 45"} 
[2026-08-08 09:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257468160001,"power":27908,"unknown_104":206,"unknown_28":21760,"ignition":17,"odometer":null,"unknown_45":3825456068358797312}} 
[2026-08-08 09:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":150172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:38:14] local.INFO: GPS data processed {"connection_id":150172,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:38:14] local.INFO: Acknowledgment sent {"connection_id":150172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:38:36] local.INFO: TCP Data received {"connection_id":152884,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:36] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:36] local.INFO: IMEI packet received {"connection_id":152884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":152884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:38:38] local.INFO: TCP Data received {"connection_id":152884,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:38] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:38] local.INFO: IMEI packet received {"connection_id":152884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":152884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:38:41] local.INFO: TCP Data received {"connection_id":152884,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:41] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:38:41] local.INFO: IMEI packet received {"connection_id":152884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":152884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:38:54] local.INFO: TCP Data received {"connection_id":152884,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8d4408012d35400006aa5430000c00702a..."} 
[2026-08-08 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8d4408012d35400006aa5430000c00702a..."} 
[2026-08-08 09:38:54] local.INFO: Processing buffer {"connection_id":152884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8d4408012d35400006aa5430000c00702a..."} 
[2026-08-08 09:38:54] local.INFO: Packet analysis {"connection_id":152884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8d"} 
[2026-08-08 09:38:54] local.INFO: Extracted packet for processing {"connection_id":152884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8d"} 
[2026-08-08 09:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758464512,"raw_latitude":111825968,"longitude_deg":75.8464512,"latitude_deg":11.1825968,"altitude":12,"angle":112,"satellites":42,"speed":30,"hex_longitude":"2d354000","hex_latitude":"06aa5430","is_valid_coordinates":true} 
[2026-08-08 09:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257469440001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374888694332522496,"note":"Value kept but may cause issues"} 
[2026-08-08 09:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3827567130684035072,"note":"Value kept but may cause issues"} 
[2026-08-08 09:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786162005000,"timestamp_ms":1786162005000,"timestamp_seconds":1786162005,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8d4408"} 
[2026-08-08 09:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":152884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":152884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":152884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257469440001,"66":27745,"104":206,"28":21760,"24":30,"16":374888694332522496,"45":3827567130684035072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-08 09:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257469440001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:38:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 09:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374888694332522496,"km_value":374888694332522.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3827567130684035072,"description":"Unknown IO ID 45"} 
[2026-08-08 09:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257469440001,"power":27745,"unknown_104":206,"unknown_28":21760,"ignition":30,"odometer":null,"unknown_45":3827567130684035072}} 
[2026-08-08 09:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":152884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:38:54] local.INFO: GPS data processed {"connection_id":152884,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:38:54] local.INFO: Acknowledgment sent {"connection_id":152884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:39:36] local.INFO: TCP Data received {"connection_id":151410,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:36] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:36] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:39:40] local.INFO: TCP Data received {"connection_id":151410,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:40] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:40] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:39:41] local.INFO: TCP Data received {"connection_id":151410,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:41] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:39:41] local.INFO: IMEI packet received {"connection_id":151410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":151410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:39:42] local.INFO: TCP Data received {"connection_id":151410,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8ec2d8012d36a64006a9c8a80009008329..."} 
[2026-08-08 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8ec2d8012d36a64006a9c8a80009008329..."} 
[2026-08-08 09:39:42] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8ec2d8012d36a64006a9c8a80009008329..."} 
[2026-08-08 09:39:42] local.INFO: Packet analysis {"connection_id":151410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8e"} 
[2026-08-08 09:39:42] local.INFO: Extracted packet for processing {"connection_id":151410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8e"} 
[2026-08-08 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758556224,"raw_latitude":111790248,"longitude_deg":75.8556224,"latitude_deg":11.1790248,"altitude":9,"angle":131,"satellites":41,"speed":44,"hex_longitude":"2d36a640","hex_latitude":"06a9c8a8","is_valid_coordinates":true} 
[2026-08-08 09:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257497856001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374893397321711616,"note":"Value kept but may cause issues"} 
[2026-08-08 09:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3935794259219570688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162103000,"timestamp_ms":1786162103000,"timestamp_seconds":1786162103,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8ec2d8"} 
[2026-08-08 09:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-08 09:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257497856001,"66":27995,"154":206,"28":21760,"24":44,"16":374893397321711616,"45":3935794259219570688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,28,24,16,45]} 
[2026-08-08 09:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257497856001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:39:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 09:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374893397321711616,"km_value":374893397321711.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3935794259219570688,"description":"Unknown IO ID 45"} 
[2026-08-08 09:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257497856001,"power":27995,"unknown_154":206,"unknown_28":21760,"ignition":44,"odometer":null,"unknown_45":3935794259219570688}} 
[2026-08-08 09:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":151410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:39:42] local.INFO: GPS data processed {"connection_id":151410,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:39:42] local.INFO: Acknowledgment sent {"connection_id":151410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:39:47] local.INFO: TCP Data received {"connection_id":151410,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8ee600012d36c28006a9af98000a00792c..."} 
[2026-08-08 09:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8ee600012d36c28006a9af98000a00792c..."} 
[2026-08-08 09:39:47] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8ee600012d36c28006a9af98000a00792c..."} 
[2026-08-08 09:39:47] local.INFO: Packet analysis {"connection_id":151410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8e"} 
[2026-08-08 09:39:47] local.INFO: Extracted packet for processing {"connection_id":151410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8e"} 
[2026-08-08 09:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758563456,"raw_latitude":111783832,"longitude_deg":75.8563456,"latitude_deg":11.1783832,"altitude":10,"angle":121,"satellites":44,"speed":40,"hex_longitude":"2d36c280","hex_latitude":"06a9af98","is_valid_coordinates":true} 
[2026-08-08 09:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257498368001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374893861178179584,"note":"Value kept but may cause issues"} 
[2026-08-08 09:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3937905321544558592,"note":"Value kept but may cause issues"} 
[2026-08-08 09:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786162112000,"timestamp_ms":1786162112000,"timestamp_seconds":1786162112,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8ee600"} 
[2026-08-08 09:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 09:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257498368001,"66":27984,"154":206,"28":21760,"24":40,"16":374893861178179584,"45":3937905321544558592},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,28,24,16,45]} 
[2026-08-08 09:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257498368001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:39:47] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 09:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374893861178179584,"km_value":374893861178179.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3937905321544558592,"description":"Unknown IO ID 45"} 
[2026-08-08 09:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257498368001,"power":27984,"unknown_154":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":3937905321544558592}} 
[2026-08-08 09:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":151410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:39:47] local.INFO: GPS data processed {"connection_id":151410,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:39:47] local.INFO: Acknowledgment sent {"connection_id":151410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:40:18] local.INFO: TCP Data received {"connection_id":151410,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8f0158012d36dd0006a9a340000b006b2c..."} 
[2026-08-08 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8f0158012d36dd0006a9a340000b006b2c..."} 
[2026-08-08 09:40:18] local.INFO: Processing buffer {"connection_id":151410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8f0158012d36dd0006a9a340000b006b2c..."} 
[2026-08-08 09:40:18] local.INFO: Packet analysis {"connection_id":151410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:40:18] local.INFO: Extracted packet for processing {"connection_id":151410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758570240,"raw_latitude":111780672,"longitude_deg":75.857024,"latitude_deg":11.1780672,"altitude":11,"angle":107,"satellites":44,"speed":43,"hex_longitude":"2d36dd00","hex_latitude":"06a9a340","is_valid_coordinates":true} 
[2026-08-08 09:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257500672001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374894221955432448,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945856989634992128,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786162119000,"timestamp_ms":1786162119000,"timestamp_seconds":1786162119,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8f0158"} 
[2026-08-08 09:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 09:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257500672001,"66":27952,"91":206,"28":21760,"24":43,"16":374894221955432448,"45":3945856989634992128},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 09:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257500672001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:40:18] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 09:40:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374894221955432448,"km_value":374894221955432.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945856989634992128,"description":"Unknown IO ID 45"} 
[2026-08-08 09:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257500672001,"power":27952,"unknown_91":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3945856989634992128}} 
[2026-08-08 09:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":151410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:40:18] local.INFO: GPS data processed {"connection_id":151410,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:40:18] local.INFO: Acknowledgment sent {"connection_id":151410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:40:41] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:40:41] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:40:41] local.INFO: IMEI packet received {"connection_id":150444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":150444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:40:45] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:40:45] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:40:45] local.INFO: IMEI packet received {"connection_id":150444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":150444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:40:47] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8f2098012d37020006a99b20000900642e..."} 
[2026-08-08 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8f2098012d37020006a99b20000900642e..."} 
[2026-08-08 09:40:47] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8f2098012d37020006a99b20000900642e..."} 
[2026-08-08 09:40:47] local.INFO: Packet analysis {"connection_id":150444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:40:47] local.INFO: Extracted packet for processing {"connection_id":150444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758579712,"raw_latitude":111778592,"longitude_deg":75.8579712,"latitude_deg":11.1778592,"altitude":9,"angle":100,"satellites":46,"speed":49,"hex_longitude":"2d370200","hex_latitude":"06a99b20","is_valid_coordinates":true} 
[2026-08-08 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257502464001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374894681516933120,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3953316076517015552,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786162127000,"timestamp_ms":1786162127000,"timestamp_seconds":1786162127,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8f2098"} 
[2026-08-08 09:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-08 09:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257502464001,"66":27908,"91":206,"28":21760,"24":49,"16":374894681516933120,"45":3953316076517015552},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 09:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257502464001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:40:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 09:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374894681516933120,"km_value":374894681516933.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3953316076517015552,"description":"Unknown IO ID 45"} 
[2026-08-08 09:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257502464001,"power":27908,"unknown_91":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3953316076517015552}} 
[2026-08-08 09:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":150444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:40:47] local.INFO: GPS data processed {"connection_id":150444,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:40:47] local.INFO: Acknowledgment sent {"connection_id":150444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:40:49] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8f3fd8012d3729c006a993c0000900642e..."} 
[2026-08-08 09:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8f3fd8012d3729c006a993c0000900642e..."} 
[2026-08-08 09:40:49] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8f3fd8012d3729c006a993c0000900642e..."} 
[2026-08-08 09:40:49] local.INFO: Packet analysis {"connection_id":150444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:40:49] local.INFO: Extracted packet for processing {"connection_id":150444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758589888,"raw_latitude":111776704,"longitude_deg":75.8589888,"latitude_deg":11.1776704,"altitude":9,"angle":100,"satellites":46,"speed":51,"hex_longitude":"2d3729c0","hex_latitude":"06a993c0","is_valid_coordinates":true} 
[2026-08-08 09:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257504512001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374895171143204864,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3963730650654777344,"note":"Value kept but may cause issues"} 
[2026-08-08 09:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786162135000,"timestamp_ms":1786162135000,"timestamp_seconds":1786162135,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8f3fd8"} 
[2026-08-08 09:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257504512001,"66":27865,"91":206,"28":21760,"24":51,"16":374895171143204864,"45":3963730650654777344},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 09:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257504512001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:40:49] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 09:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374895171143204864,"km_value":374895171143204.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3963730650654777344,"description":"Unknown IO ID 45"} 
[2026-08-08 09:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257504512001,"power":27865,"unknown_91":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3963730650654777344}} 
[2026-08-08 09:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":150444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:40:49] local.INFO: GPS data processed {"connection_id":150444,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:40:49] local.INFO: Acknowledgment sent {"connection_id":150444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:41:20] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8f5b30012d374d0006a98d48000a00632b..."} 
[2026-08-08 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8f5b30012d374d0006a98d48000a00632b..."} 
[2026-08-08 09:41:20] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8f5b30012d374d0006a98d48000a00632b..."} 
[2026-08-08 09:41:20] local.INFO: Packet analysis {"connection_id":150444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:41:20] local.INFO: Extracted packet for processing {"connection_id":150444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758598912,"raw_latitude":111775048,"longitude_deg":75.8598912,"latitude_deg":11.1775048,"altitude":10,"angle":99,"satellites":43,"speed":51,"hex_longitude":"2d374d00","hex_latitude":"06a98d48","is_valid_coordinates":true} 
[2026-08-08 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257506560001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374895613524836352,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3974919280978542592,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786162142000,"timestamp_ms":1786162142000,"timestamp_seconds":1786162142,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8f5b30"} 
[2026-08-08 09:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09: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-08-08 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 09:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257506560001,"66":27908,"91":206,"28":21760,"24":51,"16":374895613524836352,"45":3974919280978542592},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 09:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257506560001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374895613524836352,"km_value":374895613524836.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3974919280978542592,"description":"Unknown IO ID 45"} 
[2026-08-08 09:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257506560001,"power":27908,"unknown_91":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3974919280978542592}} 
[2026-08-08 09:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":150444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:41:20] local.INFO: GPS data processed {"connection_id":150444,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:41:20] local.INFO: Acknowledgment sent {"connection_id":150444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:41:36] local.INFO: TCP Data received {"connection_id":150173,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:41:36] local.INFO: Processing buffer {"connection_id":150173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:41:36] local.INFO: IMEI packet received {"connection_id":150173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":150173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:41:41] local.INFO: TCP Data received {"connection_id":150173,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:41:41] local.INFO: Processing buffer {"connection_id":150173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:41:41] local.INFO: IMEI packet received {"connection_id":150173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":150173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:41:42] local.INFO: TCP Data received {"connection_id":150173,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8f7688012d37704006a98a48000a00582d..."} 
[2026-08-08 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8f7688012d37704006a98a48000a00582d..."} 
[2026-08-08 09:41:42] local.INFO: Processing buffer {"connection_id":150173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8f7688012d37704006a98a48000a00582d..."} 
[2026-08-08 09:41:42] local.INFO: Packet analysis {"connection_id":150173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:41:42] local.INFO: Extracted packet for processing {"connection_id":150173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758607936,"raw_latitude":111774280,"longitude_deg":75.8607936,"latitude_deg":11.177428,"altitude":10,"angle":88,"satellites":45,"speed":49,"hex_longitude":"2d377040","hex_latitude":"06a98a48","is_valid_coordinates":true} 
[2026-08-08 09:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257508352001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374896043021565952,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3984841273907169280,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162149000,"timestamp_ms":1786162149000,"timestamp_seconds":1786162149,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8f7688"} 
[2026-08-08 09:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257508352001,"66":27887,"91":206,"28":21760,"24":49,"16":374896043021565952,"45":3984841273907169280},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 09:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257508352001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:41:42] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 09:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374896043021565952,"km_value":374896043021565.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3984841273907169280,"description":"Unknown IO ID 45"} 
[2026-08-08 09:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257508352001,"power":27887,"unknown_91":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3984841273907169280}} 
[2026-08-08 09:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":150173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:41:42] local.INFO: GPS data processed {"connection_id":150173,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:41:42] local.INFO: Acknowledgment sent {"connection_id":150173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:41:44] local.INFO: TCP Data received {"connection_id":150173,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf8f7688012d37704006a98a48000a00582d..."} 
[2026-08-08 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf8f7688012d37704006a98a48000a00582d..."} 
[2026-08-08 09:41:44] local.INFO: Processing buffer {"connection_id":150173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf8f7688012d37704006a98a48000a00582d..."} 
[2026-08-08 09:41:44] local.INFO: Packet analysis {"connection_id":150173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:41:44] local.INFO: Extracted packet for processing {"connection_id":150173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf8f"} 
[2026-08-08 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758607936,"raw_latitude":111774280,"longitude_deg":75.8607936,"latitude_deg":11.177428,"altitude":10,"angle":88,"satellites":45,"speed":49,"hex_longitude":"2d377040","hex_latitude":"06a98a48","is_valid_coordinates":true} 
[2026-08-08 09:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257510144001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374896043021565952,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3994763266836023296,"note":"Value kept but may cause issues"} 
[2026-08-08 09:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786162149000,"timestamp_ms":1786162149000,"timestamp_seconds":1786162149,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf8f7688"} 
[2026-08-08 09:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 09:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257510144001,"66":27887,"91":206,"28":21760,"24":49,"16":374896043021565952,"45":3994763266836023296},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-08 09:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257510144001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:41:44] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 09:41:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374896043021565952,"km_value":374896043021565.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3994763266836023296,"description":"Unknown IO ID 45"} 
[2026-08-08 09:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257510144001,"power":27887,"unknown_91":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3994763266836023296}} 
[2026-08-08 09:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":150173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:41:44] local.INFO: GPS data processed {"connection_id":150173,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:41:44] local.INFO: Acknowledgment sent {"connection_id":150173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:42:16] local.INFO: TCP Data received {"connection_id":150173,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf913f90012d38dc4006a97238000f00682d..."} 
[2026-08-08 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf913f90012d38dc4006a97238000f00682d..."} 
[2026-08-08 09:42:16] local.INFO: Processing buffer {"connection_id":150173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf913f90012d38dc4006a97238000f00682d..."} 
[2026-08-08 09:42:16] local.INFO: Packet analysis {"connection_id":150173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf91"} 
[2026-08-08 09:42:16] local.INFO: Extracted packet for processing {"connection_id":150173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf91"} 
[2026-08-08 09:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758701120,"raw_latitude":111768120,"longitude_deg":75.870112,"latitude_deg":11.176812,"altitude":15,"angle":104,"satellites":45,"speed":31,"hex_longitude":"2d38dc40","hex_latitude":"06a97238","is_valid_coordinates":true} 
[2026-08-08 09:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257536512001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374900539852324864,"note":"Value kept but may cause issues"} 
[2026-08-08 09:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4086805584219430912,"note":"Value kept but may cause issues"} 
[2026-08-08 09:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786162266000,"timestamp_ms":1786162266000,"timestamp_seconds":1786162266,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf913f90"} 
[2026-08-08 09:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 09:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257536512001,"66":27745,"90":206,"28":21760,"24":31,"16":374900539852324864,"45":4086805584219430912},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 09:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257536512001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:42:16] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 09:42:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374900539852324864,"km_value":374900539852324.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4086805584219430912,"description":"Unknown IO ID 45"} 
[2026-08-08 09:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257536512001,"power":27745,"unknown_90":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":4086805584219430912}} 
[2026-08-08 09:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":150173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:42:16] local.INFO: GPS data processed {"connection_id":150173,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:42:16] local.INFO: Acknowledgment sent {"connection_id":150173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:42:36] local.INFO: TCP Data received {"connection_id":152885,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:42:36] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:42:36] local.INFO: IMEI packet received {"connection_id":152885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":152885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:42:41] local.INFO: TCP Data received {"connection_id":152885,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:42:41] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:42:41] local.INFO: IMEI packet received {"connection_id":152885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":152885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:42:42] local.INFO: TCP Data received {"connection_id":152885,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf916a88012d38ff8006a96a50000f00642d..."} 
[2026-08-08 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf916a88012d38ff8006a96a50000f00642d..."} 
[2026-08-08 09:42:42] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf916a88012d38ff8006a96a50000f00642d..."} 
[2026-08-08 09:42:42] local.INFO: Packet analysis {"connection_id":152885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf91"} 
[2026-08-08 09:42:42] local.INFO: Extracted packet for processing {"connection_id":152885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf91"} 
[2026-08-08 09:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758710144,"raw_latitude":111766096,"longitude_deg":75.8710144,"latitude_deg":11.1766096,"altitude":15,"angle":100,"satellites":45,"speed":36,"hex_longitude":"2d38ff80","hex_latitude":"06a96a50","is_valid_coordinates":true} 
[2026-08-08 09:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257540096001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374900982233956352,"note":"Value kept but may cause issues"} 
[2026-08-08 09:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097220158357125120,"note":"Value kept but may cause issues"} 
[2026-08-08 09:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162277000,"timestamp_ms":1786162277000,"timestamp_seconds":1786162277,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf916a88"} 
[2026-08-08 09:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 09:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257540096001,"66":27876,"90":206,"28":21760,"24":36,"16":374900982233956352,"45":4097220158357125120},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 09:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257540096001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:42:42] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 09:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374900982233956352,"km_value":374900982233956.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097220158357125120,"description":"Unknown IO ID 45"} 
[2026-08-08 09:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257540096001,"power":27876,"unknown_90":206,"unknown_28":21760,"ignition":36,"odometer":null,"unknown_45":4097220158357125120}} 
[2026-08-08 09:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":152885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:42:42] local.INFO: GPS data processed {"connection_id":152885,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:42:42] local.INFO: Acknowledgment sent {"connection_id":152885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:43:14] local.INFO: TCP Data received {"connection_id":152885,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9254e8012d3942c006a9a2b8000a015824..."} 
[2026-08-08 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9254e8012d3942c006a9a2b8000a015824..."} 
[2026-08-08 09:43:14] local.INFO: Processing buffer {"connection_id":152885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9254e8012d3942c006a9a2b8000a015824..."} 
[2026-08-08 09:43:14] local.INFO: Packet analysis {"connection_id":152885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:43:14] local.INFO: Extracted packet for processing {"connection_id":152885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758727360,"raw_latitude":111780536,"longitude_deg":75.872736,"latitude_deg":11.1780536,"altitude":10,"angle":344,"satellites":36,"speed":39,"hex_longitude":"2d3942c0","hex_latitude":"06a9a2b8","is_valid_coordinates":true} 
[2026-08-08 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374903039523291136,"note":"Value kept but may cause issues"} 
[2026-08-08 09:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4128745355749658624,"note":"Value kept but may cause issues"} 
[2026-08-08 09:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786162337000,"timestamp_ms":1786162337000,"timestamp_seconds":1786162337,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9254e8"} 
[2026-08-08 09:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 09:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257555712001,"66":27974,"90":206,"28":21760,"24":39,"16":374903039523291136,"45":4128745355749658624},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 09:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374903039523291136,"km_value":374903039523291.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4128745355749658624,"description":"Unknown IO ID 45"} 
[2026-08-08 09:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257555712001,"power":27974,"unknown_90":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":4128745355749658624}} 
[2026-08-08 09:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":152885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:43:14] local.INFO: GPS data processed {"connection_id":152885,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:43:14] local.INFO: Acknowledgment sent {"connection_id":152885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:43:34] local.INFO: TCP Data received {"connection_id":150174,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:34] local.INFO: Processing buffer {"connection_id":150174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:34] local.INFO: IMEI packet received {"connection_id":150174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":150174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:43:36] local.INFO: TCP Data received {"connection_id":150174,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:36] local.INFO: Processing buffer {"connection_id":150174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:36] local.INFO: IMEI packet received {"connection_id":150174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":150174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:43:41] local.INFO: TCP Data received {"connection_id":150174,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:41] local.INFO: Processing buffer {"connection_id":150174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:43:41] local.INFO: IMEI packet received {"connection_id":150174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":150174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:43:42] local.INFO: TCP Data received {"connection_id":150174,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf927810012d39398006a9c600000901592c..."} 
[2026-08-08 09:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf927810012d39398006a9c600000901592c..."} 
[2026-08-08 09:43:42] local.INFO: Processing buffer {"connection_id":150174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf927810012d39398006a9c600000901592c..."} 
[2026-08-08 09:43:42] local.INFO: Packet analysis {"connection_id":150174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:43:42] local.INFO: Extracted packet for processing {"connection_id":150174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758724992,"raw_latitude":111789568,"longitude_deg":75.8724992,"latitude_deg":11.1789568,"altitude":9,"angle":345,"satellites":44,"speed":42,"hex_longitude":"2d393980","hex_latitude":"06a9c600","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257558272001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374903490494857216,"note":"Value kept but may cause issues"} 
[2026-08-08 09:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4126071343473145856,"note":"Value kept but may cause issues"} 
[2026-08-08 09:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162346000,"timestamp_ms":1786162346000,"timestamp_seconds":1786162346,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf927810"} 
[2026-08-08 09:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 09:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257558272001,"66":27332,"90":206,"28":21760,"24":42,"16":374903490494857216,"45":4126071343473145856},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 09:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257558272001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:43:42] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 09:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374903490494857216,"km_value":374903490494857.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4126071343473145856,"description":"Unknown IO ID 45"} 
[2026-08-08 09:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257558272001,"power":27332,"unknown_90":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":4126071343473145856}} 
[2026-08-08 09:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":150174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:43:42] local.INFO: GPS data processed {"connection_id":150174,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:43:42] local.INFO: Acknowledgment sent {"connection_id":150174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:44:14] local.INFO: TCP Data received {"connection_id":150174,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf929b38012d3930c006a9e848000a01592c..."} 
[2026-08-08 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf929b38012d3930c006a9e848000a01592c..."} 
[2026-08-08 09:44:14] local.INFO: Processing buffer {"connection_id":150174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf929b38012d3930c006a9e848000a01592c..."} 
[2026-08-08 09:44:14] local.INFO: Packet analysis {"connection_id":150174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:44:14] local.INFO: Extracted packet for processing {"connection_id":150174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758722752,"raw_latitude":111798344,"longitude_deg":75.8722752,"latitude_deg":11.1798344,"altitude":10,"angle":345,"satellites":44,"speed":27,"hex_longitude":"2d3930c0","hex_latitude":"06a9e848","is_valid_coordinates":true} 
[2026-08-08 09:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257560576001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374903928581521408,"note":"Value kept but may cause issues"} 
[2026-08-08 09:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123467699940884480,"note":"Value kept but may cause issues"} 
[2026-08-08 09:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786162355000,"timestamp_ms":1786162355000,"timestamp_seconds":1786162355,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf929b38"} 
[2026-08-08 09:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 09:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257560576001,"66":27180,"90":206,"28":21760,"24":27,"16":374903928581521408,"45":4123467699940884480},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 09:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257560576001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:44:14] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 09:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374903928581521408,"km_value":374903928581521.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123467699940884480,"description":"Unknown IO ID 45"} 
[2026-08-08 09:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257560576001,"power":27180,"unknown_90":206,"unknown_28":21760,"ignition":27,"odometer":null,"unknown_45":4123467699940884480}} 
[2026-08-08 09:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":150174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:44:14] local.INFO: GPS data processed {"connection_id":150174,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:44:14] local.INFO: Acknowledgment sent {"connection_id":150174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:44:36] local.INFO: TCP Data received {"connection_id":150175,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:44:36] local.INFO: Processing buffer {"connection_id":150175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:44:36] local.INFO: IMEI packet received {"connection_id":150175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":150175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:44:41] local.INFO: TCP Data received {"connection_id":150175,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:44:41] local.INFO: Processing buffer {"connection_id":150175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:44:41] local.INFO: IMEI packet received {"connection_id":150175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":150175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:44:42] local.INFO: TCP Data received {"connection_id":150175,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf92ed40012d392ec006a9ef80000b01582d..."} 
[2026-08-08 09:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf92ed40012d392ec006a9ef80000b01582d..."} 
[2026-08-08 09:44:42] local.INFO: Processing buffer {"connection_id":150175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf92ed40012d392ec006a9ef80000b01582d..."} 
[2026-08-08 09:44:42] local.INFO: Packet analysis {"connection_id":150175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:44:42] local.INFO: Extracted packet for processing {"connection_id":150175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf92"} 
[2026-08-08 09:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758722240,"raw_latitude":111800192,"longitude_deg":75.872224,"latitude_deg":11.1800192,"altitude":11,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d392ec0","hex_latitude":"06a9ef80","is_valid_coordinates":true} 
[2026-08-08 09:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257562880001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374904023070801920,"note":"Value kept but may cause issues"} 
[2026-08-08 09:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4121004793896912896,"note":"Value kept but may cause issues"} 
[2026-08-08 09:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162376000,"timestamp_ms":1786162376000,"timestamp_seconds":1786162376,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf92ed40"} 
[2026-08-08 09:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 09:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257562880001,"66":27919,"90":206,"28":21760,"24":0,"16":374904023070801920,"45":4121004793896912896},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-08 09:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257562880001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:44:42] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 09:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374904023070801920,"km_value":374904023070801.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4121004793896912896,"description":"Unknown IO ID 45"} 
[2026-08-08 09:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257562880001,"power":27919,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4121004793896912896}} 
[2026-08-08 09:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":150175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:44:42] local.INFO: GPS data processed {"connection_id":150175,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:44:42] local.INFO: Acknowledgment sent {"connection_id":150175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:45:14] local.INFO: TCP Data received {"connection_id":150175,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf933f48012d392e0006a9f188000b01542b..."} 
[2026-08-08 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf933f48012d392e0006a9f188000b01542b..."} 
[2026-08-08 09:45:14] local.INFO: Processing buffer {"connection_id":150175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf933f48012d392e0006a9f188000b01542b..."} 
[2026-08-08 09:45:14] local.INFO: Packet analysis {"connection_id":150175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf93"} 
[2026-08-08 09:45:14] local.INFO: Extracted packet for processing {"connection_id":150175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf93"} 
[2026-08-08 09:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758722048,"raw_latitude":111800712,"longitude_deg":75.8722048,"latitude_deg":11.1800712,"altitude":11,"angle":340,"satellites":43,"speed":6,"hex_longitude":"2d392e00","hex_latitude":"06a9f188","is_valid_coordinates":true} 
[2026-08-08 09:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257568256001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374904053135572992,"note":"Value kept but may cause issues"} 
[2026-08-08 09:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120441843943964672,"note":"Value kept but may cause issues"} 
[2026-08-08 09:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786162397000,"timestamp_ms":1786162397000,"timestamp_seconds":1786162397,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf933f48"} 
[2026-08-08 09:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257568256001,"66":27995,"185":206,"28":21760,"24":6,"16":374904053135572992,"45":4120441843943964672},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 09:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257568256001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:45:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 09:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374904053135572992,"km_value":374904053135573.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120441843943964672,"description":"Unknown IO ID 45"} 
[2026-08-08 09:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257568256001,"power":27995,"unknown_185":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":4120441843943964672}} 
[2026-08-08 09:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":150175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:45:14] local.INFO: GPS data processed {"connection_id":150175,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:45:14] local.INFO: Acknowledgment sent {"connection_id":150175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:45:35] local.INFO: TCP Data received {"connection_id":150445,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:35] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:35] local.INFO: IMEI packet received {"connection_id":150445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":150445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:45:36] local.INFO: TCP Data received {"connection_id":150445,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:36] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:36] local.INFO: IMEI packet received {"connection_id":150445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":150445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:45:42] local.INFO: TCP Data received {"connection_id":150445,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:42] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:45:42] local.INFO: IMEI packet received {"connection_id":150445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":150445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:45:44] local.INFO: TCP Data received {"connection_id":150445,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf937210012d39294006aa0258000d01602b..."} 
[2026-08-08 09:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf937210012d39294006aa0258000d01602b..."} 
[2026-08-08 09:45:44] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf937210012d39294006aa0258000d01602b..."} 
[2026-08-08 09:45:44] local.INFO: Packet analysis {"connection_id":150445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf93"} 
[2026-08-08 09:45:44] local.INFO: Extracted packet for processing {"connection_id":150445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf93"} 
[2026-08-08 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758720832,"raw_latitude":111805016,"longitude_deg":75.8720832,"latitude_deg":11.1805016,"altitude":13,"angle":352,"satellites":43,"speed":17,"hex_longitude":"2d392940","hex_latitude":"06aa0258","is_valid_coordinates":true} 
[2026-08-08 09:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257573632001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374904267883937792,"note":"Value kept but may cause issues"} 
[2026-08-08 09:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120230737711564800,"note":"Value kept but may cause issues"} 
[2026-08-08 09:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786162410000,"timestamp_ms":1786162410000,"timestamp_seconds":1786162410,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf937210"} 
[2026-08-08 09:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 09:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257573632001,"66":27865,"185":206,"28":21760,"24":17,"16":374904267883937792,"45":4120230737711564800},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 09:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257573632001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:45:44] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 09:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374904267883937792,"km_value":374904267883937.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120230737711564800,"description":"Unknown IO ID 45"} 
[2026-08-08 09:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257573632001,"power":27865,"unknown_185":206,"unknown_28":21760,"ignition":17,"odometer":null,"unknown_45":4120230737711564800}} 
[2026-08-08 09:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":150445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:45:44] local.INFO: GPS data processed {"connection_id":150445,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:45:44] local.INFO: Acknowledgment sent {"connection_id":150445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:46:15] local.INFO: TCP Data received {"connection_id":150445,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9517f0012d38b10006abd168000b01582c..."} 
[2026-08-08 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9517f0012d38b10006abd168000b01582c..."} 
[2026-08-08 09:46:15] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9517f0012d38b10006abd168000b01582c..."} 
[2026-08-08 09:46:15] local.INFO: Packet analysis {"connection_id":150445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf95"} 
[2026-08-08 09:46:15] local.INFO: Extracted packet for processing {"connection_id":150445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf95"} 
[2026-08-08 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758690048,"raw_latitude":111923560,"longitude_deg":75.8690048,"latitude_deg":11.192356,"altitude":11,"angle":344,"satellites":44,"speed":55,"hex_longitude":"2d38b100","hex_latitude":"06abd168","is_valid_coordinates":true} 
[2026-08-08 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257602816001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374910203528740864,"note":"Value kept but may cause issues"} 
[2026-08-08 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4087579640442189824,"note":"Value kept but may cause issues"} 
[2026-08-08 09:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786162518000,"timestamp_ms":1786162518000,"timestamp_seconds":1786162518,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9517f0"} 
[2026-08-08 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09: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-08-08 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257602816001,"66":27908,"196":206,"28":21760,"24":55,"16":374910203528740864,"45":4087579640442189824},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-08-08 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257602816001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:46:15] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 09:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374910203528740864,"km_value":374910203528740.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4087579640442189824,"description":"Unknown IO ID 45"} 
[2026-08-08 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257602816001,"power":27908,"unknown_196":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":4087579640442189824}} 
[2026-08-08 09:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":150445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:46:15] local.INFO: GPS data processed {"connection_id":150445,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:46:15] local.INFO: Acknowledgment sent {"connection_id":150445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:46:36] local.INFO: TCP Data received {"connection_id":152886,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:36] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:36] local.INFO: IMEI packet received {"connection_id":152886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":152886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:46:38] local.INFO: TCP Data received {"connection_id":152886,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:38] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:38] local.INFO: IMEI packet received {"connection_id":152886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":152886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:46:41] local.INFO: TCP Data received {"connection_id":152886,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:41] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:46:41] local.INFO: IMEI packet received {"connection_id":152886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":152886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:46:42] local.INFO: TCP Data received {"connection_id":152886,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf953348012d38a70006abf6a8000a01592d..."} 
[2026-08-08 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf953348012d38a70006abf6a8000a01592d..."} 
[2026-08-08 09:46:42] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf953348012d38a70006abf6a8000a01592d..."} 
[2026-08-08 09:46:42] local.INFO: Packet analysis {"connection_id":152886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf95"} 
[2026-08-08 09:46:42] local.INFO: Extracted packet for processing {"connection_id":152886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf95"} 
[2026-08-08 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758687488,"raw_latitude":111933096,"longitude_deg":75.8687488,"latitude_deg":11.1933096,"altitude":10,"angle":345,"satellites":45,"speed":56,"hex_longitude":"2d38a700","hex_latitude":"06abf6a8","is_valid_coordinates":true} 
[2026-08-08 09:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257604608001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374910680270110720,"note":"Value kept but may cause issues"} 
[2026-08-08 09:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4085046365654181888,"note":"Value kept but may cause issues"} 
[2026-08-08 09:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162525000,"timestamp_ms":1786162525000,"timestamp_seconds":1786162525,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf953348"} 
[2026-08-08 09:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257604608001,"66":27919,"196":206,"28":21760,"24":56,"16":374910680270110720,"45":4085046365654181888},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-08-08 09:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257604608001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:46:42] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 09:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374910680270110720,"km_value":374910680270110.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4085046365654181888,"description":"Unknown IO ID 45"} 
[2026-08-08 09:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257604608001,"power":27919,"unknown_196":206,"unknown_28":21760,"ignition":56,"odometer":null,"unknown_45":4085046365654181888}} 
[2026-08-08 09:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":152886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:46:42] local.INFO: GPS data processed {"connection_id":152886,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:46:42] local.INFO: Acknowledgment sent {"connection_id":152886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:47:57] local.INFO: TCP Data received {"connection_id":152886,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf954ea0012d389d8006ac1ad0000a01582c..."} 
[2026-08-08 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf954ea0012d389d8006ac1ad0000a01582c..."} 
[2026-08-08 09:47:57] local.INFO: Processing buffer {"connection_id":152886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf954ea0012d389d8006ac1ad0000a01582c..."} 
[2026-08-08 09:47:57] local.INFO: Packet analysis {"connection_id":152886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf95"} 
[2026-08-08 09:47:57] local.INFO: Extracted packet for processing {"connection_id":152886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf95"} 
[2026-08-08 09:47:57] local.INFO: GPS Element Parsed {"raw_longitude":758685056,"raw_latitude":111942352,"longitude_deg":75.8685056,"latitude_deg":11.1942352,"altitude":10,"angle":344,"satellites":44,"speed":52,"hex_longitude":"2d389d80","hex_latitude":"06ac1ad0","is_valid_coordinates":true} 
[2026-08-08 09:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257606400001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374911144126578688,"note":"Value kept but may cause issues"} 
[2026-08-08 09:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4082231615889516544,"note":"Value kept but may cause issues"} 
[2026-08-08 09:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786162532000,"timestamp_ms":1786162532000,"timestamp_seconds":1786162532,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf954ea0"} 
[2026-08-08 09:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":152886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":152886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257606400001,"66":27930,"196":206,"28":21760,"24":52,"16":374911144126578688,"45":4082231615889516544},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-08-08 09:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257606400001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:47:57] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 09:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374911144126578688,"km_value":374911144126578.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4082231615889516544,"description":"Unknown IO ID 45"} 
[2026-08-08 09:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257606400001,"power":27930,"unknown_196":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":4082231615889516544}} 
[2026-08-08 09:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":152886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:47:57] local.INFO: GPS data processed {"connection_id":152886,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:47:57] local.INFO: Acknowledgment sent {"connection_id":152886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:48:14] local.INFO: TCP Data received {"connection_id":150176,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:14] local.INFO: Processing buffer {"connection_id":150176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:14] local.INFO: IMEI packet received {"connection_id":150176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":150176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:48:16] local.INFO: TCP Data received {"connection_id":150176,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:16] local.INFO: Processing buffer {"connection_id":150176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:16] local.INFO: IMEI packet received {"connection_id":150176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":150176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:48:55] local.INFO: TCP Data received {"connection_id":150446,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:55] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:55] local.INFO: IMEI packet received {"connection_id":150446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":150446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:48:57] local.INFO: TCP Data received {"connection_id":150446,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:57] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:48:57] local.INFO: IMEI packet received {"connection_id":150446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":150446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:48:58] local.INFO: TCP Data received {"connection_id":150446,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf978508012d37578006aed608001001462d..."} 
[2026-08-08 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf978508012d37578006aed608001001462d..."} 
[2026-08-08 09:48:58] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf978508012d37578006aed608001001462d..."} 
[2026-08-08 09:48:58] local.INFO: Packet analysis {"connection_id":150446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf97"} 
[2026-08-08 09:48:58] local.INFO: Extracted packet for processing {"connection_id":150446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf97"} 
[2026-08-08 09:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758601600,"raw_latitude":112121352,"longitude_deg":75.86016,"latitude_deg":11.2121352,"altitude":16,"angle":326,"satellites":45,"speed":53,"hex_longitude":"2d375780","hex_latitude":"06aed608","is_valid_coordinates":true} 
[2026-08-08 09:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257643520001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374920790623125504,"note":"Value kept but may cause issues"} 
[2026-08-08 09:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993566998271784960,"note":"Value kept but may cause issues"} 
[2026-08-08 09:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786162677000,"timestamp_ms":1786162677000,"timestamp_seconds":1786162677,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf978508"} 
[2026-08-08 09:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 09:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257643520001,"66":27919,"181":206,"28":21760,"24":53,"16":374920790623125504,"45":3993566998271784960},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-08 09:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257643520001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:48:58] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-08 09:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374920790623125504,"km_value":374920790623125.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993566998271784960,"description":"Unknown IO ID 45"} 
[2026-08-08 09:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257643520001,"power":27919,"unknown_181":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3993566998271784960}} 
[2026-08-08 09:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":150446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:48:58] local.INFO: GPS data processed {"connection_id":150446,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:48:58] local.INFO: Acknowledgment sent {"connection_id":150446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:48:59] local.INFO: TCP Data received {"connection_id":150446,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf97a060012d37448006aef420001201482d..."} 
[2026-08-08 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf97a060012d37448006aef420001201482d..."} 
[2026-08-08 09:48:59] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf97a060012d37448006aef420001201482d..."} 
[2026-08-08 09:48:59] local.INFO: Packet analysis {"connection_id":150446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf97"} 
[2026-08-08 09:48:59] local.INFO: Extracted packet for processing {"connection_id":150446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf97"} 
[2026-08-08 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758596736,"raw_latitude":112129056,"longitude_deg":75.8596736,"latitude_deg":11.2129056,"altitude":18,"angle":328,"satellites":45,"speed":50,"hex_longitude":"2d374480","hex_latitude":"06aef420","is_valid_coordinates":true} 
[2026-08-08 09:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257645312001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374921228709789696,"note":"Value kept but may cause issues"} 
[2026-08-08 09:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3987796761251284992,"note":"Value kept but may cause issues"} 
[2026-08-08 09:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786162684000,"timestamp_ms":1786162684000,"timestamp_seconds":1786162684,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf97a060"} 
[2026-08-08 09:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":150446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":150446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":150446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257645312001,"66":27821,"181":206,"28":21760,"24":50,"16":374921228709789696,"45":3987796761251284992},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-08 09:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257645312001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374921228709789696,"km_value":374921228709789.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3987796761251284992,"description":"Unknown IO ID 45"} 
[2026-08-08 09:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257645312001,"power":27821,"unknown_181":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3987796761251284992}} 
[2026-08-08 09:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":150446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:48:59] local.INFO: GPS data processed {"connection_id":150446,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:48:59] local.INFO: Acknowledgment sent {"connection_id":150446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:49:35] local.INFO: TCP Data received {"connection_id":151411,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:35] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:35] local.INFO: IMEI packet received {"connection_id":151411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":151411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:49:38] local.INFO: TCP Data received {"connection_id":151411,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:38] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:38] local.INFO: IMEI packet received {"connection_id":151411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":151411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:49:42] local.INFO: TCP Data received {"connection_id":151411,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:42] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:49:42] local.INFO: IMEI packet received {"connection_id":151411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":151411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:49:51] local.INFO: TCP Data received {"connection_id":151411,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf97bfa0012d37304006af16200013014a2d..."} 
[2026-08-08 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf97bfa0012d37304006af16200013014a2d..."} 
[2026-08-08 09:49:51] local.INFO: Processing buffer {"connection_id":151411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf97bfa0012d37304006af16200013014a2d..."} 
[2026-08-08 09:49:51] local.INFO: Packet analysis {"connection_id":151411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf97"} 
[2026-08-08 09:49:51] local.INFO: Extracted packet for processing {"connection_id":151411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf97"} 
[2026-08-08 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758591552,"raw_latitude":112137760,"longitude_deg":75.8591552,"latitude_deg":11.213776,"altitude":19,"angle":330,"satellites":45,"speed":49,"hex_longitude":"2d373040","hex_latitude":"06af1620","is_valid_coordinates":true} 
[2026-08-08 09:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257647104001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374921718336061440,"note":"Value kept but may cause issues"} 
[2026-08-08 09:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3982448736695754752,"note":"Value kept but may cause issues"} 
[2026-08-08 09:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786162692000,"timestamp_ms":1786162692000,"timestamp_seconds":1786162692,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf97bfa0"} 
[2026-08-08 09:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 09:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257647104001,"66":28006,"180":206,"28":21760,"24":49,"16":374921718336061440,"45":3982448736695754752},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-08 09:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257647104001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:49:51] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 09:49:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374921718336061440,"km_value":374921718336061.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3982448736695754752,"description":"Unknown IO ID 45"} 
[2026-08-08 09:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257647104001,"power":28006,"unknown_180":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3982448736695754752}} 
[2026-08-08 09:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":151411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:49:51] local.INFO: GPS data processed {"connection_id":151411,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:49:51] local.INFO: Acknowledgment sent {"connection_id":151411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:50:36] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:36] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:36] local.INFO: IMEI packet received {"connection_id":150447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:50:41] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:41] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:41] local.INFO: IMEI packet received {"connection_id":150447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":150447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:50:41] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:41] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:50:41] local.INFO: IMEI packet received {"connection_id":150447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":150447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:50:42] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf98e880012d36844006b08b10001001502d..."} 
[2026-08-08 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf98e880012d36844006b08b10001001502d..."} 
[2026-08-08 09:50:42] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf98e880012d36844006b08b10001001502d..."} 
[2026-08-08 09:50:42] local.INFO: Packet analysis {"connection_id":150447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf98"} 
[2026-08-08 09:50:42] local.INFO: Extracted packet for processing {"connection_id":150447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf98"} 
[2026-08-08 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758547520,"raw_latitude":112233232,"longitude_deg":75.854752,"latitude_deg":11.2233232,"altitude":16,"angle":336,"satellites":45,"speed":55,"hex_longitude":"2d368440","hex_latitude":"06b08b10","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257666816001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374926799282372608,"note":"Value kept but may cause issues"} 
[2026-08-08 09:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3932768403330772992,"note":"Value kept but may cause issues"} 
[2026-08-08 09:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162768000,"timestamp_ms":1786162768000,"timestamp_seconds":1786162768,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf98e880"} 
[2026-08-08 09:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 09:50: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-08-08 09: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-08-08 09:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257666816001,"66":27908,"180":206,"28":21760,"24":55,"16":374926799282372608,"45":3932768403330772992},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-08 09:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257666816001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:50:42] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 09:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374926799282372608,"km_value":374926799282372.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3932768403330772992,"description":"Unknown IO ID 45"} 
[2026-08-08 09:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257666816001,"power":27908,"unknown_180":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3932768403330772992}} 
[2026-08-08 09:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":150447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:50:42] local.INFO: GPS data processed {"connection_id":150447,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:50:42] local.INFO: Acknowledgment sent {"connection_id":150447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:50:47] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9903d8012d3674c006b0af30000e01512d..."} 
[2026-08-08 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9903d8012d3674c006b0af30000e01512d..."} 
[2026-08-08 09:50:47] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9903d8012d3674c006b0af30000e01512d..."} 
[2026-08-08 09:50:47] local.INFO: Packet analysis {"connection_id":150447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:50:47] local.INFO: Extracted packet for processing {"connection_id":150447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758543552,"raw_latitude":112242480,"longitude_deg":75.8543552,"latitude_deg":11.224248,"altitude":14,"angle":337,"satellites":45,"speed":58,"hex_longitude":"2d3674c0","hex_latitude":"06b0af30","is_valid_coordinates":true} 
[2026-08-08 09:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257668608001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374927288908644352,"note":"Value kept but may cause issues"} 
[2026-08-08 09:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3928335172449800192,"note":"Value kept but may cause issues"} 
[2026-08-08 09:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786162775000,"timestamp_ms":1786162775000,"timestamp_seconds":1786162775,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9903d8"} 
[2026-08-08 09:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09: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-08-08 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257668608001,"66":27930,"180":206,"28":21760,"24":58,"16":374927288908644352,"45":3928335172449800192},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-08 09:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257668608001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:50:47] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 09:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374927288908644352,"km_value":374927288908644.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3928335172449800192,"description":"Unknown IO ID 45"} 
[2026-08-08 09:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257668608001,"power":27930,"unknown_180":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3928335172449800192}} 
[2026-08-08 09:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":150447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:50:47] local.INFO: GPS data processed {"connection_id":150447,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:50:47] local.INFO: Acknowledgment sent {"connection_id":150447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:51:18] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf991b48012d3666c006b0cf78000d01512c..."} 
[2026-08-08 09:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf991b48012d3666c006b0cf78000d01512c..."} 
[2026-08-08 09:51:18] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf991b48012d3666c006b0cf78000d01512c..."} 
[2026-08-08 09:51:18] local.INFO: Packet analysis {"connection_id":150447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:51:18] local.INFO: Extracted packet for processing {"connection_id":150447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758539968,"raw_latitude":112250744,"longitude_deg":75.8539968,"latitude_deg":11.2250744,"altitude":13,"angle":337,"satellites":44,"speed":59,"hex_longitude":"2d3666c0","hex_latitude":"06b0cf78","is_valid_coordinates":true} 
[2026-08-08 09:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257670400001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374927722700341248,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3923972310313152512,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786162781000,"timestamp_ms":1786162781000,"timestamp_seconds":1786162781,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf991b48"} 
[2026-08-08 09:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 09:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257670400001,"66":27919,"180":206,"28":21760,"24":59,"16":374927722700341248,"45":3923972310313152512},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-08 09:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257670400001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:51:18] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 09:51:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374927722700341248,"km_value":374927722700341.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3923972310313152512,"description":"Unknown IO ID 45"} 
[2026-08-08 09:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257670400001,"power":27919,"unknown_180":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3923972310313152512}} 
[2026-08-08 09:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":150447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:51:18] local.INFO: GPS data processed {"connection_id":150447,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:51:18] local.INFO: Acknowledgment sent {"connection_id":150447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:51:41] local.INFO: TCP Data received {"connection_id":152887,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:51:41] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:51:41] local.INFO: IMEI packet received {"connection_id":152887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":152887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:51:42] local.INFO: TCP Data received {"connection_id":152887,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:51:42] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:51:42] local.INFO: IMEI packet received {"connection_id":152887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":152887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:51:44] local.INFO: TCP Data received {"connection_id":152887,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9936a0012d36570006b0f478000c01512c..."} 
[2026-08-08 09:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9936a0012d36570006b0f478000c01512c..."} 
[2026-08-08 09:51:44] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9936a0012d36570006b0f478000c01512c..."} 
[2026-08-08 09:51:44] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:51:44] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758535936,"raw_latitude":112260216,"longitude_deg":75.8535936,"latitude_deg":11.2260216,"altitude":12,"angle":337,"satellites":44,"speed":57,"hex_longitude":"2d365700","hex_latitude":"06b0f478","is_valid_coordinates":true} 
[2026-08-08 09:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257671936001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374928220916547584,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3920031660641318912,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786162788000,"timestamp_ms":1786162788000,"timestamp_seconds":1786162788,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9936a0"} 
[2026-08-08 09:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257671936001,"66":27919,"180":206,"28":21760,"24":57,"16":374928220916547584,"45":3920031660641318912},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-08 09:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257671936001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:51:44] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 09:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374928220916547584,"km_value":374928220916547.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3920031660641318912,"description":"Unknown IO ID 45"} 
[2026-08-08 09:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257671936001,"power":27919,"unknown_180":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3920031660641318912}} 
[2026-08-08 09:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:51:44] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:51:44] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:51:46] local.INFO: TCP Data received {"connection_id":152887,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9951f8012d36478006b11818000c01512b..."} 
[2026-08-08 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9951f8012d36478006b11818000c01512b..."} 
[2026-08-08 09:51:46] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9951f8012d36478006b11818000c01512b..."} 
[2026-08-08 09:51:46] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:51:46] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf99"} 
[2026-08-08 09:51:46] local.INFO: GPS Element Parsed {"raw_longitude":758531968,"raw_latitude":112269336,"longitude_deg":75.8531968,"latitude_deg":11.2269336,"altitude":12,"angle":337,"satellites":43,"speed":55,"hex_longitude":"2d364780","hex_latitude":"06b11818","is_valid_coordinates":true} 
[2026-08-08 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257673728001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374928701952884736,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915598429760550912,"note":"Value kept but may cause issues"} 
[2026-08-08 09:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786162795000,"timestamp_ms":1786162795000,"timestamp_seconds":1786162795,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9951f8"} 
[2026-08-08 09:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 09:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257673728001,"66":27908,"180":206,"28":21760,"24":55,"16":374928701952884736,"45":3915598429760550912},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-08 09:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257673728001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:51:46] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 09:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374928701952884736,"km_value":374928701952884.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915598429760550912,"description":"Unknown IO ID 45"} 
[2026-08-08 09:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257673728001,"power":27908,"unknown_180":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3915598429760550912}} 
[2026-08-08 09:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:51:46] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:51:46] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:52:18] local.INFO: TCP Data received {"connection_id":152887,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9a9630012d3535c006b24c80000a012f2d..."} 
[2026-08-08 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9a9630012d3535c006b24c80000a012f2d..."} 
[2026-08-08 09:52:18] local.INFO: Processing buffer {"connection_id":152887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9a9630012d3535c006b24c80000a012f2d..."} 
[2026-08-08 09:52:18] local.INFO: Packet analysis {"connection_id":152887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:52:18] local.INFO: Extracted packet for processing {"connection_id":152887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758461888,"raw_latitude":112348288,"longitude_deg":75.8461888,"latitude_deg":11.2348288,"altitude":10,"angle":303,"satellites":45,"speed":51,"hex_longitude":"2d3535c0","hex_latitude":"06b24c80","is_valid_coordinates":true} 
[2026-08-08 09:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257694976001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374933989057626112,"note":"Value kept but may cause issues"} 
[2026-08-08 09:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3842696410813765632,"note":"Value kept but may cause issues"} 
[2026-08-08 09:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786162878000,"timestamp_ms":1786162878000,"timestamp_seconds":1786162878,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9a9630"} 
[2026-08-08 09:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 09:52: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-08-08 09:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257694976001,"66":27876,"182":206,"28":21760,"24":51,"16":374933989057626112,"45":3842696410813765632},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257694976001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374933989057626112,"km_value":374933989057626.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3842696410813765632,"description":"Unknown IO ID 45"} 
[2026-08-08 09:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257694976001,"power":27876,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3842696410813765632}} 
[2026-08-08 09:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":152887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:52:18] local.INFO: GPS data processed {"connection_id":152887,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:52:18] local.INFO: Acknowledgment sent {"connection_id":152887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:52:36] local.INFO: TCP Data received {"connection_id":150448,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:52:36] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:52:36] local.INFO: IMEI packet received {"connection_id":150448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":150448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:52:41] local.INFO: TCP Data received {"connection_id":150448,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:52:41] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:52:41] local.INFO: IMEI packet received {"connection_id":150448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":150448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:52:45] local.INFO: TCP Data received {"connection_id":150448,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9ab188012d35174006b25fb0000b012e2d..."} 
[2026-08-08 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9ab188012d35174006b25fb0000b012e2d..."} 
[2026-08-08 09:52:45] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9ab188012d35174006b25fb0000b012e2d..."} 
[2026-08-08 09:52:45] local.INFO: Packet analysis {"connection_id":150448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:52:45] local.INFO: Extracted packet for processing {"connection_id":150448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758454080,"raw_latitude":112353200,"longitude_deg":75.845408,"latitude_deg":11.23532,"altitude":11,"angle":302,"satellites":45,"speed":51,"hex_longitude":"2d351740","hex_latitude":"06b25fb0","is_valid_coordinates":true} 
[2026-08-08 09:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257696768001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374934431439257600,"note":"Value kept but may cause issues"} 
[2026-08-08 09:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3834181792769540096,"note":"Value kept but may cause issues"} 
[2026-08-08 09:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786162885000,"timestamp_ms":1786162885000,"timestamp_seconds":1786162885,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9ab188"} 
[2026-08-08 09:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 09:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257696768001,"66":27800,"182":206,"28":21760,"24":51,"16":374934431439257600,"45":3834181792769540096},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257696768001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:52:45] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:52:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374934431439257600,"km_value":374934431439257.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3834181792769540096,"description":"Unknown IO ID 45"} 
[2026-08-08 09:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257696768001,"power":27800,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3834181792769540096}} 
[2026-08-08 09:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":150448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:52:45] local.INFO: GPS data processed {"connection_id":150448,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:52:45] local.INFO: Acknowledgment sent {"connection_id":150448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:53:18] local.INFO: TCP Data received {"connection_id":150448,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9acce0012d34f90006b27210000c012d2d..."} 
[2026-08-08 09:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9acce0012d34f90006b27210000c012d2d..."} 
[2026-08-08 09:53:18] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9acce0012d34f90006b27210000c012d2d..."} 
[2026-08-08 09:53:18] local.INFO: Packet analysis {"connection_id":150448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:53:18] local.INFO: Extracted packet for processing {"connection_id":150448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758446336,"raw_latitude":112357904,"longitude_deg":75.8446336,"latitude_deg":11.2357904,"altitude":12,"angle":301,"satellites":45,"speed":51,"hex_longitude":"2d34f900","hex_latitude":"06b27210","is_valid_coordinates":true} 
[2026-08-08 09:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257698560001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374934860935987200,"note":"Value kept but may cause issues"} 
[2026-08-08 09:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3825596805981122560,"note":"Value kept but may cause issues"} 
[2026-08-08 09:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786162892000,"timestamp_ms":1786162892000,"timestamp_seconds":1786162892,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9acce0"} 
[2026-08-08 09:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 09:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257698560001,"66":28028,"182":206,"28":21760,"24":51,"16":374934860935987200,"45":3825596805981122560},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257698560001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:53:18] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:53:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374934860935987200,"km_value":374934860935987.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3825596805981122560,"description":"Unknown IO ID 45"} 
[2026-08-08 09:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257698560001,"power":28028,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3825596805981122560}} 
[2026-08-08 09:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":150448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:53:18] local.INFO: GPS data processed {"connection_id":150448,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:53:18] local.INFO: Acknowledgment sent {"connection_id":150448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:53:36] local.INFO: TCP Data received {"connection_id":151412,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:53:36] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:53:36] local.INFO: IMEI packet received {"connection_id":151412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":151412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:53:42] local.INFO: TCP Data received {"connection_id":151412,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:53:42] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:53:42] local.INFO: IMEI packet received {"connection_id":151412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":151412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:53:44] local.INFO: TCP Data received {"connection_id":151412,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9aec20012d34d84006b28730000b012f2d..."} 
[2026-08-08 09:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9aec20012d34d84006b28730000b012f2d..."} 
[2026-08-08 09:53:44] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9aec20012d34d84006b28730000b012f2d..."} 
[2026-08-08 09:53:44] local.INFO: Packet analysis {"connection_id":151412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:53:44] local.INFO: Extracted packet for processing {"connection_id":151412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9a"} 
[2026-08-08 09:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758437952,"raw_latitude":112363312,"longitude_deg":75.8437952,"latitude_deg":11.2363312,"altitude":11,"angle":303,"satellites":45,"speed":49,"hex_longitude":"2d34d840","hex_latitude":"06b28730","is_valid_coordinates":true} 
[2026-08-08 09:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374935337677357056,"note":"Value kept but may cause issues"} 
[2026-08-08 09:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3817082187936829440,"note":"Value kept but may cause issues"} 
[2026-08-08 09:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786162900000,"timestamp_ms":1786162900000,"timestamp_seconds":1786162900,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9aec20"} 
[2026-08-08 09:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 09:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257700352001,"66":28006,"182":206,"28":21760,"24":49,"16":374935337677357056,"45":3817082187936829440},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:53:44] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374935337677357056,"km_value":374935337677357.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3817082187936829440,"description":"Unknown IO ID 45"} 
[2026-08-08 09:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257700352001,"power":28006,"unknown_182":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3817082187936829440}} 
[2026-08-08 09:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":151412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:53:44] local.INFO: GPS data processed {"connection_id":151412,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:53:44] local.INFO: Acknowledgment sent {"connection_id":151412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:54:16] local.INFO: TCP Data received {"connection_id":151412,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9b0b60012d34b9c006b29ad0000a012f2e..."} 
[2026-08-08 09:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9b0b60012d34b9c006b29ad0000a012f2e..."} 
[2026-08-08 09:54:16] local.INFO: Processing buffer {"connection_id":151412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9b0b60012d34b9c006b29ad0000a012f2e..."} 
[2026-08-08 09:54:16] local.INFO: Packet analysis {"connection_id":151412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9b"} 
[2026-08-08 09:54:16] local.INFO: Extracted packet for processing {"connection_id":151412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9b"} 
[2026-08-08 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758430144,"raw_latitude":112368336,"longitude_deg":75.8430144,"latitude_deg":11.2368336,"altitude":10,"angle":303,"satellites":46,"speed":41,"hex_longitude":"2d34b9c0","hex_latitude":"06b29ad0","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257702400001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374935780058988544,"note":"Value kept but may cause issues"} 
[2026-08-08 09:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3807863882450939904,"note":"Value kept but may cause issues"} 
[2026-08-08 09:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786162908000,"timestamp_ms":1786162908000,"timestamp_seconds":1786162908,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9b0b60"} 
[2026-08-08 09:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 09:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257702400001,"66":28006,"182":206,"28":21760,"24":41,"16":374935780058988544,"45":3807863882450939904},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257702400001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:54:16] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:54:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374935780058988544,"km_value":374935780058988.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3807863882450939904,"description":"Unknown IO ID 45"} 
[2026-08-08 09:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257702400001,"power":28006,"unknown_182":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":3807863882450939904}} 
[2026-08-08 09:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":151412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:54:16] local.INFO: GPS data processed {"connection_id":151412,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:54:16] local.INFO: Acknowledgment sent {"connection_id":151412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:54:36] local.INFO: TCP Data received {"connection_id":150449,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:54:36] local.INFO: Processing buffer {"connection_id":150449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:54:36] local.INFO: IMEI packet received {"connection_id":150449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:54:41] local.INFO: TCP Data received {"connection_id":150449,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:54:41] local.INFO: Processing buffer {"connection_id":150449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:54:41] local.INFO: IMEI packet received {"connection_id":150449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":150449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:54:42] local.INFO: TCP Data received {"connection_id":150449,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9b45f8012d349b8006b2adf80009012f2e..."} 
[2026-08-08 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9b45f8012d349b8006b2adf80009012f2e..."} 
[2026-08-08 09:54:42] local.INFO: Processing buffer {"connection_id":150449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9b45f8012d349b8006b2adf80009012f2e..."} 
[2026-08-08 09:54:42] local.INFO: Packet analysis {"connection_id":150449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9b"} 
[2026-08-08 09:54:42] local.INFO: Extracted packet for processing {"connection_id":150449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9b"} 
[2026-08-08 09:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758422400,"raw_latitude":112373240,"longitude_deg":75.84224,"latitude_deg":11.237324,"altitude":9,"angle":303,"satellites":46,"speed":10,"hex_longitude":"2d349b80","hex_latitude":"06b2adf8","is_valid_coordinates":true} 
[2026-08-08 09:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257704448001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374936222440620032,"note":"Value kept but may cause issues"} 
[2026-08-08 09:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799278895662551040,"note":"Value kept but may cause issues"} 
[2026-08-08 09:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786162923000,"timestamp_ms":1786162923000,"timestamp_seconds":1786162923,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9b45f8"} 
[2026-08-08 09:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 09:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257704448001,"66":27821,"182":206,"28":21760,"24":10,"16":374936222440620032,"45":3799278895662551040},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257704448001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:54:42] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374936222440620032,"km_value":374936222440620.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799278895662551040,"description":"Unknown IO ID 45"} 
[2026-08-08 09:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257704448001,"power":27821,"unknown_182":206,"unknown_28":21760,"ignition":10,"odometer":null,"unknown_45":3799278895662551040}} 
[2026-08-08 09:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":150449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:54:42] local.INFO: GPS data processed {"connection_id":150449,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:54:42] local.INFO: Acknowledgment sent {"connection_id":150449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:55:14] local.INFO: TCP Data received {"connection_id":150449,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9b9800012d34938006b2b310000901302e..."} 
[2026-08-08 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9b9800012d34938006b2b310000901302e..."} 
[2026-08-08 09:55:14] local.INFO: Processing buffer {"connection_id":150449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9b9800012d34938006b2b310000901302e..."} 
[2026-08-08 09:55:14] local.INFO: Packet analysis {"connection_id":150449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9b"} 
[2026-08-08 09:55:14] local.INFO: Extracted packet for processing {"connection_id":150449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9b"} 
[2026-08-08 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758420352,"raw_latitude":112374544,"longitude_deg":75.8420352,"latitude_deg":11.2374544,"altitude":9,"angle":304,"satellites":46,"speed":5,"hex_longitude":"2d349380","hex_latitude":"06b2b310","is_valid_coordinates":true} 
[2026-08-08 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257708288001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374936346994671616,"note":"Value kept but may cause issues"} 
[2026-08-08 09:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3790764277618309120,"note":"Value kept but may cause issues"} 
[2026-08-08 09:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786162944000,"timestamp_ms":1786162944000,"timestamp_seconds":1786162944,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9b9800"} 
[2026-08-08 09:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 09:55: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-08-08 09:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257708288001,"66":27745,"182":206,"28":21760,"24":5,"16":374936346994671616,"45":3790764277618309120},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-08 09:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257708288001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:55:14] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-08 09:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374936346994671616,"km_value":374936346994671.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3790764277618309120,"description":"Unknown IO ID 45"} 
[2026-08-08 09:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257708288001,"power":27745,"unknown_182":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3790764277618309120}} 
[2026-08-08 09:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":150449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:55:14] local.INFO: GPS data processed {"connection_id":150449,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:55:14] local.INFO: Acknowledgment sent {"connection_id":150449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:55:35] local.INFO: TCP Data received {"connection_id":152888,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:35] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:35] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:55:36] local.INFO: TCP Data received {"connection_id":152888,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:36] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:36] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:55:40] local.INFO: TCP Data received {"connection_id":152888,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:40] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:55:40] local.INFO: IMEI packet received {"connection_id":152888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":152888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:55:41] local.INFO: TCP Data received {"connection_id":152888,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9da758012d33be4006b36a900010015329..."} 
[2026-08-08 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9da758012d33be4006b36a900010015329..."} 
[2026-08-08 09:55:41] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9da758012d33be4006b36a900010015329..."} 
[2026-08-08 09:55:41] local.INFO: Packet analysis {"connection_id":152888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9d"} 
[2026-08-08 09:55:41] local.INFO: Extracted packet for processing {"connection_id":152888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9d"} 
[2026-08-08 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758365760,"raw_latitude":112421520,"longitude_deg":75.836576,"latitude_deg":11.242152,"altitude":16,"angle":339,"satellites":41,"speed":49,"hex_longitude":"2d33be40","hex_latitude":"06b36a90","is_valid_coordinates":true} 
[2026-08-08 09: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-08-08 09:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257748224001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374939864572887040,"note":"Value kept but may cause issues"} 
[2026-08-08 09:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728487939033436160,"note":"Value kept but may cause issues"} 
[2026-08-08 09:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786163079000,"timestamp_ms":1786163079000,"timestamp_seconds":1786163079,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9da758"} 
[2026-08-08 09:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 09:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09: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-08-08 09:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257748224001,"66":27876,"211":206,"28":21760,"24":49,"16":374939864572887040,"45":3728487939033436160},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 09:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257748224001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:55:41] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 09:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374939864572887040,"km_value":374939864572887.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728487939033436160,"description":"Unknown IO ID 45"} 
[2026-08-08 09:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257748224001,"power":27876,"unknown_211":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3728487939033436160}} 
[2026-08-08 09:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":152888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:55:41] local.INFO: GPS data processed {"connection_id":152888,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:55:41] local.INFO: Acknowledgment sent {"connection_id":152888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:56:14] local.INFO: TCP Data received {"connection_id":152888,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9dc2b0012d33b4c006b38cd80010015e2c..."} 
[2026-08-08 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9dc2b0012d33b4c006b38cd80010015e2c..."} 
[2026-08-08 09:56:14] local.INFO: Processing buffer {"connection_id":152888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9dc2b0012d33b4c006b38cd80010015e2c..."} 
[2026-08-08 09:56:14] local.INFO: Packet analysis {"connection_id":152888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9d"} 
[2026-08-08 09:56:14] local.INFO: Extracted packet for processing {"connection_id":152888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9d"} 
[2026-08-08 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758363328,"raw_latitude":112430296,"longitude_deg":75.8363328,"latitude_deg":11.2430296,"altitude":16,"angle":350,"satellites":44,"speed":53,"hex_longitude":"2d33b4c0","hex_latitude":"06b38cd8","is_valid_coordinates":true} 
[2026-08-08 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257748224001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374940302659551232,"note":"Value kept but may cause issues"} 
[2026-08-08 09:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728487939033436160,"note":"Value kept but may cause issues"} 
[2026-08-08 09:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786163086000,"timestamp_ms":1786163086000,"timestamp_seconds":1786163086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9dc2b0"} 
[2026-08-08 09:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 09:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257748224001,"66":27908,"211":206,"28":21760,"24":53,"16":374940302659551232,"45":3728487939033436160},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 09:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257748224001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:56:14] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 09:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374940302659551232,"km_value":374940302659551.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728487939033436160,"description":"Unknown IO ID 45"} 
[2026-08-08 09:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257748224001,"power":27908,"unknown_211":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3728487939033436160}} 
[2026-08-08 09:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":152888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:56:14] local.INFO: GPS data processed {"connection_id":152888,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:56:14] local.INFO: Acknowledgment sent {"connection_id":152888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:56:36] local.INFO: TCP Data received {"connection_id":150450,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:36] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:36] local.INFO: IMEI packet received {"connection_id":150450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":150450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:56:37] local.INFO: TCP Data received {"connection_id":150450,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:37] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:37] local.INFO: IMEI packet received {"connection_id":150450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":150450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:56:41] local.INFO: TCP Data received {"connection_id":150450,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:41] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:56:41] local.INFO: IMEI packet received {"connection_id":150450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":150450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:56:42] local.INFO: TCP Data received {"connection_id":150450,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9dc2b0012d33b4c006b38cd80010015e2c..."} 
[2026-08-08 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9dc2b0012d33b4c006b38cd80010015e2c..."} 
[2026-08-08 09:56:42] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9dc2b0012d33b4c006b38cd80010015e2c..."} 
[2026-08-08 09:56:42] local.INFO: Packet analysis {"connection_id":150450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9d"} 
[2026-08-08 09:56:42] local.INFO: Extracted packet for processing {"connection_id":150450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9d"} 
[2026-08-08 09:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758363328,"raw_latitude":112430296,"longitude_deg":75.8363328,"latitude_deg":11.2430296,"altitude":16,"angle":350,"satellites":44,"speed":53,"hex_longitude":"2d33b4c0","hex_latitude":"06b38cd8","is_valid_coordinates":true} 
[2026-08-08 09:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257750016001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374940302659551232,"note":"Value kept but may cause issues"} 
[2026-08-08 09:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725813926756931584,"note":"Value kept but may cause issues"} 
[2026-08-08 09:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786163086000,"timestamp_ms":1786163086000,"timestamp_seconds":1786163086,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9dc2b0"} 
[2026-08-08 09:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 09:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257750016001,"66":27908,"211":206,"28":21760,"24":53,"16":374940302659551232,"45":3725813926756931584},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 09:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257750016001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:56:42] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 09:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374940302659551232,"km_value":374940302659551.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725813926756931584,"description":"Unknown IO ID 45"} 
[2026-08-08 09:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257750016001,"power":27908,"unknown_211":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3725813926756931584}} 
[2026-08-08 09:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":150450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:56:42] local.INFO: GPS data processed {"connection_id":150450,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:56:42] local.INFO: Acknowledgment sent {"connection_id":150450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:57:14] local.INFO: TCP Data received {"connection_id":150450,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9f2df8012d3306c006b4b760001201272d..."} 
[2026-08-08 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9f2df8012d3306c006b4b760001201272d..."} 
[2026-08-08 09:57:14] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9f2df8012d3306c006b4b760001201272d..."} 
[2026-08-08 09:57:14] local.INFO: Packet analysis {"connection_id":150450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9f"} 
[2026-08-08 09:57:14] local.INFO: Extracted packet for processing {"connection_id":150450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9f"} 
[2026-08-08 09:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758318784,"raw_latitude":112506720,"longitude_deg":75.8318784,"latitude_deg":11.250672,"altitude":18,"angle":295,"satellites":45,"speed":59,"hex_longitude":"2d3306c0","hex_latitude":"06b4b760","is_valid_coordinates":true} 
[2026-08-08 09:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257772032001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374945078663184384,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3687181486221828096,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786163179000,"timestamp_ms":1786163179000,"timestamp_seconds":1786163179,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9f2df8"} 
[2026-08-08 09:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 09:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257772032001,"66":28050,"211":206,"28":21760,"24":59,"16":374945078663184384,"45":3687181486221828096},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 09:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257772032001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:57:14] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 09:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374945078663184384,"km_value":374945078663184.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3687181486221828096,"description":"Unknown IO ID 45"} 
[2026-08-08 09:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257772032001,"power":28050,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3687181486221828096}} 
[2026-08-08 09:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":150450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:57:14] local.INFO: GPS data processed {"connection_id":150450,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:57:14] local.INFO: Acknowledgment sent {"connection_id":150450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:57:36] local.INFO: TCP Data received {"connection_id":150451,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:36] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:36] local.INFO: IMEI packet received {"connection_id":150451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":150451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:57:40] local.INFO: TCP Data received {"connection_id":150451,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:40] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:40] local.INFO: IMEI packet received {"connection_id":150451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":150451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:57:40] local.INFO: TCP Data received {"connection_id":150451,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:40] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:57:40] local.INFO: IMEI packet received {"connection_id":150451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":150451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:57:44] local.INFO: TCP Data received {"connection_id":150451,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9f4568012d32e64006b4c680001201262e..."} 
[2026-08-08 09:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9f4568012d32e64006b4c680001201262e..."} 
[2026-08-08 09:57:44] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9f4568012d32e64006b4c680001201262e..."} 
[2026-08-08 09:57:44] local.INFO: Packet analysis {"connection_id":150451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9f"} 
[2026-08-08 09:57:44] local.INFO: Extracted packet for processing {"connection_id":150451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9f"} 
[2026-08-08 09:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758310464,"raw_latitude":112510592,"longitude_deg":75.8310464,"latitude_deg":11.2510592,"altitude":18,"angle":294,"satellites":46,"speed":59,"hex_longitude":"2d32e640","hex_latitude":"06b4c680","is_valid_coordinates":true} 
[2026-08-08 09:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257773824001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374945516749848576,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3676837280828841984,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786163185000,"timestamp_ms":1786163185000,"timestamp_seconds":1786163185,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9f4568"} 
[2026-08-08 09:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 09:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 09:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257773824001,"66":27995,"211":206,"28":21760,"24":59,"16":374945516749848576,"45":3676837280828841984},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-08 09:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257773824001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:57:44] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-08 09:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374945516749848576,"km_value":374945516749848.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3676837280828841984,"description":"Unknown IO ID 45"} 
[2026-08-08 09:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257773824001,"power":27995,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3676837280828841984}} 
[2026-08-08 09:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":150451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:57:44] local.INFO: GPS data processed {"connection_id":150451,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:57:44] local.INFO: Acknowledgment sent {"connection_id":150451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:57:56] local.INFO: TCP Data received {"connection_id":150451,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdf9f5cd8012d32c68006b4d568001301272b..."} 
[2026-08-08 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdf9f5cd8012d32c68006b4d568001301272b..."} 
[2026-08-08 09:57:56] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdf9f5cd8012d32c68006b4d568001301272b..."} 
[2026-08-08 09:57:56] local.INFO: Packet analysis {"connection_id":150451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdf9f"} 
[2026-08-08 09:57:56] local.INFO: Extracted packet for processing {"connection_id":150451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdf9f"} 
[2026-08-08 09:57:56] local.INFO: GPS Element Parsed {"raw_longitude":758302336,"raw_latitude":112514408,"longitude_deg":75.8302336,"latitude_deg":11.2514408,"altitude":19,"angle":295,"satellites":43,"speed":58,"hex_longitude":"2d32c680","hex_latitude":"06b4d568","is_valid_coordinates":true} 
[2026-08-08 09:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 09:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257775360001,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374945946246578176,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3667689344086736896,"note":"Value kept but may cause issues"} 
[2026-08-08 09:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 09:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786163191000,"timestamp_ms":1786163191000,"timestamp_seconds":1786163191,"priority":1,"record_length":96,"hex_timestamp":"0000019fdf9f5cd8"} 
[2026-08-08 09:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 09:57: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-08-08 09:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 09:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 09:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 09:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 09:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 09:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 09:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 09:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 09:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 09:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 09:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257775360001,"66":27767,"78":206,"28":21760,"24":58,"16":374945946246578176,"45":3667689344086736896},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-08-08 09:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 09:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 09:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257775360001,"description":"Unknown IO ID 0"} 
[2026-08-08 09:57:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-08 09:57:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-08 09:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374945946246578176,"km_value":374945946246578.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 09:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3667689344086736896,"description":"Unknown IO ID 45"} 
[2026-08-08 09:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257775360001,"power":27767,"unknown_78":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3667689344086736896}} 
[2026-08-08 09:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":150451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 09:57:56] local.INFO: GPS data processed {"connection_id":150451,"processed":1,"errors":0,"total":1} 
[2026-08-08 09:57:56] local.INFO: Acknowledgment sent {"connection_id":150451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 09:58:48] local.INFO: TCP Data received {"connection_id":152889,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:58:48] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:58:48] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 09:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 09:58:49] local.INFO: TCP Data received {"connection_id":152889,"ip":"117.224.227.51","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 09:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 09:58:49] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 09:58:49] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 09:58:50] local.INFO: TCP Data received {"connection_id":152889,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 09:58:50] local.INFO: Processing buffer {"connection_id":152889,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 09:58:50] local.INFO: IMEI packet received {"connection_id":152889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 09:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":152889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:03:50] local.INFO: TCP Data received {"connection_id":151415,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:03:50] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:03:50] local.INFO: IMEI packet received {"connection_id":151415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":151415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:03:52] local.INFO: TCP Data received {"connection_id":151415,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa46200012d2e6c8006b9f1f0001c01502b..."} 
[2026-08-08 10:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa46200012d2e6c8006b9f1f0001c01502b..."} 
[2026-08-08 10:03:52] local.INFO: Processing buffer {"connection_id":151415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa46200012d2e6c8006b9f1f0001c01502b..."} 
[2026-08-08 10:03:52] local.INFO: Packet analysis {"connection_id":151415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa4"} 
[2026-08-08 10:03:52] local.INFO: Extracted packet for processing {"connection_id":151415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa4"} 
[2026-08-08 10:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758017152,"raw_latitude":112849392,"longitude_deg":75.8017152,"latitude_deg":11.2849392,"altitude":28,"angle":336,"satellites":43,"speed":37,"hex_longitude":"2d2e6c80","hex_latitude":"06b9f1f0","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257858560001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374968327321157632,"note":"Value kept but may cause issues"} 
[2026-08-08 10:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3349481882999902208,"note":"Value kept but may cause issues"} 
[2026-08-08 10:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786163520000,"timestamp_ms":1786163520000,"timestamp_seconds":1786163520,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa46200"} 
[2026-08-08 10:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257858560001,"66":28104,"38":206,"2":57088,"24":37,"16":374968327321157632,"45":3349481882999902208},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-08-08 10:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257858560001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:03:52] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 10:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374968327321157632,"km_value":374968327321157.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3349481882999902208,"description":"Unknown IO ID 45"} 
[2026-08-08 10:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257858560001,"power":28104,"unknown_38":206,"power_alt":57088,"ignition":37,"odometer":null,"unknown_45":3349481882999902208}} 
[2026-08-08 10:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":151415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:03:52] local.INFO: GPS data processed {"connection_id":151415,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:03:52] local.INFO: Acknowledgment sent {"connection_id":151415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:04:50] local.INFO: TCP Data received {"connection_id":152891,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:50] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:50] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:04:51] local.INFO: TCP Data received {"connection_id":152891,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:51] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:51] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:04:56] local.INFO: TCP Data received {"connection_id":152891,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:56] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:04:56] local.INFO: IMEI packet received {"connection_id":152891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":152891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:04:58] local.INFO: TCP Data received {"connection_id":152891,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa5b9c0012d2da54006bba9a0001001472a..."} 
[2026-08-08 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa5b9c0012d2da54006bba9a0001001472a..."} 
[2026-08-08 10:04:58] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa5b9c0012d2da54006bba9a0001001472a..."} 
[2026-08-08 10:04:58] local.INFO: Packet analysis {"connection_id":152891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa5"} 
[2026-08-08 10:04:58] local.INFO: Extracted packet for processing {"connection_id":152891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa5"} 
[2026-08-08 10:04:58] local.INFO: GPS Element Parsed {"raw_longitude":757966144,"raw_latitude":112961952,"longitude_deg":75.7966144,"latitude_deg":11.2961952,"altitude":16,"angle":327,"satellites":42,"speed":59,"hex_longitude":"2d2da540","hex_latitude":"06bba9a0","is_valid_coordinates":true} 
[2026-08-08 10:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257882112001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374974301620666368,"note":"Value kept but may cause issues"} 
[2026-08-08 10:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3293679468895936512,"note":"Value kept but may cause issues"} 
[2026-08-08 10:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786163608000,"timestamp_ms":1786163608000,"timestamp_seconds":1786163608,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa5b9c0"} 
[2026-08-08 10:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":152891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":152891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":152891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257882112001,"66":27974,"192":206,"2":57088,"24":59,"16":374974301620666368,"45":3293679468895936512},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 10:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257882112001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:04:58] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 10:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374974301620666368,"km_value":374974301620666.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3293679468895936512,"description":"Unknown IO ID 45"} 
[2026-08-08 10:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257882112001,"power":27974,"unknown_192":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3293679468895936512}} 
[2026-08-08 10:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":152891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:04:58] local.INFO: GPS data processed {"connection_id":152891,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:04:58] local.INFO: Acknowledgment sent {"connection_id":152891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:05:01] local.INFO: TCP Data received {"connection_id":152891,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa5d130012d2d8f8006bbc588000f013e2d..."} 
[2026-08-08 10:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa5d130012d2d8f8006bbc588000f013e2d..."} 
[2026-08-08 10:05:01] local.INFO: Processing buffer {"connection_id":152891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa5d130012d2d8f8006bbc588000f013e2d..."} 
[2026-08-08 10:05:01] local.INFO: Packet analysis {"connection_id":152891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa5"} 
[2026-08-08 10:05:01] local.INFO: Extracted packet for processing {"connection_id":152891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa5"} 
[2026-08-08 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":757960576,"raw_latitude":112969096,"longitude_deg":75.7960576,"latitude_deg":11.2969096,"altitude":15,"angle":318,"satellites":45,"speed":59,"hex_longitude":"2d2d8f80","hex_latitude":"06bbc588","is_valid_coordinates":true} 
[2026-08-08 10:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257883648001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374974739707330560,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3289105500526452736,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786163614000,"timestamp_ms":1786163614000,"timestamp_seconds":1786163614,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa5d130"} 
[2026-08-08 10:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:05: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":70,"data_length":795,"current_offset":136} 
[2026-08-08 10:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":152891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":152891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":152891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257883648001,"66":27908,"192":206,"2":57088,"24":59,"16":374974739707330560,"45":3289105500526452736},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 10:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257883648001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:05:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 10:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374974739707330560,"km_value":374974739707330.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3289105500526452736,"description":"Unknown IO ID 45"} 
[2026-08-08 10:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257883648001,"power":27908,"unknown_192":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3289105500526452736}} 
[2026-08-08 10:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":152891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:05:01] local.INFO: GPS data processed {"connection_id":152891,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:05:01] local.INFO: Acknowledgment sent {"connection_id":152891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:05:36] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:36] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:36] local.INFO: IMEI packet received {"connection_id":151416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":151416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:05:37] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:37] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:37] local.INFO: IMEI packet received {"connection_id":151416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":151416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:05:41] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:41] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:05:41] local.INFO: IMEI packet received {"connection_id":151416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":151416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:05:43] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa6e688012d2c830006bcf9780010013d2b..."} 
[2026-08-08 10:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa6e688012d2c830006bcf9780010013d2b..."} 
[2026-08-08 10:05:43] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa6e688012d2c830006bcf9780010013d2b..."} 
[2026-08-08 10:05:43] local.INFO: Packet analysis {"connection_id":151416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa6"} 
[2026-08-08 10:05:43] local.INFO: Extracted packet for processing {"connection_id":151416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa6"} 
[2026-08-08 10:05:43] local.INFO: GPS Element Parsed {"raw_longitude":757891840,"raw_latitude":113047928,"longitude_deg":75.789184,"latitude_deg":11.3047928,"altitude":16,"angle":317,"satellites":43,"speed":59,"hex_longitude":"2d2c8300","hex_latitude":"06bcf978","is_valid_coordinates":true} 
[2026-08-08 10:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257901824001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374979769114034176,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3214303525485891584,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786163685000,"timestamp_ms":1786163685000,"timestamp_seconds":1786163685,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa6e688"} 
[2026-08-08 10:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257901824001,"66":27343,"244":206,"2":57088,"24":59,"16":374979769114034176,"45":3214303525485891584},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,45]} 
[2026-08-08 10:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257901824001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:05:43] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-08 10:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374979769114034176,"km_value":374979769114034.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3214303525485891584,"description":"Unknown IO ID 45"} 
[2026-08-08 10:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257901824001,"power":27343,"unknown_244":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3214303525485891584}} 
[2026-08-08 10:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":151416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:05:43] local.INFO: GPS data processed {"connection_id":151416,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:05:43] local.INFO: Acknowledgment sent {"connection_id":151416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:05:45] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa701e0012d2c674006bd1730000f013d2c..."} 
[2026-08-08 10:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa701e0012d2c674006bd1730000f013d2c..."} 
[2026-08-08 10:05:45] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa701e0012d2c674006bd1730000f013d2c..."} 
[2026-08-08 10:05:45] local.INFO: Packet analysis {"connection_id":151416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:05:45] local.INFO: Extracted packet for processing {"connection_id":151416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:05:45] local.INFO: GPS Element Parsed {"raw_longitude":757884736,"raw_latitude":113055536,"longitude_deg":75.7884736,"latitude_deg":11.3055536,"altitude":15,"angle":317,"satellites":44,"speed":59,"hex_longitude":"2d2c6740","hex_latitude":"06bd1730","is_valid_coordinates":true} 
[2026-08-08 10:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257903360001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374980267330240512,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3207407388558194688,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786163692000,"timestamp_ms":1786163692000,"timestamp_seconds":1786163692,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa701e0"} 
[2026-08-08 10:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 10:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257903360001,"66":27908,"244":206,"2":57088,"24":59,"16":374980267330240512,"45":3207407388558194688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,45]} 
[2026-08-08 10:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257903360001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:05:45] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-08 10:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374980267330240512,"km_value":374980267330240.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3207407388558194688,"description":"Unknown IO ID 45"} 
[2026-08-08 10:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257903360001,"power":27908,"unknown_244":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3207407388558194688}} 
[2026-08-08 10:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":151416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:05:45] local.INFO: GPS data processed {"connection_id":151416,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:05:45] local.INFO: Acknowledgment sent {"connection_id":151416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:05:46] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa71950012d2c4f8006bd30c00010013c2c..."} 
[2026-08-08 10:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa71950012d2c4f8006bd30c00010013c2c..."} 
[2026-08-08 10:05:46] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa71950012d2c4f8006bd30c00010013c2c..."} 
[2026-08-08 10:05:46] local.INFO: Packet analysis {"connection_id":151416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:05:46] local.INFO: Extracted packet for processing {"connection_id":151416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:05:46] local.INFO: GPS Element Parsed {"raw_longitude":757878656,"raw_latitude":113062080,"longitude_deg":75.7878656,"latitude_deg":11.306208,"altitude":16,"angle":316,"satellites":44,"speed":58,"hex_longitude":"2d2c4f80","hex_latitude":"06bd30c0","is_valid_coordinates":true} 
[2026-08-08 10:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257905152001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374980696826970112,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3199596457956421632,"note":"Value kept but may cause issues"} 
[2026-08-08 10:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786163698000,"timestamp_ms":1786163698000,"timestamp_seconds":1786163698,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa71950"} 
[2026-08-08 10:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257905152001,"66":27843,"243":206,"2":57088,"24":58,"16":374980696826970112,"45":3199596457956421632},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-08 10:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257905152001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:05:46] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 10:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374980696826970112,"km_value":374980696826970.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3199596457956421632,"description":"Unknown IO ID 45"} 
[2026-08-08 10:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257905152001,"power":27843,"unknown_243":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3199596457956421632}} 
[2026-08-08 10:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":151416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:05:46] local.INFO: GPS data processed {"connection_id":151416,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:05:46] local.INFO: Acknowledgment sent {"connection_id":151416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:06:19] local.INFO: TCP Data received {"connection_id":151416,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa734a8012d2c314006bd4c50001001322c..."} 
[2026-08-08 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa734a8012d2c314006bd4c50001001322c..."} 
[2026-08-08 10:06:19] local.INFO: Processing buffer {"connection_id":151416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa734a8012d2c314006bd4c50001001322c..."} 
[2026-08-08 10:06:19] local.INFO: Packet analysis {"connection_id":151416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:06:19] local.INFO: Extracted packet for processing {"connection_id":151416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:06:19] local.INFO: GPS Element Parsed {"raw_longitude":757870912,"raw_latitude":113069136,"longitude_deg":75.7870912,"latitude_deg":11.3069136,"altitude":16,"angle":306,"satellites":44,"speed":58,"hex_longitude":"2d2c3140","hex_latitude":"06bd4c50","is_valid_coordinates":true} 
[2026-08-08 10:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257906688001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374981199338143744,"note":"Value kept but may cause issues"} 
[2026-08-08 10:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3192911427261218816,"note":"Value kept but may cause issues"} 
[2026-08-08 10:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786163705000,"timestamp_ms":1786163705000,"timestamp_seconds":1786163705,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa734a8"} 
[2026-08-08 10:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 10:06: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-08-08 10:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257906688001,"66":27930,"243":206,"2":57088,"24":58,"16":374981199338143744,"45":3192911427261218816},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-08 10:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257906688001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:06:19] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 10:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374981199338143744,"km_value":374981199338143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3192911427261218816,"description":"Unknown IO ID 45"} 
[2026-08-08 10:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257906688001,"power":27930,"unknown_243":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3192911427261218816}} 
[2026-08-08 10:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":151416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:06:19] local.INFO: GPS data processed {"connection_id":151416,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:06:19] local.INFO: Acknowledgment sent {"connection_id":151416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:06:34] local.INFO: TCP Data received {"connection_id":150178,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:34] local.INFO: Processing buffer {"connection_id":150178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:34] local.INFO: IMEI packet received {"connection_id":150178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":150178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:06:35] local.INFO: TCP Data received {"connection_id":150178,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:35] local.INFO: Processing buffer {"connection_id":150178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:35] local.INFO: IMEI packet received {"connection_id":150178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":150178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:06:42] local.INFO: TCP Data received {"connection_id":150178,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:42] local.INFO: Processing buffer {"connection_id":150178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:06:42] local.INFO: IMEI packet received {"connection_id":150178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":150178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:06:44] local.INFO: TCP Data received {"connection_id":150178,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa75000012d2c104006bd63a0001101342b..."} 
[2026-08-08 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa75000012d2c104006bd63a0001101342b..."} 
[2026-08-08 10:06:44] local.INFO: Processing buffer {"connection_id":150178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa75000012d2c104006bd63a0001101342b..."} 
[2026-08-08 10:06:44] local.INFO: Packet analysis {"connection_id":150178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:06:44] local.INFO: Extracted packet for processing {"connection_id":150178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa7"} 
[2026-08-08 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":757862464,"raw_latitude":113075104,"longitude_deg":75.7862464,"latitude_deg":11.3075104,"altitude":17,"angle":308,"satellites":43,"speed":58,"hex_longitude":"2d2c1040","hex_latitude":"06bd63a0","is_valid_coordinates":true} 
[2026-08-08 10:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257908480001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374981697554350080,"note":"Value kept but may cause issues"} 
[2026-08-08 10:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3184396809217527808,"note":"Value kept but may cause issues"} 
[2026-08-08 10:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786163712000,"timestamp_ms":1786163712000,"timestamp_seconds":1786163712,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa75000"} 
[2026-08-08 10:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257908480001,"66":27800,"243":206,"2":57088,"24":58,"16":374981697554350080,"45":3184396809217527808},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-08 10:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257908480001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:06:44] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 10:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374981697554350080,"km_value":374981697554350.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3184396809217527808,"description":"Unknown IO ID 45"} 
[2026-08-08 10:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257908480001,"power":27800,"unknown_243":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3184396809217527808}} 
[2026-08-08 10:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":150178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:06:44] local.INFO: GPS data processed {"connection_id":150178,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:06:44] local.INFO: Acknowledgment sent {"connection_id":150178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:07:20] local.INFO: TCP Data received {"connection_id":150178,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa84de8012d2b1c4006be80f8000b01432e..."} 
[2026-08-08 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa84de8012d2b1c4006be80f8000b01432e..."} 
[2026-08-08 10:07:20] local.INFO: Processing buffer {"connection_id":150178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa84de8012d2b1c4006be80f8000b01432e..."} 
[2026-08-08 10:07:20] local.INFO: Packet analysis {"connection_id":150178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa8"} 
[2026-08-08 10:07:20] local.INFO: Extracted packet for processing {"connection_id":150178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa8"} 
[2026-08-08 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":757800000,"raw_latitude":113148152,"longitude_deg":75.78,"latitude_deg":11.3148152,"altitude":11,"angle":323,"satellites":46,"speed":55,"hex_longitude":"2d2b1c40","hex_latitude":"06be80f8","is_valid_coordinates":true} 
[2026-08-08 10:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257925120001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374986331824062464,"note":"Value kept but may cause issues"} 
[2026-08-08 10:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3112691058918778880,"note":"Value kept but may cause issues"} 
[2026-08-08 10:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786163777000,"timestamp_ms":1786163777000,"timestamp_seconds":1786163777,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa84de8"} 
[2026-08-08 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-08-08 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257925120001,"66":27908,"242":206,"2":57088,"24":55,"16":374986331824062464,"45":3112691058918778880},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-08 10:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257925120001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:07:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 10:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374986331824062464,"km_value":374986331824062.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3112691058918778880,"description":"Unknown IO ID 45"} 
[2026-08-08 10:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257925120001,"power":27908,"unknown_242":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3112691058918778880}} 
[2026-08-08 10:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":150178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:07:20] local.INFO: GPS data processed {"connection_id":150178,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:07:20] local.INFO: Acknowledgment sent {"connection_id":150178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:07:41] local.INFO: TCP Data received {"connection_id":150452,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:07:41] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:07:41] local.INFO: IMEI packet received {"connection_id":150452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:07:45] local.INFO: TCP Data received {"connection_id":150452,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:07:45] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:07:45] local.INFO: IMEI packet received {"connection_id":150452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":150452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:08:12] local.INFO: TCP Data received {"connection_id":150452,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfa86940012d2b044006be9f88000b01432d..."} 
[2026-08-08 10:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfa86940012d2b044006be9f88000b01432d..."} 
[2026-08-08 10:08:12] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfa86940012d2b044006be9f88000b01432d..."} 
[2026-08-08 10:08:12] local.INFO: Packet analysis {"connection_id":150452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfa8"} 
[2026-08-08 10:08:12] local.INFO: Extracted packet for processing {"connection_id":150452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfa8"} 
[2026-08-08 10:08:12] local.INFO: GPS Element Parsed {"raw_longitude":757793856,"raw_latitude":113155976,"longitude_deg":75.7793856,"latitude_deg":11.3155976,"altitude":11,"angle":323,"satellites":45,"speed":57,"hex_longitude":"2d2b0440","hex_latitude":"06be9f88","is_valid_coordinates":true} 
[2026-08-08 10:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457257926912001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":374986808565432320,"note":"Value kept but may cause issues"} 
[2026-08-08 10:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3106428240688904192,"note":"Value kept but may cause issues"} 
[2026-08-08 10:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786163784000,"timestamp_ms":1786163784000,"timestamp_seconds":1786163784,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfa86940"} 
[2026-08-08 10:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457257926912001,"66":27865,"242":206,"2":57088,"24":57,"16":374986808565432320,"45":3106428240688904192},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-08 10:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457257926912001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:08:12] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 10:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":374986808565432320,"km_value":374986808565432.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3106428240688904192,"description":"Unknown IO ID 45"} 
[2026-08-08 10:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457257926912001,"power":27865,"unknown_242":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":3106428240688904192}} 
[2026-08-08 10:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":150452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:08:12] local.INFO: GPS data processed {"connection_id":150452,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:08:12] local.INFO: Acknowledgment sent {"connection_id":150452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:08:41] local.INFO: TCP Data received {"connection_id":151417,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:08:41] local.INFO: Processing buffer {"connection_id":151417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:08:41] local.INFO: IMEI packet received {"connection_id":151417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":151417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:08:51] local.INFO: TCP Data received {"connection_id":151417,"ip":"117.224.227.51","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151417,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:08:51] local.INFO: Processing buffer {"connection_id":151417,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:08:51] local.INFO: IMEI packet received {"connection_id":151417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":151417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:13:51] local.INFO: TCP Data received {"connection_id":152893,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:13:51] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:13:51] local.INFO: IMEI packet received {"connection_id":152893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":152893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:14:00] local.INFO: TCP Data received {"connection_id":152893,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfada130012d26c20006c4ae68000c01432b..."} 
[2026-08-08 10:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfada130012d26c20006c4ae68000c01432b..."} 
[2026-08-08 10:14:00] local.INFO: Processing buffer {"connection_id":152893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfada130012d26c20006c4ae68000c01432b..."} 
[2026-08-08 10:14:00] local.INFO: Packet analysis {"connection_id":152893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfad"} 
[2026-08-08 10:14:00] local.INFO: Extracted packet for processing {"connection_id":152893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfad"} 
[2026-08-08 10:14:00] local.INFO: GPS Element Parsed {"raw_longitude":757514752,"raw_latitude":113553000,"longitude_deg":75.7514752,"latitude_deg":11.3553,"altitude":12,"angle":323,"satellites":43,"speed":58,"hex_longitude":"2d26c200","hex_latitude":"06c4ae68","is_valid_coordinates":true} 
[2026-08-08 10:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258014464001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375010430885560320,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2798705722501421056,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786164126000,"timestamp_ms":1786164126000,"timestamp_seconds":1786164126,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfada130"} 
[2026-08-08 10:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258014464001,"66":27876,"191":206,"2":56576,"24":58,"16":375010430885560320,"45":2798705722501421056},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 10:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258014464001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:14:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 10:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375010430885560320,"km_value":375010430885560.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2798705722501421056,"description":"Unknown IO ID 45"} 
[2026-08-08 10:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258014464001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2798705722501421056}} 
[2026-08-08 10:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":152893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:14:00] local.INFO: GPS data processed {"connection_id":152893,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:14:00] local.INFO: Acknowledgment sent {"connection_id":152893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:14:43] local.INFO: TCP Data received {"connection_id":152894,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:14:43] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:14:43] local.INFO: IMEI packet received {"connection_id":152894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":152894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:14:47] local.INFO: TCP Data received {"connection_id":152894,"ip":"117.224.227.51","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:14:47] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:14:47] local.INFO: IMEI packet received {"connection_id":152894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":152894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:14:48] local.INFO: TCP Data received {"connection_id":152894,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfaed9b0012d259f4006c610e0000d01482c..."} 
[2026-08-08 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfaed9b0012d259f4006c610e0000d01482c..."} 
[2026-08-08 10:14:48] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:14:48] local.INFO: IMEI packet received {"connection_id":152894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":152894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:14:49] local.INFO: TCP Data received {"connection_id":152894,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfaef120012d258d8006c62eb8000c014a2c..."} 
[2026-08-08 10:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfaef120012d258d8006c62eb8000c014a2c..."} 
[2026-08-08 10:14:49] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fdfaed9b0012d259f4006c610e0000d01482c..."} 
[2026-08-08 10:14:49] local.INFO: Packet analysis {"connection_id":152894,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fdfae"} 
[2026-08-08 10:14:49] local.INFO: Extracted packet for processing {"connection_id":152894,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfae"} 
[2026-08-08 10:14:49] local.INFO: GPS Element Parsed {"raw_longitude":757440320,"raw_latitude":113643744,"longitude_deg":75.744032,"latitude_deg":11.3643744,"altitude":13,"angle":328,"satellites":44,"speed":59,"hex_longitude":"2d259f40","hex_latitude":"06c610e0","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258035200001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375016078767554560,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2716233554348707840,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786164206000,"timestamp_ms":1786164206000,"timestamp_seconds":1786164206,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfaed9b0"} 
[2026-08-08 10:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 10:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258035200001,"66":27876,"198":206,"2":56576,"24":59,"16":375016078767554560,"45":2716233554348707840},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258035200001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375016078767554560,"km_value":375016078767554.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2716233554348707840,"description":"Unknown IO ID 45"} 
[2026-08-08 10:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258035200001,"power":27876,"unknown_198":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2716233554348707840}} 
[2026-08-08 10:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":152894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:14:49] local.INFO: GPS data processed {"connection_id":152894,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:14:49] local.INFO: Acknowledgment sent {"connection_id":152894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:14:49] local.INFO: Packet analysis {"connection_id":152894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfae"} 
[2026-08-08 10:14:49] local.INFO: Extracted packet for processing {"connection_id":152894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfae"} 
[2026-08-08 10:14:49] local.INFO: GPS Element Parsed {"raw_longitude":757435776,"raw_latitude":113651384,"longitude_deg":75.7435776,"latitude_deg":11.3651384,"altitude":12,"angle":330,"satellites":44,"speed":58,"hex_longitude":"2d258d80","hex_latitude":"06c62eb8","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258036736001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375016508264284160,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2710955898537304064,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786164212000,"timestamp_ms":1786164212000,"timestamp_seconds":1786164212,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfaef120"} 
[2026-08-08 10:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258036736001,"66":27974,"198":206,"2":56576,"24":58,"16":375016508264284160,"45":2710955898537304064},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258036736001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375016508264284160,"km_value":375016508264284.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2710955898537304064,"description":"Unknown IO ID 45"} 
[2026-08-08 10:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258036736001,"power":27974,"unknown_198":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2710955898537304064}} 
[2026-08-08 10:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":152894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:14:49] local.INFO: GPS data processed {"connection_id":152894,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:14:49] local.INFO: Acknowledgment sent {"connection_id":152894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:14:51] local.INFO: TCP Data received {"connection_id":152894,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfaf0890012d257c8006c64d40000c014b2c..."} 
[2026-08-08 10:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfaf0890012d257c8006c64d40000c014b2c..."} 
[2026-08-08 10:14:51] local.INFO: Processing buffer {"connection_id":152894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfaf0890012d257c8006c64d40000c014b2c..."} 
[2026-08-08 10:14:51] local.INFO: Packet analysis {"connection_id":152894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfaf"} 
[2026-08-08 10:14:51] local.INFO: Extracted packet for processing {"connection_id":152894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfaf"} 
[2026-08-08 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":757431424,"raw_latitude":113659200,"longitude_deg":75.7431424,"latitude_deg":11.36592,"altitude":12,"angle":331,"satellites":44,"speed":59,"hex_longitude":"2d257c80","hex_latitude":"06c64d40","is_valid_coordinates":true} 
[2026-08-08 10:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258038272001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375016942055981056,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2705959717702645760,"note":"Value kept but may cause issues"} 
[2026-08-08 10:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786164218000,"timestamp_ms":1786164218000,"timestamp_seconds":1786164218,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfaf0890"} 
[2026-08-08 10:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 10:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258038272001,"66":27908,"198":206,"2":56576,"24":59,"16":375016942055981056,"45":2705959717702645760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258038272001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:14:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375016942055981056,"km_value":375016942055981.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2705959717702645760,"description":"Unknown IO ID 45"} 
[2026-08-08 10:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258038272001,"power":27908,"unknown_198":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2705959717702645760}} 
[2026-08-08 10:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":152894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:14:51] local.INFO: GPS data processed {"connection_id":152894,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:14:51] local.INFO: Acknowledgment sent {"connection_id":152894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:15:39] local.INFO: TCP Data received {"connection_id":152895,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:39] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:39] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:15:39] local.INFO: TCP Data received {"connection_id":152895,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:39] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:39] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:15:40] local.INFO: TCP Data received {"connection_id":152895,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:40] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:15:40] local.INFO: IMEI packet received {"connection_id":152895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":152895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:15:42] local.INFO: TCP Data received {"connection_id":152895,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfaf2000012d256c0006c66be8000b014b2d..."} 
[2026-08-08 10:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfaf2000012d256c0006c66be8000b014b2d..."} 
[2026-08-08 10:15:42] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfaf2000012d256c0006c66be8000b014b2d..."} 
[2026-08-08 10:15:42] local.INFO: Packet analysis {"connection_id":152895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfaf"} 
[2026-08-08 10:15:42] local.INFO: Extracted packet for processing {"connection_id":152895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfaf"} 
[2026-08-08 10:15:42] local.INFO: GPS Element Parsed {"raw_longitude":757427200,"raw_latitude":113667048,"longitude_deg":75.74272,"latitude_deg":11.3667048,"altitude":11,"angle":331,"satellites":45,"speed":58,"hex_longitude":"2d256c00","hex_latitude":"06c66be8","is_valid_coordinates":true} 
[2026-08-08 10:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258039808001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375017371552710656,"note":"Value kept but may cause issues"} 
[2026-08-08 10:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2701174643100565504,"note":"Value kept but may cause issues"} 
[2026-08-08 10:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164224000,"timestamp_ms":1786164224000,"timestamp_seconds":1786164224,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfaf2000"} 
[2026-08-08 10:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258039808001,"66":27919,"198":206,"2":56576,"24":58,"16":375017371552710656,"45":2701174643100565504},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258039808001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:15:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375017371552710656,"km_value":375017371552710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2701174643100565504,"description":"Unknown IO ID 45"} 
[2026-08-08 10:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258039808001,"power":27919,"unknown_198":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2701174643100565504}} 
[2026-08-08 10:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":152895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:15:42] local.INFO: GPS data processed {"connection_id":152895,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:15:42] local.INFO: Acknowledgment sent {"connection_id":152895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:15:44] local.INFO: TCP Data received {"connection_id":152895,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfaf3770012d255b0006c68a50000b014b2c..."} 
[2026-08-08 10:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfaf3770012d255b0006c68a50000b014b2c..."} 
[2026-08-08 10:15:44] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfaf3770012d255b0006c68a50000b014b2c..."} 
[2026-08-08 10:15:44] local.INFO: Packet analysis {"connection_id":152895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfaf"} 
[2026-08-08 10:15:44] local.INFO: Extracted packet for processing {"connection_id":152895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfaf"} 
[2026-08-08 10:15:44] local.INFO: GPS Element Parsed {"raw_longitude":757422848,"raw_latitude":113674832,"longitude_deg":75.7422848,"latitude_deg":11.3674832,"altitude":11,"angle":331,"satellites":44,"speed":59,"hex_longitude":"2d255b00","hex_latitude":"06c68a50","is_valid_coordinates":true} 
[2026-08-08 10:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258041344001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375017801049440256,"note":"Value kept but may cause issues"} 
[2026-08-08 10:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2696530305986848768,"note":"Value kept but may cause issues"} 
[2026-08-08 10:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786164230000,"timestamp_ms":1786164230000,"timestamp_seconds":1786164230,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfaf3770"} 
[2026-08-08 10:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258041344001,"66":27919,"249":206,"2":56576,"24":59,"16":375017801049440256,"45":2696530305986848768},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 10:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258041344001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:15:44] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 10:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375017801049440256,"km_value":375017801049440.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2696530305986848768,"description":"Unknown IO ID 45"} 
[2026-08-08 10:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258041344001,"power":27919,"unknown_249":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2696530305986848768}} 
[2026-08-08 10:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":152895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:15:44] local.INFO: GPS data processed {"connection_id":152895,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:15:44] local.INFO: Acknowledgment sent {"connection_id":152895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:16:16] local.INFO: TCP Data received {"connection_id":152895,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb08b48012d24bac006c85590000901542d..."} 
[2026-08-08 10:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb08b48012d24bac006c85590000901542d..."} 
[2026-08-08 10:16:16] local.INFO: Processing buffer {"connection_id":152895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb08b48012d24bac006c85590000901542d..."} 
[2026-08-08 10:16:16] local.INFO: Packet analysis {"connection_id":152895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:16:16] local.INFO: Extracted packet for processing {"connection_id":152895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":757381824,"raw_latitude":113792400,"longitude_deg":75.7381824,"latitude_deg":11.37924,"altitude":9,"angle":340,"satellites":45,"speed":59,"hex_longitude":"2d24bac0","hex_latitude":"06c85590","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258063616001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375023887018098688,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2649875828626888704,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786164317000,"timestamp_ms":1786164317000,"timestamp_seconds":1786164317,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb08b48"} 
[2026-08-08 10:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258063616001,"66":27930,"249":206,"2":56576,"24":59,"16":375023887018098688,"45":2649875828626888704},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 10:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258063616001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:16:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 10:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375023887018098688,"km_value":375023887018098.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2649875828626888704,"description":"Unknown IO ID 45"} 
[2026-08-08 10:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258063616001,"power":27930,"unknown_249":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2649875828626888704}} 
[2026-08-08 10:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":152895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:16:16] local.INFO: GPS data processed {"connection_id":152895,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:16:16] local.INFO: Acknowledgment sent {"connection_id":152895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:16:36] local.INFO: TCP Data received {"connection_id":150180,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:36] local.INFO: Processing buffer {"connection_id":150180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:36] local.INFO: IMEI packet received {"connection_id":150180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":150180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:16:37] local.INFO: TCP Data received {"connection_id":150180,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:37] local.INFO: Processing buffer {"connection_id":150180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:37] local.INFO: IMEI packet received {"connection_id":150180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":150180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:16:41] local.INFO: TCP Data received {"connection_id":150180,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:41] local.INFO: Processing buffer {"connection_id":150180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:16:41] local.INFO: IMEI packet received {"connection_id":150180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":150180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:16:42] local.INFO: TCP Data received {"connection_id":150180,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb0a6a0012d24ad8006c879f0000b01532d..."} 
[2026-08-08 10:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb0a6a0012d24ad8006c879f0000b01532d..."} 
[2026-08-08 10:16:42] local.INFO: Processing buffer {"connection_id":150180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb0a6a0012d24ad8006c879f0000b01532d..."} 
[2026-08-08 10:16:42] local.INFO: Packet analysis {"connection_id":150180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:16:42] local.INFO: Extracted packet for processing {"connection_id":150180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:16:42] local.INFO: GPS Element Parsed {"raw_longitude":757378432,"raw_latitude":113801712,"longitude_deg":75.7378432,"latitude_deg":11.3801712,"altitude":11,"angle":339,"satellites":45,"speed":51,"hex_longitude":"2d24ad80","hex_latitude":"06c879f0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258065152001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375024368054435840,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2646638866396975104,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164324000,"timestamp_ms":1786164324000,"timestamp_seconds":1786164324,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb0a6a0"} 
[2026-08-08 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-08-08 10:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258065152001,"66":27919,"249":206,"2":56576,"24":51,"16":375024368054435840,"45":2646638866396975104},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 10:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258065152001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:16:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 10:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375024368054435840,"km_value":375024368054435.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2646638866396975104,"description":"Unknown IO ID 45"} 
[2026-08-08 10:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258065152001,"power":27919,"unknown_249":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2646638866396975104}} 
[2026-08-08 10:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":150180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:16:42] local.INFO: GPS data processed {"connection_id":150180,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:16:42] local.INFO: Acknowledgment sent {"connection_id":150180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:16:45] local.INFO: TCP Data received {"connection_id":150180,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb0c5e0012d24a04006c89da8000d01502e..."} 
[2026-08-08 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb0c5e0012d24a04006c89da8000d01502e..."} 
[2026-08-08 10:16:45] local.INFO: Processing buffer {"connection_id":150180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb0c5e0012d24a04006c89da8000d01502e..."} 
[2026-08-08 10:16:45] local.INFO: Packet analysis {"connection_id":150180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:16:45] local.INFO: Extracted packet for processing {"connection_id":150180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":757375040,"raw_latitude":113810856,"longitude_deg":75.737504,"latitude_deg":11.3810856,"altitude":13,"angle":336,"satellites":46,"speed":46,"hex_longitude":"2d24a040","hex_latitude":"06c89da8","is_valid_coordinates":true} 
[2026-08-08 10:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258066944001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375024840500838400,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2642909322957942784,"note":"Value kept but may cause issues"} 
[2026-08-08 10:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786164332000,"timestamp_ms":1786164332000,"timestamp_seconds":1786164332,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb0c5e0"} 
[2026-08-08 10:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258066944001,"66":27832,"249":206,"2":56576,"24":46,"16":375024840500838400,"45":2642909322957942784},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 10:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258066944001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:16:45] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 10:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375024840500838400,"km_value":375024840500838.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2642909322957942784,"description":"Unknown IO ID 45"} 
[2026-08-08 10:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258066944001,"power":27832,"unknown_249":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2642909322957942784}} 
[2026-08-08 10:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":150180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:16:45] local.INFO: GPS data processed {"connection_id":150180,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:16:45] local.INFO: Acknowledgment sent {"connection_id":150180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:17:17] local.INFO: TCP Data received {"connection_id":150180,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb0e520012d24900006c8bdb8001001462c..."} 
[2026-08-08 10:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb0e520012d24900006c8bdb8001001462c..."} 
[2026-08-08 10:17:17] local.INFO: Processing buffer {"connection_id":150180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb0e520012d24900006c8bdb8001001462c..."} 
[2026-08-08 10:17:17] local.INFO: Packet analysis {"connection_id":150180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:17:17] local.INFO: Extracted packet for processing {"connection_id":150180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb0"} 
[2026-08-08 10:17:17] local.INFO: GPS Element Parsed {"raw_longitude":757370880,"raw_latitude":113819064,"longitude_deg":75.737088,"latitude_deg":11.3819064,"altitude":16,"angle":326,"satellites":44,"speed":44,"hex_longitude":"2d249000","hex_latitude":"06c8bdb8","is_valid_coordinates":true} 
[2026-08-08 10:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258068992001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375025282882469888,"note":"Value kept but may cause issues"} 
[2026-08-08 10:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2639179779518867456,"note":"Value kept but may cause issues"} 
[2026-08-08 10:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786164340000,"timestamp_ms":1786164340000,"timestamp_seconds":1786164340,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb0e520"} 
[2026-08-08 10:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 10:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258068992001,"66":27865,"249":206,"2":56576,"24":44,"16":375025282882469888,"45":2639179779518867456},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-08 10:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258068992001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:17:17] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 10:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375025282882469888,"km_value":375025282882469.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2639179779518867456,"description":"Unknown IO ID 45"} 
[2026-08-08 10:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258068992001,"power":27865,"unknown_249":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":2639179779518867456}} 
[2026-08-08 10:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":150180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:17:17] local.INFO: GPS data processed {"connection_id":150180,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:17:17] local.INFO: Acknowledgment sent {"connection_id":150180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:17:36] local.INFO: TCP Data received {"connection_id":151418,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:36] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:36] local.INFO: IMEI packet received {"connection_id":151418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":151418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:17:37] local.INFO: TCP Data received {"connection_id":151418,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:37] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:37] local.INFO: IMEI packet received {"connection_id":151418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":151418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:17:41] local.INFO: TCP Data received {"connection_id":151418,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:41] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:17:41] local.INFO: IMEI packet received {"connection_id":151418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":151418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:17:43] local.INFO: TCP Data received {"connection_id":151418,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb1f2a8012d23f6c006ca0170000b013f2b..."} 
[2026-08-08 10:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb1f2a8012d23f6c006ca0170000b013f2b..."} 
[2026-08-08 10:17:43] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb1f2a8012d23f6c006ca0170000b013f2b..."} 
[2026-08-08 10:17:43] local.INFO: Packet analysis {"connection_id":151418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb1"} 
[2026-08-08 10:17:43] local.INFO: Extracted packet for processing {"connection_id":151418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb1"} 
[2026-08-08 10:17:43] local.INFO: GPS Element Parsed {"raw_longitude":757331648,"raw_latitude":113901936,"longitude_deg":75.7331648,"latitude_deg":11.3901936,"altitude":11,"angle":319,"satellites":43,"speed":59,"hex_longitude":"2d23f6c0","hex_latitude":"06ca0170","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258087424001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375029788303163392,"note":"Value kept but may cause issues"} 
[2026-08-08 10:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2595973370615529472,"note":"Value kept but may cause issues"} 
[2026-08-08 10:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786164409000,"timestamp_ms":1786164409000,"timestamp_seconds":1786164409,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb1f2a8"} 
[2026-08-08 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-08-08 10:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258087424001,"66":27789,"118":206,"2":56576,"24":59,"16":375029788303163392,"45":2595973370615529472},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 10:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258087424001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:17:43] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 10:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375029788303163392,"km_value":375029788303163.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2595973370615529472,"description":"Unknown IO ID 45"} 
[2026-08-08 10:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258087424001,"power":27789,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2595973370615529472}} 
[2026-08-08 10:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":151418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:17:43] local.INFO: GPS data processed {"connection_id":151418,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:17:43] local.INFO: Acknowledgment sent {"connection_id":151418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:18:14] local.INFO: TCP Data received {"connection_id":151418,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb20248012d23e54006ca1198000b01332d..."} 
[2026-08-08 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb20248012d23e54006ca1198000b01332d..."} 
[2026-08-08 10:18:14] local.INFO: Processing buffer {"connection_id":151418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb20248012d23e54006ca1198000b01332d..."} 
[2026-08-08 10:18:14] local.INFO: Packet analysis {"connection_id":151418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb2"} 
[2026-08-08 10:18:14] local.INFO: Extracted packet for processing {"connection_id":151418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb2"} 
[2026-08-08 10:18:14] local.INFO: GPS Element Parsed {"raw_longitude":757327168,"raw_latitude":113906072,"longitude_deg":75.7327168,"latitude_deg":11.3906072,"altitude":11,"angle":307,"satellites":45,"speed":60,"hex_longitude":"2d23e540","hex_latitude":"06ca1198","is_valid_coordinates":true} 
[2026-08-08 10:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258088704001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375030080360939520,"note":"Value kept but may cause issues"} 
[2026-08-08 10:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2591469770989727744,"note":"Value kept but may cause issues"} 
[2026-08-08 10:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786164413000,"timestamp_ms":1786164413000,"timestamp_seconds":1786164413,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb20248"} 
[2026-08-08 10:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 10:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258088704001,"66":27876,"118":206,"2":56576,"24":60,"16":375030080360939520,"45":2591469770989727744},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 10:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258088704001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:18:14] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 10:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375030080360939520,"km_value":375030080360939.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2591469770989727744,"description":"Unknown IO ID 45"} 
[2026-08-08 10:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258088704001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2591469770989727744}} 
[2026-08-08 10:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":151418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:18:14] local.INFO: GPS data processed {"connection_id":151418,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:18:14] local.INFO: Acknowledgment sent {"connection_id":151418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:18:35] local.INFO: TCP Data received {"connection_id":150181,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:35] local.INFO: Processing buffer {"connection_id":150181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:35] local.INFO: IMEI packet received {"connection_id":150181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":150181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:18:35] local.INFO: TCP Data received {"connection_id":150181,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:35] local.INFO: Processing buffer {"connection_id":150181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:35] local.INFO: IMEI packet received {"connection_id":150181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":150181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:18:41] local.INFO: TCP Data received {"connection_id":150181,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:41] local.INFO: Processing buffer {"connection_id":150181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:18:41] local.INFO: IMEI packet received {"connection_id":150181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":150181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:18:42] local.INFO: TCP Data received {"connection_id":150181,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb215d0012d23cbc006ca20d8000b01262b..."} 
[2026-08-08 10:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb215d0012d23cbc006ca20d8000b01262b..."} 
[2026-08-08 10:18:42] local.INFO: Processing buffer {"connection_id":150181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb215d0012d23cbc006ca20d8000b01262b..."} 
[2026-08-08 10:18:42] local.INFO: Packet analysis {"connection_id":150181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb2"} 
[2026-08-08 10:18:42] local.INFO: Extracted packet for processing {"connection_id":150181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb2"} 
[2026-08-08 10:18:42] local.INFO: GPS Element Parsed {"raw_longitude":757320640,"raw_latitude":113909976,"longitude_deg":75.732064,"latitude_deg":11.3909976,"altitude":11,"angle":294,"satellites":43,"speed":59,"hex_longitude":"2d23cbc0","hex_latitude":"06ca20d8","is_valid_coordinates":true} 
[2026-08-08 10:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258089728001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375030445433159680,"note":"Value kept but may cause issues"} 
[2026-08-08 10:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2586543958898350080,"note":"Value kept but may cause issues"} 
[2026-08-08 10:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164418000,"timestamp_ms":1786164418000,"timestamp_seconds":1786164418,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb215d0"} 
[2026-08-08 10:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:18: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-08-08 10:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258089728001,"66":27908,"118":206,"2":56576,"24":59,"16":375030445433159680,"45":2586543958898350080},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 10:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258089728001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:18:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 10:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375030445433159680,"km_value":375030445433159.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2586543958898350080,"description":"Unknown IO ID 45"} 
[2026-08-08 10:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258089728001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2586543958898350080}} 
[2026-08-08 10:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":150181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:18:42] local.INFO: GPS data processed {"connection_id":150181,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:18:42] local.INFO: Acknowledgment sent {"connection_id":150181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:19:14] local.INFO: TCP Data received {"connection_id":150181,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb37560012d229b8006cb7bc8000701482b..."} 
[2026-08-08 10:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb37560012d229b8006cb7bc8000701482b..."} 
[2026-08-08 10:19:14] local.INFO: Processing buffer {"connection_id":150181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb37560012d229b8006cb7bc8000701482b..."} 
[2026-08-08 10:19:14] local.INFO: Packet analysis {"connection_id":150181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb3"} 
[2026-08-08 10:19:14] local.INFO: Extracted packet for processing {"connection_id":150181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb3"} 
[2026-08-08 10:19:14] local.INFO: GPS Element Parsed {"raw_longitude":757242752,"raw_latitude":113998792,"longitude_deg":75.7242752,"latitude_deg":11.3998792,"altitude":7,"angle":328,"satellites":43,"speed":59,"hex_longitude":"2d229b80","hex_latitude":"06cb7bc8","is_valid_coordinates":true} 
[2026-08-08 10:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258112512001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375036578646458368,"note":"Value kept but may cause issues"} 
[2026-08-08 10:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2498794134930571264,"note":"Value kept but may cause issues"} 
[2026-08-08 10:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786164508000,"timestamp_ms":1786164508000,"timestamp_seconds":1786164508,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb37560"} 
[2026-08-08 10:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258112512001,"66":27865,"120":206,"2":56576,"24":59,"16":375036578646458368,"45":2498794134930571264},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 10:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258112512001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:19:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375036578646458368,"km_value":375036578646458.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2498794134930571264,"description":"Unknown IO ID 45"} 
[2026-08-08 10:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258112512001,"power":27865,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2498794134930571264}} 
[2026-08-08 10:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":150181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:19:14] local.INFO: GPS data processed {"connection_id":150181,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:19:14] local.INFO: Acknowledgment sent {"connection_id":150181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:19:36] local.INFO: TCP Data received {"connection_id":152896,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:36] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:36] local.INFO: IMEI packet received {"connection_id":152896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":152896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:19:39] local.INFO: TCP Data received {"connection_id":152896,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:39] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:39] local.INFO: IMEI packet received {"connection_id":152896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":152896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:19:41] local.INFO: TCP Data received {"connection_id":152896,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:41] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:19:41] local.INFO: IMEI packet received {"connection_id":152896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":152896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:19:43] local.INFO: TCP Data received {"connection_id":152896,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb390b8012d22834006cb9c600007013c2b..."} 
[2026-08-08 10:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb390b8012d22834006cb9c600007013c2b..."} 
[2026-08-08 10:19:43] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb390b8012d22834006cb9c600007013c2b..."} 
[2026-08-08 10:19:43] local.INFO: Packet analysis {"connection_id":152896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb3"} 
[2026-08-08 10:19:43] local.INFO: Extracted packet for processing {"connection_id":152896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb3"} 
[2026-08-08 10:19:43] local.INFO: GPS Element Parsed {"raw_longitude":757236544,"raw_latitude":114007136,"longitude_deg":75.7236544,"latitude_deg":11.4007136,"altitude":7,"angle":316,"satellites":43,"speed":59,"hex_longitude":"2d228340","hex_latitude":"06cb9c60","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258114048001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375037081157632000,"note":"Value kept but may cause issues"} 
[2026-08-08 10:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2493727585351747584,"note":"Value kept but may cause issues"} 
[2026-08-08 10:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786164515000,"timestamp_ms":1786164515000,"timestamp_seconds":1786164515,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb390b8"} 
[2026-08-08 10:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258114048001,"66":27908,"120":206,"2":56576,"24":59,"16":375037081157632000,"45":2493727585351747584},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 10:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258114048001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:19:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375037081157632000,"km_value":375037081157632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2493727585351747584,"description":"Unknown IO ID 45"} 
[2026-08-08 10:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258114048001,"power":27908,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2493727585351747584}} 
[2026-08-08 10:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":152896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:19:43] local.INFO: GPS data processed {"connection_id":152896,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:19:43] local.INFO: Acknowledgment sent {"connection_id":152896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:20:15] local.INFO: TCP Data received {"connection_id":152896,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb390b8012d22834006cb9c600007013c2b..."} 
[2026-08-08 10:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb390b8012d22834006cb9c600007013c2b..."} 
[2026-08-08 10:20:15] local.INFO: Processing buffer {"connection_id":152896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb390b8012d22834006cb9c600007013c2b..."} 
[2026-08-08 10:20:15] local.INFO: Packet analysis {"connection_id":152896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb3"} 
[2026-08-08 10:20:15] local.INFO: Extracted packet for processing {"connection_id":152896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb3"} 
[2026-08-08 10:20:15] local.INFO: GPS Element Parsed {"raw_longitude":757236544,"raw_latitude":114007136,"longitude_deg":75.7236544,"latitude_deg":11.4007136,"altitude":7,"angle":316,"satellites":43,"speed":59,"hex_longitude":"2d228340","hex_latitude":"06cb9c60","is_valid_coordinates":true} 
[2026-08-08 10:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258115840001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375037081157632000,"note":"Value kept but may cause issues"} 
[2026-08-08 10:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2486901817168650240,"note":"Value kept but may cause issues"} 
[2026-08-08 10:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786164515000,"timestamp_ms":1786164515000,"timestamp_seconds":1786164515,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb390b8"} 
[2026-08-08 10:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258115840001,"66":27908,"120":206,"2":56576,"24":59,"16":375037081157632000,"45":2486901817168650240},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-08 10:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258115840001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:20:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375037081157632000,"km_value":375037081157632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2486901817168650240,"description":"Unknown IO ID 45"} 
[2026-08-08 10:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258115840001,"power":27908,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2486901817168650240}} 
[2026-08-08 10:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":152896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:20:15] local.INFO: GPS data processed {"connection_id":152896,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:20:15] local.INFO: Acknowledgment sent {"connection_id":152896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:20:35] local.INFO: TCP Data received {"connection_id":151419,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:20:35] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:20:35] local.INFO: IMEI packet received {"connection_id":151419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":151419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:20:41] local.INFO: TCP Data received {"connection_id":151419,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:20:41] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:20:41] local.INFO: IMEI packet received {"connection_id":151419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:20:42] local.INFO: TCP Data received {"connection_id":151419,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb48ea0012d21c00006cccfa80007015f2e..."} 
[2026-08-08 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb48ea0012d21c00006cccfa80007015f2e..."} 
[2026-08-08 10:20:42] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb48ea0012d21c00006cccfa80007015f2e..."} 
[2026-08-08 10:20:42] local.INFO: Packet analysis {"connection_id":151419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb4"} 
[2026-08-08 10:20:42] local.INFO: Extracted packet for processing {"connection_id":151419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb4"} 
[2026-08-08 10:20:42] local.INFO: GPS Element Parsed {"raw_longitude":757186560,"raw_latitude":114085800,"longitude_deg":75.718656,"latitude_deg":11.40858,"altitude":7,"angle":351,"satellites":46,"speed":56,"hex_longitude":"2d21c000","hex_latitude":"06cccfa8","is_valid_coordinates":true} 
[2026-08-08 10:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258130688001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375041693952507904,"note":"Value kept but may cause issues"} 
[2026-08-08 10:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433491940355461120,"note":"Value kept but may cause issues"} 
[2026-08-08 10:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164580000,"timestamp_ms":1786164580000,"timestamp_seconds":1786164580,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb48ea0"} 
[2026-08-08 10:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258130688001,"66":27865,"240":206,"2":56576,"24":56,"16":375041693952507904,"45":2433491940355461120},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-08-08 10:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258130688001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:20:42] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-08 10:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375041693952507904,"km_value":375041693952507.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433491940355461120,"description":"Unknown IO ID 45"} 
[2026-08-08 10:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258130688001,"power":27865,"unknown_240":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":2433491940355461120}} 
[2026-08-08 10:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":151419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:20:42] local.INFO: GPS data processed {"connection_id":151419,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:20:42] local.INFO: Acknowledgment sent {"connection_id":151419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:21:15] local.INFO: TCP Data received {"connection_id":151419,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb4a9f8012d21b78006ccf460000801542e..."} 
[2026-08-08 10:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb4a9f8012d21b78006ccf460000801542e..."} 
[2026-08-08 10:21:15] local.INFO: Processing buffer {"connection_id":151419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb4a9f8012d21b78006ccf460000801542e..."} 
[2026-08-08 10:21:15] local.INFO: Packet analysis {"connection_id":151419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb4"} 
[2026-08-08 10:21:15] local.INFO: Extracted packet for processing {"connection_id":151419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb4"} 
[2026-08-08 10:21:15] local.INFO: GPS Element Parsed {"raw_longitude":757184384,"raw_latitude":114095200,"longitude_deg":75.7184384,"latitude_deg":11.40952,"altitude":8,"angle":340,"satellites":46,"speed":54,"hex_longitude":"2d21b780","hex_latitude":"06ccf460","is_valid_coordinates":true} 
[2026-08-08 10:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258132480001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375042162103943168,"note":"Value kept but may cause issues"} 
[2026-08-08 10:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2431943827986032640,"note":"Value kept but may cause issues"} 
[2026-08-08 10:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786164587000,"timestamp_ms":1786164587000,"timestamp_seconds":1786164587,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb4a9f8"} 
[2026-08-08 10:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258132480001,"66":27974,"240":206,"2":56576,"24":54,"16":375042162103943168,"45":2431943827986032640},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-08-08 10:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258132480001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:21:15] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-08 10:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375042162103943168,"km_value":375042162103943.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2431943827986032640,"description":"Unknown IO ID 45"} 
[2026-08-08 10:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258132480001,"power":27974,"unknown_240":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2431943827986032640}} 
[2026-08-08 10:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":151419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:21:15] local.INFO: GPS data processed {"connection_id":151419,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:21:15] local.INFO: Acknowledgment sent {"connection_id":151419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:21:59] local.INFO: TCP Data received {"connection_id":150455,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:21:59] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:21:59] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:22:12] local.INFO: TCP Data received {"connection_id":150455,"ip":"117.224.227.51","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:22:12] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:22:12] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:22:21] local.INFO: TCP Data received {"connection_id":150455,"ip":"117.224.227.51","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:22:21] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:22:21] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:22:27] local.INFO: TCP Data received {"connection_id":150455,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb4c938012d21a84006cd15f8000a014b2c..."} 
[2026-08-08 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb4c938012d21a84006cd15f8000a014b2c..."} 
[2026-08-08 10:22:27] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:22:27] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:22:43] local.INFO: TCP Data received {"connection_id":150182,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:22:43] local.INFO: Processing buffer {"connection_id":150182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:22:43] local.INFO: IMEI packet received {"connection_id":150182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":150182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:22:47] local.INFO: TCP Data received {"connection_id":150182,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:22:47] local.INFO: Processing buffer {"connection_id":150182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:22:47] local.INFO: IMEI packet received {"connection_id":150182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":150182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:22:50] local.INFO: TCP Data received {"connection_id":150182,"ip":"117.224.227.51","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150182,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:22:50] local.INFO: Processing buffer {"connection_id":150182,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:22:50] local.INFO: IMEI packet received {"connection_id":150182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":150182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:22:58] local.INFO: TCP Data received {"connection_id":150182,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb67eb8012d20c60006ce66300007015d2a..."} 
[2026-08-08 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb67eb8012d20c60006ce66300007015d2a..."} 
[2026-08-08 10:22:58] local.INFO: Processing buffer {"connection_id":150182,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fdfb66360012d20cec006ce4378000801542b..."} 
[2026-08-08 10:22:58] local.INFO: Packet analysis {"connection_id":150182,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:22:58] local.INFO: Extracted packet for processing {"connection_id":150182,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":757124800,"raw_latitude":114180984,"longitude_deg":75.71248,"latitude_deg":11.4180984,"altitude":8,"angle":340,"satellites":43,"speed":52,"hex_longitude":"2d20cec0","hex_latitude":"06ce4378","is_valid_coordinates":true} 
[2026-08-08 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258161408001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375047251640188928,"note":"Value kept but may cause issues"} 
[2026-08-08 10:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2368189745783377920,"note":"Value kept but may cause issues"} 
[2026-08-08 10:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786164700000,"timestamp_ms":1786164700000,"timestamp_seconds":1786164700,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb66360"} 
[2026-08-08 10:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 10:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258161408001,"66":27800,"196":206,"2":56576,"24":52,"16":375047251640188928,"45":2368189745783377920},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258161408001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:22:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 10:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375047251640188928,"km_value":375047251640188.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2368189745783377920,"description":"Unknown IO ID 45"} 
[2026-08-08 10:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258161408001,"power":27800,"unknown_196":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":2368189745783377920}} 
[2026-08-08 10:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":150182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:22:58] local.INFO: GPS data processed {"connection_id":150182,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:22:58] local.INFO: Acknowledgment sent {"connection_id":150182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:22:58] local.INFO: Packet analysis {"connection_id":150182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:22:58] local.INFO: Extracted packet for processing {"connection_id":150182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":757122560,"raw_latitude":114189872,"longitude_deg":75.712256,"latitude_deg":11.4189872,"altitude":7,"angle":349,"satellites":42,"speed":49,"hex_longitude":"2d20c600","hex_latitude":"06ce6630","is_valid_coordinates":true} 
[2026-08-08 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258163200001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375047698316787712,"note":"Value kept but may cause issues"} 
[2026-08-08 10:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2364037989878953984,"note":"Value kept but may cause issues"} 
[2026-08-08 10:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786164707000,"timestamp_ms":1786164707000,"timestamp_seconds":1786164707,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb67eb8"} 
[2026-08-08 10:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 10:22: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-08-08 10:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258163200001,"66":28126,"196":206,"2":56576,"24":49,"16":375047698316787712,"45":2364037989878953984},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-08-08 10:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258163200001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:22:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 10:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375047698316787712,"km_value":375047698316787.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2364037989878953984,"description":"Unknown IO ID 45"} 
[2026-08-08 10:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258163200001,"power":28126,"unknown_196":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2364037989878953984}} 
[2026-08-08 10:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":150182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:22:58] local.INFO: GPS data processed {"connection_id":150182,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:22:58] local.INFO: Acknowledgment sent {"connection_id":150182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:23:08] local.INFO: TCP Data received {"connection_id":150182,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb69df8012d20be4006ce8cd80007015c28..."} 
[2026-08-08 10:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb69df8012d20be4006ce8cd80007015c28..."} 
[2026-08-08 10:23:08] local.INFO: Processing buffer {"connection_id":150182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb69df8012d20be4006ce8cd80007015c28..."} 
[2026-08-08 10:23:08] local.INFO: Packet analysis {"connection_id":150182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:23:08] local.INFO: Extracted packet for processing {"connection_id":150182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":757120576,"raw_latitude":114199768,"longitude_deg":75.7120576,"latitude_deg":11.4199768,"altitude":7,"angle":348,"satellites":40,"speed":49,"hex_longitude":"2d20be40","hex_latitude":"06ce8cd8","is_valid_coordinates":true} 
[2026-08-08 10:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258164992001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375048187943059456,"note":"Value kept but may cause issues"} 
[2026-08-08 10:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361575083835011072,"note":"Value kept but may cause issues"} 
[2026-08-08 10:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786164715000,"timestamp_ms":1786164715000,"timestamp_seconds":1786164715,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb69df8"} 
[2026-08-08 10:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-08 10:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258164992001,"66":27821,"196":206,"2":56576,"24":49,"16":375048187943059456,"45":2361575083835011072},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-08-08 10:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258164992001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:23:08] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 10:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375048187943059456,"km_value":375048187943059.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361575083835011072,"description":"Unknown IO ID 45"} 
[2026-08-08 10:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258164992001,"power":27821,"unknown_196":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2361575083835011072}} 
[2026-08-08 10:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":150182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:23:08] local.INFO: GPS data processed {"connection_id":150182,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:23:08] local.INFO: Acknowledgment sent {"connection_id":150182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:23:36] local.INFO: TCP Data received {"connection_id":150456,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:23:36] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:23:36] local.INFO: IMEI packet received {"connection_id":150456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:23:41] local.INFO: TCP Data received {"connection_id":150456,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:23:41] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:23:41] local.INFO: IMEI packet received {"connection_id":150456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:23:45] local.INFO: TCP Data received {"connection_id":150456,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb6bd38012d20b74006ceb0180007015d24..."} 
[2026-08-08 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb6bd38012d20b74006ceb0180007015d24..."} 
[2026-08-08 10:23:45] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb6bd38012d20b74006ceb0180007015d24..."} 
[2026-08-08 10:23:45] local.INFO: Packet analysis {"connection_id":150456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:23:45] local.INFO: Extracted packet for processing {"connection_id":150456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:23:45] local.INFO: GPS Element Parsed {"raw_longitude":757118784,"raw_latitude":114208792,"longitude_deg":75.7118784,"latitude_deg":11.4208792,"altitude":7,"angle":349,"satellites":36,"speed":46,"hex_longitude":"2d20b740","hex_latitude":"06ceb018","is_valid_coordinates":true} 
[2026-08-08 10:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258167040001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375048630324690944,"note":"Value kept but may cause issues"} 
[2026-08-08 10:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2359393652768036864,"note":"Value kept but may cause issues"} 
[2026-08-08 10:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786164723000,"timestamp_ms":1786164723000,"timestamp_seconds":1786164723,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb6bd38"} 
[2026-08-08 10:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":173,"data_length":795,"current_offset":136} 
[2026-08-08 10:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258167040001,"66":27919,"196":206,"2":56576,"24":46,"16":375048630324690944,"45":2359393652768036864},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-08-08 10:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258167040001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:23:45] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 10:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375048630324690944,"km_value":375048630324690.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2359393652768036864,"description":"Unknown IO ID 45"} 
[2026-08-08 10:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258167040001,"power":27919,"unknown_196":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2359393652768036864}} 
[2026-08-08 10:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":150456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:23:45] local.INFO: GPS data processed {"connection_id":150456,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:23:45] local.INFO: Acknowledgment sent {"connection_id":150456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:24:25] local.INFO: TCP Data received {"connection_id":150456,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb6dc78012d20aec006ced4480008015721..."} 
[2026-08-08 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb6dc78012d20aec006ced4480008015721..."} 
[2026-08-08 10:24:25] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb6dc78012d20aec006ced4480008015721..."} 
[2026-08-08 10:24:25] local.INFO: Packet analysis {"connection_id":150456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:24:25] local.INFO: Extracted packet for processing {"connection_id":150456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb6"} 
[2026-08-08 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":757116608,"raw_latitude":114218056,"longitude_deg":75.7116608,"latitude_deg":11.4218056,"altitude":8,"angle":343,"satellites":33,"speed":44,"hex_longitude":"2d20aec0","hex_latitude":"06ced448","is_valid_coordinates":true} 
[2026-08-08 10:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258169088001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375049094181158912,"note":"Value kept but may cause issues"} 
[2026-08-08 10:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357423327933372416,"note":"Value kept but may cause issues"} 
[2026-08-08 10:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786164731000,"timestamp_ms":1786164731000,"timestamp_seconds":1786164731,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb6dc78"} 
[2026-08-08 10:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:24: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-08-08 10:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258169088001,"66":27930,"196":206,"2":56576,"24":44,"16":375049094181158912,"45":2357423327933372416},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-08-08 10:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258169088001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:24:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 10:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375049094181158912,"km_value":375049094181158.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357423327933372416,"description":"Unknown IO ID 45"} 
[2026-08-08 10:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258169088001,"power":27930,"unknown_196":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":2357423327933372416}} 
[2026-08-08 10:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":150456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:24:25] local.INFO: GPS data processed {"connection_id":150456,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:24:25] local.INFO: Acknowledgment sent {"connection_id":150456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:24:35] local.INFO: TCP Data received {"connection_id":150183,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:35] local.INFO: Processing buffer {"connection_id":150183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:35] local.INFO: IMEI packet received {"connection_id":150183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":150183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:24:36] local.INFO: TCP Data received {"connection_id":150183,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:36] local.INFO: Processing buffer {"connection_id":150183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:36] local.INFO: IMEI packet received {"connection_id":150183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":150183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:24:41] local.INFO: TCP Data received {"connection_id":150183,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:41] local.INFO: Processing buffer {"connection_id":150183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:24:41] local.INFO: IMEI packet received {"connection_id":150183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":150183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:24:43] local.INFO: TCP Data received {"connection_id":150183,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb71af8012d20a34006cef2c00008014225..."} 
[2026-08-08 10:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb71af8012d20a34006cef2c00008014225..."} 
[2026-08-08 10:24:43] local.INFO: Processing buffer {"connection_id":150183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb71af8012d20a34006cef2c00008014225..."} 
[2026-08-08 10:24:43] local.INFO: Packet analysis {"connection_id":150183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb7"} 
[2026-08-08 10:24:43] local.INFO: Extracted packet for processing {"connection_id":150183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb7"} 
[2026-08-08 10:24:43] local.INFO: GPS Element Parsed {"raw_longitude":757113664,"raw_latitude":114225856,"longitude_deg":75.7113664,"latitude_deg":11.4225856,"altitude":8,"angle":322,"satellites":37,"speed":10,"hex_longitude":"2d20a340","hex_latitude":"06cef2c0","is_valid_coordinates":true} 
[2026-08-08 10:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258171136001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375049497908084736,"note":"Value kept but may cause issues"} 
[2026-08-08 10:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355030790633703424,"note":"Value kept but may cause issues"} 
[2026-08-08 10:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786164747000,"timestamp_ms":1786164747000,"timestamp_seconds":1786164747,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb71af8"} 
[2026-08-08 10:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258171136001,"66":27626,"196":206,"2":56576,"24":10,"16":375049497908084736,"45":2355030790633703424},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-08-08 10:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258171136001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:24:43] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-08 10:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375049497908084736,"km_value":375049497908084.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355030790633703424,"description":"Unknown IO ID 45"} 
[2026-08-08 10:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258171136001,"power":27626,"unknown_196":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":2355030790633703424}} 
[2026-08-08 10:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":150183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:24:43] local.INFO: GPS data processed {"connection_id":150183,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:24:43] local.INFO: Acknowledgment sent {"connection_id":150183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:25:16] local.INFO: TCP Data received {"connection_id":150183,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb8efb8012d1f6d4006cfa400000c01372c..."} 
[2026-08-08 10:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb8efb8012d1f6d4006cfa400000c01372c..."} 
[2026-08-08 10:25:16] local.INFO: Processing buffer {"connection_id":150183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb8efb8012d1f6d4006cfa400000c01372c..."} 
[2026-08-08 10:25:16] local.INFO: Packet analysis {"connection_id":150183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb8"} 
[2026-08-08 10:25:16] local.INFO: Extracted packet for processing {"connection_id":150183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb8"} 
[2026-08-08 10:25:16] local.INFO: GPS Element Parsed {"raw_longitude":757034304,"raw_latitude":114271232,"longitude_deg":75.7034304,"latitude_deg":11.4271232,"altitude":12,"angle":311,"satellites":44,"speed":41,"hex_longitude":"2d1f6d40","hex_latitude":"06cfa400","is_valid_coordinates":true} 
[2026-08-08 10:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258204928001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375053887364661248,"note":"Value kept but may cause issues"} 
[2026-08-08 10:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2268617972796565504,"note":"Value kept but may cause issues"} 
[2026-08-08 10:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786164867000,"timestamp_ms":1786164867000,"timestamp_seconds":1786164867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb8efb8"} 
[2026-08-08 10:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258204928001,"66":27908,"198":206,"2":56576,"24":41,"16":375053887364661248,"45":2268617972796565504},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258204928001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:25:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375053887364661248,"km_value":375053887364661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2268617972796565504,"description":"Unknown IO ID 45"} 
[2026-08-08 10:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258204928001,"power":27908,"unknown_198":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":2268617972796565504}} 
[2026-08-08 10:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":150183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:25:16] local.INFO: GPS data processed {"connection_id":150183,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:25:16] local.INFO: Acknowledgment sent {"connection_id":150183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:25:36] local.INFO: TCP Data received {"connection_id":150184,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:36] local.INFO: Processing buffer {"connection_id":150184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:36] local.INFO: IMEI packet received {"connection_id":150184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":150184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:25:38] local.INFO: TCP Data received {"connection_id":150184,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:38] local.INFO: Processing buffer {"connection_id":150184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:38] local.INFO: IMEI packet received {"connection_id":150184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":150184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:25:41] local.INFO: TCP Data received {"connection_id":150184,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:41] local.INFO: Processing buffer {"connection_id":150184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:25:41] local.INFO: IMEI packet received {"connection_id":150184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":150184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:25:42] local.INFO: TCP Data received {"connection_id":150184,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb90ef8012d1f560006cfbea0000b01422c..."} 
[2026-08-08 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb90ef8012d1f560006cfbea0000b01422c..."} 
[2026-08-08 10:25:42] local.INFO: Processing buffer {"connection_id":150184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb90ef8012d1f560006cfbea0000b01422c..."} 
[2026-08-08 10:25:42] local.INFO: Packet analysis {"connection_id":150184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:25:42] local.INFO: Extracted packet for processing {"connection_id":150184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":757028352,"raw_latitude":114278048,"longitude_deg":75.7028352,"latitude_deg":11.4278048,"altitude":11,"angle":322,"satellites":44,"speed":46,"hex_longitude":"2d1f5600","hex_latitude":"06cfbea0","is_valid_coordinates":true} 
[2026-08-08 10:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258205952001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375054325451325440,"note":"Value kept but may cause issues"} 
[2026-08-08 10:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2264536585634840576,"note":"Value kept but may cause issues"} 
[2026-08-08 10:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164875000,"timestamp_ms":1786164875000,"timestamp_seconds":1786164875,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb90ef8"} 
[2026-08-08 10:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258205952001,"66":27930,"198":206,"2":56576,"24":46,"16":375054325451325440,"45":2264536585634840576},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258205952001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:25:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375054325451325440,"km_value":375054325451325.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2264536585634840576,"description":"Unknown IO ID 45"} 
[2026-08-08 10:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258205952001,"power":27930,"unknown_198":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2264536585634840576}} 
[2026-08-08 10:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":150184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:25:42] local.INFO: GPS data processed {"connection_id":150184,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:25:42] local.INFO: Acknowledgment sent {"connection_id":150184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:26:14] local.INFO: TCP Data received {"connection_id":150184,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb90ef8012d1f560006cfbea0000b01422c..."} 
[2026-08-08 10:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb90ef8012d1f560006cfbea0000b01422c..."} 
[2026-08-08 10:26:14] local.INFO: Processing buffer {"connection_id":150184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb90ef8012d1f560006cfbea0000b01422c..."} 
[2026-08-08 10:26:14] local.INFO: Packet analysis {"connection_id":150184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:26:14] local.INFO: Extracted packet for processing {"connection_id":150184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:26:14] local.INFO: GPS Element Parsed {"raw_longitude":757028352,"raw_latitude":114278048,"longitude_deg":75.7028352,"latitude_deg":11.4278048,"altitude":11,"angle":322,"satellites":44,"speed":46,"hex_longitude":"2d1f5600","hex_latitude":"06cfbea0","is_valid_coordinates":true} 
[2026-08-08 10:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258208000001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375054325451325440,"note":"Value kept but may cause issues"} 
[2026-08-08 10:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2257992292428062720,"note":"Value kept but may cause issues"} 
[2026-08-08 10:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786164875000,"timestamp_ms":1786164875000,"timestamp_seconds":1786164875,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb90ef8"} 
[2026-08-08 10:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258208000001,"66":27930,"198":206,"2":56576,"24":46,"16":375054325451325440,"45":2257992292428062720},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258208000001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:26:14] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375054325451325440,"km_value":375054325451325.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2257992292428062720,"description":"Unknown IO ID 45"} 
[2026-08-08 10:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258208000001,"power":27930,"unknown_198":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2257992292428062720}} 
[2026-08-08 10:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":150184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:26:14] local.INFO: GPS data processed {"connection_id":150184,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:26:14] local.INFO: Acknowledgment sent {"connection_id":150184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:26:35] local.INFO: TCP Data received {"connection_id":151420,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:26:35] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:26:35] local.INFO: IMEI packet received {"connection_id":151420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":151420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:26:41] local.INFO: TCP Data received {"connection_id":151420,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:26:41] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:26:41] local.INFO: IMEI packet received {"connection_id":151420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":151420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:26:42] local.INFO: TCP Data received {"connection_id":151420,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb92e38012d1f404006cfdc30000b01452a..."} 
[2026-08-08 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb92e38012d1f404006cfdc30000b01452a..."} 
[2026-08-08 10:26:42] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb92e38012d1f404006cfdc30000b01452a..."} 
[2026-08-08 10:26:42] local.INFO: Packet analysis {"connection_id":151420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:26:42] local.INFO: Extracted packet for processing {"connection_id":151420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:26:42] local.INFO: GPS Element Parsed {"raw_longitude":757022784,"raw_latitude":114285616,"longitude_deg":75.7022784,"latitude_deg":11.4285616,"altitude":11,"angle":325,"satellites":42,"speed":37,"hex_longitude":"2d1f4040","hex_latitude":"06cfdc30","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258208000001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375054776422891520,"note":"Value kept but may cause issues"} 
[2026-08-08 10:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2257992292428062720,"note":"Value kept but may cause issues"} 
[2026-08-08 10:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164883000,"timestamp_ms":1786164883000,"timestamp_seconds":1786164883,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb92e38"} 
[2026-08-08 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-08-08 10:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258208000001,"66":27919,"198":206,"2":56576,"24":37,"16":375054776422891520,"45":2257992292428062720},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-08 10:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258208000001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:26:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 10:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375054776422891520,"km_value":375054776422891.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2257992292428062720,"description":"Unknown IO ID 45"} 
[2026-08-08 10:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258208000001,"power":27919,"unknown_198":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2257992292428062720}} 
[2026-08-08 10:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":151420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:26:42] local.INFO: GPS data processed {"connection_id":151420,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:26:42] local.INFO: Acknowledgment sent {"connection_id":151420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:27:15] local.INFO: TCP Data received {"connection_id":151420,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfb970a0012d1f2b8006cffa90000c01452d..."} 
[2026-08-08 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfb970a0012d1f2b8006cffa90000c01452d..."} 
[2026-08-08 10:27:15] local.INFO: Processing buffer {"connection_id":151420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfb970a0012d1f2b8006cffa90000c01452d..."} 
[2026-08-08 10:27:15] local.INFO: Packet analysis {"connection_id":151420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:27:15] local.INFO: Extracted packet for processing {"connection_id":151420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfb9"} 
[2026-08-08 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":757017472,"raw_latitude":114293392,"longitude_deg":75.7017472,"latitude_deg":11.4293392,"altitude":12,"angle":325,"satellites":45,"speed":24,"hex_longitude":"2d1f2b80","hex_latitude":"06cffa90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258210048001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375055231689424896,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2251870211686543360,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786164900000,"timestamp_ms":1786164900000,"timestamp_seconds":1786164900,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfb970a0"} 
[2026-08-08 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-08-08 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258210048001,"66":27767,"78":206,"2":56576,"24":24,"16":375055231689424896,"45":2251870211686543360},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-08-08 10:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258210048001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:27:15] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-08 10:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375055231689424896,"km_value":375055231689424.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2251870211686543360,"description":"Unknown IO ID 45"} 
[2026-08-08 10:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258210048001,"power":27767,"unknown_78":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":2251870211686543360}} 
[2026-08-08 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":151420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:27:15] local.INFO: GPS data processed {"connection_id":151420,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:27:15] local.INFO: Acknowledgment sent {"connection_id":151420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:27:36] local.INFO: TCP Data received {"connection_id":150185,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:36] local.INFO: Processing buffer {"connection_id":150185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:36] local.INFO: IMEI packet received {"connection_id":150185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:27:40] local.INFO: TCP Data received {"connection_id":150185,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:40] local.INFO: Processing buffer {"connection_id":150185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:40] local.INFO: IMEI packet received {"connection_id":150185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":150185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:27:40] local.INFO: TCP Data received {"connection_id":150185,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:40] local.INFO: Processing buffer {"connection_id":150185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:27:40] local.INFO: IMEI packet received {"connection_id":150185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":150185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:27:42] local.INFO: TCP Data received {"connection_id":150185,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbad030012d1e660006d12310000e01452c..."} 
[2026-08-08 10:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbad030012d1e660006d12310000e01452c..."} 
[2026-08-08 10:27:42] local.INFO: Processing buffer {"connection_id":150185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbad030012d1e660006d12310000e01452c..."} 
[2026-08-08 10:27:42] local.INFO: Packet analysis {"connection_id":150185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfba"} 
[2026-08-08 10:27:42] local.INFO: Extracted packet for processing {"connection_id":150185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfba"} 
[2026-08-08 10:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756966912,"raw_latitude":114369296,"longitude_deg":75.6966912,"latitude_deg":11.4369296,"altitude":14,"angle":325,"satellites":44,"speed":52,"hex_longitude":"2d1e6600","hex_latitude":"06d12310","is_valid_coordinates":true} 
[2026-08-08 10:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258235648001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375059629735936000,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2196841853759100928,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786164990000,"timestamp_ms":1786164990000,"timestamp_seconds":1786164990,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbad030"} 
[2026-08-08 10:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 10:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258235648001,"66":27876,"77":206,"2":56576,"24":52,"16":375059629735936000,"45":2196841853759100928},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 10:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258235648001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:27:42] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 10:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375059629735936000,"km_value":375059629735936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2196841853759100928,"description":"Unknown IO ID 45"} 
[2026-08-08 10:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258235648001,"power":27876,"unknown_77":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":2196841853759100928}} 
[2026-08-08 10:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":150185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:27:42] local.INFO: GPS data processed {"connection_id":150185,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:27:42] local.INFO: Acknowledgment sent {"connection_id":150185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:27:47] local.INFO: TCP Data received {"connection_id":150185,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbaef70012d1e500006d141f0000e01452b..."} 
[2026-08-08 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbaef70012d1e500006d141f0000e01452b..."} 
[2026-08-08 10:27:47] local.INFO: Processing buffer {"connection_id":150185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbaef70012d1e500006d141f0000e01452b..."} 
[2026-08-08 10:27:47] local.INFO: Packet analysis {"connection_id":150185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfba"} 
[2026-08-08 10:27:47] local.INFO: Extracted packet for processing {"connection_id":150185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfba"} 
[2026-08-08 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756961280,"raw_latitude":114377200,"longitude_deg":75.696128,"latitude_deg":11.43772,"altitude":14,"angle":325,"satellites":43,"speed":43,"hex_longitude":"2d1e5000","hex_latitude":"06d141f0","is_valid_coordinates":true} 
[2026-08-08 10:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258237440001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375060097887371264,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190438298040864768,"note":"Value kept but may cause issues"} 
[2026-08-08 10:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786164998000,"timestamp_ms":1786164998000,"timestamp_seconds":1786164998,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbaef70"} 
[2026-08-08 10:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258237440001,"66":27919,"77":206,"2":56576,"24":43,"16":375060097887371264,"45":2190438298040864768},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 10:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258237440001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:27:47] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 10:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375060097887371264,"km_value":375060097887371.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2190438298040864768,"description":"Unknown IO ID 45"} 
[2026-08-08 10:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258237440001,"power":27919,"unknown_77":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":2190438298040864768}} 
[2026-08-08 10:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":150185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:27:47] local.INFO: GPS data processed {"connection_id":150185,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:27:47] local.INFO: Acknowledgment sent {"connection_id":150185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:28:19] local.INFO: TCP Data received {"connection_id":150185,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbb2238012d1e3c4006d16010000e01462a..."} 
[2026-08-08 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbb2238012d1e3c4006d16010000e01462a..."} 
[2026-08-08 10:28:19] local.INFO: Processing buffer {"connection_id":150185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbb2238012d1e3c4006d16010000e01462a..."} 
[2026-08-08 10:28:19] local.INFO: Packet analysis {"connection_id":150185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:28:19] local.INFO: Extracted packet for processing {"connection_id":150185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756956224,"raw_latitude":114384912,"longitude_deg":75.6956224,"latitude_deg":11.4384912,"altitude":14,"angle":326,"satellites":42,"speed":19,"hex_longitude":"2d1e3c40","hex_latitude":"06d16010","is_valid_coordinates":true} 
[2026-08-08 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258239488001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375060540269002752,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2184245848555253760,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786165011000,"timestamp_ms":1786165011000,"timestamp_seconds":1786165011,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbb2238"} 
[2026-08-08 10:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258239488001,"66":27865,"77":206,"2":56576,"24":19,"16":375060540269002752,"45":2184245848555253760},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 10:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258239488001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:28:20] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 10:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375060540269002752,"km_value":375060540269002.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2184245848555253760,"description":"Unknown IO ID 45"} 
[2026-08-08 10:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258239488001,"power":27865,"unknown_77":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":2184245848555253760}} 
[2026-08-08 10:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":150185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:28:20] local.INFO: GPS data processed {"connection_id":150185,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:28:20] local.INFO: Acknowledgment sent {"connection_id":150185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:28:41] local.INFO: TCP Data received {"connection_id":152897,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:28:41] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:28:41] local.INFO: IMEI packet received {"connection_id":152897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":152897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:28:46] local.INFO: TCP Data received {"connection_id":152897,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:28:46] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:28:46] local.INFO: IMEI packet received {"connection_id":152897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":152897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:28:48] local.INFO: TCP Data received {"connection_id":152897,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbb4948012d1e344006d16d90000d01522b..."} 
[2026-08-08 10:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbb4948012d1e344006d16d90000d01522b..."} 
[2026-08-08 10:28:48] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbb4948012d1e344006d16d90000d01522b..."} 
[2026-08-08 10:28:48] local.INFO: Packet analysis {"connection_id":152897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:28:48] local.INFO: Extracted packet for processing {"connection_id":152897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756954176,"raw_latitude":114388368,"longitude_deg":75.6954176,"latitude_deg":11.4388368,"altitude":13,"angle":338,"satellites":43,"speed":16,"hex_longitude":"2d1e3440","hex_latitude":"06d16d90","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258242816001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375060737837498368,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2178686717767192576,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786165021000,"timestamp_ms":1786165021000,"timestamp_seconds":1786165021,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbb4948"} 
[2026-08-08 10:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:28: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-08-08 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258242816001,"66":27821,"77":206,"2":56576,"24":16,"16":375060737837498368,"45":2178686717767192576},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 10:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258242816001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:28:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 10:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375060737837498368,"km_value":375060737837498.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2178686717767192576,"description":"Unknown IO ID 45"} 
[2026-08-08 10:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258242816001,"power":27821,"unknown_77":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":2178686717767192576}} 
[2026-08-08 10:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":152897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:28:48] local.INFO: GPS data processed {"connection_id":152897,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:28:48] local.INFO: Acknowledgment sent {"connection_id":152897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:28:50] local.INFO: TCP Data received {"connection_id":152897,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbb8f98012d1e268006d18f60000d015429..."} 
[2026-08-08 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbb8f98012d1e268006d18f60000d015429..."} 
[2026-08-08 10:28:50] local.INFO: Processing buffer {"connection_id":152897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbb8f98012d1e268006d18f60000d015429..."} 
[2026-08-08 10:28:50] local.INFO: Packet analysis {"connection_id":152897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:28:50] local.INFO: Extracted packet for processing {"connection_id":152897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756950656,"raw_latitude":114397024,"longitude_deg":75.6950656,"latitude_deg":11.4397024,"altitude":13,"angle":340,"satellites":41,"speed":18,"hex_longitude":"2d1e2680","hex_latitude":"06d18f60","is_valid_coordinates":true} 
[2026-08-08 10:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258245376001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375061188809064448,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176434917954392064,"note":"Value kept but may cause issues"} 
[2026-08-08 10:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786165039000,"timestamp_ms":1786165039000,"timestamp_seconds":1786165039,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbb8f98"} 
[2026-08-08 10:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:28: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-08-08 10:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 10:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":152897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":152897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258245376001,"66":27876,"77":206,"2":56576,"24":18,"16":375061188809064448,"45":2176434917954392064},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 10:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258245376001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:28:50] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 10:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375061188809064448,"km_value":375061188809064.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2176434917954392064,"description":"Unknown IO ID 45"} 
[2026-08-08 10:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258245376001,"power":27876,"unknown_77":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2176434917954392064}} 
[2026-08-08 10:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":152897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:28:50] local.INFO: GPS data processed {"connection_id":152897,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:28:50] local.INFO: Acknowledgment sent {"connection_id":152897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:29:36] local.INFO: TCP Data received {"connection_id":150186,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:36] local.INFO: Processing buffer {"connection_id":150186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:36] local.INFO: IMEI packet received {"connection_id":150186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:29:37] local.INFO: TCP Data received {"connection_id":150186,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:37] local.INFO: Processing buffer {"connection_id":150186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:37] local.INFO: IMEI packet received {"connection_id":150186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":150186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:29:41] local.INFO: TCP Data received {"connection_id":150186,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:41] local.INFO: Processing buffer {"connection_id":150186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:29:41] local.INFO: IMEI packet received {"connection_id":150186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":150186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:29:42] local.INFO: TCP Data received {"connection_id":150186,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbbc260012d1e1d0006d1a668000d01492c..."} 
[2026-08-08 10:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbbc260012d1e1d0006d1a668000d01492c..."} 
[2026-08-08 10:29:42] local.INFO: Processing buffer {"connection_id":150186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbbc260012d1e1d0006d1a668000d01492c..."} 
[2026-08-08 10:29:42] local.INFO: Packet analysis {"connection_id":150186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:29:42] local.INFO: Extracted packet for processing {"connection_id":150186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbb"} 
[2026-08-08 10:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756948224,"raw_latitude":114402920,"longitude_deg":75.6948224,"latitude_deg":11.440292,"altitude":13,"angle":329,"satellites":44,"speed":23,"hex_longitude":"2d1e1d00","hex_latitude":"06d1a668","is_valid_coordinates":true} 
[2026-08-08 10:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258249984001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375061498046709760,"note":"Value kept but may cause issues"} 
[2026-08-08 10:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172564637026836480,"note":"Value kept but may cause issues"} 
[2026-08-08 10:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786165052000,"timestamp_ms":1786165052000,"timestamp_seconds":1786165052,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbbc260"} 
[2026-08-08 10:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:29: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-08-08 10:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258249984001,"66":27843,"77":206,"2":56576,"24":23,"16":375061498046709760,"45":2172564637026836480},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-08 10:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258249984001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:29:42] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-08 10:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375061498046709760,"km_value":375061498046709.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2172564637026836480,"description":"Unknown IO ID 45"} 
[2026-08-08 10:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258249984001,"power":27843,"unknown_77":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":2172564637026836480}} 
[2026-08-08 10:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":150186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:29:42] local.INFO: GPS data processed {"connection_id":150186,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:29:42] local.INFO: Acknowledgment sent {"connection_id":150186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:30:14] local.INFO: TCP Data received {"connection_id":150186,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbc00e0012d1e074006d1c248000e013f2b..."} 
[2026-08-08 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbc00e0012d1e074006d1c248000e013f2b..."} 
[2026-08-08 10:30:14] local.INFO: Processing buffer {"connection_id":150186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbc00e0012d1e074006d1c248000e013f2b..."} 
[2026-08-08 10:30:14] local.INFO: Packet analysis {"connection_id":150186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:30:14] local.INFO: Extracted packet for processing {"connection_id":150186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756942656,"raw_latitude":114410056,"longitude_deg":75.6942656,"latitude_deg":11.4410056,"altitude":14,"angle":319,"satellites":43,"speed":9,"hex_longitude":"2d1e0740","hex_latitude":"06d1c248","is_valid_coordinates":true} 
[2026-08-08 10:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258253312001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375061936133373952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169890624749594624,"note":"Value kept but may cause issues"} 
[2026-08-08 10:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786165068000,"timestamp_ms":1786165068000,"timestamp_seconds":1786165068,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbc00e0"} 
[2026-08-08 10:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 10:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258253312001,"66":27974,"78":206,"2":56576,"24":9,"16":375061936133373952,"45":2169890624749594624},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-08-08 10:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258253312001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:30:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-08 10:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375061936133373952,"km_value":375061936133373.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2169890624749594624,"description":"Unknown IO ID 45"} 
[2026-08-08 10:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258253312001,"power":27974,"unknown_78":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":2169890624749594624}} 
[2026-08-08 10:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":150186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:30:14] local.INFO: GPS data processed {"connection_id":150186,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:30:14] local.INFO: Acknowledgment sent {"connection_id":150186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:30:36] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:30:36] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:30:36] local.INFO: IMEI packet received {"connection_id":150457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":150457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:30:39] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:30:39] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:30:39] local.INFO: IMEI packet received {"connection_id":150457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":150457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:30:41] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbc52e8012d1dfbc006d1d0c0000f01482b..."} 
[2026-08-08 10:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbc52e8012d1dfbc006d1d0c0000f01482b..."} 
[2026-08-08 10:30:41] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbc52e8012d1dfbc006d1d0c0000f01482b..."} 
[2026-08-08 10:30:41] local.INFO: Packet analysis {"connection_id":150457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:30:41] local.INFO: Extracted packet for processing {"connection_id":150457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756939712,"raw_latitude":114413760,"longitude_deg":75.6939712,"latitude_deg":11.441376,"altitude":15,"angle":328,"satellites":43,"speed":20,"hex_longitude":"2d1dfbc0","hex_latitude":"06d1d0c0","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258257408001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375062172356575232,"note":"Value kept but may cause issues"} 
[2026-08-08 10:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163768544007964672,"note":"Value kept but may cause issues"} 
[2026-08-08 10:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786165089000,"timestamp_ms":1786165089000,"timestamp_seconds":1786165089,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbc52e8"} 
[2026-08-08 10:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 10:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258257408001,"66":27930,"78":206,"2":56576,"24":20,"16":375062172356575232,"45":2163768544007964672},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-08-08 10:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258257408001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:30:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-08 10:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375062172356575232,"km_value":375062172356575.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2163768544007964672,"description":"Unknown IO ID 45"} 
[2026-08-08 10:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258257408001,"power":27930,"unknown_78":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":2163768544007964672}} 
[2026-08-08 10:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":150457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:30:41] local.INFO: GPS data processed {"connection_id":150457,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:30:41] local.INFO: Acknowledgment sent {"connection_id":150457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:31:12] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbc8998012d1de68006d1ef480010013f28..."} 
[2026-08-08 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbc8998012d1de68006d1ef480010013f28..."} 
[2026-08-08 10:31:12] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbc8998012d1de68006d1ef480010013f28..."} 
[2026-08-08 10:31:12] local.INFO: Packet analysis {"connection_id":150457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:31:12] local.INFO: Extracted packet for processing {"connection_id":150457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756934272,"raw_latitude":114421576,"longitude_deg":75.6934272,"latitude_deg":11.4421576,"altitude":16,"angle":319,"satellites":40,"speed":28,"hex_longitude":"2d1de680","hex_latitude":"06d1ef48","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258262784001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375062627623108608,"note":"Value kept but may cause issues"} 
[2026-08-08 10:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2160531581776740352,"note":"Value kept but may cause issues"} 
[2026-08-08 10:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786165103000,"timestamp_ms":1786165103000,"timestamp_seconds":1786165103,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbc8998"} 
[2026-08-08 10:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258262784001,"66":27821,"78":206,"2":56576,"24":28,"16":375062627623108608,"45":2160531581776740352},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-08-08 10:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258262784001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:31:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-08 10:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375062627623108608,"km_value":375062627623108.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2160531581776740352,"description":"Unknown IO ID 45"} 
[2026-08-08 10:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258262784001,"power":27821,"unknown_78":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":2160531581776740352}} 
[2026-08-08 10:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":150457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:31:12] local.INFO: GPS data processed {"connection_id":150457,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:31:12] local.INFO: Acknowledgment sent {"connection_id":150457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:31:36] local.INFO: TCP Data received {"connection_id":151421,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:36] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:36] local.INFO: IMEI packet received {"connection_id":151421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":151421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:31:36] local.INFO: TCP Data received {"connection_id":151421,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:36] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:36] local.INFO: IMEI packet received {"connection_id":151421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":151421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:31:41] local.INFO: TCP Data received {"connection_id":151421,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:41] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:31:41] local.INFO: IMEI packet received {"connection_id":151421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":151421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:31:42] local.INFO: TCP Data received {"connection_id":151421,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbca8d8012d1ddb0006d1f9a80010013329..."} 
[2026-08-08 10:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbca8d8012d1ddb0006d1f9a80010013329..."} 
[2026-08-08 10:31:42] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbca8d8012d1ddb0006d1f9a80010013329..."} 
[2026-08-08 10:31:42] local.INFO: Packet analysis {"connection_id":151421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:31:42] local.INFO: Extracted packet for processing {"connection_id":151421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756931328,"raw_latitude":114424232,"longitude_deg":75.6931328,"latitude_deg":11.4424232,"altitude":16,"angle":307,"satellites":41,"speed":13,"hex_longitude":"2d1ddb00","hex_latitude":"06d1f9a8","is_valid_coordinates":true} 
[2026-08-08 10:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258266368001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375062820896636928,"note":"Value kept but may cause issues"} 
[2026-08-08 10:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154550238523639808,"note":"Value kept but may cause issues"} 
[2026-08-08 10:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786165111000,"timestamp_ms":1786165111000,"timestamp_seconds":1786165111,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbca8d8"} 
[2026-08-08 10:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 10:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258266368001,"66":27593,"79":206,"2":56576,"24":13,"16":375062820896636928,"45":2154550238523639808},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-08 10:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258266368001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:31:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 10:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375062820896636928,"km_value":375062820896636.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2154550238523639808,"description":"Unknown IO ID 45"} 
[2026-08-08 10:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258266368001,"power":27593,"unknown_79":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":2154550238523639808}} 
[2026-08-08 10:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":151421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:31:42] local.INFO: GPS data processed {"connection_id":151421,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:31:42] local.INFO: Acknowledgment sent {"connection_id":151421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:32:14] local.INFO: TCP Data received {"connection_id":151421,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbce758012d1dc00006d21298001201362d..."} 
[2026-08-08 10:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbce758012d1dc00006d21298001201362d..."} 
[2026-08-08 10:32:14] local.INFO: Processing buffer {"connection_id":151421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbce758012d1dc00006d21298001201362d..."} 
[2026-08-08 10:32:14] local.INFO: Packet analysis {"connection_id":151421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:32:14] local.INFO: Extracted packet for processing {"connection_id":151421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbc"} 
[2026-08-08 10:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756924416,"raw_latitude":114430616,"longitude_deg":75.6924416,"latitude_deg":11.4430616,"altitude":18,"angle":310,"satellites":45,"speed":31,"hex_longitude":"2d1dc000","hex_latitude":"06d21298","is_valid_coordinates":true} 
[2026-08-08 10:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258268416001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375063271868203008,"note":"Value kept but may cause issues"} 
[2026-08-08 10:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151313276292147200,"note":"Value kept but may cause issues"} 
[2026-08-08 10:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786165127000,"timestamp_ms":1786165127000,"timestamp_seconds":1786165127,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbce758"} 
[2026-08-08 10:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 10:32:14] 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-08-08 10:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258268416001,"66":27767,"79":206,"2":56576,"24":31,"16":375063271868203008,"45":2151313276292147200},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-08 10:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258268416001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:32:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 10:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375063271868203008,"km_value":375063271868203.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2151313276292147200,"description":"Unknown IO ID 45"} 
[2026-08-08 10:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258268416001,"power":27767,"unknown_79":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":2151313276292147200}} 
[2026-08-08 10:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":151421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:32:14] local.INFO: GPS data processed {"connection_id":151421,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:32:14] local.INFO: Acknowledgment sent {"connection_id":151421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:32:35] local.INFO: TCP Data received {"connection_id":152898,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:32:35] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:32:35] local.INFO: IMEI packet received {"connection_id":152898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":152898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:32:41] local.INFO: TCP Data received {"connection_id":152898,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:32:41] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:32:41] local.INFO: IMEI packet received {"connection_id":152898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":152898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:32:42] local.INFO: TCP Data received {"connection_id":152898,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbf8350012d1d348006d2d820001301542d..."} 
[2026-08-08 10:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbf8350012d1d348006d2d820001301542d..."} 
[2026-08-08 10:32:42] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbf8350012d1d348006d2d820001301542d..."} 
[2026-08-08 10:32:42] local.INFO: Packet analysis {"connection_id":152898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbf"} 
[2026-08-08 10:32:42] local.INFO: Extracted packet for processing {"connection_id":152898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbf"} 
[2026-08-08 10:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756888704,"raw_latitude":114481184,"longitude_deg":75.6888704,"latitude_deg":11.4481184,"altitude":19,"angle":340,"satellites":45,"speed":25,"hex_longitude":"2d1d3480","hex_latitude":"06d2d820","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258316288001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375066317000015872,"note":"Value kept but may cause issues"} 
[2026-08-08 10:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2104447692684402688,"note":"Value kept but may cause issues"} 
[2026-08-08 10:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786165298000,"timestamp_ms":1786165298000,"timestamp_seconds":1786165298,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbf8350"} 
[2026-08-08 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-08-08 10:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 10:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258316288001,"66":27843,"113":206,"2":56576,"24":25,"16":375066317000015872,"45":2104447692684402688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 10:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258316288001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:32:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 10:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375066317000015872,"km_value":375066317000015.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2104447692684402688,"description":"Unknown IO ID 45"} 
[2026-08-08 10:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258316288001,"power":27843,"unknown_113":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":2104447692684402688}} 
[2026-08-08 10:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":152898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:32:42] local.INFO: GPS data processed {"connection_id":152898,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:32:42] local.INFO: Acknowledgment sent {"connection_id":152898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:33:15] local.INFO: TCP Data received {"connection_id":152898,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbfc1d0012d1d260006d2f8f0000f01472d..."} 
[2026-08-08 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbfc1d0012d1d260006d2f8f0000f01472d..."} 
[2026-08-08 10:33:15] local.INFO: Processing buffer {"connection_id":152898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbfc1d0012d1d260006d2f8f0000f01472d..."} 
[2026-08-08 10:33:15] local.INFO: Packet analysis {"connection_id":152898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbf"} 
[2026-08-08 10:33:15] local.INFO: Extracted packet for processing {"connection_id":152898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbf"} 
[2026-08-08 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756884992,"raw_latitude":114489584,"longitude_deg":75.6884992,"latitude_deg":11.4489584,"altitude":15,"angle":327,"satellites":45,"speed":21,"hex_longitude":"2d1d2600","hex_latitude":"06d2f8f0","is_valid_coordinates":true} 
[2026-08-08 10:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258316288001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375066763676614656,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2104447692684402688,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786165314000,"timestamp_ms":1786165314000,"timestamp_seconds":1786165314,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbfc1d0"} 
[2026-08-08 10:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 10:33: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-08-08 10:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258316288001,"66":27821,"113":206,"2":56576,"24":21,"16":375066763676614656,"45":2104447692684402688},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 10:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258316288001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:33:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 10:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375066763676614656,"km_value":375066763676614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2104447692684402688,"description":"Unknown IO ID 45"} 
[2026-08-08 10:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258316288001,"power":27821,"unknown_113":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":2104447692684402688}} 
[2026-08-08 10:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":152898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:33:15] local.INFO: GPS data processed {"connection_id":152898,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:33:15] local.INFO: Acknowledgment sent {"connection_id":152898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:33:37] local.INFO: TCP Data received {"connection_id":151422,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:37] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:37] local.INFO: IMEI packet received {"connection_id":151422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":151422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:33:41] local.INFO: TCP Data received {"connection_id":151422,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:41] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:41] local.INFO: IMEI packet received {"connection_id":151422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:33:46] local.INFO: TCP Data received {"connection_id":151422,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:46] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:33:46] local.INFO: IMEI packet received {"connection_id":151422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":151422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:33:47] local.INFO: TCP Data received {"connection_id":151422,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfbfc1d0012d1d260006d2f8f0000f01472d..."} 
[2026-08-08 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfbfc1d0012d1d260006d2f8f0000f01472d..."} 
[2026-08-08 10:33:47] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfbfc1d0012d1d260006d2f8f0000f01472d..."} 
[2026-08-08 10:33:47] local.INFO: Packet analysis {"connection_id":151422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfbf"} 
[2026-08-08 10:33:47] local.INFO: Extracted packet for processing {"connection_id":151422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfbf"} 
[2026-08-08 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756884992,"raw_latitude":114489584,"longitude_deg":75.6884992,"latitude_deg":11.4489584,"altitude":15,"angle":327,"satellites":45,"speed":21,"hex_longitude":"2d1d2600","hex_latitude":"06d2f8f0","is_valid_coordinates":true} 
[2026-08-08 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258320384001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375066763676614656,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2100366305524248576,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786165314000,"timestamp_ms":1786165314000,"timestamp_seconds":1786165314,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfbfc1d0"} 
[2026-08-08 10:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 10:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258320384001,"66":27821,"113":206,"2":56576,"24":21,"16":375066763676614656,"45":2100366305524248576},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 10:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258320384001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:33:47] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 10:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375066763676614656,"km_value":375066763676614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2100366305524248576,"description":"Unknown IO ID 45"} 
[2026-08-08 10:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258320384001,"power":27821,"unknown_113":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":2100366305524248576}} 
[2026-08-08 10:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":151422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:33:47] local.INFO: GPS data processed {"connection_id":151422,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:33:47] local.INFO: Acknowledgment sent {"connection_id":151422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:33:52] local.INFO: TCP Data received {"connection_id":151422,"ip":"117.224.227.51","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc013d8012d1d16c006d30d58000d01422c..."} 
[2026-08-08 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc013d8012d1d16c006d30d58000d01422c..."} 
[2026-08-08 10:33:52] local.INFO: Processing buffer {"connection_id":151422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc013d8012d1d16c006d30d58000d01422c..."} 
[2026-08-08 10:33:52] local.INFO: Packet analysis {"connection_id":151422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc0"} 
[2026-08-08 10:33:52] local.INFO: Extracted packet for processing {"connection_id":151422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc0"} 
[2026-08-08 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756881088,"raw_latitude":114494808,"longitude_deg":75.6881088,"latitude_deg":11.4494808,"altitude":13,"angle":322,"satellites":44,"speed":19,"hex_longitude":"2d1d16c0","hex_latitude":"06d30d58","is_valid_coordinates":true} 
[2026-08-08 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258320384001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375067081504194560,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2100366305524248576,"note":"Value kept but may cause issues"} 
[2026-08-08 10:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786165335000,"timestamp_ms":1786165335000,"timestamp_seconds":1786165335,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc013d8"} 
[2026-08-08 10:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 10:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.227.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258320384001,"66":27995,"113":206,"2":56576,"24":19,"16":375067081504194560,"45":2100366305524248576},"client_ip":"117.224.227.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-08 10:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258320384001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:33:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 10:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375067081504194560,"km_value":375067081504194.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2100366305524248576,"description":"Unknown IO ID 45"} 
[2026-08-08 10:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258320384001,"power":27995,"unknown_113":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":2100366305524248576}} 
[2026-08-08 10:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":151422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:33:52] local.INFO: GPS data processed {"connection_id":151422,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:33:52] local.INFO: Acknowledgment sent {"connection_id":151422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:34:36] local.INFO: TCP Data received {"connection_id":150187,"ip":"117.224.227.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:34:36] local.INFO: Processing buffer {"connection_id":150187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:34:36] local.INFO: IMEI packet received {"connection_id":150187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":150187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:35:25] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:35:25] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:35:25] local.INFO: IMEI packet received {"connection_id":152899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":152899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:35:30] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:35:30] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:35:30] local.INFO: IMEI packet received {"connection_id":152899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":152899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:35:32] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc1f450012d1c500006d414580009012b2a..."} 
[2026-08-08 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc1f450012d1c500006d414580009012b2a..."} 
[2026-08-08 10:35:32] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc1f450012d1c500006d414580009012b2a..."} 
[2026-08-08 10:35:32] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc1"} 
[2026-08-08 10:35:32] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc1"} 
[2026-08-08 10:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756830208,"raw_latitude":114562136,"longitude_deg":75.6830208,"latitude_deg":11.4562136,"altitude":9,"angle":299,"satellites":42,"speed":23,"hex_longitude":"2d1c5000","hex_latitude":"06d41458","is_valid_coordinates":true} 
[2026-08-08 10:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375070474528358400,"note":"Value kept but may cause issues"} 
[2026-08-08 10:35:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,11,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786165458000,"timestamp_ms":1786165458000,"timestamp_seconds":1786165458,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc1f450"} 
[2026-08-08 10:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 10:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"11":206,"2":56576,"24":23,"16":375070474528358400},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16]} 
[2026-08-08 10:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 10:35:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375070474528358400,"km_value":375070474528358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:35:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_11":206,"power_alt":56576,"ignition":23,"odometer":null}} 
[2026-08-08 10:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:35:32] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:35:32] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:36:03] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc259e0012d1c380006d42488000b01372c..."} 
[2026-08-08 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc259e0012d1c380006d42488000b01372c..."} 
[2026-08-08 10:36:03] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc259e0012d1c380006d42488000b01372c..."} 
[2026-08-08 10:36:03] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc2"} 
[2026-08-08 10:36:03] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc2"} 
[2026-08-08 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756824064,"raw_latitude":114566280,"longitude_deg":75.6824064,"latitude_deg":11.456628,"altitude":11,"angle":311,"satellites":44,"speed":19,"hex_longitude":"2d1c3800","hex_latitude":"06d42488","is_valid_coordinates":true} 
[2026-08-08 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258357248001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375070831010643968,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2040130660526741504,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786165484000,"timestamp_ms":1786165484000,"timestamp_seconds":1786165484,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc259e0"} 
[2026-08-08 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 10:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258357248001,"66":27843,"11":206,"2":56576,"24":19,"16":375070831010643968,"45":2040130660526741504},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258357248001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:36:03] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375070831010643968,"km_value":375070831010643.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2040130660526741504,"description":"Unknown IO ID 45"} 
[2026-08-08 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258357248001,"power":27843,"unknown_11":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":2040130660526741504}} 
[2026-08-08 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:36:03] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:36:03] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:36:35] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc29090012d1c1c8006d43a78000d01302a..."} 
[2026-08-08 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc29090012d1c1c8006d43a78000d01302a..."} 
[2026-08-08 10:36:35] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc29090012d1c1c8006d43a78000d01302a..."} 
[2026-08-08 10:36:35] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc2"} 
[2026-08-08 10:36:35] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc2"} 
[2026-08-08 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756817024,"raw_latitude":114571896,"longitude_deg":75.6817024,"latitude_deg":11.4571896,"altitude":13,"angle":304,"satellites":42,"speed":31,"hex_longitude":"2d1c1c80","hex_latitude":"06d43a78","is_valid_coordinates":true} 
[2026-08-08 10:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258363904001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375071260507373568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2033375261086746624,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786165498000,"timestamp_ms":1786165498000,"timestamp_seconds":1786165498,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc29090"} 
[2026-08-08 10:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 10:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258363904001,"66":27908,"11":206,"2":56576,"24":31,"16":375071260507373568,"45":2033375261086746624},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 10:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258363904001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:36:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375071260507373568,"km_value":375071260507373.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2033375261086746624,"description":"Unknown IO ID 45"} 
[2026-08-08 10:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258363904001,"power":27908,"unknown_11":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":2033375261086746624}} 
[2026-08-08 10:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:36:35] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:36:35] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:36:47] local.INFO: TCP Data received {"connection_id":150458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:47] local.INFO: Processing buffer {"connection_id":150458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:47] local.INFO: IMEI packet received {"connection_id":150458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":150458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:36:48] local.INFO: TCP Data received {"connection_id":150458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:48] local.INFO: Processing buffer {"connection_id":150458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:48] local.INFO: IMEI packet received {"connection_id":150458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":150458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:36:52] local.INFO: TCP Data received {"connection_id":150458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:52] local.INFO: Processing buffer {"connection_id":150458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:36:52] local.INFO: IMEI packet received {"connection_id":150458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":150458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:36:53] local.INFO: TCP Data received {"connection_id":150458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-08 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150458,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-08 10:36:53] local.INFO: Processing buffer {"connection_id":150458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-08 10:36:53] local.INFO: Packet analysis {"connection_id":150458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-08 10:36:53] local.INFO: Extracted packet for processing {"connection_id":150458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-08 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-08 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11327499501830144,"note":"Value kept but may cause issues"} 
[2026-08-08 10:36:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:36:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150458,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150458,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-08 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150458,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-08 10:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 10:36:53] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":150458,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 10:36:53] local.ERROR: GPS data processing failed {"connection_id":150458,"error":"No valid data to process"} 
[2026-08-08 10:36:53] local.INFO: Acknowledgment sent {"connection_id":150458,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 10:37:06] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc3adb8012d1b568006d4d250000c012128..."} 
[2026-08-08 10:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc3adb8012d1b568006d4d250000c012128..."} 
[2026-08-08 10:37:06] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc3adb8012d1b568006d4d250000c012128..."} 
[2026-08-08 10:37:06] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:37:06] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":114610768,"longitude_deg":75.6766336,"latitude_deg":11.4610768,"altitude":12,"angle":289,"satellites":40,"speed":41,"hex_longitude":"2d1b5680","hex_latitude":"06d4d250","is_valid_coordinates":true} 
[2026-08-08 10:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258383872001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375074425898270720,"note":"Value kept but may cause issues"} 
[2026-08-08 10:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978487640638253056,"note":"Value kept but may cause issues"} 
[2026-08-08 10:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786165571000,"timestamp_ms":1786165571000,"timestamp_seconds":1786165571,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc3adb8"} 
[2026-08-08 10:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258383872001,"66":27800,"11":206,"2":56576,"24":41,"16":375074425898270720,"45":1978487640638253056},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 10:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258383872001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:37:06] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375074425898270720,"km_value":375074425898270.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978487640638253056,"description":"Unknown IO ID 45"} 
[2026-08-08 10:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258383872001,"power":27800,"unknown_11":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1978487640638253056}} 
[2026-08-08 10:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:37:06] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:37:06] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:37:38] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc3adb8012d1b568006d4d250000c012128..."} 
[2026-08-08 10:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc3adb8012d1b568006d4d250000c012128..."} 
[2026-08-08 10:37:38] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc3adb8012d1b568006d4d250000c012128..."} 
[2026-08-08 10:37:38] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:37:38] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756766336,"raw_latitude":114610768,"longitude_deg":75.6766336,"latitude_deg":11.4610768,"altitude":12,"angle":289,"satellites":40,"speed":41,"hex_longitude":"2d1b5680","hex_latitude":"06d4d250","is_valid_coordinates":true} 
[2026-08-08 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258386176001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375074425898270720,"note":"Value kept but may cause issues"} 
[2026-08-08 10:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902653849882624,"note":"Value kept but may cause issues"} 
[2026-08-08 10:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786165571000,"timestamp_ms":1786165571000,"timestamp_seconds":1786165571,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc3adb8"} 
[2026-08-08 10:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 10:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258386176001,"66":27800,"11":206,"2":56576,"24":41,"16":375074425898270720,"45":1969902653849882624},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 10:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258386176001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:37:38] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375074425898270720,"km_value":375074425898270.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902653849882624,"description":"Unknown IO ID 45"} 
[2026-08-08 10:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258386176001,"power":27800,"unknown_11":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1969902653849882624}} 
[2026-08-08 10:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:37:38] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:37:38] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:38:10] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc3d0e0012d1b344006d4dd90000d012229..."} 
[2026-08-08 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc3d0e0012d1b344006d4dd90000d012229..."} 
[2026-08-08 10:38:10] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc3d0e0012d1b344006d4dd90000d012229..."} 
[2026-08-08 10:38:10] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:38:10] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":756757568,"raw_latitude":114613648,"longitude_deg":75.6757568,"latitude_deg":11.4613648,"altitude":13,"angle":290,"satellites":41,"speed":39,"hex_longitude":"2d1b3440","hex_latitude":"06d4dd90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258386176001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375074868279902208,"note":"Value kept but may cause issues"} 
[2026-08-08 10:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902653849882624,"note":"Value kept but may cause issues"} 
[2026-08-08 10:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786165580000,"timestamp_ms":1786165580000,"timestamp_seconds":1786165580,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc3d0e0"} 
[2026-08-08 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-08-08 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 10:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258386176001,"66":27604,"11":206,"2":56576,"24":39,"16":375074868279902208,"45":1969902653849882624},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258386176001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:38:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375074868279902208,"km_value":375074868279902.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902653849882624,"description":"Unknown IO ID 45"} 
[2026-08-08 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258386176001,"power":27604,"unknown_11":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1969902653849882624}} 
[2026-08-08 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:38:10] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:38:10] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:38:41] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc3f408012d1b10c006d4ee08000d012b28..."} 
[2026-08-08 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc3f408012d1b10c006d4ee08000d012b28..."} 
[2026-08-08 10:38:41] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc3f408012d1b10c006d4ee08000d012b28..."} 
[2026-08-08 10:38:41] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:38:41] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc3"} 
[2026-08-08 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756748480,"raw_latitude":114617864,"longitude_deg":75.674848,"latitude_deg":11.4617864,"altitude":13,"angle":299,"satellites":40,"speed":46,"hex_longitude":"2d1b10c0","hex_latitude":"06d4ee08","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258388480001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375075345021272064,"note":"Value kept but may cause issues"} 
[2026-08-08 10:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960262135898279936,"note":"Value kept but may cause issues"} 
[2026-08-08 10:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786165589000,"timestamp_ms":1786165589000,"timestamp_seconds":1786165589,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc3f408"} 
[2026-08-08 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-08-08 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 10:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258388480001,"66":27919,"11":206,"2":56576,"24":46,"16":375075345021272064,"45":1960262135898279936},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-08 10:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258388480001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:38:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 10:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375075345021272064,"km_value":375075345021272.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960262135898279936,"description":"Unknown IO ID 45"} 
[2026-08-08 10:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258388480001,"power":27919,"unknown_11":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1960262135898279936}} 
[2026-08-08 10:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:38:41] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:38:41] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:39:13] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc59600012d19900006d5ca88000c012925..."} 
[2026-08-08 10:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc59600012d19900006d5ca88000c012925..."} 
[2026-08-08 10:39:13] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc59600012d19900006d5ca88000c012925..."} 
[2026-08-08 10:39:13] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc5"} 
[2026-08-08 10:39:13] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc5"} 
[2026-08-08 10:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756649984,"raw_latitude":114674312,"longitude_deg":75.6649984,"latitude_deg":11.4674312,"altitude":12,"angle":297,"satellites":37,"speed":45,"hex_longitude":"2d199000","hex_latitude":"06d5ca88","is_valid_coordinates":true} 
[2026-08-08 10:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258416128001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375080778154901504,"note":"Value kept but may cause issues"} 
[2026-08-08 10:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850979476204847104,"note":"Value kept but may cause issues"} 
[2026-08-08 10:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786165696000,"timestamp_ms":1786165696000,"timestamp_seconds":1786165696,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc59600"} 
[2026-08-08 10:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258416128001,"66":27876,"13":206,"2":56576,"24":45,"16":375080778154901504,"45":1850979476204847104},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 10:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258416128001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:39:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 10:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375080778154901504,"km_value":375080778154901.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850979476204847104,"description":"Unknown IO ID 45"} 
[2026-08-08 10:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258416128001,"power":27876,"unknown_13":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1850979476204847104}} 
[2026-08-08 10:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:39:13] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:39:13] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:39:44] local.INFO: TCP Data received {"connection_id":152899,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc5ad70012d19764006d5d568000a011c29..."} 
[2026-08-08 10:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc5ad70012d19764006d5d568000a011c29..."} 
[2026-08-08 10:39:44] local.INFO: Processing buffer {"connection_id":152899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc5ad70012d19764006d5d568000a011c29..."} 
[2026-08-08 10:39:44] local.INFO: Packet analysis {"connection_id":152899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc5"} 
[2026-08-08 10:39:44] local.INFO: Extracted packet for processing {"connection_id":152899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc5"} 
[2026-08-08 10:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756643392,"raw_latitude":114677096,"longitude_deg":75.6643392,"latitude_deg":11.4677096,"altitude":10,"angle":284,"satellites":41,"speed":48,"hex_longitude":"2d197640","hex_latitude":"06d5d568","is_valid_coordinates":true} 
[2026-08-08 10:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258418176001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375081126047252480,"note":"Value kept but may cause issues"} 
[2026-08-08 10:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841972276951156736,"note":"Value kept but may cause issues"} 
[2026-08-08 10:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786165702000,"timestamp_ms":1786165702000,"timestamp_seconds":1786165702,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc5ad70"} 
[2026-08-08 10:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258418176001,"66":27930,"13":206,"2":56576,"24":48,"16":375081126047252480,"45":1841972276951156736},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-08 10:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258418176001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:39:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 10:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375081126047252480,"km_value":375081126047252.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841972276951156736,"description":"Unknown IO ID 45"} 
[2026-08-08 10:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258418176001,"power":27930,"unknown_13":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1841972276951156736}} 
[2026-08-08 10:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":152899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:39:44] local.INFO: GPS data processed {"connection_id":152899,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:39:44] local.INFO: Acknowledgment sent {"connection_id":152899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:40:05] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:05] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:05] local.INFO: IMEI packet received {"connection_id":150188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":150188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:40:07] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:07] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:07] local.INFO: IMEI packet received {"connection_id":150188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":150188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:40:10] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:10] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:40:10] local.INFO: IMEI packet received {"connection_id":150188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":150188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:40:11] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc6a770012d18424006d60f10000a010727..."} 
[2026-08-08 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc6a770012d18424006d60f10000a010727..."} 
[2026-08-08 10:40:11] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc6a770012d18424006d60f10000a010727..."} 
[2026-08-08 10:40:11] local.INFO: Packet analysis {"connection_id":150188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:40:11] local.INFO: Extracted packet for processing {"connection_id":150188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756564544,"raw_latitude":114691856,"longitude_deg":75.6564544,"latitude_deg":11.4691856,"altitude":10,"angle":263,"satellites":39,"speed":43,"hex_longitude":"2d184240","hex_latitude":"06d60f10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 10:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258434048001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375085060237295616,"note":"Value kept but may cause issues"} 
[2026-08-08 10:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670521431429120,"note":"Value kept but may cause issues"} 
[2026-08-08 10:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786165766000,"timestamp_ms":1786165766000,"timestamp_seconds":1786165766,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc6a770"} 
[2026-08-08 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-08-08 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 10:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258434048001,"66":27876,"191":206,"2":56576,"24":43,"16":375085060237295616,"45":1757670521431429120},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 10:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258434048001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:40:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 10:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375085060237295616,"km_value":375085060237295.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670521431429120,"description":"Unknown IO ID 45"} 
[2026-08-08 10:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258434048001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1757670521431429120}} 
[2026-08-08 10:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":150188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:40:11] local.INFO: GPS data processed {"connection_id":150188,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:40:11] local.INFO: Acknowledgment sent {"connection_id":150188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:40:43] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc6a770012d18424006d60f10000a010727..."} 
[2026-08-08 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc6a770012d18424006d60f10000a010727..."} 
[2026-08-08 10:40:43] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc6a770012d18424006d60f10000a010727..."} 
[2026-08-08 10:40:43] local.INFO: Packet analysis {"connection_id":150188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:40:43] local.INFO: Extracted packet for processing {"connection_id":150188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756564544,"raw_latitude":114691856,"longitude_deg":75.6564544,"latitude_deg":11.4691856,"altitude":10,"angle":263,"satellites":39,"speed":43,"hex_longitude":"2d184240","hex_latitude":"06d60f10","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258436096001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375085060237295616,"note":"Value kept but may cause issues"} 
[2026-08-08 10:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748030003478466560,"note":"Value kept but may cause issues"} 
[2026-08-08 10:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786165766000,"timestamp_ms":1786165766000,"timestamp_seconds":1786165766,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc6a770"} 
[2026-08-08 10:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258436096001,"66":27876,"191":206,"2":56576,"24":43,"16":375085060237295616,"45":1748030003478466560},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 10:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258436096001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:40:43] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 10:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375085060237295616,"km_value":375085060237295.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748030003478466560,"description":"Unknown IO ID 45"} 
[2026-08-08 10:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258436096001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1748030003478466560}} 
[2026-08-08 10:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":150188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:40:43] local.INFO: GPS data processed {"connection_id":150188,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:40:43] local.INFO: Acknowledgment sent {"connection_id":150188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:41:19] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc6b328012d18354006d60f70000a011520..."} 
[2026-08-08 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc6b328012d18354006d60f70000a011520..."} 
[2026-08-08 10:41:19] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc6b328012d18354006d60f70000a011520..."} 
[2026-08-08 10:41:19] local.INFO: Packet analysis {"connection_id":150188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:41:19] local.INFO: Extracted packet for processing {"connection_id":150188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756561216,"raw_latitude":114691952,"longitude_deg":75.6561216,"latitude_deg":11.4691952,"altitude":10,"angle":277,"satellites":32,"speed":43,"hex_longitude":"2d183540","hex_latitude":"06d60f70","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258436096001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375085219151085568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748030003478466560,"note":"Value kept but may cause issues"} 
[2026-08-08 10:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786165769000,"timestamp_ms":1786165769000,"timestamp_seconds":1786165769,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc6b328"} 
[2026-08-08 10:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258436096001,"66":27919,"191":206,"2":56576,"24":43,"16":375085219151085568,"45":1748030003478466560},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 10:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258436096001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:41:19] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 10:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375085219151085568,"km_value":375085219151085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748030003478466560,"description":"Unknown IO ID 45"} 
[2026-08-08 10:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258436096001,"power":27919,"unknown_191":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1748030003478466560}} 
[2026-08-08 10:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":150188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:41:19] local.INFO: GPS data processed {"connection_id":150188,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:41:19] local.INFO: Acknowledgment sent {"connection_id":150188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:41:53] local.INFO: TCP Data received {"connection_id":150188,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfc6d268012d18118006d617f80009011c29..."} 
[2026-08-08 10:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfc6d268012d18118006d617f80009011c29..."} 
[2026-08-08 10:41:53] local.INFO: Processing buffer {"connection_id":150188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfc6d268012d18118006d617f80009011c29..."} 
[2026-08-08 10:41:53] local.INFO: Packet analysis {"connection_id":150188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:41:53] local.INFO: Extracted packet for processing {"connection_id":150188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfc6"} 
[2026-08-08 10:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756552064,"raw_latitude":114694136,"longitude_deg":75.6552064,"latitude_deg":11.4694136,"altitude":9,"angle":284,"satellites":41,"speed":48,"hex_longitude":"2d181180","hex_latitude":"06d617f8","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258436864001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375085665827684352,"note":"Value kept but may cause issues"} 
[2026-08-08 10:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744370828781252608,"note":"Value kept but may cause issues"} 
[2026-08-08 10:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786165777000,"timestamp_ms":1786165777000,"timestamp_seconds":1786165777,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfc6d268"} 
[2026-08-08 10:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258436864001,"66":27800,"191":206,"2":56576,"24":48,"16":375085665827684352,"45":1744370828781252608},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-08 10:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258436864001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:41:53] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 10:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375085665827684352,"km_value":375085665827684.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744370828781252608,"description":"Unknown IO ID 45"} 
[2026-08-08 10:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258436864001,"power":27800,"unknown_191":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1744370828781252608}} 
[2026-08-08 10:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":150188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:41:53] local.INFO: GPS data processed {"connection_id":150188,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:41:53] local.INFO: Acknowledgment sent {"connection_id":150188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:42:20] local.INFO: TCP Data received {"connection_id":150189,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:42:20] local.INFO: Processing buffer {"connection_id":150189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:42:20] local.INFO: IMEI packet received {"connection_id":150189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":150189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:42:24] local.INFO: TCP Data received {"connection_id":150189,"ip":"117.224.184.27","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150189,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:42:24] local.INFO: Processing buffer {"connection_id":150189,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:42:24] local.INFO: IMEI packet received {"connection_id":150189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":150189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:47:26] local.INFO: TCP Data received {"connection_id":150459,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:47:26] local.INFO: Processing buffer {"connection_id":150459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:47:26] local.INFO: IMEI packet received {"connection_id":150459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":150459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:47:29] local.INFO: TCP Data received {"connection_id":150459,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcc8f28012d143a8006d87a40000c01502a..."} 
[2026-08-08 10:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcc8f28012d143a8006d87a40000c01502a..."} 
[2026-08-08 10:47:29] local.INFO: Processing buffer {"connection_id":150459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcc8f28012d143a8006d87a40000c01502a..."} 
[2026-08-08 10:47:29] local.INFO: Packet analysis {"connection_id":150459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcc"} 
[2026-08-08 10:47:29] local.INFO: Extracted packet for processing {"connection_id":150459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcc"} 
[2026-08-08 10:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756300416,"raw_latitude":114850368,"longitude_deg":75.6300416,"latitude_deg":11.4850368,"altitude":12,"angle":336,"satellites":42,"speed":56,"hex_longitude":"2d143a80","hex_latitude":"06d87a40","is_valid_coordinates":true} 
[2026-08-08 10:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258533376001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375100595134005248,"note":"Value kept but may cause issues"} 
[2026-08-08 10:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1462332902155403264,"note":"Value kept but may cause issues"} 
[2026-08-08 10:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786166153000,"timestamp_ms":1786166153000,"timestamp_seconds":1786166153,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcc8f28"} 
[2026-08-08 10:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:47: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-08-08 10:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":150459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":150459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":150459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258533376001,"66":27919,"192":206,"2":56576,"24":56,"16":375100595134005248,"45":1462332902155403264},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 10:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258533376001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:47:29] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 10:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375100595134005248,"km_value":375100595134005.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1462332902155403264,"description":"Unknown IO ID 45"} 
[2026-08-08 10:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258533376001,"power":27919,"unknown_192":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1462332902155403264}} 
[2026-08-08 10:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":150459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:47:29] local.INFO: GPS data processed {"connection_id":150459,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:47:29] local.INFO: Acknowledgment sent {"connection_id":150459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:48:05] local.INFO: TCP Data received {"connection_id":152900,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:48:05] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:48:05] local.INFO: IMEI packet received {"connection_id":152900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":152900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:48:15] local.INFO: TCP Data received {"connection_id":152900,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:48:15] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:48:15] local.INFO: IMEI packet received {"connection_id":152900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":152900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:48:25] local.INFO: TCP Data received {"connection_id":152900,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfccaa80012d142c4006d89a30000b01502a..."} 
[2026-08-08 10:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfccaa80012d142c4006d89a30000b01502a..."} 
[2026-08-08 10:48:25] local.INFO: Processing buffer {"connection_id":152900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfccaa80012d142c4006d89a30000b01502a..."} 
[2026-08-08 10:48:25] local.INFO: Packet analysis {"connection_id":152900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcc"} 
[2026-08-08 10:48:25] local.INFO: Extracted packet for processing {"connection_id":152900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcc"} 
[2026-08-08 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756296768,"raw_latitude":114858544,"longitude_deg":75.6296768,"latitude_deg":11.4858544,"altitude":11,"angle":336,"satellites":42,"speed":37,"hex_longitude":"2d142c40","hex_latitude":"06d89a30","is_valid_coordinates":true} 
[2026-08-08 10:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258535168001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375101028925702144,"note":"Value kept but may cause issues"} 
[2026-08-08 10:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1457618196297826304,"note":"Value kept but may cause issues"} 
[2026-08-08 10:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786166160000,"timestamp_ms":1786166160000,"timestamp_seconds":1786166160,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfccaa80"} 
[2026-08-08 10:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:48: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-08-08 10:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":152900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":152900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258535168001,"66":27908,"192":206,"2":56576,"24":37,"16":375101028925702144,"45":1457618196297826304},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 10:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258535168001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:48:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 10:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375101028925702144,"km_value":375101028925702.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1457618196297826304,"description":"Unknown IO ID 45"} 
[2026-08-08 10:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258535168001,"power":27908,"unknown_192":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1457618196297826304}} 
[2026-08-08 10:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":152900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:48:25] local.INFO: GPS data processed {"connection_id":152900,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:48:25] local.INFO: Acknowledgment sent {"connection_id":152900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:49:17] local.INFO: TCP Data received {"connection_id":150193,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:49:17] local.INFO: Processing buffer {"connection_id":150193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:49:17] local.INFO: IMEI packet received {"connection_id":150193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":150193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:49:20] local.INFO: TCP Data received {"connection_id":150194,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:49:20] local.INFO: Processing buffer {"connection_id":150194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:49:20] local.INFO: IMEI packet received {"connection_id":150194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":150194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:49:22] local.INFO: TCP Data received {"connection_id":150193,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:49:22] local.INFO: Processing buffer {"connection_id":150193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:49:22] local.INFO: IMEI packet received {"connection_id":150193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":150193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:49:23] local.INFO: TCP Data received {"connection_id":150193,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfce7770012d1816c007219ac8004200aa17..."} 
[2026-08-08 10:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfce7770012d1816c007219ac8004200aa17..."} 
[2026-08-08 10:49:23] local.INFO: Processing buffer {"connection_id":150193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfce7770012d1816c007219ac8004200aa17..."} 
[2026-08-08 10:49:23] local.INFO: Packet analysis {"connection_id":150193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:49:23] local.INFO: Extracted packet for processing {"connection_id":150193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119642824,"longitude_deg":75.6553408,"latitude_deg":11.9642824,"altitude":66,"angle":170,"satellites":23,"speed":6,"hex_longitude":"2d1816c0","hex_latitude":"07219ac8","is_valid_coordinates":true} 
[2026-08-08 10:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258566912001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338318524448768,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735856212003219456,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786166278000,"timestamp_ms":1786166278000,"timestamp_seconds":1786166278,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfce7770"} 
[2026-08-08 10:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:49:23] 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-08-08 10:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 10:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258566912001,"66":13537,"120":206,"28":31744,"24":6,"16":11338318524448768,"45":1735856212003219456},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258566912001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:49:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338318524448768,"km_value":11338318524448.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735856212003219456,"description":"Unknown IO ID 45"} 
[2026-08-08 10:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258566912001,"power":13537,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1735856212003219456}} 
[2026-08-08 10:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":150193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:49:24] local.INFO: GPS data processed {"connection_id":150193,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:49:24] local.INFO: Acknowledgment sent {"connection_id":150193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:49:25] local.INFO: TCP Data received {"connection_id":150194,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:49:25] local.INFO: Processing buffer {"connection_id":150194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:49:25] local.INFO: IMEI packet received {"connection_id":150194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":150194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:49:26] local.INFO: TCP Data received {"connection_id":150194,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfccfc88012d141fc006d8b5f0000b014a21..."} 
[2026-08-08 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfccfc88012d141fc006d8b5f0000b014a21..."} 
[2026-08-08 10:49:26] local.INFO: Processing buffer {"connection_id":150194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfccfc88012d141fc006d8b5f0000b014a21..."} 
[2026-08-08 10:49:26] local.INFO: Packet analysis {"connection_id":150194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcc"} 
[2026-08-08 10:49:26] local.INFO: Extracted packet for processing {"connection_id":150194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcc"} 
[2026-08-08 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756293568,"raw_latitude":114865648,"longitude_deg":75.6293568,"latitude_deg":11.4865648,"altitude":11,"angle":330,"satellites":33,"speed":10,"hex_longitude":"2d141fc0","hex_latitude":"06d8b5f0","is_valid_coordinates":true} 
[2026-08-08 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258536960001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375101406882824192,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1453607177881792512,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786166181000,"timestamp_ms":1786166181000,"timestamp_seconds":1786166181,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfccfc88"} 
[2026-08-08 10:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258536960001,"66":27745,"192":206,"2":56576,"24":10,"16":375101406882824192,"45":1453607177881792512},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-08 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258536960001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:49:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375101406882824192,"km_value":375101406882824.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1453607177881792512,"description":"Unknown IO ID 45"} 
[2026-08-08 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258536960001,"power":27745,"unknown_192":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":1453607177881792512}} 
[2026-08-08 10:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":150194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:49:26] local.INFO: GPS data processed {"connection_id":150194,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:49:26] local.INFO: Acknowledgment sent {"connection_id":150194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:49:55] local.INFO: TCP Data received {"connection_id":150193,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfce7b58012d18170007219a280042009717..."} 
[2026-08-08 10:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfce7b58012d18170007219a280042009717..."} 
[2026-08-08 10:49:55] local.INFO: Processing buffer {"connection_id":150193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfce7b58012d18170007219a280042009717..."} 
[2026-08-08 10:49:55] local.INFO: Packet analysis {"connection_id":150193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:49:55] local.INFO: Extracted packet for processing {"connection_id":150193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756553472,"raw_latitude":119642664,"longitude_deg":75.6553472,"latitude_deg":11.9642664,"altitude":66,"angle":151,"satellites":23,"speed":5,"hex_longitude":"2d181700","hex_latitude":"07219a28","is_valid_coordinates":true} 
[2026-08-08 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338327114383360,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735785843259000832,"note":"Value kept but may cause issues"} 
[2026-08-08 10:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786166279000,"timestamp_ms":1786166279000,"timestamp_seconds":1786166279,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfce7b58"} 
[2026-08-08 10:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:49:55] 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-08-08 10:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-08 10:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258567168001,"66":13537,"120":206,"28":31744,"24":5,"16":11338327114383360,"45":1735785843259000832},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:49:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:49:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338327114383360,"km_value":11338327114383.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735785843259000832,"description":"Unknown IO ID 45"} 
[2026-08-08 10:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258567168001,"power":13537,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1735785843259000832}} 
[2026-08-08 10:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":150193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:49:55] local.INFO: GPS data processed {"connection_id":150193,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:49:55] local.INFO: Acknowledgment sent {"connection_id":150193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:50:06] local.INFO: TCP Data received {"connection_id":151424,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:06] local.INFO: Processing buffer {"connection_id":151424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:06] local.INFO: IMEI packet received {"connection_id":151424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":151424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:50:06] local.INFO: TCP Data received {"connection_id":151424,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:06] local.INFO: Processing buffer {"connection_id":151424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:06] local.INFO: IMEI packet received {"connection_id":151424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":151424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:50:11] local.INFO: TCP Data received {"connection_id":151424,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:11] local.INFO: Processing buffer {"connection_id":151424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:50:11] local.INFO: IMEI packet received {"connection_id":151424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":151424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:50:12] local.INFO: TCP Data received {"connection_id":151424,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcf32f0012d13c94006da0840000c015f29..."} 
[2026-08-08 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcf32f0012d13c94006da0840000c015f29..."} 
[2026-08-08 10:50:12] local.INFO: Processing buffer {"connection_id":151424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcf32f0012d13c94006da0840000c015f29..."} 
[2026-08-08 10:50:12] local.INFO: Packet analysis {"connection_id":151424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:50:12] local.INFO: Extracted packet for processing {"connection_id":151424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756271424,"raw_latitude":114952256,"longitude_deg":75.6271424,"latitude_deg":11.4952256,"altitude":12,"angle":351,"satellites":41,"speed":2,"hex_longitude":"2d13c940","hex_latitude":"06da0840","is_valid_coordinates":true} 
[2026-08-08 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258574080001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375105869353844736,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426444842651004928,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786166326000,"timestamp_ms":1786166326000,"timestamp_seconds":1786166326,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcf32f0"} 
[2026-08-08 10:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258574080001,"66":27919,"127":206,"2":56576,"24":2,"16":375105869353844736,"45":1426444842651004928},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258574080001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:50:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375105869353844736,"km_value":375105869353844.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426444842651004928,"description":"Unknown IO ID 45"} 
[2026-08-08 10:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258574080001,"power":27919,"unknown_127":206,"power_alt":56576,"ignition":2,"odometer":null,"unknown_45":1426444842651004928}} 
[2026-08-08 10:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":151424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:50:12] local.INFO: GPS data processed {"connection_id":151424,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:50:12] local.INFO: Acknowledgment sent {"connection_id":151424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:50:13] local.INFO: TCP Data received {"connection_id":151424,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcf5618012d13c8c006da0f00000d000229..."} 
[2026-08-08 10:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcf5618012d13c8c006da0f00000d000229..."} 
[2026-08-08 10:50:13] local.INFO: Processing buffer {"connection_id":151424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcf5618012d13c8c006da0f00000d000229..."} 
[2026-08-08 10:50:13] local.INFO: Packet analysis {"connection_id":151424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:50:13] local.INFO: Extracted packet for processing {"connection_id":151424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756271296,"raw_latitude":114953984,"longitude_deg":75.6271296,"latitude_deg":11.4953984,"altitude":13,"angle":2,"satellites":41,"speed":8,"hex_longitude":"2d13c8c0","hex_latitude":"06da0f00","is_valid_coordinates":true} 
[2026-08-08 10:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258579456001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375105955253190656,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425741155211427840,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786166335000,"timestamp_ms":1786166335000,"timestamp_seconds":1786166335,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcf5618"} 
[2026-08-08 10:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258579456001,"66":27865,"127":206,"2":56576,"24":8,"16":375105955253190656,"45":1425741155211427840},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258579456001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375105955253190656,"km_value":375105955253190.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425741155211427840,"description":"Unknown IO ID 45"} 
[2026-08-08 10:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258579456001,"power":27865,"unknown_127":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1425741155211427840}} 
[2026-08-08 10:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":151424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:50:13] local.INFO: GPS data processed {"connection_id":151424,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:50:13] local.INFO: Acknowledgment sent {"connection_id":151424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:50:26] local.INFO: TCP Data received {"connection_id":150193,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfce7f40012d181780072199c00042008816..."} 
[2026-08-08 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfce7f40012d181780072199c00042008816..."} 
[2026-08-08 10:50:26] local.INFO: Processing buffer {"connection_id":150193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfce7f40012d181780072199c00042008816..."} 
[2026-08-08 10:50:26] local.INFO: Packet analysis {"connection_id":150193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:50:26] local.INFO: Extracted packet for processing {"connection_id":150193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:50:26] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119642560,"longitude_deg":75.65536,"latitude_deg":11.964256,"altitude":66,"angle":136,"satellites":22,"speed":3,"hex_longitude":"2d181780","hex_latitude":"072199c0","is_valid_coordinates":true} 
[2026-08-08 10: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-08-08 10:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258567424001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338331409350656,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735856212003137536,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786166280000,"timestamp_ms":1786166280000,"timestamp_seconds":1786166280,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfce7f40"} 
[2026-08-08 10:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:50:26] 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-08-08 10: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":225,"data_length":795,"current_offset":136} 
[2026-08-08 10:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10: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-08-08 10:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258567424001,"66":14102,"120":206,"28":31744,"24":3,"16":11338331409350656,"45":1735856212003137536},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258567424001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:50:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:50:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338331409350656,"km_value":11338331409350.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735856212003137536,"description":"Unknown IO ID 45"} 
[2026-08-08 10:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258567424001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1735856212003137536}} 
[2026-08-08 10:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":150193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:50:26] local.INFO: GPS data processed {"connection_id":150193,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:50:26] local.INFO: Acknowledgment sent {"connection_id":150193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:50:44] local.INFO: TCP Data received {"connection_id":151424,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcfa050012d13c7c006da32a8000c016726..."} 
[2026-08-08 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcfa050012d13c7c006da32a8000c016726..."} 
[2026-08-08 10:50:44] local.INFO: Processing buffer {"connection_id":151424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcfa050012d13c7c006da32a8000c016726..."} 
[2026-08-08 10:50:44] local.INFO: Packet analysis {"connection_id":151424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:50:44] local.INFO: Extracted packet for processing {"connection_id":151424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756271040,"raw_latitude":114963112,"longitude_deg":75.627104,"latitude_deg":11.4963112,"altitude":12,"angle":359,"satellites":38,"speed":28,"hex_longitude":"2d13c7c0","hex_latitude":"06da32a8","is_valid_coordinates":true} 
[2026-08-08 10:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258581760001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375106397634822144,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425600417723514880,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786166354000,"timestamp_ms":1786166354000,"timestamp_seconds":1786166354,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcfa050"} 
[2026-08-08 10:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258581760001,"66":27865,"127":206,"2":56576,"24":28,"16":375106397634822144,"45":1425600417723514880},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258581760001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:50:44] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375106397634822144,"km_value":375106397634822.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425600417723514880,"description":"Unknown IO ID 45"} 
[2026-08-08 10:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258581760001,"power":27865,"unknown_127":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1425600417723514880}} 
[2026-08-08 10:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":151424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:50:44] local.INFO: GPS data processed {"connection_id":151424,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:50:44] local.INFO: Acknowledgment sent {"connection_id":151424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:50:58] local.INFO: TCP Data received {"connection_id":150193,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfced148012d1817c0072199880042007e19..."} 
[2026-08-08 10:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfced148012d1817c0072199880042007e19..."} 
[2026-08-08 10:50:58] local.INFO: Processing buffer {"connection_id":150193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfced148012d1817c0072199880042007e19..."} 
[2026-08-08 10:50:58] local.INFO: Packet analysis {"connection_id":150193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:50:58] local.INFO: Extracted packet for processing {"connection_id":150193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfce"} 
[2026-08-08 10:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":25,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258567680001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735996949491466240,"note":"Value kept but may cause issues"} 
[2026-08-08 10:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786166301000,"timestamp_ms":1786166301000,"timestamp_seconds":1786166301,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfced148"} 
[2026-08-08 10:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 10:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258567680001,"66":13396,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1735996949491466240},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258567680001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:50:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735996949491466240,"description":"Unknown IO ID 45"} 
[2026-08-08 10:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258567680001,"power":13396,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1735996949491466240}} 
[2026-08-08 10:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":150193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:50:58] local.INFO: GPS data processed {"connection_id":150193,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:50:58] local.INFO: Acknowledgment sent {"connection_id":150193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:51:06] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:51:06] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:51:06] local.INFO: IMEI packet received {"connection_id":150460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":150460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:51:07] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:51:07] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:51:07] local.INFO: IMEI packet received {"connection_id":150460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":150460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:51:08] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcfd318012d13c54006da5288000b015c2c..."} 
[2026-08-08 10:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcfd318012d13c54006da5288000b015c2c..."} 
[2026-08-08 10:51:08] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcfd318012d13c54006da5288000b015c2c..."} 
[2026-08-08 10:51:08] local.INFO: Packet analysis {"connection_id":150460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:51:08] local.INFO: Extracted packet for processing {"connection_id":150460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756270400,"raw_latitude":114971272,"longitude_deg":75.62704,"latitude_deg":11.4971272,"altitude":11,"angle":348,"satellites":44,"speed":22,"hex_longitude":"2d13c540","hex_latitude":"06da5288","is_valid_coordinates":true} 
[2026-08-08 10:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258586624001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375106797066780672,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425318942749140992,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786166367000,"timestamp_ms":1786166367000,"timestamp_seconds":1786166367,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcfd318"} 
[2026-08-08 10:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258586624001,"66":27865,"127":206,"2":56576,"24":22,"16":375106797066780672,"45":1425318942749140992},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258586624001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:51:08] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375106797066780672,"km_value":375106797066780.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425318942749140992,"description":"Unknown IO ID 45"} 
[2026-08-08 10:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258586624001,"power":27865,"unknown_127":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":1425318942749140992}} 
[2026-08-08 10:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":150460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:51:08] local.INFO: GPS data processed {"connection_id":150460,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:51:08] local.INFO: Acknowledgment sent {"connection_id":150460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:51:32] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:32] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:32] local.INFO: IMEI packet received {"connection_id":150461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":150461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:51:33] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:33] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:33] local.INFO: IMEI packet received {"connection_id":150461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":150461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:51:37] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:37] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:51:37] local.INFO: IMEI packet received {"connection_id":150461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":150461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:51:38] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcf2350012d1817c0072199880042007e1b..."} 
[2026-08-08 10:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcf2350012d1817c0072199880042007e1b..."} 
[2026-08-08 10:51:38] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcf2350012d1817c0072199880042007e1b..."} 
[2026-08-08 10:51:38] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:51:38] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":27,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258573056001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51: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-08-08 10:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786166322000,"timestamp_ms":1786166322000,"timestamp_seconds":1786166322,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcf2350"} 
[2026-08-08 10:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 10:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258573056001,"66":13352,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258573056001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:51:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258573056001,"power":13352,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:51:39] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:51:39] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:51:40] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd0fbf8012d1388c006db6ae8000b015128..."} 
[2026-08-08 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd0fbf8012d1388c006db6ae8000b015128..."} 
[2026-08-08 10:51:40] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd0fbf8012d1388c006db6ae8000b015128..."} 
[2026-08-08 10:51:40] local.INFO: Packet analysis {"connection_id":150460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:51:40] local.INFO: Extracted packet for processing {"connection_id":150460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756254912,"raw_latitude":115043048,"longitude_deg":75.6254912,"latitude_deg":11.5043048,"altitude":11,"angle":337,"satellites":40,"speed":52,"hex_longitude":"2d1388c0","hex_latitude":"06db6ae8","is_valid_coordinates":true} 
[2026-08-08 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258607616001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375110396249374720,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1411385931420293120,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786166443000,"timestamp_ms":1786166443000,"timestamp_seconds":1786166443,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd0fbf8"} 
[2026-08-08 10:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258607616001,"66":27658,"127":206,"2":56576,"24":52,"16":375110396249374720,"45":1411385931420293120},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258607616001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:51:40] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375110396249374720,"km_value":375110396249374.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1411385931420293120,"description":"Unknown IO ID 45"} 
[2026-08-08 10:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258607616001,"power":27658,"unknown_127":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1411385931420293120}} 
[2026-08-08 10:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":150460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:51:40] local.INFO: GPS data processed {"connection_id":150460,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:51:40] local.INFO: Acknowledgment sent {"connection_id":150460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:51:43] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcf7558012d1817c0072199880042007e1d..."} 
[2026-08-08 10:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcf7558012d1817c0072199880042007e1d..."} 
[2026-08-08 10:51:43] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcf7558012d1817c0072199880042007e1d..."} 
[2026-08-08 10:51:43] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:51:43] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":29,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258578432001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786166343000,"timestamp_ms":1786166343000,"timestamp_seconds":1786166343,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcf7558"} 
[2026-08-08 10:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 10:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258578432001,"66":13287,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258578432001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:51:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258578432001,"power":13287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:51:43] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:51:43] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:52:05] local.INFO: TCP Data received {"connection_id":150195,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:05] local.INFO: Processing buffer {"connection_id":150195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:05] local.INFO: IMEI packet received {"connection_id":150195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":150195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:52:06] local.INFO: TCP Data received {"connection_id":150195,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:06] local.INFO: Processing buffer {"connection_id":150195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:06] local.INFO: IMEI packet received {"connection_id":150195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":150195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:52:10] local.INFO: TCP Data received {"connection_id":150195,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:10] local.INFO: Processing buffer {"connection_id":150195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:52:10] local.INFO: IMEI packet received {"connection_id":150195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":150195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:52:14] local.INFO: TCP Data received {"connection_id":150195,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd11750012d137b0006db8b50000a015329..."} 
[2026-08-08 10:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd11750012d137b0006db8b50000a015329..."} 
[2026-08-08 10:52:14] local.INFO: Processing buffer {"connection_id":150195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd11750012d137b0006db8b50000a015329..."} 
[2026-08-08 10:52:14] local.INFO: Packet analysis {"connection_id":150195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:52:14] local.INFO: Extracted packet for processing {"connection_id":150195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756251392,"raw_latitude":115051344,"longitude_deg":75.6251392,"latitude_deg":11.5051344,"altitude":10,"angle":339,"satellites":41,"speed":51,"hex_longitude":"2d137b00","hex_latitude":"06db8b50","is_valid_coordinates":true} 
[2026-08-08 10:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258609408001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375110834336038912,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1407586019236833280,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786166450000,"timestamp_ms":1786166450000,"timestamp_seconds":1786166450,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd11750"} 
[2026-08-08 10:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 10:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258609408001,"66":27876,"127":206,"2":56576,"24":51,"16":375110834336038912,"45":1407586019236833280},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258609408001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:52:14] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375110834336038912,"km_value":375110834336038.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1407586019236833280,"description":"Unknown IO ID 45"} 
[2026-08-08 10:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258609408001,"power":27876,"unknown_127":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1407586019236833280}} 
[2026-08-08 10:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":150195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:52:14] local.INFO: GPS data processed {"connection_id":150195,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:52:14] local.INFO: Acknowledgment sent {"connection_id":150195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:52:15] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfcfc760012d1817c0072199880042007e1d..."} 
[2026-08-08 10:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfcfc760012d1817c0072199880042007e1d..."} 
[2026-08-08 10:52:15] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfcfc760012d1817c0072199880042007e1d..."} 
[2026-08-08 10:52:15] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:52:15] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfcf"} 
[2026-08-08 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":29,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258583808001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786166364000,"timestamp_ms":1786166364000,"timestamp_seconds":1786166364,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfcfc760"} 
[2026-08-08 10:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-08 10:52:15] 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-08-08 10:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258583808001,"66":13222,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258583808001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:52:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:52:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258583808001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:52:15] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:52:15] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:52:46] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd01968012d1817c0072199880042007e1f..."} 
[2026-08-08 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd01968012d1817c0072199880042007e1f..."} 
[2026-08-08 10:52:46] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd01968012d1817c0072199880042007e1f..."} 
[2026-08-08 10:52:46] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:52:46] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258589184001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786166385000,"timestamp_ms":1786166385000,"timestamp_seconds":1786166385,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd01968"} 
[2026-08-08 10:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 10:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258589184001,"66":13135,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258589184001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:52:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258589184001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:52:46] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:52:46] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:52:47] local.INFO: TCP Data received {"connection_id":150195,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd13e60012d136f4006dbadd8000d01562a..."} 
[2026-08-08 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd13e60012d136f4006dbadd8000d01562a..."} 
[2026-08-08 10:52:47] local.INFO: Processing buffer {"connection_id":150195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd13e60012d136f4006dbadd8000d01562a..."} 
[2026-08-08 10:52:47] local.INFO: Packet analysis {"connection_id":150195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:52:47] local.INFO: Extracted packet for processing {"connection_id":150195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756248384,"raw_latitude":115060184,"longitude_deg":75.6248384,"latitude_deg":11.5060184,"altitude":13,"angle":342,"satellites":42,"speed":29,"hex_longitude":"2d136f40","hex_latitude":"06dbadd8","is_valid_coordinates":true} 
[2026-08-08 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258611200001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375111285307604992,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1403715738309185536,"note":"Value kept but may cause issues"} 
[2026-08-08 10:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786166460000,"timestamp_ms":1786166460000,"timestamp_seconds":1786166460,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd13e60"} 
[2026-08-08 10:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258611200001,"66":27865,"127":206,"2":56576,"24":29,"16":375111285307604992,"45":1403715738309185536},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-08 10:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258611200001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:52:47] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-08 10:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375111285307604992,"km_value":375111285307605.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1403715738309185536,"description":"Unknown IO ID 45"} 
[2026-08-08 10:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258611200001,"power":27865,"unknown_127":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":1403715738309185536}} 
[2026-08-08 10:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":150195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:52:47] local.INFO: GPS data processed {"connection_id":150195,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:52:47] local.INFO: Acknowledgment sent {"connection_id":150195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:53:05] local.INFO: TCP Data received {"connection_id":150462,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:05] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:05] local.INFO: IMEI packet received {"connection_id":150462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":150462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:53:09] local.INFO: TCP Data received {"connection_id":150462,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:09] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:09] local.INFO: IMEI packet received {"connection_id":150462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":150462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:53:10] local.INFO: TCP Data received {"connection_id":150462,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:10] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:53:10] local.INFO: IMEI packet received {"connection_id":150462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":150462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:53:13] local.INFO: TCP Data received {"connection_id":150462,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd26b28012d12cc0006dcfe48001101622b..."} 
[2026-08-08 10:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd26b28012d12cc0006dcfe48001101622b..."} 
[2026-08-08 10:53:13] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd26b28012d12cc0006dcfe48001101622b..."} 
[2026-08-08 10:53:13] local.INFO: Packet analysis {"connection_id":150462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:53:13] local.INFO: Extracted packet for processing {"connection_id":150462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756206592,"raw_latitude":115146312,"longitude_deg":75.6206592,"latitude_deg":11.5146312,"altitude":17,"angle":354,"satellites":43,"speed":36,"hex_longitude":"2d12cc00","hex_latitude":"06dcfe48","is_valid_coordinates":true} 
[2026-08-08 10:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258632704001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375115932462219264,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355020567361884160,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786166537000,"timestamp_ms":1786166537000,"timestamp_seconds":1786166537,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd26b28"} 
[2026-08-08 10:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258632704001,"66":27865,"129":206,"2":56576,"24":36,"16":375115932462219264,"45":1355020567361884160},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 10:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258632704001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:53:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 10:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375115932462219264,"km_value":375115932462219.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355020567361884160,"description":"Unknown IO ID 45"} 
[2026-08-08 10:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258632704001,"power":27865,"unknown_129":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1355020567361884160}} 
[2026-08-08 10:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":150462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:53:13] local.INFO: GPS data processed {"connection_id":150462,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:53:13] local.INFO: Acknowledgment sent {"connection_id":150462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:53:16] local.INFO: TCP Data received {"connection_id":150462,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd276e0012d12c98006dd08b8001101542c..."} 
[2026-08-08 10:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd276e0012d12c98006dd08b8001101542c..."} 
[2026-08-08 10:53:16] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd276e0012d12c98006dd08b8001101542c..."} 
[2026-08-08 10:53:16] local.INFO: Packet analysis {"connection_id":150462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:53:16] local.INFO: Extracted packet for processing {"connection_id":150462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756205952,"raw_latitude":115148984,"longitude_deg":75.6205952,"latitude_deg":11.5148984,"altitude":17,"angle":340,"satellites":44,"speed":36,"hex_longitude":"2d12c980","hex_latitude":"06dd08b8","is_valid_coordinates":true} 
[2026-08-08 10:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258633472001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375116069901172736,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1354457617409132544,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786166540000,"timestamp_ms":1786166540000,"timestamp_seconds":1786166540,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd276e0"} 
[2026-08-08 10:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 10:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258633472001,"66":27908,"129":206,"2":56576,"24":36,"16":375116069901172736,"45":1354457617409132544},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 10:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258633472001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:53:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 10:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375116069901172736,"km_value":375116069901172.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1354457617409132544,"description":"Unknown IO ID 45"} 
[2026-08-08 10:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258633472001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1354457617409132544}} 
[2026-08-08 10:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":150462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:53:16] local.INFO: GPS data processed {"connection_id":150462,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:53:16] local.INFO: Acknowledgment sent {"connection_id":150462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:53:18] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd06b70012d1817c0072199880042007e20..."} 
[2026-08-08 10:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd06b70012d1817c0072199880042007e20..."} 
[2026-08-08 10:53:18] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd06b70012d1817c0072199880042007e20..."} 
[2026-08-08 10:53:18] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:53:18] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258594560001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786166406000,"timestamp_ms":1786166406000,"timestamp_seconds":1786166406,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd06b70"} 
[2026-08-08 10:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 10:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258594560001,"66":13156,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258594560001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:53:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:53:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258594560001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:53:18] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:53:18] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:53:48] local.INFO: TCP Data received {"connection_id":150462,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd29df0012d12bb8006dd2c000011014f2b..."} 
[2026-08-08 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd29df0012d12bb8006dd2c000011014f2b..."} 
[2026-08-08 10:53:48] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd29df0012d12bb8006dd2c000011014f2b..."} 
[2026-08-08 10:53:48] local.INFO: Packet analysis {"connection_id":150462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:53:48] local.INFO: Extracted packet for processing {"connection_id":150462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756202368,"raw_latitude":115158016,"longitude_deg":75.6202368,"latitude_deg":11.5158016,"altitude":17,"angle":335,"satellites":43,"speed":41,"hex_longitude":"2d12bb80","hex_latitude":"06dd2c00","is_valid_coordinates":true} 
[2026-08-08 10:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258634240001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375116538052608000,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1353753929968039936,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786166550000,"timestamp_ms":1786166550000,"timestamp_seconds":1786166550,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd29df0"} 
[2026-08-08 10:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258634240001,"66":27908,"129":206,"2":56576,"24":41,"16":375116538052608000,"45":1353753929968039936},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-08-08 10:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258634240001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:53:48] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 10:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375116538052608000,"km_value":375116538052608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1353753929968039936,"description":"Unknown IO ID 45"} 
[2026-08-08 10:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258634240001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1353753929968039936}} 
[2026-08-08 10:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":150462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:53:48] local.INFO: GPS data processed {"connection_id":150462,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:53:48] local.INFO: Acknowledgment sent {"connection_id":150462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:53:49] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd0bd78012d1817c0072199880042007e20..."} 
[2026-08-08 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd0bd78012d1817c0072199880042007e20..."} 
[2026-08-08 10:53:49] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd0bd78012d1817c0072199880042007e20..."} 
[2026-08-08 10:53:49] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:53:49] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd0"} 
[2026-08-08 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258599936001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786166427000,"timestamp_ms":1786166427000,"timestamp_seconds":1786166427,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd0bd78"} 
[2026-08-08 10:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-08 10:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258599936001,"66":12406,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258599936001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:53:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:53:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258599936001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:53:50] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:53:50] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:54:10] local.INFO: TCP Data received {"connection_id":151425,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:10] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:10] local.INFO: IMEI packet received {"connection_id":151425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":151425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:54:11] local.INFO: TCP Data received {"connection_id":151425,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:11] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:11] local.INFO: IMEI packet received {"connection_id":151425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":151425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:54:16] local.INFO: TCP Data received {"connection_id":151425,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:16] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:54:16] local.INFO: IMEI packet received {"connection_id":151425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":151425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:54:17] local.INFO: TCP Data received {"connection_id":151425,"ip":"117.224.184.27","data_length":1360,"data_hex":"000000000000030f8e0a0000019fdfd2c118012d12aa4006dd4e980010014c2c..."} 
[2026-08-08 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fdfd2c118012d12aa4006dd4e980010014c2c..."} 
[2026-08-08 10:54:17] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fdfd2c118012d12aa4006dd4e980010014c2c..."} 
[2026-08-08 10:54:17] local.INFO: Packet analysis {"connection_id":151425,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:17] local.INFO: Extracted packet for processing {"connection_id":151425,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756197952,"raw_latitude":115166872,"longitude_deg":75.6197952,"latitude_deg":11.5166872,"altitude":16,"angle":332,"satellites":44,"speed":46,"hex_longitude":"2d12aa40","hex_latitude":"06dd4e98","is_valid_coordinates":true} 
[2026-08-08 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258636800001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375117014793977856,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1349813280296402944,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786166559000,"timestamp_ms":1786166559000,"timestamp_seconds":1786166559,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd2c118"} 
[2026-08-08 10:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258636800001,"66":27876,"2":56576,"24":46,"16":375117014793977856,"45":1349813280296402944},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258636800001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375117014793977856,"km_value":375117014793977.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1349813280296402944,"description":"Unknown IO ID 45"} 
[2026-08-08 10:54:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258636800001,"power":27876,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1349813280296402944}} 
[2026-08-08 10:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":151425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:54:17] local.INFO: GPS data processed {"connection_id":151425,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:54:17] local.INFO: Acknowledgment sent {"connection_id":151425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:54:17] local.INFO: Packet analysis {"connection_id":151425,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":151425,"needed":795,"available":565} 
[2026-08-08 10:54:17] local.INFO: TCP Data received {"connection_id":151425,"ip":"117.224.184.27","data_length":230,"data_hex":"2d12edc006dcba90000d01462a00380000000a000400ef0100715f00f0010045..."} 
[2026-08-08 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":230,"packet_hex":"2d12edc006dcba90000d01462a00380000000a000400ef0100715f00f0010045..."} 
[2026-08-08 10:54:17] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd2e058012d12974006dd70f0000f014a2b..."} 
[2026-08-08 10:54:17] local.INFO: Packet analysis {"connection_id":151425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:17] local.INFO: Extracted packet for processing {"connection_id":151425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756193088,"raw_latitude":115175664,"longitude_deg":75.6193088,"latitude_deg":11.5175664,"altitude":15,"angle":330,"satellites":43,"speed":53,"hex_longitude":"2d129740","hex_latitude":"06dd70f0","is_valid_coordinates":true} 
[2026-08-08 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258639104001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375117500125282304,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1344957836950411264,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786166567000,"timestamp_ms":1786166567000,"timestamp_seconds":1786166567,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd2e058"} 
[2026-08-08 10:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 10:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258639104001,"66":27908,"2":56576,"24":53,"16":375117500125282304,"45":1344957836950411264},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258639104001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375117500125282304,"km_value":375117500125282.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1344957836950411264,"description":"Unknown IO ID 45"} 
[2026-08-08 10:54:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258639104001,"power":27908,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1344957836950411264}} 
[2026-08-08 10:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":151425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:54:17] local.INFO: GPS data processed {"connection_id":151425,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:54:17] local.INFO: Acknowledgment sent {"connection_id":151425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:54:21] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd10f80012d1817c0072199880042007e1f..."} 
[2026-08-08 10:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd10f80012d1817c0072199880042007e1f..."} 
[2026-08-08 10:54:21] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd10f80012d1817c0072199880042007e1f..."} 
[2026-08-08 10:54:21] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:54:21] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258605312001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786166448000,"timestamp_ms":1786166448000,"timestamp_seconds":1786166448,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd10f80"} 
[2026-08-08 10:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 10:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258605312001,"66":13080,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258605312001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:54:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:54:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258605312001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:54:21] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:54:21] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:54:22] local.INFO: TCP Data received {"connection_id":151425,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd2fbb0012d12844006dd9330000d014b2a..."} 
[2026-08-08 10:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd2fbb0012d12844006dd9330000d014b2a..."} 
[2026-08-08 10:54:22] local.INFO: Processing buffer {"connection_id":151425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd2fbb0012d12844006dd9330000d014b2a..."} 
[2026-08-08 10:54:22] local.INFO: Packet analysis {"connection_id":151425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:22] local.INFO: Extracted packet for processing {"connection_id":151425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756188224,"raw_latitude":115184432,"longitude_deg":75.6188224,"latitude_deg":11.5184432,"altitude":13,"angle":331,"satellites":42,"speed":60,"hex_longitude":"2d128440","hex_latitude":"06dd9330","is_valid_coordinates":true} 
[2026-08-08 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258641152001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375117985456586752,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1339609812395159552,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786166574000,"timestamp_ms":1786166574000,"timestamp_seconds":1786166574,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd2fbb0"} 
[2026-08-08 10:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258641152001,"66":27821,"2":56576,"24":60,"16":375117985456586752,"45":1339609812395159552},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258641152001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375117985456586752,"km_value":375117985456586.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1339609812395159552,"description":"Unknown IO ID 45"} 
[2026-08-08 10:54:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258641152001,"power":27821,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1339609812395159552}} 
[2026-08-08 10:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":151425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:54:22] local.INFO: GPS data processed {"connection_id":151425,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:54:22] local.INFO: Acknowledgment sent {"connection_id":151425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:54:53] local.INFO: TCP Data received {"connection_id":150461,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd16188012d1817c0072199880042007e1f..."} 
[2026-08-08 10:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd16188012d1817c0072199880042007e1f..."} 
[2026-08-08 10:54:53] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd16188012d1817c0072199880042007e1f..."} 
[2026-08-08 10:54:53] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:54:53] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":31,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258610688001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786166469000,"timestamp_ms":1786166469000,"timestamp_seconds":1786166469,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd16188"} 
[2026-08-08 10:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 10:54: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-08-08 10:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258610688001,"66":13015,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258610688001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258610688001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:54:53] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:54:53] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:55:03] local.INFO: TCP Data received {"connection_id":150196,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:03] local.INFO: Processing buffer {"connection_id":150196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:03] local.INFO: IMEI packet received {"connection_id":150196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":150196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:55:05] local.INFO: TCP Data received {"connection_id":150196,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:05] local.INFO: Processing buffer {"connection_id":150196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:05] local.INFO: IMEI packet received {"connection_id":150196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":150196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:55:10] local.INFO: TCP Data received {"connection_id":150196,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:10] local.INFO: Processing buffer {"connection_id":150196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:55:10] local.INFO: IMEI packet received {"connection_id":150196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":150196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:55:12] local.INFO: TCP Data received {"connection_id":150196,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd3de40012d12424006deadf8000c01522b..."} 
[2026-08-08 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd3de40012d12424006deadf8000c01522b..."} 
[2026-08-08 10:55:12] local.INFO: Processing buffer {"connection_id":150196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd3de40012d12424006deadf8000c01522b..."} 
[2026-08-08 10:55:12] local.INFO: Packet analysis {"connection_id":150196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd3"} 
[2026-08-08 10:55:12] local.INFO: Extracted packet for processing {"connection_id":150196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd3"} 
[2026-08-08 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756171328,"raw_latitude":115256824,"longitude_deg":75.6171328,"latitude_deg":11.5256824,"altitude":12,"angle":338,"satellites":43,"speed":37,"hex_longitude":"2d124240","hex_latitude":"06deadf8","is_valid_coordinates":true} 
[2026-08-08 10:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258655232001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375121614703951872,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319062139113783296,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786166632000,"timestamp_ms":1786166632000,"timestamp_seconds":1786166632,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd3de40"} 
[2026-08-08 10:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258655232001,"66":27571,"2":56576,"24":37,"16":375121614703951872,"45":1319062139113783296},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258655232001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375121614703951872,"km_value":375121614703951.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319062139113783296,"description":"Unknown IO ID 45"} 
[2026-08-08 10:55:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258655232001,"power":27571,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1319062139113783296}} 
[2026-08-08 10:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":150196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:55:12] local.INFO: GPS data processed {"connection_id":150196,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:55:12] local.INFO: Acknowledgment sent {"connection_id":150196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:55:23] local.INFO: TCP Data received {"connection_id":152901,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:23] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:23] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:55:29] local.INFO: TCP Data received {"connection_id":152901,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:29] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:29] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:55:33] local.INFO: TCP Data received {"connection_id":152901,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:33] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:55:33] local.INFO: IMEI packet received {"connection_id":152901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":152901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:55:34] local.INFO: TCP Data received {"connection_id":152901,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd1afa8012d1817c0072199880042007e20..."} 
[2026-08-08 10:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd1afa8012d1817c0072199880042007e20..."} 
[2026-08-08 10:55:34] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd1afa8012d1817c0072199880042007e20..."} 
[2026-08-08 10:55:34] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:55:34] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd1"} 
[2026-08-08 10:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258616064001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786166489000,"timestamp_ms":1786166489000,"timestamp_seconds":1786166489,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd1afa8"} 
[2026-08-08 10:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 10:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258616064001,"66":13004,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258616064001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:55:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258616064001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:55:34] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:55:34] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:55:37] local.INFO: TCP Data received {"connection_id":152901,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd201b0012d1817c0072199880042007e20..."} 
[2026-08-08 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd201b0012d1817c0072199880042007e20..."} 
[2026-08-08 10:55:37] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd201b0012d1817c0072199880042007e20..."} 
[2026-08-08 10:55:37] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:55:37] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258621184001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55: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-08-08 10:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786166510000,"timestamp_ms":1786166510000,"timestamp_seconds":1786166510,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd201b0"} 
[2026-08-08 10:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":204,"data_length":795,"current_offset":136} 
[2026-08-08 10:55: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-08-08 10:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258621184001,"66":12993,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258621184001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:55:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258621184001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:55:37] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:55:37] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:55:43] local.INFO: TCP Data received {"connection_id":150196,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd40168012d1236c006decf18000b01572d..."} 
[2026-08-08 10:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd40168012d1236c006decf18000b01572d..."} 
[2026-08-08 10:55:43] local.INFO: Processing buffer {"connection_id":150196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd40168012d1236c006decf18000b01572d..."} 
[2026-08-08 10:55:43] local.INFO: Packet analysis {"connection_id":150196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd4"} 
[2026-08-08 10:55:43] local.INFO: Extracted packet for processing {"connection_id":150196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd4"} 
[2026-08-08 10:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756168384,"raw_latitude":115265304,"longitude_deg":75.6168384,"latitude_deg":11.5265304,"altitude":11,"angle":343,"satellites":45,"speed":42,"hex_longitude":"2d1236c0","hex_latitude":"06decf18","is_valid_coordinates":true} 
[2026-08-08 10:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258657792001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375122048495648768,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1315684439395530752,"note":"Value kept but may cause issues"} 
[2026-08-08 10:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786166641000,"timestamp_ms":1786166641000,"timestamp_seconds":1786166641,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd40168"} 
[2026-08-08 10:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 10:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258657792001,"66":27919,"1":206,"2":56576,"24":42,"16":375122048495648768,"45":1315684439395530752},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-08 10:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258657792001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375122048495648768,"km_value":375122048495648.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1315684439395530752,"description":"Unknown IO ID 45"} 
[2026-08-08 10:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258657792001,"power":27919,"imei":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":1315684439395530752}} 
[2026-08-08 10:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":150196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:55:43] local.INFO: GPS data processed {"connection_id":150196,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:55:43] local.INFO: Acknowledgment sent {"connection_id":150196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:56:05] local.INFO: TCP Data received {"connection_id":150463,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:05] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:05] local.INFO: IMEI packet received {"connection_id":150463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":150463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:56:06] local.INFO: TCP Data received {"connection_id":150463,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:06] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:06] local.INFO: IMEI packet received {"connection_id":150463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":150463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:56:09] local.INFO: TCP Data received {"connection_id":152901,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd253b8012d1817c0072199880042007e20..."} 
[2026-08-08 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd253b8012d1817c0072199880042007e20..."} 
[2026-08-08 10:56:09] local.INFO: Processing buffer {"connection_id":152901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd253b8012d1817c0072199880042007e20..."} 
[2026-08-08 10:56:09] local.INFO: Packet analysis {"connection_id":152901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:56:09] local.INFO: Extracted packet for processing {"connection_id":152901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258626560001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56: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-08-08 10:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786166531000,"timestamp_ms":1786166531000,"timestamp_seconds":1786166531,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd253b8"} 
[2026-08-08 10:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:56:09] 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-08-08 10: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":193,"data_length":795,"current_offset":136} 
[2026-08-08 10:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258626560001,"66":12961,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258626560001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:56:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258626560001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":152901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:56:09] local.INFO: GPS data processed {"connection_id":152901,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:56:09] local.INFO: Acknowledgment sent {"connection_id":152901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:56:10] local.INFO: TCP Data received {"connection_id":150463,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:10] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:56:10] local.INFO: IMEI packet received {"connection_id":150463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":150463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:56:12] local.INFO: TCP Data received {"connection_id":150463,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd52660012d11db8006e05bb0000c015629..."} 
[2026-08-08 10:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd52660012d11db8006e05bb0000c015629..."} 
[2026-08-08 10:56:12] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd52660012d11db8006e05bb0000c015629..."} 
[2026-08-08 10:56:12] local.INFO: Packet analysis {"connection_id":150463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:56:12] local.INFO: Extracted packet for processing {"connection_id":150463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756145024,"raw_latitude":115366832,"longitude_deg":75.6145024,"latitude_deg":11.5366832,"altitude":12,"angle":342,"satellites":41,"speed":62,"hex_longitude":"2d11db80","hex_latitude":"06e05bb0","is_valid_coordinates":true} 
[2026-08-08 10:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258677760001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375127103672156160,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1289577635331606528,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786166716000,"timestamp_ms":1786166716000,"timestamp_seconds":1786166716,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd52660"} 
[2026-08-08 10:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258677760001,"66":27930,"2":56576,"24":62,"16":375127103672156160,"45":1289577635331606528},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258677760001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375127103672156160,"km_value":375127103672156.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1289577635331606528,"description":"Unknown IO ID 45"} 
[2026-08-08 10:56:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258677760001,"power":27930,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1289577635331606528}} 
[2026-08-08 10:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":150463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:56:12] local.INFO: GPS data processed {"connection_id":150463,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:56:12] local.INFO: Acknowledgment sent {"connection_id":150463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:56:26] local.INFO: TCP Data received {"connection_id":150197,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:26] local.INFO: Processing buffer {"connection_id":150197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:26] local.INFO: IMEI packet received {"connection_id":150197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":150197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:56:27] local.INFO: TCP Data received {"connection_id":150197,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:27] local.INFO: Processing buffer {"connection_id":150197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:27] local.INFO: IMEI packet received {"connection_id":150197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":150197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:56:32] local.INFO: TCP Data received {"connection_id":150197,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:32] local.INFO: Processing buffer {"connection_id":150197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:56:32] local.INFO: IMEI packet received {"connection_id":150197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":150197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:56:33] local.INFO: TCP Data received {"connection_id":150197,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd2a5c0012d1817c0072199880042007e20..."} 
[2026-08-08 10:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd2a5c0012d1817c0072199880042007e20..."} 
[2026-08-08 10:56:33] local.INFO: Processing buffer {"connection_id":150197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd2a5c0012d1817c0072199880042007e20..."} 
[2026-08-08 10:56:33] local.INFO: Packet analysis {"connection_id":150197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:56:33] local.INFO: Extracted packet for processing {"connection_id":150197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258631936001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786166552000,"timestamp_ms":1786166552000,"timestamp_seconds":1786166552,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd2a5c0"} 
[2026-08-08 10:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:56:33] 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-08-08 10:56: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":161,"data_length":795,"current_offset":136} 
[2026-08-08 10:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258631936001,"66":12863,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258631936001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:56:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258631936001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":150197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:56:33] local.INFO: GPS data processed {"connection_id":150197,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:56:33] local.INFO: Acknowledgment sent {"connection_id":150197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:56:44] local.INFO: TCP Data received {"connection_id":150463,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd53dd0012d11d1c006e07ec8000b015a2a..."} 
[2026-08-08 10:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd53dd0012d11d1c006e07ec8000b015a2a..."} 
[2026-08-08 10:56:44] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd53dd0012d11d1c006e07ec8000b015a2a..."} 
[2026-08-08 10:56:44] local.INFO: Packet analysis {"connection_id":150463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:56:44] local.INFO: Extracted packet for processing {"connection_id":150463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756142528,"raw_latitude":115375816,"longitude_deg":75.6142528,"latitude_deg":11.5375816,"altitude":11,"angle":346,"satellites":42,"speed":60,"hex_longitude":"2d11d1c0","hex_latitude":"06e07ec8","is_valid_coordinates":true} 
[2026-08-08 10:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258679296001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375127554643722240,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1286762885566672896,"note":"Value kept but may cause issues"} 
[2026-08-08 10:56:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786166722000,"timestamp_ms":1786166722000,"timestamp_seconds":1786166722,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd53dd0"} 
[2026-08-08 10:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258679296001,"66":27919,"2":56576,"24":60,"16":375127554643722240,"45":1286762885566672896},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258679296001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375127554643722240,"km_value":375127554643722.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1286762885566672896,"description":"Unknown IO ID 45"} 
[2026-08-08 10:56:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258679296001,"power":27919,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1286762885566672896}} 
[2026-08-08 10:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":150463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:56:44] local.INFO: GPS data processed {"connection_id":150463,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:56:44] local.INFO: Acknowledgment sent {"connection_id":150463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:57:05] local.INFO: TCP Data received {"connection_id":150197,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd2f7c8012d1817c0072199880042007e20..."} 
[2026-08-08 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd2f7c8012d1817c0072199880042007e20..."} 
[2026-08-08 10:57:05] local.INFO: Processing buffer {"connection_id":150197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd2f7c8012d1817c0072199880042007e20..."} 
[2026-08-08 10:57:05] local.INFO: Packet analysis {"connection_id":150197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:57:05] local.INFO: Extracted packet for processing {"connection_id":150197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd2"} 
[2026-08-08 10:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":32,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258637312001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57: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-08-08 10:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786166573000,"timestamp_ms":1786166573000,"timestamp_seconds":1786166573,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd2f7c8"} 
[2026-08-08 10:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-08 10:57: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-08-08 10:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258637312001,"66":12885,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258637312001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:57:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258637312001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":150197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:57:05] local.INFO: GPS data processed {"connection_id":150197,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:57:05] local.INFO: Acknowledgment sent {"connection_id":150197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:57:05] local.INFO: TCP Data received {"connection_id":152902,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:57:05] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:57:05] local.INFO: IMEI packet received {"connection_id":152902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":152902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:57:10] local.INFO: TCP Data received {"connection_id":152902,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:57:10] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:57:10] local.INFO: IMEI packet received {"connection_id":152902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":152902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:57:12] local.INFO: TCP Data received {"connection_id":152902,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd55540012d11cbc006e0a1c0000a016029..."} 
[2026-08-08 10:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd55540012d11cbc006e0a1c0000a016029..."} 
[2026-08-08 10:57:12] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd55540012d11cbc006e0a1c0000a016029..."} 
[2026-08-08 10:57:12] local.INFO: Packet analysis {"connection_id":152902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:57:12] local.INFO: Extracted packet for processing {"connection_id":152902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756140992,"raw_latitude":115384768,"longitude_deg":75.6140992,"latitude_deg":11.5384768,"altitude":10,"angle":352,"satellites":41,"speed":59,"hex_longitude":"2d11cbc0","hex_latitude":"06e0a1c0","is_valid_coordinates":true} 
[2026-08-08 10:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258680832001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375127992730386432,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1284018504546043904,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786166728000,"timestamp_ms":1786166728000,"timestamp_seconds":1786166728,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd55540"} 
[2026-08-08 10:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 10:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258680832001,"66":27767,"2":56576,"24":59,"16":375127992730386432,"45":1284018504546043904},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258680832001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375127992730386432,"km_value":375127992730386.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1284018504546043904,"description":"Unknown IO ID 45"} 
[2026-08-08 10:57:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258680832001,"power":27767,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1284018504546043904}} 
[2026-08-08 10:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":152902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:57:12] local.INFO: GPS data processed {"connection_id":152902,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:57:12] local.INFO: Acknowledgment sent {"connection_id":152902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:57:27] local.INFO: TCP Data received {"connection_id":150464,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:27] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:27] local.INFO: IMEI packet received {"connection_id":150464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":150464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:57:29] local.INFO: TCP Data received {"connection_id":150464,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:29] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:29] local.INFO: IMEI packet received {"connection_id":150464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":150464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:57:32] local.INFO: TCP Data received {"connection_id":150464,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:32] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:57:32] local.INFO: IMEI packet received {"connection_id":150464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":150464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:57:33] local.INFO: TCP Data received {"connection_id":150464,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd69590012d1817c0072199880042007e21..."} 
[2026-08-08 10:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd69590012d1817c0072199880042007e21..."} 
[2026-08-08 10:57:33] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd69590012d1817c0072199880042007e21..."} 
[2026-08-08 10:57:33] local.INFO: Packet analysis {"connection_id":150464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:57:33] local.INFO: Extracted packet for processing {"connection_id":150464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258703360001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786166810000,"timestamp_ms":1786166810000,"timestamp_seconds":1786166810,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd69590"} 
[2026-08-08 10:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 10:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258703360001,"66":12667,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258703360001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:57:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258703360001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":150464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:57:33] local.INFO: GPS data processed {"connection_id":150464,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:57:33] local.INFO: Acknowledgment sent {"connection_id":150464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:57:44] local.INFO: TCP Data received {"connection_id":152902,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd56cb0012d11c7c006e0c4c8000801612a..."} 
[2026-08-08 10:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd56cb0012d11c7c006e0c4c8000801612a..."} 
[2026-08-08 10:57:44] local.INFO: Processing buffer {"connection_id":152902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd56cb0012d11c7c006e0c4c8000801612a..."} 
[2026-08-08 10:57:44] local.INFO: Packet analysis {"connection_id":152902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:57:44] local.INFO: Extracted packet for processing {"connection_id":152902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd5"} 
[2026-08-08 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756139968,"raw_latitude":115393736,"longitude_deg":75.6139968,"latitude_deg":11.5393736,"altitude":8,"angle":353,"satellites":42,"speed":59,"hex_longitude":"2d11c7c0","hex_latitude":"06e0c4c8","is_valid_coordinates":true} 
[2026-08-08 10:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258682368001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375128430817050624,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1282329654688071680,"note":"Value kept but may cause issues"} 
[2026-08-08 10:57:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 10:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786166734000,"timestamp_ms":1786166734000,"timestamp_seconds":1786166734,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd56cb0"} 
[2026-08-08 10:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 10:57: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-08-08 10:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258682368001,"66":27767,"2":56576,"24":59,"16":375128430817050624,"45":1282329654688071680},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-08 10:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258682368001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375128430817050624,"km_value":375128430817050.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1282329654688071680,"description":"Unknown IO ID 45"} 
[2026-08-08 10:57:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457258682368001,"power":27767,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1282329654688071680}} 
[2026-08-08 10:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":152902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:57:44] local.INFO: GPS data processed {"connection_id":152902,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:57:44] local.INFO: Acknowledgment sent {"connection_id":152902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:58:04] local.INFO: TCP Data received {"connection_id":150464,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd69590012d1817c0072199880042007e21..."} 
[2026-08-08 10:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd69590012d1817c0072199880042007e21..."} 
[2026-08-08 10:58:04] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd69590012d1817c0072199880042007e21..."} 
[2026-08-08 10:58:04] local.INFO: Packet analysis {"connection_id":150464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:04] local.INFO: Extracted packet for processing {"connection_id":150464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258703360001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58: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-08-08 10:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786166810000,"timestamp_ms":1786166810000,"timestamp_seconds":1786166810,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd69590"} 
[2026-08-08 10:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 10:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258703360001,"66":12667,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258703360001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:58:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258703360001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":150464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:58:04] local.INFO: GPS data processed {"connection_id":150464,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:58:04] local.INFO: Acknowledgment sent {"connection_id":150464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:58:05] local.INFO: TCP Data received {"connection_id":151426,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:58:05] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:58:05] local.INFO: IMEI packet received {"connection_id":151426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":151426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:58:09] local.INFO: TCP Data received {"connection_id":151426,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:58:09] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:58:09] local.INFO: IMEI packet received {"connection_id":151426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":151426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:58:11] local.INFO: TCP Data received {"connection_id":151426,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd6c470012d11838006e25b30000c00052a..."} 
[2026-08-08 10:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd6c470012d11838006e25b30000c00052a..."} 
[2026-08-08 10:58:11] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd6c470012d11838006e25b30000c00052a..."} 
[2026-08-08 10:58:11] local.INFO: Packet analysis {"connection_id":151426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:11] local.INFO: Extracted packet for processing {"connection_id":151426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756122496,"raw_latitude":115497776,"longitude_deg":75.6122496,"latitude_deg":11.5497776,"altitude":12,"angle":5,"satellites":42,"speed":45,"hex_longitude":"2d118380","hex_latitude":"06e25b30","is_valid_coordinates":true} 
[2026-08-08 10:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258704128001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375133601957675008,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1260937556484696064,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786166822000,"timestamp_ms":1786166822000,"timestamp_seconds":1786166822,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd6c470"} 
[2026-08-08 10:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 10:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258704128001,"66":27887,"100":206,"2":56576,"24":45,"16":375133601957675008,"45":1260937556484696064},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 10:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258704128001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:58:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 10:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375133601957675008,"km_value":375133601957675.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1260937556484696064,"description":"Unknown IO ID 45"} 
[2026-08-08 10:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258704128001,"power":27887,"unknown_100":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1260937556484696064}} 
[2026-08-08 10:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":151426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:58:11] local.INFO: GPS data processed {"connection_id":151426,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:58:11] local.INFO: Acknowledgment sent {"connection_id":151426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:58:27] local.INFO: TCP Data received {"connection_id":151427,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:58:27] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:58:27] local.INFO: IMEI packet received {"connection_id":151427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":151427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:58:32] local.INFO: TCP Data received {"connection_id":151427,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:58:32] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:58:32] local.INFO: IMEI packet received {"connection_id":151427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":151427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:58:33] local.INFO: TCP Data received {"connection_id":151427,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd6a148012d1817c0072199880042007e21..."} 
[2026-08-08 10:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd6a148012d1817c0072199880042007e21..."} 
[2026-08-08 10:58:33] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd6a148012d1817c0072199880042007e21..."} 
[2026-08-08 10:58:33] local.INFO: Packet analysis {"connection_id":151427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:33] local.INFO: Extracted packet for processing {"connection_id":151427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258703360001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786166813000,"timestamp_ms":1786166813000,"timestamp_seconds":1786166813,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd6a148"} 
[2026-08-08 10:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 10:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258703360001,"66":11471,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258703360001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:58:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258703360001,"power":11471,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":151427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:58:33] local.INFO: GPS data processed {"connection_id":151427,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:58:33] local.INFO: Acknowledgment sent {"connection_id":151427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:58:48] local.INFO: TCP Data received {"connection_id":151426,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd6dfc8012d11874006e27de0000a00052a..."} 
[2026-08-08 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd6dfc8012d11874006e27de0000a00052a..."} 
[2026-08-08 10:58:48] local.INFO: Processing buffer {"connection_id":151426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd6dfc8012d11874006e27de0000a00052a..."} 
[2026-08-08 10:58:48] local.INFO: Packet analysis {"connection_id":151426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:48] local.INFO: Extracted packet for processing {"connection_id":151426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756123456,"raw_latitude":115506656,"longitude_deg":75.6123456,"latitude_deg":11.5506656,"altitude":10,"angle":5,"satellites":42,"speed":55,"hex_longitude":"2d118740","hex_latitude":"06e27de0","is_valid_coordinates":true} 
[2026-08-08 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258706432001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375134035749371904,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261993087649656832,"note":"Value kept but may cause issues"} 
[2026-08-08 10:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786166829000,"timestamp_ms":1786166829000,"timestamp_seconds":1786166829,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd6dfc8"} 
[2026-08-08 10:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 10:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258706432001,"66":27071,"100":206,"2":56576,"24":55,"16":375134035749371904,"45":1261993087649656832},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 10:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258706432001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 10:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375134035749371904,"km_value":375134035749371.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261993087649656832,"description":"Unknown IO ID 45"} 
[2026-08-08 10:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258706432001,"power":27071,"unknown_100":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1261993087649656832}} 
[2026-08-08 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":151426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:58:48] local.INFO: GPS data processed {"connection_id":151426,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:58:48] local.INFO: Acknowledgment sent {"connection_id":151426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:59:04] local.INFO: TCP Data received {"connection_id":151427,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd6ef68012d1817c0072199880042007e21..."} 
[2026-08-08 10:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd6ef68012d1817c0072199880042007e21..."} 
[2026-08-08 10:59:04] local.INFO: Processing buffer {"connection_id":151427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd6ef68012d1817c0072199880042007e21..."} 
[2026-08-08 10:59:04] local.INFO: Packet analysis {"connection_id":151427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:59:04] local.INFO: Extracted packet for processing {"connection_id":151427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756553664,"raw_latitude":119642504,"longitude_deg":75.6553664,"latitude_deg":11.9642504,"altitude":66,"angle":126,"satellites":33,"speed":0,"hex_longitude":"2d1817c0","hex_latitude":"07219988","is_valid_coordinates":true} 
[2026-08-08 10:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258704128001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338335704317952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736067318235629568,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59: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-08-08 10:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786166833000,"timestamp_ms":1786166833000,"timestamp_seconds":1786166833,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd6ef68"} 
[2026-08-08 10:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 10:59:04] 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-08-08 10:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258704128001,"66":13961,"120":206,"28":31744,"24":0,"16":11338335704317952,"45":1736067318235629568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258704128001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:59:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338335704317952,"km_value":11338335704317.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736067318235629568,"description":"Unknown IO ID 45"} 
[2026-08-08 10:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258704128001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736067318235629568}} 
[2026-08-08 10:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":151427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:59:04] local.INFO: GPS data processed {"connection_id":151427,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:59:04] local.INFO: Acknowledgment sent {"connection_id":151427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:59:17] local.INFO: TCP Data received {"connection_id":152903,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:59:17] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 10:59:17] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 10:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:59:22] local.INFO: TCP Data received {"connection_id":152903,"ip":"117.224.184.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:59:22] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 10:59:22] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:59:26] local.INFO: TCP Data received {"connection_id":152903,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd6fb20012d11898006e2a4e0000a01672c..."} 
[2026-08-08 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd6fb20012d11898006e2a4e0000a01672c..."} 
[2026-08-08 10:59:26] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fdf..."} 
[2026-08-08 10:59:26] local.INFO: IMEI packet received {"connection_id":152903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 10:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":152903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:59:27] local.INFO: TCP Data received {"connection_id":152904,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:59:27] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:59:27] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 10:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 10:59:32] local.INFO: TCP Data received {"connection_id":152904,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:59:32] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 10:59:32] local.INFO: IMEI packet received {"connection_id":152904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 10:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":152904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 10:59:33] local.INFO: TCP Data received {"connection_id":152904,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd87dd8012d182a400721bf180049005123..."} 
[2026-08-08 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd87dd8012d182a400721bf180049005123..."} 
[2026-08-08 10:59:33] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd87dd8012d182a400721bf180049005123..."} 
[2026-08-08 10:59:33] local.INFO: Packet analysis {"connection_id":152904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 10:59:33] local.INFO: Extracted packet for processing {"connection_id":152904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119652120,"longitude_deg":75.65584,"latitude_deg":11.965212,"altitude":73,"angle":81,"satellites":35,"speed":2,"hex_longitude":"2d182a40","hex_latitude":"0721bf18","is_valid_coordinates":true} 
[2026-08-08 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258731776001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338932704772096,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130330529792,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786166935000,"timestamp_ms":1786166935000,"timestamp_seconds":1786166935,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd87dd8"} 
[2026-08-08 10:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:59: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":218,"data_length":795,"current_offset":136} 
[2026-08-08 10:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258731776001,"66":14070,"120":206,"28":31744,"24":2,"16":11338932704772096,"45":1740993130330529792},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258731776001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338932704772096,"km_value":11338932704772.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130330529792,"description":"Unknown IO ID 45"} 
[2026-08-08 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258731776001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1740993130330529792}} 
[2026-08-08 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":152904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:59:33] local.INFO: GPS data processed {"connection_id":152904,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:59:33] local.INFO: Acknowledgment sent {"connection_id":152904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:59:33] local.INFO: TCP Data received {"connection_id":152903,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd71678012d11854006e2cbb8000c015d2c..."} 
[2026-08-08 10:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd71678012d11854006e2cbb8000c015d2c..."} 
[2026-08-08 10:59:33] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fdfd6fb20012d11898006e2a4e0000a01672c..."} 
[2026-08-08 10:59:33] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:59:33] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd6"} 
[2026-08-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756124032,"raw_latitude":115516640,"longitude_deg":75.6124032,"latitude_deg":11.551664,"altitude":10,"angle":359,"satellites":44,"speed":57,"hex_longitude":"2d118980","hex_latitude":"06e2a4e0","is_valid_coordinates":true} 
[2026-08-08 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258708224001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375134521080676352,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263048618814595072,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786166836000,"timestamp_ms":1786166836000,"timestamp_seconds":1786166836,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd6fb20"} 
[2026-08-08 10:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:59: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 10:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258708224001,"66":27908,"100":206,"2":56576,"24":57,"16":375134521080676352,"45":1263048618814595072},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258708224001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375134521080676352,"km_value":375134521080676.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263048618814595072,"description":"Unknown IO ID 45"} 
[2026-08-08 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258708224001,"power":27908,"unknown_100":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1263048618814595072}} 
[2026-08-08 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:59:33] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:59:33] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:59:33] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd7"} 
[2026-08-08 10:59:33] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd7"} 
[2026-08-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756122944,"raw_latitude":115526584,"longitude_deg":75.6122944,"latitude_deg":11.5526584,"altitude":12,"angle":349,"satellites":44,"speed":55,"hex_longitude":"2d118540","hex_latitude":"06e2cbb8","is_valid_coordinates":true} 
[2026-08-08 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258710016001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375135006411980800,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263681937514749952,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786166843000,"timestamp_ms":1786166843000,"timestamp_seconds":1786166843,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd71678"} 
[2026-08-08 10:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 10:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258710016001,"66":27832,"100":206,"2":56576,"24":55,"16":375135006411980800,"45":1263681937514749952},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 10:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258710016001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 10:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375135006411980800,"km_value":375135006411980.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263681937514749952,"description":"Unknown IO ID 45"} 
[2026-08-08 10:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258710016001,"power":27832,"unknown_100":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1263681937514749952}} 
[2026-08-08 10:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:59:33] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:59:33] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 10:59:41] local.INFO: TCP Data received {"connection_id":152903,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd731d0012d117bc006e2ef10000e01592c..."} 
[2026-08-08 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd731d0012d117bc006e2ef10000e01592c..."} 
[2026-08-08 10:59:41] local.INFO: Processing buffer {"connection_id":152903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd731d0012d117bc006e2ef10000e01592c..."} 
[2026-08-08 10:59:41] local.INFO: Packet analysis {"connection_id":152903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd7"} 
[2026-08-08 10:59:41] local.INFO: Extracted packet for processing {"connection_id":152903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd7"} 
[2026-08-08 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756120512,"raw_latitude":115535632,"longitude_deg":75.6120512,"latitude_deg":11.5535632,"altitude":14,"angle":345,"satellites":44,"speed":52,"hex_longitude":"2d117bc0","hex_latitude":"06e2ef10","is_valid_coordinates":true} 
[2026-08-08 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258711808001,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375135457383546880,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262485668866275328,"note":"Value kept but may cause issues"} 
[2026-08-08 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786166850000,"timestamp_ms":1786166850000,"timestamp_seconds":1786166850,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd731d0"} 
[2026-08-08 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 10:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 10:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 10:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258711808001,"66":27843,"100":206,"2":56576,"24":52,"16":375135457383546880,"45":1262485668866275328},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-08-08 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258711808001,"description":"Unknown IO ID 0"} 
[2026-08-08 10:59:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375135457383546880,"km_value":375135457383546.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 10:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262485668866275328,"description":"Unknown IO ID 45"} 
[2026-08-08 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258711808001,"power":27843,"unknown_100":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1262485668866275328}} 
[2026-08-08 10:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":152903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 10:59:41] local.INFO: GPS data processed {"connection_id":152903,"processed":1,"errors":0,"total":1} 
[2026-08-08 10:59:41] local.INFO: Acknowledgment sent {"connection_id":152903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:00:04] local.INFO: TCP Data received {"connection_id":152904,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd881c0012d182a800721bf100049005d23..."} 
[2026-08-08 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd881c0012d182a800721bf100049005d23..."} 
[2026-08-08 11:00:04] local.INFO: Processing buffer {"connection_id":152904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd881c0012d182a800721bf100049005d23..."} 
[2026-08-08 11:00:04] local.INFO: Packet analysis {"connection_id":152904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 11:00:04] local.INFO: Extracted packet for processing {"connection_id":152904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119652112,"longitude_deg":75.6558464,"latitude_deg":11.9652112,"altitude":73,"angle":93,"satellites":35,"speed":2,"hex_longitude":"2d182a80","hex_latitude":"0721bf10","is_valid_coordinates":true} 
[2026-08-08 11:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258735360001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338936999739392,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307238400,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00: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-08-08 11:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786166936000,"timestamp_ms":1786166936000,"timestamp_seconds":1786166936,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd881c0"} 
[2026-08-08 11:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 11:00: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-08-08 11:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":152904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":152904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":152904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258735360001,"66":14265,"120":206,"28":31744,"24":2,"16":11338936999739392,"45":1741274605307238400},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258735360001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338936999739392,"km_value":11338936999739.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307238400,"description":"Unknown IO ID 45"} 
[2026-08-08 11:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258735360001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1741274605307238400}} 
[2026-08-08 11:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":152904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:00:05] local.INFO: GPS data processed {"connection_id":152904,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:00:05] local.INFO: Acknowledgment sent {"connection_id":152904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:00:31] local.INFO: TCP Data received {"connection_id":151429,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:31] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:31] local.INFO: IMEI packet received {"connection_id":151429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":151429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:00:32] local.INFO: TCP Data received {"connection_id":151429,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:32] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:32] local.INFO: IMEI packet received {"connection_id":151429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":151429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:00:37] local.INFO: TCP Data received {"connection_id":151429,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:37] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:00:37] local.INFO: IMEI packet received {"connection_id":151429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":151429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:00:38] local.INFO: TCP Data received {"connection_id":151429,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd88990012d182b000721be980049008223..."} 
[2026-08-08 11:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd88990012d182b000721be980049008223..."} 
[2026-08-08 11:00:38] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd88990012d182b000721be980049008223..."} 
[2026-08-08 11:00:38] local.INFO: Packet analysis {"connection_id":151429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 11:00:38] local.INFO: Extracted packet for processing {"connection_id":151429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 11:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119651992,"longitude_deg":75.6558592,"latitude_deg":11.9651992,"altitude":73,"angle":130,"satellites":35,"speed":4,"hex_longitude":"2d182b00","hex_latitude":"0721be98","is_valid_coordinates":true} 
[2026-08-08 11:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258735616001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338945589673984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974051414016,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00: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-08-08 11:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786166938000,"timestamp_ms":1786166938000,"timestamp_seconds":1786166938,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd88990"} 
[2026-08-08 11:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 11:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258735616001,"66":13852,"120":206,"28":31744,"24":4,"16":11338945589673984,"45":1741344974051414016},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258735616001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:00:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338945589673984,"km_value":11338945589673.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974051414016,"description":"Unknown IO ID 45"} 
[2026-08-08 11:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258735616001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1741344974051414016}} 
[2026-08-08 11:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":151429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:00:38] local.INFO: GPS data processed {"connection_id":151429,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:00:38] local.INFO: Acknowledgment sent {"connection_id":151429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:00:43] local.INFO: TCP Data received {"connection_id":151429,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd88d78012d182b400721be20004900a523..."} 
[2026-08-08 11:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd88d78012d182b400721be20004900a523..."} 
[2026-08-08 11:00:43] local.INFO: Processing buffer {"connection_id":151429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd88d78012d182b400721be20004900a523..."} 
[2026-08-08 11:00:43] local.INFO: Packet analysis {"connection_id":151429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 11:00:43] local.INFO: Extracted packet for processing {"connection_id":151429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd8"} 
[2026-08-08 11:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119651872,"longitude_deg":75.6558656,"latitude_deg":11.9651872,"altitude":73,"angle":165,"satellites":35,"speed":6,"hex_longitude":"2d182b40","hex_latitude":"0721be20","is_valid_coordinates":true} 
[2026-08-08 11:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258736128001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11338954179608576,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711539738624,"note":"Value kept but may cause issues"} 
[2026-08-08 11:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786166939000,"timestamp_ms":1786166939000,"timestamp_seconds":1786166939,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd88d78"} 
[2026-08-08 11:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-08 11:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258736128001,"66":14233,"120":206,"28":31744,"24":6,"16":11338954179608576,"45":1741485711539738624},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258736128001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:00:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11338954179608576,"km_value":11338954179608.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711539738624,"description":"Unknown IO ID 45"} 
[2026-08-08 11:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258736128001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1741485711539738624}} 
[2026-08-08 11:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":151429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:00:43] local.INFO: GPS data processed {"connection_id":151429,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:00:43] local.INFO: Acknowledgment sent {"connection_id":151429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:01:22] local.INFO: TCP Data received {"connection_id":151428,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:01:22] local.INFO: Processing buffer {"connection_id":151428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:01:22] local.INFO: IMEI packet received {"connection_id":151428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":151428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:01:25] local.INFO: TCP Data received {"connection_id":151428,"ip":"117.224.184.27","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 11:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151428,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 11:01:25] local.INFO: Processing buffer {"connection_id":151428,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 11:01:25] local.INFO: IMEI packet received {"connection_id":151428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":151428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:01:27] local.INFO: TCP Data received {"connection_id":150465,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:01:27] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:01:27] local.INFO: IMEI packet received {"connection_id":150465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":150465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:01:29] local.INFO: TCP Data received {"connection_id":150465,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:01:29] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:01:29] local.INFO: IMEI packet received {"connection_id":150465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":150465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:01:30] local.INFO: TCP Data received {"connection_id":150465,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd9c210012d18274007219f48004c007923..."} 
[2026-08-08 11:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd9c210012d18274007219f48004c007923..."} 
[2026-08-08 11:01:30] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd9c210012d18274007219f48004c007923..."} 
[2026-08-08 11:01:30] local.INFO: Packet analysis {"connection_id":150465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd9"} 
[2026-08-08 11:01:30] local.INFO: Extracted packet for processing {"connection_id":150465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd9"} 
[2026-08-08 11:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119643976,"longitude_deg":75.6557632,"latitude_deg":11.9643976,"altitude":76,"angle":121,"satellites":35,"speed":3,"hex_longitude":"2d182740","hex_latitude":"07219f48","is_valid_coordinates":true} 
[2026-08-08 11:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258753024001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339418036076544,"note":"Value kept but may cause issues"} 
[2026-08-08 11:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654209024,"note":"Value kept but may cause issues"} 
[2026-08-08 11:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786167018000,"timestamp_ms":1786167018000,"timestamp_seconds":1786167018,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd9c210"} 
[2026-08-08 11:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 11:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258753024001,"66":13993,"120":206,"28":31744,"24":3,"16":11339418036076544,"45":1740078336654209024},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258753024001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:01:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339418036076544,"km_value":11339418036076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654209024,"description":"Unknown IO ID 45"} 
[2026-08-08 11:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258753024001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1740078336654209024}} 
[2026-08-08 11:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":150465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:01:30] local.INFO: GPS data processed {"connection_id":150465,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:01:30] local.INFO: Acknowledgment sent {"connection_id":150465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:02:02] local.INFO: TCP Data received {"connection_id":150465,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfd9c9e0012d18280007219eb8004b008523..."} 
[2026-08-08 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfd9c9e0012d18280007219eb8004b008523..."} 
[2026-08-08 11:02:02] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfd9c9e0012d18280007219eb8004b008523..."} 
[2026-08-08 11:02:02] local.INFO: Packet analysis {"connection_id":150465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfd9"} 
[2026-08-08 11:02:02] local.INFO: Extracted packet for processing {"connection_id":150465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfd9"} 
[2026-08-08 11:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119643832,"longitude_deg":75.6557824,"latitude_deg":11.9643832,"altitude":75,"angle":133,"satellites":35,"speed":6,"hex_longitude":"2d182800","hex_latitude":"07219eb8","is_valid_coordinates":true} 
[2026-08-08 11:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258756608001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339430920978432,"note":"Value kept but may cause issues"} 
[2026-08-08 11:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375021568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786167020000,"timestamp_ms":1786167020000,"timestamp_seconds":1786167020,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfd9c9e0"} 
[2026-08-08 11:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:02: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":169,"data_length":795,"current_offset":136} 
[2026-08-08 11:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258756608001,"66":14048,"120":206,"28":31744,"24":6,"16":11339430920978432,"45":1740430180375021568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258756608001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:02:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339430920978432,"km_value":11339430920978.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375021568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258756608001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740430180375021568}} 
[2026-08-08 11:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":150465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:02:02] local.INFO: GPS data processed {"connection_id":150465,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:02:02] local.INFO: Acknowledgment sent {"connection_id":150465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:02:27] local.INFO: TCP Data received {"connection_id":152905,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:02:27] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:02:27] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:02:32] local.INFO: TCP Data received {"connection_id":152905,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:02:32] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:02:32] local.INFO: IMEI packet received {"connection_id":152905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":152905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:02:33] local.INFO: TCP Data received {"connection_id":152905,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfda1418012d182a4007219c98004b007c21..."} 
[2026-08-08 11:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfda1418012d182a4007219c98004b007c21..."} 
[2026-08-08 11:02:33] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfda1418012d182a4007219c98004b007c21..."} 
[2026-08-08 11:02:33] local.INFO: Packet analysis {"connection_id":152905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:02:33] local.INFO: Extracted packet for processing {"connection_id":152905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":33,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 11:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258757120001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286607517696,"note":"Value kept but may cause issues"} 
[2026-08-08 11:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167039000,"timestamp_ms":1786167039000,"timestamp_seconds":1786167039,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfda1418"} 
[2026-08-08 11:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 11:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258757120001,"66":14004,"120":206,"28":31744,"24":0,"16":11339469575684096,"45":1740641286607517696},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258757120001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286607517696,"description":"Unknown IO ID 45"} 
[2026-08-08 11:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258757120001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740641286607517696}} 
[2026-08-08 11:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":152905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:02:33] local.INFO: GPS data processed {"connection_id":152905,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:02:33] local.INFO: Acknowledgment sent {"connection_id":152905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:03:05] local.INFO: TCP Data received {"connection_id":152905,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfda6238012d182a4007219c98004b007c20..."} 
[2026-08-08 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfda6238012d182a4007219c98004b007c20..."} 
[2026-08-08 11:03:05] local.INFO: Processing buffer {"connection_id":152905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfda6238012d182a4007219c98004b007c20..."} 
[2026-08-08 11:03:05] local.INFO: Packet analysis {"connection_id":152905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:03:05] local.INFO: Extracted packet for processing {"connection_id":152905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":32,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 11:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258761984001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167059000,"timestamp_ms":1786167059000,"timestamp_seconds":1786167059,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfda6238"} 
[2026-08-08 11:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":180,"data_length":795,"current_offset":136} 
[2026-08-08 11:03: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-08-08 11:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258761984001,"66":14102,"120":206,"28":31744,"24":0,"16":11339469575684096,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258761984001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:03:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258761984001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":152905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:03:05] local.INFO: GPS data processed {"connection_id":152905,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:03:05] local.INFO: Acknowledgment sent {"connection_id":152905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:03:27] local.INFO: TCP Data received {"connection_id":152906,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:03:27] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:03:27] local.INFO: IMEI packet received {"connection_id":152906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":152906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:03:32] local.INFO: TCP Data received {"connection_id":152906,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:03:32] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:03:32] local.INFO: IMEI packet received {"connection_id":152906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":152906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:03:34] local.INFO: TCP Data received {"connection_id":152906,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdab058012d182a4007219c98004b007c22..."} 
[2026-08-08 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdab058012d182a4007219c98004b007c22..."} 
[2026-08-08 11:03:34] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdab058012d182a4007219c98004b007c22..."} 
[2026-08-08 11:03:34] local.INFO: Packet analysis {"connection_id":152906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:03:34] local.INFO: Extracted packet for processing {"connection_id":152906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":34,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 11:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258767104001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786167079000,"timestamp_ms":1786167079000,"timestamp_seconds":1786167079,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdab058"} 
[2026-08-08 11:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 11:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258767104001,"66":14070,"120":206,"28":31744,"24":0,"16":11339469575684096,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258767104001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:03:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258767104001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":152906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:03:34] local.INFO: GPS data processed {"connection_id":152906,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:03:34] local.INFO: Acknowledgment sent {"connection_id":152906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:04:06] local.INFO: TCP Data received {"connection_id":152906,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdafe78012d182a4007219c98004b007c21..."} 
[2026-08-08 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdafe78012d182a4007219c98004b007c21..."} 
[2026-08-08 11:04:06] local.INFO: Processing buffer {"connection_id":152906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdafe78012d182a4007219c98004b007c21..."} 
[2026-08-08 11:04:06] local.INFO: Packet analysis {"connection_id":152906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:04:06] local.INFO: Extracted packet for processing {"connection_id":152906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfda"} 
[2026-08-08 11:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":33,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258772224001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786167099000,"timestamp_ms":1786167099000,"timestamp_seconds":1786167099,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdafe78"} 
[2026-08-08 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-08-08 11:04: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-08-08 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 11:04: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-08-08 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-08-08 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-08-08 11:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":152906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":152906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258772224001,"66":14080,"120":206,"28":31744,"24":0,"16":11339469575684096,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258772224001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:04:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258772224001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":152906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:04:06] local.INFO: GPS data processed {"connection_id":152906,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:04:06] local.INFO: Acknowledgment sent {"connection_id":152906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:04:27] local.INFO: TCP Data received {"connection_id":150200,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:04:27] local.INFO: Processing buffer {"connection_id":150200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:04:27] local.INFO: IMEI packet received {"connection_id":150200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":150200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:04:32] local.INFO: TCP Data received {"connection_id":150200,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:04:32] local.INFO: Processing buffer {"connection_id":150200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:04:32] local.INFO: IMEI packet received {"connection_id":150200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":150200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:04:33] local.INFO: TCP Data received {"connection_id":150200,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdb48b0012d182a4007219c98004b007c22..."} 
[2026-08-08 11:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdb48b0012d182a4007219c98004b007c22..."} 
[2026-08-08 11:04:33] local.INFO: Processing buffer {"connection_id":150200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdb48b0012d182a4007219c98004b007c22..."} 
[2026-08-08 11:04:33] local.INFO: Packet analysis {"connection_id":150200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdb"} 
[2026-08-08 11:04:33] local.INFO: Extracted packet for processing {"connection_id":150200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdb"} 
[2026-08-08 11:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":34,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 11:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258777344001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167118000,"timestamp_ms":1786167118000,"timestamp_seconds":1786167118,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdb48b0"} 
[2026-08-08 11:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3755576160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3653885953,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2662858827,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-08 11:04:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-08-08 11:04:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,73,159,176,45,64,156,75,34,10,66,98,32,20,1,240,180,223,33,4,113,205,6,194,39,72,35,239,54,2,40,7,76],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-08 11:04:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404456034020360192,"timestamp_seconds":5404456034020360.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 11:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258777344001,"66":14048,"120":206,"28":31744,"24":0,"16":11339469575684096,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258777344001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:04:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258777344001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":150200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:04:34] local.INFO: GPS data processed {"connection_id":150200,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:04:34] local.INFO: Acknowledgment sent {"connection_id":150200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:05:05] local.INFO: TCP Data received {"connection_id":150200,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdb96d0012d182a4007219c98004b007c22..."} 
[2026-08-08 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdb96d0012d182a4007219c98004b007c22..."} 
[2026-08-08 11:05:05] local.INFO: Processing buffer {"connection_id":150200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdb96d0012d182a4007219c98004b007c22..."} 
[2026-08-08 11:05:05] local.INFO: Packet analysis {"connection_id":150200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdb"} 
[2026-08-08 11:05:05] local.INFO: Extracted packet for processing {"connection_id":150200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdb"} 
[2026-08-08 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":34,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258782208001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05: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-08-08 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167138000,"timestamp_ms":1786167138000,"timestamp_seconds":1786167138,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdb96d0"} 
[2026-08-08 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-08-08 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 11:05: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-08-08 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-08-08 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-08-08 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258782208001,"66":14363,"120":206,"28":31744,"24":0,"16":11339469575684096,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258782208001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:05:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258782208001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":150200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:05:05] local.INFO: GPS data processed {"connection_id":150200,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:05:05] local.INFO: Acknowledgment sent {"connection_id":150200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:05:36] local.INFO: TCP Data received {"connection_id":150201,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:05:36] local.INFO: Processing buffer {"connection_id":150201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:05:36] local.INFO: IMEI packet received {"connection_id":150201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:05:37] local.INFO: TCP Data received {"connection_id":150201,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:05:37] local.INFO: Processing buffer {"connection_id":150201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:05:37] local.INFO: IMEI packet received {"connection_id":150201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":150201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:05:38] local.INFO: TCP Data received {"connection_id":150201,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdbe108012d182a4007219c98004b007c22..."} 
[2026-08-08 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdbe108012d182a4007219c98004b007c22..."} 
[2026-08-08 11:05:38] local.INFO: Processing buffer {"connection_id":150201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdbe108012d182a4007219c98004b007c22..."} 
[2026-08-08 11:05:38] local.INFO: Packet analysis {"connection_id":150201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdb"} 
[2026-08-08 11:05:38] local.INFO: Extracted packet for processing {"connection_id":150201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdb"} 
[2026-08-08 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643288,"longitude_deg":75.65584,"latitude_deg":11.9643288,"altitude":75,"angle":124,"satellites":34,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-08-08 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258787328001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339469575684096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786167157000,"timestamp_ms":1786167157000,"timestamp_seconds":1786167157,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdbe108"} 
[2026-08-08 11:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:05: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-08-08 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 11:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258787328001,"66":13135,"121":206,"28":31744,"24":0,"16":11339469575684096,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258787328001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:05:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339469575684096,"km_value":11339469575684.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258787328001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":150201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:05:38] local.INFO: GPS data processed {"connection_id":150201,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:05:38] local.INFO: Acknowledgment sent {"connection_id":150201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:05:39] local.INFO: TCP Data received {"connection_id":150201,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc0430012d18344007219750004c006b22..."} 
[2026-08-08 11:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc0430012d18344007219750004c006b22..."} 
[2026-08-08 11:05:39] local.INFO: Processing buffer {"connection_id":150201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc0430012d18344007219750004c006b22..."} 
[2026-08-08 11:05:39] local.INFO: Packet analysis {"connection_id":150201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:05:39] local.INFO: Extracted packet for processing {"connection_id":150201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119641936,"longitude_deg":75.656096,"latitude_deg":11.9641936,"altitude":76,"angle":107,"satellites":34,"speed":23,"hex_longitude":"2d183440","hex_latitude":"07219750","is_valid_coordinates":true} 
[2026-08-08 11:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258792192001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11339611309604864,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605304977408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786167166000,"timestamp_ms":1786167166000,"timestamp_seconds":1786167166,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc0430"} 
[2026-08-08 11:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 11:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258792192001,"66":13276,"121":206,"28":31744,"24":23,"16":11339611309604864,"45":1741274605304977408},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258792192001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:05:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11339611309604864,"km_value":11339611309604.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605304977408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258792192001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1741274605304977408}} 
[2026-08-08 11:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":150201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:05:39] local.INFO: GPS data processed {"connection_id":150201,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:05:39] local.INFO: Acknowledgment sent {"connection_id":150201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:06:05] local.INFO: TCP Data received {"connection_id":150466,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:06:05] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:06:05] local.INFO: IMEI packet received {"connection_id":150466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":150466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:06:10] local.INFO: TCP Data received {"connection_id":150466,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:06:10] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:06:10] local.INFO: IMEI packet received {"connection_id":150466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":150466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:06:10] local.INFO: TCP Data received {"connection_id":150201,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc36f8012d18560007218958004e007622..."} 
[2026-08-08 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc36f8012d18560007218958004e007622..."} 
[2026-08-08 11:06:10] local.INFO: Processing buffer {"connection_id":150201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc36f8012d18560007218958004e007622..."} 
[2026-08-08 11:06:10] local.INFO: Packet analysis {"connection_id":150201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:10] local.INFO: Extracted packet for processing {"connection_id":150201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119638360,"longitude_deg":75.65696,"latitude_deg":11.963836,"altitude":78,"angle":118,"satellites":34,"speed":28,"hex_longitude":"2d185600","hex_latitude":"07218958","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258794496001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340053691236352,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071737856,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786167179000,"timestamp_ms":1786167179000,"timestamp_seconds":1786167179,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc36f8"} 
[2026-08-08 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-08-08 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 11:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258794496001,"66":13167,"121":206,"28":31744,"24":28,"16":11340053691236352,"45":1744089355071737856},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258794496001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:06:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340053691236352,"km_value":11340053691236.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071737856,"description":"Unknown IO ID 45"} 
[2026-08-08 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258794496001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1744089355071737856}} 
[2026-08-08 11:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":150201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:06:10] local.INFO: GPS data processed {"connection_id":150201,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:06:10] local.INFO: Acknowledgment sent {"connection_id":150201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:06:13] local.INFO: TCP Data received {"connection_id":150466,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc36f8012d0eb88006e77e080009013f2d..."} 
[2026-08-08 11:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc36f8012d0eb88006e77e080009013f2d..."} 
[2026-08-08 11:06:13] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc36f8012d0eb88006e77e080009013f2d..."} 
[2026-08-08 11:06:13] local.INFO: Packet analysis {"connection_id":150466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:13] local.INFO: Extracted packet for processing {"connection_id":150466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:13] local.INFO: GPS Element Parsed {"raw_longitude":755939456,"raw_latitude":115834376,"longitude_deg":75.5939456,"latitude_deg":11.5834376,"altitude":9,"angle":319,"satellites":45,"speed":6,"hex_longitude":"2d0eb880","hex_latitude":"06e77e08","is_valid_coordinates":true} 
[2026-08-08 11:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258792448001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375153345922334720,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064116179107332096,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786167179000,"timestamp_ms":1786167179000,"timestamp_seconds":1786167179,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc36f8"} 
[2026-08-08 11:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 11:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258792448001,"66":28050,"217":206,"2":56576,"24":6,"16":375153345922334720,"45":1064116179107332096},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 11:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258792448001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:06:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 11:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375153345922334720,"km_value":375153345922334.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064116179107332096,"description":"Unknown IO ID 45"} 
[2026-08-08 11:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258792448001,"power":28050,"unknown_217":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1064116179107332096}} 
[2026-08-08 11:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":150466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:06:13] local.INFO: GPS data processed {"connection_id":150466,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:06:13] local.INFO: Acknowledgment sent {"connection_id":150466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:06:27] local.INFO: TCP Data received {"connection_id":151433,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:06:27] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:06:27] local.INFO: IMEI packet received {"connection_id":151433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":151433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:06:32] local.INFO: TCP Data received {"connection_id":151433,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:06:32] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:06:32] local.INFO: IMEI packet received {"connection_id":151433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":151433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:06:33] local.INFO: TCP Data received {"connection_id":151433,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc4a80012d186240072183a0004d006a22..."} 
[2026-08-08 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc4a80012d186240072183a0004d006a22..."} 
[2026-08-08 11:06:33] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc4a80012d186240072183a0004d006a22..."} 
[2026-08-08 11:06:33] local.INFO: Packet analysis {"connection_id":151433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:33] local.INFO: Extracted packet for processing {"connection_id":151433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756572736,"raw_latitude":119636896,"longitude_deg":75.6572736,"latitude_deg":11.9636896,"altitude":77,"angle":106,"satellites":34,"speed":22,"hex_longitude":"2d186240","hex_latitude":"072183a0","is_valid_coordinates":true} 
[2026-08-08 11:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258797824001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340221194960896,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753589135534807040,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06: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-08-08 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167184000,"timestamp_ms":1786167184000,"timestamp_seconds":1786167184,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc4a80"} 
[2026-08-08 11:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-08 11:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258797824001,"66":13222,"121":206,"28":31744,"24":22,"16":11340221194960896,"45":1753589135534807040},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258797824001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340221194960896,"km_value":11340221194960.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753589135534807040,"description":"Unknown IO ID 45"} 
[2026-08-08 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258797824001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1753589135534807040}} 
[2026-08-08 11:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":151433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:06:33] local.INFO: GPS data processed {"connection_id":151433,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:06:33] local.INFO: Acknowledgment sent {"connection_id":151433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:06:38] local.INFO: TCP Data received {"connection_id":151433,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc5e08012d186a0007218248004b005a21..."} 
[2026-08-08 11:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc5e08012d186a0007218248004b005a21..."} 
[2026-08-08 11:06:38] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc5e08012d186a0007218248004b005a21..."} 
[2026-08-08 11:06:38] local.INFO: Packet analysis {"connection_id":151433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:38] local.INFO: Extracted packet for processing {"connection_id":151433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756574720,"raw_latitude":119636552,"longitude_deg":75.657472,"latitude_deg":11.9636552,"altitude":75,"angle":90,"satellites":33,"speed":12,"hex_longitude":"2d186a00","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-08-08 11:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258799104001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340315684241408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757037203999137792,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786167189000,"timestamp_ms":1786167189000,"timestamp_seconds":1786167189,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc5e08"} 
[2026-08-08 11:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 11:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258799104001,"66":13167,"121":206,"28":31744,"24":12,"16":11340315684241408,"45":1757037203999137792},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258799104001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340315684241408,"km_value":11340315684241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757037203999137792,"description":"Unknown IO ID 45"} 
[2026-08-08 11:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258799104001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1757037203999137792}} 
[2026-08-08 11:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":151433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:06:38] local.INFO: GPS data processed {"connection_id":151433,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:06:38] local.INFO: Acknowledgment sent {"connection_id":151433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:06:45] local.INFO: TCP Data received {"connection_id":150466,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc65d8012d0eb34006e78388000a012e2c..."} 
[2026-08-08 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc65d8012d0eb34006e78388000a012e2c..."} 
[2026-08-08 11:06:45] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc65d8012d0eb34006e78388000a012e2c..."} 
[2026-08-08 11:06:45] local.INFO: Packet analysis {"connection_id":150466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:45] local.INFO: Extracted packet for processing {"connection_id":150466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:06:45] local.INFO: GPS Element Parsed {"raw_longitude":755938112,"raw_latitude":115835784,"longitude_deg":75.5938112,"latitude_deg":11.5835784,"altitude":10,"angle":302,"satellites":44,"speed":7,"hex_longitude":"2d0eb340","hex_latitude":"06e78388","is_valid_coordinates":true} 
[2026-08-08 11:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258797824001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375153444706582528,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060738479387707392,"note":"Value kept but may cause issues"} 
[2026-08-08 11:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786167191000,"timestamp_ms":1786167191000,"timestamp_seconds":1786167191,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc65d8"} 
[2026-08-08 11:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 11:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258797824001,"66":27995,"217":206,"2":56576,"24":7,"16":375153444706582528,"45":1060738479387707392},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 11:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258797824001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:06:45] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 11:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375153444706582528,"km_value":375153444706582.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1060738479387707392,"description":"Unknown IO ID 45"} 
[2026-08-08 11:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258797824001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1060738479387707392}} 
[2026-08-08 11:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":150466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:06:45] local.INFO: GPS data processed {"connection_id":150466,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:06:45] local.INFO: Acknowledgment sent {"connection_id":150466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:07:05] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:07:05] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:07:05] local.INFO: IMEI packet received {"connection_id":150467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":150467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:07:09] local.INFO: TCP Data received {"connection_id":151433,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdc7190012d186f4007218268004c004d21..."} 
[2026-08-08 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdc7190012d186f4007218268004c004d21..."} 
[2026-08-08 11:07:09] local.INFO: Processing buffer {"connection_id":151433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdc7190012d186f4007218268004c004d21..."} 
[2026-08-08 11:07:09] local.INFO: Packet analysis {"connection_id":151433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:07:09] local.INFO: Extracted packet for processing {"connection_id":151433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119636584,"longitude_deg":75.6576064,"latitude_deg":11.9636584,"altitude":76,"angle":77,"satellites":33,"speed":6,"hex_longitude":"2d186f40","hex_latitude":"07218268","is_valid_coordinates":true} 
[2026-08-08 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258800384001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340380108750848,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759218635068557312,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07: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-08-08 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786167194000,"timestamp_ms":1786167194000,"timestamp_seconds":1786167194,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdc7190"} 
[2026-08-08 11:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":111,"data_length":795,"current_offset":136} 
[2026-08-08 11:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258800384001,"66":13135,"121":206,"28":31744,"24":6,"16":11340380108750848,"45":1759218635068557312},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258800384001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340380108750848,"km_value":11340380108750.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759218635068557312,"description":"Unknown IO ID 45"} 
[2026-08-08 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258800384001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1759218635068557312}} 
[2026-08-08 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":151433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:07:09] local.INFO: GPS data processed {"connection_id":151433,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:07:09] local.INFO: Acknowledgment sent {"connection_id":151433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:07:10] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:07:10] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:07:10] local.INFO: IMEI packet received {"connection_id":150467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":150467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:07:14] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdcb7e0012d0ea70006e78a70000a01382b..."} 
[2026-08-08 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdcb7e0012d0ea70006e78a70000a01382b..."} 
[2026-08-08 11:07:14] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdcb7e0012d0ea70006e78a70000a01382b..."} 
[2026-08-08 11:07:14] local.INFO: Packet analysis {"connection_id":150467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:07:14] local.INFO: Extracted packet for processing {"connection_id":150467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":755934976,"raw_latitude":115837552,"longitude_deg":75.5934976,"latitude_deg":11.5837552,"altitude":10,"angle":312,"satellites":43,"speed":5,"hex_longitude":"2d0ea700","hex_latitude":"06e78a70","is_valid_coordinates":true} 
[2026-08-08 11:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258800896001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375153616505274368,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1059260735760336896,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786167212000,"timestamp_ms":1786167212000,"timestamp_seconds":1786167212,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdcb7e0"} 
[2026-08-08 11:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258800896001,"66":27995,"217":206,"2":56576,"24":5,"16":375153616505274368,"45":1059260735760336896},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 11:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258800896001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:07:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 11:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375153616505274368,"km_value":375153616505274.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1059260735760336896,"description":"Unknown IO ID 45"} 
[2026-08-08 11:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258800896001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1059260735760336896}} 
[2026-08-08 11:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":150467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:07:14] local.INFO: GPS data processed {"connection_id":150467,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:07:14] local.INFO: Acknowledgment sent {"connection_id":150467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:07:27] local.INFO: TCP Data received {"connection_id":150202,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:07:27] local.INFO: Processing buffer {"connection_id":150202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:07:27] local.INFO: IMEI packet received {"connection_id":150202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":150202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:07:32] local.INFO: TCP Data received {"connection_id":150202,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:07:32] local.INFO: Processing buffer {"connection_id":150202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:07:32] local.INFO: IMEI packet received {"connection_id":150202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":150202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:07:33] local.INFO: TCP Data received {"connection_id":150202,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdcc398012d187200072182f0004d005021..."} 
[2026-08-08 11:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdcc398012d187200072182f0004d005021..."} 
[2026-08-08 11:07:33] local.INFO: Processing buffer {"connection_id":150202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdcc398012d187200072182f0004d005021..."} 
[2026-08-08 11:07:33] local.INFO: Packet analysis {"connection_id":150202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:07:33] local.INFO: Extracted packet for processing {"connection_id":150202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdc"} 
[2026-08-08 11:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636720,"longitude_deg":75.6576768,"latitude_deg":11.963672,"altitude":77,"angle":80,"satellites":33,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258801664001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340414468489216,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378696296448,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07: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-08-08 11:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167215000,"timestamp_ms":1786167215000,"timestamp_seconds":1786167215,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdcc398"} 
[2026-08-08 11:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 11:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258801664001,"66":13091,"121":206,"28":31744,"24":0,"16":11340414468489216,"45":1760696378696296448},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258801664001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:07:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:07:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340414468489216,"km_value":11340414468489.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378696296448,"description":"Unknown IO ID 45"} 
[2026-08-08 11:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258801664001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1760696378696296448}} 
[2026-08-08 11:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":150202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:07:33] local.INFO: GPS data processed {"connection_id":150202,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:07:33] local.INFO: Acknowledgment sent {"connection_id":150202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:07:46] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdd09e8012d0ea20006e78f00000a01392b..."} 
[2026-08-08 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdd09e8012d0ea20006e78f00000a01392b..."} 
[2026-08-08 11:07:46] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdd09e8012d0ea20006e78f00000a01392b..."} 
[2026-08-08 11:07:46] local.INFO: Packet analysis {"connection_id":150467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:07:46] local.INFO: Extracted packet for processing {"connection_id":150467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":755933696,"raw_latitude":115838720,"longitude_deg":75.5933696,"latitude_deg":11.583872,"altitude":10,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d0ea200","hex_latitude":"06e78f00","is_valid_coordinates":true} 
[2026-08-08 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258806272001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375153702404620288,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1055812667296083968,"note":"Value kept but may cause issues"} 
[2026-08-08 11:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786167233000,"timestamp_ms":1786167233000,"timestamp_seconds":1786167233,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdd09e8"} 
[2026-08-08 11:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:07: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-08-08 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258806272001,"66":28050,"217":206,"2":56576,"24":0,"16":375153702404620288,"45":1055812667296083968},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 11:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258806272001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:07:46] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 11:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375153702404620288,"km_value":375153702404620.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1055812667296083968,"description":"Unknown IO ID 45"} 
[2026-08-08 11:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258806272001,"power":28050,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1055812667296083968}} 
[2026-08-08 11:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":150467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:07:46] local.INFO: GPS data processed {"connection_id":150467,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:07:46] local.INFO: Acknowledgment sent {"connection_id":150467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:08:05] local.INFO: TCP Data received {"connection_id":150202,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdd15a0012d187200072182f0004d005022..."} 
[2026-08-08 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdd15a0012d187200072182f0004d005022..."} 
[2026-08-08 11:08:05] local.INFO: Processing buffer {"connection_id":150202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdd15a0012d187200072182f0004d005022..."} 
[2026-08-08 11:08:05] local.INFO: Packet analysis {"connection_id":150202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:05] local.INFO: Extracted packet for processing {"connection_id":150202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636720,"longitude_deg":75.6576768,"latitude_deg":11.963672,"altitude":77,"angle":80,"satellites":34,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-08 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258807040001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340414468489216,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434882285568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167236000,"timestamp_ms":1786167236000,"timestamp_seconds":1786167236,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdd15a0"} 
[2026-08-08 11:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 11:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258807040001,"66":13080,"121":206,"28":31744,"24":0,"16":11340414468489216,"45":1761470434882285568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258807040001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340414468489216,"km_value":11340414468489.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434882285568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258807040001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1761470434882285568}} 
[2026-08-08 11:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":150202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:08:05] local.INFO: GPS data processed {"connection_id":150202,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:08:05] local.INFO: Acknowledgment sent {"connection_id":150202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:08:11] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:08:11] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:08:11] local.INFO: IMEI packet received {"connection_id":152907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":152907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:08:15] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:08:15] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:08:15] local.INFO: IMEI packet received {"connection_id":152907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":152907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:08:17] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdd5bf0012d0e9bc006e79560000a013f2b..."} 
[2026-08-08 11:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdd5bf0012d0e9bc006e79560000a013f2b..."} 
[2026-08-08 11:08:17] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdd5bf0012d0e9bc006e79560000a013f2b..."} 
[2026-08-08 11:08:17] local.INFO: Packet analysis {"connection_id":152907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:17] local.INFO: Extracted packet for processing {"connection_id":152907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:17] local.INFO: GPS Element Parsed {"raw_longitude":755932096,"raw_latitude":115840352,"longitude_deg":75.5932096,"latitude_deg":11.5840352,"altitude":10,"angle":319,"satellites":43,"speed":7,"hex_longitude":"2d0e9bc0","hex_latitude":"06e79560","is_valid_coordinates":true} 
[2026-08-08 11:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258811648001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375153814073769984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1054405292412829696,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786167254000,"timestamp_ms":1786167254000,"timestamp_seconds":1786167254,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdd5bf0"} 
[2026-08-08 11:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 11:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258811648001,"66":27919,"217":206,"2":56576,"24":7,"16":375153814073769984,"45":1054405292412829696},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 11:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258811648001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:08:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 11:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375153814073769984,"km_value":375153814073770.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1054405292412829696,"description":"Unknown IO ID 45"} 
[2026-08-08 11:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258811648001,"power":27919,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1054405292412829696}} 
[2026-08-08 11:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":152907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:08:17] local.INFO: GPS data processed {"connection_id":152907,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:08:17] local.INFO: Acknowledgment sent {"connection_id":152907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:08:23] local.INFO: TCP Data received {"connection_id":152907,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfddadf8012d0e970006e79ab0000a013f2a..."} 
[2026-08-08 11:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfddadf8012d0e970006e79ab0000a013f2a..."} 
[2026-08-08 11:08:23] local.INFO: Processing buffer {"connection_id":152907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfddadf8012d0e970006e79ab0000a013f2a..."} 
[2026-08-08 11:08:23] local.INFO: Packet analysis {"connection_id":152907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:23] local.INFO: Extracted packet for processing {"connection_id":152907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":755930880,"raw_latitude":115841712,"longitude_deg":75.593088,"latitude_deg":11.5841712,"altitude":10,"angle":319,"satellites":42,"speed":7,"hex_longitude":"2d0e9700","hex_latitude":"06e79ab0","is_valid_coordinates":true} 
[2026-08-08 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258817024001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375153904268083200,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052646073808805888,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786167275000,"timestamp_ms":1786167275000,"timestamp_seconds":1786167275,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfddadf8"} 
[2026-08-08 11:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":152907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":152907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":152907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258817024001,"66":27767,"217":206,"2":56576,"24":7,"16":375153904268083200,"45":1052646073808805888},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-08 11:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258817024001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:08:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 11:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375153904268083200,"km_value":375153904268083.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052646073808805888,"description":"Unknown IO ID 45"} 
[2026-08-08 11:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258817024001,"power":27767,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1052646073808805888}} 
[2026-08-08 11:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":152907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:08:23] local.INFO: GPS data processed {"connection_id":152907,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:08:23] local.INFO: Acknowledgment sent {"connection_id":152907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:08:25] local.INFO: TCP Data received {"connection_id":150203,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:25] local.INFO: Processing buffer {"connection_id":150203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:25] local.INFO: IMEI packet received {"connection_id":150203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":150203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:08:27] local.INFO: TCP Data received {"connection_id":150203,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:27] local.INFO: Processing buffer {"connection_id":150203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:27] local.INFO: IMEI packet received {"connection_id":150203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":150203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:08:32] local.INFO: TCP Data received {"connection_id":150203,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:32] local.INFO: Processing buffer {"connection_id":150203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:08:32] local.INFO: IMEI packet received {"connection_id":150203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":150203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:08:33] local.INFO: TCP Data received {"connection_id":150203,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfdd67a8012d187200072182f0004d005023..."} 
[2026-08-08 11:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfdd67a8012d187200072182f0004d005023..."} 
[2026-08-08 11:08:33] local.INFO: Processing buffer {"connection_id":150203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfdd67a8012d187200072182f0004d005023..."} 
[2026-08-08 11:08:33] local.INFO: Packet analysis {"connection_id":150203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:33] local.INFO: Extracted packet for processing {"connection_id":150203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636720,"longitude_deg":75.6576768,"latitude_deg":11.963672,"altitude":77,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-08 11:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258812416001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340414468489216,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434882285568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:08: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-08-08 11:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167257000,"timestamp_ms":1786167257000,"timestamp_seconds":1786167257,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfdd67a8"} 
[2026-08-08 11:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 11:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258812416001,"66":13080,"121":206,"28":31744,"24":0,"16":11340414468489216,"45":1761470434882285568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258812416001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:08:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340414468489216,"km_value":11340414468489.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434882285568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258812416001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1761470434882285568}} 
[2026-08-08 11:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":150203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:08:33] local.INFO: GPS data processed {"connection_id":150203,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:08:33] local.INFO: Acknowledgment sent {"connection_id":150203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:09:05] local.INFO: TCP Data received {"connection_id":150203,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfddb9b0012d187200072182f0004d005023..."} 
[2026-08-08 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfddb9b0012d187200072182f0004d005023..."} 
[2026-08-08 11:09:05] local.INFO: Processing buffer {"connection_id":150203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfddb9b0012d187200072182f0004d005023..."} 
[2026-08-08 11:09:05] local.INFO: Packet analysis {"connection_id":150203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:09:05] local.INFO: Extracted packet for processing {"connection_id":150203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfdd"} 
[2026-08-08 11:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636720,"longitude_deg":75.6576768,"latitude_deg":11.963672,"altitude":77,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-08 11:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258817792001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340414468489216,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434882285568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167278000,"timestamp_ms":1786167278000,"timestamp_seconds":1786167278,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfddb9b0"} 
[2026-08-08 11:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:09: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-08-08 11: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 11:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258817792001,"66":13015,"121":206,"28":31744,"24":0,"16":11340414468489216,"45":1761470434882285568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258817792001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:09:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340414468489216,"km_value":11340414468489.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434882285568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258817792001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1761470434882285568}} 
[2026-08-08 11:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":150203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:09:05] local.INFO: GPS data processed {"connection_id":150203,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:09:05] local.INFO: Acknowledgment sent {"connection_id":150203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:09:06] local.INFO: TCP Data received {"connection_id":151434,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:09:06] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:09:06] local.INFO: IMEI packet received {"connection_id":151434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":151434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:09:10] local.INFO: TCP Data received {"connection_id":151434,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:09:10] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:09:10] local.INFO: IMEI packet received {"connection_id":151434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":151434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:09:12] local.INFO: TCP Data received {"connection_id":151434,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe0cad8012d0e728006e81418000700042c..."} 
[2026-08-08 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe0cad8012d0e728006e81418000700042c..."} 
[2026-08-08 11:09:12] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe0cad8012d0e728006e81418000700042c..."} 
[2026-08-08 11:09:12] local.INFO: Packet analysis {"connection_id":151434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe0"} 
[2026-08-08 11:09:12] local.INFO: Extracted packet for processing {"connection_id":151434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe0"} 
[2026-08-08 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":755921536,"raw_latitude":115872792,"longitude_deg":75.5921536,"latitude_deg":11.5872792,"altitude":7,"angle":4,"satellites":44,"speed":10,"hex_longitude":"2d0e7280","hex_latitude":"06e81418","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258872320001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375155532060688384,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041668549724223488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786167479000,"timestamp_ms":1786167479000,"timestamp_seconds":1786167479,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe0cad8"} 
[2026-08-08 11:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":97,"data_length":795,"current_offset":136} 
[2026-08-08 11:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258872320001,"66":27919,"218":206,"2":56576,"24":10,"16":375155532060688384,"45":1041668549724223488},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-08 11:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258872320001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:09:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 11:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375155532060688384,"km_value":375155532060688.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041668549724223488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258872320001,"power":27919,"unknown_218":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":1041668549724223488}} 
[2026-08-08 11:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":151434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:09:12] local.INFO: GPS data processed {"connection_id":151434,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:09:12] local.INFO: Acknowledgment sent {"connection_id":151434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:09:27] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:27] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:27] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:09:28] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:28] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:28] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:09:32] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.134.104","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:32] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:09:32] local.INFO: IMEI packet received {"connection_id":152908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":152908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:09:33] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfde0bb8012d187200072182f0004d005023..."} 
[2026-08-08 11:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfde0bb8012d187200072182f0004d005023..."} 
[2026-08-08 11:09:33] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfde0bb8012d187200072182f0004d005023..."} 
[2026-08-08 11:09:33] local.INFO: Packet analysis {"connection_id":152908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfde"} 
[2026-08-08 11:09:33] local.INFO: Extracted packet for processing {"connection_id":152908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfde"} 
[2026-08-08 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636720,"longitude_deg":75.6576768,"latitude_deg":11.963672,"altitude":77,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-08 11:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258823168001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340414468489216,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434882285568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09: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-08-08 11:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167299000,"timestamp_ms":1786167299000,"timestamp_seconds":1786167299,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfde0bb8"} 
[2026-08-08 11:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 11:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258823168001,"66":12863,"121":206,"28":31744,"24":0,"16":11340414468489216,"45":1761470434882285568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258823168001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340414468489216,"km_value":11340414468489.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434882285568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258823168001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1761470434882285568}} 
[2026-08-08 11:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":152908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:09:33] local.INFO: GPS data processed {"connection_id":152908,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:09:33] local.INFO: Acknowledgment sent {"connection_id":152908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:09:45] local.INFO: TCP Data received {"connection_id":151434,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe10188012d0e74c006e82b38000900132b..."} 
[2026-08-08 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe10188012d0e74c006e82b38000900132b..."} 
[2026-08-08 11:09:45] local.INFO: Processing buffer {"connection_id":151434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe10188012d0e74c006e82b38000900132b..."} 
[2026-08-08 11:09:45] local.INFO: Packet analysis {"connection_id":151434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:09:45] local.INFO: Extracted packet for processing {"connection_id":151434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:09:45] local.INFO: GPS Element Parsed {"raw_longitude":755922112,"raw_latitude":115878712,"longitude_deg":75.5922112,"latitude_deg":11.5878712,"altitude":9,"angle":19,"satellites":43,"speed":20,"hex_longitude":"2d0e74c0","hex_latitude":"06e82b38","is_valid_coordinates":true} 
[2026-08-08 11:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258874624001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375155824118464512,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041035231027795968,"note":"Value kept but may cause issues"} 
[2026-08-08 11:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786167493000,"timestamp_ms":1786167493000,"timestamp_seconds":1786167493,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe10188"} 
[2026-08-08 11:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258874624001,"66":27974,"218":206,"2":56576,"24":20,"16":375155824118464512,"45":1041035231027795968},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-08 11:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258874624001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:09:45] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 11:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375155824118464512,"km_value":375155824118464.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041035231027795968,"description":"Unknown IO ID 45"} 
[2026-08-08 11:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258874624001,"power":27974,"unknown_218":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":1041035231027795968}} 
[2026-08-08 11:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":151434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:09:45] local.INFO: GPS data processed {"connection_id":151434,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:09:45] local.INFO: Acknowledgment sent {"connection_id":151434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:10:05] local.INFO: TCP Data received {"connection_id":152908,"ip":"117.225.134.104","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfde5dc0012d187200072182f0004d005023..."} 
[2026-08-08 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfde5dc0012d187200072182f0004d005023..."} 
[2026-08-08 11:10:05] local.INFO: Processing buffer {"connection_id":152908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfde5dc0012d187200072182f0004d005023..."} 
[2026-08-08 11:10:05] local.INFO: Packet analysis {"connection_id":152908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfde"} 
[2026-08-08 11:10:05] local.INFO: Extracted packet for processing {"connection_id":152908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfde"} 
[2026-08-08 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119636720,"longitude_deg":75.6576768,"latitude_deg":11.963672,"altitude":77,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d187200","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-08 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258828544001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11340414468489216,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434882285568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167320000,"timestamp_ms":1786167320000,"timestamp_seconds":1786167320,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfde5dc0"} 
[2026-08-08 11:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:10: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-08-08 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-08 11:10: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-08-08 11:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.134.104","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258828544001,"66":12993,"121":206,"28":31744,"24":0,"16":11340414468489216,"45":1761470434882285568},"client_ip":"117.225.134.104","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258828544001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11340414468489216,"km_value":11340414468489.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434882285568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258828544001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1761470434882285568}} 
[2026-08-08 11:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":152908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:10:05] local.INFO: GPS data processed {"connection_id":152908,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:10:05] local.INFO: Acknowledgment sent {"connection_id":152908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:10:11] local.INFO: TCP Data received {"connection_id":152909,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:10:11] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:10:11] local.INFO: IMEI packet received {"connection_id":152909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":152909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:10:15] local.INFO: TCP Data received {"connection_id":152909,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:10:15] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:10:15] local.INFO: IMEI packet received {"connection_id":152909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":152909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:10:18] local.INFO: TCP Data received {"connection_id":152909,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe124b0012d0e7cc006e83dc8000800062c..."} 
[2026-08-08 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe124b0012d0e7cc006e83dc8000800062c..."} 
[2026-08-08 11:10:18] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe124b0012d0e7cc006e83dc8000800062c..."} 
[2026-08-08 11:10:18] local.INFO: Packet analysis {"connection_id":152909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:10:18] local.INFO: Extracted packet for processing {"connection_id":152909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":755924160,"raw_latitude":115883464,"longitude_deg":75.592416,"latitude_deg":11.5883464,"altitude":8,"angle":6,"satellites":44,"speed":23,"hex_longitude":"2d0e7cc0","hex_latitude":"06e83dc8","is_valid_coordinates":true} 
[2026-08-08 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258878208001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375156073226567680,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041668549726910464,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786167502000,"timestamp_ms":1786167502000,"timestamp_seconds":1786167502,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe124b0"} 
[2026-08-08 11:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258878208001,"66":27767,"218":206,"2":56576,"24":23,"16":375156073226567680,"45":1041668549726910464},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-08 11:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258878208001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:10:18] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 11:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375156073226567680,"km_value":375156073226567.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041668549726910464,"description":"Unknown IO ID 45"} 
[2026-08-08 11:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258878208001,"power":27767,"unknown_218":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":1041668549726910464}} 
[2026-08-08 11:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":152909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:10:18] local.INFO: GPS data processed {"connection_id":152909,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:10:18] local.INFO: Acknowledgment sent {"connection_id":152909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:10:21] local.INFO: TCP Data received {"connection_id":152909,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe176b8012d0e7d4006e85be0000800042c..."} 
[2026-08-08 11:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe176b8012d0e7d4006e85be0000800042c..."} 
[2026-08-08 11:10:21] local.INFO: Processing buffer {"connection_id":152909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe176b8012d0e7d4006e85be0000800042c..."} 
[2026-08-08 11:10:21] local.INFO: Packet analysis {"connection_id":152909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:10:21] local.INFO: Extracted packet for processing {"connection_id":152909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:10:21] local.INFO: GPS Element Parsed {"raw_longitude":755924288,"raw_latitude":115891168,"longitude_deg":75.5924288,"latitude_deg":11.5891168,"altitude":8,"angle":4,"satellites":44,"speed":16,"hex_longitude":"2d0e7d40","hex_latitude":"06e85be0","is_valid_coordinates":true} 
[2026-08-08 11:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258880512001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375156451183689728,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043920349541812224,"note":"Value kept but may cause issues"} 
[2026-08-08 11:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786167523000,"timestamp_ms":1786167523000,"timestamp_seconds":1786167523,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe176b8"} 
[2026-08-08 11:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 11:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258880512001,"66":27930,"218":206,"2":56576,"24":16,"16":375156451183689728,"45":1043920349541812224},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-08 11:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258880512001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 11:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375156451183689728,"km_value":375156451183689.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043920349541812224,"description":"Unknown IO ID 45"} 
[2026-08-08 11:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258880512001,"power":27930,"unknown_218":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":1043920349541812224}} 
[2026-08-08 11:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":152909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:10:21] local.INFO: GPS data processed {"connection_id":152909,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:10:21] local.INFO: Acknowledgment sent {"connection_id":152909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:11:02] local.INFO: TCP Data received {"connection_id":150204,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:02] local.INFO: Processing buffer {"connection_id":150204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:02] local.INFO: IMEI packet received {"connection_id":150204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":150204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:11:05] local.INFO: TCP Data received {"connection_id":150204,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:05] local.INFO: Processing buffer {"connection_id":150204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:05] local.INFO: IMEI packet received {"connection_id":150204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":150204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:11:10] local.INFO: TCP Data received {"connection_id":150204,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:10] local.INFO: Processing buffer {"connection_id":150204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:11:10] local.INFO: IMEI packet received {"connection_id":150204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":150204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:11:13] local.INFO: TCP Data received {"connection_id":150204,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe18658012d0e7ec006e86370000800102b..."} 
[2026-08-08 11:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe18658012d0e7ec006e86370000800102b..."} 
[2026-08-08 11:11:13] local.INFO: Processing buffer {"connection_id":150204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe18658012d0e7ec006e86370000800102b..."} 
[2026-08-08 11:11:13] local.INFO: Packet analysis {"connection_id":150204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:11:13] local.INFO: Extracted packet for processing {"connection_id":150204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":755924672,"raw_latitude":115893104,"longitude_deg":75.5924672,"latitude_deg":11.5893104,"altitude":8,"angle":16,"satellites":43,"speed":22,"hex_longitude":"2d0e7ec0","hex_latitude":"06e86370","is_valid_coordinates":true} 
[2026-08-08 11:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258885888001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375156545672970240,"note":"Value kept but may cause issues"} 
[2026-08-08 11:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044061087032139776,"note":"Value kept but may cause issues"} 
[2026-08-08 11:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786167527000,"timestamp_ms":1786167527000,"timestamp_seconds":1786167527,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe18658"} 
[2026-08-08 11:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:11: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-08-08 11:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258885888001,"66":27800,"218":206,"2":56576,"24":22,"16":375156545672970240,"45":1044061087032139776},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-08 11:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258885888001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:11:13] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 11:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375156545672970240,"km_value":375156545672970.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044061087032139776,"description":"Unknown IO ID 45"} 
[2026-08-08 11:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258885888001,"power":27800,"unknown_218":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":1044061087032139776}} 
[2026-08-08 11:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":150204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:11:13] local.INFO: GPS data processed {"connection_id":150204,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:11:13] local.INFO: Acknowledgment sent {"connection_id":150204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:11:46] local.INFO: TCP Data received {"connection_id":150204,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe1bd08012d0e8b4006e88618000a00132b..."} 
[2026-08-08 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe1bd08012d0e8b4006e88618000a00132b..."} 
[2026-08-08 11:11:46] local.INFO: Processing buffer {"connection_id":150204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe1bd08012d0e8b4006e88618000a00132b..."} 
[2026-08-08 11:11:46] local.INFO: Packet analysis {"connection_id":150204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:11:46] local.INFO: Extracted packet for processing {"connection_id":150204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe1"} 
[2026-08-08 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":755927872,"raw_latitude":115901976,"longitude_deg":75.5927872,"latitude_deg":11.5901976,"altitude":10,"angle":19,"satellites":43,"speed":27,"hex_longitude":"2d0e8b40","hex_latitude":"06e88618","is_valid_coordinates":true} 
[2026-08-08 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258886912001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375157000939503616,"note":"Value kept but may cause issues"} 
[2026-08-08 11:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044483299497701376,"note":"Value kept but may cause issues"} 
[2026-08-08 11:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786167541000,"timestamp_ms":1786167541000,"timestamp_seconds":1786167541,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe1bd08"} 
[2026-08-08 11:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:11: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-08-08 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 11:11: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-08-08 11:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258886912001,"66":27984,"218":206,"2":56576,"24":27,"16":375157000939503616,"45":1044483299497701376},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-08 11:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258886912001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:11:46] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-08 11:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375157000939503616,"km_value":375157000939503.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044483299497701376,"description":"Unknown IO ID 45"} 
[2026-08-08 11:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258886912001,"power":27984,"unknown_218":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":1044483299497701376}} 
[2026-08-08 11:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":150204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:11:46] local.INFO: GPS data processed {"connection_id":150204,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:11:46] local.INFO: Acknowledgment sent {"connection_id":150204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:12:06] local.INFO: TCP Data received {"connection_id":152910,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:12:06] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:12:06] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:12:10] local.INFO: TCP Data received {"connection_id":152910,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:12:10] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:12:10] local.INFO: IMEI packet received {"connection_id":152910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":152910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:12:12] local.INFO: TCP Data received {"connection_id":152910,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe3a168012d0ed1c006e941180005002327..."} 
[2026-08-08 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe3a168012d0ed1c006e941180005002327..."} 
[2026-08-08 11:12:12] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe3a168012d0ed1c006e941180005002327..."} 
[2026-08-08 11:12:12] local.INFO: Packet analysis {"connection_id":152910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:12:12] local.INFO: Extracted packet for processing {"connection_id":152910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":755945920,"raw_latitude":115949848,"longitude_deg":75.594592,"latitude_deg":11.5949848,"altitude":5,"angle":35,"satellites":39,"speed":5,"hex_longitude":"2d0ed1c0","hex_latitude":"06e94118","is_valid_coordinates":true} 
[2026-08-08 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258917632001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375159509200404480,"note":"Value kept but may cause issues"} 
[2026-08-08 11:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1065030972810590208,"note":"Value kept but may cause issues"} 
[2026-08-08 11:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786167665000,"timestamp_ms":1786167665000,"timestamp_seconds":1786167665,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe3a168"} 
[2026-08-08 11:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258917632001,"66":27919,"227":206,"2":56576,"24":5,"16":375159509200404480,"45":1065030972810590208},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,2,24,16,45]} 
[2026-08-08 11:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258917632001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:12:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 11:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375159509200404480,"km_value":375159509200404.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1065030972810590208,"description":"Unknown IO ID 45"} 
[2026-08-08 11:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258917632001,"power":27919,"unknown_227":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1065030972810590208}} 
[2026-08-08 11:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":152910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:12:12] local.INFO: GPS data processed {"connection_id":152910,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:12:12] local.INFO: Acknowledgment sent {"connection_id":152910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:12:52] local.INFO: TCP Data received {"connection_id":152910,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe3c490012d0ed24006e944300004001227..."} 
[2026-08-08 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe3c490012d0ed24006e944300004001227..."} 
[2026-08-08 11:12:52] local.INFO: Processing buffer {"connection_id":152910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe3c490012d0ed24006e944300004001227..."} 
[2026-08-08 11:12:52] local.INFO: Packet analysis {"connection_id":152910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:12:52] local.INFO: Extracted packet for processing {"connection_id":152910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:12:52] local.INFO: GPS Element Parsed {"raw_longitude":755946048,"raw_latitude":115950640,"longitude_deg":75.5946048,"latitude_deg":11.595064,"altitude":4,"angle":18,"satellites":39,"speed":8,"hex_longitude":"2d0ed240","hex_latitude":"06e94430","is_valid_coordinates":true} 
[2026-08-08 11:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258922240001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375159552150077440,"note":"Value kept but may cause issues"} 
[2026-08-08 11:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067845722579212288,"note":"Value kept but may cause issues"} 
[2026-08-08 11:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786167674000,"timestamp_ms":1786167674000,"timestamp_seconds":1786167674,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe3c490"} 
[2026-08-08 11:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258922240001,"66":28028,"227":206,"2":56576,"24":8,"16":375159552150077440,"45":1067845722579212288},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,2,24,16,45]} 
[2026-08-08 11:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258922240001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:12:52] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 11:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375159552150077440,"km_value":375159552150077.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067845722579212288,"description":"Unknown IO ID 45"} 
[2026-08-08 11:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258922240001,"power":28028,"unknown_227":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1067845722579212288}} 
[2026-08-08 11:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":152910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:12:52] local.INFO: GPS data processed {"connection_id":152910,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:12:52] local.INFO: Acknowledgment sent {"connection_id":152910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:13:08] local.INFO: TCP Data received {"connection_id":150206,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:08] local.INFO: Processing buffer {"connection_id":150206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:08] local.INFO: IMEI packet received {"connection_id":150206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":150206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:13:10] local.INFO: TCP Data received {"connection_id":150206,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:10] local.INFO: Processing buffer {"connection_id":150206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:10] local.INFO: IMEI packet received {"connection_id":150206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":150206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:13:15] local.INFO: TCP Data received {"connection_id":150206,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:15] local.INFO: Processing buffer {"connection_id":150206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:13:15] local.INFO: IMEI packet received {"connection_id":150206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":150206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:13:18] local.INFO: TCP Data received {"connection_id":150206,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe3dc00012d0ed34006e948280003000627..."} 
[2026-08-08 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe3dc00012d0ed34006e948280003000627..."} 
[2026-08-08 11:13:18] local.INFO: Processing buffer {"connection_id":150206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe3dc00012d0ed34006e948280003000627..."} 
[2026-08-08 11:13:18] local.INFO: Packet analysis {"connection_id":150206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:13:18] local.INFO: Extracted packet for processing {"connection_id":150206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":755946304,"raw_latitude":115951656,"longitude_deg":75.5946304,"latitude_deg":11.5951656,"altitude":3,"angle":6,"satellites":39,"speed":7,"hex_longitude":"2d0ed340","hex_latitude":"06e94828","is_valid_coordinates":true} 
[2026-08-08 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258924544001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375159603689684992,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067986460067770368,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786167680000,"timestamp_ms":1786167680000,"timestamp_seconds":1786167680,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe3dc00"} 
[2026-08-08 11:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 11:13: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-08-08 11:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258924544001,"66":27919,"227":206,"2":56576,"24":7,"16":375159603689684992,"45":1067986460067770368},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,2,24,16,45]} 
[2026-08-08 11:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258924544001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:13:18] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 11:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375159603689684992,"km_value":375159603689685.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067986460067770368,"description":"Unknown IO ID 45"} 
[2026-08-08 11:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258924544001,"power":27919,"unknown_227":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1067986460067770368}} 
[2026-08-08 11:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":150206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:13:18] local.INFO: GPS data processed {"connection_id":150206,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:13:18] local.INFO: Acknowledgment sent {"connection_id":150206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:13:18] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:13:18] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:13:18] local.INFO: IMEI packet received {"connection_id":150207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":150207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:13:22] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:13:22] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:13:22] local.INFO: IMEI packet received {"connection_id":150207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":150207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:13:23] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe52420012d1983800720b2e8003c005123..."} 
[2026-08-08 11:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe52420012d1983800720b2e8003c005123..."} 
[2026-08-08 11:13:23] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe52420012d1983800720b2e8003c005123..."} 
[2026-08-08 11:13:23] local.INFO: Packet analysis {"connection_id":150207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:13:23] local.INFO: Extracted packet for processing {"connection_id":150207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119583464,"longitude_deg":75.6646784,"latitude_deg":11.9583464,"altitude":60,"angle":81,"satellites":35,"speed":27,"hex_longitude":"2d198380","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-08-08 11:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258944256001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344352953499648,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635604389888,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786167764000,"timestamp_ms":1786167764000,"timestamp_seconds":1786167764,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe52420"} 
[2026-08-08 11:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:13: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-08-08 11: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 11:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.196.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258944256001,"66":13559,"121":206,"28":31744,"24":27,"16":11344352953499648,"45":1828109635604389888},"client_ip":"117.224.196.118","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258944256001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:13:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:13:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344352953499648,"km_value":11344352953499.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635604389888,"description":"Unknown IO ID 45"} 
[2026-08-08 11:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258944256001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1828109635604389888}} 
[2026-08-08 11:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":150207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:13:24] local.INFO: GPS data processed {"connection_id":150207,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:13:24] local.INFO: Acknowledgment sent {"connection_id":150207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:13:50] local.INFO: TCP Data received {"connection_id":150206,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe3e3d0012d0ed34006e949a80003001527..."} 
[2026-08-08 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe3e3d0012d0ed34006e949a80003001527..."} 
[2026-08-08 11:13:50] local.INFO: Processing buffer {"connection_id":150206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe3e3d0012d0ed34006e949a80003001527..."} 
[2026-08-08 11:13:50] local.INFO: Packet analysis {"connection_id":150206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:13:50] local.INFO: Extracted packet for processing {"connection_id":150206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe3"} 
[2026-08-08 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":755946304,"raw_latitude":115952040,"longitude_deg":75.5946304,"latitude_deg":11.595204,"altitude":3,"angle":21,"satellites":39,"speed":5,"hex_longitude":"2d0ed340","hex_latitude":"06e949a8","is_valid_coordinates":true} 
[2026-08-08 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258926080001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375159620869554176,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068267935044741120,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786167682000,"timestamp_ms":1786167682000,"timestamp_seconds":1786167682,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe3e3d0"} 
[2026-08-08 11:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258926080001,"66":27930,"227":206,"2":56576,"24":5,"16":375159620869554176,"45":1068267935044741120},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,2,24,16,45]} 
[2026-08-08 11:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258926080001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 11:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375159620869554176,"km_value":375159620869554.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068267935044741120,"description":"Unknown IO ID 45"} 
[2026-08-08 11:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258926080001,"power":27930,"unknown_227":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1068267935044741120}} 
[2026-08-08 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":150206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:13:50] local.INFO: GPS data processed {"connection_id":150206,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:13:50] local.INFO: Acknowledgment sent {"connection_id":150206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:13:55] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe537a8012d1990800720b3d0003e005c22..."} 
[2026-08-08 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe537a8012d1990800720b3d0003e005c22..."} 
[2026-08-08 11:13:55] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe537a8012d1990800720b3d0003e005c22..."} 
[2026-08-08 11:13:55] local.INFO: Packet analysis {"connection_id":150207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:13:55] local.INFO: Extracted packet for processing {"connection_id":150207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756650112,"raw_latitude":119583696,"longitude_deg":75.6650112,"latitude_deg":11.9583696,"altitude":62,"angle":92,"satellites":34,"speed":22,"hex_longitude":"2d199080","hex_latitude":"0720b3d0","is_valid_coordinates":true} 
[2026-08-08 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258947584001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344511867289600,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840999016448,"note":"Value kept but may cause issues"} 
[2026-08-08 11:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786167769000,"timestamp_ms":1786167769000,"timestamp_seconds":1786167769,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe537a8"} 
[2026-08-08 11:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-08 11:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.196.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258947584001,"66":13689,"121":206,"28":31744,"24":22,"16":11344511867289600,"45":1838453840999016448},"client_ip":"117.224.196.118","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258947584001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:13:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:13:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344511867289600,"km_value":11344511867289.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840999016448,"description":"Unknown IO ID 45"} 
[2026-08-08 11:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258947584001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1838453840999016448}} 
[2026-08-08 11:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":150207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:13:55] local.INFO: GPS data processed {"connection_id":150207,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:13:55] local.INFO: Acknowledgment sent {"connection_id":150207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:14:06] local.INFO: TCP Data received {"connection_id":151435,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:06] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:06] local.INFO: IMEI packet received {"connection_id":151435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":151435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:14:06] local.INFO: TCP Data received {"connection_id":151435,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:06] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:06] local.INFO: IMEI packet received {"connection_id":151435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":151435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:14:11] local.INFO: TCP Data received {"connection_id":151435,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:11] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:14:11] local.INFO: IMEI packet received {"connection_id":151435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":151435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:14:12] local.INFO: TCP Data received {"connection_id":151435,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe431f0012d0ed50006e95c280002000928..."} 
[2026-08-08 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe431f0012d0ed50006e95c280002000928..."} 
[2026-08-08 11:14:12] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe431f0012d0ed50006e95c280002000928..."} 
[2026-08-08 11:14:12] local.INFO: Packet analysis {"connection_id":151435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe4"} 
[2026-08-08 11:14:12] local.INFO: Extracted packet for processing {"connection_id":151435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe4"} 
[2026-08-08 11:14:12] local.INFO: GPS Element Parsed {"raw_longitude":755946752,"raw_latitude":115956776,"longitude_deg":75.5946752,"latitude_deg":11.5956776,"altitude":2,"angle":9,"satellites":40,"speed":15,"hex_longitude":"2d0ed500","hex_latitude":"06e95c28","is_valid_coordinates":true} 
[2026-08-08 11:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258926592001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375159857092755456,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068267935044839424,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786167702000,"timestamp_ms":1786167702000,"timestamp_seconds":1786167702,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe431f0"} 
[2026-08-08 11:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258926592001,"66":27908,"227":206,"2":56576,"24":15,"16":375159857092755456,"45":1068267935044839424},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,2,24,16,45]} 
[2026-08-08 11:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258926592001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:14:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 11:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375159857092755456,"km_value":375159857092755.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068267935044839424,"description":"Unknown IO ID 45"} 
[2026-08-08 11:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258926592001,"power":27908,"unknown_227":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":1068267935044839424}} 
[2026-08-08 11:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":151435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:14:12] local.INFO: GPS data processed {"connection_id":151435,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:14:12] local.INFO: Acknowledgment sent {"connection_id":151435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:14:27] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe589b0012d1999000720b380003c005d23..."} 
[2026-08-08 11:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe589b0012d1999000720b380003c005d23..."} 
[2026-08-08 11:14:27] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe589b0012d1999000720b380003c005d23..."} 
[2026-08-08 11:14:27] local.INFO: Packet analysis {"connection_id":150207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:14:27] local.INFO: Extracted packet for processing {"connection_id":150207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756652288,"raw_latitude":119583616,"longitude_deg":75.6652288,"latitude_deg":11.9583616,"altitude":60,"angle":93,"satellites":35,"speed":0,"hex_longitude":"2d199900","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258948864001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344619241472000,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842113015696314368,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1786167790000,"timestamp_ms":1786167790000,"timestamp_seconds":1786167790,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe589b0"} 
[2026-08-08 11:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-08 11:14: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-08-08 11: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-08-08 11:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":150207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.196.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258948864001,"66":13417,"121":206,"28":31744,"24":0,"16":11344619241472000,"45":1842113015696314368},"client_ip":"117.224.196.118","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258948864001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344619241472000,"km_value":11344619241472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842113015696314368,"description":"Unknown IO ID 45"} 
[2026-08-08 11:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258948864001,"power":13417,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1842113015696314368}} 
[2026-08-08 11:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":150207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:14:27] local.INFO: GPS data processed {"connection_id":150207,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:14:27] local.INFO: Acknowledgment sent {"connection_id":150207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:14:44] local.INFO: TCP Data received {"connection_id":151435,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe5dfa0012d0eab4006e9d8500010014c2b..."} 
[2026-08-08 11:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe5dfa0012d0eab4006e9d8500010014c2b..."} 
[2026-08-08 11:14:44] local.INFO: Processing buffer {"connection_id":151435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe5dfa0012d0eab4006e9d8500010014c2b..."} 
[2026-08-08 11:14:44] local.INFO: Packet analysis {"connection_id":151435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:14:44] local.INFO: Extracted packet for processing {"connection_id":151435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:14:44] local.INFO: GPS Element Parsed {"raw_longitude":755936064,"raw_latitude":115988560,"longitude_deg":75.5936064,"latitude_deg":11.598856,"altitude":16,"angle":332,"satellites":43,"speed":9,"hex_longitude":"2d0eab40","hex_latitude":"06e9d850","is_valid_coordinates":true} 
[2026-08-08 11:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258958592001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375161545014902784,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057642254683029504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786167812000,"timestamp_ms":1786167812000,"timestamp_seconds":1786167812,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe5dfa0"} 
[2026-08-08 11:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258958592001,"66":27919,"71":206,"2":56576,"24":9,"16":375161545014902784,"45":1057642254683029504},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-08-08 11:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258958592001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:14:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 11:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375161545014902784,"km_value":375161545014902.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057642254683029504,"description":"Unknown IO ID 45"} 
[2026-08-08 11:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258958592001,"power":27919,"unknown_71":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1057642254683029504}} 
[2026-08-08 11:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":151435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:14:44] local.INFO: GPS data processed {"connection_id":151435,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:14:44] local.INFO: Acknowledgment sent {"connection_id":151435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:15:01] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe5dbb8012d1999000720b380003c005d23..."} 
[2026-08-08 11:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe5dbb8012d1999000720b380003c005d23..."} 
[2026-08-08 11:15:01] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe5dbb8012d1999000720b380003c005d23..."} 
[2026-08-08 11:15:01] local.INFO: Packet analysis {"connection_id":150207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:15:01] local.INFO: Extracted packet for processing {"connection_id":150207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe5"} 
[2026-08-08 11:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756652288,"raw_latitude":119583616,"longitude_deg":75.6652288,"latitude_deg":11.9583616,"altitude":60,"angle":93,"satellites":35,"speed":0,"hex_longitude":"2d199900","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-08-08 11:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258954240001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344619241472000,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844505552998334464,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786167811000,"timestamp_ms":1786167811000,"timestamp_seconds":1786167811,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe5dbb8"} 
[2026-08-08 11:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:15: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":105,"data_length":795,"current_offset":136} 
[2026-08-08 11:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":150207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.196.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258954240001,"66":14374,"121":206,"28":31744,"24":0,"16":11344619241472000,"45":1844505552998334464},"client_ip":"117.224.196.118","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258954240001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:15:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:15:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344619241472000,"km_value":11344619241472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844505552998334464,"description":"Unknown IO ID 45"} 
[2026-08-08 11:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258954240001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844505552998334464}} 
[2026-08-08 11:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":150207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:15:02] local.INFO: GPS data processed {"connection_id":150207,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:15:02] local.INFO: Acknowledgment sent {"connection_id":150207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:15:05] local.INFO: TCP Data received {"connection_id":150208,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:05] local.INFO: Processing buffer {"connection_id":150208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:05] local.INFO: IMEI packet received {"connection_id":150208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":150208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:15:06] local.INFO: TCP Data received {"connection_id":150208,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:06] local.INFO: Processing buffer {"connection_id":150208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:06] local.INFO: IMEI packet received {"connection_id":150208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":150208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:15:10] local.INFO: TCP Data received {"connection_id":150208,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:10] local.INFO: Processing buffer {"connection_id":150208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:15:10] local.INFO: IMEI packet received {"connection_id":150208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":150208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:15:12] local.INFO: TCP Data received {"connection_id":150208,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe631a8012d0ea20006e9e658000e014e2a..."} 
[2026-08-08 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe631a8012d0ea20006e9e658000e014e2a..."} 
[2026-08-08 11:15:12] local.INFO: Processing buffer {"connection_id":150208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe631a8012d0ea20006e9e658000e014e2a..."} 
[2026-08-08 11:15:12] local.INFO: Packet analysis {"connection_id":150208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:15:12] local.INFO: Extracted packet for processing {"connection_id":150208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":755933696,"raw_latitude":115992152,"longitude_deg":75.5933696,"latitude_deg":11.5992152,"altitude":14,"angle":334,"satellites":42,"speed":5,"hex_longitude":"2d0ea200","hex_latitude":"06e9e658","is_valid_coordinates":true} 
[2026-08-08 11:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258959872001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375161755468300288,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057008935985762304,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786167833000,"timestamp_ms":1786167833000,"timestamp_seconds":1786167833,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe631a8"} 
[2026-08-08 11:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258959872001,"66":27876,"71":206,"2":56576,"24":5,"16":375161755468300288,"45":1057008935985762304},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-08-08 11:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258959872001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:15:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 11:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375161755468300288,"km_value":375161755468300.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057008935985762304,"description":"Unknown IO ID 45"} 
[2026-08-08 11:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258959872001,"power":27876,"unknown_71":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1057008935985762304}} 
[2026-08-08 11:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":150208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:15:13] local.INFO: GPS data processed {"connection_id":150208,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:15:13] local.INFO: Acknowledgment sent {"connection_id":150208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:15:33] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe62dc0012d1999000720b380003c005d24..."} 
[2026-08-08 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe62dc0012d1999000720b380003c005d24..."} 
[2026-08-08 11:15:33] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe62dc0012d1999000720b380003c005d24..."} 
[2026-08-08 11:15:33] local.INFO: Packet analysis {"connection_id":150207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:15:33] local.INFO: Extracted packet for processing {"connection_id":150207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756652288,"raw_latitude":119583616,"longitude_deg":75.6652288,"latitude_deg":11.9583616,"altitude":60,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2d199900","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-08-08 11:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258959616001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344619241472000,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844505552998334464,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15: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-08-08 11:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167832000,"timestamp_ms":1786167832000,"timestamp_seconds":1786167832,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe62dc0"} 
[2026-08-08 11:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 11:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.196.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258959616001,"66":13243,"121":206,"28":31744,"24":0,"16":11344619241472000,"45":1844505552998334464},"client_ip":"117.224.196.118","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258959616001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344619241472000,"km_value":11344619241472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844505552998334464,"description":"Unknown IO ID 45"} 
[2026-08-08 11:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258959616001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844505552998334464}} 
[2026-08-08 11:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":150207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:15:33] local.INFO: GPS data processed {"connection_id":150207,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:15:33] local.INFO: Acknowledgment sent {"connection_id":150207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:15:44] local.INFO: TCP Data received {"connection_id":150208,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe658b8012d0e9e8006e9eb800015015e28..."} 
[2026-08-08 11:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe658b8012d0e9e8006e9eb800015015e28..."} 
[2026-08-08 11:15:44] local.INFO: Processing buffer {"connection_id":150208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe658b8012d0e9e8006e9eb800015015e28..."} 
[2026-08-08 11:15:44] local.INFO: Packet analysis {"connection_id":150208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:15:44] local.INFO: Extracted packet for processing {"connection_id":150208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":755932800,"raw_latitude":115993472,"longitude_deg":75.59328,"latitude_deg":11.5993472,"altitude":21,"angle":350,"satellites":40,"speed":5,"hex_longitude":"2d0e9e80","hex_latitude":"06e9eb80","is_valid_coordinates":true} 
[2026-08-08 11:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258965248001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375161837072678912,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1054405292452108288,"note":"Value kept but may cause issues"} 
[2026-08-08 11:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786167843000,"timestamp_ms":1786167843000,"timestamp_seconds":1786167843,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe658b8"} 
[2026-08-08 11:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258965248001,"66":27876,"71":206,"2":56576,"24":5,"16":375161837072678912,"45":1054405292452108288},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-08-08 11:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258965248001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:15:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 11:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375161837072678912,"km_value":375161837072678.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1054405292452108288,"description":"Unknown IO ID 45"} 
[2026-08-08 11:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258965248001,"power":27876,"unknown_71":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1054405292452108288}} 
[2026-08-08 11:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":150208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:15:44] local.INFO: GPS data processed {"connection_id":150208,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:15:44] local.INFO: Acknowledgment sent {"connection_id":150208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:16:05] local.INFO: TCP Data received {"connection_id":150207,"ip":"117.224.196.118","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe64918012d199ac00720b298003b009224..."} 
[2026-08-08 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe64918012d199ac00720b298003b009224..."} 
[2026-08-08 11:16:05] local.INFO: Processing buffer {"connection_id":150207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe64918012d199ac00720b298003b009224..."} 
[2026-08-08 11:16:05] local.INFO: Packet analysis {"connection_id":150207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:05] local.INFO: Extracted packet for processing {"connection_id":150207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756652736,"raw_latitude":119583384,"longitude_deg":75.6652736,"latitude_deg":11.9583384,"altitude":59,"angle":146,"satellites":36,"speed":4,"hex_longitude":"2d199ac0","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-08-08 11:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258964992001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344640716308480,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844505552998334464,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167839000,"timestamp_ms":1786167839000,"timestamp_seconds":1786167839,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe64918"} 
[2026-08-08 11:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:16: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-08-08 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 11:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.196.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258964992001,"66":12776,"121":206,"28":31744,"24":4,"16":11344640716308480,"45":1844505552998334464},"client_ip":"117.224.196.118","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258964992001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:16:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344640716308480,"km_value":11344640716308.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844505552998334464,"description":"Unknown IO ID 45"} 
[2026-08-08 11:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258964992001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1844505552998334464}} 
[2026-08-08 11:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":150207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:16:05] local.INFO: GPS data processed {"connection_id":150207,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:16:05] local.INFO: Acknowledgment sent {"connection_id":150207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:16:05] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:16:05] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:16:05] local.INFO: IMEI packet received {"connection_id":150469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":150469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:16:10] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:16:10] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:16:10] local.INFO: IMEI packet received {"connection_id":150469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":150469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:16:12] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe66470012d0e9c8006e9ed380016014e2a..."} 
[2026-08-08 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe66470012d0e9c8006e9ed380016014e2a..."} 
[2026-08-08 11:16:12] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe66470012d0e9c8006e9ed380016014e2a..."} 
[2026-08-08 11:16:12] local.INFO: Packet analysis {"connection_id":150469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:12] local.INFO: Extracted packet for processing {"connection_id":150469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":755932288,"raw_latitude":115993912,"longitude_deg":75.5932288,"latitude_deg":11.5993912,"altitude":22,"angle":334,"satellites":42,"speed":9,"hex_longitude":"2d0e9c80","hex_latitude":"06e9ed38","is_valid_coordinates":true} 
[2026-08-08 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258967808001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375161867137449984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053420130033958912,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786167846000,"timestamp_ms":1786167846000,"timestamp_seconds":1786167846,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe66470"} 
[2026-08-08 11:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258967808001,"66":27767,"71":206,"2":56576,"24":9,"16":375161867137449984,"45":1053420130033958912},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-08-08 11:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258967808001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 11:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375161867137449984,"km_value":375161867137450.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053420130033958912,"description":"Unknown IO ID 45"} 
[2026-08-08 11:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258967808001,"power":27767,"unknown_71":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1053420130033958912}} 
[2026-08-08 11:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":150469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:16:12] local.INFO: GPS data processed {"connection_id":150469,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:16:12] local.INFO: Acknowledgment sent {"connection_id":150469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:16:43] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe66858012d0e9c0006e9ee180016014229..."} 
[2026-08-08 11:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe66858012d0e9c0006e9ee180016014229..."} 
[2026-08-08 11:16:43] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe66858012d0e9c0006e9ee180016014229..."} 
[2026-08-08 11:16:43] local.INFO: Packet analysis {"connection_id":150469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:43] local.INFO: Extracted packet for processing {"connection_id":150469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:43] local.INFO: GPS Element Parsed {"raw_longitude":755932160,"raw_latitude":115994136,"longitude_deg":75.593216,"latitude_deg":11.5994136,"altitude":22,"angle":322,"satellites":41,"speed":11,"hex_longitude":"2d0e9c00","hex_latitude":"06e9ee18","is_valid_coordinates":true} 
[2026-08-08 11:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258968576001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375161884317319168,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052857180080650240,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786167847000,"timestamp_ms":1786167847000,"timestamp_seconds":1786167847,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe66858"} 
[2026-08-08 11:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 11:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258968576001,"66":27767,"71":206,"2":56576,"24":11,"16":375161884317319168,"45":1052857180080650240},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-08-08 11:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258968576001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 11:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375161884317319168,"km_value":375161884317319.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052857180080650240,"description":"Unknown IO ID 45"} 
[2026-08-08 11:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258968576001,"power":27767,"unknown_71":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":1052857180080650240}} 
[2026-08-08 11:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":150469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:16:44] local.INFO: GPS data processed {"connection_id":150469,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:16:44] local.INFO: Acknowledgment sent {"connection_id":150469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:16:54] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:16:54] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:16:54] local.INFO: IMEI packet received {"connection_id":151436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":151436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:16:54] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:16:54] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:16:54] local.INFO: IMEI packet received {"connection_id":151436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":151436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:16:56] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe64d00012d199ac00720b218003b00cf24..."} 
[2026-08-08 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe64d00012d199ac00720b218003b00cf24..."} 
[2026-08-08 11:16:56] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe64d00012d199ac00720b218003b00cf24..."} 
[2026-08-08 11:16:56] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:56] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756652736,"raw_latitude":119583256,"longitude_deg":75.6652736,"latitude_deg":11.9583256,"altitude":59,"angle":207,"satellites":36,"speed":7,"hex_longitude":"2d199ac0","hex_latitude":"0720b218","is_valid_coordinates":true} 
[2026-08-08 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258966784001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344649306243072,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844998134207518720,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786167840000,"timestamp_ms":1786167840000,"timestamp_seconds":1786167840,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe64d00"} 
[2026-08-08 11:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 11:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258966784001,"66":12776,"121":206,"28":31744,"24":7,"16":11344649306243072,"45":1844998134207518720},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258966784001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:16:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344649306243072,"km_value":11344649306243.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844998134207518720,"description":"Unknown IO ID 45"} 
[2026-08-08 11:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258966784001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1844998134207518720}} 
[2026-08-08 11:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:16:56] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:16:56] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:16:59] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe650e8012d199a400720b1a0003b00f724..."} 
[2026-08-08 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe650e8012d199a400720b1a0003b00f724..."} 
[2026-08-08 11:16:59] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe650e8012d199a400720b1a0003b00f724..."} 
[2026-08-08 11:16:59] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:59] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756652608,"raw_latitude":119583136,"longitude_deg":75.6652608,"latitude_deg":11.9583136,"altitude":59,"angle":247,"satellites":36,"speed":7,"hex_longitude":"2d199a40","hex_latitude":"0720b1a0","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258967040001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344657896177664,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844998134207485952,"note":"Value kept but may cause issues"} 
[2026-08-08 11:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786167841000,"timestamp_ms":1786167841000,"timestamp_seconds":1786167841,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe650e8"} 
[2026-08-08 11:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 11:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258967040001,"66":13276,"121":206,"28":31744,"24":7,"16":11344657896177664,"45":1844998134207485952},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258967040001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344657896177664,"km_value":11344657896177.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844998134207485952,"description":"Unknown IO ID 45"} 
[2026-08-08 11:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258967040001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1844998134207485952}} 
[2026-08-08 11:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:16:59] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:16:59] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:17:10] local.INFO: TCP Data received {"connection_id":150470,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:17:10] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:17:10] local.INFO: IMEI packet received {"connection_id":150470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":150470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:17:15] local.INFO: TCP Data received {"connection_id":150470,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:17:15] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:17:15] local.INFO: IMEI packet received {"connection_id":150470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":150470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:17:17] local.INFO: TCP Data received {"connection_id":150470,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe6ba60012d0e918006e9fdf00013014b29..."} 
[2026-08-08 11:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe6ba60012d0e918006e9fdf00013014b29..."} 
[2026-08-08 11:17:17] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe6ba60012d0e918006e9fdf00013014b29..."} 
[2026-08-08 11:17:17] local.INFO: Packet analysis {"connection_id":150470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:17:17] local.INFO: Extracted packet for processing {"connection_id":150470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":755929472,"raw_latitude":115998192,"longitude_deg":75.5929472,"latitude_deg":11.5998192,"altitude":19,"angle":331,"satellites":41,"speed":12,"hex_longitude":"2d0e9180","hex_latitude":"06e9fdf0","is_valid_coordinates":true} 
[2026-08-08 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258968832001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375162116245553152,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052716442592352256,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786167868000,"timestamp_ms":1786167868000,"timestamp_seconds":1786167868,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe6ba60"} 
[2026-08-08 11:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 11:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258968832001,"66":27876,"70":206,"2":56576,"24":12,"16":375162116245553152,"45":1052716442592352256},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16,45]} 
[2026-08-08 11:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258968832001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 11:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375162116245553152,"km_value":375162116245553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052716442592352256,"description":"Unknown IO ID 45"} 
[2026-08-08 11:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258968832001,"power":27876,"unknown_70":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":1052716442592352256}} 
[2026-08-08 11:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":150470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:17:17] local.INFO: GPS data processed {"connection_id":150470,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:17:17] local.INFO: Acknowledgment sent {"connection_id":150470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:17:21] local.INFO: TCP Data received {"connection_id":150470,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe70c68012d0e7e4006ea19d0001101432b..."} 
[2026-08-08 11:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe70c68012d0e7e4006ea19d0001101432b..."} 
[2026-08-08 11:17:21] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe70c68012d0e7e4006ea19d0001101432b..."} 
[2026-08-08 11:17:21] local.INFO: Packet analysis {"connection_id":150470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:17:21] local.INFO: Extracted packet for processing {"connection_id":150470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:17:21] local.INFO: GPS Element Parsed {"raw_longitude":755924544,"raw_latitude":116005328,"longitude_deg":75.5924544,"latitude_deg":11.6005328,"altitude":17,"angle":323,"satellites":43,"speed":9,"hex_longitude":"2d0e7e40","hex_latitude":"06ea19d0","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258974208001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375162537152348160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049760955337928704,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786167889000,"timestamp_ms":1786167889000,"timestamp_seconds":1786167889,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe70c68"} 
[2026-08-08 11:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258974208001,"66":27865,"70":206,"2":56576,"24":9,"16":375162537152348160,"45":1049760955337928704},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16,45]} 
[2026-08-08 11:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258974208001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:17:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 11:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375162537152348160,"km_value":375162537152348.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049760955337928704,"description":"Unknown IO ID 45"} 
[2026-08-08 11:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258974208001,"power":27865,"unknown_70":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1049760955337928704}} 
[2026-08-08 11:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":150470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:17:21] local.INFO: GPS data processed {"connection_id":150470,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:17:21] local.INFO: Acknowledgment sent {"connection_id":150470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:17:30] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe654d0012d1999400720b188003b011124..."} 
[2026-08-08 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe654d0012d1999400720b188003b011124..."} 
[2026-08-08 11:17:30] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe654d0012d1999400720b188003b011124..."} 
[2026-08-08 11:17:30] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:17:30] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756652352,"raw_latitude":119583112,"longitude_deg":75.6652352,"latitude_deg":11.9583112,"altitude":59,"angle":273,"satellites":36,"speed":7,"hex_longitude":"2d199940","hex_latitude":"0720b188","is_valid_coordinates":true} 
[2026-08-08 11:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258967296001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344666486112256,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844857396719099904,"note":"Value kept but may cause issues"} 
[2026-08-08 11:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786167842000,"timestamp_ms":1786167842000,"timestamp_seconds":1786167842,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe654d0"} 
[2026-08-08 11:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:17: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-08-08 11:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 11:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258967296001,"66":13276,"121":206,"28":31744,"24":7,"16":11344666486112256,"45":1844857396719099904},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258967296001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:17:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344666486112256,"km_value":11344666486112.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844857396719099904,"description":"Unknown IO ID 45"} 
[2026-08-08 11:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258967296001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1844857396719099904}} 
[2026-08-08 11:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:17:30] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:17:30] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:18:01] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe683b0012d198e000720b298003900fa24..."} 
[2026-08-08 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe683b0012d198e000720b298003900fa24..."} 
[2026-08-08 11:18:01] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe683b0012d198e000720b298003900fa24..."} 
[2026-08-08 11:18:01] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:18:01] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756649472,"raw_latitude":119583384,"longitude_deg":75.6649472,"latitude_deg":11.9583384,"altitude":57,"angle":250,"satellites":36,"speed":7,"hex_longitude":"2d198e00","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-08-08 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258967552001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344808220033024,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844575921742383104,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786167854000,"timestamp_ms":1786167854000,"timestamp_seconds":1786167854,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe683b0"} 
[2026-08-08 11:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 11:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258967552001,"66":13276,"121":206,"28":31744,"24":7,"16":11344808220033024,"45":1844575921742383104},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258967552001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344808220033024,"km_value":11344808220033.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844575921742383104,"description":"Unknown IO ID 45"} 
[2026-08-08 11:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258967552001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1844575921742383104}} 
[2026-08-08 11:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:18:02] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:18:02] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:18:08] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:08] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:08] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:18:10] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:10] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:10] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:18:15] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:15] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:18:15] local.INFO: IMEI packet received {"connection_id":152911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":152911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:18:17] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe92b60012d0dd60006ead258001b01512b..."} 
[2026-08-08 11:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe92b60012d0dd60006ead258001b01512b..."} 
[2026-08-08 11:18:17] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe92b60012d0dd60006ead258001b01512b..."} 
[2026-08-08 11:18:17] local.INFO: Packet analysis {"connection_id":152911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:18:17] local.INFO: Extracted packet for processing {"connection_id":152911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:18:17] local.INFO: GPS Element Parsed {"raw_longitude":755881472,"raw_latitude":116052568,"longitude_deg":75.5881472,"latitude_deg":11.6052568,"altitude":27,"angle":337,"satellites":43,"speed":16,"hex_longitude":"2d0dd600","hex_latitude":"06ead258","is_valid_coordinates":true} 
[2026-08-08 11:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259014656001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375165423370371072,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997406609683499008,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786168028000,"timestamp_ms":1786168028000,"timestamp_seconds":1786168028,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe92b60"} 
[2026-08-08 11:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259014656001,"66":27887,"72":206,"2":56576,"24":16,"16":375165423370371072,"45":997406609683499008},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,2,24,16,45]} 
[2026-08-08 11:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259014656001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:18:17] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-08 11:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375165423370371072,"km_value":375165423370371.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":997406609683499008,"description":"Unknown IO ID 45"} 
[2026-08-08 11:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259014656001,"power":27887,"unknown_72":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":997406609683499008}} 
[2026-08-08 11:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":152911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:18:17] local.INFO: GPS data processed {"connection_id":152911,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:18:17] local.INFO: Acknowledgment sent {"connection_id":152911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:18:33] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe6d5b8012d198c400720b220003900fc22..."} 
[2026-08-08 11:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe6d5b8012d198c400720b220003900fc22..."} 
[2026-08-08 11:18:33] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe6d5b8012d198c400720b220003900fc22..."} 
[2026-08-08 11:18:33] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:18:33] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe6"} 
[2026-08-08 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258970624001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841409328254457856,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18: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-08-08 11:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786167875000,"timestamp_ms":1786167875000,"timestamp_seconds":1786167875,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe6d5b8"} 
[2026-08-08 11:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 11:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258970624001,"66":13222,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1841409328254457856},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258970624001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:18:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841409328254457856,"description":"Unknown IO ID 45"} 
[2026-08-08 11:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258970624001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1841409328254457856}} 
[2026-08-08 11:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:18:33] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:18:33] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:18:49] local.INFO: TCP Data received {"connection_id":152911,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe93718012d0dd40006ead680001c01422c..."} 
[2026-08-08 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe93718012d0dd40006ead680001c01422c..."} 
[2026-08-08 11:18:49] local.INFO: Processing buffer {"connection_id":152911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe93718012d0dd40006ead680001c01422c..."} 
[2026-08-08 11:18:49] local.INFO: Packet analysis {"connection_id":152911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:18:49] local.INFO: Extracted packet for processing {"connection_id":152911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:18:49] local.INFO: GPS Element Parsed {"raw_longitude":755880960,"raw_latitude":116053632,"longitude_deg":75.588096,"latitude_deg":11.6053632,"altitude":28,"angle":322,"satellites":44,"speed":15,"hex_longitude":"2d0dd400","hex_latitude":"06ead680","is_valid_coordinates":true} 
[2026-08-08 11:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259015168001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375165479204945920,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996984397218600960,"note":"Value kept but may cause issues"} 
[2026-08-08 11:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786168031000,"timestamp_ms":1786168031000,"timestamp_seconds":1786168031,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe93718"} 
[2026-08-08 11:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 11:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259015168001,"66":27908,"72":206,"2":56576,"24":15,"16":375165479204945920,"45":996984397218600960},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,2,24,16,45]} 
[2026-08-08 11:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259015168001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-08 11:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375165479204945920,"km_value":375165479204945.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":996984397218600960,"description":"Unknown IO ID 45"} 
[2026-08-08 11:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259015168001,"power":27908,"unknown_72":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":996984397218600960}} 
[2026-08-08 11:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":152911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:18:49] local.INFO: GPS data processed {"connection_id":152911,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:18:49] local.INFO: Acknowledgment sent {"connection_id":152911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:19:06] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe727c0012d198c400720b220003900fc23..."} 
[2026-08-08 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe727c0012d198c400720b220003900fc23..."} 
[2026-08-08 11:19:06] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe727c0012d198c400720b220003900fc23..."} 
[2026-08-08 11:19:06] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:19:06] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258976000001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786167896000,"timestamp_ms":1786167896000,"timestamp_seconds":1786167896,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe727c0"} 
[2026-08-08 11:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:19: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-08-08 11:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 11:19: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-08-08 11:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258976000001,"66":13135,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258976000001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:19:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:19:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258976000001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:19:06] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:19:06] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:19:10] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:10] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:10] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:19:12] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:12] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:12] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:19:15] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:15] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:19:15] local.INFO: IMEI packet received {"connection_id":152912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":152912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:19:16] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe93b00012d0dd34006ead790001c01362b..."} 
[2026-08-08 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe93b00012d0dd34006ead790001c01362b..."} 
[2026-08-08 11:19:16] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe93b00012d0dd34006ead790001c01362b..."} 
[2026-08-08 11:19:16] local.INFO: Packet analysis {"connection_id":152912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:19:16] local.INFO: Extracted packet for processing {"connection_id":152912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":755880768,"raw_latitude":116053904,"longitude_deg":75.5880768,"latitude_deg":11.6053904,"altitude":28,"angle":310,"satellites":43,"speed":15,"hex_longitude":"2d0dd340","hex_latitude":"06ead790","is_valid_coordinates":true} 
[2026-08-08 11:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259015936001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375165496384815104,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996421447265452032,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786168032000,"timestamp_ms":1786168032000,"timestamp_seconds":1786168032,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe93b00"} 
[2026-08-08 11:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259015936001,"66":27919,"72":206,"2":56576,"24":15,"16":375165496384815104,"45":996421447265452032},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,2,24,16,45]} 
[2026-08-08 11:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259015936001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:19:16] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-08 11:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375165496384815104,"km_value":375165496384815.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":996421447265452032,"description":"Unknown IO ID 45"} 
[2026-08-08 11:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259015936001,"power":27919,"unknown_72":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":996421447265452032}} 
[2026-08-08 11:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":152912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:19:16] local.INFO: GPS data processed {"connection_id":152912,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:19:16] local.INFO: Acknowledgment sent {"connection_id":152912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:19:37] local.INFO: TCP Data received {"connection_id":151436,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe779c8012d198c400720b220003900fc23..."} 
[2026-08-08 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe779c8012d198c400720b220003900fc23..."} 
[2026-08-08 11:19:37] local.INFO: Processing buffer {"connection_id":151436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe779c8012d198c400720b220003900fc23..."} 
[2026-08-08 11:19:37] local.INFO: Packet analysis {"connection_id":151436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:19:37] local.INFO: Extracted packet for processing {"connection_id":151436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258981376001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786167917000,"timestamp_ms":1786167917000,"timestamp_seconds":1786167917,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe779c8"} 
[2026-08-08 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-08-08 11:19: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-08-08 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 11:19: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-08-08 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-08-08 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-08-08 11:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258981376001,"66":13102,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258981376001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:19:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258981376001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":151436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:19:37] local.INFO: GPS data processed {"connection_id":151436,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:19:37] local.INFO: Acknowledgment sent {"connection_id":151436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:19:48] local.INFO: TCP Data received {"connection_id":152912,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe942d0012d0dd04006ead938001c01242b..."} 
[2026-08-08 11:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe942d0012d0dd04006ead938001c01242b..."} 
[2026-08-08 11:19:48] local.INFO: Processing buffer {"connection_id":152912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe942d0012d0dd04006ead938001c01242b..."} 
[2026-08-08 11:19:48] local.INFO: Packet analysis {"connection_id":152912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:19:48] local.INFO: Extracted packet for processing {"connection_id":152912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:19:48] local.INFO: GPS Element Parsed {"raw_longitude":755880000,"raw_latitude":116054328,"longitude_deg":75.588,"latitude_deg":11.6054328,"altitude":28,"angle":292,"satellites":43,"speed":17,"hex_longitude":"2d0dd040","hex_latitude":"06ead938","is_valid_coordinates":true} 
[2026-08-08 11:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259016192001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375165539334488064,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996210341032988672,"note":"Value kept but may cause issues"} 
[2026-08-08 11:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786168034000,"timestamp_ms":1786168034000,"timestamp_seconds":1786168034,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe942d0"} 
[2026-08-08 11:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259016192001,"66":27995,"72":206,"2":56576,"24":17,"16":375165539334488064,"45":996210341032988672},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,2,24,16,45]} 
[2026-08-08 11:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259016192001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-08 11:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375165539334488064,"km_value":375165539334488.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":996210341032988672,"description":"Unknown IO ID 45"} 
[2026-08-08 11:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259016192001,"power":27995,"unknown_72":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":996210341032988672}} 
[2026-08-08 11:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":152912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:19:48] local.INFO: GPS data processed {"connection_id":152912,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:19:48] local.INFO: Acknowledgment sent {"connection_id":152912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:19:59] local.INFO: TCP Data received {"connection_id":150209,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:19:59] local.INFO: Processing buffer {"connection_id":150209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:19:59] local.INFO: IMEI packet received {"connection_id":150209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":150209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:20:04] local.INFO: TCP Data received {"connection_id":150209,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:20:04] local.INFO: Processing buffer {"connection_id":150209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:20:04] local.INFO: IMEI packet received {"connection_id":150209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":150209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:20:05] local.INFO: TCP Data received {"connection_id":150209,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe7cbd0012d198c400720b220003900fc22..."} 
[2026-08-08 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe7cbd0012d198c400720b220003900fc22..."} 
[2026-08-08 11:20:05] local.INFO: Processing buffer {"connection_id":150209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe7cbd0012d198c400720b220003900fc22..."} 
[2026-08-08 11:20:05] local.INFO: Packet analysis {"connection_id":150209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:20:05] local.INFO: Extracted packet for processing {"connection_id":150209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe7"} 
[2026-08-08 11:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258986752001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20: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-08-08 11:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786167938000,"timestamp_ms":1786167938000,"timestamp_seconds":1786167938,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe7cbd0"} 
[2026-08-08 11:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:20: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-08-08 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 11:20: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-08-08 11:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258986752001,"66":13102,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258986752001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:20:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258986752001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":150209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:20:05] local.INFO: GPS data processed {"connection_id":150209,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:20:05] local.INFO: Acknowledgment sent {"connection_id":150209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:20:10] local.INFO: TCP Data received {"connection_id":151437,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:20:10] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:20:10] local.INFO: IMEI packet received {"connection_id":151437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":151437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:20:14] local.INFO: TCP Data received {"connection_id":151437,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:20:14] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:20:14] local.INFO: IMEI packet received {"connection_id":151437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":151437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:20:17] local.INFO: TCP Data received {"connection_id":151437,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeb07f0012d0cc0c006eb59d00014012e27..."} 
[2026-08-08 11:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeb07f0012d0cc0c006eb59d00014012e27..."} 
[2026-08-08 11:20:17] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeb07f0012d0cc0c006eb59d00014012e27..."} 
[2026-08-08 11:20:17] local.INFO: Packet analysis {"connection_id":151437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:20:17] local.INFO: Extracted packet for processing {"connection_id":151437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:20:17] local.INFO: GPS Element Parsed {"raw_longitude":755810496,"raw_latitude":116087248,"longitude_deg":75.5810496,"latitude_deg":11.6087248,"altitude":20,"angle":302,"satellites":39,"speed":23,"hex_longitude":"2d0cc0c0","hex_latitude":"06eb59d0","is_valid_coordinates":true} 
[2026-08-08 11:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259041536001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375169233006362624,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927389709234489344,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786168150000,"timestamp_ms":1786168150000,"timestamp_seconds":1786168150,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeb07f0"} 
[2026-08-08 11:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 11:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259041536001,"66":27843,"40":206,"2":56576,"24":23,"16":375169233006362624,"45":927389709234489344},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-08-08 11:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259041536001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:20:17] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-08 11:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375169233006362624,"km_value":375169233006362.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":927389709234489344,"description":"Unknown IO ID 45"} 
[2026-08-08 11:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259041536001,"power":27843,"unknown_40":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":927389709234489344}} 
[2026-08-08 11:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":151437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:20:17] local.INFO: GPS data processed {"connection_id":151437,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:20:17] local.INFO: Acknowledgment sent {"connection_id":151437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:20:20] local.INFO: TCP Data received {"connection_id":151437,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeb4a58012d0ca38006eb6dd80015013a29..."} 
[2026-08-08 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeb4a58012d0ca38006eb6dd80015013a29..."} 
[2026-08-08 11:20:20] local.INFO: Processing buffer {"connection_id":151437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeb4a58012d0ca38006eb6dd80015013a29..."} 
[2026-08-08 11:20:20] local.INFO: Packet analysis {"connection_id":151437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:20:20] local.INFO: Extracted packet for processing {"connection_id":151437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":755803008,"raw_latitude":116092376,"longitude_deg":75.5803008,"latitude_deg":11.6092376,"altitude":21,"angle":314,"satellites":41,"speed":7,"hex_longitude":"2d0ca380","hex_latitude":"06eb6dd8","is_valid_coordinates":true} 
[2026-08-08 11:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259046400001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375169666798059520,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918945459934449664,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786168167000,"timestamp_ms":1786168167000,"timestamp_seconds":1786168167,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeb4a58"} 
[2026-08-08 11:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 11:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259046400001,"66":27930,"42":206,"2":56576,"24":7,"16":375169666798059520,"45":918945459934449664},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259046400001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375169666798059520,"km_value":375169666798059.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":918945459934449664,"description":"Unknown IO ID 45"} 
[2026-08-08 11:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259046400001,"power":27930,"unknown_42":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":918945459934449664}} 
[2026-08-08 11:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":151437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:20:20] local.INFO: GPS data processed {"connection_id":151437,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:20:20] local.INFO: Acknowledgment sent {"connection_id":151437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:20:36] local.INFO: TCP Data received {"connection_id":150209,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe86040012d198c400720b220003900fc23..."} 
[2026-08-08 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe86040012d198c400720b220003900fc23..."} 
[2026-08-08 11:20:36] local.INFO: Processing buffer {"connection_id":150209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe86040012d198c400720b220003900fc23..."} 
[2026-08-08 11:20:36] local.INFO: Packet analysis {"connection_id":150209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe8"} 
[2026-08-08 11:20:36] local.INFO: Extracted packet for processing {"connection_id":150209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe8"} 
[2026-08-08 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457258992128001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:20: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-08-08 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786167976000,"timestamp_ms":1786167976000,"timestamp_seconds":1786167976,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe86040"} 
[2026-08-08 11:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:20: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-08-08 11:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 11:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457258992128001,"66":13015,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457258992128001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:20:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457258992128001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":150209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:20:36] local.INFO: GPS data processed {"connection_id":150209,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:20:36] local.INFO: Acknowledgment sent {"connection_id":150209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:20:58] local.INFO: TCP Data received {"connection_id":150210,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:20:58] local.INFO: Processing buffer {"connection_id":150210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:20:58] local.INFO: IMEI packet received {"connection_id":150210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":150210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:21:03] local.INFO: TCP Data received {"connection_id":150210,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:21:03] local.INFO: Processing buffer {"connection_id":150210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:21:03] local.INFO: IMEI packet received {"connection_id":150210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":150210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:21:04] local.INFO: TCP Data received {"connection_id":150210,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe8b248012d198c400720b220003900fc22..."} 
[2026-08-08 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe8b248012d198c400720b220003900fc22..."} 
[2026-08-08 11:21:04] local.INFO: Processing buffer {"connection_id":150210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe8b248012d198c400720b220003900fc22..."} 
[2026-08-08 11:21:04] local.INFO: Packet analysis {"connection_id":150210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe8"} 
[2026-08-08 11:21:04] local.INFO: Extracted packet for processing {"connection_id":150210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe8"} 
[2026-08-08 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259001856001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786167997000,"timestamp_ms":1786167997000,"timestamp_seconds":1786167997,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe8b248"} 
[2026-08-08 11:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:21: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-08-08 11:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 11:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259001856001,"66":12972,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259001856001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:21:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259001856001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":150210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:21:05] local.INFO: GPS data processed {"connection_id":150210,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:21:05] local.INFO: Acknowledgment sent {"connection_id":150210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:21:06] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:21:06] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:21:06] local.INFO: IMEI packet received {"connection_id":150471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":150471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:21:09] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:21:09] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:21:09] local.INFO: IMEI packet received {"connection_id":150471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":150471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:21:12] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeb4a58012d0ca38006eb6dd80015013a29..."} 
[2026-08-08 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeb4a58012d0ca38006eb6dd80015013a29..."} 
[2026-08-08 11:21:12] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeb4a58012d0ca38006eb6dd80015013a29..."} 
[2026-08-08 11:21:12] local.INFO: Packet analysis {"connection_id":150471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:21:12] local.INFO: Extracted packet for processing {"connection_id":150471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:21:12] local.INFO: GPS Element Parsed {"raw_longitude":755803008,"raw_latitude":116092376,"longitude_deg":75.5803008,"latitude_deg":11.6092376,"altitude":21,"angle":314,"satellites":41,"speed":7,"hex_longitude":"2d0ca380","hex_latitude":"06eb6dd8","is_valid_coordinates":true} 
[2026-08-08 11:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259050752001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375169666798059520,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910712316866975744,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786168167000,"timestamp_ms":1786168167000,"timestamp_seconds":1786168167,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeb4a58"} 
[2026-08-08 11:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259050752001,"66":27930,"42":206,"2":56576,"24":7,"16":375169666798059520,"45":910712316866975744},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259050752001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:21:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375169666798059520,"km_value":375169666798059.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":910712316866975744,"description":"Unknown IO ID 45"} 
[2026-08-08 11:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259050752001,"power":27930,"unknown_42":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":910712316866975744}} 
[2026-08-08 11:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":150471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:21:12] local.INFO: GPS data processed {"connection_id":150471,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:21:12] local.INFO: Acknowledgment sent {"connection_id":150471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:21:36] local.INFO: TCP Data received {"connection_id":150210,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe90450012d198c400720b220003900fc23..."} 
[2026-08-08 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe90450012d198c400720b220003900fc23..."} 
[2026-08-08 11:21:36] local.INFO: Processing buffer {"connection_id":150210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe90450012d198c400720b220003900fc23..."} 
[2026-08-08 11:21:36] local.INFO: Packet analysis {"connection_id":150210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:21:36] local.INFO: Extracted packet for processing {"connection_id":150210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259007232001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21: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-08-08 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786168018000,"timestamp_ms":1786168018000,"timestamp_seconds":1786168018,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe90450"} 
[2026-08-08 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 11:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259007232001,"66":12972,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259007232001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:21:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259007232001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":150210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:21:36] local.INFO: GPS data processed {"connection_id":150210,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:21:36] local.INFO: Acknowledgment sent {"connection_id":150210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:21:44] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeb6998012d0c9d0006eb72a00016012d29..."} 
[2026-08-08 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeb6998012d0c9d0006eb72a00016012d29..."} 
[2026-08-08 11:21:44] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeb6998012d0c9d0006eb72a00016012d29..."} 
[2026-08-08 11:21:44] local.INFO: Packet analysis {"connection_id":150471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:21:44] local.INFO: Extracted packet for processing {"connection_id":150471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":755801344,"raw_latitude":116093600,"longitude_deg":75.5801344,"latitude_deg":11.60936,"altitude":22,"angle":301,"satellites":41,"speed":9,"hex_longitude":"2d0c9d00","hex_latitude":"06eb72a0","is_valid_coordinates":true} 
[2026-08-08 11:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259050752001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375169765582307328,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910712316866975744,"note":"Value kept but may cause issues"} 
[2026-08-08 11:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786168175000,"timestamp_ms":1786168175000,"timestamp_seconds":1786168175,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeb6998"} 
[2026-08-08 11:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259050752001,"66":27930,"42":206,"2":56576,"24":9,"16":375169765582307328,"45":910712316866975744},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259050752001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:21:44] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375169765582307328,"km_value":375169765582307.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":910712316866975744,"description":"Unknown IO ID 45"} 
[2026-08-08 11:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259050752001,"power":27930,"unknown_42":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":910712316866975744}} 
[2026-08-08 11:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":150471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:21:44] local.INFO: GPS data processed {"connection_id":150471,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:21:44] local.INFO: Acknowledgment sent {"connection_id":150471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:22:04] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:04] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:04] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:22:05] local.INFO: TCP Data received {"connection_id":150472,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:22:05] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:22:05] local.INFO: IMEI packet received {"connection_id":150472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":150472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:22:08] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:08] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:08] local.INFO: IMEI packet received {"connection_id":152913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":152913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:22:09] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe95658012d198c400720b220003900fc23..."} 
[2026-08-08 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe95658012d198c400720b220003900fc23..."} 
[2026-08-08 11:22:09] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe95658012d198c400720b220003900fc23..."} 
[2026-08-08 11:22:09] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:22:09] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259012608001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786168039000,"timestamp_ms":1786168039000,"timestamp_seconds":1786168039,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe95658"} 
[2026-08-08 11:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 11:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259012608001,"66":12939,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259012608001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:22:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259012608001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:22:09] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:22:09] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:22:10] local.INFO: TCP Data received {"connection_id":150472,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:22:10] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:22:10] local.INFO: IMEI packet received {"connection_id":150472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":150472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:22:10] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe9a860012d198c400720b220003900fc22..."} 
[2026-08-08 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe9a860012d198c400720b220003900fc22..."} 
[2026-08-08 11:22:10] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe9a860012d198c400720b220003900fc22..."} 
[2026-08-08 11:22:10] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:22:10] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259017984001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786168060000,"timestamp_ms":1786168060000,"timestamp_seconds":1786168060,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe9a860"} 
[2026-08-08 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-08-08 11:22: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-08-08 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 11:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259017984001,"66":12950,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259017984001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:22:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259017984001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:22:11] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:22:11] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:22:12] local.INFO: TCP Data received {"connection_id":150472,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeb8108012d0c974006eb76700016013a26..."} 
[2026-08-08 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeb8108012d0c974006eb76700016013a26..."} 
[2026-08-08 11:22:12] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeb8108012d0c974006eb76700016013a26..."} 
[2026-08-08 11:22:12] local.INFO: Packet analysis {"connection_id":150472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:22:12] local.INFO: Extracted packet for processing {"connection_id":150472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":755799872,"raw_latitude":116094576,"longitude_deg":75.5799872,"latitude_deg":11.6094576,"altitude":22,"angle":314,"satellites":38,"speed":12,"hex_longitude":"2d0c9740","hex_latitude":"06eb7670","is_valid_coordinates":true} 
[2026-08-08 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259052800001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375169847186685952,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908882729518669824,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786168181000,"timestamp_ms":1786168181000,"timestamp_seconds":1786168181,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeb8108"} 
[2026-08-08 11:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259052800001,"66":27484,"42":206,"2":56576,"24":12,"16":375169847186685952,"45":908882729518669824},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259052800001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375169847186685952,"km_value":375169847186685.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":908882729518669824,"description":"Unknown IO ID 45"} 
[2026-08-08 11:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259052800001,"power":27484,"unknown_42":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":908882729518669824}} 
[2026-08-08 11:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":150472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:22:12] local.INFO: GPS data processed {"connection_id":150472,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:22:12] local.INFO: Acknowledgment sent {"connection_id":150472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:22:42] local.INFO: TCP Data received {"connection_id":152913,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfe9fa68012d198c400720b220003900fc23..."} 
[2026-08-08 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfe9fa68012d198c400720b220003900fc23..."} 
[2026-08-08 11:22:42] local.INFO: Processing buffer {"connection_id":152913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfe9fa68012d198c400720b220003900fc23..."} 
[2026-08-08 11:22:42] local.INFO: Packet analysis {"connection_id":152913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:22:42] local.INFO: Extracted packet for processing {"connection_id":152913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfe9"} 
[2026-08-08 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259023360001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786168081000,"timestamp_ms":1786168081000,"timestamp_seconds":1786168081,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfe9fa68"} 
[2026-08-08 11:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 11:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259023360001,"66":12037,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259023360001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:22:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259023360001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":152913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:22:42] local.INFO: GPS data processed {"connection_id":152913,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:22:42] local.INFO: Acknowledgment sent {"connection_id":152913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:22:43] local.INFO: TCP Data received {"connection_id":150472,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeba430012d0c8f8006eb7c60001501461f..."} 
[2026-08-08 11:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeba430012d0c8f8006eb7c60001501461f..."} 
[2026-08-08 11:22:43] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeba430012d0c8f8006eb7c60001501461f..."} 
[2026-08-08 11:22:43] local.INFO: Packet analysis {"connection_id":150472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:22:43] local.INFO: Extracted packet for processing {"connection_id":150472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:22:43] local.INFO: GPS Element Parsed {"raw_longitude":755797888,"raw_latitude":116096096,"longitude_deg":75.5797888,"latitude_deg":11.6096096,"altitude":21,"angle":326,"satellites":31,"speed":8,"hex_longitude":"2d0c8f80","hex_latitude":"06eb7c60","is_valid_coordinates":true} 
[2026-08-08 11:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259054336001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375169967445770240,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907264248402833408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786168190000,"timestamp_ms":1786168190000,"timestamp_seconds":1786168190,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeba430"} 
[2026-08-08 11:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 11:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259054336001,"66":27908,"42":206,"2":56576,"24":8,"16":375169967445770240,"45":907264248402833408},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259054336001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:22:43] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375169967445770240,"km_value":375169967445770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":907264248402833408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259054336001,"power":27908,"unknown_42":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":907264248402833408}} 
[2026-08-08 11:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":150472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:22:43] local.INFO: GPS data processed {"connection_id":150472,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:22:43] local.INFO: Acknowledgment sent {"connection_id":150472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:22:59] local.INFO: TCP Data received {"connection_id":150211,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:59] local.INFO: Processing buffer {"connection_id":150211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:22:59] local.INFO: IMEI packet received {"connection_id":150211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":150211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:23:03] local.INFO: TCP Data received {"connection_id":150211,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:23:03] local.INFO: Processing buffer {"connection_id":150211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:23:03] local.INFO: IMEI packet received {"connection_id":150211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":150211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:23:04] local.INFO: TCP Data received {"connection_id":150211,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfea4c70012d198c400720b220003900fc23..."} 
[2026-08-08 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfea4c70012d198c400720b220003900fc23..."} 
[2026-08-08 11:23:04] local.INFO: Processing buffer {"connection_id":150211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfea4c70012d198c400720b220003900fc23..."} 
[2026-08-08 11:23:04] local.INFO: Packet analysis {"connection_id":150211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfea"} 
[2026-08-08 11:23:04] local.INFO: Extracted packet for processing {"connection_id":150211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfea"} 
[2026-08-08 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259028736001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786168102000,"timestamp_ms":1786168102000,"timestamp_seconds":1786168102,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfea4c70"} 
[2026-08-08 11:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11: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-08-08 11: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3756510160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3903997953,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154151,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2355980740396645410,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195089408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:04] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,78,159,168,45,64,178,57,34,10,66,86,35,4,1,240,172,223,32,113,205,96,140,239,50,2,40,7,69],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-08-08 11:23:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107560087415947264,"timestamp_seconds":4107560087415947.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 11:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259028736001,"66":12906,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259028736001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:23:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259028736001,"power":12906,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":150211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:23:04] local.INFO: GPS data processed {"connection_id":150211,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:23:04] local.INFO: Acknowledgment sent {"connection_id":150211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:23:05] local.INFO: TCP Data received {"connection_id":150212,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:23:05] local.INFO: Processing buffer {"connection_id":150212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:23:05] local.INFO: IMEI packet received {"connection_id":150212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":150212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:23:09] local.INFO: TCP Data received {"connection_id":150211,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfea9e78012d198c400720b220003900fc23..."} 
[2026-08-08 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfea9e78012d198c400720b220003900fc23..."} 
[2026-08-08 11:23:09] local.INFO: Processing buffer {"connection_id":150211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfea9e78012d198c400720b220003900fc23..."} 
[2026-08-08 11:23:09] local.INFO: Packet analysis {"connection_id":150211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfea"} 
[2026-08-08 11:23:09] local.INFO: Extracted packet for processing {"connection_id":150211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfea"} 
[2026-08-08 11:23:09] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259034112001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23: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-08-08 11:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786168123000,"timestamp_ms":1786168123000,"timestamp_seconds":1786168123,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfea9e78"} 
[2026-08-08 11:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 11:23: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-08-08 11: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-08-08 11:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259034112001,"66":12841,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259034112001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:23:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259034112001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":150211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:23:09] local.INFO: GPS data processed {"connection_id":150211,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:23:09] local.INFO: Acknowledgment sent {"connection_id":150211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:23:10] local.INFO: TCP Data received {"connection_id":150212,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:23:10] local.INFO: Processing buffer {"connection_id":150212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:23:10] local.INFO: IMEI packet received {"connection_id":150212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":150212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:23:14] local.INFO: TCP Data received {"connection_id":150212,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfebf250012d0c7b8006eb9a000015014c2a..."} 
[2026-08-08 11:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfebf250012d0c7b8006eb9a000015014c2a..."} 
[2026-08-08 11:23:14] local.INFO: Processing buffer {"connection_id":150212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfebf250012d0c7b8006eb9a000015014c2a..."} 
[2026-08-08 11:23:14] local.INFO: Packet analysis {"connection_id":150212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:23:14] local.INFO: Extracted packet for processing {"connection_id":150212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:23:14] local.INFO: GPS Element Parsed {"raw_longitude":755792768,"raw_latitude":116103680,"longitude_deg":75.5792768,"latitude_deg":11.610368,"altitude":21,"angle":332,"satellites":42,"speed":24,"hex_longitude":"2d0c7b80","hex_latitude":"06eb9a00","is_valid_coordinates":true} 
[2026-08-08 11:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259056640001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375170414122369024,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905082817333714944,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786168210000,"timestamp_ms":1786168210000,"timestamp_seconds":1786168210,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfebf250"} 
[2026-08-08 11:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259056640001,"66":28093,"42":206,"2":56576,"24":24,"16":375170414122369024,"45":905082817333714944},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259056640001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:23:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375170414122369024,"km_value":375170414122369.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":905082817333714944,"description":"Unknown IO ID 45"} 
[2026-08-08 11:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259056640001,"power":28093,"unknown_42":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":905082817333714944}} 
[2026-08-08 11:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":150212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:23:14] local.INFO: GPS data processed {"connection_id":150212,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:23:14] local.INFO: Acknowledgment sent {"connection_id":150212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:23:41] local.INFO: TCP Data received {"connection_id":150211,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeaf080012d198c400720b220003900fc24..."} 
[2026-08-08 11:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeaf080012d198c400720b220003900fc24..."} 
[2026-08-08 11:23:41] local.INFO: Processing buffer {"connection_id":150211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeaf080012d198c400720b220003900fc24..."} 
[2026-08-08 11:23:41] local.INFO: Packet analysis {"connection_id":150211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfea"} 
[2026-08-08 11:23:41] local.INFO: Extracted packet for processing {"connection_id":150211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfea"} 
[2026-08-08 11:23:41] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":36,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259039488001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23: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-08-08 11:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786168144000,"timestamp_ms":1786168144000,"timestamp_seconds":1786168144,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeaf080"} 
[2026-08-08 11:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:23: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-08-08 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 11:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259039488001,"66":12776,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259039488001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:23:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259039488001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":150211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:23:41] local.INFO: GPS data processed {"connection_id":150211,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:23:41] local.INFO: Acknowledgment sent {"connection_id":150211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:23:48] local.INFO: TCP Data received {"connection_id":150212,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfec1960012d0c700006ebb4a80014015829..."} 
[2026-08-08 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfec1960012d0c700006ebb4a80014015829..."} 
[2026-08-08 11:23:48] local.INFO: Processing buffer {"connection_id":150212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfec1960012d0c700006ebb4a80014015829..."} 
[2026-08-08 11:23:48] local.INFO: Packet analysis {"connection_id":150212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:23:48] local.INFO: Extracted packet for processing {"connection_id":150212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":755789824,"raw_latitude":116110504,"longitude_deg":75.5789824,"latitude_deg":11.6110504,"altitude":20,"angle":344,"satellites":41,"speed":31,"hex_longitude":"2d0c7000","hex_latitude":"06ebb4a8","is_valid_coordinates":true} 
[2026-08-08 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259061760001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375170774899621888,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899453317801443328,"note":"Value kept but may cause issues"} 
[2026-08-08 11:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786168220000,"timestamp_ms":1786168220000,"timestamp_seconds":1786168220,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfec1960"} 
[2026-08-08 11:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-08 11:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259061760001,"66":28028,"42":206,"2":56576,"24":31,"16":375170774899621888,"45":899453317801443328},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259061760001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375170774899621888,"km_value":375170774899621.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":899453317801443328,"description":"Unknown IO ID 45"} 
[2026-08-08 11:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259061760001,"power":28028,"unknown_42":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":899453317801443328}} 
[2026-08-08 11:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":150212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:23:48] local.INFO: GPS data processed {"connection_id":150212,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:23:48] local.INFO: Acknowledgment sent {"connection_id":150212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:23:59] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:23:59] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:23:59] local.INFO: IMEI packet received {"connection_id":152914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":152914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:24:03] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:03] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:03] local.INFO: IMEI packet received {"connection_id":152914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":152914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:24:05] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfeb4288012d198c400720b220003900fc25..."} 
[2026-08-08 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfeb4288012d198c400720b220003900fc25..."} 
[2026-08-08 11:24:05] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfeb4288012d198c400720b220003900fc25..."} 
[2026-08-08 11:24:05] local.INFO: Packet analysis {"connection_id":152914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:24:05] local.INFO: Extracted packet for processing {"connection_id":152914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfeb"} 
[2026-08-08 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259044864001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786168165000,"timestamp_ms":1786168165000,"timestamp_seconds":1786168165,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfeb4288"} 
[2026-08-08 11:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:24: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-08-08 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 11:24: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-08-08 11:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259044864001,"66":12798,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259044864001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:24:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259044864001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":152914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:24:05] local.INFO: GPS data processed {"connection_id":152914,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:24:05] local.INFO: Acknowledgment sent {"connection_id":152914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:24:05] local.INFO: TCP Data received {"connection_id":150213,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:24:05] local.INFO: Processing buffer {"connection_id":150213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:24:05] local.INFO: IMEI packet received {"connection_id":150213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":150213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:24:10] local.INFO: TCP Data received {"connection_id":150213,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:24:10] local.INFO: Processing buffer {"connection_id":150213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:24:10] local.INFO: IMEI packet received {"connection_id":150213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":150213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:24:13] local.INFO: TCP Data received {"connection_id":150213,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfec4070012d0c6a0006ebd7c0001201622a..."} 
[2026-08-08 11:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfec4070012d0c6a0006ebd7c0001201622a..."} 
[2026-08-08 11:24:13] local.INFO: Processing buffer {"connection_id":150213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfec4070012d0c6a0006ebd7c0001201622a..."} 
[2026-08-08 11:24:13] local.INFO: Packet analysis {"connection_id":150213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:24:13] local.INFO: Extracted packet for processing {"connection_id":150213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:24:13] local.INFO: GPS Element Parsed {"raw_longitude":755788288,"raw_latitude":116119488,"longitude_deg":75.5788288,"latitude_deg":11.6119488,"altitude":18,"angle":354,"satellites":42,"speed":38,"hex_longitude":"2d0c6a00","hex_latitude":"06ebd7c0","is_valid_coordinates":true} 
[2026-08-08 11:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259064320001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375171217281253376,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896216355571017728,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786168230000,"timestamp_ms":1786168230000,"timestamp_seconds":1786168230,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfec4070"} 
[2026-08-08 11:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 11:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259064320001,"66":27995,"42":206,"2":56576,"24":38,"16":375171217281253376,"45":896216355571017728},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259064320001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:24:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375171217281253376,"km_value":375171217281253.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":896216355571017728,"description":"Unknown IO ID 45"} 
[2026-08-08 11:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259064320001,"power":27995,"unknown_42":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":896216355571017728}} 
[2026-08-08 11:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":150213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:24:13] local.INFO: GPS data processed {"connection_id":150213,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:24:13] local.INFO: Acknowledgment sent {"connection_id":150213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:24:36] local.INFO: TCP Data received {"connection_id":152914,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:24:36] local.INFO: Processing buffer {"connection_id":152914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:24:36] local.INFO: Packet analysis {"connection_id":152914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfef"} 
[2026-08-08 11:24:36] local.INFO: Extracted packet for processing {"connection_id":152914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfef"} 
[2026-08-08 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:24: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-08-08 11:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259117312001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24: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-08-08 11:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786168428000,"timestamp_ms":1786168428000,"timestamp_seconds":1786168428,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfef45e0"} 
[2026-08-08 11:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 11:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259117312001,"66":4786,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259117312001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:24:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259117312001,"power":4786,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":152914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:24:36] local.INFO: GPS data processed {"connection_id":152914,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:24:36] local.INFO: Acknowledgment sent {"connection_id":152914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:24:46] local.INFO: TCP Data received {"connection_id":150213,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfec9278012d0c684006ebed68001301652e..."} 
[2026-08-08 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfec9278012d0c684006ebed68001301652e..."} 
[2026-08-08 11:24:46] local.INFO: Processing buffer {"connection_id":150213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfec9278012d0c684006ebed68001301652e..."} 
[2026-08-08 11:24:46] local.INFO: Packet analysis {"connection_id":150213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:24:46] local.INFO: Extracted packet for processing {"connection_id":150213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:24:46] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":116125032,"longitude_deg":75.578784,"latitude_deg":11.6125032,"altitude":19,"angle":357,"satellites":46,"speed":3,"hex_longitude":"2d0c6840","hex_latitude":"06ebed68","is_valid_coordinates":true} 
[2026-08-08 11:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259066880001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375171492159160320,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894527505713053696,"note":"Value kept but may cause issues"} 
[2026-08-08 11:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786168251000,"timestamp_ms":1786168251000,"timestamp_seconds":1786168251,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfec9278"} 
[2026-08-08 11:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:24: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-08-08 11:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259066880001,"66":27995,"42":206,"2":56576,"24":3,"16":375171492159160320,"45":894527505713053696},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259066880001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:24:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375171492159160320,"km_value":375171492159160.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":894527505713053696,"description":"Unknown IO ID 45"} 
[2026-08-08 11:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259066880001,"power":27995,"unknown_42":206,"power_alt":56576,"ignition":3,"odometer":null,"unknown_45":894527505713053696}} 
[2026-08-08 11:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":150213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:24:46] local.INFO: GPS data processed {"connection_id":150213,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:24:46] local.INFO: Acknowledgment sent {"connection_id":150213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:24:58] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:58] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:58] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:24:58] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:58] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:24:58] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:25:04] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:04] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:04] local.INFO: IMEI packet received {"connection_id":152915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":152915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:25:05] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:25:05] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:25:05] local.INFO: Packet analysis {"connection_id":152915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfef"} 
[2026-08-08 11:25:05] local.INFO: Extracted packet for processing {"connection_id":152915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfef"} 
[2026-08-08 11:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:25: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-08-08 11:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259117568001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786168428000,"timestamp_ms":1786168428000,"timestamp_seconds":1786168428,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfef45e0"} 
[2026-08-08 11:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:25: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-08-08 11: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":18,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 11:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259117568001,"66":4786,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259117568001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259117568001,"power":4786,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":152915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:25:05] local.INFO: GPS data processed {"connection_id":152915,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:25:05] local.INFO: Acknowledgment sent {"connection_id":152915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:25:05] local.INFO: TCP Data received {"connection_id":150473,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:25:05] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:25:05] local.INFO: IMEI packet received {"connection_id":150473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":150473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:25:10] local.INFO: TCP Data received {"connection_id":150473,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:25:10] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:25:10] local.INFO: IMEI packet received {"connection_id":150473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":150473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:25:15] local.INFO: TCP Data received {"connection_id":150473,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfece480012d0c678006ebf498001301642d..."} 
[2026-08-08 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfece480012d0c678006ebf498001301642d..."} 
[2026-08-08 11:25:15] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfece480012d0c678006ebf498001301642d..."} 
[2026-08-08 11:25:15] local.INFO: Packet analysis {"connection_id":150473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:25:15] local.INFO: Extracted packet for processing {"connection_id":150473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfec"} 
[2026-08-08 11:25:15] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":116126872,"longitude_deg":75.5787648,"latitude_deg":11.6126872,"altitude":19,"angle":356,"satellites":45,"speed":0,"hex_longitude":"2d0c6780","hex_latitude":"06ebf498","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259072256001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375171582353473536,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924505229312,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786168272000,"timestamp_ms":1786168272000,"timestamp_seconds":1786168272,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfece480"} 
[2026-08-08 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-08-08 11:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259072256001,"66":28028,"42":206,"2":56576,"24":0,"16":375171582353473536,"45":894034924505229312},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259072256001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:25:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375171582353473536,"km_value":375171582353473.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924505229312,"description":"Unknown IO ID 45"} 
[2026-08-08 11:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259072256001,"power":28028,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894034924505229312}} 
[2026-08-08 11:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":150473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:25:15] local.INFO: GPS data processed {"connection_id":150473,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:25:15] local.INFO: Acknowledgment sent {"connection_id":150473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:25:36] local.INFO: TCP Data received {"connection_id":152915,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:25:36] local.INFO: Processing buffer {"connection_id":152915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfef45e0012d198c400720b220003900fc27..."} 
[2026-08-08 11:25:36] local.INFO: Packet analysis {"connection_id":152915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfef"} 
[2026-08-08 11:25:36] local.INFO: Extracted packet for processing {"connection_id":152915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfef"} 
[2026-08-08 11:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583264,"longitude_deg":75.6649024,"latitude_deg":11.9583264,"altitude":57,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 11:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259117568001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11344829694869504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045183488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786168428000,"timestamp_ms":1786168428000,"timestamp_seconds":1786168428,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfef45e0"} 
[2026-08-08 11:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":18,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 11:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259117568001,"66":4786,"121":206,"28":31744,"24":0,"16":11344829694869504,"45":1840916747045183488},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259117568001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:25:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11344829694869504,"km_value":11344829694869.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045183488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259117568001,"power":4786,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840916747045183488}} 
[2026-08-08 11:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":152915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:25:36] local.INFO: GPS data processed {"connection_id":152915,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:25:36] local.INFO: Acknowledgment sent {"connection_id":152915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:25:47] local.INFO: TCP Data received {"connection_id":150473,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfed3688012d0c66c006ebfe70001401642d..."} 
[2026-08-08 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfed3688012d0c66c006ebfe70001401642d..."} 
[2026-08-08 11:25:47] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfed3688012d0c66c006ebfe70001401642d..."} 
[2026-08-08 11:25:47] local.INFO: Packet analysis {"connection_id":150473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfed"} 
[2026-08-08 11:25:47] local.INFO: Extracted packet for processing {"connection_id":150473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfed"} 
[2026-08-08 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":755787456,"raw_latitude":116129392,"longitude_deg":75.5787456,"latitude_deg":11.6129392,"altitude":20,"angle":356,"satellites":45,"speed":5,"hex_longitude":"2d0c66c0","hex_latitude":"06ebfe70","is_valid_coordinates":true} 
[2026-08-08 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259077632001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375171706907525120,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823818273167360,"note":"Value kept but may cause issues"} 
[2026-08-08 11:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786168293000,"timestamp_ms":1786168293000,"timestamp_seconds":1786168293,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfed3688"} 
[2026-08-08 11:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 11:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259077632001,"66":28093,"42":206,"2":56576,"24":5,"16":375171706907525120,"45":893823818273167360},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259077632001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:25:47] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375171706907525120,"km_value":375171706907525.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823818273167360,"description":"Unknown IO ID 45"} 
[2026-08-08 11:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259077632001,"power":28093,"unknown_42":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":893823818273167360}} 
[2026-08-08 11:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":150473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:25:47] local.INFO: GPS data processed {"connection_id":150473,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:25:47] local.INFO: Acknowledgment sent {"connection_id":150473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:25:56] local.INFO: TCP Data received {"connection_id":150214,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:56] local.INFO: Processing buffer {"connection_id":150214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:56] local.INFO: IMEI packet received {"connection_id":150214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":150214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:25:57] local.INFO: TCP Data received {"connection_id":150214,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:57] local.INFO: Processing buffer {"connection_id":150214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:57] local.INFO: IMEI packet received {"connection_id":150214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":150214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:25:58] local.INFO: TCP Data received {"connection_id":150214,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:58] local.INFO: Processing buffer {"connection_id":150214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:58] local.INFO: IMEI packet received {"connection_id":150214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":150214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:25:59] local.INFO: TCP Data received {"connection_id":150214,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:59] local.INFO: Processing buffer {"connection_id":150214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:25:59] local.INFO: IMEI packet received {"connection_id":150214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":150214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:26:07] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:07] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:07] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:26:10] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:10] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:10] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:26:15] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:15] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:26:15] local.INFO: IMEI packet received {"connection_id":152916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":152916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:26:17] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfed8890012d0c658006ec09980014015f2b..."} 
[2026-08-08 11:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfed8890012d0c658006ec09980014015f2b..."} 
[2026-08-08 11:26:17] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfed8890012d0c658006ec09980014015f2b..."} 
[2026-08-08 11:26:17] local.INFO: Packet analysis {"connection_id":152916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfed"} 
[2026-08-08 11:26:17] local.INFO: Extracted packet for processing {"connection_id":152916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfed"} 
[2026-08-08 11:26:17] local.INFO: GPS Element Parsed {"raw_longitude":755787136,"raw_latitude":116132248,"longitude_deg":75.5787136,"latitude_deg":11.6132248,"altitude":20,"angle":351,"satellites":43,"speed":8,"hex_longitude":"2d0c6580","hex_latitude":"06ec0998","is_valid_coordinates":true} 
[2026-08-08 11:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259083008001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375171852936413184,"note":"Value kept but may cause issues"} 
[2026-08-08 11:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893612712041279488,"note":"Value kept but may cause issues"} 
[2026-08-08 11:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786168314000,"timestamp_ms":1786168314000,"timestamp_seconds":1786168314,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfed8890"} 
[2026-08-08 11:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-08 11:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259083008001,"66":28148,"42":206,"2":56576,"24":8,"16":375171852936413184,"45":893612712041279488},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259083008001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:26:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375171852936413184,"km_value":375171852936413.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":893612712041279488,"description":"Unknown IO ID 45"} 
[2026-08-08 11:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259083008001,"power":28148,"unknown_42":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":893612712041279488}} 
[2026-08-08 11:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":152916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:26:17] local.INFO: GPS data processed {"connection_id":152916,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:26:17] local.INFO: Acknowledgment sent {"connection_id":152916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:26:21] local.INFO: TCP Data received {"connection_id":152916,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfedda98012d0c630006ec16000015015d2e..."} 
[2026-08-08 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfedda98012d0c630006ec16000015015d2e..."} 
[2026-08-08 11:26:21] local.INFO: Processing buffer {"connection_id":152916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfedda98012d0c630006ec16000015015d2e..."} 
[2026-08-08 11:26:21] local.INFO: Packet analysis {"connection_id":152916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfed"} 
[2026-08-08 11:26:21] local.INFO: Extracted packet for processing {"connection_id":152916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfed"} 
[2026-08-08 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":755786496,"raw_latitude":116135424,"longitude_deg":75.5786496,"latitude_deg":11.6135424,"altitude":21,"angle":349,"satellites":46,"speed":0,"hex_longitude":"2d0c6300","hex_latitude":"06ec1600","is_valid_coordinates":true} 
[2026-08-08 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259088384001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375172011850203136,"note":"Value kept but may cause issues"} 
[2026-08-08 11:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893260868321122304,"note":"Value kept but may cause issues"} 
[2026-08-08 11:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786168335000,"timestamp_ms":1786168335000,"timestamp_seconds":1786168335,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfedda98"} 
[2026-08-08 11:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-08 11:26:21] 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-08-08 11:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259088384001,"66":27930,"42":206,"2":56576,"24":0,"16":375172011850203136,"45":893260868321122304},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-08 11:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259088384001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:26:21] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 11:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375172011850203136,"km_value":375172011850203.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":893260868321122304,"description":"Unknown IO ID 45"} 
[2026-08-08 11:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259088384001,"power":27930,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":893260868321122304}} 
[2026-08-08 11:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":152916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:26:21] local.INFO: GPS data processed {"connection_id":152916,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:26:21] local.INFO: Acknowledgment sent {"connection_id":152916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:27:03] local.INFO: TCP Data received {"connection_id":152917,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:03] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:03] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:27:05] local.INFO: TCP Data received {"connection_id":152917,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:05] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:05] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:27:10] local.INFO: TCP Data received {"connection_id":152917,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:10] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:27:10] local.INFO: IMEI packet received {"connection_id":152917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":152917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:27:12] local.INFO: TCP Data received {"connection_id":152917,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff112d0012d0c47c006ec8c88000e01632d..."} 
[2026-08-08 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff112d0012d0c47c006ec8c88000e01632d..."} 
[2026-08-08 11:27:12] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff112d0012d0c47c006ec8c88000e01632d..."} 
[2026-08-08 11:27:12] local.INFO: Packet analysis {"connection_id":152917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:27:12] local.INFO: Extracted packet for processing {"connection_id":152917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:27:12] local.INFO: GPS Element Parsed {"raw_longitude":755779520,"raw_latitude":116165768,"longitude_deg":75.577952,"latitude_deg":11.6165768,"altitude":14,"angle":355,"satellites":45,"speed":8,"hex_longitude":"2d0c47c0","hex_latitude":"06ec8c88","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259143424001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375173583808233472,"note":"Value kept but may cause issues"} 
[2026-08-08 11:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886987772018688,"note":"Value kept but may cause issues"} 
[2026-08-08 11:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786168546000,"timestamp_ms":1786168546000,"timestamp_seconds":1786168546,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff112d0"} 
[2026-08-08 11:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259143424001,"66":27865,"158":206,"2":56576,"24":8,"16":375173583808233472,"45":884886987772018688},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 11:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259143424001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:27:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 11:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375173583808233472,"km_value":375173583808233.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886987772018688,"description":"Unknown IO ID 45"} 
[2026-08-08 11:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259143424001,"power":27865,"unknown_158":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":884886987772018688}} 
[2026-08-08 11:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":152917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:27:12] local.INFO: GPS data processed {"connection_id":152917,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:27:12] local.INFO: Acknowledgment sent {"connection_id":152917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:27:45] local.INFO: TCP Data received {"connection_id":152917,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff164d8012d0c45c006ec9f18001001662c..."} 
[2026-08-08 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff164d8012d0c45c006ec9f18001001662c..."} 
[2026-08-08 11:27:45] local.INFO: Processing buffer {"connection_id":152917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff164d8012d0c45c006ec9f18001001662c..."} 
[2026-08-08 11:27:45] local.INFO: Packet analysis {"connection_id":152917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:27:45] local.INFO: Extracted packet for processing {"connection_id":152917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116170520,"longitude_deg":75.5779008,"latitude_deg":11.617052,"altitude":16,"angle":358,"satellites":44,"speed":10,"hex_longitude":"2d0c45c0","hex_latitude":"06ec9f18","is_valid_coordinates":true} 
[2026-08-08 11:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259147776001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375173820031434752,"note":"Value kept but may cause issues"} 
[2026-08-08 11:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886987772561408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786168567000,"timestamp_ms":1786168567000,"timestamp_seconds":1786168567,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff164d8"} 
[2026-08-08 11:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 11:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259147776001,"66":27974,"158":206,"2":56576,"24":10,"16":375173820031434752,"45":884886987772561408},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 11:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259147776001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:27:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 11:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375173820031434752,"km_value":375173820031434.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886987772561408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259147776001,"power":27974,"unknown_158":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":884886987772561408}} 
[2026-08-08 11:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":152917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:27:45] local.INFO: GPS data processed {"connection_id":152917,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:27:45] local.INFO: Acknowledgment sent {"connection_id":152917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:28:05] local.INFO: TCP Data received {"connection_id":150475,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:28:05] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:28:05] local.INFO: IMEI packet received {"connection_id":150475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":150475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:28:10] local.INFO: TCP Data received {"connection_id":150475,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:28:10] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:28:10] local.INFO: IMEI packet received {"connection_id":150475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":150475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:28:13] local.INFO: TCP Data received {"connection_id":150475,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff17c48012d0c454006eca6600010015b2d..."} 
[2026-08-08 11:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff17c48012d0c454006eca6600010015b2d..."} 
[2026-08-08 11:28:13] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff17c48012d0c454006eca6600010015b2d..."} 
[2026-08-08 11:28:13] local.INFO: Packet analysis {"connection_id":150475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:28:13] local.INFO: Extracted packet for processing {"connection_id":150475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:28:13] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116172384,"longitude_deg":75.577888,"latitude_deg":11.6172384,"altitude":16,"angle":347,"satellites":45,"speed":11,"hex_longitude":"2d0c4540","hex_latitude":"06eca660","is_valid_coordinates":true} 
[2026-08-08 11:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259153152001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375173910225747968,"note":"Value kept but may cause issues"} 
[2026-08-08 11:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037820356608,"note":"Value kept but may cause issues"} 
[2026-08-08 11:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786168573000,"timestamp_ms":1786168573000,"timestamp_seconds":1786168573,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff17c48"} 
[2026-08-08 11:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259153152001,"66":27930,"158":206,"2":56576,"24":11,"16":375173910225747968,"45":884324037820356608},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 11:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259153152001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:28:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 11:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375173910225747968,"km_value":375173910225747.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037820356608,"description":"Unknown IO ID 45"} 
[2026-08-08 11:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259153152001,"power":27930,"unknown_158":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":884324037820356608}} 
[2026-08-08 11:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":150475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:28:13] local.INFO: GPS data processed {"connection_id":150475,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:28:13] local.INFO: Acknowledgment sent {"connection_id":150475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:28:45] local.INFO: TCP Data received {"connection_id":150475,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff193b8012d0c438006ecaef8001001662e..."} 
[2026-08-08 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff193b8012d0c438006ecaef8001001662e..."} 
[2026-08-08 11:28:45] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff193b8012d0c438006ecaef8001001662e..."} 
[2026-08-08 11:28:45] local.INFO: Packet analysis {"connection_id":150475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:28:45] local.INFO: Extracted packet for processing {"connection_id":150475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":755778432,"raw_latitude":116174584,"longitude_deg":75.5778432,"latitude_deg":11.6174584,"altitude":16,"angle":358,"satellites":46,"speed":17,"hex_longitude":"2d0c4380","hex_latitude":"06ecaef8","is_valid_coordinates":true} 
[2026-08-08 11:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259154688001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375174017599930368,"note":"Value kept but may cause issues"} 
[2026-08-08 11:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300332478464,"note":"Value kept but may cause issues"} 
[2026-08-08 11:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786168579000,"timestamp_ms":1786168579000,"timestamp_seconds":1786168579,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff193b8"} 
[2026-08-08 11:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:28: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-08-08 11:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259154688001,"66":28006,"158":206,"2":56576,"24":17,"16":375174017599930368,"45":884183300332478464},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 11:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259154688001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:28:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 11:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375174017599930368,"km_value":375174017599930.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300332478464,"description":"Unknown IO ID 45"} 
[2026-08-08 11:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259154688001,"power":28006,"unknown_158":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":884183300332478464}} 
[2026-08-08 11:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":150475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:28:45] local.INFO: GPS data processed {"connection_id":150475,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:28:45] local.INFO: Acknowledgment sent {"connection_id":150475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:29:05] local.INFO: TCP Data received {"connection_id":151439,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:29:05] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:29:05] local.INFO: IMEI packet received {"connection_id":151439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:29:10] local.INFO: TCP Data received {"connection_id":151439,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:29:10] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:29:10] local.INFO: IMEI packet received {"connection_id":151439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":151439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:29:12] local.INFO: TCP Data received {"connection_id":151439,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff1ab28012d0c450006ecbc60000f00082e..."} 
[2026-08-08 11:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff1ab28012d0c450006ecbc60000f00082e..."} 
[2026-08-08 11:29:12] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff1ab28012d0c450006ecbc60000f00082e..."} 
[2026-08-08 11:29:12] local.INFO: Packet analysis {"connection_id":151439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:29:12] local.INFO: Extracted packet for processing {"connection_id":151439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff1"} 
[2026-08-08 11:29:12] local.INFO: GPS Element Parsed {"raw_longitude":755778816,"raw_latitude":116178016,"longitude_deg":75.5778816,"latitude_deg":11.6178016,"altitude":15,"angle":8,"satellites":46,"speed":27,"hex_longitude":"2d0c4500","hex_latitude":"06ecbc60","is_valid_coordinates":true} 
[2026-08-08 11:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259156224001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375174185103654912,"note":"Value kept but may cause issues"} 
[2026-08-08 11:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883690719123798016,"note":"Value kept but may cause issues"} 
[2026-08-08 11:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786168585000,"timestamp_ms":1786168585000,"timestamp_seconds":1786168585,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff1ab28"} 
[2026-08-08 11:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 11:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259156224001,"66":27908,"158":206,"2":56576,"24":27,"16":375174185103654912,"45":883690719123798016},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 11:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259156224001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:29:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 11:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375174185103654912,"km_value":375174185103654.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":883690719123798016,"description":"Unknown IO ID 45"} 
[2026-08-08 11:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259156224001,"power":27908,"unknown_158":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":883690719123798016}} 
[2026-08-08 11:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":151439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:29:13] local.INFO: GPS data processed {"connection_id":151439,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:29:13] local.INFO: Acknowledgment sent {"connection_id":151439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:29:59] local.INFO: TCP Data received {"connection_id":151439,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff3b698012d0c3ec006edf508000d014229..."} 
[2026-08-08 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff3b698012d0c3ec006edf508000d014229..."} 
[2026-08-08 11:29:59] local.INFO: Processing buffer {"connection_id":151439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff3b698012d0c3ec006edf508000d014229..."} 
[2026-08-08 11:29:59] local.INFO: Packet analysis {"connection_id":151439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:29:59] local.INFO: Extracted packet for processing {"connection_id":151439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":116258056,"longitude_deg":75.5777216,"latitude_deg":11.6258056,"altitude":13,"angle":322,"satellites":41,"speed":6,"hex_longitude":"2d0c3ec0","hex_latitude":"06edf508","is_valid_coordinates":true} 
[2026-08-08 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259187968001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375178166538338304,"note":"Value kept but may cause issues"} 
[2026-08-08 11:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886364731422177280,"note":"Value kept but may cause issues"} 
[2026-08-08 11:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786168719000,"timestamp_ms":1786168719000,"timestamp_seconds":1786168719,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff3b698"} 
[2026-08-08 11:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:29: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-08-08 11:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":151439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":151439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":151439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259187968001,"66":27876,"158":206,"2":56576,"24":6,"16":375178166538338304,"45":886364731422177280},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-08 11:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259187968001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 11:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375178166538338304,"km_value":375178166538338.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":886364731422177280,"description":"Unknown IO ID 45"} 
[2026-08-08 11:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259187968001,"power":27876,"unknown_158":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":886364731422177280}} 
[2026-08-08 11:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":151439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:29:59] local.INFO: GPS data processed {"connection_id":151439,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:29:59] local.INFO: Acknowledgment sent {"connection_id":151439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:30:10] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:30:10] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:30:10] local.INFO: IMEI packet received {"connection_id":152919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":152919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:30:27] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:30:27] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:30:27] local.INFO: IMEI packet received {"connection_id":152919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":152919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:30:34] local.INFO: TCP Data received {"connection_id":152919,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff408a0012d0c2bc006ee1360000f014a2a..."} 
[2026-08-08 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff408a0012d0c2bc006ee1360000f014a2a..."} 
[2026-08-08 11:30:34] local.INFO: Processing buffer {"connection_id":152919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff408a0012d0c2bc006ee1360000f014a2a..."} 
[2026-08-08 11:30:34] local.INFO: Packet analysis {"connection_id":152919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:30:34] local.INFO: Extracted packet for processing {"connection_id":152919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755772352,"raw_latitude":116265824,"longitude_deg":75.5772352,"latitude_deg":11.6265824,"altitude":15,"angle":330,"satellites":42,"speed":15,"hex_longitude":"2d0c2bc0","hex_latitude":"06ee1360","is_valid_coordinates":true} 
[2026-08-08 11:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259192064001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375178613214937088,"note":"Value kept but may cause issues"} 
[2026-08-08 11:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882353713005791232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786168740000,"timestamp_ms":1786168740000,"timestamp_seconds":1786168740,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff408a0"} 
[2026-08-08 11:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":152919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":152919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":152919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259192064001,"66":27974,"118":206,"2":56576,"24":15,"16":375178613214937088,"45":882353713005791232},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259192064001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:30:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375178613214937088,"km_value":375178613214937.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":882353713005791232,"description":"Unknown IO ID 45"} 
[2026-08-08 11:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259192064001,"power":27974,"unknown_118":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":882353713005791232}} 
[2026-08-08 11:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":152919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:30:34] local.INFO: GPS data processed {"connection_id":152919,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:30:34] local.INFO: Acknowledgment sent {"connection_id":152919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:31:03] local.INFO: TCP Data received {"connection_id":150215,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:03] local.INFO: Processing buffer {"connection_id":150215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:03] local.INFO: IMEI packet received {"connection_id":150215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":150215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:31:05] local.INFO: TCP Data received {"connection_id":150215,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff29d58012d197380071feb600037011227..."} 
[2026-08-08 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff29d58012d197380071feb600037011227..."} 
[2026-08-08 11:31:05] local.INFO: Processing buffer {"connection_id":150215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff29d58012d197380071feb600037011227..."} 
[2026-08-08 11:31:05] local.INFO: Packet analysis {"connection_id":150215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff2"} 
[2026-08-08 11:31:05] local.INFO: Extracted packet for processing {"connection_id":150215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff2"} 
[2026-08-08 11:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119532384,"longitude_deg":75.6642688,"latitude_deg":11.9532384,"altitude":55,"angle":274,"satellites":39,"speed":15,"hex_longitude":"2d197380","hex_latitude":"071feb60","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259172352001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349167611838464,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409916422144,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786168647000,"timestamp_ms":1786168647000,"timestamp_seconds":1786168647,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff29d58"} 
[2026-08-08 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-08-08 11:31: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-08-08 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 11:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259172352001,"66":13298,"121":206,"28":31744,"24":15,"16":11349167611838464,"45":1836272409916422144},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259172352001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:31:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349167611838464,"km_value":11349167611838.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409916422144,"description":"Unknown IO ID 45"} 
[2026-08-08 11:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259172352001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1836272409916422144}} 
[2026-08-08 11:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":150215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:31:05] local.INFO: GPS data processed {"connection_id":150215,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:31:05] local.INFO: Acknowledgment sent {"connection_id":150215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:31:08] local.INFO: TCP Data received {"connection_id":150477,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:31:08] local.INFO: Processing buffer {"connection_id":150477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:31:08] local.INFO: IMEI packet received {"connection_id":150477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":150477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:31:11] local.INFO: TCP Data received {"connection_id":150477,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:31:11] local.INFO: Processing buffer {"connection_id":150477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:31:11] local.INFO: IMEI packet received {"connection_id":150477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":150477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:31:14] local.INFO: TCP Data received {"connection_id":150477,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff408a0012d0c2bc006ee1360000f014a2a..."} 
[2026-08-08 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff408a0012d0c2bc006ee1360000f014a2a..."} 
[2026-08-08 11:31:14] local.INFO: Processing buffer {"connection_id":150477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff408a0012d0c2bc006ee1360000f014a2a..."} 
[2026-08-08 11:31:14] local.INFO: Packet analysis {"connection_id":150477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:31:14] local.INFO: Extracted packet for processing {"connection_id":150477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:31:14] local.INFO: GPS Element Parsed {"raw_longitude":755772352,"raw_latitude":116265824,"longitude_deg":75.5772352,"latitude_deg":11.6265824,"altitude":15,"angle":330,"satellites":42,"speed":15,"hex_longitude":"2d0c2bc0","hex_latitude":"06ee1360","is_valid_coordinates":true} 
[2026-08-08 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259197440001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375178613214937088,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877005688450277376,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786168740000,"timestamp_ms":1786168740000,"timestamp_seconds":1786168740,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff408a0"} 
[2026-08-08 11:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:31: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-08-08 11:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259197440001,"66":27974,"118":206,"2":56576,"24":15,"16":375178613214937088,"45":877005688450277376},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259197440001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:31:14] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375178613214937088,"km_value":375178613214937.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":877005688450277376,"description":"Unknown IO ID 45"} 
[2026-08-08 11:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259197440001,"power":27974,"unknown_118":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":877005688450277376}} 
[2026-08-08 11:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":150477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:31:14] local.INFO: GPS data processed {"connection_id":150477,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:31:14] local.INFO: Acknowledgment sent {"connection_id":150477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:31:20] local.INFO: TCP Data received {"connection_id":150477,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff44b08012d0c19c006ee31a8001101482a..."} 
[2026-08-08 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff44b08012d0c19c006ee31a8001101482a..."} 
[2026-08-08 11:31:20] local.INFO: Processing buffer {"connection_id":150477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff44b08012d0c19c006ee31a8001101482a..."} 
[2026-08-08 11:31:20] local.INFO: Packet analysis {"connection_id":150477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:31:20] local.INFO: Extracted packet for processing {"connection_id":150477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:31:20] local.INFO: GPS Element Parsed {"raw_longitude":755767744,"raw_latitude":116273576,"longitude_deg":75.5767744,"latitude_deg":11.6273576,"altitude":17,"angle":328,"satellites":42,"speed":22,"hex_longitude":"2d0c19c0","hex_latitude":"06ee31a8","is_valid_coordinates":true} 
[2026-08-08 11:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259197440001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375179047006633984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877005688450277376,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786168757000,"timestamp_ms":1786168757000,"timestamp_seconds":1786168757,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff44b08"} 
[2026-08-08 11:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259197440001,"66":27800,"118":206,"2":56576,"24":22,"16":375179047006633984,"45":877005688450277376},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259197440001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:31:20] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375179047006633984,"km_value":375179047006634.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":877005688450277376,"description":"Unknown IO ID 45"} 
[2026-08-08 11:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259197440001,"power":27800,"unknown_118":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":877005688450277376}} 
[2026-08-08 11:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":150477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:31:20] local.INFO: GPS data processed {"connection_id":150477,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:31:20] local.INFO: Acknowledgment sent {"connection_id":150477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:31:37] local.INFO: TCP Data received {"connection_id":150215,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff2ef60012d196840071fed500034011528..."} 
[2026-08-08 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff2ef60012d196840071fed500034011528..."} 
[2026-08-08 11:31:37] local.INFO: Processing buffer {"connection_id":150215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff2ef60012d196840071fed500034011528..."} 
[2026-08-08 11:31:37] local.INFO: Packet analysis {"connection_id":150215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff2"} 
[2026-08-08 11:31:37] local.INFO: Extracted packet for processing {"connection_id":150215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff2"} 
[2026-08-08 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259173632001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833950241358569472,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786168668000,"timestamp_ms":1786168668000,"timestamp_seconds":1786168668,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff2ef60"} 
[2026-08-08 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-08-08 11:31: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-08-08 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-08 11:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259173632001,"66":13254,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1833950241358569472},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259173632001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:31:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833950241358569472,"description":"Unknown IO ID 45"} 
[2026-08-08 11:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259173632001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833950241358569472}} 
[2026-08-08 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":150215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:31:37] local.INFO: GPS data processed {"connection_id":150215,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:31:37] local.INFO: Acknowledgment sent {"connection_id":150215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:31:56] local.INFO: TCP Data received {"connection_id":150216,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:56] local.INFO: Processing buffer {"connection_id":150216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:56] local.INFO: IMEI packet received {"connection_id":150216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":150216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:31:58] local.INFO: TCP Data received {"connection_id":150216,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:58] local.INFO: Processing buffer {"connection_id":150216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:31:58] local.INFO: IMEI packet received {"connection_id":150216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":150216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:32:03] local.INFO: TCP Data received {"connection_id":150216,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:03] local.INFO: Processing buffer {"connection_id":150216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:03] local.INFO: IMEI packet received {"connection_id":150216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":150216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:32:05] local.INFO: TCP Data received {"connection_id":150216,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff34168012d196840071fed500034011527..."} 
[2026-08-08 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff34168012d196840071fed500034011527..."} 
[2026-08-08 11:32:05] local.INFO: Processing buffer {"connection_id":150216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff34168012d196840071fed500034011527..."} 
[2026-08-08 11:32:05] local.INFO: Packet analysis {"connection_id":150216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:32:05] local.INFO: Extracted packet for processing {"connection_id":150216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259179008001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786168689000,"timestamp_ms":1786168689000,"timestamp_seconds":1786168689,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff34168"} 
[2026-08-08 11:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:32: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-08-08 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-08 11:32: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-08-08 11:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259179008001,"66":13135,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259179008001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:32:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259179008001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":150216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:32:05] local.INFO: GPS data processed {"connection_id":150216,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:32:05] local.INFO: Acknowledgment sent {"connection_id":150216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:32:15] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:32:15] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:32:15] local.INFO: IMEI packet received {"connection_id":152920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":152920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:32:17] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:32:17] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:32:17] local.INFO: IMEI packet received {"connection_id":152920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":152920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:32:19] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff5f8b8012d0bc98006eed840000e01512b..."} 
[2026-08-08 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff5f8b8012d0bc98006eed840000e01512b..."} 
[2026-08-08 11:32:19] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff5f8b8012d0bc98006eed840000e01512b..."} 
[2026-08-08 11:32:19] local.INFO: Packet analysis {"connection_id":152920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff5"} 
[2026-08-08 11:32:19] local.INFO: Extracted packet for processing {"connection_id":152920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff5"} 
[2026-08-08 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":755747200,"raw_latitude":116316224,"longitude_deg":75.57472,"latitude_deg":11.6316224,"altitude":14,"angle":337,"satellites":43,"speed":42,"hex_longitude":"2d0bc980","hex_latitude":"06eed840","is_valid_coordinates":true} 
[2026-08-08 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259227392001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375181357699039232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853643265393895424,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786168867000,"timestamp_ms":1786168867000,"timestamp_seconds":1786168867,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff5f8b8"} 
[2026-08-08 11:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:32: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-08-08 11:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259227392001,"66":27876,"118":206,"2":56576,"24":42,"16":375181357699039232,"45":853643265393895424},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259227392001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:32:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375181357699039232,"km_value":375181357699039.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":853643265393895424,"description":"Unknown IO ID 45"} 
[2026-08-08 11:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259227392001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":853643265393895424}} 
[2026-08-08 11:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":152920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:32:19] local.INFO: GPS data processed {"connection_id":152920,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:32:19] local.INFO: Acknowledgment sent {"connection_id":152920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:32:21] local.INFO: TCP Data received {"connection_id":152920,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff617f8012d0bbc8006eef940000e01522b..."} 
[2026-08-08 11:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff617f8012d0bbc8006eef940000e01522b..."} 
[2026-08-08 11:32:21] local.INFO: Processing buffer {"connection_id":152920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff617f8012d0bbc8006eef940000e01522b..."} 
[2026-08-08 11:32:21] local.INFO: Packet analysis {"connection_id":152920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff6"} 
[2026-08-08 11:32:21] local.INFO: Extracted packet for processing {"connection_id":152920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff6"} 
[2026-08-08 11:32:21] local.INFO: GPS Element Parsed {"raw_longitude":755743872,"raw_latitude":116324672,"longitude_deg":75.5743872,"latitude_deg":11.6324672,"altitude":14,"angle":338,"satellites":43,"speed":47,"hex_longitude":"2d0bbc80","hex_latitude":"06eef940","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259229952001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375181800080670720,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849350772001357824,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786168875000,"timestamp_ms":1786168875000,"timestamp_seconds":1786168875,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff617f8"} 
[2026-08-08 11:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259229952001,"66":27908,"118":206,"2":56576,"24":47,"16":375181800080670720,"45":849350772001357824},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259229952001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:32:21] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375181800080670720,"km_value":375181800080670.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":849350772001357824,"description":"Unknown IO ID 45"} 
[2026-08-08 11:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259229952001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":849350772001357824}} 
[2026-08-08 11:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":152920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:32:21] local.INFO: GPS data processed {"connection_id":152920,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:32:21] local.INFO: Acknowledgment sent {"connection_id":152920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:32:36] local.INFO: TCP Data received {"connection_id":150216,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff39370012d196840071fed500034011527..."} 
[2026-08-08 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff39370012d196840071fed500034011527..."} 
[2026-08-08 11:32:36] local.INFO: Processing buffer {"connection_id":150216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff39370012d196840071fed500034011527..."} 
[2026-08-08 11:32:36] local.INFO: Packet analysis {"connection_id":150216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:32:36] local.INFO: Extracted packet for processing {"connection_id":150216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259184384001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:32: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-08-08 11:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786168710000,"timestamp_ms":1786168710000,"timestamp_seconds":1786168710,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff39370"} 
[2026-08-08 11:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 11:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259184384001,"66":13156,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259184384001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:32:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259184384001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":150216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:32:36] local.INFO: GPS data processed {"connection_id":150216,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:32:36] local.INFO: Acknowledgment sent {"connection_id":150216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:32:58] local.INFO: TCP Data received {"connection_id":150217,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:58] local.INFO: Processing buffer {"connection_id":150217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:58] local.INFO: IMEI packet received {"connection_id":150217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":150217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:32:59] local.INFO: TCP Data received {"connection_id":150217,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:59] local.INFO: Processing buffer {"connection_id":150217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:32:59] local.INFO: IMEI packet received {"connection_id":150217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":150217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:33:03] local.INFO: TCP Data received {"connection_id":150217,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:33:03] local.INFO: Processing buffer {"connection_id":150217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:33:03] local.INFO: IMEI packet received {"connection_id":150217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":150217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:33:04] local.INFO: TCP Data received {"connection_id":150217,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff3e578012d196840071fed500034011528..."} 
[2026-08-08 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff3e578012d196840071fed500034011528..."} 
[2026-08-08 11:33:04] local.INFO: Processing buffer {"connection_id":150217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff3e578012d196840071fed500034011528..."} 
[2026-08-08 11:33:04] local.INFO: Packet analysis {"connection_id":150217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:33:04] local.INFO: Extracted packet for processing {"connection_id":150217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff3"} 
[2026-08-08 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259189760001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786168731000,"timestamp_ms":1786168731000,"timestamp_seconds":1786168731,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff3e578"} 
[2026-08-08 11:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-08 11:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259189760001,"66":13091,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259189760001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:33:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259189760001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":150217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:33:04] local.INFO: GPS data processed {"connection_id":150217,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:33:04] local.INFO: Acknowledgment sent {"connection_id":150217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:33:09] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:09] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:09] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:33:11] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:11] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:11] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:33:15] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:15] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:33:15] local.INFO: IMEI packet received {"connection_id":152921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":152921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:33:17] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff63738012d0bae8006ef1cb0000f01532c..."} 
[2026-08-08 11:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff63738012d0bae8006ef1cb0000f01532c..."} 
[2026-08-08 11:33:17] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff63738012d0bae8006ef1cb0000f01532c..."} 
[2026-08-08 11:33:17] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff6"} 
[2026-08-08 11:33:17] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff6"} 
[2026-08-08 11:33:17] local.INFO: GPS Element Parsed {"raw_longitude":755740288,"raw_latitude":116333744,"longitude_deg":75.5740288,"latitude_deg":11.6333744,"altitude":15,"angle":339,"satellites":44,"speed":49,"hex_longitude":"2d0bae80","hex_latitude":"06ef1cb0","is_valid_coordinates":true} 
[2026-08-08 11:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259232000001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375182268232105984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845691597306281984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786168883000,"timestamp_ms":1786168883000,"timestamp_seconds":1786168883,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff63738"} 
[2026-08-08 11:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259232000001,"66":27984,"118":206,"2":56576,"24":49,"16":375182268232105984,"45":845691597306281984},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259232000001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:33:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375182268232105984,"km_value":375182268232106.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":845691597306281984,"description":"Unknown IO ID 45"} 
[2026-08-08 11:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259232000001,"power":27984,"unknown_118":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":845691597306281984}} 
[2026-08-08 11:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:33:17] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:33:17] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:33:19] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff65290012d0ba24006ef3d28000f01532d..."} 
[2026-08-08 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff65290012d0ba24006ef3d28000f01532d..."} 
[2026-08-08 11:33:19] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff65290012d0ba24006ef3d28000f01532d..."} 
[2026-08-08 11:33:19] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff6"} 
[2026-08-08 11:33:19] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff6"} 
[2026-08-08 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":755737152,"raw_latitude":116342056,"longitude_deg":75.5737152,"latitude_deg":11.6342056,"altitude":15,"angle":339,"satellites":45,"speed":51,"hex_longitude":"2d0ba240","hex_latitude":"06ef3d28","is_valid_coordinates":true} 
[2026-08-08 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259234048001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375182697728835584,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841750947634655232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786168890000,"timestamp_ms":1786168890000,"timestamp_seconds":1786168890,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff65290"} 
[2026-08-08 11:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 11:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259234048001,"66":27463,"118":206,"2":56576,"24":51,"16":375182697728835584,"45":841750947634655232},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259234048001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:33:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375182697728835584,"km_value":375182697728835.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":841750947634655232,"description":"Unknown IO ID 45"} 
[2026-08-08 11:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259234048001,"power":27463,"unknown_118":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":841750947634655232}} 
[2026-08-08 11:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:33:19] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:33:19] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:33:36] local.INFO: TCP Data received {"connection_id":150217,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff43780012d196840071fed500034011528..."} 
[2026-08-08 11:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff43780012d196840071fed500034011528..."} 
[2026-08-08 11:33:36] local.INFO: Processing buffer {"connection_id":150217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff43780012d196840071fed500034011528..."} 
[2026-08-08 11:33:36] local.INFO: Packet analysis {"connection_id":150217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:33:36] local.INFO: Extracted packet for processing {"connection_id":150217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259195136001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786168752000,"timestamp_ms":1786168752000,"timestamp_seconds":1786168752,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff43780"} 
[2026-08-08 11:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 11:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259195136001,"66":13102,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259195136001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:33:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259195136001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":150217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:33:36] local.INFO: GPS data processed {"connection_id":150217,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:33:36] local.INFO: Acknowledgment sent {"connection_id":150217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:33:53] local.INFO: TCP Data received {"connection_id":152921,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff78b10012d0b2c4006f0c848001001452e..."} 
[2026-08-08 11:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff78b10012d0b2c4006f0c848001001452e..."} 
[2026-08-08 11:33:53] local.INFO: Processing buffer {"connection_id":152921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff78b10012d0b2c4006f0c848001001452e..."} 
[2026-08-08 11:33:53] local.INFO: Packet analysis {"connection_id":152921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff7"} 
[2026-08-08 11:33:53] local.INFO: Extracted packet for processing {"connection_id":152921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff7"} 
[2026-08-08 11:33:53] local.INFO: GPS Element Parsed {"raw_longitude":755706944,"raw_latitude":116443208,"longitude_deg":75.5706944,"latitude_deg":11.6443208,"altitude":16,"angle":325,"satellites":46,"speed":55,"hex_longitude":"2d0b2c40","hex_latitude":"06f0c848","is_valid_coordinates":true} 
[2026-08-08 11:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259254528001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375187830214754304,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810436856501354496,"note":"Value kept but may cause issues"} 
[2026-08-08 11:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786168970000,"timestamp_ms":1786168970000,"timestamp_seconds":1786168970,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff78b10"} 
[2026-08-08 11:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 11:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259254528001,"66":27995,"118":206,"2":56576,"24":55,"16":375187830214754304,"45":810436856501354496},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259254528001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:33:53] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375187830214754304,"km_value":375187830214754.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":810436856501354496,"description":"Unknown IO ID 45"} 
[2026-08-08 11:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259254528001,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":810436856501354496}} 
[2026-08-08 11:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":152921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:33:53] local.INFO: GPS data processed {"connection_id":152921,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:33:53] local.INFO: Acknowledgment sent {"connection_id":152921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:33:58] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:33:58] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:33:58] local.INFO: IMEI packet received {"connection_id":150478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":150478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:34:03] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:34:03] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:34:03] local.INFO: IMEI packet received {"connection_id":150478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":150478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:34:04] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff48988012d196840071fed500034011527..."} 
[2026-08-08 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff48988012d196840071fed500034011527..."} 
[2026-08-08 11:34:04] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff48988012d196840071fed500034011527..."} 
[2026-08-08 11:34:04] local.INFO: Packet analysis {"connection_id":150478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:34:04] local.INFO: Extracted packet for processing {"connection_id":150478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259200512001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786168773000,"timestamp_ms":1786168773000,"timestamp_seconds":1786168773,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff48988"} 
[2026-08-08 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 11:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259200512001,"66":13080,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259200512001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259200512001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":150478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:34:05] local.INFO: GPS data processed {"connection_id":150478,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:34:05] local.INFO: Acknowledgment sent {"connection_id":150478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:34:13] local.INFO: TCP Data received {"connection_id":151440,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:13] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:13] local.INFO: IMEI packet received {"connection_id":151440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":151440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:34:15] local.INFO: TCP Data received {"connection_id":151440,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:15] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:15] local.INFO: IMEI packet received {"connection_id":151440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":151440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:34:16] local.INFO: TCP Data received {"connection_id":151440,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:16] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:34:16] local.INFO: IMEI packet received {"connection_id":151440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":151440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:34:22] local.INFO: TCP Data received {"connection_id":151440,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff7b220012d0b180006f0e4c8001101382f..."} 
[2026-08-08 11:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff7b220012d0b180006f0e4c8001101382f..."} 
[2026-08-08 11:34:22] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff7b220012d0b180006f0e4c8001101382f..."} 
[2026-08-08 11:34:22] local.INFO: Packet analysis {"connection_id":151440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff7"} 
[2026-08-08 11:34:22] local.INFO: Extracted packet for processing {"connection_id":151440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff7"} 
[2026-08-08 11:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755701760,"raw_latitude":116450504,"longitude_deg":75.570176,"latitude_deg":11.6450504,"altitude":17,"angle":312,"satellites":47,"speed":20,"hex_longitude":"2d0b1800","hex_latitude":"06f0e4c8","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259256320001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375188259711483904,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805088831946115072,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786168980000,"timestamp_ms":1786168980000,"timestamp_seconds":1786168980,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff7b220"} 
[2026-08-08 11:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259256320001,"66":27767,"118":206,"2":56576,"24":20,"16":375188259711483904,"45":805088831946115072},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259256320001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:34:22] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375188259711483904,"km_value":375188259711483.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":805088831946115072,"description":"Unknown IO ID 45"} 
[2026-08-08 11:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259256320001,"power":27767,"unknown_118":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":805088831946115072}} 
[2026-08-08 11:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":151440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:34:22] local.INFO: GPS data processed {"connection_id":151440,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:34:22] local.INFO: Acknowledgment sent {"connection_id":151440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:34:36] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff4db90012d196840071fed500034011526..."} 
[2026-08-08 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff4db90012d196840071fed500034011526..."} 
[2026-08-08 11:34:36] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff4db90012d196840071fed500034011526..."} 
[2026-08-08 11:34:36] local.INFO: Packet analysis {"connection_id":150478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:34:36] local.INFO: Extracted packet for processing {"connection_id":150478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff4"} 
[2026-08-08 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259205888001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786168794000,"timestamp_ms":1786168794000,"timestamp_seconds":1786168794,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff4db90"} 
[2026-08-08 11:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 11:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259205888001,"66":11993,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259205888001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:34:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259205888001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":150478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:34:36] local.INFO: GPS data processed {"connection_id":150478,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:34:36] local.INFO: Acknowledgment sent {"connection_id":150478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:34:44] local.INFO: TCP Data received {"connection_id":151440,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff7b220012d0b180006f0e4c8001101382f..."} 
[2026-08-08 11:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff7b220012d0b180006f0e4c8001101382f..."} 
[2026-08-08 11:34:44] local.INFO: Processing buffer {"connection_id":151440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff7b220012d0b180006f0e4c8001101382f..."} 
[2026-08-08 11:34:44] local.INFO: Packet analysis {"connection_id":151440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff7"} 
[2026-08-08 11:34:44] local.INFO: Extracted packet for processing {"connection_id":151440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff7"} 
[2026-08-08 11:34:44] local.INFO: GPS Element Parsed {"raw_longitude":755701760,"raw_latitude":116450504,"longitude_deg":75.570176,"latitude_deg":11.6450504,"altitude":17,"angle":312,"satellites":47,"speed":20,"hex_longitude":"2d0b1800","hex_latitude":"06f0e4c8","is_valid_coordinates":true} 
[2026-08-08 11:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259258880001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375188259711483904,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799388963669592064,"note":"Value kept but may cause issues"} 
[2026-08-08 11:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786168980000,"timestamp_ms":1786168980000,"timestamp_seconds":1786168980,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff7b220"} 
[2026-08-08 11:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 11:34: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-08-08 11:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259258880001,"66":27767,"118":206,"2":56576,"24":20,"16":375188259711483904,"45":799388963669592064},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-08 11:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259258880001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:34:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 11:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375188259711483904,"km_value":375188259711483.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":799388963669592064,"description":"Unknown IO ID 45"} 
[2026-08-08 11:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259258880001,"power":27767,"unknown_118":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":799388963669592064}} 
[2026-08-08 11:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":151440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:34:44] local.INFO: GPS data processed {"connection_id":151440,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:34:44] local.INFO: Acknowledgment sent {"connection_id":151440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:34:58] local.INFO: TCP Data received {"connection_id":151441,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:34:58] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:34:58] local.INFO: IMEI packet received {"connection_id":151441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":151441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:35:03] local.INFO: TCP Data received {"connection_id":151441,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:35:03] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:35:03] local.INFO: IMEI packet received {"connection_id":151441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":151441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:35:05] local.INFO: TCP Data received {"connection_id":151441,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff52d98012d196840071fed500034011526..."} 
[2026-08-08 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff52d98012d196840071fed500034011526..."} 
[2026-08-08 11:35:05] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff52d98012d196840071fed500034011526..."} 
[2026-08-08 11:35:05] local.INFO: Packet analysis {"connection_id":151441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff5"} 
[2026-08-08 11:35:05] local.INFO: Extracted packet for processing {"connection_id":151441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff5"} 
[2026-08-08 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259211264001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786168815000,"timestamp_ms":1786168815000,"timestamp_seconds":1786168815,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff52d98"} 
[2026-08-08 11:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:35: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-08-08 11:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 11:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259211264001,"66":13004,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259211264001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259211264001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":151441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:35:05] local.INFO: GPS data processed {"connection_id":151441,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:35:05] local.INFO: Acknowledgment sent {"connection_id":151441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:35:36] local.INFO: TCP Data received {"connection_id":151441,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff8b3f0012d196840071fed500034011527..."} 
[2026-08-08 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff8b3f0012d196840071fed500034011527..."} 
[2026-08-08 11:35:36] local.INFO: Processing buffer {"connection_id":151441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff8b3f0012d196840071fed500034011527..."} 
[2026-08-08 11:35:36] local.INFO: Packet analysis {"connection_id":151441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff8"} 
[2026-08-08 11:35:36] local.INFO: Extracted packet for processing {"connection_id":151441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff8"} 
[2026-08-08 11:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259270400001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169046000,"timestamp_ms":1786169046000,"timestamp_seconds":1786169046,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff8b3f0"} 
[2026-08-08 11:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:35: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-08-08 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-08 11:35: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-08-08 11:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259270400001,"66":12645,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259270400001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:35:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259270400001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":151441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:35:36] local.INFO: GPS data processed {"connection_id":151441,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:35:36] local.INFO: Acknowledgment sent {"connection_id":151441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:36:03] local.INFO: TCP Data received {"connection_id":152922,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:03] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:03] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:36:10] local.INFO: TCP Data received {"connection_id":152922,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:10] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:10] local.INFO: IMEI packet received {"connection_id":152922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":152922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:36:11] local.INFO: TCP Data received {"connection_id":152922,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff905f8012d196840071fed500034011527..."} 
[2026-08-08 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff905f8012d196840071fed500034011527..."} 
[2026-08-08 11:36:11] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff905f8012d196840071fed500034011527..."} 
[2026-08-08 11:36:11] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:36:11] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259275776001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786169067000,"timestamp_ms":1786169067000,"timestamp_seconds":1786169067,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff905f8"} 
[2026-08-08 11:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:36: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-08-08 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-08 11:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259275776001,"66":12711,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259275776001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:36:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259275776001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:36:11] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:36:11] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:36:43] local.INFO: TCP Data received {"connection_id":152922,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff95800012d196840071fed500034011528..."} 
[2026-08-08 11:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff95800012d196840071fed500034011528..."} 
[2026-08-08 11:36:43] local.INFO: Processing buffer {"connection_id":152922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff95800012d196840071fed500034011528..."} 
[2026-08-08 11:36:43] local.INFO: Packet analysis {"connection_id":152922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:36:43] local.INFO: Extracted packet for processing {"connection_id":152922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:36:43] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259281152001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786169088000,"timestamp_ms":1786169088000,"timestamp_seconds":1786169088,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff95800"} 
[2026-08-08 11:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 11:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259281152001,"66":12776,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259281152001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:36:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259281152001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":152922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:36:43] local.INFO: GPS data processed {"connection_id":152922,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:36:43] local.INFO: Acknowledgment sent {"connection_id":152922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:36:58] local.INFO: TCP Data received {"connection_id":150218,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:58] local.INFO: Processing buffer {"connection_id":150218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:36:58] local.INFO: IMEI packet received {"connection_id":150218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":150218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:37:03] local.INFO: TCP Data received {"connection_id":150218,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:37:03] local.INFO: Processing buffer {"connection_id":150218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:37:03] local.INFO: IMEI packet received {"connection_id":150218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":150218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:37:05] local.INFO: TCP Data received {"connection_id":150218,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff9aa08012d196840071fed500034011528..."} 
[2026-08-08 11:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff9aa08012d196840071fed500034011528..."} 
[2026-08-08 11:37:05] local.INFO: Processing buffer {"connection_id":150218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff9aa08012d196840071fed500034011528..."} 
[2026-08-08 11:37:05] local.INFO: Packet analysis {"connection_id":150218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:37:05] local.INFO: Extracted packet for processing {"connection_id":150218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259286528001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786169109000,"timestamp_ms":1786169109000,"timestamp_seconds":1786169109,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff9aa08"} 
[2026-08-08 11:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:37: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-08-08 11: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-08-08 11: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-08-08 11:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259286528001,"66":12711,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259286528001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:37:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259286528001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":150218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:37:05] local.INFO: GPS data processed {"connection_id":150218,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:37:05] local.INFO: Acknowledgment sent {"connection_id":150218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:37:37] local.INFO: TCP Data received {"connection_id":150218,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdff9fc10012d196840071fed500034011528..."} 
[2026-08-08 11:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdff9fc10012d196840071fed500034011528..."} 
[2026-08-08 11:37:37] local.INFO: Processing buffer {"connection_id":150218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdff9fc10012d196840071fed500034011528..."} 
[2026-08-08 11:37:37] local.INFO: Packet analysis {"connection_id":150218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:37:37] local.INFO: Extracted packet for processing {"connection_id":150218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdff9"} 
[2026-08-08 11:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259291904001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786169130000,"timestamp_ms":1786169130000,"timestamp_seconds":1786169130,"priority":1,"record_length":96,"hex_timestamp":"0000019fdff9fc10"} 
[2026-08-08 11:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:37: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-08-08 11: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":167,"data_length":795,"current_offset":136} 
[2026-08-08 11:37: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-08-08 11:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259291904001,"66":12722,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259291904001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259291904001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":150218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:37:37] local.INFO: GPS data processed {"connection_id":150218,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:37:37] local.INFO: Acknowledgment sent {"connection_id":150218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:37:58] local.INFO: TCP Data received {"connection_id":150480,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:37:58] local.INFO: Processing buffer {"connection_id":150480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:37:58] local.INFO: IMEI packet received {"connection_id":150480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":150480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:38:03] local.INFO: TCP Data received {"connection_id":150480,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:38:03] local.INFO: Processing buffer {"connection_id":150480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:38:03] local.INFO: IMEI packet received {"connection_id":150480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":150480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:38:05] local.INFO: TCP Data received {"connection_id":150480,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffa4e18012d196840071fed500034011527..."} 
[2026-08-08 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffa4e18012d196840071fed500034011527..."} 
[2026-08-08 11:38:05] local.INFO: Processing buffer {"connection_id":150480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffa4e18012d196840071fed500034011527..."} 
[2026-08-08 11:38:05] local.INFO: Packet analysis {"connection_id":150480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffa"} 
[2026-08-08 11:38:05] local.INFO: Extracted packet for processing {"connection_id":150480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffa"} 
[2026-08-08 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259297280001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786169151000,"timestamp_ms":1786169151000,"timestamp_seconds":1786169151,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffa4e18"} 
[2026-08-08 11:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:38: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-08-08 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 11:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259297280001,"66":12689,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259297280001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:38:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259297280001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":150480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:38:05] local.INFO: GPS data processed {"connection_id":150480,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:38:05] local.INFO: Acknowledgment sent {"connection_id":150480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:38:36] local.INFO: TCP Data received {"connection_id":150480,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffaa020012d196840071fed500034011527..."} 
[2026-08-08 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffaa020012d196840071fed500034011527..."} 
[2026-08-08 11:38:36] local.INFO: Processing buffer {"connection_id":150480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffaa020012d196840071fed500034011527..."} 
[2026-08-08 11:38:36] local.INFO: Packet analysis {"connection_id":150480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffa"} 
[2026-08-08 11:38:36] local.INFO: Extracted packet for processing {"connection_id":150480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffa"} 
[2026-08-08 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259302656001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:38: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-08-08 11:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169172000,"timestamp_ms":1786169172000,"timestamp_seconds":1786169172,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffaa020"} 
[2026-08-08 11:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:38: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-08-08 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 11:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259302656001,"66":12667,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259302656001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:38:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259302656001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":150480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:38:37] local.INFO: GPS data processed {"connection_id":150480,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:38:37] local.INFO: Acknowledgment sent {"connection_id":150480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:38:58] local.INFO: TCP Data received {"connection_id":151443,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:38:58] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:38:58] local.INFO: IMEI packet received {"connection_id":151443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":151443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:39:03] local.INFO: TCP Data received {"connection_id":151443,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:39:03] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:39:03] local.INFO: IMEI packet received {"connection_id":151443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":151443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:39:04] local.INFO: TCP Data received {"connection_id":151443,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffaf228012d196840071fed500034011528..."} 
[2026-08-08 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffaf228012d196840071fed500034011528..."} 
[2026-08-08 11:39:04] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffaf228012d196840071fed500034011528..."} 
[2026-08-08 11:39:04] local.INFO: Packet analysis {"connection_id":151443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffa"} 
[2026-08-08 11:39:04] local.INFO: Extracted packet for processing {"connection_id":151443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffa"} 
[2026-08-08 11:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259308032001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786169193000,"timestamp_ms":1786169193000,"timestamp_seconds":1786169193,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffaf228"} 
[2026-08-08 11:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:39: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-08-08 11:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 11:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259308032001,"66":12689,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259308032001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:39:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259308032001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":151443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:39:05] local.INFO: GPS data processed {"connection_id":151443,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:39:05] local.INFO: Acknowledgment sent {"connection_id":151443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:39:36] local.INFO: TCP Data received {"connection_id":151443,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffb4430012d196840071fed500034011528..."} 
[2026-08-08 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffb4430012d196840071fed500034011528..."} 
[2026-08-08 11:39:36] local.INFO: Processing buffer {"connection_id":151443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffb4430012d196840071fed500034011528..."} 
[2026-08-08 11:39:36] local.INFO: Packet analysis {"connection_id":151443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffb"} 
[2026-08-08 11:39:36] local.INFO: Extracted packet for processing {"connection_id":151443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffb"} 
[2026-08-08 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259313408001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:39: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-08-08 11:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169214000,"timestamp_ms":1786169214000,"timestamp_seconds":1786169214,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffb4430"} 
[2026-08-08 11:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:39: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-08-08 11:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 11:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259313408001,"66":12591,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259313408001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:39:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259313408001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":151443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:39:36] local.INFO: GPS data processed {"connection_id":151443,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:39:36] local.INFO: Acknowledgment sent {"connection_id":151443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:39:59] local.INFO: TCP Data received {"connection_id":150483,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:39:59] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:39:59] local.INFO: IMEI packet received {"connection_id":150483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":150483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:40:04] local.INFO: TCP Data received {"connection_id":150483,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:04] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:04] local.INFO: IMEI packet received {"connection_id":150483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":150483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:40:13] local.INFO: TCP Data received {"connection_id":150483,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:13] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:13] local.INFO: IMEI packet received {"connection_id":150483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":150483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:40:14] local.INFO: TCP Data received {"connection_id":150483,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffb9638012d196840071fed500034011527..."} 
[2026-08-08 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffb9638012d196840071fed500034011527..."} 
[2026-08-08 11:40:14] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffb9638012d196840071fed500034011527..."} 
[2026-08-08 11:40:14] local.INFO: Packet analysis {"connection_id":150483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffb"} 
[2026-08-08 11:40:14] local.INFO: Extracted packet for processing {"connection_id":150483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffb"} 
[2026-08-08 11:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259318784001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786169235000,"timestamp_ms":1786169235000,"timestamp_seconds":1786169235,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffb9638"} 
[2026-08-08 11:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 11:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259318784001,"66":12678,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259318784001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:40:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259318784001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":150483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:40:14] local.INFO: GPS data processed {"connection_id":150483,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:40:14] local.INFO: Acknowledgment sent {"connection_id":150483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:40:15] local.INFO: TCP Data received {"connection_id":150483,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffbe840012d196840071fed500034011528..."} 
[2026-08-08 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffbe840012d196840071fed500034011528..."} 
[2026-08-08 11:40:15] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffbe840012d196840071fed500034011528..."} 
[2026-08-08 11:40:15] local.INFO: Packet analysis {"connection_id":150483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffb"} 
[2026-08-08 11:40:15] local.INFO: Extracted packet for processing {"connection_id":150483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffb"} 
[2026-08-08 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259324160001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786169256000,"timestamp_ms":1786169256000,"timestamp_seconds":1786169256,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffbe840"} 
[2026-08-08 11:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 11:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259324160001,"66":12645,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259324160001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:40:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259324160001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":150483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:40:15] local.INFO: GPS data processed {"connection_id":150483,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:40:15] local.INFO: Acknowledgment sent {"connection_id":150483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:40:35] local.INFO: TCP Data received {"connection_id":150484,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:40:35] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:40:35] local.INFO: IMEI packet received {"connection_id":150484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":150484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:40:36] local.INFO: TCP Data received {"connection_id":150484,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffdb148012d09738006f41778000f01582c..."} 
[2026-08-08 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffdb148012d09738006f41778000f01582c..."} 
[2026-08-08 11:40:36] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffdb148012d09738006f41778000f01582c..."} 
[2026-08-08 11:40:36] local.INFO: Packet analysis {"connection_id":150484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:40:36] local.INFO: Extracted packet for processing {"connection_id":150484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":755594112,"raw_latitude":116660088,"longitude_deg":75.5594112,"latitude_deg":11.6660088,"altitude":15,"angle":344,"satellites":44,"speed":47,"hex_longitude":"2d097380","hex_latitude":"06f41778","is_valid_coordinates":true} 
[2026-08-08 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259357440001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375200440238735360,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":683773117037125632,"note":"Value kept but may cause issues"} 
[2026-08-08 11:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169373000,"timestamp_ms":1786169373000,"timestamp_seconds":1786169373,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffdb148"} 
[2026-08-08 11:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259357440001,"66":28017,"67":206,"2":56576,"24":47,"16":375200440238735360,"45":683773117037125632},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 11:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259357440001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:40:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 11:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375200440238735360,"km_value":375200440238735.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":683773117037125632,"description":"Unknown IO ID 45"} 
[2026-08-08 11:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259357440001,"power":28017,"unknown_67":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":683773117037125632}} 
[2026-08-08 11:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":150484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:40:36] local.INFO: GPS data processed {"connection_id":150484,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:40:36] local.INFO: Acknowledgment sent {"connection_id":150484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:40:59] local.INFO: TCP Data received {"connection_id":151444,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:59] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:40:59] local.INFO: IMEI packet received {"connection_id":151444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":151444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:41:03] local.INFO: TCP Data received {"connection_id":151444,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:41:03] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:41:03] local.INFO: IMEI packet received {"connection_id":151444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":151444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:41:04] local.INFO: TCP Data received {"connection_id":151444,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffc3a48012d196840071fed500034011528..."} 
[2026-08-08 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffc3a48012d196840071fed500034011528..."} 
[2026-08-08 11:41:04] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffc3a48012d196840071fed500034011528..."} 
[2026-08-08 11:41:04] local.INFO: Packet analysis {"connection_id":151444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffc"} 
[2026-08-08 11:41:04] local.INFO: Extracted packet for processing {"connection_id":151444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffc"} 
[2026-08-08 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259329536001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786169277000,"timestamp_ms":1786169277000,"timestamp_seconds":1786169277,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffc3a48"} 
[2026-08-08 11:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:41: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-08-08 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-08 11:41: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-08-08 11:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259329536001,"66":12645,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259329536001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:41:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259329536001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":151444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:41:04] local.INFO: GPS data processed {"connection_id":151444,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:41:04] local.INFO: Acknowledgment sent {"connection_id":151444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:41:05] local.INFO: TCP Data received {"connection_id":152924,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:05] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:05] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:41:07] local.INFO: TCP Data received {"connection_id":152924,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:07] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:07] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:41:10] local.INFO: TCP Data received {"connection_id":152924,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:10] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:41:10] local.INFO: IMEI packet received {"connection_id":152924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":152924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:41:13] local.INFO: TCP Data received {"connection_id":152924,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffdd088012d09690006f43d70000f01582f..."} 
[2026-08-08 11:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffdd088012d09690006f43d70000f01582f..."} 
[2026-08-08 11:41:13] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffdd088012d09690006f43d70000f01582f..."} 
[2026-08-08 11:41:13] local.INFO: Packet analysis {"connection_id":152924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:41:13] local.INFO: Extracted packet for processing {"connection_id":152924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:41:13] local.INFO: GPS Element Parsed {"raw_longitude":755591424,"raw_latitude":116669808,"longitude_deg":75.5591424,"latitude_deg":11.6669808,"altitude":15,"angle":344,"satellites":47,"speed":52,"hex_longitude":"2d096900","hex_latitude":"06f43d70","is_valid_coordinates":true} 
[2026-08-08 11:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259359488001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375200925570039808,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":681028736016414720,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786169381000,"timestamp_ms":1786169381000,"timestamp_seconds":1786169381,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffdd088"} 
[2026-08-08 11:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 11:41:13] 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-08-08 11:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259359488001,"66":27843,"67":206,"2":56576,"24":52,"16":375200925570039808,"45":681028736016414720},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 11:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259359488001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:41:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 11:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375200925570039808,"km_value":375200925570039.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":681028736016414720,"description":"Unknown IO ID 45"} 
[2026-08-08 11:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259359488001,"power":27843,"unknown_67":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":681028736016414720}} 
[2026-08-08 11:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":152924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:41:13] local.INFO: GPS data processed {"connection_id":152924,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:41:13] local.INFO: Acknowledgment sent {"connection_id":152924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:41:36] local.INFO: TCP Data received {"connection_id":151444,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffc8c50012d196840071fed500034011526..."} 
[2026-08-08 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffc8c50012d196840071fed500034011526..."} 
[2026-08-08 11:41:36] local.INFO: Processing buffer {"connection_id":151444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffc8c50012d196840071fed500034011526..."} 
[2026-08-08 11:41:36] local.INFO: Packet analysis {"connection_id":151444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffc"} 
[2026-08-08 11:41:36] local.INFO: Extracted packet for processing {"connection_id":151444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffc"} 
[2026-08-08 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259334912001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41: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-08-08 11:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169298000,"timestamp_ms":1786169298000,"timestamp_seconds":1786169298,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffc8c50"} 
[2026-08-08 11:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:41: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-08-08 11:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-08 11:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259334912001,"66":12602,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259334912001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:41:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259334912001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":151444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:41:36] local.INFO: GPS data processed {"connection_id":151444,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:41:36] local.INFO: Acknowledgment sent {"connection_id":151444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:41:45] local.INFO: TCP Data received {"connection_id":152924,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffdebe0012d095f0006f45ed0000f01542f..."} 
[2026-08-08 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffdebe0012d095f0006f45ed0000f01542f..."} 
[2026-08-08 11:41:45] local.INFO: Processing buffer {"connection_id":152924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffdebe0012d095f0006f45ed0000f01542f..."} 
[2026-08-08 11:41:45] local.INFO: Packet analysis {"connection_id":152924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:41:45] local.INFO: Extracted packet for processing {"connection_id":152924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":755588864,"raw_latitude":116678352,"longitude_deg":75.5588864,"latitude_deg":11.6678352,"altitude":15,"angle":340,"satellites":47,"speed":46,"hex_longitude":"2d095f00","hex_latitude":"06f45ed0","is_valid_coordinates":true} 
[2026-08-08 11:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259361536001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375201359361736704,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678073248763441152,"note":"Value kept but may cause issues"} 
[2026-08-08 11:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786169388000,"timestamp_ms":1786169388000,"timestamp_seconds":1786169388,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffdebe0"} 
[2026-08-08 11:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 11:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259361536001,"66":27865,"67":206,"2":56576,"24":46,"16":375201359361736704,"45":678073248763441152},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-08 11:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259361536001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:41:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 11:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375201359361736704,"km_value":375201359361736.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":678073248763441152,"description":"Unknown IO ID 45"} 
[2026-08-08 11:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259361536001,"power":27865,"unknown_67":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":678073248763441152}} 
[2026-08-08 11:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":152924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:41:45] local.INFO: GPS data processed {"connection_id":152924,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:41:45] local.INFO: Acknowledgment sent {"connection_id":152924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:41:58] local.INFO: TCP Data received {"connection_id":151445,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:41:58] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:41:58] local.INFO: IMEI packet received {"connection_id":151445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":151445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:42:03] local.INFO: TCP Data received {"connection_id":151445,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:42:03] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:42:03] local.INFO: IMEI packet received {"connection_id":151445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":151445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:42:05] local.INFO: TCP Data received {"connection_id":151445,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffcde58012d196840071fed500034011528..."} 
[2026-08-08 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffcde58012d196840071fed500034011528..."} 
[2026-08-08 11:42:05] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffcde58012d196840071fed500034011528..."} 
[2026-08-08 11:42:05] local.INFO: Packet analysis {"connection_id":151445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffc"} 
[2026-08-08 11:42:05] local.INFO: Extracted packet for processing {"connection_id":151445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffc"} 
[2026-08-08 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259340288001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786169319000,"timestamp_ms":1786169319000,"timestamp_seconds":1786169319,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffcde58"} 
[2026-08-08 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:42: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-08-08 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-08 11:42: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-08-08 11:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259340288001,"66":12602,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259340288001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:42:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259340288001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":151445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:42:05] local.INFO: GPS data processed {"connection_id":151445,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:42:05] local.INFO: Acknowledgment sent {"connection_id":151445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:42:07] local.INFO: TCP Data received {"connection_id":150219,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:07] local.INFO: Processing buffer {"connection_id":150219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:07] local.INFO: IMEI packet received {"connection_id":150219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":150219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:42:10] local.INFO: TCP Data received {"connection_id":150219,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:10] local.INFO: Processing buffer {"connection_id":150219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:10] local.INFO: IMEI packet received {"connection_id":150219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":150219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:42:16] local.INFO: TCP Data received {"connection_id":150219,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:16] local.INFO: Processing buffer {"connection_id":150219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:42:16] local.INFO: IMEI packet received {"connection_id":150219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":150219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:42:17] local.INFO: TCP Data received {"connection_id":150219,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfff5728012d0890c006f575b0001201432e..."} 
[2026-08-08 11:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfff5728012d0890c006f575b0001201432e..."} 
[2026-08-08 11:42:17] local.INFO: Processing buffer {"connection_id":150219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfff5728012d0890c006f575b0001201432e..."} 
[2026-08-08 11:42:17] local.INFO: Packet analysis {"connection_id":150219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:42:17] local.INFO: Extracted packet for processing {"connection_id":150219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:42:17] local.INFO: GPS Element Parsed {"raw_longitude":755536064,"raw_latitude":116749744,"longitude_deg":75.5536064,"latitude_deg":11.6749744,"altitude":18,"angle":323,"satellites":46,"speed":46,"hex_longitude":"2d0890c0","hex_latitude":"06f575b0","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259385088001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375205684393803776,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":623044890835050496,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786169481000,"timestamp_ms":1786169481000,"timestamp_seconds":1786169481,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfff5728"} 
[2026-08-08 11:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259385088001,"66":27984,"69":206,"2":56576,"24":46,"16":375205684393803776,"45":623044890835050496},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 11:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259385088001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:42:17] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 11:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375205684393803776,"km_value":375205684393803.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":623044890835050496,"description":"Unknown IO ID 45"} 
[2026-08-08 11:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259385088001,"power":27984,"unknown_69":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":623044890835050496}} 
[2026-08-08 11:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":150219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:42:17] local.INFO: GPS data processed {"connection_id":150219,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:42:17] local.INFO: Acknowledgment sent {"connection_id":150219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:42:18] local.INFO: TCP Data received {"connection_id":150219,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfff7668012d087a4006f59470001301432d..."} 
[2026-08-08 11:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfff7668012d087a4006f59470001301432d..."} 
[2026-08-08 11:42:18] local.INFO: Processing buffer {"connection_id":150219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfff7668012d087a4006f59470001301432d..."} 
[2026-08-08 11:42:18] local.INFO: Packet analysis {"connection_id":150219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:42:18] local.INFO: Extracted packet for processing {"connection_id":150219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:42:18] local.INFO: GPS Element Parsed {"raw_longitude":755530304,"raw_latitude":116757616,"longitude_deg":75.5530304,"latitude_deg":11.6757616,"altitude":19,"angle":323,"satellites":45,"speed":48,"hex_longitude":"2d087a40","hex_latitude":"06f59470","is_valid_coordinates":true} 
[2026-08-08 11:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259387136001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375206152545239040,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":617204285070225408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786169489000,"timestamp_ms":1786169489000,"timestamp_seconds":1786169489,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfff7668"} 
[2026-08-08 11:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 11:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259387136001,"66":27745,"69":206,"2":56576,"24":48,"16":375206152545239040,"45":617204285070225408},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 11:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259387136001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:42:18] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 11:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375206152545239040,"km_value":375206152545239.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":617204285070225408,"description":"Unknown IO ID 45"} 
[2026-08-08 11:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259387136001,"power":27745,"unknown_69":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":617204285070225408}} 
[2026-08-08 11:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":150219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:42:18] local.INFO: GPS data processed {"connection_id":150219,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:42:18] local.INFO: Acknowledgment sent {"connection_id":150219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:42:36] local.INFO: TCP Data received {"connection_id":151445,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffd3060012d196840071fed500034011527..."} 
[2026-08-08 11:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffd3060012d196840071fed500034011527..."} 
[2026-08-08 11:42:36] local.INFO: Processing buffer {"connection_id":151445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffd3060012d196840071fed500034011527..."} 
[2026-08-08 11:42:36] local.INFO: Packet analysis {"connection_id":151445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:42:36] local.INFO: Extracted packet for processing {"connection_id":151445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259345664001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169340000,"timestamp_ms":1786169340000,"timestamp_seconds":1786169340,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffd3060"} 
[2026-08-08 11:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:42: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-08-08 11: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":58,"data_length":795,"current_offset":136} 
[2026-08-08 11:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259345664001,"66":12591,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259345664001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:42:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259345664001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":151445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:42:36] local.INFO: GPS data processed {"connection_id":151445,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:42:36] local.INFO: Acknowledgment sent {"connection_id":151445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:42:54] local.INFO: TCP Data received {"connection_id":150219,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfff95a8012d08648006f5b2b0001501452e..."} 
[2026-08-08 11:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfff95a8012d08648006f5b2b0001501452e..."} 
[2026-08-08 11:42:54] local.INFO: Processing buffer {"connection_id":150219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfff95a8012d08648006f5b2b0001501452e..."} 
[2026-08-08 11:42:54] local.INFO: Packet analysis {"connection_id":150219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:42:54] local.INFO: Extracted packet for processing {"connection_id":150219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:42:54] local.INFO: GPS Element Parsed {"raw_longitude":755524736,"raw_latitude":116765360,"longitude_deg":75.5524736,"latitude_deg":11.676536,"altitude":21,"angle":325,"satellites":46,"speed":46,"hex_longitude":"2d086480","hex_latitude":"06f5b2b0","is_valid_coordinates":true} 
[2026-08-08 11:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259389184001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375206612106739712,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":610871098096250880,"note":"Value kept but may cause issues"} 
[2026-08-08 11:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786169497000,"timestamp_ms":1786169497000,"timestamp_seconds":1786169497,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfff95a8"} 
[2026-08-08 11:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 11:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":150219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":150219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":150219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259389184001,"66":27908,"69":206,"2":56576,"24":46,"16":375206612106739712,"45":610871098096250880},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 11:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259389184001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:42:54] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 11:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375206612106739712,"km_value":375206612106739.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":610871098096250880,"description":"Unknown IO ID 45"} 
[2026-08-08 11:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259389184001,"power":27908,"unknown_69":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":610871098096250880}} 
[2026-08-08 11:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":150219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:42:54] local.INFO: GPS data processed {"connection_id":150219,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:42:54] local.INFO: Acknowledgment sent {"connection_id":150219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:42:59] local.INFO: TCP Data received {"connection_id":150485,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:42:59] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:42:59] local.INFO: IMEI packet received {"connection_id":150485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":150485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:43:03] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:03] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:03] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:43:05] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:05] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:05] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:43:08] local.INFO: TCP Data received {"connection_id":150485,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:43:08] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:43:08] local.INFO: IMEI packet received {"connection_id":150485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":150485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:43:10] local.INFO: TCP Data received {"connection_id":150485,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffd8268012d196840071fed500034011528..."} 
[2026-08-08 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffd8268012d196840071fed500034011528..."} 
[2026-08-08 11:43:10] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffd8268012d196840071fed500034011528..."} 
[2026-08-08 11:43:10] local.INFO: Packet analysis {"connection_id":150485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:43:10] local.INFO: Extracted packet for processing {"connection_id":150485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259351040001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786169361000,"timestamp_ms":1786169361000,"timestamp_seconds":1786169361,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffd8268"} 
[2026-08-08 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-08-08 11:43: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-08-08 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 11:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259351040001,"66":12537,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259351040001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:43:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259351040001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":150485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:43:10] local.INFO: GPS data processed {"connection_id":150485,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:43:10] local.INFO: Acknowledgment sent {"connection_id":150485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:43:11] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:11] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:43:11] local.INFO: IMEI packet received {"connection_id":152925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":152925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:43:12] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfffb4e8012d084e0006f5d1d8001301432f..."} 
[2026-08-08 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfffb4e8012d084e0006f5d1d8001301432f..."} 
[2026-08-08 11:43:12] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfffb4e8012d084e0006f5d1d8001301432f..."} 
[2026-08-08 11:43:12] local.INFO: Packet analysis {"connection_id":152925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:43:12] local.INFO: Extracted packet for processing {"connection_id":152925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755518976,"raw_latitude":116773336,"longitude_deg":75.5518976,"latitude_deg":11.6773336,"altitude":19,"angle":323,"satellites":47,"speed":52,"hex_longitude":"2d084e00","hex_latitude":"06f5d1d8","is_valid_coordinates":true} 
[2026-08-08 11:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259391232001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375207088848109568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":604749017354776576,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786169505000,"timestamp_ms":1786169505000,"timestamp_seconds":1786169505,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfffb4e8"} 
[2026-08-08 11:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259391232001,"66":27876,"69":206,"2":56576,"24":52,"16":375207088848109568,"45":604749017354776576},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 11:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259391232001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:43:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 11:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375207088848109568,"km_value":375207088848109.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":604749017354776576,"description":"Unknown IO ID 45"} 
[2026-08-08 11:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259391232001,"power":27876,"unknown_69":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":604749017354776576}} 
[2026-08-08 11:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":152925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:43:12] local.INFO: GPS data processed {"connection_id":152925,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:43:12] local.INFO: Acknowledgment sent {"connection_id":152925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:43:42] local.INFO: TCP Data received {"connection_id":150485,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffdd470012d196840071fed500034011526..."} 
[2026-08-08 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffdd470012d196840071fed500034011526..."} 
[2026-08-08 11:43:42] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffdd470012d196840071fed500034011526..."} 
[2026-08-08 11:43:42] local.INFO: Packet analysis {"connection_id":150485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:43:42] local.INFO: Extracted packet for processing {"connection_id":150485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffd"} 
[2026-08-08 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259356416001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43: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-08-08 11:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786169382000,"timestamp_ms":1786169382000,"timestamp_seconds":1786169382,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffdd470"} 
[2026-08-08 11:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 11:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259356416001,"66":12558,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259356416001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:43:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259356416001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":150485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:43:42] local.INFO: GPS data processed {"connection_id":150485,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:43:42] local.INFO: Acknowledgment sent {"connection_id":150485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:43:44] local.INFO: TCP Data received {"connection_id":152925,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfffd040012d0833c006f5efe80011013c2d..."} 
[2026-08-08 11:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfffd040012d0833c006f5efe80011013c2d..."} 
[2026-08-08 11:43:44] local.INFO: Processing buffer {"connection_id":152925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfffd040012d0833c006f5efe80011013c2d..."} 
[2026-08-08 11:43:44] local.INFO: Packet analysis {"connection_id":152925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:43:44] local.INFO: Extracted packet for processing {"connection_id":152925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755512256,"raw_latitude":116781032,"longitude_deg":75.5512256,"latitude_deg":11.6781032,"altitude":17,"angle":316,"satellites":45,"speed":61,"hex_longitude":"2d0833c0","hex_latitude":"06f5efe8","is_valid_coordinates":true} 
[2026-08-08 11:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259393280001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375207578474381312,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598415830380828672,"note":"Value kept but may cause issues"} 
[2026-08-08 11:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786169512000,"timestamp_ms":1786169512000,"timestamp_seconds":1786169512,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfffd040"} 
[2026-08-08 11:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259393280001,"66":27974,"69":206,"2":56576,"24":61,"16":375207578474381312,"45":598415830380828672},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-08 11:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259393280001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:43:44] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 11:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375207578474381312,"km_value":375207578474381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":598415830380828672,"description":"Unknown IO ID 45"} 
[2026-08-08 11:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259393280001,"power":27974,"unknown_69":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":598415830380828672}} 
[2026-08-08 11:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":152925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:43:44] local.INFO: GPS data processed {"connection_id":152925,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:43:44] local.INFO: Acknowledgment sent {"connection_id":152925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:43:58] local.INFO: TCP Data received {"connection_id":150220,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:43:58] local.INFO: Processing buffer {"connection_id":150220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:43:58] local.INFO: IMEI packet received {"connection_id":150220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":150220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:44:03] local.INFO: TCP Data received {"connection_id":150220,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:44:03] local.INFO: Processing buffer {"connection_id":150220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:44:03] local.INFO: IMEI packet received {"connection_id":150220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":150220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:44:04] local.INFO: TCP Data received {"connection_id":150220,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffe2678012d196840071fed500034011527..."} 
[2026-08-08 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffe2678012d196840071fed500034011527..."} 
[2026-08-08 11:44:04] local.INFO: Processing buffer {"connection_id":150220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffe2678012d196840071fed500034011527..."} 
[2026-08-08 11:44:04] local.INFO: Packet analysis {"connection_id":150220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffe"} 
[2026-08-08 11:44:04] local.INFO: Extracted packet for processing {"connection_id":150220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffe"} 
[2026-08-08 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259361792001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786169403000,"timestamp_ms":1786169403000,"timestamp_seconds":1786169403,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffe2678"} 
[2026-08-08 11:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:44: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-08-08 11:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3757828160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252048,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4237053953,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443124,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,82,159,130,45,64,237,52,40,10,66,48,39,222,1,240,58,223,31,4,113,205,104,80,239,49,2,7,231,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 11:44:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747299617901903872,"timestamp_seconds":3747299617901904.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 11:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259361792001,"66":12558,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259361792001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259361792001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":150220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:44:04] local.INFO: GPS data processed {"connection_id":150220,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:44:04] local.INFO: Acknowledgment sent {"connection_id":150220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:44:11] local.INFO: TCP Data received {"connection_id":152926,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:44:11] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:44:11] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:44:13] local.INFO: TCP Data received {"connection_id":152926,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:44:13] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:44:13] local.INFO: IMEI packet received {"connection_id":152926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":152926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:44:15] local.INFO: TCP Data received {"connection_id":152926,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe000e980012d074f8006f729d0001800002e..."} 
[2026-08-08 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe000e980012d074f8006f729d0001800002e..."} 
[2026-08-08 11:44:15] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe000e980012d074f8006f729d0001800002e..."} 
[2026-08-08 11:44:15] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe000"} 
[2026-08-08 11:44:15] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe000"} 
[2026-08-08 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":755453824,"raw_latitude":116861392,"longitude_deg":75.5453824,"latitude_deg":11.6861392,"altitude":24,"angle":0,"satellites":46,"speed":58,"hex_longitude":"2d074f80","hex_latitude":"06f729d0","is_valid_coordinates":true} 
[2026-08-08 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259412224001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375212436082393088,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527765611247202304,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786169584000,"timestamp_ms":1786169584000,"timestamp_seconds":1786169584,"priority":1,"record_length":96,"hex_timestamp":"0000019fe000e980"} 
[2026-08-08 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259412224001,"66":27930,"155":206,"28":32256,"24":58,"16":375212436082393088,"45":527765611247202304},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-08 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259412224001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:44:15] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 11:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375212436082393088,"km_value":375212436082393.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":527765611247202304,"description":"Unknown IO ID 45"} 
[2026-08-08 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259412224001,"power":27930,"unknown_155":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":527765611247202304}} 
[2026-08-08 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:44:15] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:44:15] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:44:40] local.INFO: TCP Data received {"connection_id":150220,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffe7880012d196840071fed500034011527..."} 
[2026-08-08 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffe7880012d196840071fed500034011527..."} 
[2026-08-08 11:44:40] local.INFO: Processing buffer {"connection_id":150220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffe7880012d196840071fed500034011527..."} 
[2026-08-08 11:44:40] local.INFO: Packet analysis {"connection_id":150220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffe"} 
[2026-08-08 11:44:40] local.INFO: Extracted packet for processing {"connection_id":150220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffe"} 
[2026-08-08 11:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259367168001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786169424000,"timestamp_ms":1786169424000,"timestamp_seconds":1786169424,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffe7880"} 
[2026-08-08 11:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3757849160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252048,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4242429953,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3981443124,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,82,159,212,45,64,237,52,38,10,66,130,40,48,1,240,47,223,31,4,113,205,140,104,80,239,49,2,7,231,58,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 11:44:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747299622196871168,"timestamp_seconds":3747299622196871.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 11:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259367168001,"66":12504,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259367168001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:44:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259367168001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":150220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:44:40] local.INFO: GPS data processed {"connection_id":150220,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:44:40] local.INFO: Acknowledgment sent {"connection_id":150220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:44:47] local.INFO: TCP Data received {"connection_id":152926,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe000fd08012d07530006f747700015000c2f..."} 
[2026-08-08 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe000fd08012d07530006f747700015000c2f..."} 
[2026-08-08 11:44:47] local.INFO: Processing buffer {"connection_id":152926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe000fd08012d07530006f747700015000c2f..."} 
[2026-08-08 11:44:47] local.INFO: Packet analysis {"connection_id":152926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe000"} 
[2026-08-08 11:44:47] local.INFO: Extracted packet for processing {"connection_id":152926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe000"} 
[2026-08-08 11:44:47] local.INFO: GPS Element Parsed {"raw_longitude":755454720,"raw_latitude":116868976,"longitude_deg":75.545472,"latitude_deg":11.6868976,"altitude":21,"angle":12,"satellites":47,"speed":61,"hex_longitude":"2d075300","hex_latitude":"06f74770","is_valid_coordinates":true} 
[2026-08-08 11:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259413504001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375212805449580544,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":526780448830509056,"note":"Value kept but may cause issues"} 
[2026-08-08 11:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786169589000,"timestamp_ms":1786169589000,"timestamp_seconds":1786169589,"priority":1,"record_length":96,"hex_timestamp":"0000019fe000fd08"} 
[2026-08-08 11:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259413504001,"66":27930,"155":206,"28":32256,"24":61,"16":375212805449580544,"45":526780448830509056},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-08 11:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259413504001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:44:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 11:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375212805449580544,"km_value":375212805449580.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":526780448830509056,"description":"Unknown IO ID 45"} 
[2026-08-08 11:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259413504001,"power":27930,"unknown_155":206,"unknown_28":32256,"ignition":61,"odometer":null,"unknown_45":526780448830509056}} 
[2026-08-08 11:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":152926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:44:47] local.INFO: GPS data processed {"connection_id":152926,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:44:47] local.INFO: Acknowledgment sent {"connection_id":152926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:44:58] local.INFO: TCP Data received {"connection_id":152927,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:44:58] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:44:58] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:45:03] local.INFO: TCP Data received {"connection_id":152927,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:45:03] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:45:03] local.INFO: IMEI packet received {"connection_id":152927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":152927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:45:04] local.INFO: TCP Data received {"connection_id":152927,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdffeca88012d196840071fed500034011528..."} 
[2026-08-08 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdffeca88012d196840071fed500034011528..."} 
[2026-08-08 11:45:05] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdffeca88012d196840071fed500034011528..."} 
[2026-08-08 11:45:05] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdffe"} 
[2026-08-08 11:45:05] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdffe"} 
[2026-08-08 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259372544001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786169445000,"timestamp_ms":1786169445000,"timestamp_seconds":1786169445,"priority":1,"record_length":96,"hex_timestamp":"0000019fdffeca88"} 
[2026-08-08 11:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:45: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-08-08 11: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":216,"data_length":795,"current_offset":136} 
[2026-08-08 11:45: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-08-08 11:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259372544001,"66":12515,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259372544001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:45:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259372544001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:45:05] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:45:05] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:45:05] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:05] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:05] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:45:05] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:05] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:05] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:45:10] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:10] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:45:10] local.INFO: IMEI packet received {"connection_id":152928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":152928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:45:12] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0011478012d075cc006f76ad00012000e2e..."} 
[2026-08-08 11:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0011478012d075cc006f76ad00012000e2e..."} 
[2026-08-08 11:45:12] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0011478012d075cc006f76ad00012000e2e..."} 
[2026-08-08 11:45:12] local.INFO: Packet analysis {"connection_id":152928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe001"} 
[2026-08-08 11:45:12] local.INFO: Extracted packet for processing {"connection_id":152928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe001"} 
[2026-08-08 11:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755457216,"raw_latitude":116878032,"longitude_deg":75.5457216,"latitude_deg":11.6878032,"altitude":18,"angle":14,"satellites":46,"speed":62,"hex_longitude":"2d075cc0","hex_latitude":"06f76ad0","is_valid_coordinates":true} 
[2026-08-08 11:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375213260716113920,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527765611250937856,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786169595000,"timestamp_ms":1786169595000,"timestamp_seconds":1786169595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0011478"} 
[2026-08-08 11:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259414784001,"66":27821,"155":206,"28":32256,"24":62,"16":375213260716113920,"45":527765611250937856},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-08 11:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:45:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 11:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375213260716113920,"km_value":375213260716113.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":527765611250937856,"description":"Unknown IO ID 45"} 
[2026-08-08 11:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259414784001,"power":27821,"unknown_155":206,"unknown_28":32256,"ignition":62,"odometer":null,"unknown_45":527765611250937856}} 
[2026-08-08 11:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":152928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:45:12] local.INFO: GPS data processed {"connection_id":152928,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:45:12] local.INFO: Acknowledgment sent {"connection_id":152928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:45:36] local.INFO: TCP Data received {"connection_id":152927,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfff1c90012d196840071fed500034011528..."} 
[2026-08-08 11:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfff1c90012d196840071fed500034011528..."} 
[2026-08-08 11:45:36] local.INFO: Processing buffer {"connection_id":152927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfff1c90012d196840071fed500034011528..."} 
[2026-08-08 11:45:36] local.INFO: Packet analysis {"connection_id":152927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:45:36] local.INFO: Extracted packet for processing {"connection_id":152927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259377920001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169466000,"timestamp_ms":1786169466000,"timestamp_seconds":1786169466,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfff1c90"} 
[2026-08-08 11:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:45: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-08-08 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-08 11:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259377920001,"66":12515,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259377920001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:45:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259377920001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":152927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:45:36] local.INFO: GPS data processed {"connection_id":152927,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:45:36] local.INFO: Acknowledgment sent {"connection_id":152927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:45:44] local.INFO: TCP Data received {"connection_id":152928,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0028b78012d08028006f979c8000b00132c..."} 
[2026-08-08 11:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0028b78012d08028006f979c8000b00132c..."} 
[2026-08-08 11:45:44] local.INFO: Processing buffer {"connection_id":152928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0028b78012d08028006f979c8000b00132c..."} 
[2026-08-08 11:45:44] local.INFO: Packet analysis {"connection_id":152928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe002"} 
[2026-08-08 11:45:44] local.INFO: Extracted packet for processing {"connection_id":152928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe002"} 
[2026-08-08 11:45:44] local.INFO: GPS Element Parsed {"raw_longitude":755499648,"raw_latitude":117012936,"longitude_deg":75.5499648,"latitude_deg":11.7012936,"altitude":11,"angle":19,"satellites":44,"speed":59,"hex_longitude":"2d080280","hex_latitude":"06f979c8","is_valid_coordinates":true} 
[2026-08-08 11:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259439360001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375220111188951040,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":573997876210366464,"note":"Value kept but may cause issues"} 
[2026-08-08 11:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786169691000,"timestamp_ms":1786169691000,"timestamp_seconds":1786169691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0028b78"} 
[2026-08-08 11:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 11:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259439360001,"66":27919,"55":206,"28":32256,"24":59,"16":375220111188951040,"45":573997876210366464},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,45]} 
[2026-08-08 11:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259439360001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:45:44] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 11:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375220111188951040,"km_value":375220111188951.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":573997876210366464,"description":"Unknown IO ID 45"} 
[2026-08-08 11:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259439360001,"power":27919,"unknown_55":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":573997876210366464}} 
[2026-08-08 11:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":152928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:45:44] local.INFO: GPS data processed {"connection_id":152928,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:45:44] local.INFO: Acknowledgment sent {"connection_id":152928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:46:03] local.INFO: TCP Data received {"connection_id":150487,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:03] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:03] local.INFO: IMEI packet received {"connection_id":150487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":150487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:46:03] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:03] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:03] local.INFO: IMEI packet received {"connection_id":150486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":150486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:46:05] local.INFO: TCP Data received {"connection_id":150487,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:05] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:05] local.INFO: IMEI packet received {"connection_id":150487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":150487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:46:09] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:09] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:09] local.INFO: IMEI packet received {"connection_id":150486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":150486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:46:10] local.INFO: TCP Data received {"connection_id":150487,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:10] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:46:10] local.INFO: IMEI packet received {"connection_id":150487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":150487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:46:10] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfff6e98012d196840071fed500034011527..."} 
[2026-08-08 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfff6e98012d196840071fed500034011527..."} 
[2026-08-08 11:46:10] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfff6e98012d196840071fed500034011527..."} 
[2026-08-08 11:46:10] local.INFO: Packet analysis {"connection_id":150486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:46:10] local.INFO: Extracted packet for processing {"connection_id":150486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259383296001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786169487000,"timestamp_ms":1786169487000,"timestamp_seconds":1786169487,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfff6e98"} 
[2026-08-08 11:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:46: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-08-08 11:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-08 11:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259383296001,"66":12461,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259383296001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259383296001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:46:10] local.INFO: GPS data processed {"connection_id":150486,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:46:10] local.INFO: Acknowledgment sent {"connection_id":150486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:46:11] local.INFO: TCP Data received {"connection_id":150487,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe002a6d0012d080f0006f99ff0000c00102c..."} 
[2026-08-08 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe002a6d0012d080f0006f99ff0000c00102c..."} 
[2026-08-08 11:46:11] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe002a6d0012d080f0006f99ff0000c00102c..."} 
[2026-08-08 11:46:11] local.INFO: Packet analysis {"connection_id":150487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe002"} 
[2026-08-08 11:46:11] local.INFO: Extracted packet for processing {"connection_id":150487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe002"} 
[2026-08-08 11:46:11] local.INFO: GPS Element Parsed {"raw_longitude":755502848,"raw_latitude":117022704,"longitude_deg":75.5502848,"latitude_deg":11.7022704,"altitude":12,"angle":16,"satellites":44,"speed":58,"hex_longitude":"2d080f00","hex_latitude":"06f99ff0","is_valid_coordinates":true} 
[2026-08-08 11:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259440896001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375220605110190080,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":577164469700511744,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786169698000,"timestamp_ms":1786169698000,"timestamp_seconds":1786169698,"priority":1,"record_length":96,"hex_timestamp":"0000019fe002a6d0"} 
[2026-08-08 11:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259440896001,"66":27995,"205":206,"28":32256,"24":58,"16":375220605110190080,"45":577164469700511744},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,28,24,16,45]} 
[2026-08-08 11:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259440896001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375220605110190080,"km_value":375220605110190.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":577164469700511744,"description":"Unknown IO ID 45"} 
[2026-08-08 11:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259440896001,"power":27995,"cell_id":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":577164469700511744}} 
[2026-08-08 11:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":150487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:46:11] local.INFO: GPS data processed {"connection_id":150487,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:46:11] local.INFO: Acknowledgment sent {"connection_id":150487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:46:14] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fdfffc0a0012d196840071fed500034011527..."} 
[2026-08-08 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fdfffc0a0012d196840071fed500034011527..."} 
[2026-08-08 11:46:14] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fdfffc0a0012d196840071fed500034011527..."} 
[2026-08-08 11:46:14] local.INFO: Packet analysis {"connection_id":150486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:46:14] local.INFO: Extracted packet for processing {"connection_id":150486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fdfff"} 
[2026-08-08 11:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786169508000,"timestamp_ms":1786169508000,"timestamp_seconds":1786169508,"priority":1,"record_length":96,"hex_timestamp":"0000019fdfffc0a0"} 
[2026-08-08 11:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 11:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259388672001,"66":12526,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:46:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259388672001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":150486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:46:14] local.INFO: GPS data processed {"connection_id":150486,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:46:14] local.INFO: Acknowledgment sent {"connection_id":150486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:46:42] local.INFO: TCP Data received {"connection_id":150487,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe002c228012d081a4006f9c5b0000e00102c..."} 
[2026-08-08 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe002c228012d081a4006f9c5b0000e00102c..."} 
[2026-08-08 11:46:42] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe002c228012d081a4006f9c5b0000e00102c..."} 
[2026-08-08 11:46:42] local.INFO: Packet analysis {"connection_id":150487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe002"} 
[2026-08-08 11:46:42] local.INFO: Extracted packet for processing {"connection_id":150487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe002"} 
[2026-08-08 11:46:42] local.INFO: GPS Element Parsed {"raw_longitude":755505728,"raw_latitude":117032368,"longitude_deg":75.5505728,"latitude_deg":11.7032368,"altitude":14,"angle":16,"satellites":44,"speed":56,"hex_longitude":"2d081a40","hex_latitude":"06f9c5b0","is_valid_coordinates":true} 
[2026-08-08 11:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259442688001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375221094736461824,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":580682906911895552,"note":"Value kept but may cause issues"} 
[2026-08-08 11:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786169705000,"timestamp_ms":1786169705000,"timestamp_seconds":1786169705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe002c228"} 
[2026-08-08 11:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:46: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-08-08 11:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259442688001,"66":27984,"205":206,"28":32256,"24":56,"16":375221094736461824,"45":580682906911895552},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,28,24,16,45]} 
[2026-08-08 11:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259442688001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375221094736461824,"km_value":375221094736461.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":580682906911895552,"description":"Unknown IO ID 45"} 
[2026-08-08 11:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259442688001,"power":27984,"cell_id":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":580682906911895552}} 
[2026-08-08 11:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":150487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:46:42] local.INFO: GPS data processed {"connection_id":150487,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:46:42] local.INFO: Acknowledgment sent {"connection_id":150487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:46:59] local.INFO: TCP Data received {"connection_id":150221,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:59] local.INFO: Processing buffer {"connection_id":150221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:59] local.INFO: IMEI packet received {"connection_id":150221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":150221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:46:59] local.INFO: TCP Data received {"connection_id":150221,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:59] local.INFO: Processing buffer {"connection_id":150221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:46:59] local.INFO: IMEI packet received {"connection_id":150221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":150221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:47:02] local.INFO: TCP Data received {"connection_id":150221,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00346f8012d196840071fed500034011525..."} 
[2026-08-08 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00346f8012d196840071fed500034011525..."} 
[2026-08-08 11:47:02] local.INFO: Processing buffer {"connection_id":150221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00346f8012d196840071fed500034011525..."} 
[2026-08-08 11:47:02] local.INFO: Packet analysis {"connection_id":150221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:02] local.INFO: Extracted packet for processing {"connection_id":150221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259447808001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786169739000,"timestamp_ms":1786169739000,"timestamp_seconds":1786169739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00346f8"} 
[2026-08-08 11:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 11:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259447808001,"66":12461,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259447808001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:47:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259447808001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":150221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:47:02] local.INFO: GPS data processed {"connection_id":150221,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:47:02] local.INFO: Acknowledgment sent {"connection_id":150221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:47:05] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:47:05] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:47:05] local.INFO: IMEI packet received {"connection_id":150488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":150488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:47:09] local.INFO: TCP Data received {"connection_id":150221,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0039900012d196840071fed500034011525..."} 
[2026-08-08 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0039900012d196840071fed500034011525..."} 
[2026-08-08 11:47:09] local.INFO: Processing buffer {"connection_id":150221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0039900012d196840071fed500034011525..."} 
[2026-08-08 11:47:09] local.INFO: Packet analysis {"connection_id":150221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:09] local.INFO: Extracted packet for processing {"connection_id":150221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259453184001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47: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-08-08 11:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786169760000,"timestamp_ms":1786169760000,"timestamp_seconds":1786169760,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0039900"} 
[2026-08-08 11:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:47: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-08-08 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 11:47: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-08-08 11:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259453184001,"66":12461,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259453184001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:47:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259453184001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":150221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:47:09] local.INFO: GPS data processed {"connection_id":150221,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:47:09] local.INFO: Acknowledgment sent {"connection_id":150221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:47:14] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:47:14] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:47:14] local.INFO: IMEI packet received {"connection_id":150488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":150488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:47:16] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe003cfb0012d08308006fb4bf8000b015b2e..."} 
[2026-08-08 11:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe003cfb0012d08308006fb4bf8000b015b2e..."} 
[2026-08-08 11:47:16] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe003cfb0012d08308006fb4bf8000b015b2e..."} 
[2026-08-08 11:47:16] local.INFO: Packet analysis {"connection_id":150488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:16] local.INFO: Extracted packet for processing {"connection_id":150488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":755511424,"raw_latitude":117132280,"longitude_deg":75.5511424,"latitude_deg":11.713228,"altitude":11,"angle":347,"satellites":46,"speed":58,"hex_longitude":"2d083080","hex_latitude":"06fb4bf8","is_valid_coordinates":true} 
[2026-08-08 11:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259460608001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375226033948852224,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":592153012238673920,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786169774000,"timestamp_ms":1786169774000,"timestamp_seconds":1786169774,"priority":1,"record_length":96,"hex_timestamp":"0000019fe003cfb0"} 
[2026-08-08 11:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 11:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259460608001,"66":27919,"56":206,"28":32256,"24":58,"16":375226033948852224,"45":592153012238673920},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 11:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259460608001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:47:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 11:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375226033948852224,"km_value":375226033948852.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":592153012238673920,"description":"Unknown IO ID 45"} 
[2026-08-08 11:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259460608001,"power":27919,"unknown_56":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":592153012238673920}} 
[2026-08-08 11:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":150488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:47:16] local.INFO: GPS data processed {"connection_id":150488,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:47:16] local.INFO: Acknowledgment sent {"connection_id":150488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:47:41] local.INFO: TCP Data received {"connection_id":150221,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe003eb08012d196840071fed500034011524..."} 
[2026-08-08 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe003eb08012d196840071fed500034011524..."} 
[2026-08-08 11:47:41] local.INFO: Processing buffer {"connection_id":150221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe003eb08012d196840071fed500034011524..."} 
[2026-08-08 11:47:41] local.INFO: Packet analysis {"connection_id":150221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:41] local.INFO: Extracted packet for processing {"connection_id":150221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259458560001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47: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-08-08 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786169781000,"timestamp_ms":1786169781000,"timestamp_seconds":1786169781,"priority":1,"record_length":96,"hex_timestamp":"0000019fe003eb08"} 
[2026-08-08 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:47: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-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 11:47: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-08-08 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259458560001,"66":12439,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259458560001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:47:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259458560001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":150221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:47:41] local.INFO: GPS data processed {"connection_id":150221,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:47:41] local.INFO: Acknowledgment sent {"connection_id":150221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:47:50] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe003eb08012d08260006fb7230000a01552c..."} 
[2026-08-08 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe003eb08012d08260006fb7230000a01552c..."} 
[2026-08-08 11:47:50] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe003eb08012d08260006fb7230000a01552c..."} 
[2026-08-08 11:47:50] local.INFO: Packet analysis {"connection_id":150488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:50] local.INFO: Extracted packet for processing {"connection_id":150488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:47:50] local.INFO: GPS Element Parsed {"raw_longitude":755508736,"raw_latitude":117142064,"longitude_deg":75.5508736,"latitude_deg":11.7142064,"altitude":10,"angle":341,"satellites":44,"speed":56,"hex_longitude":"2d082600","hex_latitude":"06fb7230","is_valid_coordinates":true} 
[2026-08-08 11:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259462144001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375226523575123968,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590112318659753984,"note":"Value kept but may cause issues"} 
[2026-08-08 11:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786169781000,"timestamp_ms":1786169781000,"timestamp_seconds":1786169781,"priority":1,"record_length":96,"hex_timestamp":"0000019fe003eb08"} 
[2026-08-08 11:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259462144001,"66":28006,"56":206,"28":32256,"24":56,"16":375226523575123968,"45":590112318659753984},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 11:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259462144001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:47:50] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 11:47:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375226523575123968,"km_value":375226523575123.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":590112318659753984,"description":"Unknown IO ID 45"} 
[2026-08-08 11:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259462144001,"power":28006,"unknown_56":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":590112318659753984}} 
[2026-08-08 11:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":150488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:47:50] local.INFO: GPS data processed {"connection_id":150488,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:47:50] local.INFO: Acknowledgment sent {"connection_id":150488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:47:59] local.INFO: TCP Data received {"connection_id":151446,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:47:59] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:47:59] local.INFO: IMEI packet received {"connection_id":151446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":151446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:48:03] local.INFO: TCP Data received {"connection_id":151446,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:48:03] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:48:03] local.INFO: IMEI packet received {"connection_id":151446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":151446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:48:04] local.INFO: TCP Data received {"connection_id":151446,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0043d10012d196840071fed500034011525..."} 
[2026-08-08 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0043d10012d196840071fed500034011525..."} 
[2026-08-08 11:48:04] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0043d10012d196840071fed500034011525..."} 
[2026-08-08 11:48:04] local.INFO: Packet analysis {"connection_id":151446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:48:04] local.INFO: Extracted packet for processing {"connection_id":151446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:48:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259463936001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786169802000,"timestamp_ms":1786169802000,"timestamp_seconds":1786169802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0043d10"} 
[2026-08-08 11:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 11:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259463936001,"66":12461,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259463936001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:48:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259463936001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":151446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:48:04] local.INFO: GPS data processed {"connection_id":151446,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:48:04] local.INFO: Acknowledgment sent {"connection_id":151446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:48:07] local.INFO: TCP Data received {"connection_id":150489,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:07] local.INFO: Processing buffer {"connection_id":150489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:07] local.INFO: IMEI packet received {"connection_id":150489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":150489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:48:10] local.INFO: TCP Data received {"connection_id":150489,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:10] local.INFO: Processing buffer {"connection_id":150489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:10] local.INFO: IMEI packet received {"connection_id":150489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":150489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:48:15] local.INFO: TCP Data received {"connection_id":150489,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:15] local.INFO: Processing buffer {"connection_id":150489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:48:15] local.INFO: IMEI packet received {"connection_id":150489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":150489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:48:16] local.INFO: TCP Data received {"connection_id":150489,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe003faa8012d081d0006fb8640000a01492a..."} 
[2026-08-08 11:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe003faa8012d081d0006fb8640000a01492a..."} 
[2026-08-08 11:48:16] local.INFO: Processing buffer {"connection_id":150489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe003faa8012d081d0006fb8640000a01492a..."} 
[2026-08-08 11:48:16] local.INFO: Packet analysis {"connection_id":150489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:48:16] local.INFO: Extracted packet for processing {"connection_id":150489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe003"} 
[2026-08-08 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":755506432,"raw_latitude":117147200,"longitude_deg":75.5506432,"latitude_deg":11.71472,"altitude":10,"angle":329,"satellites":42,"speed":55,"hex_longitude":"2d081d00","hex_latitude":"06fb8640","is_valid_coordinates":true} 
[2026-08-08 11:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259463936001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375226798453030912,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587156831406796800,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786169785000,"timestamp_ms":1786169785000,"timestamp_seconds":1786169785,"priority":1,"record_length":96,"hex_timestamp":"0000019fe003faa8"} 
[2026-08-08 11:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 11:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259463936001,"66":27974,"56":206,"28":32256,"24":55,"16":375226798453030912,"45":587156831406796800},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 11:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259463936001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:48:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 11:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375226798453030912,"km_value":375226798453030.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":587156831406796800,"description":"Unknown IO ID 45"} 
[2026-08-08 11:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259463936001,"power":27974,"unknown_56":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_45":587156831406796800}} 
[2026-08-08 11:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":150489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:48:16] local.INFO: GPS data processed {"connection_id":150489,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:48:16] local.INFO: Acknowledgment sent {"connection_id":150489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:48:21] local.INFO: TCP Data received {"connection_id":150489,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0041600012d080bc006fba710000b014a2a..."} 
[2026-08-08 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0041600012d080bc006fba710000b014a2a..."} 
[2026-08-08 11:48:21] local.INFO: Processing buffer {"connection_id":150489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0041600012d080bc006fba710000b014a2a..."} 
[2026-08-08 11:48:21] local.INFO: Packet analysis {"connection_id":150489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:48:21] local.INFO: Extracted packet for processing {"connection_id":150489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":755502016,"raw_latitude":117155600,"longitude_deg":75.5502016,"latitude_deg":11.71556,"altitude":11,"angle":330,"satellites":42,"speed":53,"hex_longitude":"2d080bc0","hex_latitude":"06fba710","is_valid_coordinates":true} 
[2026-08-08 11:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259464960001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375227253719564288,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584623556617715712,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786169792000,"timestamp_ms":1786169792000,"timestamp_seconds":1786169792,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0041600"} 
[2026-08-08 11:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 11:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259464960001,"66":27919,"56":206,"28":32256,"24":53,"16":375227253719564288,"45":584623556617715712},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 11:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259464960001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375227253719564288,"km_value":375227253719564.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":584623556617715712,"description":"Unknown IO ID 45"} 
[2026-08-08 11:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259464960001,"power":27919,"unknown_56":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_45":584623556617715712}} 
[2026-08-08 11:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":150489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:48:21] local.INFO: GPS data processed {"connection_id":150489,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:48:21] local.INFO: Acknowledgment sent {"connection_id":150489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:48:36] local.INFO: TCP Data received {"connection_id":151446,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0048f18012d196840071fed500034011525..."} 
[2026-08-08 11:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0048f18012d196840071fed500034011525..."} 
[2026-08-08 11:48:36] local.INFO: Processing buffer {"connection_id":151446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0048f18012d196840071fed500034011525..."} 
[2026-08-08 11:48:36] local.INFO: Packet analysis {"connection_id":151446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:48:36] local.INFO: Extracted packet for processing {"connection_id":151446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259469312001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:48: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-08-08 11:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169823000,"timestamp_ms":1786169823000,"timestamp_seconds":1786169823,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0048f18"} 
[2026-08-08 11:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 11:48: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-08-08 11:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259469312001,"66":12385,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259469312001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:48:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259469312001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":151446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:48:36] local.INFO: GPS data processed {"connection_id":151446,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:48:36] local.INFO: Acknowledgment sent {"connection_id":151446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:48:59] local.INFO: TCP Data received {"connection_id":152929,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:48:59] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:48:59] local.INFO: IMEI packet received {"connection_id":152929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":152929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:49:04] local.INFO: TCP Data received {"connection_id":152929,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:49:04] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:49:04] local.INFO: IMEI packet received {"connection_id":152929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":152929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:49:05] local.INFO: TCP Data received {"connection_id":152929,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe004e120012d196840071fed500034011524..."} 
[2026-08-08 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe004e120012d196840071fed500034011524..."} 
[2026-08-08 11:49:05] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe004e120012d196840071fed500034011524..."} 
[2026-08-08 11:49:05] local.INFO: Packet analysis {"connection_id":152929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:05] local.INFO: Extracted packet for processing {"connection_id":152929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259474688001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786169844000,"timestamp_ms":1786169844000,"timestamp_seconds":1786169844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe004e120"} 
[2026-08-08 11:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 11:49: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-08-08 11:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":152929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":152929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":152929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259474688001,"66":12428,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259474688001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:49:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259474688001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":152929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:49:05] local.INFO: GPS data processed {"connection_id":152929,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:49:05] local.INFO: Acknowledgment sent {"connection_id":152929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:49:18] local.INFO: TCP Data received {"connection_id":150490,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:49:18] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:49:18] local.INFO: IMEI packet received {"connection_id":150490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":150490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:49:20] local.INFO: TCP Data received {"connection_id":150490,"ip":"117.224.184.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 11:49:20] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 11:49:20] local.INFO: IMEI packet received {"connection_id":150490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":150490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:49:22] local.INFO: TCP Data received {"connection_id":150490,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0043158012d07f7c006fbc5e8000b01422a..."} 
[2026-08-08 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0043158012d07f7c006fbc5e8000b01422a..."} 
[2026-08-08 11:49:22] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe0..."} 
[2026-08-08 11:49:22] local.INFO: IMEI packet received {"connection_id":150490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":150490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:49:23] local.INFO: TCP Data received {"connection_id":150490,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0045098012d07e08006fbe1f8000e013f2c..."} 
[2026-08-08 11:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0045098012d07e08006fbe1f8000e013f2c..."} 
[2026-08-08 11:49:23] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe0043158012d07f7c006fbc5e8000b01422a..."} 
[2026-08-08 11:49:23] local.INFO: Packet analysis {"connection_id":150490,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:23] local.INFO: Extracted packet for processing {"connection_id":150490,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755496896,"raw_latitude":117163496,"longitude_deg":75.5496896,"latitude_deg":11.7163496,"altitude":11,"angle":322,"satellites":42,"speed":51,"hex_longitude":"2d07f7c0","hex_latitude":"06fbc5e8","is_valid_coordinates":true} 
[2026-08-08 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259466752001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375227708986097664,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":579768113271607296,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786169799000,"timestamp_ms":1786169799000,"timestamp_seconds":1786169799,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0043158"} 
[2026-08-08 11:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259466752001,"66":27930,"56":206,"28":32256,"24":51,"16":375227708986097664,"45":579768113271607296},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259466752001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375227708986097664,"km_value":375227708986097.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":579768113271607296,"description":"Unknown IO ID 45"} 
[2026-08-08 11:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259466752001,"power":27930,"unknown_56":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_45":579768113271607296}} 
[2026-08-08 11:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":150490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:49:23] local.INFO: GPS data processed {"connection_id":150490,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:49:23] local.INFO: Acknowledgment sent {"connection_id":150490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:49:23] local.INFO: Packet analysis {"connection_id":150490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:23] local.INFO: Extracted packet for processing {"connection_id":150490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755490944,"raw_latitude":117170680,"longitude_deg":75.5490944,"latitude_deg":11.717068,"altitude":14,"angle":319,"satellites":44,"speed":33,"hex_longitude":"2d07e080","hex_latitude":"06fbe1f8","is_valid_coordinates":true} 
[2026-08-08 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259468544001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375228155662696448,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":574138613739415552,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786169807000,"timestamp_ms":1786169807000,"timestamp_seconds":1786169807,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0045098"} 
[2026-08-08 11:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259468544001,"66":27930,"56":206,"28":32256,"24":33,"16":375228155662696448,"45":574138613739415552},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-08-08 11:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259468544001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375228155662696448,"km_value":375228155662696.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":574138613739415552,"description":"Unknown IO ID 45"} 
[2026-08-08 11:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259468544001,"power":27930,"unknown_56":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":574138613739415552}} 
[2026-08-08 11:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":150490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:49:23] local.INFO: GPS data processed {"connection_id":150490,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:49:23] local.INFO: Acknowledgment sent {"connection_id":150490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:49:24] local.INFO: TCP Data received {"connection_id":150490,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe004a2a0012d07d30006fbf2180012013d2e..."} 
[2026-08-08 11:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe004a2a0012d07d30006fbf2180012013d2e..."} 
[2026-08-08 11:49:24] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe004a2a0012d07d30006fbf2180012013d2e..."} 
[2026-08-08 11:49:24] local.INFO: Packet analysis {"connection_id":150490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:24] local.INFO: Extracted packet for processing {"connection_id":150490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:49:24] local.INFO: GPS Element Parsed {"raw_longitude":755487488,"raw_latitude":117174808,"longitude_deg":75.5487488,"latitude_deg":11.7174808,"altitude":18,"angle":317,"satellites":46,"speed":9,"hex_longitude":"2d07d300","hex_latitude":"06fbf218","is_valid_coordinates":true} 
[2026-08-08 11:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259470592001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375228417655701504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":567594320532731904,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786169828000,"timestamp_ms":1786169828000,"timestamp_seconds":1786169828,"priority":1,"record_length":96,"hex_timestamp":"0000019fe004a2a0"} 
[2026-08-08 11:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259470592001,"66":27876,"207":206,"28":32256,"24":9,"16":375228417655701504,"45":567594320532731904},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259470592001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:49:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:49:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375228417655701504,"km_value":375228417655701.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":567594320532731904,"description":"Unknown IO ID 45"} 
[2026-08-08 11:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259470592001,"power":27876,"unknown_207":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":567594320532731904}} 
[2026-08-08 11:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":150490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:49:24] local.INFO: GPS data processed {"connection_id":150490,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:49:24] local.INFO: Acknowledgment sent {"connection_id":150490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:49:37] local.INFO: TCP Data received {"connection_id":152929,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0053328012d196840071fed500034011524..."} 
[2026-08-08 11:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0053328012d196840071fed500034011524..."} 
[2026-08-08 11:49:37] local.INFO: Processing buffer {"connection_id":152929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0053328012d196840071fed500034011524..."} 
[2026-08-08 11:49:37] local.INFO: Packet analysis {"connection_id":152929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:49:37] local.INFO: Extracted packet for processing {"connection_id":152929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259480064001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786169865000,"timestamp_ms":1786169865000,"timestamp_seconds":1786169865,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0053328"} 
[2026-08-08 11:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:49: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-08-08 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 11:49: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-08-08 11:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259480064001,"66":12428,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259480064001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:49:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259480064001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":152929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:49:37] local.INFO: GPS data processed {"connection_id":152929,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:49:37] local.INFO: Acknowledgment sent {"connection_id":152929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:49:58] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:49:58] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:49:58] local.INFO: IMEI packet received {"connection_id":150491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":150491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:50:03] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:50:03] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:50:03] local.INFO: IMEI packet received {"connection_id":150491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":150491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:50:04] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0058530012d196840071fed500034011524..."} 
[2026-08-08 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0058530012d196840071fed500034011524..."} 
[2026-08-08 11:50:04] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0058530012d196840071fed500034011524..."} 
[2026-08-08 11:50:04] local.INFO: Packet analysis {"connection_id":150491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:50:04] local.INFO: Extracted packet for processing {"connection_id":150491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259485440001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786169886000,"timestamp_ms":1786169886000,"timestamp_seconds":1786169886,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0058530"} 
[2026-08-08 11:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 11:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259485440001,"66":11667,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259485440001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259485440001,"power":11667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":150491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:50:04] local.INFO: GPS data processed {"connection_id":150491,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:50:04] local.INFO: Acknowledgment sent {"connection_id":150491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:50:05] local.INFO: TCP Data received {"connection_id":150222,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:50:05] local.INFO: Processing buffer {"connection_id":150222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:50:05] local.INFO: IMEI packet received {"connection_id":150222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":150222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:50:10] local.INFO: TCP Data received {"connection_id":150222,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:50:10] local.INFO: Processing buffer {"connection_id":150222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:50:10] local.INFO: IMEI packet received {"connection_id":150222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":150222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:50:12] local.INFO: TCP Data received {"connection_id":150222,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe004f4a8012d07c80006fbfe48001201412d..."} 
[2026-08-08 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe004f4a8012d07c80006fbfe48001201412d..."} 
[2026-08-08 11:50:12] local.INFO: Processing buffer {"connection_id":150222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe004f4a8012d07c80006fbfe48001201412d..."} 
[2026-08-08 11:50:12] local.INFO: Packet analysis {"connection_id":150222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:50:12] local.INFO: Extracted packet for processing {"connection_id":150222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe004"} 
[2026-08-08 11:50:12] local.INFO: GPS Element Parsed {"raw_longitude":755484672,"raw_latitude":117177928,"longitude_deg":75.5484672,"latitude_deg":11.7177928,"altitude":18,"angle":321,"satellites":45,"speed":10,"hex_longitude":"2d07c800","hex_latitude":"06fbfe48","is_valid_coordinates":true} 
[2026-08-08 11:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259475968001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375228619519164416,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563794408348194816,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786169849000,"timestamp_ms":1786169849000,"timestamp_seconds":1786169849,"priority":1,"record_length":96,"hex_timestamp":"0000019fe004f4a8"} 
[2026-08-08 11:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259475968001,"66":27865,"207":206,"28":32256,"24":10,"16":375228619519164416,"45":563794408348194816},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259475968001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:50:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375228619519164416,"km_value":375228619519164.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":563794408348194816,"description":"Unknown IO ID 45"} 
[2026-08-08 11:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259475968001,"power":27865,"unknown_207":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":563794408348194816}} 
[2026-08-08 11:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":150222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:50:12] local.INFO: GPS data processed {"connection_id":150222,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:50:12] local.INFO: Acknowledgment sent {"connection_id":150222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:50:36] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe005d738012d196840071fed500034011523..."} 
[2026-08-08 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe005d738012d196840071fed500034011523..."} 
[2026-08-08 11:50:36] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe005d738012d196840071fed500034011523..."} 
[2026-08-08 11:50:36] local.INFO: Packet analysis {"connection_id":150491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:50:36] local.INFO: Extracted packet for processing {"connection_id":150491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259490816001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786169907000,"timestamp_ms":1786169907000,"timestamp_seconds":1786169907,"priority":1,"record_length":96,"hex_timestamp":"0000019fe005d738"} 
[2026-08-08 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-08-08 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 11:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1746,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259490816001,"66":12461,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259490816001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259490816001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":150491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:50:36] local.INFO: GPS data processed {"connection_id":150491,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:50:36] local.INFO: Acknowledgment sent {"connection_id":150491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:50:43] local.INFO: TCP Data received {"connection_id":150222,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00546b0012d07bc4006fc0ca8001401412c..."} 
[2026-08-08 11:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00546b0012d07bc4006fc0ca8001401412c..."} 
[2026-08-08 11:50:43] local.INFO: Processing buffer {"connection_id":150222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00546b0012d07bc4006fc0ca8001401412c..."} 
[2026-08-08 11:50:43] local.INFO: Packet analysis {"connection_id":150222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:50:43] local.INFO: Extracted packet for processing {"connection_id":150222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:50:43] local.INFO: GPS Element Parsed {"raw_longitude":755481664,"raw_latitude":117181608,"longitude_deg":75.5481664,"latitude_deg":11.7181608,"altitude":20,"angle":321,"satellites":44,"speed":12,"hex_longitude":"2d07bc40","hex_latitude":"06fc0ca8","is_valid_coordinates":true} 
[2026-08-08 11:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259481344001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375228851447398400,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":560698183605176320,"note":"Value kept but may cause issues"} 
[2026-08-08 11:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786169870000,"timestamp_ms":1786169870000,"timestamp_seconds":1786169870,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00546b0"} 
[2026-08-08 11:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 11:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259481344001,"66":27865,"207":206,"28":32256,"24":12,"16":375228851447398400,"45":560698183605176320},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259481344001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:50:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375228851447398400,"km_value":375228851447398.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":560698183605176320,"description":"Unknown IO ID 45"} 
[2026-08-08 11:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259481344001,"power":27865,"unknown_207":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":560698183605176320}} 
[2026-08-08 11:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":150222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:50:43] local.INFO: GPS data processed {"connection_id":150222,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:50:43] local.INFO: Acknowledgment sent {"connection_id":150222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:51:05] local.INFO: TCP Data received {"connection_id":152930,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:05] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:05] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:51:10] local.INFO: TCP Data received {"connection_id":152930,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:10] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:10] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:51:10] local.INFO: TCP Data received {"connection_id":152930,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:10] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:51:10] local.INFO: IMEI packet received {"connection_id":152930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":152930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:51:11] local.INFO: TCP Data received {"connection_id":152930,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00598b8012d07a58006fc26b0001701402b..."} 
[2026-08-08 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00598b8012d07a58006fc26b0001701402b..."} 
[2026-08-08 11:51:11] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00598b8012d07a58006fc26b0001701402b..."} 
[2026-08-08 11:51:11] local.INFO: Packet analysis {"connection_id":152930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:51:11] local.INFO: Extracted packet for processing {"connection_id":152930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":755475840,"raw_latitude":117188272,"longitude_deg":75.547584,"latitude_deg":11.7188272,"altitude":23,"angle":320,"satellites":43,"speed":21,"hex_longitude":"2d07a580","hex_latitude":"06fc26b0","is_valid_coordinates":true} 
[2026-08-08 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259486720001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375229276649160704,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557390852629768192,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786169891000,"timestamp_ms":1786169891000,"timestamp_seconds":1786169891,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00598b8"} 
[2026-08-08 11:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 11:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259486720001,"66":27919,"207":206,"28":32256,"24":21,"16":375229276649160704,"45":557390852629768192},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259486720001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375229276649160704,"km_value":375229276649160.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":557390852629768192,"description":"Unknown IO ID 45"} 
[2026-08-08 11:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259486720001,"power":27919,"unknown_207":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":557390852629768192}} 
[2026-08-08 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":152930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:51:11] local.INFO: GPS data processed {"connection_id":152930,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:51:11] local.INFO: Acknowledgment sent {"connection_id":152930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:51:16] local.INFO: TCP Data received {"connection_id":152930,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe005d738012d078e8006fc41c8001801402c..."} 
[2026-08-08 11:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe005d738012d078e8006fc41c8001801402c..."} 
[2026-08-08 11:51:16] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe005d738012d078e8006fc41c8001801402c..."} 
[2026-08-08 11:51:16] local.INFO: Packet analysis {"connection_id":152930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:51:16] local.INFO: Extracted packet for processing {"connection_id":152930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe005"} 
[2026-08-08 11:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755469952,"raw_latitude":117195208,"longitude_deg":75.5469952,"latitude_deg":11.7195208,"altitude":24,"angle":320,"satellites":44,"speed":25,"hex_longitude":"2d078e80","hex_latitude":"06fc41c8","is_valid_coordinates":true} 
[2026-08-08 11:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259492096001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375229714735824896,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":550987296911306752,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786169907000,"timestamp_ms":1786169907000,"timestamp_seconds":1786169907,"priority":1,"record_length":96,"hex_timestamp":"0000019fe005d738"} 
[2026-08-08 11:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259492096001,"66":27995,"207":206,"28":32256,"24":25,"16":375229714735824896,"45":550987296911306752},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259492096001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:51:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:51:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375229714735824896,"km_value":375229714735824.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":550987296911306752,"description":"Unknown IO ID 45"} 
[2026-08-08 11:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259492096001,"power":27995,"unknown_207":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":550987296911306752}} 
[2026-08-08 11:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":152930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:51:16] local.INFO: GPS data processed {"connection_id":152930,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:51:16] local.INFO: Acknowledgment sent {"connection_id":152930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:51:32] local.INFO: TCP Data received {"connection_id":150492,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:32] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:32] local.INFO: IMEI packet received {"connection_id":150492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":150492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:51:33] local.INFO: TCP Data received {"connection_id":150492,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:33] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:33] local.INFO: IMEI packet received {"connection_id":150492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":150492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:51:38] local.INFO: TCP Data received {"connection_id":150492,"ip":"117.224.71.180","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:38] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:51:38] local.INFO: IMEI packet received {"connection_id":150492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":150492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:51:40] local.INFO: TCP Data received {"connection_id":150492,"ip":"117.224.71.180","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0062940012d196840071fed500034011524..."} 
[2026-08-08 11:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0062940012d196840071fed500034011524..."} 
[2026-08-08 11:51:40] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0062940012d196840071fed500034011524..."} 
[2026-08-08 11:51:40] local.INFO: Packet analysis {"connection_id":150492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:51:40] local.INFO: Extracted packet for processing {"connection_id":150492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":52,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-08 11:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259496192001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11349309345759232,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-08 11: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-08-08 11:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786169928000,"timestamp_ms":1786169928000,"timestamp_seconds":1786169928,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0062940"} 
[2026-08-08 11:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:51: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-08-08 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 11:51: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-08-08 11:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.71.180","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259496192001,"66":12428,"121":206,"28":31744,"24":0,"16":11349309345759232,"45":1830783647870701568},"client_ip":"117.224.71.180","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259496192001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:51:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11349309345759232,"km_value":11349309345759.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-08 11:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259496192001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-08 11:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":150492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:51:40] local.INFO: GPS data processed {"connection_id":150492,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:51:40] local.INFO: Acknowledgment sent {"connection_id":150492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:51:47] local.INFO: TCP Data received {"connection_id":152930,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00611d0012d0777c006fc5c300013013d2a..."} 
[2026-08-08 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00611d0012d0777c006fc5c300013013d2a..."} 
[2026-08-08 11:51:47] local.INFO: Processing buffer {"connection_id":152930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00611d0012d0777c006fc5c300013013d2a..."} 
[2026-08-08 11:51:47] local.INFO: Packet analysis {"connection_id":152930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:51:47] local.INFO: Extracted packet for processing {"connection_id":152930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":755464128,"raw_latitude":117201968,"longitude_deg":75.5464128,"latitude_deg":11.7201968,"altitude":19,"angle":317,"satellites":42,"speed":8,"hex_longitude":"2d0777c0","hex_latitude":"06fc5c30","is_valid_coordinates":true} 
[2026-08-08 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259496192001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375230144232554496,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":544513372448737280,"note":"Value kept but may cause issues"} 
[2026-08-08 11:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786169922000,"timestamp_ms":1786169922000,"timestamp_seconds":1786169922,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00611d0"} 
[2026-08-08 11:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 11:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259496192001,"66":27843,"207":206,"28":32256,"24":8,"16":375230144232554496,"45":544513372448737280},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259496192001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:51:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375230144232554496,"km_value":375230144232554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":544513372448737280,"description":"Unknown IO ID 45"} 
[2026-08-08 11:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259496192001,"power":27843,"unknown_207":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":544513372448737280}} 
[2026-08-08 11:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":152930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:51:47] local.INFO: GPS data processed {"connection_id":152930,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:51:47] local.INFO: Acknowledgment sent {"connection_id":152930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:52:05] local.INFO: TCP Data received {"connection_id":150493,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:05] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:05] local.INFO: IMEI packet received {"connection_id":150493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":150493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:52:06] local.INFO: TCP Data received {"connection_id":150493,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:06] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:06] local.INFO: IMEI packet received {"connection_id":150493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":150493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:52:10] local.INFO: TCP Data received {"connection_id":150493,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:10] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:52:10] local.INFO: IMEI packet received {"connection_id":150493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":150493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:52:12] local.INFO: TCP Data received {"connection_id":150493,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00663d8012d07768006fc5db00012013f2e..."} 
[2026-08-08 11:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00663d8012d07768006fc5db00012013f2e..."} 
[2026-08-08 11:52:12] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00663d8012d07768006fc5db00012013f2e..."} 
[2026-08-08 11:52:12] local.INFO: Packet analysis {"connection_id":150493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:52:12] local.INFO: Extracted packet for processing {"connection_id":150493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755463808,"raw_latitude":117202352,"longitude_deg":75.5463808,"latitude_deg":11.7202352,"altitude":18,"angle":319,"satellites":46,"speed":0,"hex_longitude":"2d077680","hex_latitude":"06fc5db0","is_valid_coordinates":true} 
[2026-08-08 11:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259500032001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375230170002358272,"note":"Value kept but may cause issues"} 
[2026-08-08 11:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":538109816730300416,"note":"Value kept but may cause issues"} 
[2026-08-08 11:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786169943000,"timestamp_ms":1786169943000,"timestamp_seconds":1786169943,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00663d8"} 
[2026-08-08 11:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 11:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259500032001,"66":27919,"207":206,"28":32256,"24":0,"16":375230170002358272,"45":538109816730300416},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259500032001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375230170002358272,"km_value":375230170002358.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":538109816730300416,"description":"Unknown IO ID 45"} 
[2026-08-08 11:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259500032001,"power":27919,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":538109816730300416}} 
[2026-08-08 11:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":150493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:52:12] local.INFO: GPS data processed {"connection_id":150493,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:52:12] local.INFO: Acknowledgment sent {"connection_id":150493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:52:44] local.INFO: TCP Data received {"connection_id":150493,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe006b5e0012d07694006fc6d20001001412b..."} 
[2026-08-08 11:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe006b5e0012d07694006fc6d20001001412b..."} 
[2026-08-08 11:52:44] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe006b5e0012d07694006fc6d20001001412b..."} 
[2026-08-08 11:52:44] local.INFO: Packet analysis {"connection_id":150493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:52:44] local.INFO: Extracted packet for processing {"connection_id":150493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe006"} 
[2026-08-08 11:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755460416,"raw_latitude":117206304,"longitude_deg":75.5460416,"latitude_deg":11.7206304,"altitude":16,"angle":321,"satellites":43,"speed":8,"hex_longitude":"2d076940","hex_latitude":"06fc6d20","is_valid_coordinates":true} 
[2026-08-08 11:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259505408001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375230419110461440,"note":"Value kept but may cause issues"} 
[2026-08-08 11:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":537757973009510400,"note":"Value kept but may cause issues"} 
[2026-08-08 11:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786169964000,"timestamp_ms":1786169964000,"timestamp_seconds":1786169964,"priority":1,"record_length":96,"hex_timestamp":"0000019fe006b5e0"} 
[2026-08-08 11:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259505408001,"66":27930,"207":206,"28":32256,"24":8,"16":375230419110461440,"45":537757973009510400},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-08-08 11:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259505408001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:52:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 11:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375230419110461440,"km_value":375230419110461.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":537757973009510400,"description":"Unknown IO ID 45"} 
[2026-08-08 11:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259505408001,"power":27930,"unknown_207":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":537757973009510400}} 
[2026-08-08 11:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":150493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:52:44] local.INFO: GPS data processed {"connection_id":150493,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:52:44] local.INFO: Acknowledgment sent {"connection_id":150493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:53:21] local.INFO: TCP Data received {"connection_id":150223,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:53:21] local.INFO: Processing buffer {"connection_id":150223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:53:21] local.INFO: IMEI packet received {"connection_id":150223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":150223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:53:29] local.INFO: TCP Data received {"connection_id":150223,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:53:29] local.INFO: Processing buffer {"connection_id":150223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:53:29] local.INFO: IMEI packet received {"connection_id":150223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":150223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:53:30] local.INFO: TCP Data received {"connection_id":150223,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0093a68012d06b48006fd43b0001c01422e..."} 
[2026-08-08 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0093a68012d06b48006fd43b0001c01422e..."} 
[2026-08-08 11:53:30] local.INFO: Processing buffer {"connection_id":150223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0093a68012d06b48006fd43b0001c01422e..."} 
[2026-08-08 11:53:30] local.INFO: Packet analysis {"connection_id":150223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:53:30] local.INFO: Extracted packet for processing {"connection_id":150223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":755414144,"raw_latitude":117261232,"longitude_deg":75.5414144,"latitude_deg":11.7261232,"altitude":28,"angle":322,"satellites":46,"speed":9,"hex_longitude":"2d06b480","hex_latitude":"06fd43b0","is_valid_coordinates":true} 
[2026-08-08 11:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259547648001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375233885149069312,"note":"Value kept but may cause issues"} 
[2026-08-08 11:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":485966577309011968,"note":"Value kept but may cause issues"} 
[2026-08-08 11:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786170129000,"timestamp_ms":1786170129000,"timestamp_seconds":1786170129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0093a68"} 
[2026-08-08 11:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 11:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259547648001,"66":27919,"225":206,"28":32256,"24":9,"16":375233885149069312,"45":485966577309011968},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,28,24,16,45]} 
[2026-08-08 11:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259547648001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:53:30] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 11:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375233885149069312,"km_value":375233885149069.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":485966577309011968,"description":"Unknown IO ID 45"} 
[2026-08-08 11:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259547648001,"power":27919,"unknown_225":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":485966577309011968}} 
[2026-08-08 11:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":150223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:53:30] local.INFO: GPS data processed {"connection_id":150223,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:53:30] local.INFO: Acknowledgment sent {"connection_id":150223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:54:11] local.INFO: TCP Data received {"connection_id":152931,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:11] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:11] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:54:11] local.INFO: TCP Data received {"connection_id":152931,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:11] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:11] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:54:15] local.INFO: TCP Data received {"connection_id":152931,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:15] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:54:15] local.INFO: IMEI packet received {"connection_id":152931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":152931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:54:17] local.INFO: TCP Data received {"connection_id":152931,"ip":"117.224.184.27","data_length":1360,"data_hex":"000000000000030f8e0a0000019fe0098c70012d06a2c006fd58f80021014028..."} 
[2026-08-08 11:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fe0098c70012d06a2c006fd58f80021014028..."} 
[2026-08-08 11:54:17] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fe0098c70012d06a2c006fd58f80021014028..."} 
[2026-08-08 11:54:17] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:17] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:17] local.INFO: GPS Element Parsed {"raw_longitude":755409600,"raw_latitude":117266680,"longitude_deg":75.54096,"latitude_deg":11.726668,"altitude":33,"angle":320,"satellites":40,"speed":23,"hex_longitude":"2d06a2c0","hex_latitude":"06fd58f8","is_valid_coordinates":true} 
[2026-08-08 11:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259553024001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375234224451485696,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":483151827542716416,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786170150000,"timestamp_ms":1786170150000,"timestamp_seconds":1786170150,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0098c70"} 
[2026-08-08 11:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259553024001,"66":27930,"225":206,"28":32256,"24":23,"16":375234224451485696,"45":483151827542716416},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,28,24,16,45]} 
[2026-08-08 11:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259553024001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:54:17] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 11:54:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375234224451485696,"km_value":375234224451485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":483151827542716416,"description":"Unknown IO ID 45"} 
[2026-08-08 11:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259553024001,"power":27930,"unknown_225":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":483151827542716416}} 
[2026-08-08 11:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:54:17] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:54:17] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:54:17] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":152931,"needed":795,"available":565} 
[2026-08-08 11:54:18] local.INFO: TCP Data received {"connection_id":152931,"ip":"117.224.184.27","data_length":230,"data_hex":"2d06e0c006fd0c400011014028001f0000000a000400ef0100716000f0010045..."} 
[2026-08-08 11:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":230,"packet_hex":"2d06e0c006fd0c400011014028001f0000000a000400ef0100716000f0010045..."} 
[2026-08-08 11:54:18] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe009b768012d068c4006fd74d80015014027..."} 
[2026-08-08 11:54:18] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:18] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:18] local.INFO: GPS Element Parsed {"raw_longitude":755403840,"raw_latitude":117273816,"longitude_deg":75.540384,"latitude_deg":11.7273816,"altitude":21,"angle":320,"satellites":39,"speed":45,"hex_longitude":"2d068c40","hex_latitude":"06fd74d8","is_valid_coordinates":true} 
[2026-08-08 11:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259558400001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375234666833117184,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":478155646707496960,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786170161000,"timestamp_ms":1786170161000,"timestamp_seconds":1786170161,"priority":1,"record_length":96,"hex_timestamp":"0000019fe009b768"} 
[2026-08-08 11:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259558400001,"66":27571,"153":206,"28":32256,"24":45,"16":375234666833117184,"45":478155646707496960},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 11:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259558400001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:54:18] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 11:54:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375234666833117184,"km_value":375234666833117.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":478155646707496960,"description":"Unknown IO ID 45"} 
[2026-08-08 11:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259558400001,"power":27571,"unknown_153":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":478155646707496960}} 
[2026-08-08 11:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:54:18] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:54:18] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:54:21] local.INFO: TCP Data received {"connection_id":152931,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe009de78012d06764006fd90f8001201411e..."} 
[2026-08-08 11:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe009de78012d06764006fd90f8001201411e..."} 
[2026-08-08 11:54:21] local.INFO: Processing buffer {"connection_id":152931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe009de78012d06764006fd90f8001201411e..."} 
[2026-08-08 11:54:21] local.INFO: Packet analysis {"connection_id":152931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:21] local.INFO: Extracted packet for processing {"connection_id":152931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe009"} 
[2026-08-08 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755398208,"raw_latitude":117281016,"longitude_deg":75.5398208,"latitude_deg":11.7281016,"altitude":18,"angle":321,"satellites":30,"speed":18,"hex_longitude":"2d067640","hex_latitude":"06fd90f8","is_valid_coordinates":true} 
[2026-08-08 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259561216001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375235109214748672,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":471822459733334016,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786170171000,"timestamp_ms":1786170171000,"timestamp_seconds":1786170171,"priority":1,"record_length":96,"hex_timestamp":"0000019fe009de78"} 
[2026-08-08 11:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 11:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259561216001,"66":27908,"153":206,"28":32256,"24":18,"16":375235109214748672,"45":471822459733334016},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-08-08 11:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259561216001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:54:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 11:54:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375235109214748672,"km_value":375235109214748.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":471822459733334016,"description":"Unknown IO ID 45"} 
[2026-08-08 11:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259561216001,"power":27908,"unknown_153":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":471822459733334016}} 
[2026-08-08 11:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":152931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:54:21] local.INFO: GPS data processed {"connection_id":152931,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:54:21] local.INFO: Acknowledgment sent {"connection_id":152931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:54:51] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:51] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:51] local.INFO: IMEI packet received {"connection_id":151447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":151447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:54:52] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:52] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:52] local.INFO: IMEI packet received {"connection_id":151447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":151447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:54:54] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:54] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:54] local.INFO: IMEI packet received {"connection_id":151447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":151447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:54:55] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:55] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:54:55] local.INFO: IMEI packet received {"connection_id":151447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":151447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:54:56] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00b22b0012d19b9c00720a7980038001026..."} 
[2026-08-08 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00b22b0012d19b9c00720a7980038001026..."} 
[2026-08-08 11:54:56] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00b22b0012d19b9c00720a7980038001026..."} 
[2026-08-08 11:54:56] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:54:56] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580568,"longitude_deg":75.6660672,"latitude_deg":11.9580568,"altitude":56,"angle":16,"satellites":38,"speed":23,"hex_longitude":"2d19b9c0","hex_latitude":"0720a798","is_valid_coordinates":true} 
[2026-08-08 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259583488001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11352307232931840,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002484236288,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786170254000,"timestamp_ms":1786170254000,"timestamp_seconds":1786170254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00b22b0"} 
[2026-08-08 11:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 11:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259583488001,"66":14243,"121":206,"28":31744,"24":23,"16":11352307232931840,"45":1850698002484236288},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259583488001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:54:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11352307232931840,"km_value":11352307232931.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002484236288,"description":"Unknown IO ID 45"} 
[2026-08-08 11:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259583488001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1850698002484236288}} 
[2026-08-08 11:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:54:56] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:54:56] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:54:57] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00b2a80012d19b9800720ab800039015c25..."} 
[2026-08-08 11:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00b2a80012d19b9800720ab800039015c25..."} 
[2026-08-08 11:54:57] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00b2a80012d19b9800720ab800039015c25..."} 
[2026-08-08 11:54:57] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:54:57] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119581568,"longitude_deg":75.6660608,"latitude_deg":11.9581568,"altitude":57,"angle":348,"satellites":37,"speed":18,"hex_longitude":"2d19b980","hex_latitude":"0720ab80","is_valid_coordinates":true} 
[2026-08-08 11:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259585024001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11352358772539392,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484828160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786170256000,"timestamp_ms":1786170256000,"timestamp_seconds":1786170256,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00b2a80"} 
[2026-08-08 11:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-08 11:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259585024001,"66":13374,"121":206,"28":31744,"24":18,"16":11352358772539392,"45":1853723858484828160},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259585024001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:54:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:54:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11352358772539392,"km_value":11352358772539.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484828160,"description":"Unknown IO ID 45"} 
[2026-08-08 11:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259585024001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1853723858484828160}} 
[2026-08-08 11:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:54:57] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:54:57] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:55:05] local.INFO: TCP Data received {"connection_id":151448,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:05] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:05] local.INFO: IMEI packet received {"connection_id":151448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":151448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:55:06] local.INFO: TCP Data received {"connection_id":151448,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:06] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:06] local.INFO: IMEI packet received {"connection_id":151448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":151448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:55:10] local.INFO: TCP Data received {"connection_id":151448,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:10] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:55:10] local.INFO: IMEI packet received {"connection_id":151448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":151448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:55:11] local.INFO: TCP Data received {"connection_id":151448,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00a3080012d06610006fda968001701402a..."} 
[2026-08-08 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00a3080012d06610006fda968001701402a..."} 
[2026-08-08 11:55:11] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00a3080012d06610006fda968001701402a..."} 
[2026-08-08 11:55:11] local.INFO: Packet analysis {"connection_id":151448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00a"} 
[2026-08-08 11:55:11] local.INFO: Extracted packet for processing {"connection_id":151448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00a"} 
[2026-08-08 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":755392768,"raw_latitude":117287272,"longitude_deg":75.5392768,"latitude_deg":11.7287272,"altitude":23,"angle":320,"satellites":42,"speed":16,"hex_longitude":"2d066100","hex_latitude":"06fda968","is_valid_coordinates":true} 
[2026-08-08 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259563776001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375235508646707200,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":465630010247542784,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786170192000,"timestamp_ms":1786170192000,"timestamp_seconds":1786170192,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00a3080"} 
[2026-08-08 11:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259563776001,"66":27843,"60":206,"28":32256,"24":16,"16":375235508646707200,"45":465630010247542784},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-08-08 11:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259563776001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:55:11] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-08 11:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375235508646707200,"km_value":375235508646707.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":465630010247542784,"description":"Unknown IO ID 45"} 
[2026-08-08 11:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259563776001,"power":27843,"unknown_60":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":465630010247542784}} 
[2026-08-08 11:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":151448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:55:12] local.INFO: GPS data processed {"connection_id":151448,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:55:12] local.INFO: Acknowledgment sent {"connection_id":151448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:55:14] local.INFO: TCP Data received {"connection_id":151448,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00a7ea0012d064f8006fdc168001c014c2b..."} 
[2026-08-08 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00a7ea0012d064f8006fdc168001c014c2b..."} 
[2026-08-08 11:55:14] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00a7ea0012d064f8006fdc168001c014c2b..."} 
[2026-08-08 11:55:14] local.INFO: Packet analysis {"connection_id":151448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00a"} 
[2026-08-08 11:55:14] local.INFO: Extracted packet for processing {"connection_id":151448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00a"} 
[2026-08-08 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":755388288,"raw_latitude":117293416,"longitude_deg":75.5388288,"latitude_deg":11.7293416,"altitude":28,"angle":332,"satellites":43,"speed":20,"hex_longitude":"2d064f80","hex_latitude":"06fdc168","is_valid_coordinates":true} 
[2026-08-08 11:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259569152001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375235873718927360,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":459648666994042880,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786170212000,"timestamp_ms":1786170212000,"timestamp_seconds":1786170212,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00a7ea0"} 
[2026-08-08 11:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 11:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259569152001,"66":27908,"60":206,"28":32256,"24":20,"16":375235873718927360,"45":459648666994042880},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-08-08 11:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259569152001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:55:14] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-08 11:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375235873718927360,"km_value":375235873718927.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":459648666994042880,"description":"Unknown IO ID 45"} 
[2026-08-08 11:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259569152001,"power":27908,"unknown_60":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":459648666994042880}} 
[2026-08-08 11:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":151448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:55:14] local.INFO: GPS data processed {"connection_id":151448,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:55:14] local.INFO: Acknowledgment sent {"connection_id":151448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:55:28] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00b2e68012d19b7c00720acc8003a013825..."} 
[2026-08-08 11:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00b2e68012d19b7c00720acc8003a013825..."} 
[2026-08-08 11:55:28] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00b2e68012d19b7c00720acc8003a013825..."} 
[2026-08-08 11:55:28] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:55:28] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581896,"longitude_deg":75.666016,"latitude_deg":11.9581896,"altitude":58,"angle":312,"satellites":37,"speed":20,"hex_longitude":"2d19b7c0","hex_latitude":"0720acc8","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259585536001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11352384542343168,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740906496,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786170257000,"timestamp_ms":1786170257000,"timestamp_seconds":1786170257,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00b2e68"} 
[2026-08-08 11:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 11:55: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-08-08 11: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-08-08 11:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259585536001,"66":13374,"121":206,"28":31744,"24":20,"16":11352384542343168,"45":1853653489740906496},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259585536001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:55:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11352384542343168,"km_value":11352384542343.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740906496,"description":"Unknown IO ID 45"} 
[2026-08-08 11:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259585536001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1853653489740906496}} 
[2026-08-08 11:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:55:28] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:55:28] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:55:45] local.INFO: TCP Data received {"connection_id":151448,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00bbb08012d05434006febfd80017011b28..."} 
[2026-08-08 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00bbb08012d05434006febfd80017011b28..."} 
[2026-08-08 11:55:45] local.INFO: Processing buffer {"connection_id":151448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00bbb08012d05434006febfd80017011b28..."} 
[2026-08-08 11:55:45] local.INFO: Packet analysis {"connection_id":151448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:55:45] local.INFO: Extracted packet for processing {"connection_id":151448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:55:45] local.INFO: GPS Element Parsed {"raw_longitude":755319616,"raw_latitude":117358552,"longitude_deg":75.5319616,"latitude_deg":11.7358552,"altitude":23,"angle":283,"satellites":40,"speed":59,"hex_longitude":"2d054340","hex_latitude":"06febfd8","is_valid_coordinates":true} 
[2026-08-08 11:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259593472001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375240529463476224,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":388787341624723456,"note":"Value kept but may cause issues"} 
[2026-08-08 11:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786170293000,"timestamp_ms":1786170293000,"timestamp_seconds":1786170293,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00bbb08"} 
[2026-08-08 11:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 11:55: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-08-08 11:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259593472001,"66":27908,"195":206,"28":32256,"24":59,"16":375240529463476224,"45":388787341624723456},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-08-08 11:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259593472001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:55:45] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 11:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375240529463476224,"km_value":375240529463476.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":388787341624723456,"description":"Unknown IO ID 45"} 
[2026-08-08 11:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259593472001,"power":27908,"unknown_195":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":388787341624723456}} 
[2026-08-08 11:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":151448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:55:45] local.INFO: GPS data processed {"connection_id":151448,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:55:45] local.INFO: Acknowledgment sent {"connection_id":151448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:56:00] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00b3250012d19b5400720adc0003a012825..."} 
[2026-08-08 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00b3250012d19b5400720adc0003a012825..."} 
[2026-08-08 11:56:00] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00b3250012d19b5400720adc0003a012825..."} 
[2026-08-08 11:56:00] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:56:00] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119582144,"longitude_deg":75.665952,"latitude_deg":11.9582144,"altitude":58,"angle":296,"satellites":37,"speed":25,"hex_longitude":"2d19b540","hex_latitude":"0720adc0","is_valid_coordinates":true} 
[2026-08-08 11:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259585792001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11352418902081536,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531746816,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786170258000,"timestamp_ms":1786170258000,"timestamp_seconds":1786170258,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00b3250"} 
[2026-08-08 11:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 11:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259585792001,"66":14341,"121":206,"28":31744,"24":25,"16":11352418902081536,"45":1853160908531746816},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259585792001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11352418902081536,"km_value":11352418902081.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531746816,"description":"Unknown IO ID 45"} 
[2026-08-08 11:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259585792001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1853160908531746816}} 
[2026-08-08 11:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:56:00] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:56:00] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:56:05] local.INFO: TCP Data received {"connection_id":150494,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:05] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:05] local.INFO: IMEI packet received {"connection_id":150494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":150494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:56:13] local.INFO: TCP Data received {"connection_id":150494,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:13] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:13] local.INFO: IMEI packet received {"connection_id":150494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":150494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:56:14] local.INFO: TCP Data received {"connection_id":150494,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:14] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:56:14] local.INFO: IMEI packet received {"connection_id":150494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":150494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:56:15] local.INFO: TCP Data received {"connection_id":150494,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00bd278012d05204006fec6080015011729..."} 
[2026-08-08 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00bd278012d05204006fec6080015011729..."} 
[2026-08-08 11:56:15] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00bd278012d05204006fec6080015011729..."} 
[2026-08-08 11:56:15] local.INFO: Packet analysis {"connection_id":150494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:56:15] local.INFO: Extracted packet for processing {"connection_id":150494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":755310656,"raw_latitude":117360136,"longitude_deg":75.5310656,"latitude_deg":11.7360136,"altitude":21,"angle":279,"satellites":41,"speed":59,"hex_longitude":"2d052040","hex_latitude":"06fec608","is_valid_coordinates":true} 
[2026-08-08 11:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259595008001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375240958960205824,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":379217192417220608,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786170299000,"timestamp_ms":1786170299000,"timestamp_seconds":1786170299,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00bd278"} 
[2026-08-08 11:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259595008001,"66":27908,"195":206,"28":32256,"24":59,"16":375240958960205824,"45":379217192417220608},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-08-08 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259595008001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:56:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 11:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375240958960205824,"km_value":375240958960205.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":379217192417220608,"description":"Unknown IO ID 45"} 
[2026-08-08 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259595008001,"power":27908,"unknown_195":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":379217192417220608}} 
[2026-08-08 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":150494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:56:15] local.INFO: GPS data processed {"connection_id":150494,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:56:15] local.INFO: Acknowledgment sent {"connection_id":150494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:56:17] local.INFO: TCP Data received {"connection_id":150494,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00be9e8012d04fcc006fecba80013011727..."} 
[2026-08-08 11:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00be9e8012d04fcc006fecba80013011727..."} 
[2026-08-08 11:56:17] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00be9e8012d04fcc006fecba80013011727..."} 
[2026-08-08 11:56:17] local.INFO: Packet analysis {"connection_id":150494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:56:17] local.INFO: Extracted packet for processing {"connection_id":150494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00b"} 
[2026-08-08 11:56:17] local.INFO: GPS Element Parsed {"raw_longitude":755301568,"raw_latitude":117361576,"longitude_deg":75.5301568,"latitude_deg":11.7361576,"altitude":19,"angle":279,"satellites":39,"speed":60,"hex_longitude":"2d04fcc0","hex_latitude":"06fecba8","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259596544001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375241397046870016,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":369365568232753152,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786170305000,"timestamp_ms":1786170305000,"timestamp_seconds":1786170305,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00be9e8"} 
[2026-08-08 11:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259596544001,"66":27919,"195":206,"28":32256,"24":60,"16":375241397046870016,"45":369365568232753152},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-08-08 11:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259596544001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:56:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 11:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375241397046870016,"km_value":375241397046870.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":369365568232753152,"description":"Unknown IO ID 45"} 
[2026-08-08 11:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259596544001,"power":27919,"unknown_195":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_45":369365568232753152}} 
[2026-08-08 11:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":150494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:56:17] local.INFO: GPS data processed {"connection_id":150494,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:56:17] local.INFO: Acknowledgment sent {"connection_id":150494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:56:31] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00c7e58012d18cb0007213298003a014625..."} 
[2026-08-08 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00c7e58012d18cb0007213298003a014625..."} 
[2026-08-08 11:56:31] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00c7e58012d18cb0007213298003a014625..."} 
[2026-08-08 11:56:31] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00c"} 
[2026-08-08 11:56:31] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00c"} 
[2026-08-08 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119616152,"longitude_deg":75.6599552,"latitude_deg":11.9616152,"altitude":58,"angle":326,"satellites":37,"speed":37,"hex_longitude":"2d18cb00","hex_latitude":"07213298","is_valid_coordinates":true} 
[2026-08-08 11:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259607296001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11356207063236608,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787647607710679040,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786170343000,"timestamp_ms":1786170343000,"timestamp_seconds":1786170343,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00c7e58"} 
[2026-08-08 11:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 11:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259607296001,"66":14483,"121":206,"28":31744,"24":37,"16":11356207063236608,"45":1787647607710679040},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259607296001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:56:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11356207063236608,"km_value":11356207063236.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787647607710679040,"description":"Unknown IO ID 45"} 
[2026-08-08 11:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259607296001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1787647607710679040}} 
[2026-08-08 11:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:56:31] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:56:31] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:56:50] local.INFO: TCP Data received {"connection_id":150494,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00c0158012d04d8c006fed1580011011726..."} 
[2026-08-08 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00c0158012d04d8c006fed1580011011726..."} 
[2026-08-08 11:56:50] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00c0158012d04d8c006fed1580011011726..."} 
[2026-08-08 11:56:50] local.INFO: Packet analysis {"connection_id":150494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00c"} 
[2026-08-08 11:56:50] local.INFO: Extracted packet for processing {"connection_id":150494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00c"} 
[2026-08-08 11:56:50] local.INFO: GPS Element Parsed {"raw_longitude":755292352,"raw_latitude":117363032,"longitude_deg":75.5292352,"latitude_deg":11.7363032,"altitude":17,"angle":279,"satellites":38,"speed":61,"hex_longitude":"2d04d8c0","hex_latitude":"06fed158","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259598080001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375241839428501504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":359373206559893504,"note":"Value kept but may cause issues"} 
[2026-08-08 11:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786170311000,"timestamp_ms":1786170311000,"timestamp_seconds":1786170311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00c0158"} 
[2026-08-08 11:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259598080001,"66":28050,"195":206,"28":32256,"24":61,"16":375241839428501504,"45":359373206559893504},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-08-08 11:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259598080001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:56:50] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 11:56:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375241839428501504,"km_value":375241839428501.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":359373206559893504,"description":"Unknown IO ID 45"} 
[2026-08-08 11:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259598080001,"power":28050,"unknown_195":206,"unknown_28":32256,"ignition":61,"odometer":null,"unknown_45":359373206559893504}} 
[2026-08-08 11:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":150494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:56:50] local.INFO: GPS data processed {"connection_id":150494,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:56:50] local.INFO: Acknowledgment sent {"connection_id":150494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:57:02] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00c91e0012d18c3c0072141f8003b015925..."} 
[2026-08-08 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00c91e0012d18c3c0072141f8003b015925..."} 
[2026-08-08 11:57:02] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00c91e0012d18c3c0072141f8003b015925..."} 
[2026-08-08 11:57:02] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00c"} 
[2026-08-08 11:57:02] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00c"} 
[2026-08-08 11:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119620088,"longitude_deg":75.6597696,"latitude_deg":11.9620088,"altitude":59,"angle":345,"satellites":37,"speed":34,"hex_longitude":"2d18c3c0","hex_latitude":"072141f8","is_valid_coordinates":true} 
[2026-08-08 11:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259607808001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11356421811601408,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707804268544,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786170348000,"timestamp_ms":1786170348000,"timestamp_seconds":1786170348,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00c91e0"} 
[2026-08-08 11:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:57: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":147,"data_length":795,"current_offset":136} 
[2026-08-08 11:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259607808001,"66":14265,"121":206,"28":31744,"24":34,"16":11356421811601408,"45":1786521707804268544},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 11:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259607808001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11356421811601408,"km_value":11356421811601.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707804268544,"description":"Unknown IO ID 45"} 
[2026-08-08 11:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259607808001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1786521707804268544}} 
[2026-08-08 11:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:57:02] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:57:02] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:57:15] local.INFO: TCP Data received {"connection_id":151449,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:15] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:15] local.INFO: IMEI packet received {"connection_id":151449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":151449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:57:16] local.INFO: TCP Data received {"connection_id":151449,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:16] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:16] local.INFO: IMEI packet received {"connection_id":151449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":151449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:57:20] local.INFO: TCP Data received {"connection_id":151449,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:20] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:57:20] local.INFO: IMEI packet received {"connection_id":151449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":151449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:57:22] local.INFO: TCP Data received {"connection_id":151449,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d1a98012d03560006ff4a900009013c2c..."} 
[2026-08-08 11:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d1a98012d03560006ff4a900009013c2c..."} 
[2026-08-08 11:57:22] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d1a98012d03560006ff4a900009013c2c..."} 
[2026-08-08 11:57:22] local.INFO: Packet analysis {"connection_id":151449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:22] local.INFO: Extracted packet for processing {"connection_id":151449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755193344,"raw_latitude":117394064,"longitude_deg":75.5193344,"latitude_deg":11.7394064,"altitude":9,"angle":316,"satellites":44,"speed":60,"hex_longitude":"2d035600","hex_latitude":"06ff4a90","is_valid_coordinates":true} 
[2026-08-08 11:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259616512001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375246881720107008,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":247979484533360640,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786170383000,"timestamp_ms":1786170383000,"timestamp_seconds":1786170383,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d1a98"} 
[2026-08-08 11:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 11:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259616512001,"66":27919,"44":206,"28":32256,"24":60,"16":375246881720107008,"45":247979484533360640},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-08 11:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259616512001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:57:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-08 11:57:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375246881720107008,"km_value":375246881720107.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":247979484533360640,"description":"Unknown IO ID 45"} 
[2026-08-08 11:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259616512001,"power":27919,"unknown_44":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_45":247979484533360640}} 
[2026-08-08 11:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":151449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:57:22] local.INFO: GPS data processed {"connection_id":151449,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:57:22] local.INFO: Acknowledgment sent {"connection_id":151449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:57:24] local.INFO: TCP Data received {"connection_id":151449,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d35f0012d033c0006ff6950000a01432e..."} 
[2026-08-08 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d35f0012d033c0006ff6950000a01432e..."} 
[2026-08-08 11:57:24] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d35f0012d033c0006ff6950000a01432e..."} 
[2026-08-08 11:57:24] local.INFO: Packet analysis {"connection_id":151449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:24] local.INFO: Extracted packet for processing {"connection_id":151449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:24] local.INFO: GPS Element Parsed {"raw_longitude":755186688,"raw_latitude":117401936,"longitude_deg":75.5186688,"latitude_deg":11.7401936,"altitude":10,"angle":323,"satellites":46,"speed":56,"hex_longitude":"2d033c00","hex_latitude":"06ff6950","is_valid_coordinates":true} 
[2026-08-08 11:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259618048001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375247375641346048,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":240379660163780608,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786170390000,"timestamp_ms":1786170390000,"timestamp_seconds":1786170390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d35f0"} 
[2026-08-08 11:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":151449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259618048001,"66":27887,"44":206,"28":32256,"24":56,"16":375247375641346048,"45":240379660163780608},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-08 11:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259618048001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-08 11:57:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375247375641346048,"km_value":375247375641346.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":240379660163780608,"description":"Unknown IO ID 45"} 
[2026-08-08 11:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259618048001,"power":27887,"unknown_44":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":240379660163780608}} 
[2026-08-08 11:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":151449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:57:24] local.INFO: GPS data processed {"connection_id":151449,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:57:24] local.INFO: Acknowledgment sent {"connection_id":151449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:57:25] local.INFO: TCP Data received {"connection_id":151449,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d5148012d0327c006ff8900000c014a2f..."} 
[2026-08-08 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d5148012d0327c006ff8900000c014a2f..."} 
[2026-08-08 11:57:25] local.INFO: Processing buffer {"connection_id":151449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d5148012d0327c006ff8900000c014a2f..."} 
[2026-08-08 11:57:25] local.INFO: Packet analysis {"connection_id":151449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:25] local.INFO: Extracted packet for processing {"connection_id":151449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":755181504,"raw_latitude":117410048,"longitude_deg":75.5181504,"latitude_deg":11.7410048,"altitude":12,"angle":330,"satellites":47,"speed":52,"hex_longitude":"2d0327c0","hex_latitude":"06ff8900","is_valid_coordinates":true} 
[2026-08-08 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375247839497814016,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":233061310771318784,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786170397000,"timestamp_ms":1786170397000,"timestamp_seconds":1786170397,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d5148"} 
[2026-08-08 11:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 11:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":151449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":151449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259619840001,"66":27908,"185":206,"28":32256,"24":52,"16":375247839497814016,"45":233061310771318784},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:57:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 11:57:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375247839497814016,"km_value":375247839497814.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":233061310771318784,"description":"Unknown IO ID 45"} 
[2026-08-08 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259619840001,"power":27908,"unknown_185":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_45":233061310771318784}} 
[2026-08-08 11:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":151449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:57:26] local.INFO: GPS data processed {"connection_id":151449,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:57:26] local.INFO: Acknowledgment sent {"connection_id":151449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:57:34] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d8028012d181c400721a608004100f824..."} 
[2026-08-08 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d8028012d181c400721a608004100f824..."} 
[2026-08-08 11:57:34] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d8028012d181c400721a608004100f824..."} 
[2026-08-08 11:57:34] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:34] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119645704,"longitude_deg":75.6554816,"latitude_deg":11.9645704,"altitude":65,"angle":248,"satellites":36,"speed":7,"hex_longitude":"2d181c40","hex_latitude":"0721a608","is_valid_coordinates":true} 
[2026-08-08 11:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259624448001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11359007381913600,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120008192,"note":"Value kept but may cause issues"} 
[2026-08-08 11:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786170409000,"timestamp_ms":1786170409000,"timestamp_seconds":1786170409,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d8028"} 
[2026-08-08 11:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 11:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259624448001,"66":14004,"122":206,"28":31744,"24":7,"16":11359007381913600,"45":1737474693120008192},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-08 11:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259624448001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:57:34] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-08 11:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11359007381913600,"km_value":11359007381913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120008192,"description":"Unknown IO ID 45"} 
[2026-08-08 11:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259624448001,"power":14004,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737474693120008192}} 
[2026-08-08 11:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:57:34] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:57:34] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:58:05] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d87f8012d181b000721a558004100df23..."} 
[2026-08-08 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d87f8012d181b000721a558004100df23..."} 
[2026-08-08 11:58:05] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d87f8012d181b000721a558004100df23..."} 
[2026-08-08 11:58:05] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:05] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119645528,"longitude_deg":75.6554496,"latitude_deg":11.9645528,"altitude":65,"angle":223,"satellites":35,"speed":7,"hex_longitude":"2d181b00","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-08-08 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259624704001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11359024561782784,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631646720,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786170411000,"timestamp_ms":1786170411000,"timestamp_seconds":1786170411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d87f8"} 
[2026-08-08 11:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:58: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-08-08 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 11:58: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-08-08 11:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259624704001,"66":14157,"122":206,"28":31744,"24":7,"16":11359024561782784,"45":1737333955631646720},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-08 11:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259624704001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:58:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-08 11:58:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11359024561782784,"km_value":11359024561782.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631646720,"description":"Unknown IO ID 45"} 
[2026-08-08 11:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259624704001,"power":14157,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737333955631646720}} 
[2026-08-08 11:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:58:05] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:58:05] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:58:08] local.INFO: TCP Data received {"connection_id":150224,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:58:08] local.INFO: Processing buffer {"connection_id":150224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:58:08] local.INFO: IMEI packet received {"connection_id":150224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":150224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:58:08] local.INFO: TCP Data received {"connection_id":150224,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:58:08] local.INFO: Processing buffer {"connection_id":150224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:58:08] local.INFO: IMEI packet received {"connection_id":150224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":150224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:58:10] local.INFO: TCP Data received {"connection_id":150224,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d7088012d0316c006ffaca0000f01522c..."} 
[2026-08-08 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d7088012d0316c006ffaca0000f01522c..."} 
[2026-08-08 11:58:10] local.INFO: Processing buffer {"connection_id":150224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d7088012d0316c006ffaca0000f01522c..."} 
[2026-08-08 11:58:10] local.INFO: Packet analysis {"connection_id":150224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:10] local.INFO: Extracted packet for processing {"connection_id":150224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:10] local.INFO: GPS Element Parsed {"raw_longitude":755177152,"raw_latitude":117419168,"longitude_deg":75.5177152,"latitude_deg":11.7419168,"altitude":15,"angle":338,"satellites":44,"speed":48,"hex_longitude":"2d0316c0","hex_latitude":"06ffaca0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259621632001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375248329124085760,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":227361442495004672,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786170405000,"timestamp_ms":1786170405000,"timestamp_seconds":1786170405,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d7088"} 
[2026-08-08 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-08-08 11:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259621632001,"66":27908,"185":206,"28":32256,"24":48,"16":375248329124085760,"45":227361442495004672},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 11:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259621632001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375248329124085760,"km_value":375248329124085.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":227361442495004672,"description":"Unknown IO ID 45"} 
[2026-08-08 11:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259621632001,"power":27908,"unknown_185":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":227361442495004672}} 
[2026-08-08 11:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":150224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:58:10] local.INFO: GPS data processed {"connection_id":150224,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:58:10] local.INFO: Acknowledgment sent {"connection_id":150224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:58:11] local.INFO: TCP Data received {"connection_id":150224,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d8fc8012d030a4006ffd0b0001101562c..."} 
[2026-08-08 11:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d8fc8012d030a4006ffd0b0001101562c..."} 
[2026-08-08 11:58:11] local.INFO: Processing buffer {"connection_id":150224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d8fc8012d030a4006ffd0b0001101562c..."} 
[2026-08-08 11:58:11] local.INFO: Packet analysis {"connection_id":150224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:11] local.INFO: Extracted packet for processing {"connection_id":150224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":755173952,"raw_latitude":117428400,"longitude_deg":75.5173952,"latitude_deg":11.74284,"altitude":17,"angle":342,"satellites":44,"speed":48,"hex_longitude":"2d030a40","hex_latitude":"06ffd0b0","is_valid_coordinates":true} 
[2026-08-08 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259623680001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375248801570488320,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":222576367893258240,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786170413000,"timestamp_ms":1786170413000,"timestamp_seconds":1786170413,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d8fc8"} 
[2026-08-08 11:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 11:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259623680001,"66":27919,"185":206,"28":32256,"24":48,"16":375248801570488320,"45":222576367893258240},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 11:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259623680001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:58:11] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 11:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375248801570488320,"km_value":375248801570488.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":222576367893258240,"description":"Unknown IO ID 45"} 
[2026-08-08 11:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259623680001,"power":27919,"unknown_185":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":222576367893258240}} 
[2026-08-08 11:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":150224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:58:11] local.INFO: GPS data processed {"connection_id":150224,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:58:11] local.INFO: Acknowledgment sent {"connection_id":150224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:58:37] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00d8fc8012d1819c00721a358004100d124..."} 
[2026-08-08 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00d8fc8012d1819c00721a358004100d124..."} 
[2026-08-08 11:58:37] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00d8fc8012d1819c00721a358004100d124..."} 
[2026-08-08 11:58:37] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:37] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119645016,"longitude_deg":75.6554176,"latitude_deg":11.9645016,"altitude":65,"angle":209,"satellites":36,"speed":16,"hex_longitude":"2d1819c0","hex_latitude":"0721a358","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259625216001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11359050331586560,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910713344,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786170413000,"timestamp_ms":1786170413000,"timestamp_seconds":1786170413,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00d8fc8"} 
[2026-08-08 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-08-08 11:58: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-08-08 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 11:58: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-08-08 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-08-08 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-08-08 11:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259625216001,"66":14113,"122":206,"28":31744,"24":16,"16":11359050331586560,"45":1736982111910713344},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-08 11:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259625216001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:58:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-08 11:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11359050331586560,"km_value":11359050331586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910713344,"description":"Unknown IO ID 45"} 
[2026-08-08 11:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259625216001,"power":14113,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1736982111910713344}} 
[2026-08-08 11:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:58:37] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:58:37] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:58:43] local.INFO: TCP Data received {"connection_id":150224,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00daf08012d02fe8006fff5c8001101562a..."} 
[2026-08-08 11:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00daf08012d02fe8006fff5c8001101562a..."} 
[2026-08-08 11:58:43] local.INFO: Processing buffer {"connection_id":150224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00daf08012d02fe8006fff5c8001101562a..."} 
[2026-08-08 11:58:43] local.INFO: Packet analysis {"connection_id":150224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:43] local.INFO: Extracted packet for processing {"connection_id":150224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00d"} 
[2026-08-08 11:58:43] local.INFO: GPS Element Parsed {"raw_longitude":755170944,"raw_latitude":117437896,"longitude_deg":75.5170944,"latitude_deg":11.7437896,"altitude":17,"angle":342,"satellites":42,"speed":50,"hex_longitude":"2d02fe80","hex_latitude":"06fff5c8","is_valid_coordinates":true} 
[2026-08-08 11:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259625728001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375249282606825472,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":219057930686738432,"note":"Value kept but may cause issues"} 
[2026-08-08 11:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786170421000,"timestamp_ms":1786170421000,"timestamp_seconds":1786170421,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00daf08"} 
[2026-08-08 11:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259625728001,"66":27974,"185":206,"28":32256,"24":50,"16":375249282606825472,"45":219057930686738432},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-08-08 11:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259625728001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:58:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-08 11:58:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375249282606825472,"km_value":375249282606825.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":219057930686738432,"description":"Unknown IO ID 45"} 
[2026-08-08 11:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259625728001,"power":27974,"unknown_185":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":219057930686738432}} 
[2026-08-08 11:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":150224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:58:43] local.INFO: GPS data processed {"connection_id":150224,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:58:43] local.INFO: Acknowledgment sent {"connection_id":150224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:59:05] local.INFO: TCP Data received {"connection_id":152932,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:59:05] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:59:05] local.INFO: IMEI packet received {"connection_id":152932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 11:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":152932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:59:09] local.INFO: TCP Data received {"connection_id":152932,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:59:09] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 11:59:09] local.INFO: IMEI packet received {"connection_id":152932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":152932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:59:09] local.INFO: TCP Data received {"connection_id":151447,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00ec460012d17dd4007215be80043001e24..."} 
[2026-08-08 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00ec460012d17dd4007215be80043001e24..."} 
[2026-08-08 11:59:09] local.INFO: Processing buffer {"connection_id":151447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00ec460012d17dd4007215be80043001e24..."} 
[2026-08-08 11:59:09] local.INFO: Packet analysis {"connection_id":151447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:09] local.INFO: Extracted packet for processing {"connection_id":151447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:09] local.INFO: GPS Element Parsed {"raw_longitude":756538688,"raw_latitude":119626728,"longitude_deg":75.6538688,"latitude_deg":11.9626728,"altitude":67,"angle":30,"satellites":36,"speed":25,"hex_longitude":"2d17dd40","hex_latitude":"07215be8","is_valid_coordinates":true} 
[2026-08-08 11: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-08-08 11:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259641344001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361163455496192,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714464113767043072,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786170492000,"timestamp_ms":1786170492000,"timestamp_seconds":1786170492,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00ec460"} 
[2026-08-08 11:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 11:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11: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-08-08 11:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259641344001,"66":14352,"122":206,"28":31744,"24":25,"16":11361163455496192,"45":1714464113767043072},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-08 11:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259641344001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:59:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-08 11:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361163455496192,"km_value":11361163455496.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714464113767043072,"description":"Unknown IO ID 45"} 
[2026-08-08 11:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259641344001,"power":14352,"unknown_122":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1714464113767043072}} 
[2026-08-08 11:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":151447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:59:09] local.INFO: GPS data processed {"connection_id":151447,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:59:09] local.INFO: Acknowledgment sent {"connection_id":151447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:59:10] local.INFO: TCP Data received {"connection_id":152932,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00ed400012d02814007017a10000d01552b..."} 
[2026-08-08 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00ed400012d02814007017a10000d01552b..."} 
[2026-08-08 11:59:10] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00ed400012d02814007017a10000d01552b..."} 
[2026-08-08 11:59:10] local.INFO: Packet analysis {"connection_id":152932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:10] local.INFO: Extracted packet for processing {"connection_id":152932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":755138880,"raw_latitude":117537296,"longitude_deg":75.513888,"latitude_deg":11.7537296,"altitude":13,"angle":341,"satellites":43,"speed":50,"hex_longitude":"2d028140","hex_latitude":"07017a10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259644928001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375254342078300160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":184155033600081920,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786170496000,"timestamp_ms":1786170496000,"timestamp_seconds":1786170496,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00ed400"} 
[2026-08-08 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-08-08 11:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 11:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 11:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259644928001,"66":27919,"35":206,"28":32256,"24":50,"16":375254342078300160,"45":184155033600081920},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 11:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259644928001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:59:10] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 11:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375254342078300160,"km_value":375254342078300.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":184155033600081920,"description":"Unknown IO ID 45"} 
[2026-08-08 11:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259644928001,"power":27919,"unknown_35":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":184155033600081920}} 
[2026-08-08 11:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":152932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:59:10] local.INFO: GPS data processed {"connection_id":152932,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:59:10] local.INFO: Acknowledgment sent {"connection_id":152932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:59:31] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:59:31] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:59:31] local.INFO: IMEI packet received {"connection_id":152933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 11:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":152933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 11:59:36] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:59:36] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 11:59:36] local.INFO: IMEI packet received {"connection_id":152933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 11:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":152933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 11:59:37] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00ef340012d17f04007217a280047002a24..."} 
[2026-08-08 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00ef340012d17f04007217a280047002a24..."} 
[2026-08-08 11:59:37] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00ef340012d17f04007217a280047002a24..."} 
[2026-08-08 11:59:37] local.INFO: Packet analysis {"connection_id":152933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:37] local.INFO: Extracted packet for processing {"connection_id":152933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119634472,"longitude_deg":75.6543552,"latitude_deg":11.9634472,"altitude":71,"angle":42,"satellites":36,"speed":35,"hex_longitude":"2d17f040","hex_latitude":"07217a28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259645952001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11361605837127680,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719601032094017536,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59: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-08-08 11:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786170504000,"timestamp_ms":1786170504000,"timestamp_seconds":1786170504,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00ef340"} 
[2026-08-08 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-08-08 11:59: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-08-08 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138944,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503772977299456,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84750184470749516,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3759035160,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926698874,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4467834717441687808,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-08 11:59:37] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1074209082,"corrected_to":0} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":112,"raw_value":17733826063118080,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-1639302424253431740,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,122,28,24,241,158,16,92,159,126,45,61,59,37,10,66,192,60,118,1,240,185,224,33,4,113,205,8,110,204,176,36,239,56,2,40,7,5,206,112,23],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":204,"original":1074209082,"validated":0}]} 
[2026-08-08 11:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827891940510466048,"timestamp_seconds":4827891940510466.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 11:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 11:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 11:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 11:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259645952001,"66":13526,"120":206,"28":31744,"24":35,"16":11361605837127680,"45":1719601032094017536},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 11:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 11:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 11:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259645952001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:59:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 11:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 11:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11361605837127680,"km_value":11361605837127.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719601032094017536,"description":"Unknown IO ID 45"} 
[2026-08-08 11:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259645952001,"power":13526,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1719601032094017536}} 
[2026-08-08 11:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":152933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:59:37] local.INFO: GPS data processed {"connection_id":152933,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:59:37] local.INFO: Acknowledgment sent {"connection_id":152933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 11:59:42] local.INFO: TCP Data received {"connection_id":152932,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00eef58012d02758007019d88000b01562c..."} 
[2026-08-08 11:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00eef58012d02758007019d88000b01562c..."} 
[2026-08-08 11:59:42] local.INFO: Processing buffer {"connection_id":152932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00eef58012d02758007019d88000b01562c..."} 
[2026-08-08 11:59:42] local.INFO: Packet analysis {"connection_id":152932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:42] local.INFO: Extracted packet for processing {"connection_id":152932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00e"} 
[2026-08-08 11:59:42] local.INFO: GPS Element Parsed {"raw_longitude":755135872,"raw_latitude":117546376,"longitude_deg":75.5135872,"latitude_deg":11.7546376,"altitude":11,"angle":342,"satellites":44,"speed":56,"hex_longitude":"2d027580","hex_latitude":"07019d88","is_valid_coordinates":true} 
[2026-08-08 11:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 11:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259646976001,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375254801639800832,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":180495858905255936,"note":"Value kept but may cause issues"} 
[2026-08-08 11:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 11:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786170503000,"timestamp_ms":1786170503000,"timestamp_seconds":1786170503,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00eef58"} 
[2026-08-08 11:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 11:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 11:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 11:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 11:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 11:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 11:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 11:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 11:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 11:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 11:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 11:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 11:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259646976001,"66":27626,"35":206,"28":32256,"24":56,"16":375254801639800832,"45":180495858905255936},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 11:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 11:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259646976001,"description":"Unknown IO ID 0"} 
[2026-08-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 11:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375254801639800832,"km_value":375254801639800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 11:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":180495858905255936,"description":"Unknown IO ID 45"} 
[2026-08-08 11:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259646976001,"power":27626,"unknown_35":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":180495858905255936}} 
[2026-08-08 11:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":152932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 11:59:42] local.INFO: GPS data processed {"connection_id":152932,"processed":1,"errors":0,"total":1} 
[2026-08-08 11:59:42] local.INFO: Acknowledgment sent {"connection_id":152932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:00:09] local.INFO: TCP Data received {"connection_id":152933,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00fd5d0012d1858400721d8f80052006323..."} 
[2026-08-08 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00fd5d0012d1858400721d8f80052006323..."} 
[2026-08-08 12:00:09] local.INFO: Processing buffer {"connection_id":152933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00fd5d0012d1858400721d8f80052006323..."} 
[2026-08-08 12:00:09] local.INFO: Packet analysis {"connection_id":152933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:09] local.INFO: Extracted packet for processing {"connection_id":152933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":756570176,"raw_latitude":119658744,"longitude_deg":75.6570176,"latitude_deg":11.9658744,"altitude":82,"angle":99,"satellites":35,"speed":20,"hex_longitude":"2d185840","hex_latitude":"0721d8f8","is_valid_coordinates":true} 
[2026-08-08 12:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259663360001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11363624471756800,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753237291819210752,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00: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-08-08 12:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786170562000,"timestamp_ms":1786170562000,"timestamp_seconds":1786170562,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00fd5d0"} 
[2026-08-08 12:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 12:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259663360001,"66":14483,"120":206,"28":31744,"24":20,"16":11363624471756800,"45":1753237291819210752},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259663360001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:00:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11363624471756800,"km_value":11363624471756.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753237291819210752,"description":"Unknown IO ID 45"} 
[2026-08-08 12:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259663360001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1753237291819210752}} 
[2026-08-08 12:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":152933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:00:09] local.INFO: GPS data processed {"connection_id":152933,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:00:09] local.INFO: Acknowledgment sent {"connection_id":152933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:00:10] local.INFO: TCP Data received {"connection_id":151450,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:10] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:10] local.INFO: IMEI packet received {"connection_id":151450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":151450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:00:12] local.INFO: TCP Data received {"connection_id":151450,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:12] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:12] local.INFO: IMEI packet received {"connection_id":151450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":151450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:00:15] local.INFO: TCP Data received {"connection_id":151450,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:15] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:00:15] local.INFO: IMEI packet received {"connection_id":151450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":151450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:00:17] local.INFO: TCP Data received {"connection_id":151450,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00f0ab0012d0269400701c360000b01562b..."} 
[2026-08-08 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00f0ab0012d0269400701c360000b01562b..."} 
[2026-08-08 12:00:17] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00f0ab0012d0269400701c360000b01562b..."} 
[2026-08-08 12:00:17] local.INFO: Packet analysis {"connection_id":151450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:17] local.INFO: Extracted packet for processing {"connection_id":151450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":755132736,"raw_latitude":117556064,"longitude_deg":75.5132736,"latitude_deg":11.7556064,"altitude":11,"angle":342,"satellites":43,"speed":58,"hex_longitude":"2d026940","hex_latitude":"0701c360","is_valid_coordinates":true} 
[2026-08-08 12:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259648768001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375255295561039872,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":177188527931230208,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786170510000,"timestamp_ms":1786170510000,"timestamp_seconds":1786170510,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00f0ab0"} 
[2026-08-08 12:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-08 12:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259648768001,"66":27930,"35":206,"28":32256,"24":58,"16":375255295561039872,"45":177188527931230208},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 12:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259648768001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:00:17] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 12:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375255295561039872,"km_value":375255295561039.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":177188527931230208,"description":"Unknown IO ID 45"} 
[2026-08-08 12:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259648768001,"power":27930,"unknown_35":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":177188527931230208}} 
[2026-08-08 12:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":151450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:00:17] local.INFO: GPS data processed {"connection_id":151450,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:00:17] local.INFO: Acknowledgment sent {"connection_id":151450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:00:20] local.INFO: TCP Data received {"connection_id":151450,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00f2608012d025d000701e8d0000c01562a..."} 
[2026-08-08 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00f2608012d025d000701e8d0000c01562a..."} 
[2026-08-08 12:00:20] local.INFO: Processing buffer {"connection_id":151450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00f2608012d025d000701e8d0000c01562a..."} 
[2026-08-08 12:00:20] local.INFO: Packet analysis {"connection_id":151450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:20] local.INFO: Extracted packet for processing {"connection_id":151450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":755129600,"raw_latitude":117565648,"longitude_deg":75.51296,"latitude_deg":11.7565648,"altitude":12,"angle":342,"satellites":42,"speed":56,"hex_longitude":"2d025d00","hex_latitude":"0701e8d0","is_valid_coordinates":true} 
[2026-08-08 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259650560001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375255780892344320,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":173740459469004800,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786170517000,"timestamp_ms":1786170517000,"timestamp_seconds":1786170517,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00f2608"} 
[2026-08-08 12:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259650560001,"66":27995,"35":206,"28":32256,"24":56,"16":375255780892344320,"45":173740459469004800},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-08-08 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259650560001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375255780892344320,"km_value":375255780892344.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":173740459469004800,"description":"Unknown IO ID 45"} 
[2026-08-08 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259650560001,"power":27995,"unknown_35":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":173740459469004800}} 
[2026-08-08 12:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":151450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:00:20] local.INFO: GPS data processed {"connection_id":151450,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:00:20] local.INFO: Acknowledgment sent {"connection_id":151450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:00:31] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:00:31] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:00:31] local.INFO: IMEI packet received {"connection_id":150495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":150495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:00:36] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:00:36] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:00:36] local.INFO: IMEI packet received {"connection_id":150495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:00:37] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00fdda0012d185c800721d8c80052005423..."} 
[2026-08-08 12:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00fdda0012d185c800721d8c80052005423..."} 
[2026-08-08 12:00:37] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00fdda0012d185c800721d8c80052005423..."} 
[2026-08-08 12:00:37] local.INFO: Packet analysis {"connection_id":150495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:37] local.INFO: Extracted packet for processing {"connection_id":150495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119658696,"longitude_deg":75.6571264,"latitude_deg":11.9658696,"altitude":82,"angle":84,"satellites":35,"speed":21,"hex_longitude":"2d185c80","hex_latitude":"0721d8c8","is_valid_coordinates":true} 
[2026-08-08 12:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259663872001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11363676011364352,"note":"Value kept but may cause issues"} 
[2026-08-08 12:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454237624320,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786170564000,"timestamp_ms":1786170564000,"timestamp_seconds":1786170564,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00fdda0"} 
[2026-08-08 12:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:00: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-08-08 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 12:00: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-08-08 12:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259663872001,"66":14374,"120":206,"28":31744,"24":21,"16":11363676011364352,"45":1754222454237624320},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259663872001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:00:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11363676011364352,"km_value":11363676011364.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454237624320,"description":"Unknown IO ID 45"} 
[2026-08-08 12:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259663872001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1754222454237624320}} 
[2026-08-08 12:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":150495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:00:37] local.INFO: GPS data processed {"connection_id":150495,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:00:37] local.INFO: Acknowledgment sent {"connection_id":150495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:01:05] local.INFO: TCP Data received {"connection_id":150225,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:05] local.INFO: Processing buffer {"connection_id":150225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:05] local.INFO: IMEI packet received {"connection_id":150225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":150225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:01:06] local.INFO: TCP Data received {"connection_id":150225,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:06] local.INFO: Processing buffer {"connection_id":150225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:06] local.INFO: IMEI packet received {"connection_id":150225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":150225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:01:09] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe00fe570012d1861000721d9b80053004323..."} 
[2026-08-08 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe00fe570012d1861000721d9b80053004323..."} 
[2026-08-08 12:01:09] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe00fe570012d1861000721d9b80053004323..."} 
[2026-08-08 12:01:09] local.INFO: Packet analysis {"connection_id":150495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:01:09] local.INFO: Extracted packet for processing {"connection_id":150495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe00f"} 
[2026-08-08 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756572416,"raw_latitude":119658936,"longitude_deg":75.6572416,"latitude_deg":11.9658936,"altitude":83,"angle":67,"satellites":35,"speed":23,"hex_longitude":"2d186100","hex_latitude":"0721d9b8","is_valid_coordinates":true} 
[2026-08-08 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259664384001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11363731845939200,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722888632320,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01: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-08-08 12:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786170566000,"timestamp_ms":1786170566000,"timestamp_seconds":1786170566,"priority":1,"record_length":96,"hex_timestamp":"0000019fe00fe570"} 
[2026-08-08 12:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 12:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259664384001,"66":13852,"120":206,"28":31744,"24":23,"16":11363731845939200,"45":1755418722888632320},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259664384001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11363731845939200,"km_value":11363731845939.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722888632320,"description":"Unknown IO ID 45"} 
[2026-08-08 12:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259664384001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1755418722888632320}} 
[2026-08-08 12:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":150495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:01:09] local.INFO: GPS data processed {"connection_id":150495,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:01:09] local.INFO: Acknowledgment sent {"connection_id":150495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:01:10] local.INFO: TCP Data received {"connection_id":150225,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:10] local.INFO: Processing buffer {"connection_id":150225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:01:10] local.INFO: IMEI packet received {"connection_id":150225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":150225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:01:12] local.INFO: TCP Data received {"connection_id":150225,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0106270012d01948007036ba8000d01262b..."} 
[2026-08-08 12:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0106270012d01948007036ba8000d01262b..."} 
[2026-08-08 12:01:12] local.INFO: Processing buffer {"connection_id":150225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0106270012d01948007036ba8000d01262b..."} 
[2026-08-08 12:01:12] local.INFO: Packet analysis {"connection_id":150225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:12] local.INFO: Extracted packet for processing {"connection_id":150225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":755078272,"raw_latitude":117664680,"longitude_deg":75.5078272,"latitude_deg":11.766468,"altitude":13,"angle":294,"satellites":43,"speed":62,"hex_longitude":"2d019480","hex_latitude":"07036ba8","is_valid_coordinates":true} 
[2026-08-08 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259671552001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375261334285058048,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":123004594943498240,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786170598000,"timestamp_ms":1786170598000,"timestamp_seconds":1786170598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0106270"} 
[2026-08-08 12:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 12:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259671552001,"66":27908,"53":206,"28":32256,"24":62,"16":375261334285058048,"45":123004594943498240},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-08-08 12:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259671552001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:01:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 12:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375261334285058048,"km_value":375261334285058.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":123004594943498240,"description":"Unknown IO ID 45"} 
[2026-08-08 12:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259671552001,"power":27908,"unknown_53":206,"unknown_28":32256,"ignition":62,"odometer":null,"unknown_45":123004594943498240}} 
[2026-08-08 12:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":150225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:01:12] local.INFO: GPS data processed {"connection_id":150225,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:01:12] local.INFO: Acknowledgment sent {"connection_id":150225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:01:32] local.INFO: TCP Data received {"connection_id":150496,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:32] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:32] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:01:36] local.INFO: TCP Data received {"connection_id":150496,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:36] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:36] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:01:37] local.INFO: TCP Data received {"connection_id":150496,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:37] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:37] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:01:41] local.INFO: TCP Data received {"connection_id":150496,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:41] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:01:41] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:01:42] local.INFO: TCP Data received {"connection_id":150496,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe010ef10012d1871000721e0d8005400ca24..."} 
[2026-08-08 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe010ef10012d1871000721e0d8005400ca24..."} 
[2026-08-08 12:01:42] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe010ef10012d1871000721e0d8005400ca24..."} 
[2026-08-08 12:01:42] local.INFO: Packet analysis {"connection_id":150496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:42] local.INFO: Extracted packet for processing {"connection_id":150496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756576512,"raw_latitude":119660760,"longitude_deg":75.6576512,"latitude_deg":11.966076,"altitude":84,"angle":202,"satellites":36,"speed":5,"hex_longitude":"2d187100","hex_latitude":"0721e0d8","is_valid_coordinates":true} 
[2026-08-08 12:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259681792001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364041083584512,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761400066144352256,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01: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-08-08 12:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786170634000,"timestamp_ms":1786170634000,"timestamp_seconds":1786170634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe010ef10"} 
[2026-08-08 12:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 12:01: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-08-08 12:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259681792001,"66":14461,"120":206,"28":31744,"24":5,"16":11364041083584512,"45":1761400066144352256},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259681792001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:01:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364041083584512,"km_value":11364041083584.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761400066144352256,"description":"Unknown IO ID 45"} 
[2026-08-08 12:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259681792001,"power":14461,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1761400066144352256}} 
[2026-08-08 12:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":150496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:01:42] local.INFO: GPS data processed {"connection_id":150496,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:01:42] local.INFO: Acknowledgment sent {"connection_id":150496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:01:45] local.INFO: TCP Data received {"connection_id":150225,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01079e0012d01738007037848000e01212a..."} 
[2026-08-08 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01079e0012d01738007037848000e01212a..."} 
[2026-08-08 12:01:45] local.INFO: Processing buffer {"connection_id":150225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01079e0012d01738007037848000e01212a..."} 
[2026-08-08 12:01:45] local.INFO: Packet analysis {"connection_id":150225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:45] local.INFO: Extracted packet for processing {"connection_id":150225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:45] local.INFO: GPS Element Parsed {"raw_longitude":755069824,"raw_latitude":117667912,"longitude_deg":75.5069824,"latitude_deg":11.7667912,"altitude":14,"angle":289,"satellites":42,"speed":56,"hex_longitude":"2d017380","hex_latitude":"07037848","is_valid_coordinates":true} 
[2026-08-08 12:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259673088001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375261763781787648,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":113856658201618432,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786170604000,"timestamp_ms":1786170604000,"timestamp_seconds":1786170604,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01079e0"} 
[2026-08-08 12:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:01: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-08-08 12:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259673088001,"66":27930,"53":206,"28":32256,"24":56,"16":375261763781787648,"45":113856658201618432},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-08-08 12:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259673088001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:01:45] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 12:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375261763781787648,"km_value":375261763781787.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":113856658201618432,"description":"Unknown IO ID 45"} 
[2026-08-08 12:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259673088001,"power":27930,"unknown_53":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":113856658201618432}} 
[2026-08-08 12:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":150225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:01:45] local.INFO: GPS data processed {"connection_id":150225,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:01:45] local.INFO: Acknowledgment sent {"connection_id":150225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:01:46] local.INFO: TCP Data received {"connection_id":150496,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe010fac8012d1870000721dee8005400e924..."} 
[2026-08-08 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe010fac8012d1870000721dee8005400e924..."} 
[2026-08-08 12:01:46] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe010fac8012d1870000721dee8005400e924..."} 
[2026-08-08 12:01:46] local.INFO: Packet analysis {"connection_id":150496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:46] local.INFO: Extracted packet for processing {"connection_id":150496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119660264,"longitude_deg":75.6576256,"latitude_deg":11.9660264,"altitude":84,"angle":233,"satellites":36,"speed":7,"hex_longitude":"2d187000","hex_latitude":"0721dee8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259682304001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364066853388288,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761188959911729152,"note":"Value kept but may cause issues"} 
[2026-08-08 12:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786170637000,"timestamp_ms":1786170637000,"timestamp_seconds":1786170637,"priority":1,"record_length":96,"hex_timestamp":"0000019fe010fac8"} 
[2026-08-08 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-08-08 12:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 12:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259682304001,"66":14428,"120":206,"28":31744,"24":7,"16":11364066853388288,"45":1761188959911729152},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259682304001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:01:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364066853388288,"km_value":11364066853388.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761188959911729152,"description":"Unknown IO ID 45"} 
[2026-08-08 12:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259682304001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1761188959911729152}} 
[2026-08-08 12:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":150496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:01:46] local.INFO: GPS data processed {"connection_id":150496,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:01:46] local.INFO: Acknowledgment sent {"connection_id":150496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:02:05] local.INFO: TCP Data received {"connection_id":150226,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:02:05] local.INFO: Processing buffer {"connection_id":150226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:02:05] local.INFO: IMEI packet received {"connection_id":150226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":150226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:02:10] local.INFO: TCP Data received {"connection_id":150226,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:02:10] local.INFO: Processing buffer {"connection_id":150226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:02:10] local.INFO: IMEI packet received {"connection_id":150226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":150226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:02:11] local.INFO: TCP Data received {"connection_id":150226,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0109538012d0150c0070383500011011f29..."} 
[2026-08-08 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0109538012d0150c0070383500011011f29..."} 
[2026-08-08 12:02:11] local.INFO: Processing buffer {"connection_id":150226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0109538012d0150c0070383500011011f29..."} 
[2026-08-08 12:02:11] local.INFO: Packet analysis {"connection_id":150226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:02:11] local.INFO: Extracted packet for processing {"connection_id":150226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe010"} 
[2026-08-08 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":755060928,"raw_latitude":117670736,"longitude_deg":75.5060928,"latitude_deg":11.7670736,"altitude":17,"angle":287,"satellites":41,"speed":48,"hex_longitude":"2d0150c0","hex_latitude":"07038350","is_valid_coordinates":true} 
[2026-08-08 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259674624001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375262206163419136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":104567983970994176,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786170611000,"timestamp_ms":1786170611000,"timestamp_seconds":1786170611,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0109538"} 
[2026-08-08 12:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259674624001,"66":27995,"53":206,"28":32256,"24":48,"16":375262206163419136,"45":104567983970994176},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-08-08 12:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259674624001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:02:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 12:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375262206163419136,"km_value":375262206163419.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":104567983970994176,"description":"Unknown IO ID 45"} 
[2026-08-08 12:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259674624001,"power":27995,"unknown_53":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":104567983970994176}} 
[2026-08-08 12:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":150226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:02:11] local.INFO: GPS data processed {"connection_id":150226,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:02:11] local.INFO: Acknowledgment sent {"connection_id":150226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:02:31] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:02:31] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:02:31] local.INFO: IMEI packet received {"connection_id":152934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":152934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:02:36] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:02:36] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:02:36] local.INFO: IMEI packet received {"connection_id":152934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":152934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:02:37] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0119af0012d1848c00721eb78004d001823..."} 
[2026-08-08 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0119af0012d1848c00721eb78004d001823..."} 
[2026-08-08 12:02:37] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0119af0012d1848c00721eb78004d001823..."} 
[2026-08-08 12:02:37] local.INFO: Packet analysis {"connection_id":152934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:02:37] local.INFO: Extracted packet for processing {"connection_id":152934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756566208,"raw_latitude":119663480,"longitude_deg":75.6566208,"latitude_deg":11.966348,"altitude":77,"angle":24,"satellites":35,"speed":18,"hex_longitude":"2d1848c0","hex_latitude":"0721eb78","is_valid_coordinates":true} 
[2026-08-08 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259693056001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364715393449984,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749648485867112448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02: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-08-08 12:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786170678000,"timestamp_ms":1786170678000,"timestamp_seconds":1786170678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0119af0"} 
[2026-08-08 12:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:02: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-08-08 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 12:02: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-08-08 12:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259693056001,"66":14048,"120":206,"28":31744,"24":18,"16":11364715393449984,"45":1749648485867112448},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259693056001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364715393449984,"km_value":11364715393449.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749648485867112448,"description":"Unknown IO ID 45"} 
[2026-08-08 12:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259693056001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1749648485867112448}} 
[2026-08-08 12:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":152934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:02:37] local.INFO: GPS data processed {"connection_id":152934,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:02:37] local.INFO: Acknowledgment sent {"connection_id":152934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:02:42] local.INFO: TCP Data received {"connection_id":150226,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe011cdb8012cffcb00070410580010012126..."} 
[2026-08-08 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe011cdb8012cffcb00070410580010012126..."} 
[2026-08-08 12:02:42] local.INFO: Processing buffer {"connection_id":150226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe011cdb8012cffcb00070410580010012126..."} 
[2026-08-08 12:02:42] local.INFO: Packet analysis {"connection_id":150226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:02:42] local.INFO: Extracted packet for processing {"connection_id":150226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":754961152,"raw_latitude":117706840,"longitude_deg":75.4961152,"latitude_deg":11.770684,"altitude":16,"angle":289,"satellites":38,"speed":51,"hex_longitude":"2cffcb00","hex_latitude":"07041058","is_valid_coordinates":true} 
[2026-08-08 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259695104001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375267257044959232,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4996150704506880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786170691000,"timestamp_ms":1786170691000,"timestamp_seconds":1786170691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe011cdb8"} 
[2026-08-08 12:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 12:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259695104001,"66":27865,"52":206,"28":32256,"24":51,"16":375267257044959232,"44":-4996150704506880},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,28,24,16,44]} 
[2026-08-08 12:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259695104001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:02:42] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 12:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375267257044959232,"km_value":375267257044959.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4996150704506880,"description":"Unknown IO ID 44"} 
[2026-08-08 12:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259695104001,"power":27865,"unknown_52":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_44":-4996150704506880}} 
[2026-08-08 12:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":150226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:02:42] local.INFO: GPS data processed {"connection_id":150226,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:02:42] local.INFO: Acknowledgment sent {"connection_id":150226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:03:05] local.INFO: TCP Data received {"connection_id":151451,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:05] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:05] local.INFO: IMEI packet received {"connection_id":151451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":151451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:03:08] local.INFO: TCP Data received {"connection_id":152934,"ip":"117.224.188.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe011be18012d1854c00721fe50004f002323..."} 
[2026-08-08 12:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe011be18012d1854c00721fe50004f002323..."} 
[2026-08-08 12:03:08] local.INFO: Processing buffer {"connection_id":152934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe011be18012d1854c00721fe50004f002323..."} 
[2026-08-08 12:03:08] local.INFO: Packet analysis {"connection_id":152934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:03:08] local.INFO: Extracted packet for processing {"connection_id":152934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756569280,"raw_latitude":119668304,"longitude_deg":75.656928,"latitude_deg":11.9668304,"altitude":79,"angle":35,"satellites":35,"speed":29,"hex_longitude":"2d1854c0","hex_latitude":"0721fe50","is_valid_coordinates":true} 
[2026-08-08 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259693568001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11364990271356928,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749859592099821568,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03: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-08-08 12:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786170687000,"timestamp_ms":1786170687000,"timestamp_seconds":1786170687,"priority":1,"record_length":96,"hex_timestamp":"0000019fe011be18"} 
[2026-08-08 12:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 12:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.188.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259693568001,"66":13993,"120":206,"28":31744,"24":29,"16":11364990271356928,"45":1749859592099821568},"client_ip":"117.224.188.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259693568001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:03:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11364990271356928,"km_value":11364990271356.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749859592099821568,"description":"Unknown IO ID 45"} 
[2026-08-08 12:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259693568001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1749859592099821568}} 
[2026-08-08 12:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":152934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:03:08] local.INFO: GPS data processed {"connection_id":152934,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:03:08] local.INFO: Acknowledgment sent {"connection_id":152934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:03:09] local.INFO: TCP Data received {"connection_id":151451,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:09] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:09] local.INFO: IMEI packet received {"connection_id":151451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":151451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:03:10] local.INFO: TCP Data received {"connection_id":151451,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:10] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:03:10] local.INFO: IMEI packet received {"connection_id":151451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":151451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:03:11] local.INFO: TCP Data received {"connection_id":151451,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe011ecf8012cffa5c007041d680010012126..."} 
[2026-08-08 12:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe011ecf8012cffa5c007041d680010012126..."} 
[2026-08-08 12:03:11] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe011ecf8012cffa5c007041d680010012126..."} 
[2026-08-08 12:03:11] local.INFO: Packet analysis {"connection_id":151451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:03:11] local.INFO: Extracted packet for processing {"connection_id":151451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe011"} 
[2026-08-08 12:03:11] local.INFO: GPS Element Parsed {"raw_longitude":754951616,"raw_latitude":117710184,"longitude_deg":75.4951616,"latitude_deg":11.7710184,"altitude":16,"angle":289,"satellites":38,"speed":47,"hex_longitude":"2cffa5c0","hex_latitude":"07041d68","is_valid_coordinates":true} 
[2026-08-08 12:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375267738081296384,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-14918143632713728,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786170699000,"timestamp_ms":1786170699000,"timestamp_seconds":1786170699,"priority":1,"record_length":96,"hex_timestamp":"0000019fe011ecf8"} 
[2026-08-08 12:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259696896001,"66":27930,"55":206,"28":32256,"24":47,"16":375267738081296384,"44":-14918143632713728},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 12:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:03:11] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 12:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375267738081296384,"km_value":375267738081296.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-14918143632713728,"description":"Unknown IO ID 44"} 
[2026-08-08 12:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259696896001,"power":27930,"unknown_55":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-14918143632713728}} 
[2026-08-08 12:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":151451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:03:11] local.INFO: GPS data processed {"connection_id":151451,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:03:11] local.INFO: Acknowledgment sent {"connection_id":151451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:03:16] local.INFO: TCP Data received {"connection_id":151451,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0121020012cff814007042ac00012012226..."} 
[2026-08-08 12:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0121020012cff814007042ac00012012226..."} 
[2026-08-08 12:03:16] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0121020012cff814007042ac00012012226..."} 
[2026-08-08 12:03:16] local.INFO: Packet analysis {"connection_id":151451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe012"} 
[2026-08-08 12:03:16] local.INFO: Extracted packet for processing {"connection_id":151451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe012"} 
[2026-08-08 12:03:16] local.INFO: GPS Element Parsed {"raw_longitude":754942272,"raw_latitude":117713600,"longitude_deg":75.4942272,"latitude_deg":11.77136,"altitude":18,"angle":290,"satellites":38,"speed":37,"hex_longitude":"2cff8140","hex_latitude":"07042ac0","is_valid_coordinates":true} 
[2026-08-08 12:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259698944001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375268210527698944,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-25403086514329600,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786170708000,"timestamp_ms":1786170708000,"timestamp_seconds":1786170708,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0121020"} 
[2026-08-08 12:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259698944001,"66":27821,"55":206,"28":32256,"24":37,"16":375268210527698944,"44":-25403086514329600},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 12:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259698944001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:03:16] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 12:03:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375268210527698944,"km_value":375268210527698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-25403086514329600,"description":"Unknown IO ID 44"} 
[2026-08-08 12:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259698944001,"power":27821,"unknown_55":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-25403086514329600}} 
[2026-08-08 12:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":151451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:03:16] local.INFO: GPS data processed {"connection_id":151451,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:03:16] local.INFO: Acknowledgment sent {"connection_id":151451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:03:33] local.INFO: TCP Data received {"connection_id":150227,"ip":"117.224.188.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:03:33] local.INFO: Processing buffer {"connection_id":150227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:03:33] local.INFO: IMEI packet received {"connection_id":150227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":150227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:03:34] local.INFO: TCP Data received {"connection_id":150227,"ip":"117.224.188.30","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 12:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150227,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 12:03:34] local.INFO: Processing buffer {"connection_id":150227,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 12:03:34] local.INFO: IMEI packet received {"connection_id":150227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":150227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:03:48] local.INFO: TCP Data received {"connection_id":151451,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0126228012cff7200070430a00012012426..."} 
[2026-08-08 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0126228012cff7200070430a00012012426..."} 
[2026-08-08 12:03:48] local.INFO: Processing buffer {"connection_id":151451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0126228012cff7200070430a00012012426..."} 
[2026-08-08 12:03:48] local.INFO: Packet analysis {"connection_id":151451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe012"} 
[2026-08-08 12:03:48] local.INFO: Extracted packet for processing {"connection_id":151451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe012"} 
[2026-08-08 12:03:48] local.INFO: GPS Element Parsed {"raw_longitude":754938368,"raw_latitude":117715104,"longitude_deg":75.4938368,"latitude_deg":11.7715104,"altitude":18,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2cff7200","hex_latitude":"070430a0","is_valid_coordinates":true} 
[2026-08-08 12:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259701248001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375268412391161856,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-35676923163394048,"note":"Value kept but may cause issues"} 
[2026-08-08 12:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786170729000,"timestamp_ms":1786170729000,"timestamp_seconds":1786170729,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0126228"} 
[2026-08-08 12:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:03: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-08-08 12:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 12:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259701248001,"66":27995,"55":206,"28":32256,"24":0,"16":375268412391161856,"44":-35676923163394048},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 12:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259701248001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:03:48] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 12:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375268412391161856,"km_value":375268412391161.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:03:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-35676923163394048,"description":"Unknown IO ID 44"} 
[2026-08-08 12:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259701248001,"power":27995,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-35676923163394048}} 
[2026-08-08 12:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":151451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:03:48] local.INFO: GPS data processed {"connection_id":151451,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:03:48] local.INFO: Acknowledgment sent {"connection_id":151451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:04:05] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:05] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:05] local.INFO: IMEI packet received {"connection_id":150497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":150497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:04:06] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:06] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:06] local.INFO: IMEI packet received {"connection_id":150497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":150497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:04:10] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:10] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:04:10] local.INFO: IMEI packet received {"connection_id":150497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":150497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:04:12] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe012b430012cff7200070430a00012012425..."} 
[2026-08-08 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe012b430012cff7200070430a00012012425..."} 
[2026-08-08 12:04:12] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe012b430012cff7200070430a00012012425..."} 
[2026-08-08 12:04:12] local.INFO: Packet analysis {"connection_id":150497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe012"} 
[2026-08-08 12:04:12] local.INFO: Extracted packet for processing {"connection_id":150497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe012"} 
[2026-08-08 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":754938368,"raw_latitude":117715104,"longitude_deg":75.4938368,"latitude_deg":11.7715104,"altitude":18,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2cff7200","hex_latitude":"070430a0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259706624001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375268412391161856,"note":"Value kept but may cause issues"} 
[2026-08-08 12:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-39969416557846528,"note":"Value kept but may cause issues"} 
[2026-08-08 12:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786170750000,"timestamp_ms":1786170750000,"timestamp_seconds":1786170750,"priority":1,"record_length":96,"hex_timestamp":"0000019fe012b430"} 
[2026-08-08 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-08-08 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259706624001,"66":27821,"55":206,"28":32256,"24":0,"16":375268412391161856,"44":-39969416557846528},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 12:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259706624001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:04:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 12:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375268412391161856,"km_value":375268412391161.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-39969416557846528,"description":"Unknown IO ID 44"} 
[2026-08-08 12:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259706624001,"power":27821,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-39969416557846528}} 
[2026-08-08 12:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":150497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:04:12] local.INFO: GPS data processed {"connection_id":150497,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:04:12] local.INFO: Acknowledgment sent {"connection_id":150497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:04:43] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0130638012cff6d80070430c00012012429..."} 
[2026-08-08 12:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0130638012cff6d80070430c00012012429..."} 
[2026-08-08 12:04:43] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0130638012cff6d80070430c00012012429..."} 
[2026-08-08 12:04:43] local.INFO: Packet analysis {"connection_id":150497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe013"} 
[2026-08-08 12:04:43] local.INFO: Extracted packet for processing {"connection_id":150497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe013"} 
[2026-08-08 12:04:43] local.INFO: GPS Element Parsed {"raw_longitude":754937216,"raw_latitude":117715136,"longitude_deg":75.4937216,"latitude_deg":11.7715136,"altitude":18,"angle":292,"satellites":41,"speed":4,"hex_longitude":"2cff6d80","hex_latitude":"070430c0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259712000001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375268468225736704,"note":"Value kept but may cause issues"} 
[2026-08-08 12:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-39969416557846528,"note":"Value kept but may cause issues"} 
[2026-08-08 12:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786170771000,"timestamp_ms":1786170771000,"timestamp_seconds":1786170771,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0130638"} 
[2026-08-08 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-08-08 12:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 12:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259712000001,"66":28006,"55":206,"28":32256,"24":4,"16":375268468225736704,"44":-39969416557846528},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-08-08 12:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259712000001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:04:43] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 12:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375268468225736704,"km_value":375268468225736.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-39969416557846528,"description":"Unknown IO ID 44"} 
[2026-08-08 12:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259712000001,"power":28006,"unknown_55":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_44":-39969416557846528}} 
[2026-08-08 12:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":150497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:04:43] local.INFO: GPS data processed {"connection_id":150497,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:04:43] local.INFO: Acknowledgment sent {"connection_id":150497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:05:07] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:07] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:07] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:05:10] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:10] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:10] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:05:14] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:14] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:05:14] local.INFO: IMEI packet received {"connection_id":152935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":152935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:05:15] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0135840012cff5e00070435d80010012424..."} 
[2026-08-08 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0135840012cff5e00070435d80010012424..."} 
[2026-08-08 12:05:15] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0135840012cff5e00070435d80010012424..."} 
[2026-08-08 12:05:15] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe013"} 
[2026-08-08 12:05:15] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe013"} 
[2026-08-08 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":754933248,"raw_latitude":117716440,"longitude_deg":75.4933248,"latitude_deg":11.771644,"altitude":16,"angle":292,"satellites":36,"speed":17,"hex_longitude":"2cff5e00","hex_latitude":"070435d8","is_valid_coordinates":true} 
[2026-08-08 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259717376001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375268670089199616,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41236053953036288,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786170792000,"timestamp_ms":1786170792000,"timestamp_seconds":1786170792,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0135840"} 
[2026-08-08 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 12:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259717376001,"66":27995,"165":206,"28":32256,"24":17,"16":375268670089199616,"44":-41236053953036288},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259717376001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:05:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375268670089199616,"km_value":375268670089199.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41236053953036288,"description":"Unknown IO ID 44"} 
[2026-08-08 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259717376001,"power":27995,"unknown_165":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_44":-41236053953036288}} 
[2026-08-08 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:05:15] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:05:15] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:05:17] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01392d8012cff3a80070444480013012324..."} 
[2026-08-08 12:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01392d8012cff3a80070444480013012324..."} 
[2026-08-08 12:05:17] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01392d8012cff3a80070444480013012324..."} 
[2026-08-08 12:05:17] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe013"} 
[2026-08-08 12:05:17] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe013"} 
[2026-08-08 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":754924160,"raw_latitude":117720136,"longitude_deg":75.492416,"latitude_deg":11.7720136,"altitude":19,"angle":291,"satellites":36,"speed":29,"hex_longitude":"2cff3a80","hex_latitude":"07044448","is_valid_coordinates":true} 
[2026-08-08 12:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259722752001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375269138240634880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-45598916091717632,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786170807000,"timestamp_ms":1786170807000,"timestamp_seconds":1786170807,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01392d8"} 
[2026-08-08 12:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259722752001,"66":27593,"165":206,"28":32256,"24":29,"16":375269138240634880,"44":-45598916091717632},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259722752001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:05:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375269138240634880,"km_value":375269138240634.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:05:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-45598916091717632,"description":"Unknown IO ID 44"} 
[2026-08-08 12:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259722752001,"power":27593,"unknown_165":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-45598916091717632}} 
[2026-08-08 12:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:05:17] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:05:17] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:05:49] local.INFO: TCP Data received {"connection_id":152935,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe014d710012cfdebc007054358001001392c..."} 
[2026-08-08 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe014d710012cfdebc007054358001001392c..."} 
[2026-08-08 12:05:49] local.INFO: Processing buffer {"connection_id":152935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe014d710012cfdebc007054358001001392c..."} 
[2026-08-08 12:05:49] local.INFO: Packet analysis {"connection_id":152935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe014"} 
[2026-08-08 12:05:49] local.INFO: Extracted packet for processing {"connection_id":152935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe014"} 
[2026-08-08 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":754838464,"raw_latitude":117785432,"longitude_deg":75.4838464,"latitude_deg":11.7785432,"altitude":16,"angle":313,"satellites":44,"speed":53,"hex_longitude":"2cfdebc0","hex_latitude":"07054358","is_valid_coordinates":true} 
[2026-08-08 12:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259746048001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375274309381259264,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-142074464343261184,"note":"Value kept but may cause issues"} 
[2026-08-08 12:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786170890000,"timestamp_ms":1786170890000,"timestamp_seconds":1786170890,"priority":1,"record_length":96,"hex_timestamp":"0000019fe014d710"} 
[2026-08-08 12:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259746048001,"66":27930,"165":206,"28":32256,"24":53,"16":375274309381259264,"44":-142074464343261184},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259746048001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375274309381259264,"km_value":375274309381259.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-142074464343261184,"description":"Unknown IO ID 44"} 
[2026-08-08 12:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259746048001,"power":27930,"unknown_165":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_44":-142074464343261184}} 
[2026-08-08 12:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":152935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:05:49] local.INFO: GPS data processed {"connection_id":152935,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:05:49] local.INFO: Acknowledgment sent {"connection_id":152935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:06:01] local.INFO: TCP Data received {"connection_id":150498,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:01] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:01] local.INFO: IMEI packet received {"connection_id":150498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":150498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:06:05] local.INFO: TCP Data received {"connection_id":150498,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:05] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:05] local.INFO: IMEI packet received {"connection_id":150498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":150498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:06:07] local.INFO: TCP Data received {"connection_id":150498,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:07] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:06:07] local.INFO: IMEI packet received {"connection_id":150498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":150498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:06:09] local.INFO: TCP Data received {"connection_id":150498,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe014f268012cfdd00007055c58001001372d..."} 
[2026-08-08 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe014f268012cfdd00007055c58001001372d..."} 
[2026-08-08 12:06:09] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe014f268012cfdd00007055c58001001372d..."} 
[2026-08-08 12:06:09] local.INFO: Packet analysis {"connection_id":150498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe014"} 
[2026-08-08 12:06:09] local.INFO: Extracted packet for processing {"connection_id":150498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe014"} 
[2026-08-08 12:06:09] local.INFO: GPS Element Parsed {"raw_longitude":754831360,"raw_latitude":117791832,"longitude_deg":75.483136,"latitude_deg":11.7791832,"altitude":16,"angle":311,"satellites":45,"speed":55,"hex_longitude":"2cfdd000","hex_latitude":"07055c58","is_valid_coordinates":true} 
[2026-08-08 12:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259747840001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375274764647792640,"note":"Value kept but may cause issues"} 
[2026-08-08 12:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-149815026201176064,"note":"Value kept but may cause issues"} 
[2026-08-08 12:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786170897000,"timestamp_ms":1786170897000,"timestamp_seconds":1786170897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe014f268"} 
[2026-08-08 12:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:06: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-08-08 12:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259747840001,"66":27658,"165":206,"28":32256,"24":55,"16":375274764647792640,"44":-149815026201176064},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259747840001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375274764647792640,"km_value":375274764647792.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-149815026201176064,"description":"Unknown IO ID 44"} 
[2026-08-08 12:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259747840001,"power":27658,"unknown_165":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-149815026201176064}} 
[2026-08-08 12:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":150498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:06:09] local.INFO: GPS data processed {"connection_id":150498,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:06:09] local.INFO: Acknowledgment sent {"connection_id":150498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:06:40] local.INFO: TCP Data received {"connection_id":150498,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0150dc0012cfdb280070575c8000f01372d..."} 
[2026-08-08 12:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0150dc0012cfdb280070575c8000f01372d..."} 
[2026-08-08 12:06:40] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0150dc0012cfdb280070575c8000f01372d..."} 
[2026-08-08 12:06:40] local.INFO: Packet analysis {"connection_id":150498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe015"} 
[2026-08-08 12:06:40] local.INFO: Extracted packet for processing {"connection_id":150498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe015"} 
[2026-08-08 12:06:40] local.INFO: GPS Element Parsed {"raw_longitude":754823808,"raw_latitude":117798344,"longitude_deg":75.4823808,"latitude_deg":11.7798344,"altitude":15,"angle":311,"satellites":45,"speed":57,"hex_longitude":"2cfdb280","hex_latitude":"070575c8","is_valid_coordinates":true} 
[2026-08-08 12:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259749632001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375275245684129792,"note":"Value kept but may cause issues"} 
[2026-08-08 12:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-157625956803258368,"note":"Value kept but may cause issues"} 
[2026-08-08 12:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786170904000,"timestamp_ms":1786170904000,"timestamp_seconds":1786170904,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0150dc0"} 
[2026-08-08 12:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":10,"data_length":795,"current_offset":136} 
[2026-08-08 12:06: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-08-08 12:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259749632001,"66":27974,"165":206,"28":32256,"24":57,"16":375275245684129792,"44":-157625956803258368},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259749632001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:06:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:06:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375275245684129792,"km_value":375275245684129.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-157625956803258368,"description":"Unknown IO ID 44"} 
[2026-08-08 12:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259749632001,"power":27974,"unknown_165":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-157625956803258368}} 
[2026-08-08 12:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":150498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:06:40] local.INFO: GPS data processed {"connection_id":150498,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:06:40] local.INFO: Acknowledgment sent {"connection_id":150498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:07:06] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:07:06] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:07:06] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:07:07] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:07:07] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:07:07] local.INFO: IMEI packet received {"connection_id":152936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":152936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:07:08] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0162ae8012cfc62c007066ee8000d011e2a..."} 
[2026-08-08 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0162ae8012cfc62c007066ee8000d011e2a..."} 
[2026-08-08 12:07:08] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0162ae8012cfc62c007066ee8000d011e2a..."} 
[2026-08-08 12:07:08] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:07:08] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":754737856,"raw_latitude":117862120,"longitude_deg":75.4737856,"latitude_deg":11.786212,"altitude":13,"angle":286,"satellites":42,"speed":58,"hex_longitude":"2cfc62c0","hex_latitude":"07066ee8","is_valid_coordinates":true} 
[2026-08-08 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259768320001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375280408234819584,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-249879380403042304,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786170977000,"timestamp_ms":1786170977000,"timestamp_seconds":1786170977,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0162ae8"} 
[2026-08-08 12:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 12:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259768320001,"66":27995,"165":206,"28":32256,"24":58,"16":375280408234819584,"44":-249879380403042304},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259768320001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:07:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375280408234819584,"km_value":375280408234819.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-249879380403042304,"description":"Unknown IO ID 44"} 
[2026-08-08 12:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259768320001,"power":27995,"unknown_165":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-249879380403042304}} 
[2026-08-08 12:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:07:08] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:07:08] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:07:10] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0164258012cfc3f8007067738000a01172a..."} 
[2026-08-08 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0164258012cfc3f8007067738000a01172a..."} 
[2026-08-08 12:07:10] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0164258012cfc3f8007067738000a01172a..."} 
[2026-08-08 12:07:10] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:07:10] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":754728832,"raw_latitude":117864248,"longitude_deg":75.4728832,"latitude_deg":11.7864248,"altitude":10,"angle":279,"satellites":42,"speed":61,"hex_longitude":"2cfc3f80","hex_latitude":"07067738","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259770112001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375280846321483776,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-260434692028831744,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786170983000,"timestamp_ms":1786170983000,"timestamp_seconds":1786170983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0164258"} 
[2026-08-08 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-08-08 12:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259770112001,"66":28006,"165":206,"28":32256,"24":61,"16":375280846321483776,"44":-260434692028831744},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259770112001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:07:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375280846321483776,"km_value":375280846321483.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-260434692028831744,"description":"Unknown IO ID 44"} 
[2026-08-08 12:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259770112001,"power":28006,"unknown_165":206,"unknown_28":32256,"ignition":61,"odometer":null,"unknown_44":-260434692028831744}} 
[2026-08-08 12:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:07:11] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:07:11] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:07:43] local.INFO: TCP Data received {"connection_id":152936,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01659c8012cfc1b8007067c58000a011329..."} 
[2026-08-08 12:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01659c8012cfc1b8007067c58000a011329..."} 
[2026-08-08 12:07:43] local.INFO: Processing buffer {"connection_id":152936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01659c8012cfc1b8007067c58000a011329..."} 
[2026-08-08 12:07:43] local.INFO: Packet analysis {"connection_id":152936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:07:43] local.INFO: Extracted packet for processing {"connection_id":152936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:07:43] local.INFO: GPS Element Parsed {"raw_longitude":754719616,"raw_latitude":117865560,"longitude_deg":75.4719616,"latitude_deg":11.786556,"altitude":10,"angle":275,"satellites":41,"speed":59,"hex_longitude":"2cfc1b80","hex_latitude":"07067c58","is_valid_coordinates":true} 
[2026-08-08 12:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259771648001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375281288703115264,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-270356684957337600,"note":"Value kept but may cause issues"} 
[2026-08-08 12:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786170989000,"timestamp_ms":1786170989000,"timestamp_seconds":1786170989,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01659c8"} 
[2026-08-08 12:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 12:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259771648001,"66":27908,"165":206,"28":32256,"24":59,"16":375281288703115264,"44":-270356684957337600},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259771648001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:07:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375281288703115264,"km_value":375281288703115.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-270356684957337600,"description":"Unknown IO ID 44"} 
[2026-08-08 12:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259771648001,"power":27908,"unknown_165":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-270356684957337600}} 
[2026-08-08 12:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":152936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:07:43] local.INFO: GPS data processed {"connection_id":152936,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:07:43] local.INFO: Acknowledgment sent {"connection_id":152936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:08:05] local.INFO: TCP Data received {"connection_id":151455,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:05] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:05] local.INFO: IMEI packet received {"connection_id":151455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":151455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:08:06] local.INFO: TCP Data received {"connection_id":151455,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:06] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:06] local.INFO: IMEI packet received {"connection_id":151455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":151455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:08:10] local.INFO: TCP Data received {"connection_id":151455,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:10] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:08:10] local.INFO: IMEI packet received {"connection_id":151455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":151455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:08:12] local.INFO: TCP Data received {"connection_id":151455,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0167520012cfbf38007067fe8000c011228..."} 
[2026-08-08 12:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0167520012cfbf38007067fe8000c011228..."} 
[2026-08-08 12:08:12] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0167520012cfbf38007067fe8000c011228..."} 
[2026-08-08 12:08:12] local.INFO: Packet analysis {"connection_id":151455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:08:12] local.INFO: Extracted packet for processing {"connection_id":151455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:08:12] local.INFO: GPS Element Parsed {"raw_longitude":754709376,"raw_latitude":117866472,"longitude_deg":75.4709376,"latitude_deg":11.7866472,"altitude":12,"angle":274,"satellites":40,"speed":55,"hex_longitude":"2cfbf380","hex_latitude":"07067fe8","is_valid_coordinates":true} 
[2026-08-08 12:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259773184001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375281778329387008,"note":"Value kept but may cause issues"} 
[2026-08-08 12:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-280489784118585344,"note":"Value kept but may cause issues"} 
[2026-08-08 12:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786170996000,"timestamp_ms":1786170996000,"timestamp_seconds":1786170996,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0167520"} 
[2026-08-08 12:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259773184001,"66":27908,"166":206,"28":32256,"24":55,"16":375281778329387008,"44":-280489784118585344},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 12:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259773184001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:08:12] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 12:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375281778329387008,"km_value":375281778329387.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-280489784118585344,"description":"Unknown IO ID 44"} 
[2026-08-08 12:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259773184001,"power":27908,"unknown_166":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-280489784118585344}} 
[2026-08-08 12:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":151455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:08:12] local.INFO: GPS data processed {"connection_id":151455,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:08:12] local.INFO: Acknowledgment sent {"connection_id":151455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:08:44] local.INFO: TCP Data received {"connection_id":151455,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0169078012cfbce40070683480010011329..."} 
[2026-08-08 12:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0169078012cfbce40070683480010011329..."} 
[2026-08-08 12:08:44] local.INFO: Processing buffer {"connection_id":151455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0169078012cfbce40070683480010011329..."} 
[2026-08-08 12:08:44] local.INFO: Packet analysis {"connection_id":151455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:08:44] local.INFO: Extracted packet for processing {"connection_id":151455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe016"} 
[2026-08-08 12:08:44] local.INFO: GPS Element Parsed {"raw_longitude":754699840,"raw_latitude":117867336,"longitude_deg":75.469984,"latitude_deg":11.7867336,"altitude":16,"angle":275,"satellites":41,"speed":51,"hex_longitude":"2cfbce40","hex_latitude":"07068348","is_valid_coordinates":true} 
[2026-08-08 12:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259774976001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375282229300953088,"note":"Value kept but may cause issues"} 
[2026-08-08 12:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-291748783186778112,"note":"Value kept but may cause issues"} 
[2026-08-08 12:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786171003000,"timestamp_ms":1786171003000,"timestamp_seconds":1786171003,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0169078"} 
[2026-08-08 12:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259774976001,"66":27995,"166":206,"28":32256,"24":51,"16":375282229300953088,"44":-291748783186778112},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 12:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259774976001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:08:44] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 12:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375282229300953088,"km_value":375282229300953.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-291748783186778112,"description":"Unknown IO ID 44"} 
[2026-08-08 12:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259774976001,"power":27995,"unknown_166":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_44":-291748783186778112}} 
[2026-08-08 12:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":151455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:08:44] local.INFO: GPS data processed {"connection_id":151455,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:08:44] local.INFO: Acknowledgment sent {"connection_id":151455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:09:05] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:05] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:05] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:09:06] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:06] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:06] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:09:10] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:10] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:09:10] local.INFO: IMEI packet received {"connection_id":152937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":152937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:09:11] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe017c128012cfa2c800706ac70000a011429..."} 
[2026-08-08 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe017c128012cfa2c800706ac70000a011429..."} 
[2026-08-08 12:09:11] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe017c128012cfa2c800706ac70000a011429..."} 
[2026-08-08 12:09:11] local.INFO: Packet analysis {"connection_id":152937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe017"} 
[2026-08-08 12:09:11] local.INFO: Extracted packet for processing {"connection_id":152937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe017"} 
[2026-08-08 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":754592896,"raw_latitude":117877872,"longitude_deg":75.4592896,"latitude_deg":11.7877872,"altitude":10,"angle":276,"satellites":41,"speed":63,"hex_longitude":"2cfa2c80","hex_latitude":"0706ac70","is_valid_coordinates":true} 
[2026-08-08 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259795200001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375287331722100736,"note":"Value kept but may cause issues"} 
[2026-08-08 12:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-409334954705010688,"note":"Value kept but may cause issues"} 
[2026-08-08 12:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171081000,"timestamp_ms":1786171081000,"timestamp_seconds":1786171081,"priority":1,"record_length":96,"hex_timestamp":"0000019fe017c128"} 
[2026-08-08 12:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:09: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-08-08 12:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259795200001,"66":27908,"166":206,"28":32256,"24":63,"16":375287331722100736,"44":-409334954705010688},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 12:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259795200001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:09:11] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 12:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375287331722100736,"km_value":375287331722100.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-409334954705010688,"description":"Unknown IO ID 44"} 
[2026-08-08 12:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259795200001,"power":27908,"unknown_166":206,"unknown_28":32256,"ignition":63,"odometer":null,"unknown_44":-409334954705010688}} 
[2026-08-08 12:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":152937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:09:12] local.INFO: GPS data processed {"connection_id":152937,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:09:12] local.INFO: Acknowledgment sent {"connection_id":152937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:09:43] local.INFO: TCP Data received {"connection_id":152937,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe017d898012cfa07800706b178000901152a..."} 
[2026-08-08 12:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe017d898012cfa07800706b178000901152a..."} 
[2026-08-08 12:09:43] local.INFO: Processing buffer {"connection_id":152937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe017d898012cfa07800706b178000901152a..."} 
[2026-08-08 12:09:43] local.INFO: Packet analysis {"connection_id":152937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe017"} 
[2026-08-08 12:09:43] local.INFO: Extracted packet for processing {"connection_id":152937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe017"} 
[2026-08-08 12:09:43] local.INFO: GPS Element Parsed {"raw_longitude":754583424,"raw_latitude":117879160,"longitude_deg":75.4583424,"latitude_deg":11.787916,"altitude":9,"angle":277,"satellites":42,"speed":60,"hex_longitude":"2cfa0780","hex_latitude":"0706b178","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259796736001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375287786988634112,"note":"Value kept but may cause issues"} 
[2026-08-08 12:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-419819897587208192,"note":"Value kept but may cause issues"} 
[2026-08-08 12:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786171087000,"timestamp_ms":1786171087000,"timestamp_seconds":1786171087,"priority":1,"record_length":96,"hex_timestamp":"0000019fe017d898"} 
[2026-08-08 12:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259796736001,"66":27919,"166":206,"28":32256,"24":60,"16":375287786988634112,"44":-419819897587208192},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-08-08 12:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259796736001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:09:43] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 12:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375287786988634112,"km_value":375287786988634.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-419819897587208192,"description":"Unknown IO ID 44"} 
[2026-08-08 12:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259796736001,"power":27919,"unknown_166":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_44":-419819897587208192}} 
[2026-08-08 12:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":152937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:09:43] local.INFO: GPS data processed {"connection_id":152937,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:09:43] local.INFO: Acknowledgment sent {"connection_id":152937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:10:10] local.INFO: TCP Data received {"connection_id":150229,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:10] local.INFO: Processing buffer {"connection_id":150229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:10] local.INFO: IMEI packet received {"connection_id":150229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":150229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:10:10] local.INFO: TCP Data received {"connection_id":150229,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:10] local.INFO: Processing buffer {"connection_id":150229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:10] local.INFO: IMEI packet received {"connection_id":150229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":150229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:10:15] local.INFO: TCP Data received {"connection_id":150229,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:15] local.INFO: Processing buffer {"connection_id":150229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:10:15] local.INFO: IMEI packet received {"connection_id":150229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":150229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:10:16] local.INFO: TCP Data received {"connection_id":150229,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe017f3f0012cf9e0400706b790000b01192b..."} 
[2026-08-08 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe017f3f0012cf9e0400706b790000b01192b..."} 
[2026-08-08 12:10:16] local.INFO: Processing buffer {"connection_id":150229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe017f3f0012cf9e0400706b790000b01192b..."} 
[2026-08-08 12:10:16] local.INFO: Packet analysis {"connection_id":150229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe017"} 
[2026-08-08 12:10:16] local.INFO: Extracted packet for processing {"connection_id":150229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe017"} 
[2026-08-08 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":754573376,"raw_latitude":117880720,"longitude_deg":75.4573376,"latitude_deg":11.788072,"altitude":11,"angle":281,"satellites":43,"speed":52,"hex_longitude":"2cf9e040","hex_latitude":"0706b790","is_valid_coordinates":true} 
[2026-08-08 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259798272001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375288268024971264,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-430234471725172736,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786171094000,"timestamp_ms":1786171094000,"timestamp_seconds":1786171094,"priority":1,"record_length":96,"hex_timestamp":"0000019fe017f3f0"} 
[2026-08-08 12:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 12:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259798272001,"66":27865,"165":206,"28":32256,"24":52,"16":375288268024971264,"44":-430234471725172736},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259798272001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:10:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:10:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375288268024971264,"km_value":375288268024971.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-430234471725172736,"description":"Unknown IO ID 44"} 
[2026-08-08 12:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259798272001,"power":27865,"unknown_165":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_44":-430234471725172736}} 
[2026-08-08 12:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":150229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:10:16] local.INFO: GPS data processed {"connection_id":150229,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:10:16] local.INFO: Acknowledgment sent {"connection_id":150229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:10:18] local.INFO: TCP Data received {"connection_id":150229,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0180f48012cf9bfc00706c1e0000e01262b..."} 
[2026-08-08 12:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0180f48012cf9bfc00706c1e0000e01262b..."} 
[2026-08-08 12:10:18] local.INFO: Processing buffer {"connection_id":150229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0180f48012cf9bfc00706c1e0000e01262b..."} 
[2026-08-08 12:10:18] local.INFO: Packet analysis {"connection_id":150229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe018"} 
[2026-08-08 12:10:18] local.INFO: Extracted packet for processing {"connection_id":150229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe018"} 
[2026-08-08 12:10:18] local.INFO: GPS Element Parsed {"raw_longitude":754565056,"raw_latitude":117883360,"longitude_deg":75.4565056,"latitude_deg":11.788336,"altitude":14,"angle":294,"satellites":43,"speed":47,"hex_longitude":"2cf9bfc0","hex_latitude":"0706c1e0","is_valid_coordinates":true} 
[2026-08-08 12:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259800064001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375288684636798976,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-441282364560666624,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786171101000,"timestamp_ms":1786171101000,"timestamp_seconds":1786171101,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0180f48"} 
[2026-08-08 12:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259800064001,"66":27930,"165":206,"28":32256,"24":47,"16":375288684636798976,"44":-441282364560666624},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-08 12:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259800064001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:10:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-08 12:10:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375288684636798976,"km_value":375288684636799.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:10:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-441282364560666624,"description":"Unknown IO ID 44"} 
[2026-08-08 12:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259800064001,"power":27930,"unknown_165":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-441282364560666624}} 
[2026-08-08 12:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":150229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:10:18] local.INFO: GPS data processed {"connection_id":150229,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:10:18] local.INFO: Acknowledgment sent {"connection_id":150229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:10:49] local.INFO: TCP Data received {"connection_id":150229,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0197a90012cf8d08007082c10000c01442a..."} 
[2026-08-08 12:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0197a90012cf8d08007082c10000c01442a..."} 
[2026-08-08 12:10:49] local.INFO: Processing buffer {"connection_id":150229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0197a90012cf8d08007082c10000c01442a..."} 
[2026-08-08 12:10:49] local.INFO: Packet analysis {"connection_id":150229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:10:49] local.INFO: Extracted packet for processing {"connection_id":150229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:10:49] local.INFO: GPS Element Parsed {"raw_longitude":754503808,"raw_latitude":117976080,"longitude_deg":75.4503808,"latitude_deg":11.797608,"altitude":12,"angle":324,"satellites":42,"speed":57,"hex_longitude":"2cf8d080","hex_latitude":"07082c10","is_valid_coordinates":true} 
[2026-08-08 12:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259823872001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375294134950297600,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-511651108715866112,"note":"Value kept but may cause issues"} 
[2026-08-08 12:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786171194000,"timestamp_ms":1786171194000,"timestamp_seconds":1786171194,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0197a90"} 
[2026-08-08 12:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259823872001,"66":27908,"167":206,"28":32256,"24":57,"16":375294134950297600,"44":-511651108715866112},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 12:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259823872001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:10:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 12:10:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375294134950297600,"km_value":375294134950297.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-511651108715866112,"description":"Unknown IO ID 44"} 
[2026-08-08 12:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259823872001,"power":27908,"unknown_167":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-511651108715866112}} 
[2026-08-08 12:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":150229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:10:49] local.INFO: GPS data processed {"connection_id":150229,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:10:49] local.INFO: Acknowledgment sent {"connection_id":150229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:11:18] local.INFO: TCP Data received {"connection_id":150230,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:18] local.INFO: Processing buffer {"connection_id":150230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:18] local.INFO: IMEI packet received {"connection_id":150230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":150230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:11:21] local.INFO: TCP Data received {"connection_id":150230,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:21] local.INFO: Processing buffer {"connection_id":150230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:21] local.INFO: IMEI packet received {"connection_id":150230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":150230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:11:23] local.INFO: TCP Data received {"connection_id":150230,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:23] local.INFO: Processing buffer {"connection_id":150230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:11:23] local.INFO: IMEI packet received {"connection_id":150230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":150230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:11:24] local.INFO: TCP Data received {"connection_id":150230,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01995e8012cf8b88007084ca0000c01432c..."} 
[2026-08-08 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01995e8012cf8b88007084ca0000c01432c..."} 
[2026-08-08 12:11:24] local.INFO: Processing buffer {"connection_id":150230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01995e8012cf8b88007084ca0000c01432c..."} 
[2026-08-08 12:11:24] local.INFO: Packet analysis {"connection_id":150230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:11:24] local.INFO: Extracted packet for processing {"connection_id":150230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:11:24] local.INFO: GPS Element Parsed {"raw_longitude":754497664,"raw_latitude":117984416,"longitude_deg":75.4497664,"latitude_deg":11.7984416,"altitude":12,"angle":323,"satellites":44,"speed":59,"hex_longitude":"2cf8b880","hex_latitude":"07084ca0","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259825664001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375294633166503936,"note":"Value kept but may cause issues"} 
[2026-08-08 12:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-517773189457375232,"note":"Value kept but may cause issues"} 
[2026-08-08 12:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786171201000,"timestamp_ms":1786171201000,"timestamp_seconds":1786171201,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01995e8"} 
[2026-08-08 12:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259825664001,"66":27604,"167":206,"28":32256,"24":59,"16":375294633166503936,"44":-517773189457375232},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 12:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259825664001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:11:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 12:11:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375294633166503936,"km_value":375294633166503.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-517773189457375232,"description":"Unknown IO ID 44"} 
[2026-08-08 12:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259825664001,"power":27604,"unknown_167":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-517773189457375232}} 
[2026-08-08 12:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":150230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:11:24] local.INFO: GPS data processed {"connection_id":150230,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:11:24] local.INFO: Acknowledgment sent {"connection_id":150230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:11:25] local.INFO: TCP Data received {"connection_id":150230,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe019b140012cf8a0c007086ce0000e01452b..."} 
[2026-08-08 12:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe019b140012cf8a0c007086ce0000e01452b..."} 
[2026-08-08 12:11:25] local.INFO: Processing buffer {"connection_id":150230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe019b140012cf8a0c007086ce0000e01452b..."} 
[2026-08-08 12:11:25] local.INFO: Packet analysis {"connection_id":150230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:11:25] local.INFO: Extracted packet for processing {"connection_id":150230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:11:25] local.INFO: GPS Element Parsed {"raw_longitude":754491584,"raw_latitude":117992672,"longitude_deg":75.4491584,"latitude_deg":11.7992672,"altitude":14,"angle":325,"satellites":43,"speed":56,"hex_longitude":"2cf8a0c0","hex_latitude":"07086ce0","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259827456001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375295127087742976,"note":"Value kept but may cause issues"} 
[2026-08-08 12:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-524528588896296960,"note":"Value kept but may cause issues"} 
[2026-08-08 12:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786171208000,"timestamp_ms":1786171208000,"timestamp_seconds":1786171208,"priority":1,"record_length":96,"hex_timestamp":"0000019fe019b140"} 
[2026-08-08 12:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 12:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259827456001,"66":27919,"167":206,"28":32256,"24":56,"16":375295127087742976,"44":-524528588896296960},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 12:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259827456001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:11:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 12:11:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375295127087742976,"km_value":375295127087743.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-524528588896296960,"description":"Unknown IO ID 44"} 
[2026-08-08 12:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259827456001,"power":27919,"unknown_167":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_44":-524528588896296960}} 
[2026-08-08 12:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":150230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:11:25] local.INFO: GPS data processed {"connection_id":150230,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:11:25] local.INFO: Acknowledgment sent {"connection_id":150230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:12:05] local.INFO: TCP Data received {"connection_id":151457,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:05] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:05] local.INFO: IMEI packet received {"connection_id":151457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":151457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:12:06] local.INFO: TCP Data received {"connection_id":151457,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:06] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:06] local.INFO: IMEI packet received {"connection_id":151457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":151457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:12:10] local.INFO: TCP Data received {"connection_id":151457,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:10] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:12:10] local.INFO: IMEI packet received {"connection_id":151457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":151457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:12:11] local.INFO: TCP Data received {"connection_id":151457,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe019cc98012cf88ac007088c00000e01432b..."} 
[2026-08-08 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe019cc98012cf88ac007088c00000e01432b..."} 
[2026-08-08 12:12:11] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe019cc98012cf88ac007088c00000e01432b..."} 
[2026-08-08 12:12:11] local.INFO: Packet analysis {"connection_id":151457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:12:11] local.INFO: Extracted packet for processing {"connection_id":151457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":754485952,"raw_latitude":118000640,"longitude_deg":75.4485952,"latitude_deg":11.800064,"altitude":14,"angle":323,"satellites":43,"speed":55,"hex_longitude":"2cf88ac0","hex_latitude":"07088c00","is_valid_coordinates":true} 
[2026-08-08 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259829248001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375295599534145536,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-531213619591061504,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171215000,"timestamp_ms":1786171215000,"timestamp_seconds":1786171215,"priority":1,"record_length":96,"hex_timestamp":"0000019fe019cc98"} 
[2026-08-08 12:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 12:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259829248001,"66":27865,"167":206,"28":32256,"24":55,"16":375295599534145536,"44":-531213619591061504},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-08 12:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259829248001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:12:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 12:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-08 12:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375295599534145536,"km_value":375295599534145.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-531213619591061504,"description":"Unknown IO ID 44"} 
[2026-08-08 12:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259829248001,"power":27865,"unknown_167":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-531213619591061504}} 
[2026-08-08 12:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":151457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:12:11] local.INFO: GPS data processed {"connection_id":151457,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:12:11] local.INFO: Acknowledgment sent {"connection_id":151457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:12:13] local.INFO: TCP Data received {"connection_id":151457,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe019e7f0012cf874800708ac18000d01482d..."} 
[2026-08-08 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe019e7f0012cf874800708ac18000d01482d..."} 
[2026-08-08 12:12:13] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe019e7f0012cf874800708ac18000d01482d..."} 
[2026-08-08 12:12:13] local.INFO: Packet analysis {"connection_id":151457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:12:13] local.INFO: Extracted packet for processing {"connection_id":151457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe019"} 
[2026-08-08 12:12:13] local.INFO: GPS Element Parsed {"raw_longitude":754480256,"raw_latitude":118008856,"longitude_deg":75.4480256,"latitude_deg":11.8008856,"altitude":13,"angle":328,"satellites":45,"speed":58,"hex_longitude":"2cf87480","hex_latitude":"0708ac18","is_valid_coordinates":true} 
[2026-08-08 12:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259831040001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375296076275515392,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-537406069076656128,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786171222000,"timestamp_ms":1786171222000,"timestamp_seconds":1786171222,"priority":1,"record_length":96,"hex_timestamp":"0000019fe019e7f0"} 
[2026-08-08 12:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259831040001,"66":27865,"31":206,"2":54272,"24":58,"16":375296076275515392,"44":-537406069076656128},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-08 12:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259831040001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 12:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375296076275515392,"km_value":375296076275515.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-537406069076656128,"description":"Unknown IO ID 44"} 
[2026-08-08 12:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259831040001,"power":27865,"unknown_31":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-537406069076656128}} 
[2026-08-08 12:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":151457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:12:13] local.INFO: GPS data processed {"connection_id":151457,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:12:13] local.INFO: Acknowledgment sent {"connection_id":151457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:12:45] local.INFO: TCP Data received {"connection_id":151457,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01b37e0012cf76140070a24e8000e01412b..."} 
[2026-08-08 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01b37e0012cf76140070a24e8000e01412b..."} 
[2026-08-08 12:12:45] local.INFO: Processing buffer {"connection_id":151457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01b37e0012cf76140070a24e8000e01412b..."} 
[2026-08-08 12:12:45] local.INFO: Packet analysis {"connection_id":151457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:12:45] local.INFO: Extracted packet for processing {"connection_id":151457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":754409792,"raw_latitude":118105320,"longitude_deg":75.4409792,"latitude_deg":11.810532,"altitude":14,"angle":321,"satellites":43,"speed":51,"hex_longitude":"2cf76140","hex_latitude":"070a24e8","is_valid_coordinates":true} 
[2026-08-08 12:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259853056001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375301878776332288,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-614741318902894592,"note":"Value kept but may cause issues"} 
[2026-08-08 12:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786171308000,"timestamp_ms":1786171308000,"timestamp_seconds":1786171308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01b37e0"} 
[2026-08-08 12:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:12: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-08-08 12:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259853056001,"66":27995,"31":206,"2":54272,"24":51,"16":375301878776332288,"44":-614741318902894592},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-08 12:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259853056001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 12:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375301878776332288,"km_value":375301878776332.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:12:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-614741318902894592,"description":"Unknown IO ID 44"} 
[2026-08-08 12:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259853056001,"power":27995,"unknown_31":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-614741318902894592}} 
[2026-08-08 12:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":151457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:12:45] local.INFO: GPS data processed {"connection_id":151457,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:12:45] local.INFO: Acknowledgment sent {"connection_id":151457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:13:06] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:06] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:06] local.INFO: IMEI packet received {"connection_id":150499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":150499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:13:08] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:08] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:08] local.INFO: IMEI packet received {"connection_id":150499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":150499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:13:10] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:10] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:13:10] local.INFO: IMEI packet received {"connection_id":150499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":150499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:13:12] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01b5338012cf74a00070a4058000e01402c..."} 
[2026-08-08 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01b5338012cf74a00070a4058000e01402c..."} 
[2026-08-08 12:13:12] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01b5338012cf74a00070a4058000e01402c..."} 
[2026-08-08 12:13:12] local.INFO: Packet analysis {"connection_id":150499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:13:12] local.INFO: Extracted packet for processing {"connection_id":150499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":754403840,"raw_latitude":118112344,"longitude_deg":75.440384,"latitude_deg":11.8112344,"altitude":14,"angle":320,"satellites":44,"speed":52,"hex_longitude":"2cf74a00","hex_latitude":"070a4058","is_valid_coordinates":true} 
[2026-08-08 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259854848001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375302321157963776,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-621144874621278208,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786171315000,"timestamp_ms":1786171315000,"timestamp_seconds":1786171315,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01b5338"} 
[2026-08-08 12:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259854848001,"66":27745,"31":206,"2":54272,"24":52,"16":375302321157963776,"44":-621144874621278208},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-08 12:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259854848001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:13:12] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 12:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375302321157963776,"km_value":375302321157963.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-621144874621278208,"description":"Unknown IO ID 44"} 
[2026-08-08 12:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259854848001,"power":27745,"unknown_31":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-621144874621278208}} 
[2026-08-08 12:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":150499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:13:12] local.INFO: GPS data processed {"connection_id":150499,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:13:12] local.INFO: Acknowledgment sent {"connection_id":150499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:13:16] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01b6e90012cf73300070a5cb0000e01422c..."} 
[2026-08-08 12:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01b6e90012cf73300070a5cb0000e01422c..."} 
[2026-08-08 12:13:16] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01b6e90012cf73300070a5cb0000e01422c..."} 
[2026-08-08 12:13:16] local.INFO: Packet analysis {"connection_id":150499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:13:16] local.INFO: Extracted packet for processing {"connection_id":150499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:13:16] local.INFO: GPS Element Parsed {"raw_longitude":754397952,"raw_latitude":118119600,"longitude_deg":75.4397952,"latitude_deg":11.81196,"altitude":14,"angle":322,"satellites":44,"speed":53,"hex_longitude":"2cf73300","hex_latitude":"070a5cb0","is_valid_coordinates":true} 
[2026-08-08 12:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259856640001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375302767834562560,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-627689167828002816,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786171322000,"timestamp_ms":1786171322000,"timestamp_seconds":1786171322,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01b6e90"} 
[2026-08-08 12:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 12:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259856640001,"66":27919,"32":206,"2":54272,"24":53,"16":375302767834562560,"44":-627689167828002816},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 12:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259856640001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:13:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 12:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375302767834562560,"km_value":375302767834562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-627689167828002816,"description":"Unknown IO ID 44"} 
[2026-08-08 12:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259856640001,"power":27919,"unknown_32":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-627689167828002816}} 
[2026-08-08 12:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":150499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:13:16] local.INFO: GPS data processed {"connection_id":150499,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:13:16] local.INFO: Acknowledgment sent {"connection_id":150499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:13:48] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01b89e8012cf71bc0070a7a60000c01412d..."} 
[2026-08-08 12:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01b89e8012cf71bc0070a7a60000c01412d..."} 
[2026-08-08 12:13:48] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01b89e8012cf71bc0070a7a60000c01412d..."} 
[2026-08-08 12:13:48] local.INFO: Packet analysis {"connection_id":150499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:13:48] local.INFO: Extracted packet for processing {"connection_id":150499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:13:48] local.INFO: GPS Element Parsed {"raw_longitude":754392000,"raw_latitude":118127200,"longitude_deg":75.4392,"latitude_deg":11.81272,"altitude":12,"angle":321,"satellites":45,"speed":55,"hex_longitude":"2cf71bc0","hex_latitude":"070a7a60","is_valid_coordinates":true} 
[2026-08-08 12:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259858432001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375303235985997824,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-634163092290490368,"note":"Value kept but may cause issues"} 
[2026-08-08 12:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786171329000,"timestamp_ms":1786171329000,"timestamp_seconds":1786171329,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01b89e8"} 
[2026-08-08 12:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 12:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259858432001,"66":27691,"32":206,"2":54272,"24":55,"16":375303235985997824,"44":-634163092290490368},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 12:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259858432001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 12:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375303235985997824,"km_value":375303235985997.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:13:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-634163092290490368,"description":"Unknown IO ID 44"} 
[2026-08-08 12:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259858432001,"power":27691,"unknown_32":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-634163092290490368}} 
[2026-08-08 12:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":150499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:13:48] local.INFO: GPS data processed {"connection_id":150499,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:13:48] local.INFO: Acknowledgment sent {"connection_id":150499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:14:05] local.INFO: TCP Data received {"connection_id":150500,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:14:05] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:14:05] local.INFO: IMEI packet received {"connection_id":150500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":150500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:14:10] local.INFO: TCP Data received {"connection_id":150500,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:14:10] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:14:10] local.INFO: IMEI packet received {"connection_id":150500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":150500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:14:11] local.INFO: TCP Data received {"connection_id":150500,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01ba540012cf70440070a9928000b01432c..."} 
[2026-08-08 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01ba540012cf70440070a9928000b01432c..."} 
[2026-08-08 12:14:11] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01ba540012cf70440070a9928000b01432c..."} 
[2026-08-08 12:14:11] local.INFO: Packet analysis {"connection_id":150500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:14:11] local.INFO: Extracted packet for processing {"connection_id":150500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01b"} 
[2026-08-08 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":754385984,"raw_latitude":118135080,"longitude_deg":75.4385984,"latitude_deg":11.813508,"altitude":11,"angle":323,"satellites":44,"speed":56,"hex_longitude":"2cf70440","hex_latitude":"070a9928","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259860224001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375303712727367680,"note":"Value kept but may cause issues"} 
[2026-08-08 12:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-640707385497067520,"note":"Value kept but may cause issues"} 
[2026-08-08 12:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171336000,"timestamp_ms":1786171336000,"timestamp_seconds":1786171336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01ba540"} 
[2026-08-08 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-08-08 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-08 12:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259860224001,"66":27919,"32":206,"2":54272,"24":56,"16":375303712727367680,"44":-640707385497067520},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-08 12:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259860224001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:14:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-08 12:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375303712727367680,"km_value":375303712727367.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-640707385497067520,"description":"Unknown IO ID 44"} 
[2026-08-08 12:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259860224001,"power":27919,"unknown_32":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-640707385497067520}} 
[2026-08-08 12:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":150500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:14:11] local.INFO: GPS data processed {"connection_id":150500,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:14:11] local.INFO: Acknowledgment sent {"connection_id":150500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:14:43] local.INFO: TCP Data received {"connection_id":150500,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01cf918012cf63c00070bf030000f01522c..."} 
[2026-08-08 12:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01cf918012cf63c00070bf030000f01522c..."} 
[2026-08-08 12:14:43] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01cf918012cf63c00070bf030000f01522c..."} 
[2026-08-08 12:14:43] local.INFO: Packet analysis {"connection_id":150500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01c"} 
[2026-08-08 12:14:43] local.INFO: Extracted packet for processing {"connection_id":150500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01c"} 
[2026-08-08 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":754334720,"raw_latitude":118222896,"longitude_deg":75.433472,"latitude_deg":11.8222896,"altitude":15,"angle":338,"satellites":44,"speed":39,"hex_longitude":"2cf63c00","hex_latitude":"070bf030","is_valid_coordinates":true} 
[2026-08-08 12:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259881984001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375308643349823488,"note":"Value kept but may cause issues"} 
[2026-08-08 12:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-700028236816463872,"note":"Value kept but may cause issues"} 
[2026-08-08 12:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786171423000,"timestamp_ms":1786171423000,"timestamp_seconds":1786171423,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01cf918"} 
[2026-08-08 12:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 12:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259881984001,"66":27995,"209":206,"2":54272,"24":39,"16":375308643349823488,"44":-700028236816463872},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-08 12:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259881984001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:14:43] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 12:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375308643349823488,"km_value":375308643349823.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-700028236816463872,"description":"Unknown IO ID 44"} 
[2026-08-08 12:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259881984001,"power":27995,"unknown_209":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-700028236816463872}} 
[2026-08-08 12:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":150500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:14:43] local.INFO: GPS data processed {"connection_id":150500,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:14:43] local.INFO: Acknowledgment sent {"connection_id":150500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:15:10] local.INFO: TCP Data received {"connection_id":150231,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:15:10] local.INFO: Processing buffer {"connection_id":150231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:15:10] local.INFO: IMEI packet received {"connection_id":150231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":150231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:15:12] local.INFO: TCP Data received {"connection_id":150231,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:15:12] local.INFO: Processing buffer {"connection_id":150231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:15:12] local.INFO: IMEI packet received {"connection_id":150231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":150231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:15:13] local.INFO: TCP Data received {"connection_id":150231,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01d1c40012cf62d00070c1370000d01512c..."} 
[2026-08-08 12:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01d1c40012cf62d00070c1370000d01512c..."} 
[2026-08-08 12:15:13] local.INFO: Processing buffer {"connection_id":150231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01d1c40012cf62d00070c1370000d01512c..."} 
[2026-08-08 12:15:13] local.INFO: Packet analysis {"connection_id":150231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:15:13] local.INFO: Extracted packet for processing {"connection_id":150231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:15:13] local.INFO: GPS Element Parsed {"raw_longitude":754330880,"raw_latitude":118231920,"longitude_deg":75.433088,"latitude_deg":11.823192,"altitude":13,"angle":337,"satellites":44,"speed":47,"hex_longitude":"2cf62d00","hex_latitude":"070c1370","is_valid_coordinates":true} 
[2026-08-08 12:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259884288001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375309115796226048,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-703687411511578624,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786171432000,"timestamp_ms":1786171432000,"timestamp_seconds":1786171432,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01d1c40"} 
[2026-08-08 12:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259884288001,"66":27930,"209":206,"2":54272,"24":47,"16":375309115796226048,"44":-703687411511578624},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-08 12:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259884288001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:15:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 12:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375309115796226048,"km_value":375309115796226.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-703687411511578624,"description":"Unknown IO ID 44"} 
[2026-08-08 12:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259884288001,"power":27930,"unknown_209":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-703687411511578624}} 
[2026-08-08 12:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":150231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:15:13] local.INFO: GPS data processed {"connection_id":150231,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:15:13] local.INFO: Acknowledgment sent {"connection_id":150231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:15:15] local.INFO: TCP Data received {"connection_id":150231,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01d3798012cf62140070c3448000a01592b..."} 
[2026-08-08 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01d3798012cf62140070c3448000a01592b..."} 
[2026-08-08 12:15:15] local.INFO: Processing buffer {"connection_id":150231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01d3798012cf62140070c3448000a01592b..."} 
[2026-08-08 12:15:15] local.INFO: Packet analysis {"connection_id":150231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:15:15] local.INFO: Extracted packet for processing {"connection_id":150231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":754327872,"raw_latitude":118240328,"longitude_deg":75.4327872,"latitude_deg":11.8240328,"altitude":10,"angle":345,"satellites":43,"speed":54,"hex_longitude":"2cf62140","hex_latitude":"070c3448","is_valid_coordinates":true} 
[2026-08-08 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259886592001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375309549587922944,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-707909536159928320,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786171439000,"timestamp_ms":1786171439000,"timestamp_seconds":1786171439,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01d3798"} 
[2026-08-08 12:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:15: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-08-08 12:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259886592001,"66":27908,"209":206,"2":54272,"24":54,"16":375309549587922944,"44":-707909536159928320},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-08 12:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259886592001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:15:15] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 12:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375309549587922944,"km_value":375309549587922.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-707909536159928320,"description":"Unknown IO ID 44"} 
[2026-08-08 12:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259886592001,"power":27908,"unknown_209":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-707909536159928320}} 
[2026-08-08 12:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":150231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:15:15] local.INFO: GPS data processed {"connection_id":150231,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:15:15] local.INFO: Acknowledgment sent {"connection_id":150231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:15:48] local.INFO: TCP Data received {"connection_id":150231,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01d52f0012cf61b80070c5a28000a01642c..."} 
[2026-08-08 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01d52f0012cf61b80070c5a28000a01642c..."} 
[2026-08-08 12:15:48] local.INFO: Processing buffer {"connection_id":150231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01d52f0012cf61b80070c5a28000a01642c..."} 
[2026-08-08 12:15:48] local.INFO: Packet analysis {"connection_id":150231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:15:48] local.INFO: Extracted packet for processing {"connection_id":150231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":754326400,"raw_latitude":118250024,"longitude_deg":75.43264,"latitude_deg":11.8250024,"altitude":10,"angle":356,"satellites":44,"speed":56,"hex_longitude":"2cf61b80","hex_latitude":"070c5a28","is_valid_coordinates":true} 
[2026-08-08 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259888384001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375310026329292800,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711216867134126080,"note":"Value kept but may cause issues"} 
[2026-08-08 12:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786171446000,"timestamp_ms":1786171446000,"timestamp_seconds":1786171446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01d52f0"} 
[2026-08-08 12:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259888384001,"66":27887,"209":206,"2":54272,"24":56,"16":375310026329292800,"44":-711216867134126080},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-08 12:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259888384001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 12:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375310026329292800,"km_value":375310026329292.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:15:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711216867134126080,"description":"Unknown IO ID 44"} 
[2026-08-08 12:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259888384001,"power":27887,"unknown_209":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-711216867134126080}} 
[2026-08-08 12:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":150231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:15:48] local.INFO: GPS data processed {"connection_id":150231,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:15:48] local.INFO: Acknowledgment sent {"connection_id":150231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:16:05] local.INFO: TCP Data received {"connection_id":150232,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:16:05] local.INFO: Processing buffer {"connection_id":150232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:16:05] local.INFO: IMEI packet received {"connection_id":150232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":150232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:16:07] local.INFO: TCP Data received {"connection_id":150232,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:16:07] local.INFO: Processing buffer {"connection_id":150232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:16:07] local.INFO: IMEI packet received {"connection_id":150232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":150232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:16:09] local.INFO: TCP Data received {"connection_id":150232,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01d6e48012cf61b00070c8110000a01672c..."} 
[2026-08-08 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01d6e48012cf61b00070c8110000a01672c..."} 
[2026-08-08 12:16:09] local.INFO: Processing buffer {"connection_id":150232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01d6e48012cf61b00070c8110000a01672c..."} 
[2026-08-08 12:16:09] local.INFO: Packet analysis {"connection_id":150232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:16:09] local.INFO: Extracted packet for processing {"connection_id":150232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01d"} 
[2026-08-08 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":754326272,"raw_latitude":118259984,"longitude_deg":75.4326272,"latitude_deg":11.8259984,"altitude":10,"angle":359,"satellites":44,"speed":56,"hex_longitude":"2cf61b00","hex_latitude":"070c8110","is_valid_coordinates":true} 
[2026-08-08 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259890176001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375310507365629952,"note":"Value kept but may cause issues"} 
[2026-08-08 12:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712835348247730176,"note":"Value kept but may cause issues"} 
[2026-08-08 12:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786171453000,"timestamp_ms":1786171453000,"timestamp_seconds":1786171453,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01d6e48"} 
[2026-08-08 12:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 12:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259890176001,"66":27876,"209":206,"2":54272,"24":56,"16":375310507365629952,"44":-712835348247730176},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-08 12:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259890176001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:16:09] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 12:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375310507365629952,"km_value":375310507365629.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712835348247730176,"description":"Unknown IO ID 44"} 
[2026-08-08 12:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259890176001,"power":27876,"unknown_209":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-712835348247730176}} 
[2026-08-08 12:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":150232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:16:09] local.INFO: GPS data processed {"connection_id":150232,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:16:09] local.INFO: Acknowledgment sent {"connection_id":150232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:16:41] local.INFO: TCP Data received {"connection_id":150232,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01ecdd8012cf5adc0070e4638000801522c..."} 
[2026-08-08 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01ecdd8012cf5adc0070e4638000801522c..."} 
[2026-08-08 12:16:41] local.INFO: Processing buffer {"connection_id":150232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01ecdd8012cf5adc0070e4638000801522c..."} 
[2026-08-08 12:16:41] local.INFO: Packet analysis {"connection_id":150232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01e"} 
[2026-08-08 12:16:41] local.INFO: Extracted packet for processing {"connection_id":150232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01e"} 
[2026-08-08 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":754298304,"raw_latitude":118375992,"longitude_deg":75.4298304,"latitude_deg":11.8375992,"altitude":8,"angle":338,"satellites":44,"speed":40,"hex_longitude":"2cf5adc0","hex_latitude":"070e4638","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259913216001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375316357111087104,"note":"Value kept but may cause issues"} 
[2026-08-08 12:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-740279158446923776,"note":"Value kept but may cause issues"} 
[2026-08-08 12:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786171543000,"timestamp_ms":1786171543000,"timestamp_seconds":1786171543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01ecdd8"} 
[2026-08-08 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-08-08 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 12:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259913216001,"66":27930,"146":206,"2":54272,"24":40,"16":375316357111087104,"44":-740279158446923776},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 12:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259913216001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:16:41] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 12:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375316357111087104,"km_value":375316357111087.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-740279158446923776,"description":"Unknown IO ID 44"} 
[2026-08-08 12:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259913216001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-740279158446923776}} 
[2026-08-08 12:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":150232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:16:41] local.INFO: GPS data processed {"connection_id":150232,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:16:41] local.INFO: Acknowledgment sent {"connection_id":150232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:17:05] local.INFO: TCP Data received {"connection_id":152938,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:17:05] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:17:05] local.INFO: IMEI packet received {"connection_id":152938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":152938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:17:10] local.INFO: TCP Data received {"connection_id":152938,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:17:10] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:17:10] local.INFO: IMEI packet received {"connection_id":152938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":152938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:17:12] local.INFO: TCP Data received {"connection_id":152938,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01eed18012cf5a600070e57a0000801452c..."} 
[2026-08-08 12:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01eed18012cf5a600070e57a0000801452c..."} 
[2026-08-08 12:17:12] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01eed18012cf5a600070e57a0000801452c..."} 
[2026-08-08 12:17:12] local.INFO: Packet analysis {"connection_id":152938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01e"} 
[2026-08-08 12:17:12] local.INFO: Extracted packet for processing {"connection_id":152938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01e"} 
[2026-08-08 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":754296320,"raw_latitude":118380448,"longitude_deg":75.429632,"latitude_deg":11.8380448,"altitude":8,"angle":325,"satellites":44,"speed":17,"hex_longitude":"2cf5a600","hex_latitude":"070e57a0","is_valid_coordinates":true} 
[2026-08-08 12:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259915008001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375316593334288384,"note":"Value kept but may cause issues"} 
[2026-08-08 12:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-743727226909476864,"note":"Value kept but may cause issues"} 
[2026-08-08 12:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786171551000,"timestamp_ms":1786171551000,"timestamp_seconds":1786171551,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01eed18"} 
[2026-08-08 12:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259915008001,"66":27767,"146":206,"2":54272,"24":17,"16":375316593334288384,"44":-743727226909476864},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 12:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259915008001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 12:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375316593334288384,"km_value":375316593334288.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-743727226909476864,"description":"Unknown IO ID 44"} 
[2026-08-08 12:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259915008001,"power":27767,"unknown_146":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-743727226909476864}} 
[2026-08-08 12:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":152938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:17:12] local.INFO: GPS data processed {"connection_id":152938,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:17:12] local.INFO: Acknowledgment sent {"connection_id":152938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:17:43] local.INFO: TCP Data received {"connection_id":152938,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01f00a0012cf5a140070e5f18000801532a..."} 
[2026-08-08 12:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01f00a0012cf5a140070e5f18000801532a..."} 
[2026-08-08 12:17:43] local.INFO: Processing buffer {"connection_id":152938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01f00a0012cf5a140070e5f18000801532a..."} 
[2026-08-08 12:17:43] local.INFO: Packet analysis {"connection_id":152938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:17:43] local.INFO: Extracted packet for processing {"connection_id":152938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:17:43] local.INFO: GPS Element Parsed {"raw_longitude":754295104,"raw_latitude":118382360,"longitude_deg":75.4295104,"latitude_deg":11.838236,"altitude":8,"angle":339,"satellites":42,"speed":18,"hex_longitude":"2cf5a140","hex_latitude":"070e5f18","is_valid_coordinates":true} 
[2026-08-08 12:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259917056001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375316705003438080,"note":"Value kept but may cause issues"} 
[2026-08-08 12:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-745908657977843712,"note":"Value kept but may cause issues"} 
[2026-08-08 12:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786171556000,"timestamp_ms":1786171556000,"timestamp_seconds":1786171556,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01f00a0"} 
[2026-08-08 12:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259917056001,"66":27995,"146":206,"2":54272,"24":18,"16":375316705003438080,"44":-745908657977843712},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 12:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259917056001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:17:43] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 12:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375316705003438080,"km_value":375316705003438.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-745908657977843712,"description":"Unknown IO ID 44"} 
[2026-08-08 12:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259917056001,"power":27995,"unknown_146":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-745908657977843712}} 
[2026-08-08 12:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":152938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:17:43] local.INFO: GPS data processed {"connection_id":152938,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:17:43] local.INFO: Acknowledgment sent {"connection_id":152938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:18:05] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:05] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:05] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:18:09] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:09] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:09] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:18:10] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:10] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:18:10] local.INFO: IMEI packet received {"connection_id":152939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":152939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:18:11] local.INFO: TCP Data received {"connection_id":151458,"ip":"117.224.105.146","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:18:11] local.INFO: Processing buffer {"connection_id":151458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:18:11] local.INFO: IMEI packet received {"connection_id":151458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":151458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:18:11] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01f46f0012cf59580070e8040000901532a..."} 
[2026-08-08 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01f46f0012cf59580070e8040000901532a..."} 
[2026-08-08 12:18:11] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01f46f0012cf59580070e8040000901532a..."} 
[2026-08-08 12:18:11] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:18:11] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":754292096,"raw_latitude":118390848,"longitude_deg":75.4292096,"latitude_deg":11.8390848,"altitude":9,"angle":339,"satellites":42,"speed":22,"hex_longitude":"2cf59580","hex_latitude":"070e8040","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259918336001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375317143090102272,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-747245664116729856,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171574000,"timestamp_ms":1786171574000,"timestamp_seconds":1786171574,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01f46f0"} 
[2026-08-08 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-08-08 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:18: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-08-08 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-08-08 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-08-08 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259918336001,"66":27876,"146":206,"2":54272,"24":22,"16":375317143090102272,"44":-747245664116729856},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259918336001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375317143090102272,"km_value":375317143090102.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-747245664116729856,"description":"Unknown IO ID 44"} 
[2026-08-08 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259918336001,"power":27876,"unknown_146":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-747245664116729856}} 
[2026-08-08 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:18:11] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:18:11] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:18:17] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01f98f8012cf58c80070e9718000b01532b..."} 
[2026-08-08 12:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01f98f8012cf58c80070e9718000b01532b..."} 
[2026-08-08 12:18:17] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01f98f8012cf58c80070e9718000b01532b..."} 
[2026-08-08 12:18:17] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:18:17] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":754289792,"raw_latitude":118396696,"longitude_deg":75.4289792,"latitude_deg":11.8396696,"altitude":11,"angle":339,"satellites":43,"speed":0,"hex_longitude":"2cf58c80","hex_latitude":"070e9718","is_valid_coordinates":true} 
[2026-08-08 12:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259922944001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375317448032780288,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-750552995090907136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786171595000,"timestamp_ms":1786171595000,"timestamp_seconds":1786171595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01f98f8"} 
[2026-08-08 12:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 12:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259922944001,"66":27930,"146":206,"2":54272,"24":0,"16":375317448032780288,"44":-750552995090907136},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 12:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259922944001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:18:17] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 12:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375317448032780288,"km_value":375317448032780.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-750552995090907136,"description":"Unknown IO ID 44"} 
[2026-08-08 12:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259922944001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-750552995090907136}} 
[2026-08-08 12:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:18:17] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:18:17] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:18:49] local.INFO: TCP Data received {"connection_id":152939,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe01feb00012cf58280070eb288000c015b2b..."} 
[2026-08-08 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe01feb00012cf58280070eb288000c015b2b..."} 
[2026-08-08 12:18:49] local.INFO: Processing buffer {"connection_id":152939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe01feb00012cf58280070eb288000c015b2b..."} 
[2026-08-08 12:18:49] local.INFO: Packet analysis {"connection_id":152939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:18:49] local.INFO: Extracted packet for processing {"connection_id":152939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe01f"} 
[2026-08-08 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":754287232,"raw_latitude":118403720,"longitude_deg":75.4287232,"latitude_deg":11.840372,"altitude":12,"angle":347,"satellites":43,"speed":18,"hex_longitude":"2cf58280","hex_latitude":"070eb288","is_valid_coordinates":true} 
[2026-08-08 12:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259928320001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375317813105000448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-753086269879805952,"note":"Value kept but may cause issues"} 
[2026-08-08 12:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786171616000,"timestamp_ms":1786171616000,"timestamp_seconds":1786171616,"priority":1,"record_length":96,"hex_timestamp":"0000019fe01feb00"} 
[2026-08-08 12:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":152939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":152939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259928320001,"66":27930,"146":206,"2":54272,"24":18,"16":375317813105000448,"44":-753086269879805952},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-08 12:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259928320001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 12:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375317813105000448,"km_value":375317813105000.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-753086269879805952,"description":"Unknown IO ID 44"} 
[2026-08-08 12:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259928320001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-753086269879805952}} 
[2026-08-08 12:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":152939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:18:49] local.INFO: GPS data processed {"connection_id":152939,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:18:49] local.INFO: Acknowledgment sent {"connection_id":152939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:19:05] local.INFO: TCP Data received {"connection_id":152940,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:05] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:05] local.INFO: IMEI packet received {"connection_id":152940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":152940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:19:08] local.INFO: TCP Data received {"connection_id":152940,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:08] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:08] local.INFO: IMEI packet received {"connection_id":152940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":152940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:19:10] local.INFO: TCP Data received {"connection_id":152940,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:10] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:19:10] local.INFO: IMEI packet received {"connection_id":152940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":152940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:19:13] local.INFO: TCP Data received {"connection_id":152940,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe020f888012cf58200070fb1f8001101612c..."} 
[2026-08-08 12:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe020f888012cf58200070fb1f8001101612c..."} 
[2026-08-08 12:19:13] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe020f888012cf58200070fb1f8001101612c..."} 
[2026-08-08 12:19:13] local.INFO: Packet analysis {"connection_id":152940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe020"} 
[2026-08-08 12:19:13] local.INFO: Extracted packet for processing {"connection_id":152940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe020"} 
[2026-08-08 12:19:13] local.INFO: GPS Element Parsed {"raw_longitude":754287104,"raw_latitude":118469112,"longitude_deg":75.4287104,"latitude_deg":11.8469112,"altitude":17,"angle":353,"satellites":44,"speed":45,"hex_longitude":"2cf58200","hex_latitude":"070fb1f8","is_valid_coordinates":true} 
[2026-08-08 12:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259950080001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375321064395243520,"note":"Value kept but may cause issues"} 
[2026-08-08 12:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755971388374052864,"note":"Value kept but may cause issues"} 
[2026-08-08 12:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786171685000,"timestamp_ms":1786171685000,"timestamp_seconds":1786171685,"priority":1,"record_length":96,"hex_timestamp":"0000019fe020f888"} 
[2026-08-08 12:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:19: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-08-08 12:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259950080001,"66":27745,"36":206,"2":54272,"24":45,"16":375321064395243520,"44":-755971388374052864},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 12:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259950080001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:19:13] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 12:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375321064395243520,"km_value":375321064395243.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755971388374052864,"description":"Unknown IO ID 44"} 
[2026-08-08 12:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259950080001,"power":27745,"unknown_36":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-755971388374052864}} 
[2026-08-08 12:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":152940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:19:13] local.INFO: GPS data processed {"connection_id":152940,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:19:13] local.INFO: Acknowledgment sent {"connection_id":152940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:19:52] local.INFO: TCP Data received {"connection_id":152940,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0210c10012cf57d40070fc760001301552c..."} 
[2026-08-08 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0210c10012cf57d40070fc760001301552c..."} 
[2026-08-08 12:19:52] local.INFO: Processing buffer {"connection_id":152940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0210c10012cf57d40070fc760001301552c..."} 
[2026-08-08 12:19:52] local.INFO: Packet analysis {"connection_id":152940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe021"} 
[2026-08-08 12:19:52] local.INFO: Extracted packet for processing {"connection_id":152940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe021"} 
[2026-08-08 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":754285888,"raw_latitude":118474592,"longitude_deg":75.4285888,"latitude_deg":11.8474592,"altitude":19,"angle":341,"satellites":44,"speed":43,"hex_longitude":"2cf57d40","hex_latitude":"070fc760","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259951360001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375321334978183168,"note":"Value kept but may cause issues"} 
[2026-08-08 12:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-756041757116729344,"note":"Value kept but may cause issues"} 
[2026-08-08 12:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786171690000,"timestamp_ms":1786171690000,"timestamp_seconds":1786171690,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0210c10"} 
[2026-08-08 12:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 12:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259951360001,"66":27930,"36":206,"2":54272,"24":43,"16":375321334978183168,"44":-756041757116729344},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 12:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259951360001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:19:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 12:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375321334978183168,"km_value":375321334978183.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-756041757116729344,"description":"Unknown IO ID 44"} 
[2026-08-08 12:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259951360001,"power":27930,"unknown_36":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-756041757116729344}} 
[2026-08-08 12:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":152940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:19:52] local.INFO: GPS data processed {"connection_id":152940,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:19:52] local.INFO: Acknowledgment sent {"connection_id":152940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:20:05] local.INFO: TCP Data received {"connection_id":150501,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:20:05] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:20:05] local.INFO: IMEI packet received {"connection_id":150501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":150501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:20:10] local.INFO: TCP Data received {"connection_id":150501,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:20:10] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:20:10] local.INFO: IMEI packet received {"connection_id":150501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":150501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:20:11] local.INFO: TCP Data received {"connection_id":150501,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0212f38012cf56d40070fe930001401502c..."} 
[2026-08-08 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0212f38012cf56d40070fe930001401502c..."} 
[2026-08-08 12:20:11] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0212f38012cf56d40070fe930001401502c..."} 
[2026-08-08 12:20:11] local.INFO: Packet analysis {"connection_id":150501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe021"} 
[2026-08-08 12:20:11] local.INFO: Extracted packet for processing {"connection_id":150501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe021"} 
[2026-08-08 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":754281792,"raw_latitude":118483248,"longitude_deg":75.4281792,"latitude_deg":11.8483248,"altitude":20,"angle":336,"satellites":44,"speed":37,"hex_longitude":"2cf56d40","hex_latitude":"070fe930","is_valid_coordinates":true} 
[2026-08-08 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259952640001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375321798834651136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757378763254702080,"note":"Value kept but may cause issues"} 
[2026-08-08 12:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171699000,"timestamp_ms":1786171699000,"timestamp_seconds":1786171699,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0212f38"} 
[2026-08-08 12:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259952640001,"66":27995,"36":206,"2":54272,"24":37,"16":375321798834651136,"44":-757378763254702080},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 12:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259952640001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 12:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375321798834651136,"km_value":375321798834651.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757378763254702080,"description":"Unknown IO ID 44"} 
[2026-08-08 12:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259952640001,"power":27995,"unknown_36":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-757378763254702080}} 
[2026-08-08 12:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":150501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:20:11] local.INFO: GPS data processed {"connection_id":150501,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:20:11] local.INFO: Acknowledgment sent {"connection_id":150501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:20:43] local.INFO: TCP Data received {"connection_id":150501,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0213af0012cf567c0070ff2b0001501422d..."} 
[2026-08-08 12:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0213af0012cf567c0070ff2b0001501422d..."} 
[2026-08-08 12:20:43] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0213af0012cf567c0070ff2b0001501422d..."} 
[2026-08-08 12:20:43] local.INFO: Packet analysis {"connection_id":150501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe021"} 
[2026-08-08 12:20:43] local.INFO: Extracted packet for processing {"connection_id":150501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe021"} 
[2026-08-08 12:20:43] local.INFO: GPS Element Parsed {"raw_longitude":754280384,"raw_latitude":118485680,"longitude_deg":75.4280384,"latitude_deg":11.848568,"altitude":21,"angle":322,"satellites":45,"speed":36,"hex_longitude":"2cf567c0","hex_latitude":"070ff2b0","is_valid_coordinates":true} 
[2026-08-08 12:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259954944001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375321931978637312,"note":"Value kept but may cause issues"} 
[2026-08-08 12:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-761882362879856640,"note":"Value kept but may cause issues"} 
[2026-08-08 12:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786171702000,"timestamp_ms":1786171702000,"timestamp_seconds":1786171702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0213af0"} 
[2026-08-08 12:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259954944001,"66":27626,"36":206,"2":54272,"24":36,"16":375321931978637312,"44":-761882362879856640},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-08 12:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259954944001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:20:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-08 12:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375321931978637312,"km_value":375321931978637.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-761882362879856640,"description":"Unknown IO ID 44"} 
[2026-08-08 12:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259954944001,"power":27626,"unknown_36":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-761882362879856640}} 
[2026-08-08 12:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":150501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:20:43] local.INFO: GPS data processed {"connection_id":150501,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:20:43] local.INFO: Acknowledgment sent {"connection_id":150501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:21:06] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:06] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:06] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:21:08] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:08] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:08] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:21:10] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:10] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:10] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:21:16] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:16] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:21:16] local.INFO: IMEI packet received {"connection_id":152941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":152941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:21:18] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe022c578012cf48200071093d8001e013a2a..."} 
[2026-08-08 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe022c578012cf48200071093d8001e013a2a..."} 
[2026-08-08 12:21:18] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe022c578012cf48200071093d8001e013a2a..."} 
[2026-08-08 12:21:18] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe022"} 
[2026-08-08 12:21:18] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe022"} 
[2026-08-08 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":754221568,"raw_latitude":118526936,"longitude_deg":75.4221568,"latitude_deg":11.8526936,"altitude":30,"angle":314,"satellites":42,"speed":30,"hex_longitude":"2cf48200","hex_latitude":"071093d8","is_valid_coordinates":true} 
[2026-08-08 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259977984001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375325406607179776,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-820429158026178560,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786171803000,"timestamp_ms":1786171803000,"timestamp_seconds":1786171803,"priority":1,"record_length":96,"hex_timestamp":"0000019fe022c578"} 
[2026-08-08 12:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 12:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259977984001,"66":27821,"109":206,"2":54272,"24":30,"16":375325406607179776,"44":-820429158026178560},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-08-08 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259977984001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:21:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375325406607179776,"km_value":375325406607179.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-820429158026178560,"description":"Unknown IO ID 44"} 
[2026-08-08 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259977984001,"power":27821,"unknown_109":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-820429158026178560}} 
[2026-08-08 12:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:21:18] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:21:18] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:21:19] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe022dce8012cf4748007109fe8001e012929..."} 
[2026-08-08 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe022dce8012cf4748007109fe8001e012929..."} 
[2026-08-08 12:21:19] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe022dce8012cf4748007109fe8001e012929..."} 
[2026-08-08 12:21:19] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe022"} 
[2026-08-08 12:21:19] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe022"} 
[2026-08-08 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":754218112,"raw_latitude":118530024,"longitude_deg":75.4218112,"latitude_deg":11.8530024,"altitude":30,"angle":297,"satellites":41,"speed":31,"hex_longitude":"2cf47480","hex_latitude":"07109fe8","is_valid_coordinates":true} 
[2026-08-08 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259981568001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375325629945479168,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-828099351139854336,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786171809000,"timestamp_ms":1786171809000,"timestamp_seconds":1786171809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe022dce8"} 
[2026-08-08 12:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 12:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259981568001,"66":27876,"109":206,"2":54272,"24":31,"16":375325629945479168,"44":-828099351139854336},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-08-08 12:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259981568001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 12:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375325629945479168,"km_value":375325629945479.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-828099351139854336,"description":"Unknown IO ID 44"} 
[2026-08-08 12:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259981568001,"power":27876,"unknown_109":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-828099351139854336}} 
[2026-08-08 12:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:21:19] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:21:19] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:21:51] local.INFO: TCP Data received {"connection_id":152941,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02303f8012cf45cc00710aa50001e01342c..."} 
[2026-08-08 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02303f8012cf45cc00710aa50001e01342c..."} 
[2026-08-08 12:21:51] local.INFO: Processing buffer {"connection_id":152941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02303f8012cf45cc00710aa50001e01342c..."} 
[2026-08-08 12:21:51] local.INFO: Packet analysis {"connection_id":152941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe023"} 
[2026-08-08 12:21:51] local.INFO: Extracted packet for processing {"connection_id":152941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe023"} 
[2026-08-08 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":754212032,"raw_latitude":118532688,"longitude_deg":75.4212032,"latitude_deg":11.8532688,"altitude":30,"angle":308,"satellites":44,"speed":19,"hex_longitude":"2cf45cc0","hex_latitude":"0710aa50","is_valid_coordinates":true} 
[2026-08-08 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259983104001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375325947773059072,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-831899263324657664,"note":"Value kept but may cause issues"} 
[2026-08-08 12:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786171819000,"timestamp_ms":1786171819000,"timestamp_seconds":1786171819,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02303f8"} 
[2026-08-08 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 12:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":152941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":152941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259983104001,"66":27984,"109":206,"2":54272,"24":19,"16":375325947773059072,"44":-831899263324657664},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-08-08 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259983104001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:21:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375325947773059072,"km_value":375325947773059.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-831899263324657664,"description":"Unknown IO ID 44"} 
[2026-08-08 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259983104001,"power":27984,"unknown_109":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-831899263324657664}} 
[2026-08-08 12:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":152941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:21:51] local.INFO: GPS data processed {"connection_id":152941,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:21:51] local.INFO: Acknowledgment sent {"connection_id":152941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:22:04] local.INFO: TCP Data received {"connection_id":150502,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:04] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:04] local.INFO: IMEI packet received {"connection_id":150502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":150502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:22:05] local.INFO: TCP Data received {"connection_id":150502,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:05] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:05] local.INFO: IMEI packet received {"connection_id":150502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":150502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:22:10] local.INFO: TCP Data received {"connection_id":150502,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:10] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:22:10] local.INFO: IMEI packet received {"connection_id":150502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":150502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:22:11] local.INFO: TCP Data received {"connection_id":150502,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0230bc8012cf459800710ac38001d01232b..."} 
[2026-08-08 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0230bc8012cf459800710ac38001d01232b..."} 
[2026-08-08 12:22:11] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0230bc8012cf459800710ac38001d01232b..."} 
[2026-08-08 12:22:11] local.INFO: Packet analysis {"connection_id":150502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe023"} 
[2026-08-08 12:22:11] local.INFO: Extracted packet for processing {"connection_id":150502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe023"} 
[2026-08-08 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":754211200,"raw_latitude":118533176,"longitude_deg":75.42112,"latitude_deg":11.8533176,"altitude":29,"angle":291,"satellites":43,"speed":18,"hex_longitude":"2cf45980","hex_latitude":"0710ac38","is_valid_coordinates":true} 
[2026-08-08 12:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457259985664001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375325995017699328,"note":"Value kept but may cause issues"} 
[2026-08-08 12:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-838584294020853760,"note":"Value kept but may cause issues"} 
[2026-08-08 12:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171821000,"timestamp_ms":1786171821000,"timestamp_seconds":1786171821,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0230bc8"} 
[2026-08-08 12:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 12:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457259985664001,"66":27767,"109":206,"2":54272,"24":18,"16":375325995017699328,"44":-838584294020853760},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-08-08 12:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457259985664001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:22:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 12:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375325995017699328,"km_value":375325995017699.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-838584294020853760,"description":"Unknown IO ID 44"} 
[2026-08-08 12:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457259985664001,"power":27767,"unknown_109":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-838584294020853760}} 
[2026-08-08 12:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":150502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:22:11] local.INFO: GPS data processed {"connection_id":150502,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:22:11] local.INFO: Acknowledgment sent {"connection_id":150502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:22:45] local.INFO: TCP Data received {"connection_id":150502,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02405c8012cf3cc4007113750000e012f29..."} 
[2026-08-08 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02405c8012cf3cc4007113750000e012f29..."} 
[2026-08-08 12:22:45] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02405c8012cf3cc4007113750000e012f29..."} 
[2026-08-08 12:22:45] local.INFO: Packet analysis {"connection_id":150502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:22:45] local.INFO: Extracted packet for processing {"connection_id":150502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":754175040,"raw_latitude":118568784,"longitude_deg":75.417504,"latitude_deg":11.8568784,"altitude":14,"angle":303,"satellites":41,"speed":19,"hex_longitude":"2cf3cc40","hex_latitude":"07113750","is_valid_coordinates":true} 
[2026-08-08 12:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260000000001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375328490393698304,"note":"Value kept but may cause issues"} 
[2026-08-08 12:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-874472353543157760,"note":"Value kept but may cause issues"} 
[2026-08-08 12:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786171885000,"timestamp_ms":1786171885000,"timestamp_seconds":1786171885,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02405c8"} 
[2026-08-08 12:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:22: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-08-08 12:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260000000001,"66":27300,"100":206,"2":54272,"24":19,"16":375328490393698304,"44":-874472353543157760},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-08 12:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260000000001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:22:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 12:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375328490393698304,"km_value":375328490393698.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-874472353543157760,"description":"Unknown IO ID 44"} 
[2026-08-08 12:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260000000001,"power":27300,"unknown_100":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-874472353543157760}} 
[2026-08-08 12:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":150502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:22:45] local.INFO: GPS data processed {"connection_id":150502,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:22:45] local.INFO: Acknowledgment sent {"connection_id":150502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:23:05] local.INFO: TCP Data received {"connection_id":150233,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:23:05] local.INFO: Processing buffer {"connection_id":150233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:23:05] local.INFO: IMEI packet received {"connection_id":150233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":150233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:23:10] local.INFO: TCP Data received {"connection_id":150233,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:23:10] local.INFO: Processing buffer {"connection_id":150233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:23:10] local.INFO: IMEI packet received {"connection_id":150233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":150233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:23:12] local.INFO: TCP Data received {"connection_id":150233,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0244c18012cf3af8007114ba8000d013a24..."} 
[2026-08-08 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0244c18012cf3af8007114ba8000d013a24..."} 
[2026-08-08 12:23:12] local.INFO: Processing buffer {"connection_id":150233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0244c18012cf3af8007114ba8000d013a24..."} 
[2026-08-08 12:23:12] local.INFO: Packet analysis {"connection_id":150233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:23:12] local.INFO: Extracted packet for processing {"connection_id":150233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":754167680,"raw_latitude":118573992,"longitude_deg":75.416768,"latitude_deg":11.8573992,"altitude":13,"angle":314,"satellites":36,"speed":26,"hex_longitude":"2cf3af80","hex_latitude":"07114ba8","is_valid_coordinates":true} 
[2026-08-08 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260002560001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375328919890427904,"note":"Value kept but may cause issues"} 
[2026-08-08 12:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-879257428146302976,"note":"Value kept but may cause issues"} 
[2026-08-08 12:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786171903000,"timestamp_ms":1786171903000,"timestamp_seconds":1786171903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0244c18"} 
[2026-08-08 12:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 12:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260002560001,"66":27767,"100":206,"2":54272,"24":26,"16":375328919890427904,"44":-879257428146302976},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-08 12:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260002560001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:23:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 12:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375328919890427904,"km_value":375328919890427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-879257428146302976,"description":"Unknown IO ID 44"} 
[2026-08-08 12:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260002560001,"power":27767,"unknown_100":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-879257428146302976}} 
[2026-08-08 12:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":150233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:23:12] local.INFO: GPS data processed {"connection_id":150233,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:23:12] local.INFO: Acknowledgment sent {"connection_id":150233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:23:48] local.INFO: TCP Data received {"connection_id":150233,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0248a98012cf3970007116518000b014226..."} 
[2026-08-08 12:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0248a98012cf3970007116518000b014226..."} 
[2026-08-08 12:23:48] local.INFO: Processing buffer {"connection_id":150233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0248a98012cf3970007116518000b014226..."} 
[2026-08-08 12:23:48] local.INFO: Packet analysis {"connection_id":150233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:23:48] local.INFO: Extracted packet for processing {"connection_id":150233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:23:48] local.INFO: GPS Element Parsed {"raw_longitude":754161408,"raw_latitude":118580504,"longitude_deg":75.4161408,"latitude_deg":11.8580504,"altitude":11,"angle":322,"satellites":38,"speed":23,"hex_longitude":"2cf39700","hex_latitude":"07116518","is_valid_coordinates":true} 
[2026-08-08 12:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260007168001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375329357977092096,"note":"Value kept but may cause issues"} 
[2026-08-08 12:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-887349833725401088,"note":"Value kept but may cause issues"} 
[2026-08-08 12:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786171919000,"timestamp_ms":1786171919000,"timestamp_seconds":1786171919,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0248a98"} 
[2026-08-08 12:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260007168001,"66":27865,"100":206,"2":54272,"24":23,"16":375329357977092096,"44":-887349833725401088},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-08 12:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260007168001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:23:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 12:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375329357977092096,"km_value":375329357977092.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-887349833725401088,"description":"Unknown IO ID 44"} 
[2026-08-08 12:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260007168001,"power":27865,"unknown_100":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-887349833725401088}} 
[2026-08-08 12:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":150233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:23:48] local.INFO: GPS data processed {"connection_id":150233,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:23:48] local.INFO: Acknowledgment sent {"connection_id":150233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:24:05] local.INFO: TCP Data received {"connection_id":150503,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:24:05] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:24:05] local.INFO: IMEI packet received {"connection_id":150503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":150503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:24:10] local.INFO: TCP Data received {"connection_id":150503,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:24:10] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:24:10] local.INFO: IMEI packet received {"connection_id":150503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":150503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:24:12] local.INFO: TCP Data received {"connection_id":150503,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe024bd60012cf3804007118208000b013a27..."} 
[2026-08-08 12:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe024bd60012cf3804007118208000b013a27..."} 
[2026-08-08 12:24:12] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe024bd60012cf3804007118208000b013a27..."} 
[2026-08-08 12:24:12] local.INFO: Packet analysis {"connection_id":150503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:24:12] local.INFO: Extracted packet for processing {"connection_id":150503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":754155584,"raw_latitude":118587912,"longitude_deg":75.4155584,"latitude_deg":11.8587912,"altitude":11,"angle":314,"satellites":39,"speed":33,"hex_longitude":"2cf38040","hex_latitude":"07118208","is_valid_coordinates":true} 
[2026-08-08 12:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260011264001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375329808948658176,"note":"Value kept but may cause issues"} 
[2026-08-08 12:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-894245970653145088,"note":"Value kept but may cause issues"} 
[2026-08-08 12:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786171932000,"timestamp_ms":1786171932000,"timestamp_seconds":1786171932,"priority":1,"record_length":96,"hex_timestamp":"0000019fe024bd60"} 
[2026-08-08 12:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260011264001,"66":27821,"100":206,"2":54272,"24":33,"16":375329808948658176,"44":-894245970653145088},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-08 12:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260011264001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 12:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375329808948658176,"km_value":375329808948658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-894245970653145088,"description":"Unknown IO ID 44"} 
[2026-08-08 12:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260011264001,"power":27821,"unknown_100":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-894245970653145088}} 
[2026-08-08 12:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":150503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:24:12] local.INFO: GPS data processed {"connection_id":150503,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:24:12] local.INFO: Acknowledgment sent {"connection_id":150503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:24:44] local.INFO: TCP Data received {"connection_id":150503,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe024ec40012cf3668007119a60000b01372b..."} 
[2026-08-08 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe024ec40012cf3668007119a60000b01372b..."} 
[2026-08-08 12:24:44] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe024ec40012cf3668007119a60000b01372b..."} 
[2026-08-08 12:24:44] local.INFO: Packet analysis {"connection_id":150503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:24:44] local.INFO: Extracted packet for processing {"connection_id":150503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe024"} 
[2026-08-08 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":754148992,"raw_latitude":118594144,"longitude_deg":75.4148992,"latitude_deg":11.8594144,"altitude":11,"angle":311,"satellites":43,"speed":19,"hex_longitude":"2cf36680","hex_latitude":"07119a60","is_valid_coordinates":true} 
[2026-08-08 12:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260014592001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375330242740355072,"note":"Value kept but may cause issues"} 
[2026-08-08 12:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-900649526371416064,"note":"Value kept but may cause issues"} 
[2026-08-08 12:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786171944000,"timestamp_ms":1786171944000,"timestamp_seconds":1786171944,"priority":1,"record_length":96,"hex_timestamp":"0000019fe024ec40"} 
[2026-08-08 12:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 12:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260014592001,"66":27887,"100":206,"2":54272,"24":19,"16":375330242740355072,"44":-900649526371416064},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-08 12:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260014592001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:24:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-08 12:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375330242740355072,"km_value":375330242740355.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-900649526371416064,"description":"Unknown IO ID 44"} 
[2026-08-08 12:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260014592001,"power":27887,"unknown_100":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-900649526371416064}} 
[2026-08-08 12:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":150503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:24:44] local.INFO: GPS data processed {"connection_id":150503,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:24:44] local.INFO: Acknowledgment sent {"connection_id":150503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:25:05] local.INFO: TCP Data received {"connection_id":151459,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:25:05] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:25:05] local.INFO: IMEI packet received {"connection_id":151459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":151459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:25:10] local.INFO: TCP Data received {"connection_id":151459,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:25:10] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:25:10] local.INFO: IMEI packet received {"connection_id":151459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":151459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:25:11] local.INFO: TCP Data received {"connection_id":151459,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0253a60012cf34c000711b3a0000c013a29..."} 
[2026-08-08 12:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0253a60012cf34c000711b3a0000c013a29..."} 
[2026-08-08 12:25:11] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0253a60012cf34c000711b3a0000c013a29..."} 
[2026-08-08 12:25:11] local.INFO: Packet analysis {"connection_id":151459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:25:11] local.INFO: Extracted packet for processing {"connection_id":151459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:25:11] local.INFO: GPS Element Parsed {"raw_longitude":754142208,"raw_latitude":118600608,"longitude_deg":75.4142208,"latitude_deg":11.8600608,"altitude":12,"angle":314,"satellites":41,"speed":23,"hex_longitude":"2cf34c00","hex_latitude":"0711b3a0","is_valid_coordinates":true} 
[2026-08-08 12:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260017664001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375330693711921152,"note":"Value kept but may cause issues"} 
[2026-08-08 12:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-907897507020120064,"note":"Value kept but may cause issues"} 
[2026-08-08 12:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171964000,"timestamp_ms":1786171964000,"timestamp_seconds":1786171964,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0253a60"} 
[2026-08-08 12:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 12:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260017664001,"66":27908,"101":206,"2":54272,"24":23,"16":375330693711921152,"44":-907897507020120064},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260017664001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:25:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375330693711921152,"km_value":375330693711921.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-907897507020120064,"description":"Unknown IO ID 44"} 
[2026-08-08 12:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260017664001,"power":27908,"unknown_101":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-907897507020120064}} 
[2026-08-08 12:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":151459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:25:11] local.INFO: GPS data processed {"connection_id":151459,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:25:11] local.INFO: Acknowledgment sent {"connection_id":151459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:25:43] local.INFO: TCP Data received {"connection_id":151459,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0256d28012cf332800711cc700009013a2b..."} 
[2026-08-08 12:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0256d28012cf332800711cc700009013a2b..."} 
[2026-08-08 12:25:43] local.INFO: Processing buffer {"connection_id":151459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0256d28012cf332800711cc700009013a2b..."} 
[2026-08-08 12:25:43] local.INFO: Packet analysis {"connection_id":151459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:25:43] local.INFO: Extracted packet for processing {"connection_id":151459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:25:43] local.INFO: GPS Element Parsed {"raw_longitude":754135680,"raw_latitude":118606960,"longitude_deg":75.413568,"latitude_deg":11.860696,"altitude":9,"angle":314,"satellites":43,"speed":29,"hex_longitude":"2cf33280","hex_latitude":"0711cc70","is_valid_coordinates":true} 
[2026-08-08 12:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260022784001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375331131798585344,"note":"Value kept but may cause issues"} 
[2026-08-08 12:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-915356593901297664,"note":"Value kept but may cause issues"} 
[2026-08-08 12:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786171977000,"timestamp_ms":1786171977000,"timestamp_seconds":1786171977,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0256d28"} 
[2026-08-08 12:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260022784001,"66":27821,"101":206,"2":54272,"24":29,"16":375331131798585344,"44":-915356593901297664},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260022784001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:25:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375331131798585344,"km_value":375331131798585.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-915356593901297664,"description":"Unknown IO ID 44"} 
[2026-08-08 12:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260022784001,"power":27821,"unknown_101":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-915356593901297664}} 
[2026-08-08 12:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":151459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:25:43] local.INFO: GPS data processed {"connection_id":151459,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:25:43] local.INFO: Acknowledgment sent {"connection_id":151459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:26:05] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:26:05] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:26:05] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:26:10] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:26:10] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:26:10] local.INFO: IMEI packet received {"connection_id":152942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":152942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:26:11] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0259c08012cf317800711e6400009013a29..."} 
[2026-08-08 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0259c08012cf317800711e6400009013a29..."} 
[2026-08-08 12:26:11] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0259c08012cf317800711e6400009013a29..."} 
[2026-08-08 12:26:11] local.INFO: Packet analysis {"connection_id":152942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:26:11] local.INFO: Extracted packet for processing {"connection_id":152942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":754128768,"raw_latitude":118613568,"longitude_deg":75.4128768,"latitude_deg":11.8613568,"altitude":9,"angle":314,"satellites":41,"speed":31,"hex_longitude":"2cf31780","hex_latitude":"0711e640","is_valid_coordinates":true} 
[2026-08-08 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260026112001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375331587065118720,"note":"Value kept but may cause issues"} 
[2026-08-08 12:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-922534205805793280,"note":"Value kept but may cause issues"} 
[2026-08-08 12:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786171989000,"timestamp_ms":1786171989000,"timestamp_seconds":1786171989,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0259c08"} 
[2026-08-08 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260026112001,"66":27832,"101":206,"2":54272,"24":31,"16":375331587065118720,"44":-922534205805793280},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260026112001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:26:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375331587065118720,"km_value":375331587065118.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-922534205805793280,"description":"Unknown IO ID 44"} 
[2026-08-08 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260026112001,"power":27832,"unknown_101":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-922534205805793280}} 
[2026-08-08 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":152942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:26:11] local.INFO: GPS data processed {"connection_id":152942,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:26:11] local.INFO: Acknowledgment sent {"connection_id":152942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:26:42] local.INFO: TCP Data received {"connection_id":152942,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe025d6a0012cf2fd000711ffd0000901392b..."} 
[2026-08-08 12:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe025d6a0012cf2fd000711ffd0000901392b..."} 
[2026-08-08 12:26:42] local.INFO: Processing buffer {"connection_id":152942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe025d6a0012cf2fd000711ffd0000901392b..."} 
[2026-08-08 12:26:42] local.INFO: Packet analysis {"connection_id":152942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:26:42] local.INFO: Extracted packet for processing {"connection_id":152942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe025"} 
[2026-08-08 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":754121984,"raw_latitude":118620112,"longitude_deg":75.4121984,"latitude_deg":11.8620112,"altitude":9,"angle":313,"satellites":43,"speed":29,"hex_longitude":"2cf2fd00","hex_latitude":"0711ffd0","is_valid_coordinates":true} 
[2026-08-08 12:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260029184001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375332042331652096,"note":"Value kept but may cause issues"} 
[2026-08-08 12:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-930134030175289344,"note":"Value kept but may cause issues"} 
[2026-08-08 12:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786172004000,"timestamp_ms":1786172004000,"timestamp_seconds":1786172004,"priority":1,"record_length":96,"hex_timestamp":"0000019fe025d6a0"} 
[2026-08-08 12:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 12:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260029184001,"66":27843,"101":206,"2":54272,"24":29,"16":375332042331652096,"44":-930134030175289344},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260029184001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:26:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375332042331652096,"km_value":375332042331652.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-930134030175289344,"description":"Unknown IO ID 44"} 
[2026-08-08 12:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260029184001,"power":27843,"unknown_101":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-930134030175289344}} 
[2026-08-08 12:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":152942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:26:42] local.INFO: GPS data processed {"connection_id":152942,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:26:42] local.INFO: Acknowledgment sent {"connection_id":152942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:27:10] local.INFO: TCP Data received {"connection_id":151460,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:27:10] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:27:10] local.INFO: IMEI packet received {"connection_id":151460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":151460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:27:15] local.INFO: TCP Data received {"connection_id":151460,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:27:15] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:27:15] local.INFO: IMEI packet received {"connection_id":151460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":151460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:27:16] local.INFO: TCP Data received {"connection_id":151460,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0260198012cf2e18007121758000801342a..."} 
[2026-08-08 12:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0260198012cf2e18007121758000801342a..."} 
[2026-08-08 12:27:16] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0260198012cf2e18007121758000801342a..."} 
[2026-08-08 12:27:16] local.INFO: Packet analysis {"connection_id":151460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:27:16] local.INFO: Extracted packet for processing {"connection_id":151460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:27:16] local.INFO: GPS Element Parsed {"raw_longitude":754114944,"raw_latitude":118626136,"longitude_deg":75.4114944,"latitude_deg":11.8626136,"altitude":8,"angle":308,"satellites":42,"speed":34,"hex_longitude":"2cf2e180","hex_latitude":"07121758","is_valid_coordinates":true} 
[2026-08-08 12:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260033024001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375332489008250880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-937593117056446464,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786172015000,"timestamp_ms":1786172015000,"timestamp_seconds":1786172015,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0260198"} 
[2026-08-08 12:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 12:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260033024001,"66":27691,"101":206,"2":54272,"24":34,"16":375332489008250880,"44":-937593117056446464},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260033024001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:27:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375332489008250880,"km_value":375332489008250.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:27:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-937593117056446464,"description":"Unknown IO ID 44"} 
[2026-08-08 12:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260033024001,"power":27691,"unknown_101":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-937593117056446464}} 
[2026-08-08 12:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":151460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:27:16] local.INFO: GPS data processed {"connection_id":151460,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:27:16] local.INFO: Acknowledgment sent {"connection_id":151460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:27:17] local.INFO: TCP Data received {"connection_id":151460,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02647e8012cf2c44007122cb0000901322c..."} 
[2026-08-08 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02647e8012cf2c44007122cb0000901322c..."} 
[2026-08-08 12:27:17] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02647e8012cf2c44007122cb0000901322c..."} 
[2026-08-08 12:27:17] local.INFO: Packet analysis {"connection_id":151460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:27:17] local.INFO: Extracted packet for processing {"connection_id":151460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":754107456,"raw_latitude":118631600,"longitude_deg":75.4107456,"latitude_deg":11.86316,"altitude":9,"angle":306,"satellites":44,"speed":17,"hex_longitude":"2cf2c440","hex_latitude":"07122cb0","is_valid_coordinates":true} 
[2026-08-08 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260035840001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375332931389882368,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-945333678914447360,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786172033000,"timestamp_ms":1786172033000,"timestamp_seconds":1786172033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02647e8"} 
[2026-08-08 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-08 12:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260035840001,"66":27908,"101":206,"2":54272,"24":17,"16":375332931389882368,"44":-945333678914447360},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260035840001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:27:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375332931389882368,"km_value":375332931389882.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:27:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-945333678914447360,"description":"Unknown IO ID 44"} 
[2026-08-08 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260035840001,"power":27908,"unknown_101":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-945333678914447360}} 
[2026-08-08 12:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":151460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:27:17] local.INFO: GPS data processed {"connection_id":151460,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:27:17] local.INFO: Acknowledgment sent {"connection_id":151460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:27:49] local.INFO: TCP Data received {"connection_id":151460,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02699f0012cf2a8c007123e58000a012b2c..."} 
[2026-08-08 12:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02699f0012cf2a8c007123e58000a012b2c..."} 
[2026-08-08 12:27:49] local.INFO: Processing buffer {"connection_id":151460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02699f0012cf2a8c007123e58000a012b2c..."} 
[2026-08-08 12:27:49] local.INFO: Packet analysis {"connection_id":151460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:27:49] local.INFO: Extracted packet for processing {"connection_id":151460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:27:49] local.INFO: GPS Element Parsed {"raw_longitude":754100416,"raw_latitude":118636120,"longitude_deg":75.4100416,"latitude_deg":11.863612,"altitude":10,"angle":299,"satellites":44,"speed":2,"hex_longitude":"2cf2a8c0","hex_latitude":"07123e58","is_valid_coordinates":true} 
[2026-08-08 12:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260040448001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375333330821840896,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-953566821981835264,"note":"Value kept but may cause issues"} 
[2026-08-08 12:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786172054000,"timestamp_ms":1786172054000,"timestamp_seconds":1786172054,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02699f0"} 
[2026-08-08 12:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260040448001,"66":27865,"101":206,"2":54272,"24":2,"16":375333330821840896,"44":-953566821981835264},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260040448001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:27:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375333330821840896,"km_value":375333330821840.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-953566821981835264,"description":"Unknown IO ID 44"} 
[2026-08-08 12:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260040448001,"power":27865,"unknown_101":206,"power_alt":54272,"ignition":2,"odometer":null,"unknown_44":-953566821981835264}} 
[2026-08-08 12:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":151460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:27:49] local.INFO: GPS data processed {"connection_id":151460,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:27:49] local.INFO: Acknowledgment sent {"connection_id":151460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:28:05] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:28:05] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:28:05] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:28:09] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:28:09] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:28:09] local.INFO: IMEI packet received {"connection_id":152943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":152943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:28:12] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe026ebf8012cf29f4007124450000a012f2a..."} 
[2026-08-08 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe026ebf8012cf29f4007124450000a012f2a..."} 
[2026-08-08 12:28:12] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe026ebf8012cf29f4007124450000a012f2a..."} 
[2026-08-08 12:28:12] local.INFO: Packet analysis {"connection_id":152943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:28:12] local.INFO: Extracted packet for processing {"connection_id":152943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe026"} 
[2026-08-08 12:28:12] local.INFO: GPS Element Parsed {"raw_longitude":754097984,"raw_latitude":118637648,"longitude_deg":75.4097984,"latitude_deg":11.8637648,"altitude":10,"angle":303,"satellites":42,"speed":11,"hex_longitude":"2cf29f40","hex_latitude":"07124450","is_valid_coordinates":true} 
[2026-08-08 12:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260045824001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375333468260794368,"note":"Value kept but may cause issues"} 
[2026-08-08 12:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-961307383840221184,"note":"Value kept but may cause issues"} 
[2026-08-08 12:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786172075000,"timestamp_ms":1786172075000,"timestamp_seconds":1786172075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe026ebf8"} 
[2026-08-08 12:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260045824001,"66":28006,"101":206,"2":54272,"24":11,"16":375333468260794368,"44":-961307383840221184},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260045824001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:28:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375333468260794368,"km_value":375333468260794.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-961307383840221184,"description":"Unknown IO ID 44"} 
[2026-08-08 12:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260045824001,"power":28006,"unknown_101":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-961307383840221184}} 
[2026-08-08 12:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":152943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:28:12] local.INFO: GPS data processed {"connection_id":152943,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:28:12] local.INFO: Acknowledgment sent {"connection_id":152943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:28:43] local.INFO: TCP Data received {"connection_id":152943,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0273e00012cf28340071254d0000c012c29..."} 
[2026-08-08 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0273e00012cf28340071254d0000c012c29..."} 
[2026-08-08 12:28:43] local.INFO: Processing buffer {"connection_id":152943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0273e00012cf28340071254d0000c012c29..."} 
[2026-08-08 12:28:43] local.INFO: Packet analysis {"connection_id":152943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe027"} 
[2026-08-08 12:28:43] local.INFO: Extracted packet for processing {"connection_id":152943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe027"} 
[2026-08-08 12:28:43] local.INFO: GPS Element Parsed {"raw_longitude":754090816,"raw_latitude":118641872,"longitude_deg":75.4090816,"latitude_deg":11.8641872,"altitude":12,"angle":300,"satellites":41,"speed":21,"hex_longitude":"2cf28340","hex_latitude":"071254d0","is_valid_coordinates":true} 
[2026-08-08 12:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260051200001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375333867692752896,"note":"Value kept but may cause issues"} 
[2026-08-08 12:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-963981396118581248,"note":"Value kept but may cause issues"} 
[2026-08-08 12:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786172096000,"timestamp_ms":1786172096000,"timestamp_seconds":1786172096,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0273e00"} 
[2026-08-08 12:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 12:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260051200001,"66":27865,"101":206,"2":54272,"24":21,"16":375333867692752896,"44":-963981396118581248},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-08 12:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260051200001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:28:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 12:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375333867692752896,"km_value":375333867692752.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-963981396118581248,"description":"Unknown IO ID 44"} 
[2026-08-08 12:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260051200001,"power":27865,"unknown_101":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-963981396118581248}} 
[2026-08-08 12:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":152943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:28:43] local.INFO: GPS data processed {"connection_id":152943,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:28:43] local.INFO: Acknowledgment sent {"connection_id":152943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:29:06] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:29:06] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:29:06] local.INFO: IMEI packet received {"connection_id":150504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":150504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:29:10] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:29:10] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:29:10] local.INFO: IMEI packet received {"connection_id":150504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":150504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:29:12] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe029ed80012cf1f2c00712cce0000a012829..."} 
[2026-08-08 12:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe029ed80012cf1f2c00712cce0000a012829..."} 
[2026-08-08 12:29:12] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe029ed80012cf1f2c00712cce0000a012829..."} 
[2026-08-08 12:29:12] local.INFO: Packet analysis {"connection_id":150504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe029"} 
[2026-08-08 12:29:12] local.INFO: Extracted packet for processing {"connection_id":150504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe029"} 
[2026-08-08 12:29:12] local.INFO: GPS Element Parsed {"raw_longitude":754053824,"raw_latitude":118672608,"longitude_deg":75.4053824,"latitude_deg":11.8672608,"altitude":10,"angle":296,"satellites":41,"speed":17,"hex_longitude":"2cf1f2c0","hex_latitude":"0712cce0","is_valid_coordinates":true} 
[2026-08-08 12:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260097792001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375336238514700288,"note":"Value kept but may cause issues"} 
[2026-08-08 12:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1003669367826898944,"note":"Value kept but may cause issues"} 
[2026-08-08 12:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786172272000,"timestamp_ms":1786172272000,"timestamp_seconds":1786172272,"priority":1,"record_length":96,"hex_timestamp":"0000019fe029ed80"} 
[2026-08-08 12:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260097792001,"66":27865,"96":206,"2":54272,"24":17,"16":375336238514700288,"44":-1003669367826898944},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-08 12:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260097792001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:29:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-08 12:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375336238514700288,"km_value":375336238514700.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1003669367826898944,"description":"Unknown IO ID 44"} 
[2026-08-08 12:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260097792001,"power":27865,"unknown_96":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1003669367826898944}} 
[2026-08-08 12:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":150504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:29:12] local.INFO: GPS data processed {"connection_id":150504,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:29:12] local.INFO: Acknowledgment sent {"connection_id":150504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:29:43] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02a2c00012cf1e0000712d6080009011c2b..."} 
[2026-08-08 12:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02a2c00012cf1e0000712d6080009011c2b..."} 
[2026-08-08 12:29:43] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02a2c00012cf1e0000712d6080009011c2b..."} 
[2026-08-08 12:29:43] local.INFO: Packet analysis {"connection_id":150504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:29:43] local.INFO: Extracted packet for processing {"connection_id":150504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:29:43] local.INFO: GPS Element Parsed {"raw_longitude":754049024,"raw_latitude":118674952,"longitude_deg":75.4049024,"latitude_deg":11.8674952,"altitude":9,"angle":284,"satellites":43,"speed":8,"hex_longitude":"2cf1e000","hex_latitude":"0712d608","is_valid_coordinates":true} 
[2026-08-08 12:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260101632001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375336496212738048,"note":"Value kept but may cause issues"} 
[2026-08-08 12:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1012535829592219648,"note":"Value kept but may cause issues"} 
[2026-08-08 12:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786172288000,"timestamp_ms":1786172288000,"timestamp_seconds":1786172288,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02a2c00"} 
[2026-08-08 12:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260101632001,"66":27865,"96":206,"2":54272,"24":8,"16":375336496212738048,"44":-1012535829592219648},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-08 12:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260101632001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:29:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-08 12:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375336496212738048,"km_value":375336496212738.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1012535829592219648,"description":"Unknown IO ID 44"} 
[2026-08-08 12:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260101632001,"power":27865,"unknown_96":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1012535829592219648}} 
[2026-08-08 12:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:29:43] local.INFO: GPS data processed {"connection_id":150504,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:29:43] local.INFO: Acknowledgment sent {"connection_id":150504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:30:05] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:05] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:05] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:30:06] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:06] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:06] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:30:10] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:10] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:30:10] local.INFO: IMEI packet received {"connection_id":152944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":152944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:30:11] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02a5ec8012cf1dac00712d8e80009012d2a..."} 
[2026-08-08 12:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02a5ec8012cf1dac00712d8e80009012d2a..."} 
[2026-08-08 12:30:11] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02a5ec8012cf1dac00712d8e80009012d2a..."} 
[2026-08-08 12:30:11] local.INFO: Packet analysis {"connection_id":152944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:30:11] local.INFO: Extracted packet for processing {"connection_id":152944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:30:11] local.INFO: GPS Element Parsed {"raw_longitude":754047680,"raw_latitude":118675688,"longitude_deg":75.404768,"latitude_deg":11.8675688,"altitude":9,"angle":301,"satellites":42,"speed":9,"hex_longitude":"2cf1dac0","hex_latitude":"0712d8e8","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260105728001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375336564932214784,"note":"Value kept but may cause issues"} 
[2026-08-08 12:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1017813485404944384,"note":"Value kept but may cause issues"} 
[2026-08-08 12:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786172301000,"timestamp_ms":1786172301000,"timestamp_seconds":1786172301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02a5ec8"} 
[2026-08-08 12:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260105728001,"66":27800,"98":206,"2":54272,"24":9,"16":375336564932214784,"44":-1017813485404944384},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 12:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260105728001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 12:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375336564932214784,"km_value":375336564932214.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1017813485404944384,"description":"Unknown IO ID 44"} 
[2026-08-08 12:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260105728001,"power":27800,"unknown_98":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1017813485404944384}} 
[2026-08-08 12:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":152944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:30:11] local.INFO: GPS data processed {"connection_id":152944,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:30:11] local.INFO: Acknowledgment sent {"connection_id":152944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:30:48] local.INFO: TCP Data received {"connection_id":152944,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02a9960012cf1c7400712e710000b01382b..."} 
[2026-08-08 12:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02a9960012cf1c7400712e710000b01382b..."} 
[2026-08-08 12:30:48] local.INFO: Processing buffer {"connection_id":152944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02a9960012cf1c7400712e710000b01382b..."} 
[2026-08-08 12:30:48] local.INFO: Packet analysis {"connection_id":152944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:30:48] local.INFO: Extracted packet for processing {"connection_id":152944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:30:48] local.INFO: GPS Element Parsed {"raw_longitude":754042688,"raw_latitude":118679312,"longitude_deg":75.4042688,"latitude_deg":11.8679312,"altitude":11,"angle":312,"satellites":43,"speed":21,"hex_longitude":"2cf1c740","hex_latitude":"0712e710","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260109056001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375336865579925504,"note":"Value kept but may cause issues"} 
[2026-08-08 12:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1019291229032486912,"note":"Value kept but may cause issues"} 
[2026-08-08 12:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786172316000,"timestamp_ms":1786172316000,"timestamp_seconds":1786172316,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02a9960"} 
[2026-08-08 12:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:30: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-08-08 12: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-08-08 12:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260109056001,"66":27865,"98":206,"2":54272,"24":21,"16":375336865579925504,"44":-1019291229032486912},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 12:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260109056001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:30:48] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 12:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375336865579925504,"km_value":375336865579925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:30:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1019291229032486912,"description":"Unknown IO ID 44"} 
[2026-08-08 12:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260109056001,"power":27865,"unknown_98":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1019291229032486912}} 
[2026-08-08 12:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":152944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:30:48] local.INFO: GPS data processed {"connection_id":152944,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:30:48] local.INFO: Acknowledgment sent {"connection_id":152944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:31:10] local.INFO: TCP Data received {"connection_id":150234,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:31:10] local.INFO: Processing buffer {"connection_id":150234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:31:10] local.INFO: IMEI packet received {"connection_id":150234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":150234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:31:15] local.INFO: TCP Data received {"connection_id":150234,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:31:15] local.INFO: Processing buffer {"connection_id":150234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:31:15] local.INFO: IMEI packet received {"connection_id":150234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":150234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:31:16] local.INFO: TCP Data received {"connection_id":150234,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02ad010012cf1ab8007130098000b013929..."} 
[2026-08-08 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02ad010012cf1ab8007130098000b013929..."} 
[2026-08-08 12:31:16] local.INFO: Processing buffer {"connection_id":150234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02ad010012cf1ab8007130098000b013929..."} 
[2026-08-08 12:31:16] local.INFO: Packet analysis {"connection_id":150234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:31:16] local.INFO: Extracted packet for processing {"connection_id":150234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":754035584,"raw_latitude":118685848,"longitude_deg":75.4035584,"latitude_deg":11.8685848,"altitude":11,"angle":313,"satellites":41,"speed":32,"hex_longitude":"2cf1ab80","hex_latitude":"07130098","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260112896001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375337325141426176,"note":"Value kept but may cause issues"} 
[2026-08-08 12:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1024779991077416960,"note":"Value kept but may cause issues"} 
[2026-08-08 12:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786172330000,"timestamp_ms":1786172330000,"timestamp_seconds":1786172330,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02ad010"} 
[2026-08-08 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260112896001,"66":27930,"98":206,"2":54272,"24":32,"16":375337325141426176,"44":-1024779991077416960},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260112896001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:31:16] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375337325141426176,"km_value":375337325141426.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1024779991077416960,"description":"Unknown IO ID 44"} 
[2026-08-08 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260112896001,"power":27930,"unknown_98":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1024779991077416960}} 
[2026-08-08 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":150234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:31:16] local.INFO: GPS data processed {"connection_id":150234,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:31:16] local.INFO: Acknowledgment sent {"connection_id":150234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:31:21] local.INFO: TCP Data received {"connection_id":150234,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02afb08012cf1900007131978000d013a27..."} 
[2026-08-08 12:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02afb08012cf1900007131978000d013a27..."} 
[2026-08-08 12:31:21] local.INFO: Processing buffer {"connection_id":150234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02afb08012cf1900007131978000d013a27..."} 
[2026-08-08 12:31:21] local.INFO: Packet analysis {"connection_id":150234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:31:21] local.INFO: Extracted packet for processing {"connection_id":150234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02a"} 
[2026-08-08 12:31:21] local.INFO: GPS Element Parsed {"raw_longitude":754028544,"raw_latitude":118692216,"longitude_deg":75.4028544,"latitude_deg":11.8692216,"altitude":13,"angle":314,"satellites":39,"speed":31,"hex_longitude":"2cf19000","hex_latitude":"07131978","is_valid_coordinates":true} 
[2026-08-08 12:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260116480001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375337780407959552,"note":"Value kept but may cause issues"} 
[2026-08-08 12:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1032590921679464448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786172341000,"timestamp_ms":1786172341000,"timestamp_seconds":1786172341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02afb08"} 
[2026-08-08 12:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260116480001,"66":27908,"98":206,"2":54272,"24":31,"16":375337780407959552,"44":-1032590921679464448},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-08-08 12:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260116480001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:31:21] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 12:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375337780407959552,"km_value":375337780407959.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1032590921679464448,"description":"Unknown IO ID 44"} 
[2026-08-08 12:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260116480001,"power":27908,"unknown_98":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1032590921679464448}} 
[2026-08-08 12:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":150234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:31:21] local.INFO: GPS data processed {"connection_id":150234,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:31:21] local.INFO: Acknowledgment sent {"connection_id":150234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:32:05] local.INFO: TCP Data received {"connection_id":151461,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:32:05] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:32:05] local.INFO: IMEI packet received {"connection_id":151461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":151461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:32:10] local.INFO: TCP Data received {"connection_id":151461,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:32:10] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:32:10] local.INFO: IMEI packet received {"connection_id":151461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":151461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:32:11] local.INFO: TCP Data received {"connection_id":151461,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02b2dd0012cf175c007133140001301382b..."} 
[2026-08-08 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02b2dd0012cf175c007133140001301382b..."} 
[2026-08-08 12:32:11] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02b2dd0012cf175c007133140001301382b..."} 
[2026-08-08 12:32:11] local.INFO: Packet analysis {"connection_id":151461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02b"} 
[2026-08-08 12:32:11] local.INFO: Extracted packet for processing {"connection_id":151461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02b"} 
[2026-08-08 12:32:11] local.INFO: GPS Element Parsed {"raw_longitude":754021824,"raw_latitude":118698304,"longitude_deg":75.4021824,"latitude_deg":11.8698304,"altitude":19,"angle":312,"satellites":43,"speed":28,"hex_longitude":"2cf175c0","hex_latitude":"07133140","is_valid_coordinates":true} 
[2026-08-08 12:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260119296001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375338214199656448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1040331483537377280,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786172354000,"timestamp_ms":1786172354000,"timestamp_seconds":1786172354,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02b2dd0"} 
[2026-08-08 12:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260119296001,"66":27865,"63":206,"2":54272,"24":28,"16":375338214199656448,"44":-1040331483537377280},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-08-08 12:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260119296001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:32:11] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-08 12:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375338214199656448,"km_value":375338214199656.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1040331483537377280,"description":"Unknown IO ID 44"} 
[2026-08-08 12:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260119296001,"power":27865,"unknown_63":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1040331483537377280}} 
[2026-08-08 12:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":151461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:32:11] local.INFO: GPS data processed {"connection_id":151461,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:32:11] local.INFO: Acknowledgment sent {"connection_id":151461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:32:31] local.INFO: TCP Data received {"connection_id":152945,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:31] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:31] local.INFO: IMEI packet received {"connection_id":152945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":152945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:32:33] local.INFO: TCP Data received {"connection_id":152945,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:33] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:33] local.INFO: IMEI packet received {"connection_id":152945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":152945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:32:36] local.INFO: TCP Data received {"connection_id":152945,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:36] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:32:36] local.INFO: IMEI packet received {"connection_id":152945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":152945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:32:37] local.INFO: TCP Data received {"connection_id":152945,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02d0678012d18ae800722daa8006800d127..."} 
[2026-08-08 12:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02d0678012d18ae800722daa8006800d127..."} 
[2026-08-08 12:32:37] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02d0678012d18ae800722daa8006800d127..."} 
[2026-08-08 12:32:37] local.INFO: Packet analysis {"connection_id":152945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02d"} 
[2026-08-08 12:32:37] local.INFO: Extracted packet for processing {"connection_id":152945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02d"} 
[2026-08-08 12:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119724712,"longitude_deg":75.6592256,"latitude_deg":11.9724712,"altitude":104,"angle":209,"satellites":39,"speed":36,"hex_longitude":"2d18ae80","hex_latitude":"0722daa8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260151808001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11385747848298496,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839555248128,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786172475000,"timestamp_ms":1786172475000,"timestamp_seconds":1786172475,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02d0678"} 
[2026-08-08 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-08-08 12:32: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-08-08 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867796082,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1729374410153394081,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3761027160,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2244763106771206154,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634136533985136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-8574627296613183972,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,112,28,24,241,158,16,114,159,227,45,64,249,101,41,10,66,223,252,215,192,1,240,224,35,4,113,205,38,199,207,136,40,239,54,2,7,96,39,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-08-08 12:32:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7350090272243712000,"timestamp_seconds":7350090272243712,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 12:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260151808001,"66":13820,"120":206,"28":31744,"24":36,"16":11385747848298496,"45":1780821839555248128},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260151808001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:32:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11385747848298496,"km_value":11385747848298.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839555248128,"description":"Unknown IO ID 45"} 
[2026-08-08 12:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260151808001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1780821839555248128}} 
[2026-08-08 12:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":152945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:32:37] local.INFO: GPS data processed {"connection_id":152945,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:32:37] local.INFO: Acknowledgment sent {"connection_id":152945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:32:43] local.INFO: TCP Data received {"connection_id":151461,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02b6098012cf15a80071349380017013628..."} 
[2026-08-08 12:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02b6098012cf15a80071349380017013628..."} 
[2026-08-08 12:32:43] local.INFO: Processing buffer {"connection_id":151461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02b6098012cf15a80071349380017013628..."} 
[2026-08-08 12:32:43] local.INFO: Packet analysis {"connection_id":151461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02b"} 
[2026-08-08 12:32:43] local.INFO: Extracted packet for processing {"connection_id":151461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02b"} 
[2026-08-08 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":754014848,"raw_latitude":118704440,"longitude_deg":75.4014848,"latitude_deg":11.870444,"altitude":23,"angle":310,"satellites":40,"speed":26,"hex_longitude":"2cf15a80","hex_latitude":"07134938","is_valid_coordinates":true} 
[2026-08-08 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260122624001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375338660876255232,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1047720201674473472,"note":"Value kept but may cause issues"} 
[2026-08-08 12:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786172367000,"timestamp_ms":1786172367000,"timestamp_seconds":1786172367,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02b6098"} 
[2026-08-08 12:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260122624001,"66":27180,"63":206,"2":54272,"24":26,"16":375338660876255232,"44":-1047720201674473472},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-08-08 12:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260122624001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:32:43] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-08 12:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375338660876255232,"km_value":375338660876255.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1047720201674473472,"description":"Unknown IO ID 44"} 
[2026-08-08 12:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260122624001,"power":27180,"unknown_63":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1047720201674473472}} 
[2026-08-08 12:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":151461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:32:43] local.INFO: GPS data processed {"connection_id":151461,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:32:43] local.INFO: Acknowledgment sent {"connection_id":151461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:33:05] local.INFO: TCP Data received {"connection_id":150235,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:33:05] local.INFO: Processing buffer {"connection_id":150235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:33:05] local.INFO: IMEI packet received {"connection_id":150235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":150235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:33:09] local.INFO: TCP Data received {"connection_id":152945,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02d1de8012d18a3800722c840006a00c627..."} 
[2026-08-08 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02d1de8012d18a3800722c840006a00c627..."} 
[2026-08-08 12:33:09] local.INFO: Processing buffer {"connection_id":152945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02d1de8012d18a3800722c840006a00c627..."} 
[2026-08-08 12:33:09] local.INFO: Packet analysis {"connection_id":152945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02d"} 
[2026-08-08 12:33:09] local.INFO: Extracted packet for processing {"connection_id":152945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02d"} 
[2026-08-08 12:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119720000,"longitude_deg":75.658944,"latitude_deg":11.972,"altitude":106,"angle":198,"satellites":39,"speed":36,"hex_longitude":"2d18a380","hex_latitude":"0722c840","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260153600001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11386014136270848,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778499670995806208,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33: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-08-08 12:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786172481000,"timestamp_ms":1786172481000,"timestamp_seconds":1786172481,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02d1de8"} 
[2026-08-08 12:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:33: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-08-08 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-08 12:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260153600001,"66":14048,"120":206,"28":31744,"24":36,"16":11386014136270848,"45":1778499670995806208},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260153600001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:33:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11386014136270848,"km_value":11386014136270.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778499670995806208,"description":"Unknown IO ID 45"} 
[2026-08-08 12:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260153600001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1778499670995806208}} 
[2026-08-08 12:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":152945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:33:09] local.INFO: GPS data processed {"connection_id":152945,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:33:09] local.INFO: Acknowledgment sent {"connection_id":152945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:33:10] local.INFO: TCP Data received {"connection_id":150235,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:33:10] local.INFO: Processing buffer {"connection_id":150235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:33:10] local.INFO: IMEI packet received {"connection_id":150235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":150235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:33:11] local.INFO: TCP Data received {"connection_id":150235,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02b9748012cf13d4007135f38001b01292a..."} 
[2026-08-08 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02b9748012cf13d4007135f38001b01292a..."} 
[2026-08-08 12:33:11] local.INFO: Processing buffer {"connection_id":150235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02b9748012cf13d4007135f38001b01292a..."} 
[2026-08-08 12:33:11] local.INFO: Packet analysis {"connection_id":150235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02b"} 
[2026-08-08 12:33:11] local.INFO: Extracted packet for processing {"connection_id":150235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02b"} 
[2026-08-08 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":754007360,"raw_latitude":118710072,"longitude_deg":75.400736,"latitude_deg":11.8710072,"altitude":27,"angle":297,"satellites":42,"speed":26,"hex_longitude":"2cf13d40","hex_latitude":"07135f38","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260125952001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375339111847821312,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1055390394788268032,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786172381000,"timestamp_ms":1786172381000,"timestamp_seconds":1786172381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02b9748"} 
[2026-08-08 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-08-08 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 12:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260125952001,"66":27821,"63":206,"2":54272,"24":26,"16":375339111847821312,"44":-1055390394788268032},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-08-08 12:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260125952001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:33:11] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-08 12:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375339111847821312,"km_value":375339111847821.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1055390394788268032,"description":"Unknown IO ID 44"} 
[2026-08-08 12:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260125952001,"power":27821,"unknown_63":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1055390394788268032}} 
[2026-08-08 12:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":150235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:33:11] local.INFO: GPS data processed {"connection_id":150235,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:33:11] local.INFO: Acknowledgment sent {"connection_id":150235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:33:31] local.INFO: TCP Data received {"connection_id":151462,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:31] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:31] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:33:31] local.INFO: TCP Data received {"connection_id":151462,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:31] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:31] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:33:33] local.INFO: TCP Data received {"connection_id":151462,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:33] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:33] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:33:36] local.INFO: TCP Data received {"connection_id":151462,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:36] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:33:36] local.INFO: IMEI packet received {"connection_id":151462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":151462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:33:38] local.INFO: TCP Data received {"connection_id":151462,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02e5668012d182ac00721bbd0004800d429..."} 
[2026-08-08 12:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02e5668012d182ac00721bbd0004800d429..."} 
[2026-08-08 12:33:38] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02e5668012d182ac00721bbd0004800d429..."} 
[2026-08-08 12:33:38] local.INFO: Packet analysis {"connection_id":151462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:33:38] local.INFO: Extracted packet for processing {"connection_id":151462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119651280,"longitude_deg":75.6558528,"latitude_deg":11.965128,"altitude":72,"angle":212,"satellites":41,"speed":35,"hex_longitude":"2d182ac0","hex_latitude":"0721bbd0","is_valid_coordinates":true} 
[2026-08-08 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260173568001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11389789412524032,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746904104843143168,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33: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-08-08 12:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786172561000,"timestamp_ms":1786172561000,"timestamp_seconds":1786172561,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02e5668"} 
[2026-08-08 12:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 12:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260173568001,"66":14243,"120":206,"28":31744,"24":35,"16":11389789412524032,"45":1746904104843143168},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 12:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260173568001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11389789412524032,"km_value":11389789412524.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746904104843143168,"description":"Unknown IO ID 45"} 
[2026-08-08 12:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260173568001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1746904104843143168}} 
[2026-08-08 12:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":151462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:33:38] local.INFO: GPS data processed {"connection_id":151462,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:33:38] local.INFO: Acknowledgment sent {"connection_id":151462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:33:44] local.INFO: TCP Data received {"connection_id":150235,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02e4ab0012cf08dc0071371d80029010129..."} 
[2026-08-08 12:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02e4ab0012cf08dc0071371d80029010129..."} 
[2026-08-08 12:33:44] local.INFO: Processing buffer {"connection_id":150235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02e4ab0012cf08dc0071371d80029010129..."} 
[2026-08-08 12:33:44] local.INFO: Packet analysis {"connection_id":150235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:33:44] local.INFO: Extracted packet for processing {"connection_id":150235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:33:44] local.INFO: GPS Element Parsed {"raw_longitude":753962432,"raw_latitude":118714840,"longitude_deg":75.3962432,"latitude_deg":11.871484,"altitude":41,"angle":257,"satellites":41,"speed":24,"hex_longitude":"2cf08dc0","hex_latitude":"071371d8","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260169472001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375341336640880640,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1104015197012033536,"note":"Value kept but may cause issues"} 
[2026-08-08 12:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786172558000,"timestamp_ms":1786172558000,"timestamp_seconds":1786172558,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02e4ab0"} 
[2026-08-08 12:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260169472001,"66":27865,"153":206,"2":54272,"24":24,"16":375341336640880640,"44":-1104015197012033536},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-08 12:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260169472001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:33:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 12:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375341336640880640,"km_value":375341336640880.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1104015197012033536,"description":"Unknown IO ID 44"} 
[2026-08-08 12:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260169472001,"power":27865,"unknown_153":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1104015197012033536}} 
[2026-08-08 12:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":150235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:33:44] local.INFO: GPS data processed {"connection_id":150235,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:33:44] local.INFO: Acknowledgment sent {"connection_id":150235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:34:05] local.INFO: TCP Data received {"connection_id":150505,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:05] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:05] local.INFO: IMEI packet received {"connection_id":150505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":150505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:34:06] local.INFO: TCP Data received {"connection_id":150505,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:06] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:06] local.INFO: IMEI packet received {"connection_id":150505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":150505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:34:09] local.INFO: TCP Data received {"connection_id":151462,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02e7d78012d181f400721a898004600be29..."} 
[2026-08-08 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02e7d78012d181f400721a898004600be29..."} 
[2026-08-08 12:34:09] local.INFO: Processing buffer {"connection_id":151462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02e7d78012d181f400721a898004600be29..."} 
[2026-08-08 12:34:09] local.INFO: Packet analysis {"connection_id":151462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:34:09] local.INFO: Extracted packet for processing {"connection_id":151462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646360,"longitude_deg":75.6555584,"latitude_deg":11.964636,"altitude":70,"angle":190,"satellites":41,"speed":15,"hex_longitude":"2d181f40","hex_latitude":"0721a898","is_valid_coordinates":true} 
[2026-08-08 12:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260175616001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11390068585398272,"note":"Value kept but may cause issues"} 
[2026-08-08 12:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342795378688,"note":"Value kept but may cause issues"} 
[2026-08-08 12:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786172571000,"timestamp_ms":1786172571000,"timestamp_seconds":1786172571,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02e7d78"} 
[2026-08-08 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-08-08 12:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-08 12:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260175616001,"66":13993,"121":206,"28":31744,"24":15,"16":11390068585398272,"45":1741415342795378688},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260175616001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:34:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11390068585398272,"km_value":11390068585398.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342795378688,"description":"Unknown IO ID 45"} 
[2026-08-08 12:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260175616001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1741415342795378688}} 
[2026-08-08 12:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":151462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:34:09] local.INFO: GPS data processed {"connection_id":151462,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:34:09] local.INFO: Acknowledgment sent {"connection_id":151462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:34:12] local.INFO: TCP Data received {"connection_id":150505,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:12] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:34:12] local.INFO: IMEI packet received {"connection_id":150505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":150505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:34:31] local.INFO: TCP Data received {"connection_id":150506,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:34:31] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:34:31] local.INFO: IMEI packet received {"connection_id":150506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":150506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:34:36] local.INFO: TCP Data received {"connection_id":150506,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:34:36] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:34:36] local.INFO: IMEI packet received {"connection_id":150506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":150506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:34:37] local.INFO: TCP Data received {"connection_id":150506,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02f2570012d187ac0072180d8004b009129..."} 
[2026-08-08 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02f2570012d187ac0072180d8004b009129..."} 
[2026-08-08 12:34:37] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02f2570012d187ac0072180d8004b009129..."} 
[2026-08-08 12:34:37] local.INFO: Packet analysis {"connection_id":150506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:34:37] local.INFO: Extracted packet for processing {"connection_id":150506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756579008,"raw_latitude":119636184,"longitude_deg":75.6579008,"latitude_deg":11.9636184,"altitude":75,"angle":145,"satellites":41,"speed":9,"hex_longitude":"2d187ac0","hex_latitude":"072180d8","is_valid_coordinates":true} 
[2026-08-08 12:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260188928001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391335600750592,"note":"Value kept but may cause issues"} 
[2026-08-08 12:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763722234695882752,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786172614000,"timestamp_ms":1786172614000,"timestamp_seconds":1786172614,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02f2570"} 
[2026-08-08 12:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:34: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-08-08 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 12:34: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-08-08 12:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260188928001,"66":12928,"121":206,"28":31744,"24":9,"16":11391335600750592,"45":1763722234695882752},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260188928001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391335600750592,"km_value":11391335600750.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763722234695882752,"description":"Unknown IO ID 45"} 
[2026-08-08 12:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260188928001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1763722234695882752}} 
[2026-08-08 12:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":150506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:34:37] local.INFO: GPS data processed {"connection_id":150506,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:34:37] local.INFO: Acknowledgment sent {"connection_id":150506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:35:13] local.INFO: TCP Data received {"connection_id":150506,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02f2958012d187b0007217fe8004c00a829..."} 
[2026-08-08 12:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02f2958012d187b0007217fe8004c00a829..."} 
[2026-08-08 12:35:13] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02f2958012d187b0007217fe8004c00a829..."} 
[2026-08-08 12:35:13] local.INFO: Packet analysis {"connection_id":150506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:35:13] local.INFO: Extracted packet for processing {"connection_id":150506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756579072,"raw_latitude":119635944,"longitude_deg":75.6579072,"latitude_deg":11.9635944,"altitude":76,"angle":168,"satellites":41,"speed":9,"hex_longitude":"2d187b00","hex_latitude":"07217fe8","is_valid_coordinates":true} 
[2026-08-08 12:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260189184001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391348485652480,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763933340928366592,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786172615000,"timestamp_ms":1786172615000,"timestamp_seconds":1786172615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02f2958"} 
[2026-08-08 12:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":128,"data_length":795,"current_offset":136} 
[2026-08-08 12:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260189184001,"66":12928,"121":206,"28":31744,"24":9,"16":11391348485652480,"45":1763933340928366592},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260189184001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:35:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391348485652480,"km_value":11391348485652.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763933340928366592,"description":"Unknown IO ID 45"} 
[2026-08-08 12:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260189184001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1763933340928366592}} 
[2026-08-08 12:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":150506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:35:13] local.INFO: GPS data processed {"connection_id":150506,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:35:13] local.INFO: Acknowledgment sent {"connection_id":150506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:35:29] local.INFO: TCP Data received {"connection_id":150236,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:29] local.INFO: Processing buffer {"connection_id":150236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:29] local.INFO: IMEI packet received {"connection_id":150236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":150236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:35:31] local.INFO: TCP Data received {"connection_id":150236,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:31] local.INFO: Processing buffer {"connection_id":150236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:31] local.INFO: IMEI packet received {"connection_id":150236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":150236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:35:32] local.INFO: TCP Data received {"connection_id":150505,"ip":"117.224.184.27","data_length":1360,"data_hex":"000000000000030f8e0a0000019fe02e7990012cf06ac0071368f00027010827..."} 
[2026-08-08 12:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019fe02e7990012cf06ac0071368f00027010827..."} 
[2026-08-08 12:35:32] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019fe02e7990012cf06ac0071368f00027010827..."} 
[2026-08-08 12:35:32] local.INFO: Packet analysis {"connection_id":150505,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:35:32] local.INFO: Extracted packet for processing {"connection_id":150505,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":753953472,"raw_latitude":118712560,"longitude_deg":75.3953472,"latitude_deg":11.871256,"altitude":39,"angle":264,"satellites":39,"speed":36,"hex_longitude":"2cf06ac0","hex_latitude":"071368f0","is_valid_coordinates":true} 
[2026-08-08 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260174848001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375341774727544832,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1113022396267112448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786172570000,"timestamp_ms":1786172570000,"timestamp_seconds":1786172570,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02e7990"} 
[2026-08-08 12:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":150505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260174848001,"66":27865,"153":206,"2":54272,"24":36,"16":375341774727544832,"44":-1113022396267112448},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-08 12:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260174848001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:35:32] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 12:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375341774727544832,"km_value":375341774727544.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:35:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1113022396267112448,"description":"Unknown IO ID 44"} 
[2026-08-08 12:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260174848001,"power":27865,"unknown_153":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1113022396267112448}} 
[2026-08-08 12:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":150505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:35:32] local.INFO: GPS data processed {"connection_id":150505,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:35:32] local.INFO: Acknowledgment sent {"connection_id":150505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:35:32] local.INFO: Packet analysis {"connection_id":150505,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:35:32] local.INFO: Incomplete packet, waiting for more data {"connection_id":150505,"needed":795,"available":565} 
[2026-08-08 12:35:34] local.INFO: TCP Data received {"connection_id":150505,"ip":"117.224.184.27","data_length":230,"data_hex":"2cf0dd80071378480024010c27000e0000000a000400ef0100716000f0010045..."} 
[2026-08-08 12:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":230,"packet_hex":"2cf0dd80071378480024010c27000e0000000a000400ef0100716000f0010045..."} 
[2026-08-08 12:35:34] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02e8d18012cf05980071369c80026011525..."} 
[2026-08-08 12:35:34] local.INFO: Packet analysis {"connection_id":150505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:35:34] local.INFO: Extracted packet for processing {"connection_id":150505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02e"} 
[2026-08-08 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":753949056,"raw_latitude":118712776,"longitude_deg":75.3949056,"latitude_deg":11.8712776,"altitude":38,"angle":277,"satellites":37,"speed":33,"hex_longitude":"2cf05980","hex_latitude":"071369c8","is_valid_coordinates":true} 
[2026-08-08 12:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260177920001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375341985180942336,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122874020452569088,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786172575000,"timestamp_ms":1786172575000,"timestamp_seconds":1786172575,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02e8d18"} 
[2026-08-08 12:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":150505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260177920001,"66":27865,"153":206,"2":54272,"24":33,"16":375341985180942336,"44":-1122874020452569088},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-08 12:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260177920001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:35:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-08 12:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375341985180942336,"km_value":375341985180942.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:35:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122874020452569088,"description":"Unknown IO ID 44"} 
[2026-08-08 12:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260177920001,"power":27865,"unknown_153":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1122874020452569088}} 
[2026-08-08 12:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":150505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:35:34] local.INFO: GPS data processed {"connection_id":150505,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:35:34] local.INFO: Acknowledgment sent {"connection_id":150505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:35:36] local.INFO: TCP Data received {"connection_id":150236,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:36] local.INFO: Processing buffer {"connection_id":150236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:35:36] local.INFO: IMEI packet received {"connection_id":150236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:35:37] local.INFO: TCP Data received {"connection_id":150236,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02f4c80012d187bc0072178d8004f00b928..."} 
[2026-08-08 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02f4c80012d187bc0072178d8004f00b928..."} 
[2026-08-08 12:35:37] local.INFO: Processing buffer {"connection_id":150236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02f4c80012d187bc0072178d8004f00b928..."} 
[2026-08-08 12:35:37] local.INFO: Packet analysis {"connection_id":150236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:35:37] local.INFO: Extracted packet for processing {"connection_id":150236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119634136,"longitude_deg":75.6579264,"latitude_deg":11.9634136,"altitude":79,"angle":185,"satellites":40,"speed":7,"hex_longitude":"2d187bc0","hex_latitude":"072178d8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260189440001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391438679965696,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672482816,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786172624000,"timestamp_ms":1786172624000,"timestamp_seconds":1786172624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02f4c80"} 
[2026-08-08 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-08-08 12:35: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-08-08 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-08 12:35: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-08-08 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-08-08 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-08-08 12:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260189440001,"66":13135,"121":206,"28":31744,"24":7,"16":11391438679965696,"45":1764003709672482816},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260189440001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391438679965696,"km_value":11391438679965.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672482816,"description":"Unknown IO ID 45"} 
[2026-08-08 12:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260189440001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1764003709672482816}} 
[2026-08-08 12:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":150236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:35:37] local.INFO: GPS data processed {"connection_id":150236,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:35:37] local.INFO: Acknowledgment sent {"connection_id":150236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:35:40] local.INFO: TCP Data received {"connection_id":150507,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:35:40] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:35:40] local.INFO: IMEI packet received {"connection_id":150507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":150507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:35:45] local.INFO: TCP Data received {"connection_id":150507,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:35:45] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:35:45] local.INFO: IMEI packet received {"connection_id":150507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":150507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:35:45] local.INFO: TCP Data received {"connection_id":150507,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02fcd68012cef6c800713d1880021011a28..."} 
[2026-08-08 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02fcd68012cef6c800713d1880021011a28..."} 
[2026-08-08 12:35:45] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02fcd68012cef6c800713d1880021011a28..."} 
[2026-08-08 12:35:45] local.INFO: Packet analysis {"connection_id":150507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:35:45] local.INFO: Extracted packet for processing {"connection_id":150507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:35:45] local.INFO: GPS Element Parsed {"raw_longitude":753888384,"raw_latitude":118739336,"longitude_deg":75.3888384,"latitude_deg":11.8739336,"altitude":33,"angle":282,"satellites":40,"speed":33,"hex_longitude":"2cef6c80","hex_latitude":"0713d188","is_valid_coordinates":true} 
[2026-08-08 12:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260199168001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375345206406414336,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1190920596065771520,"note":"Value kept but may cause issues"} 
[2026-08-08 12:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786172657000,"timestamp_ms":1786172657000,"timestamp_seconds":1786172657,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02fcd68"} 
[2026-08-08 12:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12: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-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:35: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-08-08 12:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260199168001,"66":27919,"64":206,"2":54272,"24":33,"16":375345206406414336,"44":-1190920596065771520},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 12:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260199168001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:35:45] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 12:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375345206406414336,"km_value":375345206406414.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1190920596065771520,"description":"Unknown IO ID 44"} 
[2026-08-08 12:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260199168001,"power":27919,"unknown_64":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1190920596065771520}} 
[2026-08-08 12:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":150507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:35:46] local.INFO: GPS data processed {"connection_id":150507,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:35:46] local.INFO: Acknowledgment sent {"connection_id":150507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:36:09] local.INFO: TCP Data received {"connection_id":150236,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02f5c20012d187bc007217678005000ad28..."} 
[2026-08-08 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02f5c20012d187bc007217678005000ad28..."} 
[2026-08-08 12:36:09] local.INFO: Processing buffer {"connection_id":150236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02f5c20012d187bc007217678005000ad28..."} 
[2026-08-08 12:36:09] local.INFO: Packet analysis {"connection_id":150236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:36:09] local.INFO: Extracted packet for processing {"connection_id":150236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633528,"longitude_deg":75.6579264,"latitude_deg":11.9633528,"altitude":80,"angle":173,"satellites":40,"speed":5,"hex_longitude":"2d187bc0","hex_latitude":"07217678","is_valid_coordinates":true} 
[2026-08-08 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260191744001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391464449769472,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904552960,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36: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-08-08 12:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786172628000,"timestamp_ms":1786172628000,"timestamp_seconds":1786172628,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02f5c20"} 
[2026-08-08 12:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 12:36: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-08-08 12:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260191744001,"66":13222,"121":206,"28":31744,"24":5,"16":11391464449769472,"45":1764214815904552960},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260191744001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:36:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391464449769472,"km_value":11391464449769.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904552960,"description":"Unknown IO ID 45"} 
[2026-08-08 12:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260191744001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1764214815904552960}} 
[2026-08-08 12:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":150236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:36:09] local.INFO: GPS data processed {"connection_id":150236,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:36:09] local.INFO: Acknowledgment sent {"connection_id":150236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:36:10] local.INFO: TCP Data received {"connection_id":151463,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:36:10] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:36:10] local.INFO: IMEI packet received {"connection_id":151463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":151463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:36:15] local.INFO: TCP Data received {"connection_id":151463,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:36:15] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:36:15] local.INFO: IMEI packet received {"connection_id":151463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":151463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:36:17] local.INFO: TCP Data received {"connection_id":151463,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02feca8012cef51c00713d4980020010e2a..."} 
[2026-08-08 12:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02feca8012cef51c00713d4980020010e2a..."} 
[2026-08-08 12:36:17] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02feca8012cef51c00713d4980020010e2a..."} 
[2026-08-08 12:36:17] local.INFO: Packet analysis {"connection_id":151463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:36:17] local.INFO: Extracted packet for processing {"connection_id":151463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":753881536,"raw_latitude":118740120,"longitude_deg":75.3881536,"latitude_deg":11.874012,"altitude":32,"angle":270,"satellites":42,"speed":29,"hex_longitude":"2cef51c0","hex_latitude":"0713d498","is_valid_coordinates":true} 
[2026-08-08 12:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260200192001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375345532823928832,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1194439033274398720,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786172665000,"timestamp_ms":1786172665000,"timestamp_seconds":1786172665,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02feca8"} 
[2026-08-08 12:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 12:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260200192001,"66":27930,"64":206,"2":54272,"24":29,"16":375345532823928832,"44":-1194439033274398720},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 12:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260200192001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:36:17] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 12:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375345532823928832,"km_value":375345532823928.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:36:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1194439033274398720,"description":"Unknown IO ID 44"} 
[2026-08-08 12:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260200192001,"power":27930,"unknown_64":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1194439033274398720}} 
[2026-08-08 12:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":151463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:36:17] local.INFO: GPS data processed {"connection_id":151463,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:36:17] local.INFO: Acknowledgment sent {"connection_id":151463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:36:31] local.INFO: TCP Data received {"connection_id":150508,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:31] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:31] local.INFO: IMEI packet received {"connection_id":150508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":150508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:36:32] local.INFO: TCP Data received {"connection_id":150508,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:32] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:32] local.INFO: IMEI packet received {"connection_id":150508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":150508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:36:36] local.INFO: TCP Data received {"connection_id":150508,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:36] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:36:36] local.INFO: IMEI packet received {"connection_id":150508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:36:37] local.INFO: TCP Data received {"connection_id":150508,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe02fae28012d187c40072175b0005000ad29..."} 
[2026-08-08 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe02fae28012d187c40072175b0005000ad29..."} 
[2026-08-08 12:36:37] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe02fae28012d187c40072175b0005000ad29..."} 
[2026-08-08 12:36:37] local.INFO: Packet analysis {"connection_id":150508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:36:37] local.INFO: Extracted packet for processing {"connection_id":150508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe02f"} 
[2026-08-08 12:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260192768001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904397312,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786172649000,"timestamp_ms":1786172649000,"timestamp_seconds":1786172649,"priority":1,"record_length":96,"hex_timestamp":"0000019fe02fae28"} 
[2026-08-08 12:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:36: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-08-08 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 12:36: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-08-08 12:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260192768001,"66":13080,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764214815904397312},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260192768001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:36:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904397312,"description":"Unknown IO ID 45"} 
[2026-08-08 12:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260192768001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764214815904397312}} 
[2026-08-08 12:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":150508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:36:37] local.INFO: GPS data processed {"connection_id":150508,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:36:37] local.INFO: Acknowledgment sent {"connection_id":150508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:36:48] local.INFO: TCP Data received {"connection_id":151463,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0302358012cef2e400713d6c00020010a2a..."} 
[2026-08-08 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0302358012cef2e400713d6c00020010a2a..."} 
[2026-08-08 12:36:48] local.INFO: Processing buffer {"connection_id":151463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0302358012cef2e400713d6c00020010a2a..."} 
[2026-08-08 12:36:48] local.INFO: Packet analysis {"connection_id":151463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:36:48] local.INFO: Extracted packet for processing {"connection_id":151463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":753872448,"raw_latitude":118740672,"longitude_deg":75.3872448,"latitude_deg":11.8740672,"altitude":32,"angle":266,"satellites":42,"speed":17,"hex_longitude":"2cef2e40","hex_latitude":"0713d6c0","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260202240001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375345966615625728,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1201968488901208064,"note":"Value kept but may cause issues"} 
[2026-08-08 12:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786172679000,"timestamp_ms":1786172679000,"timestamp_seconds":1786172679,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0302358"} 
[2026-08-08 12:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260202240001,"66":28006,"64":206,"2":54272,"24":17,"16":375345966615625728,"44":-1201968488901208064},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 12:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260202240001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:36:48] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 12:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375345966615625728,"km_value":375345966615625.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1201968488901208064,"description":"Unknown IO ID 44"} 
[2026-08-08 12:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260202240001,"power":28006,"unknown_64":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1201968488901208064}} 
[2026-08-08 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":151463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:36:48] local.INFO: GPS data processed {"connection_id":151463,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:36:48] local.INFO: Acknowledgment sent {"connection_id":151463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:37:05] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:37:05] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:37:05] local.INFO: IMEI packet received {"connection_id":150509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":150509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:37:09] local.INFO: TCP Data received {"connection_id":150508,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0300030012d187c40072175b0005000ad27..."} 
[2026-08-08 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0300030012d187c40072175b0005000ad27..."} 
[2026-08-08 12:37:09] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0300030012d187c40072175b0005000ad27..."} 
[2026-08-08 12:37:09] local.INFO: Packet analysis {"connection_id":150508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:09] local.INFO: Extracted packet for processing {"connection_id":150508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:09] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260198144001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37: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-08-08 12:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786172670000,"timestamp_ms":1786172670000,"timestamp_seconds":1786172670,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0300030"} 
[2026-08-08 12:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:37: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-08-08 12:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 12:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260198144001,"66":12385,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260198144001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:37:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260198144001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":150508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:37:09] local.INFO: GPS data processed {"connection_id":150508,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:37:09] local.INFO: Acknowledgment sent {"connection_id":150508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:37:10] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:37:10] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:37:10] local.INFO: IMEI packet received {"connection_id":150509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":150509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:37:11] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03061d8012cef15800713d8180022011629..."} 
[2026-08-08 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03061d8012cef15800713d8180022011629..."} 
[2026-08-08 12:37:11] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03061d8012cef15800713d8180022011629..."} 
[2026-08-08 12:37:11] local.INFO: Packet analysis {"connection_id":150509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:11] local.INFO: Extracted packet for processing {"connection_id":150509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":753866112,"raw_latitude":118741016,"longitude_deg":75.3866112,"latitude_deg":11.8741016,"altitude":34,"angle":278,"satellites":41,"speed":14,"hex_longitude":"2cef1580","hex_latitude":"0713d818","is_valid_coordinates":true} 
[2026-08-08 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260205824001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375346267263336448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1211960850574295040,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786172695000,"timestamp_ms":1786172695000,"timestamp_seconds":1786172695,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03061d8"} 
[2026-08-08 12:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 12:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260205824001,"66":27071,"64":206,"2":54272,"24":14,"16":375346267263336448,"44":-1211960850574295040},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-08 12:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260205824001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:37:11] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-08 12:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375346267263336448,"km_value":375346267263336.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1211960850574295040,"description":"Unknown IO ID 44"} 
[2026-08-08 12:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260205824001,"power":27071,"unknown_64":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1211960850574295040}} 
[2026-08-08 12:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":150509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:37:11] local.INFO: GPS data processed {"connection_id":150509,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:37:11] local.INFO: Acknowledgment sent {"connection_id":150509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:37:31] local.INFO: TCP Data received {"connection_id":150237,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:31] local.INFO: Processing buffer {"connection_id":150237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:31] local.INFO: IMEI packet received {"connection_id":150237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":150237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:37:35] local.INFO: TCP Data received {"connection_id":150237,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:35] local.INFO: Processing buffer {"connection_id":150237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:35] local.INFO: IMEI packet received {"connection_id":150237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":150237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:37:36] local.INFO: TCP Data received {"connection_id":150237,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:36] local.INFO: Processing buffer {"connection_id":150237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:37:36] local.INFO: IMEI packet received {"connection_id":150237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":150237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:37:37] local.INFO: TCP Data received {"connection_id":150237,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0305238012d187c40072175b0005000ad28..."} 
[2026-08-08 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0305238012d187c40072175b0005000ad28..."} 
[2026-08-08 12:37:37] local.INFO: Processing buffer {"connection_id":150237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0305238012d187c40072175b0005000ad28..."} 
[2026-08-08 12:37:37] local.INFO: Packet analysis {"connection_id":150237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:37] local.INFO: Extracted packet for processing {"connection_id":150237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":40,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260203520001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786172691000,"timestamp_ms":1786172691000,"timestamp_seconds":1786172691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0305238"} 
[2026-08-08 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-08-08 12:37: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-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 12:37: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-08-08 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-08-08 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-08-08 12:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260203520001,"66":12950,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260203520001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:37:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260203520001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":150237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:37:37] local.INFO: GPS data processed {"connection_id":150237,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:37:37] local.INFO: Acknowledgment sent {"connection_id":150237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:37:41] local.INFO: TCP Data received {"connection_id":150237,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe030a440012d187c40072175b0005000ad27..."} 
[2026-08-08 12:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe030a440012d187c40072175b0005000ad27..."} 
[2026-08-08 12:37:41] local.INFO: Processing buffer {"connection_id":150237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe030a440012d187c40072175b0005000ad27..."} 
[2026-08-08 12:37:41] local.INFO: Packet analysis {"connection_id":150237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:41] local.INFO: Extracted packet for processing {"connection_id":150237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:41] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260208896001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37: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-08-08 12:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786172712000,"timestamp_ms":1786172712000,"timestamp_seconds":1786172712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe030a440"} 
[2026-08-08 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-08-08 12:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 12:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260208896001,"66":12928,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260208896001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:37:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260208896001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":150237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:37:41] local.INFO: GPS data processed {"connection_id":150237,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:37:41] local.INFO: Acknowledgment sent {"connection_id":150237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:37:42] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe030b3e0012ceefd800713daf80021011729..."} 
[2026-08-08 12:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe030b3e0012ceefd800713daf80021011729..."} 
[2026-08-08 12:37:43] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe030b3e0012ceefd800713daf80021011729..."} 
[2026-08-08 12:37:43] local.INFO: Packet analysis {"connection_id":150509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:43] local.INFO: Extracted packet for processing {"connection_id":150509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":753859968,"raw_latitude":118741752,"longitude_deg":75.3859968,"latitude_deg":11.8741752,"altitude":33,"angle":279,"satellites":41,"speed":5,"hex_longitude":"2ceefd80","hex_latitude":"0713daf8","is_valid_coordinates":true} 
[2026-08-08 12:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260209920001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375346563616079872,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1218927356247795712,"note":"Value kept but may cause issues"} 
[2026-08-08 12:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786172716000,"timestamp_ms":1786172716000,"timestamp_seconds":1786172716,"priority":1,"record_length":96,"hex_timestamp":"0000019fe030b3e0"} 
[2026-08-08 12:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 12:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260209920001,"66":27974,"71":206,"2":54272,"24":5,"16":375346563616079872,"44":-1218927356247795712},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-08 12:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260209920001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:37:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 12:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375346563616079872,"km_value":375346563616079.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1218927356247795712,"description":"Unknown IO ID 44"} 
[2026-08-08 12:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260209920001,"power":27974,"unknown_71":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1218927356247795712}} 
[2026-08-08 12:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":150509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:37:43] local.INFO: GPS data processed {"connection_id":150509,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:37:43] local.INFO: Acknowledgment sent {"connection_id":150509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:38:13] local.INFO: TCP Data received {"connection_id":150237,"ip":"117.224.253.186","data_length":795,"data_hex":"000000000000030f8e0a0000019fe030f648012d187c40072175b0005000ad25..."} 
[2026-08-08 12:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe030f648012d187c40072175b0005000ad25..."} 
[2026-08-08 12:38:13] local.INFO: Processing buffer {"connection_id":150237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe030f648012d187c40072175b0005000ad25..."} 
[2026-08-08 12:38:13] local.INFO: Packet analysis {"connection_id":150237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:38:13] local.INFO: Extracted packet for processing {"connection_id":150237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe030"} 
[2026-08-08 12:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260214272001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786172733000,"timestamp_ms":1786172733000,"timestamp_seconds":1786172733,"priority":1,"record_length":96,"hex_timestamp":"0000019fe030f648"} 
[2026-08-08 12:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-08 12:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.253.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260214272001,"66":12819,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.253.186","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260214272001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:38:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:38:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260214272001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":150237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:38:13] local.INFO: GPS data processed {"connection_id":150237,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:38:13] local.INFO: Acknowledgment sent {"connection_id":150237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:38:15] local.INFO: TCP Data received {"connection_id":151464,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:38:15] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:38:15] local.INFO: IMEI packet received {"connection_id":151464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":151464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:38:20] local.INFO: TCP Data received {"connection_id":151464,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:38:20] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:38:20] local.INFO: IMEI packet received {"connection_id":151464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":151464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:38:22] local.INFO: TCP Data received {"connection_id":151464,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03105e8012ceefc800713db300022011629..."} 
[2026-08-08 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03105e8012ceefc800713db300022011629..."} 
[2026-08-08 12:38:22] local.INFO: Processing buffer {"connection_id":151464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03105e8012ceefc800713db300022011629..."} 
[2026-08-08 12:38:22] local.INFO: Packet analysis {"connection_id":151464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:38:22] local.INFO: Extracted packet for processing {"connection_id":151464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":753859712,"raw_latitude":118741808,"longitude_deg":75.3859712,"latitude_deg":11.8741808,"altitude":34,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2ceefc80","hex_latitude":"0713db30","is_valid_coordinates":true} 
[2026-08-08 12:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260215296001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375346576500981760,"note":"Value kept but may cause issues"} 
[2026-08-08 12:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1225682755688663040,"note":"Value kept but may cause issues"} 
[2026-08-08 12:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786172737000,"timestamp_ms":1786172737000,"timestamp_seconds":1786172737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03105e8"} 
[2026-08-08 12:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 12:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":151464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":151464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":151464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260215296001,"66":27865,"71":206,"2":54272,"24":0,"16":375346576500981760,"44":-1225682755688663040},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-08 12:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260215296001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:38:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 12:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375346576500981760,"km_value":375346576500981.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1225682755688663040,"description":"Unknown IO ID 44"} 
[2026-08-08 12:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260215296001,"power":27865,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1225682755688663040}} 
[2026-08-08 12:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":151464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:38:22] local.INFO: GPS data processed {"connection_id":151464,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:38:22] local.INFO: Acknowledgment sent {"connection_id":151464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:38:41] local.INFO: TCP Data received {"connection_id":152946,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:38:41] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:38:41] local.INFO: IMEI packet received {"connection_id":152946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":152946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:38:47] local.INFO: TCP Data received {"connection_id":152946,"ip":"117.224.253.186","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:38:47] local.INFO: Processing buffer {"connection_id":152946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:38:47] local.INFO: IMEI packet received {"connection_id":152946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":152946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:39:03] local.INFO: TCP Data received {"connection_id":150238,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:03] local.INFO: Processing buffer {"connection_id":150238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:03] local.INFO: IMEI packet received {"connection_id":150238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":150238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:39:05] local.INFO: TCP Data received {"connection_id":150238,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:05] local.INFO: Processing buffer {"connection_id":150238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:05] local.INFO: IMEI packet received {"connection_id":150238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":150238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:39:10] local.INFO: TCP Data received {"connection_id":150238,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:10] local.INFO: Processing buffer {"connection_id":150238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:39:10] local.INFO: IMEI packet received {"connection_id":150238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":150238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:39:11] local.INFO: TCP Data received {"connection_id":150239,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:11] local.INFO: Processing buffer {"connection_id":150239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:11] local.INFO: IMEI packet received {"connection_id":150239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":150239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:39:12] local.INFO: TCP Data received {"connection_id":150238,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03157f0012ceefa800713dbc80023011629..."} 
[2026-08-08 12:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03157f0012ceefa800713dbc80023011629..."} 
[2026-08-08 12:39:12] local.INFO: Processing buffer {"connection_id":150238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03157f0012ceefa800713dbc80023011629..."} 
[2026-08-08 12:39:12] local.INFO: Packet analysis {"connection_id":150238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:39:12] local.INFO: Extracted packet for processing {"connection_id":150238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:39:12] local.INFO: GPS Element Parsed {"raw_longitude":753859200,"raw_latitude":118741960,"longitude_deg":75.38592,"latitude_deg":11.874196,"altitude":35,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2ceefa80","hex_latitude":"0713dbc8","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260220672001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375346602270785536,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1225964230665359360,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786172758000,"timestamp_ms":1786172758000,"timestamp_seconds":1786172758,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03157f0"} 
[2026-08-08 12:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260220672001,"66":27995,"71":206,"2":54272,"24":0,"16":375346602270785536,"44":-1225964230665359360},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-08 12:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260220672001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:39:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 12:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375346602270785536,"km_value":375346602270785.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1225964230665359360,"description":"Unknown IO ID 44"} 
[2026-08-08 12:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260220672001,"power":27995,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1225964230665359360}} 
[2026-08-08 12:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":150238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:39:12] local.INFO: GPS data processed {"connection_id":150238,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:39:12] local.INFO: Acknowledgment sent {"connection_id":150238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:39:12] local.INFO: TCP Data received {"connection_id":150239,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:12] local.INFO: Processing buffer {"connection_id":150239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:12] local.INFO: IMEI packet received {"connection_id":150239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":150239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:39:41] local.INFO: TCP Data received {"connection_id":150240,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:41] local.INFO: Processing buffer {"connection_id":150240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:41] local.INFO: IMEI packet received {"connection_id":150240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":150240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:39:43] local.INFO: TCP Data received {"connection_id":150238,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe031a9f8012ceef7800713dc780024011629..."} 
[2026-08-08 12:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe031a9f8012ceef7800713dc780024011629..."} 
[2026-08-08 12:39:43] local.INFO: Processing buffer {"connection_id":150238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe031a9f8012ceef7800713dc780024011629..."} 
[2026-08-08 12:39:43] local.INFO: Packet analysis {"connection_id":150238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:39:43] local.INFO: Extracted packet for processing {"connection_id":150238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:39:43] local.INFO: GPS Element Parsed {"raw_longitude":753858432,"raw_latitude":118742136,"longitude_deg":75.3858432,"latitude_deg":11.8742136,"altitude":36,"angle":278,"satellites":41,"speed":6,"hex_longitude":"2ceef780","hex_latitude":"0713dc78","is_valid_coordinates":true} 
[2026-08-08 12:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260226048001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375346640925491200,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1226527180618741760,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786172779000,"timestamp_ms":1786172779000,"timestamp_seconds":1786172779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe031a9f8"} 
[2026-08-08 12:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260226048001,"66":27995,"71":206,"2":54272,"24":6,"16":375346640925491200,"44":-1226527180618741760},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-08 12:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260226048001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:39:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-08 12:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375346640925491200,"km_value":375346640925491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1226527180618741760,"description":"Unknown IO ID 44"} 
[2026-08-08 12:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260226048001,"power":27995,"unknown_71":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1226527180618741760}} 
[2026-08-08 12:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":150238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:39:43] local.INFO: GPS data processed {"connection_id":150238,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:39:43] local.INFO: Acknowledgment sent {"connection_id":150238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:39:46] local.INFO: TCP Data received {"connection_id":150240,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:46] local.INFO: Processing buffer {"connection_id":150240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:39:46] local.INFO: IMEI packet received {"connection_id":150240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":150240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:39:47] local.INFO: TCP Data received {"connection_id":150240,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0319a58012d187c40072175b0005000ad25..."} 
[2026-08-08 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0319a58012d187c40072175b0005000ad25..."} 
[2026-08-08 12:39:47] local.INFO: Processing buffer {"connection_id":150240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0319a58012d187c40072175b0005000ad25..."} 
[2026-08-08 12:39:47] local.INFO: Packet analysis {"connection_id":150240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:39:47] local.INFO: Extracted packet for processing {"connection_id":150240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260225024001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786172775000,"timestamp_ms":1786172775000,"timestamp_seconds":1786172775,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0319a58"} 
[2026-08-08 12:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 12:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260225024001,"66":12776,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260225024001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260225024001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":150240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:39:47] local.INFO: GPS data processed {"connection_id":150240,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:39:47] local.INFO: Acknowledgment sent {"connection_id":150240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:40:05] local.INFO: TCP Data received {"connection_id":150241,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:05] local.INFO: Processing buffer {"connection_id":150241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:05] local.INFO: IMEI packet received {"connection_id":150241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":150241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:40:06] local.INFO: TCP Data received {"connection_id":150241,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:06] local.INFO: Processing buffer {"connection_id":150241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:06] local.INFO: IMEI packet received {"connection_id":150241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":150241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:40:10] local.INFO: TCP Data received {"connection_id":150241,"ip":"117.224.184.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:10] local.INFO: Processing buffer {"connection_id":150241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:40:10] local.INFO: IMEI packet received {"connection_id":150241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":150241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:40:13] local.INFO: TCP Data received {"connection_id":150241,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe031fc00012ceee9800713deb0002501152a..."} 
[2026-08-08 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe031fc00012ceee9800713deb0002501152a..."} 
[2026-08-08 12:40:13] local.INFO: Processing buffer {"connection_id":150241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe031fc00012ceee9800713deb0002501152a..."} 
[2026-08-08 12:40:13] local.INFO: Packet analysis {"connection_id":150241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:40:13] local.INFO: Extracted packet for processing {"connection_id":150241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753854848,"raw_latitude":118742704,"longitude_deg":75.3854848,"latitude_deg":11.8742704,"altitude":37,"angle":277,"satellites":42,"speed":12,"hex_longitude":"2ceee980","hex_latitude":"0713deb0","is_valid_coordinates":true} 
[2026-08-08 12:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260231424001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375346812724183040,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1227371605548828672,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786172800000,"timestamp_ms":1786172800000,"timestamp_seconds":1786172800,"priority":1,"record_length":96,"hex_timestamp":"0000019fe031fc00"} 
[2026-08-08 12:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 12:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260231424001,"66":28028,"206":206,"2":54272,"24":12,"16":375346812724183040,"44":-1227371605548828672},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-08 12:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260231424001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:40:13] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-08 12:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375346812724183040,"km_value":375346812724183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1227371605548828672,"description":"Unknown IO ID 44"} 
[2026-08-08 12:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260231424001,"power":28028,"unknown_206":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1227371605548828672}} 
[2026-08-08 12:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":150241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:40:13] local.INFO: GPS data processed {"connection_id":150241,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:40:13] local.INFO: Acknowledgment sent {"connection_id":150241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:40:31] local.INFO: TCP Data received {"connection_id":151465,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:40:31] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:40:31] local.INFO: IMEI packet received {"connection_id":151465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":151465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:40:37] local.INFO: TCP Data received {"connection_id":151465,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:40:37] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:40:37] local.INFO: IMEI packet received {"connection_id":151465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":151465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:40:38] local.INFO: TCP Data received {"connection_id":151465,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe031ec60012d187c40072175b0005000ad26..."} 
[2026-08-08 12:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe031ec60012d187c40072175b0005000ad26..."} 
[2026-08-08 12:40:38] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe031ec60012d187c40072175b0005000ad26..."} 
[2026-08-08 12:40:38] local.INFO: Packet analysis {"connection_id":151465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:40:38] local.INFO: Extracted packet for processing {"connection_id":151465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe031"} 
[2026-08-08 12:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260230400001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786172796000,"timestamp_ms":1786172796000,"timestamp_seconds":1786172796,"priority":1,"record_length":96,"hex_timestamp":"0000019fe031ec60"} 
[2026-08-08 12:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:40: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-08-08 12:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 12:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260230400001,"66":12711,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260230400001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:40:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260230400001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":151465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:40:38] local.INFO: GPS data processed {"connection_id":151465,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:40:38] local.INFO: Acknowledgment sent {"connection_id":151465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:40:44] local.INFO: TCP Data received {"connection_id":150241,"ip":"117.224.184.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0324e08012ceed7800713e0380027010f2a..."} 
[2026-08-08 12:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0324e08012ceed7800713e0380027010f2a..."} 
[2026-08-08 12:40:44] local.INFO: Processing buffer {"connection_id":150241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0324e08012ceed7800713e0380027010f2a..."} 
[2026-08-08 12:40:44] local.INFO: Packet analysis {"connection_id":150241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe032"} 
[2026-08-08 12:40:44] local.INFO: Extracted packet for processing {"connection_id":150241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe032"} 
[2026-08-08 12:40:44] local.INFO: GPS Element Parsed {"raw_longitude":753850240,"raw_latitude":118743096,"longitude_deg":75.385024,"latitude_deg":11.8743096,"altitude":39,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2ceed780","hex_latitude":"0713e038","is_valid_coordinates":true} 
[2026-08-08 12:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260236800001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375347031767515136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1231312255222632448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786172821000,"timestamp_ms":1786172821000,"timestamp_seconds":1786172821,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0324e08"} 
[2026-08-08 12:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 12:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.184.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260236800001,"66":27376,"206":206,"2":54272,"24":0,"16":375347031767515136,"44":-1231312255222632448},"client_ip":"117.224.184.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-08 12:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260236800001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:40:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-08 12:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375347031767515136,"km_value":375347031767515.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1231312255222632448,"description":"Unknown IO ID 44"} 
[2026-08-08 12:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260236800001,"power":27376,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1231312255222632448}} 
[2026-08-08 12:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":150241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:40:44] local.INFO: GPS data processed {"connection_id":150241,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:40:44] local.INFO: Acknowledgment sent {"connection_id":150241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:41:09] local.INFO: TCP Data received {"connection_id":151465,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:41:09] local.INFO: Processing buffer {"connection_id":151465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:41:09] local.INFO: Packet analysis {"connection_id":151465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:41:09] local.INFO: Extracted packet for processing {"connection_id":151465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260294400001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786173028000,"timestamp_ms":1786173028000,"timestamp_seconds":1786173028,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03576a0"} 
[2026-08-08 12:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 12: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 12:41:09] 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-08-08 12: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-08-08 12:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260294400001,"66":2448,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260294400001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:41:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260294400001,"power":2448,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":151465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:41:09] local.INFO: GPS data processed {"connection_id":151465,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:41:09] local.INFO: Acknowledgment sent {"connection_id":151465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:41:32] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:32] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:32] local.INFO: IMEI packet received {"connection_id":150242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":150242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:41:36] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:36] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:36] local.INFO: IMEI packet received {"connection_id":150242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":150242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:41:41] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:41] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:41:41] local.INFO: IMEI packet received {"connection_id":150242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":150242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:41:42] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:41:42] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:41:42] local.INFO: Packet analysis {"connection_id":150242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:41:42] local.INFO: Extracted packet for processing {"connection_id":150242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260295168001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786173028000,"timestamp_ms":1786173028000,"timestamp_seconds":1786173028,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03576a0"} 
[2026-08-08 12:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":9,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-08 12:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260295168001,"66":2448,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260295168001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:41:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260295168001,"power":2448,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":150242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:41:42] local.INFO: GPS data processed {"connection_id":150242,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:41:42] local.INFO: Acknowledgment sent {"connection_id":150242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:42:14] local.INFO: TCP Data received {"connection_id":150242,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:42:14] local.INFO: Processing buffer {"connection_id":150242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03576a0012d187c40072175b0005000ad29..."} 
[2026-08-08 12:42:14] local.INFO: Packet analysis {"connection_id":150242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:42:14] local.INFO: Extracted packet for processing {"connection_id":150242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119633328,"longitude_deg":75.6579392,"latitude_deg":11.9633328,"altitude":80,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d187c40","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-08 12:42: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-08-08 12:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260295168001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391481629638656,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553392701440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786173028000,"timestamp_ms":1786173028000,"timestamp_seconds":1786173028,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03576a0"} 
[2026-08-08 12:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-08 12:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260295168001,"66":2448,"121":206,"28":31744,"24":0,"16":11391481629638656,"45":1764355553392701440},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260295168001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:42:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391481629638656,"km_value":11391481629638.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553392701440,"description":"Unknown IO ID 45"} 
[2026-08-08 12:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260295168001,"power":2448,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764355553392701440}} 
[2026-08-08 12:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":150242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:42:14] local.INFO: GPS data processed {"connection_id":150242,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:42:14] local.INFO: Acknowledgment sent {"connection_id":150242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:42:30] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:30] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:30] local.INFO: IMEI packet received {"connection_id":150510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":150510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:42:31] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:31] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:31] local.INFO: IMEI packet received {"connection_id":150510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":150510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:42:31] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:31] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:31] local.INFO: IMEI packet received {"connection_id":150510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":150510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:42:32] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:32] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:42:32] local.INFO: IMEI packet received {"connection_id":150510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":150510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:42:33] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe036a750012d187c4007217c100051014527..."} 
[2026-08-08 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe036a750012d187c4007217c100051014527..."} 
[2026-08-08 12:42:33] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe036a750012d187c4007217c100051014527..."} 
[2026-08-08 12:42:33] local.INFO: Packet analysis {"connection_id":150510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe036"} 
[2026-08-08 12:42:33] local.INFO: Extracted packet for processing {"connection_id":150510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe036"} 
[2026-08-08 12:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119634960,"longitude_deg":75.6579392,"latitude_deg":11.963496,"altitude":81,"angle":325,"satellites":39,"speed":6,"hex_longitude":"2d187c40","hex_latitude":"07217c10","is_valid_coordinates":true} 
[2026-08-08 12:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391567528984576,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764496290881206272,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42: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-08-08 12:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786173106000,"timestamp_ms":1786173106000,"timestamp_seconds":1786173106,"priority":1,"record_length":96,"hex_timestamp":"0000019fe036a750"} 
[2026-08-08 12:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-08 12:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260313344001,"66":13820,"121":206,"28":31744,"24":6,"16":11391567528984576,"45":1764496290881206272},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:42:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391567528984576,"km_value":11391567528984.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764496290881206272,"description":"Unknown IO ID 45"} 
[2026-08-08 12:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260313344001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1764496290881206272}} 
[2026-08-08 12:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":150510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:42:33] local.INFO: GPS data processed {"connection_id":150510,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:42:33] local.INFO: Acknowledgment sent {"connection_id":150510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:42:35] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe036ab38012d187bc007217c700051012627..."} 
[2026-08-08 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe036ab38012d187bc007217c700051012627..."} 
[2026-08-08 12:42:35] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe036ab38012d187bc007217c700051012627..."} 
[2026-08-08 12:42:35] local.INFO: Packet analysis {"connection_id":150510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe036"} 
[2026-08-08 12:42:35] local.INFO: Extracted packet for processing {"connection_id":150510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe036"} 
[2026-08-08 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119635056,"longitude_deg":75.6579264,"latitude_deg":11.9635056,"altitude":81,"angle":294,"satellites":39,"speed":2,"hex_longitude":"2d187bc0","hex_latitude":"07217c70","is_valid_coordinates":true} 
[2026-08-08 12:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260315136001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391571823951872,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393119232,"note":"Value kept but may cause issues"} 
[2026-08-08 12:42: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-08-08 12:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786173107000,"timestamp_ms":1786173107000,"timestamp_seconds":1786173107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe036ab38"} 
[2026-08-08 12:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-08 12:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260315136001,"66":13820,"121":206,"28":31744,"24":2,"16":11391571823951872,"45":1764355553393119232},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260315136001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:42:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391571823951872,"km_value":11391571823951.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393119232,"description":"Unknown IO ID 45"} 
[2026-08-08 12:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260315136001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1764355553393119232}} 
[2026-08-08 12:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":150510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:42:35] local.INFO: GPS data processed {"connection_id":150510,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:42:35] local.INFO: Acknowledgment sent {"connection_id":150510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:43:06] local.INFO: TCP Data received {"connection_id":150510,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe036bec0012d187bc007217d580051001628..."} 
[2026-08-08 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe036bec0012d187bc007217d580051001628..."} 
[2026-08-08 12:43:06] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe036bec0012d187bc007217d580051001628..."} 
[2026-08-08 12:43:06] local.INFO: Packet analysis {"connection_id":150510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe036"} 
[2026-08-08 12:43:06] local.INFO: Extracted packet for processing {"connection_id":150510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe036"} 
[2026-08-08 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119635288,"longitude_deg":75.6579264,"latitude_deg":11.9635288,"altitude":81,"angle":22,"satellites":40,"speed":3,"hex_longitude":"2d187bc0","hex_latitude":"07217d58","is_valid_coordinates":true} 
[2026-08-08 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260315392001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11391589003821056,"note":"Value kept but may cause issues"} 
[2026-08-08 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904788480,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786173112000,"timestamp_ms":1786173112000,"timestamp_seconds":1786173112,"priority":1,"record_length":96,"hex_timestamp":"0000019fe036bec0"} 
[2026-08-08 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:43: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-08-08 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-08 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260315392001,"66":13580,"121":206,"28":31744,"24":3,"16":11391589003821056,"45":1764214815904788480},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260315392001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:43:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11391589003821056,"km_value":11391589003821.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904788480,"description":"Unknown IO ID 45"} 
[2026-08-08 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260315392001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1764214815904788480}} 
[2026-08-08 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":150510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:43:06] local.INFO: GPS data processed {"connection_id":150510,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:43:06] local.INFO: Acknowledgment sent {"connection_id":150510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:43:31] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:43:31] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:43:31] local.INFO: IMEI packet received {"connection_id":150243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":150243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:43:34] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:43:34] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:43:34] local.INFO: IMEI packet received {"connection_id":150243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":150243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:43:35] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0375b00012d18c3c0072151e80047009e28..."} 
[2026-08-08 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0375b00012d18c3c0072151e80047009e28..."} 
[2026-08-08 12:43:35] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0375b00012d18c3c0072151e80047009e28..."} 
[2026-08-08 12:43:35] local.INFO: Packet analysis {"connection_id":150243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:43:35] local.INFO: Extracted packet for processing {"connection_id":150243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624168,"longitude_deg":75.6597696,"latitude_deg":11.9624168,"altitude":71,"angle":158,"satellites":40,"speed":40,"hex_longitude":"2d18c3c0","hex_latitude":"072151e8","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260324864001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11392757234925568,"note":"Value kept but may cause issues"} 
[2026-08-08 12:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779555202134394880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:43: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-08-08 12:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786173152000,"timestamp_ms":1786173152000,"timestamp_seconds":1786173152,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0375b00"} 
[2026-08-08 12:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-08 12:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260324864001,"66":13928,"121":206,"28":31744,"24":40,"16":11392757234925568,"45":1779555202134394880},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260324864001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:43:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11392757234925568,"km_value":11392757234925.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779555202134394880,"description":"Unknown IO ID 45"} 
[2026-08-08 12:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260324864001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1779555202134394880}} 
[2026-08-08 12:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":150243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:43:35] local.INFO: GPS data processed {"connection_id":150243,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:43:35] local.INFO: Acknowledgment sent {"connection_id":150243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:44:07] local.INFO: TCP Data received {"connection_id":150243,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03762d0012d18c54007214a08004600af27..."} 
[2026-08-08 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03762d0012d18c54007214a08004600af27..."} 
[2026-08-08 12:44:07] local.INFO: Processing buffer {"connection_id":150243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03762d0012d18c54007214a08004600af27..."} 
[2026-08-08 12:44:07] local.INFO: Packet analysis {"connection_id":150243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:44:07] local.INFO: Extracted packet for processing {"connection_id":150243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622152,"longitude_deg":75.659808,"latitude_deg":11.9622152,"altitude":70,"angle":175,"satellites":39,"speed":41,"hex_longitude":"2d18c540","hex_latitude":"07214a08","is_valid_coordinates":true} 
[2026-08-08 12:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260326912001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11392856019173376,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225168384,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786173154000,"timestamp_ms":1786173154000,"timestamp_seconds":1786173154,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03762d0"} 
[2026-08-08 12:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 12:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260326912001,"66":13917,"121":206,"28":31744,"24":41,"16":11392856019173376,"45":1784481014225168384},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260326912001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:44:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:44:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11392856019173376,"km_value":11392856019173.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225168384,"description":"Unknown IO ID 45"} 
[2026-08-08 12:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260326912001,"power":13917,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1784481014225168384}} 
[2026-08-08 12:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":150243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:44:07] local.INFO: GPS data processed {"connection_id":150243,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:44:07] local.INFO: Acknowledgment sent {"connection_id":150243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:44:25] local.INFO: TCP Data received {"connection_id":152947,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:44:25] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:44:25] local.INFO: IMEI packet received {"connection_id":152947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":152947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:44:30] local.INFO: TCP Data received {"connection_id":152947,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:44:30] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:44:30] local.INFO: IMEI packet received {"connection_id":152947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":152947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:44:31] local.INFO: TCP Data received {"connection_id":151466,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:44:31] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:44:31] local.INFO: IMEI packet received {"connection_id":151466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":151466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:44:33] local.INFO: TCP Data received {"connection_id":152947,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0358e10012cee45c00713df700021011829..."} 
[2026-08-08 12:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0358e10012cee45c00713df700021011829..."} 
[2026-08-08 12:44:33] local.INFO: Processing buffer {"connection_id":152947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0358e10012cee45c00713df700021011829..."} 
[2026-08-08 12:44:33] local.INFO: Packet analysis {"connection_id":152947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:44:33] local.INFO: Extracted packet for processing {"connection_id":152947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe035"} 
[2026-08-08 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":753812928,"raw_latitude":118742896,"longitude_deg":75.3812928,"latitude_deg":11.8742896,"altitude":33,"angle":280,"satellites":41,"speed":35,"hex_longitude":"2cee45c0","hex_latitude":"0713df70","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260293888001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375348822768877568,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1267481789730269184,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786173034000,"timestamp_ms":1786173034000,"timestamp_seconds":1786173034,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0358e10"} 
[2026-08-08 12:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":152947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":152947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":152947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260293888001,"66":28028,"206":206,"2":54272,"24":35,"16":375348822768877568,"44":-1267481789730269184},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-08 12:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260293888001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:44:33] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-08 12:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375348822768877568,"km_value":375348822768877.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:44:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1267481789730269184,"description":"Unknown IO ID 44"} 
[2026-08-08 12:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260293888001,"power":28028,"unknown_206":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1267481789730269184}} 
[2026-08-08 12:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":152947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:44:33] local.INFO: GPS data processed {"connection_id":152947,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:44:33] local.INFO: Acknowledgment sent {"connection_id":152947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:44:36] local.INFO: TCP Data received {"connection_id":151466,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:44:36] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:44:36] local.INFO: IMEI packet received {"connection_id":151466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":151466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:44:37] local.INFO: TCP Data received {"connection_id":151466,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0377270012d18c74007213b50004400a027..."} 
[2026-08-08 12:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0377270012d18c74007213b50004400a027..."} 
[2026-08-08 12:44:37] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0377270012d18c74007213b50004400a027..."} 
[2026-08-08 12:44:37] local.INFO: Packet analysis {"connection_id":151466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:44:37] local.INFO: Extracted packet for processing {"connection_id":151466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618384,"longitude_deg":75.6598592,"latitude_deg":11.9618384,"altitude":68,"angle":160,"satellites":39,"speed":34,"hex_longitude":"2d18c740","hex_latitude":"07213b50","is_valid_coordinates":true} 
[2026-08-08 12:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260327424001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11393044997734400,"note":"Value kept but may cause issues"} 
[2026-08-08 12:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689718272,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786173158000,"timestamp_ms":1786173158000,"timestamp_seconds":1786173158,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0377270"} 
[2026-08-08 12:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12: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-08-08 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-08 12:44: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-08-08 12:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260327424001,"66":13917,"121":206,"28":31744,"24":34,"16":11393044997734400,"45":1784903226689718272},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260327424001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:44:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11393044997734400,"km_value":11393044997734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689718272,"description":"Unknown IO ID 45"} 
[2026-08-08 12:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260327424001,"power":13917,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784903226689718272}} 
[2026-08-08 12:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":151466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:44:37] local.INFO: GPS data processed {"connection_id":151466,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:44:37] local.INFO: Acknowledgment sent {"connection_id":151466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:45:05] local.INFO: TCP Data received {"connection_id":150244,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:05] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:05] local.INFO: IMEI packet received {"connection_id":150244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":150244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:45:06] local.INFO: TCP Data received {"connection_id":150244,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:06] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:06] local.INFO: IMEI packet received {"connection_id":150244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":150244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:45:10] local.INFO: TCP Data received {"connection_id":150244,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:10] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:45:10] local.INFO: IMEI packet received {"connection_id":150244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":150244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:45:10] local.INFO: TCP Data received {"connection_id":151466,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0377658012d18c8c0072138580044009428..."} 
[2026-08-08 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0377658012d18c8c0072138580044009428..."} 
[2026-08-08 12:45:10] local.INFO: Processing buffer {"connection_id":151466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0377658012d18c8c0072138580044009428..."} 
[2026-08-08 12:45:10] local.INFO: Packet analysis {"connection_id":151466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:45:10] local.INFO: Extracted packet for processing {"connection_id":151466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe037"} 
[2026-08-08 12:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756598976,"raw_latitude":119617624,"longitude_deg":75.6598976,"latitude_deg":11.9617624,"altitude":68,"angle":148,"satellites":40,"speed":34,"hex_longitude":"2d18c8c0","hex_latitude":"07213858","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260328448001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11393083652440064,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176642174976,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786173159000,"timestamp_ms":1786173159000,"timestamp_seconds":1786173159,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0377658"} 
[2026-08-08 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-08-08 12:45: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-08-08 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-08 12:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260328448001,"66":13917,"121":206,"28":31744,"24":34,"16":11393083652440064,"45":1785466176642174976},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260328448001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:45:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11393083652440064,"km_value":11393083652440.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176642174976,"description":"Unknown IO ID 45"} 
[2026-08-08 12:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260328448001,"power":13917,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1785466176642174976}} 
[2026-08-08 12:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":151466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:45:11] local.INFO: GPS data processed {"connection_id":151466,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:45:11] local.INFO: Acknowledgment sent {"connection_id":151466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:45:12] local.INFO: TCP Data received {"connection_id":150244,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe038b6a8012ced64c00713ebe0001d01112b..."} 
[2026-08-08 12:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe038b6a8012ced64c00713ebe0001d01112b..."} 
[2026-08-08 12:45:12] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe038b6a8012ced64c00713ebe0001d01112b..."} 
[2026-08-08 12:45:12] local.INFO: Packet analysis {"connection_id":150244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe038"} 
[2026-08-08 12:45:12] local.INFO: Extracted packet for processing {"connection_id":150244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe038"} 
[2026-08-08 12:45:12] local.INFO: GPS Element Parsed {"raw_longitude":753755328,"raw_latitude":118746080,"longitude_deg":75.3755328,"latitude_deg":11.874608,"altitude":29,"angle":273,"satellites":43,"speed":6,"hex_longitude":"2ced64c0","hex_latitude":"0713ebe0","is_valid_coordinates":true} 
[2026-08-08 12:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260347648001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375351575842914304,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1340243071208818688,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:12] 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-08-08 12:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786173241000,"timestamp_ms":1786173241000,"timestamp_seconds":1786173241,"priority":1,"record_length":96,"hex_timestamp":"0000019fe038b6a8"} 
[2026-08-08 12:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260347648001,"66":27800,"26":206,"83":41216,"24":6,"16":375351575842914304,"44":-1340243071208818688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 12:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260347648001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:45:12] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 12:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375351575842914304,"km_value":375351575842914.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1340243071208818688,"description":"Unknown IO ID 44"} 
[2026-08-08 12:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260347648001,"power":27800,"unknown_26":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1340243071208818688}} 
[2026-08-08 12:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":150244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:45:12] local.INFO: GPS data processed {"connection_id":150244,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:45:12] local.INFO: Acknowledgment sent {"connection_id":150244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:45:31] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:45:31] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:45:31] local.INFO: IMEI packet received {"connection_id":152948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":152948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:45:36] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:45:36] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:45:36] local.INFO: IMEI packet received {"connection_id":152948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":152948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:45:38] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03927f0012d18d540072105b0003f00a329..."} 
[2026-08-08 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03927f0012d18d540072105b0003f00a329..."} 
[2026-08-08 12:45:38] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03927f0012d18d540072105b0003f00a329..."} 
[2026-08-08 12:45:38] local.INFO: Packet analysis {"connection_id":152948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:45:38] local.INFO: Extracted packet for processing {"connection_id":152948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119604656,"longitude_deg":75.6602176,"latitude_deg":11.9604656,"altitude":63,"angle":163,"satellites":41,"speed":19,"hex_longitude":"2d18d540","hex_latitude":"072105b0","is_valid_coordinates":true} 
[2026-08-08 12:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260356352001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11393757962305536,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591977472,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786173270000,"timestamp_ms":1786173270000,"timestamp_seconds":1786173270,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03927f0"} 
[2026-08-08 12:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:45: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-08-08 12:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 12:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":152948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260356352001,"66":14243,"121":206,"28":31744,"24":19,"16":11393757962305536,"45":1789054982591977472},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260356352001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:45:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11393757962305536,"km_value":11393757962305.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591977472,"description":"Unknown IO ID 45"} 
[2026-08-08 12:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260356352001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1789054982591977472}} 
[2026-08-08 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":152948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:45:38] local.INFO: GPS data processed {"connection_id":152948,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:45:38] local.INFO: Acknowledgment sent {"connection_id":152948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:45:46] local.INFO: TCP Data received {"connection_id":150244,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe038ce18012ced5e800713ed38001d011d2b..."} 
[2026-08-08 12:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe038ce18012ced5e800713ed38001d011d2b..."} 
[2026-08-08 12:45:46] local.INFO: Processing buffer {"connection_id":150244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe038ce18012ced5e800713ed38001d011d2b..."} 
[2026-08-08 12:45:46] local.INFO: Packet analysis {"connection_id":150244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe038"} 
[2026-08-08 12:45:46] local.INFO: Extracted packet for processing {"connection_id":150244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe038"} 
[2026-08-08 12:45:46] local.INFO: GPS Element Parsed {"raw_longitude":753753728,"raw_latitude":118746424,"longitude_deg":75.3753728,"latitude_deg":11.8746424,"altitude":29,"angle":285,"satellites":43,"speed":11,"hex_longitude":"2ced5e80","hex_latitude":"0713ed38","is_valid_coordinates":true} 
[2026-08-08 12:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260349696001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375351653152325632,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1340735652418035712,"note":"Value kept but may cause issues"} 
[2026-08-08 12:45:46] 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-08-08 12:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786173247000,"timestamp_ms":1786173247000,"timestamp_seconds":1786173247,"priority":1,"record_length":96,"hex_timestamp":"0000019fe038ce18"} 
[2026-08-08 12:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:45: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-08-08 12:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:45: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-08-08 12:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260349696001,"66":27745,"26":206,"83":41216,"24":11,"16":375351653152325632,"44":-1340735652418035712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 12:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260349696001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:45:46] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 12:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375351653152325632,"km_value":375351653152325.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1340735652418035712,"description":"Unknown IO ID 44"} 
[2026-08-08 12:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260349696001,"power":27745,"unknown_26":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1340735652418035712}} 
[2026-08-08 12:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":150244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:45:46] local.INFO: GPS data processed {"connection_id":150244,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:45:46] local.INFO: Acknowledgment sent {"connection_id":150244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:46:09] local.INFO: TCP Data received {"connection_id":152948,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe039dba0012d195a800720ab60002c005727..."} 
[2026-08-08 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe039dba0012d195a800720ab60002c005727..."} 
[2026-08-08 12:46:09] local.INFO: Processing buffer {"connection_id":152948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe039dba0012d195a800720ab60002c005727..."} 
[2026-08-08 12:46:09] local.INFO: Packet analysis {"connection_id":152948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:46:09] local.INFO: Extracted packet for processing {"connection_id":152948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119581536,"longitude_deg":75.6636288,"latitude_deg":11.9581536,"altitude":44,"angle":87,"satellites":39,"speed":27,"hex_longitude":"2d195a80","hex_latitude":"0720ab60","is_valid_coordinates":true} 
[2026-08-08 12:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260368128001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11395806661705728,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829651359744,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46: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-08-08 12:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786173316000,"timestamp_ms":1786173316000,"timestamp_seconds":1786173316,"priority":1,"record_length":96,"hex_timestamp":"0000019fe039dba0"} 
[2026-08-08 12:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 12:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260368128001,"66":14135,"121":206,"28":31744,"24":27,"16":11395806661705728,"45":1824520829651359744},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260368128001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:46:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:46:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11395806661705728,"km_value":11395806661705.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829651359744,"description":"Unknown IO ID 45"} 
[2026-08-08 12:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260368128001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1824520829651359744}} 
[2026-08-08 12:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":152948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:46:10] local.INFO: GPS data processed {"connection_id":152948,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:46:10] local.INFO: Acknowledgment sent {"connection_id":152948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:46:10] local.INFO: TCP Data received {"connection_id":150245,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:46:10] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:46:10] local.INFO: IMEI packet received {"connection_id":150245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":150245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:46:14] local.INFO: TCP Data received {"connection_id":150245,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:46:14] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:46:14] local.INFO: IMEI packet received {"connection_id":150245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":150245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:46:15] local.INFO: TCP Data received {"connection_id":150245,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0392020012ced49c00713f2d0001c011c29..."} 
[2026-08-08 12:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0392020012ced49c00713f2d0001c011c29..."} 
[2026-08-08 12:46:15] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0392020012ced49c00713f2d0001c011c29..."} 
[2026-08-08 12:46:15] local.INFO: Packet analysis {"connection_id":150245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:46:15] local.INFO: Extracted packet for processing {"connection_id":150245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:46:15] local.INFO: GPS Element Parsed {"raw_longitude":753748416,"raw_latitude":118747856,"longitude_deg":75.3748416,"latitude_deg":11.8747856,"altitude":28,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2ced49c0","hex_latitude":"0713f2d0","is_valid_coordinates":true} 
[2026-08-08 12:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260351232001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375351915145330688,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1342494871022389248,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:15] 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-08-08 12:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786173268000,"timestamp_ms":1786173268000,"timestamp_seconds":1786173268,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0392020"} 
[2026-08-08 12:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 12:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260351232001,"66":27865,"26":206,"83":41216,"24":0,"16":375351915145330688,"44":-1342494871022389248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 12:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260351232001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:46:15] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 12:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375351915145330688,"km_value":375351915145330.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1342494871022389248,"description":"Unknown IO ID 44"} 
[2026-08-08 12:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260351232001,"power":27865,"unknown_26":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1342494871022389248}} 
[2026-08-08 12:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":150245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:46:15] local.INFO: GPS data processed {"connection_id":150245,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:46:15] local.INFO: Acknowledgment sent {"connection_id":150245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:46:31] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:31] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:31] local.INFO: IMEI packet received {"connection_id":150511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":150511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:46:33] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:33] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:33] local.INFO: IMEI packet received {"connection_id":150511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":150511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:46:34] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:34] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:34] local.INFO: IMEI packet received {"connection_id":150511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":150511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:46:36] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:36] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:46:36] local.INFO: IMEI packet received {"connection_id":150511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:46:38] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03a73f8012d19aec007208e88002e00ba29..."} 
[2026-08-08 12:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03a73f8012d19aec007208e88002e00ba29..."} 
[2026-08-08 12:46:38] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03a73f8012d19aec007208e88002e00ba29..."} 
[2026-08-08 12:46:38] local.INFO: Packet analysis {"connection_id":150511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03a"} 
[2026-08-08 12:46:38] local.INFO: Extracted packet for processing {"connection_id":150511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03a"} 
[2026-08-08 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574152,"longitude_deg":75.6657856,"latitude_deg":11.9574152,"altitude":46,"angle":186,"satellites":41,"speed":32,"hex_longitude":"2d19aec0","hex_latitude":"07208e88","is_valid_coordinates":true} 
[2026-08-08 12:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260377344001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11397412979474432,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484273152,"note":"Value kept but may cause issues"} 
[2026-08-08 12: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-08-08 12:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786173355000,"timestamp_ms":1786173355000,"timestamp_seconds":1786173355,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03a73f8"} 
[2026-08-08 12:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 12:46: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-08-08 12:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260377344001,"66":13906,"121":206,"28":31744,"24":32,"16":11397412979474432,"45":1853723858484273152},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260377344001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:46:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11397412979474432,"km_value":11397412979474.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484273152,"description":"Unknown IO ID 45"} 
[2026-08-08 12:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260377344001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1853723858484273152}} 
[2026-08-08 12:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":150511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:46:38] local.INFO: GPS data processed {"connection_id":150511,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:46:38] local.INFO: Acknowledgment sent {"connection_id":150511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:46:41] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03a77e0012d19aec007208b48002e00ae27..."} 
[2026-08-08 12:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03a77e0012d19aec007208b48002e00ae27..."} 
[2026-08-08 12:46:41] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03a77e0012d19aec007208b48002e00ae27..."} 
[2026-08-08 12:46:41] local.INFO: Packet analysis {"connection_id":150511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03a"} 
[2026-08-08 12:46:41] local.INFO: Extracted packet for processing {"connection_id":150511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03a"} 
[2026-08-08 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119573320,"longitude_deg":75.6657856,"latitude_deg":11.957332,"altitude":46,"angle":174,"satellites":39,"speed":32,"hex_longitude":"2d19aec0","hex_latitude":"07208b48","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260378880001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11397455929147392,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739368448,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46: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-08-08 12:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786173356000,"timestamp_ms":1786173356000,"timestamp_seconds":1786173356,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03a77e0"} 
[2026-08-08 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-08-08 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 12:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260378880001,"66":13222,"121":206,"28":31744,"24":32,"16":11397455929147392,"45":1850627633739368448},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260378880001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:46:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:46:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11397455929147392,"km_value":11397455929147.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739368448,"description":"Unknown IO ID 45"} 
[2026-08-08 12:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260378880001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1850627633739368448}} 
[2026-08-08 12:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":150511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:46:41] local.INFO: GPS data processed {"connection_id":150511,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:46:41] local.INFO: Acknowledgment sent {"connection_id":150511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:46:47] local.INFO: TCP Data received {"connection_id":150245,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0397228012ced39400713f728001b011d27..."} 
[2026-08-08 12:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0397228012ced39400713f728001b011d27..."} 
[2026-08-08 12:46:47] local.INFO: Processing buffer {"connection_id":150245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0397228012ced39400713f728001b011d27..."} 
[2026-08-08 12:46:47] local.INFO: Packet analysis {"connection_id":150245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:46:47] local.INFO: Extracted packet for processing {"connection_id":150245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:46:47] local.INFO: GPS Element Parsed {"raw_longitude":753744192,"raw_latitude":118748968,"longitude_deg":75.3744192,"latitude_deg":11.8748968,"altitude":27,"angle":285,"satellites":39,"speed":5,"hex_longitude":"2ced3940","hex_latitude":"0713f728","is_valid_coordinates":true} 
[2026-08-08 12:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260356608001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352121303760896,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1348335476788768768,"note":"Value kept but may cause issues"} 
[2026-08-08 12:46:47] 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-08-08 12:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786173289000,"timestamp_ms":1786173289000,"timestamp_seconds":1786173289,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0397228"} 
[2026-08-08 12:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:46: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-08-08 12:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260356608001,"66":27908,"26":206,"83":41216,"24":5,"16":375352121303760896,"44":-1348335476788768768},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 12:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260356608001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:46:47] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 12:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352121303760896,"km_value":375352121303760.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1348335476788768768,"description":"Unknown IO ID 44"} 
[2026-08-08 12:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260356608001,"power":27908,"unknown_26":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1348335476788768768}} 
[2026-08-08 12:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":150245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:46:47] local.INFO: GPS data processed {"connection_id":150245,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:46:47] local.INFO: Acknowledgment sent {"connection_id":150245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:47:05] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:47:05] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:47:05] local.INFO: IMEI packet received {"connection_id":152949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":152949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:47:10] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:47:10] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:47:10] local.INFO: IMEI packet received {"connection_id":152949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":152949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:47:11] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0399168012ced31c00713fa70001a012b29..."} 
[2026-08-08 12:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0399168012ced31c00713fa70001a012b29..."} 
[2026-08-08 12:47:11] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0399168012ced31c00713fa70001a012b29..."} 
[2026-08-08 12:47:11] local.INFO: Packet analysis {"connection_id":152949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:47:11] local.INFO: Extracted packet for processing {"connection_id":152949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe039"} 
[2026-08-08 12:47:11] local.INFO: GPS Element Parsed {"raw_longitude":753742272,"raw_latitude":118749808,"longitude_deg":75.3742272,"latitude_deg":11.8749808,"altitude":26,"angle":299,"satellites":41,"speed":9,"hex_longitude":"2ced31c0","hex_latitude":"0713fa70","is_valid_coordinates":true} 
[2026-08-08 12:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260361984001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352220088008704,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352979813904209920,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:11] 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-08-08 12:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173297000,"timestamp_ms":1786173297000,"timestamp_seconds":1786173297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0399168"} 
[2026-08-08 12:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260361984001,"66":27995,"26":206,"83":41216,"24":9,"16":375352220088008704,"44":-1352979813904209920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 12:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260361984001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:47:11] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 12:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352220088008704,"km_value":375352220088008.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352979813904209920,"description":"Unknown IO ID 44"} 
[2026-08-08 12:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260361984001,"power":27995,"unknown_26":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1352979813904209920}} 
[2026-08-08 12:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":152949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:47:11] local.INFO: GPS data processed {"connection_id":152949,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:47:11] local.INFO: Acknowledgment sent {"connection_id":152949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:47:13] local.INFO: TCP Data received {"connection_id":150511,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03a8780012d19b1c007207d00002d00a327..."} 
[2026-08-08 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03a8780012d19b1c007207d00002d00a327..."} 
[2026-08-08 12:47:13] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03a8780012d19b1c007207d00002d00a327..."} 
[2026-08-08 12:47:13] local.INFO: Packet analysis {"connection_id":150511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03a"} 
[2026-08-08 12:47:13] local.INFO: Extracted packet for processing {"connection_id":150511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03a"} 
[2026-08-08 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756658624,"raw_latitude":119569664,"longitude_deg":75.6658624,"latitude_deg":11.9569664,"altitude":45,"angle":163,"satellites":39,"speed":41,"hex_longitude":"2d19b1c0","hex_latitude":"07207d00","is_valid_coordinates":true} 
[2026-08-08 12:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260379136001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11397636317773824,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739155456,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786173360000,"timestamp_ms":1786173360000,"timestamp_seconds":1786173360,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03a8780"} 
[2026-08-08 12:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 12:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260379136001,"66":14233,"121":206,"28":31744,"24":41,"16":11397636317773824,"45":1850627633739155456},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260379136001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11397636317773824,"km_value":11397636317773.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739155456,"description":"Unknown IO ID 45"} 
[2026-08-08 12:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260379136001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1850627633739155456}} 
[2026-08-08 12:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":150511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:47:13] local.INFO: GPS data processed {"connection_id":150511,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:47:13] local.INFO: Acknowledgment sent {"connection_id":150511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:47:31] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:31] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:31] local.INFO: IMEI packet received {"connection_id":150246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":150246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:47:32] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:32] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:32] local.INFO: IMEI packet received {"connection_id":150246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":150246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:47:36] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:36] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:47:36] local.INFO: IMEI packet received {"connection_id":150246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":150246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:47:42] local.INFO: TCP Data received {"connection_id":152949,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b71e0012ced1580071422f0001901342a..."} 
[2026-08-08 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b71e0012ced1580071422f0001901342a..."} 
[2026-08-08 12:47:42] local.INFO: Processing buffer {"connection_id":152949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b71e0012ced1580071422f0001901342a..."} 
[2026-08-08 12:47:42] local.INFO: Packet analysis {"connection_id":152949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:47:42] local.INFO: Extracted packet for processing {"connection_id":152949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:47:42] local.INFO: GPS Element Parsed {"raw_longitude":753735040,"raw_latitude":118760176,"longitude_deg":75.373504,"latitude_deg":11.8760176,"altitude":25,"angle":308,"satellites":42,"speed":15,"hex_longitude":"2ced1580","hex_latitude":"071422f0","is_valid_coordinates":true} 
[2026-08-08 12:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260394752001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352855743168512,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361846275667879936,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786173420000,"timestamp_ms":1786173420000,"timestamp_seconds":1786173420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b71e0"} 
[2026-08-08 12:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 12:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260394752001,"66":27789,"193":206,"83":41216,"24":15,"16":375352855743168512,"44":-1361846275667879936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260394752001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:47:42] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352855743168512,"km_value":375352855743168.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361846275667879936,"description":"Unknown IO ID 44"} 
[2026-08-08 12:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260394752001,"power":27789,"unknown_193":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1361846275667879936}} 
[2026-08-08 12:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":152949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:47:42] local.INFO: GPS data processed {"connection_id":152949,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:47:42] local.INFO: Acknowledgment sent {"connection_id":152949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:47:46] local.INFO: TCP Data received {"connection_id":150246,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b2b90012d19f0c0071ffb18002c006328..."} 
[2026-08-08 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b2b90012d19f0c0071ffb18002c006328..."} 
[2026-08-08 12:47:46] local.INFO: Processing buffer {"connection_id":150246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b2b90012d19f0c0071ffb18002c006328..."} 
[2026-08-08 12:47:46] local.INFO: Packet analysis {"connection_id":150246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:47:46] local.INFO: Extracted packet for processing {"connection_id":150246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756674752,"raw_latitude":119536408,"longitude_deg":75.6674752,"latitude_deg":11.9536408,"altitude":44,"angle":99,"satellites":40,"speed":25,"hex_longitude":"2d19f0c0","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-08-08 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260390656001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11399513218482176,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868501294750853120,"note":"Value kept but may cause issues"} 
[2026-08-08 12:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786173402000,"timestamp_ms":1786173402000,"timestamp_seconds":1786173402,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b2b90"} 
[2026-08-08 12:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-08 12:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260390656001,"66":13559,"121":206,"28":31744,"24":25,"16":11399513218482176,"45":1868501294750853120},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260390656001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:47:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11399513218482176,"km_value":11399513218482.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868501294750853120,"description":"Unknown IO ID 45"} 
[2026-08-08 12:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260390656001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1868501294750853120}} 
[2026-08-08 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":150246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:47:46] local.INFO: GPS data processed {"connection_id":150246,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:47:46] local.INFO: Acknowledgment sent {"connection_id":150246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:48:05] local.INFO: TCP Data received {"connection_id":150512,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:48:05] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:48:05] local.INFO: IMEI packet received {"connection_id":150512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":150512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:48:10] local.INFO: TCP Data received {"connection_id":150512,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:48:10] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:48:10] local.INFO: IMEI packet received {"connection_id":150512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":150512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:48:12] local.INFO: TCP Data received {"connection_id":150512,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b79b0012ced1380071425200019014b2c..."} 
[2026-08-08 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b79b0012ced1380071425200019014b2c..."} 
[2026-08-08 12:48:12] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b79b0012ced1380071425200019014b2c..."} 
[2026-08-08 12:48:12] local.INFO: Packet analysis {"connection_id":150512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:48:12] local.INFO: Extracted packet for processing {"connection_id":150512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753734528,"raw_latitude":118760736,"longitude_deg":75.3734528,"latitude_deg":11.8760736,"altitude":25,"angle":331,"satellites":44,"speed":15,"hex_longitude":"2ced1380","hex_latitude":"07142520","is_valid_coordinates":true} 
[2026-08-08 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260395520001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352894397874176,"note":"Value kept but may cause issues"} 
[2026-08-08 12:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363042544318746624,"note":"Value kept but may cause issues"} 
[2026-08-08 12:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786173422000,"timestamp_ms":1786173422000,"timestamp_seconds":1786173422,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b79b0"} 
[2026-08-08 12:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 12:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260395520001,"66":27517,"193":206,"83":41216,"24":15,"16":375352894397874176,"44":-1363042544318746624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260395520001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:48:12] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352894397874176,"km_value":375352894397874.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363042544318746624,"description":"Unknown IO ID 44"} 
[2026-08-08 12:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260395520001,"power":27517,"unknown_193":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1363042544318746624}} 
[2026-08-08 12:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":150512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:48:12] local.INFO: GPS data processed {"connection_id":150512,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:48:12] local.INFO: Acknowledgment sent {"connection_id":150512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:48:42] local.INFO: TCP Data received {"connection_id":150512,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b7d98012ced12c0071426980019015f2c..."} 
[2026-08-08 12:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b7d98012ced12c0071426980019015f2c..."} 
[2026-08-08 12:48:42] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b7d98012ced12c0071426980019015f2c..."} 
[2026-08-08 12:48:42] local.INFO: Packet analysis {"connection_id":150512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:48:42] local.INFO: Extracted packet for processing {"connection_id":150512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753734336,"raw_latitude":118761112,"longitude_deg":75.3734336,"latitude_deg":11.8761112,"altitude":25,"angle":351,"satellites":44,"speed":16,"hex_longitude":"2ced12c0","hex_latitude":"07142698","is_valid_coordinates":true} 
[2026-08-08 12:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260396032001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352911577743360,"note":"Value kept but may cause issues"} 
[2026-08-08 12:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363605494272024576,"note":"Value kept but may cause issues"} 
[2026-08-08 12:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786173423000,"timestamp_ms":1786173423000,"timestamp_seconds":1786173423,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b7d98"} 
[2026-08-08 12:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 12:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260396032001,"66":27517,"193":206,"83":41216,"24":16,"16":375352911577743360,"44":-1363605494272024576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260396032001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:48:42] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352911577743360,"km_value":375352911577743.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363605494272024576,"description":"Unknown IO ID 44"} 
[2026-08-08 12:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260396032001,"power":27517,"unknown_193":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1363605494272024576}} 
[2026-08-08 12:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":150512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:48:42] local.INFO: GPS data processed {"connection_id":150512,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:48:42] local.INFO: Acknowledgment sent {"connection_id":150512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:49:05] local.INFO: TCP Data received {"connection_id":150247,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:05] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:05] local.INFO: IMEI packet received {"connection_id":150247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":150247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:49:06] local.INFO: TCP Data received {"connection_id":151467,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:06] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:06] local.INFO: IMEI packet received {"connection_id":151467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":151467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:49:08] local.INFO: TCP Data received {"connection_id":150247,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:08] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:08] local.INFO: IMEI packet received {"connection_id":150247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":150247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:49:10] local.INFO: TCP Data received {"connection_id":150247,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:10] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:49:10] local.INFO: IMEI packet received {"connection_id":150247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":150247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:49:11] local.INFO: TCP Data received {"connection_id":150247,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b8180012ced1340071428400018000d2c..."} 
[2026-08-08 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b8180012ced1340071428400018000d2c..."} 
[2026-08-08 12:49:11] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b8180012ced1340071428400018000d2c..."} 
[2026-08-08 12:49:11] local.INFO: Packet analysis {"connection_id":150247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:49:11] local.INFO: Extracted packet for processing {"connection_id":150247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":753734464,"raw_latitude":118761536,"longitude_deg":75.3734464,"latitude_deg":11.8761536,"altitude":24,"angle":13,"satellites":44,"speed":17,"hex_longitude":"2ced1340","hex_latitude":"07142840","is_valid_coordinates":true} 
[2026-08-08 12:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260396288001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352933052579840,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363816600504461312,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173424000,"timestamp_ms":1786173424000,"timestamp_seconds":1786173424,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b8180"} 
[2026-08-08 12:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 12:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260396288001,"66":27908,"193":206,"83":41216,"24":17,"16":375352933052579840,"44":-1363816600504461312},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260396288001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352933052579840,"km_value":375352933052579.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363816600504461312,"description":"Unknown IO ID 44"} 
[2026-08-08 12:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260396288001,"power":27908,"unknown_193":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1363816600504461312}} 
[2026-08-08 12:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":150247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:49:11] local.INFO: GPS data processed {"connection_id":150247,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:49:11] local.INFO: Acknowledgment sent {"connection_id":150247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:49:11] local.INFO: TCP Data received {"connection_id":151467,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:11] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:11] local.INFO: IMEI packet received {"connection_id":151467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":151467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:49:12] local.INFO: TCP Data received {"connection_id":151467,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03c40e8012d1ac640071f8790003500bc27..."} 
[2026-08-08 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03c40e8012d1ac640071f8790003500bc27..."} 
[2026-08-08 12:49:12] local.INFO: Processing buffer {"connection_id":151467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03c40e8012d1ac640071f8790003500bc27..."} 
[2026-08-08 12:49:12] local.INFO: Packet analysis {"connection_id":151467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:49:12] local.INFO: Extracted packet for processing {"connection_id":151467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119506832,"longitude_deg":75.6729408,"latitude_deg":11.9506832,"altitude":53,"angle":188,"satellites":39,"speed":17,"hex_longitude":"2d1ac640","hex_latitude":"071f8790","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260408576001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11402678609379328,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929510995945560064,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786173473000,"timestamp_ms":1786173473000,"timestamp_seconds":1786173473,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03c40e8"} 
[2026-08-08 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-08 12:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260408576001,"66":14265,"121":206,"28":31744,"24":17,"16":11402678609379328,"45":1929510995945560064},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260408576001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11402678609379328,"km_value":11402678609379.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929510995945560064,"description":"Unknown IO ID 45"} 
[2026-08-08 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260408576001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1929510995945560064}} 
[2026-08-08 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":151467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:49:12] local.INFO: GPS data processed {"connection_id":151467,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:49:12] local.INFO: Acknowledgment sent {"connection_id":151467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:49:17] local.INFO: TCP Data received {"connection_id":150247,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b8568012ced13c0071429e00018001f2c..."} 
[2026-08-08 12:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b8568012ced13c0071429e00018001f2c..."} 
[2026-08-08 12:49:17] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b8568012ced13c0071429e00018001f2c..."} 
[2026-08-08 12:49:17] local.INFO: Packet analysis {"connection_id":150247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:49:17] local.INFO: Extracted packet for processing {"connection_id":150247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:49:17] local.INFO: GPS Element Parsed {"raw_longitude":753734592,"raw_latitude":118761952,"longitude_deg":75.3734592,"latitude_deg":11.8761952,"altitude":24,"angle":31,"satellites":44,"speed":18,"hex_longitude":"2ced13c0","hex_latitude":"071429e0","is_valid_coordinates":true} 
[2026-08-08 12:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260396544001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352954527416320,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363675863015997440,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786173425000,"timestamp_ms":1786173425000,"timestamp_seconds":1786173425,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b8568"} 
[2026-08-08 12:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:49: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-08-08 12:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260396544001,"66":27908,"193":206,"83":41216,"24":18,"16":375352954527416320,"44":-1363675863015997440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260396544001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:49:17] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352954527416320,"km_value":375352954527416.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363675863015997440,"description":"Unknown IO ID 44"} 
[2026-08-08 12:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260396544001,"power":27908,"unknown_193":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1363675863015997440}} 
[2026-08-08 12:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":150247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:49:17] local.INFO: GPS data processed {"connection_id":150247,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:49:17] local.INFO: Acknowledgment sent {"connection_id":150247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:49:36] local.INFO: TCP Data received {"connection_id":151468,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:36] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:49:36] local.INFO: IMEI packet received {"connection_id":151468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":151468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:49:50] local.INFO: TCP Data received {"connection_id":150247,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b8950012ced150007142b480018002c2c..."} 
[2026-08-08 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b8950012ced150007142b480018002c2c..."} 
[2026-08-08 12:49:50] local.INFO: Processing buffer {"connection_id":150247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b8950012ced150007142b480018002c2c..."} 
[2026-08-08 12:49:50] local.INFO: Packet analysis {"connection_id":150247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:49:50] local.INFO: Extracted packet for processing {"connection_id":150247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":753734912,"raw_latitude":118762312,"longitude_deg":75.3734912,"latitude_deg":11.8762312,"altitude":24,"angle":44,"satellites":44,"speed":19,"hex_longitude":"2ced1500","hex_latitude":"07142b48","is_valid_coordinates":true} 
[2026-08-08 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260396800001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375352976002252800,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363535125527535616,"note":"Value kept but may cause issues"} 
[2026-08-08 12:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786173426000,"timestamp_ms":1786173426000,"timestamp_seconds":1786173426,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b8950"} 
[2026-08-08 12:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 12:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260396800001,"66":27745,"193":206,"83":41216,"24":19,"16":375352976002252800,"44":-1363535125527535616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260396800001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:49:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375352976002252800,"km_value":375352976002252.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363535125527535616,"description":"Unknown IO ID 44"} 
[2026-08-08 12:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260396800001,"power":27745,"unknown_193":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1363535125527535616}} 
[2026-08-08 12:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":150247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:49:50] local.INFO: GPS data processed {"connection_id":150247,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:49:50] local.INFO: Acknowledgment sent {"connection_id":150247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:50:05] local.INFO: TCP Data received {"connection_id":150513,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:50:05] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:50:05] local.INFO: IMEI packet received {"connection_id":150513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":150513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:50:05] local.INFO: TCP Data received {"connection_id":151468,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:50:05] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:50:05] local.INFO: IMEI packet received {"connection_id":151468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:50:10] local.INFO: TCP Data received {"connection_id":150513,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:50:10] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:50:10] local.INFO: IMEI packet received {"connection_id":150513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":150513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:50:11] local.INFO: TCP Data received {"connection_id":150513,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03b9cd8012ced1c00071432e00018001f2d..."} 
[2026-08-08 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03b9cd8012ced1c00071432e00018001f2d..."} 
[2026-08-08 12:50:11] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03b9cd8012ced1c00071432e00018001f2d..."} 
[2026-08-08 12:50:11] local.INFO: Packet analysis {"connection_id":150513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:50:11] local.INFO: Extracted packet for processing {"connection_id":150513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":753736704,"raw_latitude":118764256,"longitude_deg":75.3736704,"latitude_deg":11.8764256,"altitude":24,"angle":31,"satellites":45,"speed":22,"hex_longitude":"2ced1c00","hex_latitude":"071432e0","is_valid_coordinates":true} 
[2026-08-08 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260397056001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375353104851271680,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363183281806555136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:11] 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-08-08 12:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173431000,"timestamp_ms":1786173431000,"timestamp_seconds":1786173431,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03b9cd8"} 
[2026-08-08 12:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 12:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260397056001,"66":27865,"27":206,"83":41216,"24":22,"16":375353104851271680,"44":-1363183281806555136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-08-08 12:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260397056001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:50:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-08 12:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375353104851271680,"km_value":375353104851271.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363183281806555136,"description":"Unknown IO ID 44"} 
[2026-08-08 12:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260397056001,"power":27865,"unknown_27":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1363183281806555136}} 
[2026-08-08 12:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":150513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:50:11] local.INFO: GPS data processed {"connection_id":150513,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:50:11] local.INFO: Acknowledgment sent {"connection_id":150513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:50:33] local.INFO: TCP Data received {"connection_id":151468,"ip":"117.224.217.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03c44d0012d1ac640071f8630003500af26..."} 
[2026-08-08 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03c44d0012d1ac640071f8630003500af26..."} 
[2026-08-08 12:50:33] local.INFO: Processing buffer {"connection_id":151468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03c44d0012d1ac640071f8630003500af26..."} 
[2026-08-08 12:50:33] local.INFO: Packet analysis {"connection_id":151468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:50:33] local.INFO: Extracted packet for processing {"connection_id":151468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756729408,"raw_latitude":119506480,"longitude_deg":75.6729408,"latitude_deg":11.950648,"altitude":53,"angle":175,"satellites":38,"speed":12,"hex_longitude":"2d1ac640","hex_latitude":"071f8630","is_valid_coordinates":true} 
[2026-08-08 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260409088001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11402695789248512,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929299889712762880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786173474000,"timestamp_ms":1786173474000,"timestamp_seconds":1786173474,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03c44d0"} 
[2026-08-08 12:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 12:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 12:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.217.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 12:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 12:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260409088001,"66":14265,"121":206,"28":31744,"24":12,"16":11402695789248512,"45":1929299889712762880},"client_ip":"117.224.217.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 12:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 12:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 12:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260409088001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:50:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 12:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 12:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11402695789248512,"km_value":11402695789248.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929299889712762880,"description":"Unknown IO ID 45"} 
[2026-08-08 12:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260409088001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1929299889712762880}} 
[2026-08-08 12:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":151468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:50:33] local.INFO: GPS data processed {"connection_id":151468,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:50:33] local.INFO: Acknowledgment sent {"connection_id":151468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:50:43] local.INFO: TCP Data received {"connection_id":150513,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03beee0012ced294007144d700018001a29..."} 
[2026-08-08 12:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03beee0012ced294007144d700018001a29..."} 
[2026-08-08 12:50:43] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03beee0012ced294007144d700018001a29..."} 
[2026-08-08 12:50:43] local.INFO: Packet analysis {"connection_id":150513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:50:43] local.INFO: Extracted packet for processing {"connection_id":150513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03b"} 
[2026-08-08 12:50:43] local.INFO: GPS Element Parsed {"raw_longitude":753740096,"raw_latitude":118771056,"longitude_deg":75.3740096,"latitude_deg":11.8771056,"altitude":24,"angle":26,"satellites":41,"speed":11,"hex_longitude":"2ced2940","hex_latitude":"07144d70","is_valid_coordinates":true} 
[2026-08-08 12:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260398336001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375353474218459136,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361212956969082880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:50:43] 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-08-08 12:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786173452000,"timestamp_ms":1786173452000,"timestamp_seconds":1786173452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03beee0"} 
[2026-08-08 12:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260398336001,"66":28050,"94":206,"83":41216,"24":11,"16":375353474218459136,"44":-1361212956969082880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-08 12:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260398336001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:50:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-08 12:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375353474218459136,"km_value":375353474218459.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361212956969082880,"description":"Unknown IO ID 44"} 
[2026-08-08 12:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260398336001,"power":28050,"unknown_94":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1361212956969082880}} 
[2026-08-08 12:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":150513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:50:43] local.INFO: GPS data processed {"connection_id":150513,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:50:43] local.INFO: Acknowledgment sent {"connection_id":150513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:51:05] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:51:05] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:51:05] local.INFO: IMEI packet received {"connection_id":152950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":152950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:51:10] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:51:10] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:51:10] local.INFO: IMEI packet received {"connection_id":152950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":152950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:51:11] local.INFO: TCP Data received {"connection_id":150248,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:51:11] local.INFO: Processing buffer {"connection_id":150248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:51:11] local.INFO: IMEI packet received {"connection_id":150248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 12:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":150248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:51:12] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03c40e8012ced330007146098001b001529..."} 
[2026-08-08 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03c40e8012ced330007146098001b001529..."} 
[2026-08-08 12:51:12] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03c40e8012ced330007146098001b001529..."} 
[2026-08-08 12:51:12] local.INFO: Packet analysis {"connection_id":152950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:51:12] local.INFO: Extracted packet for processing {"connection_id":152950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753742592,"raw_latitude":118775960,"longitude_deg":75.3742592,"latitude_deg":11.877596,"altitude":27,"angle":21,"satellites":41,"speed":17,"hex_longitude":"2ced3300","hex_latitude":"07146098","is_valid_coordinates":true} 
[2026-08-08 12:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260403712001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375353740506431488,"note":"Value kept but may cause issues"} 
[2026-08-08 12:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1357483413525925888,"note":"Value kept but may cause issues"} 
[2026-08-08 12:51:12] 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-08-08 12:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786173473000,"timestamp_ms":1786173473000,"timestamp_seconds":1786173473,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03c40e8"} 
[2026-08-08 12:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 12:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260403712001,"66":27930,"94":206,"83":41216,"24":17,"16":375353740506431488,"44":-1357483413525925888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-08 12:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260403712001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:51:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-08 12:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375353740506431488,"km_value":375353740506431.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1357483413525925888,"description":"Unknown IO ID 44"} 
[2026-08-08 12:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260403712001,"power":27930,"unknown_94":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1357483413525925888}} 
[2026-08-08 12:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":152950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:51:12] local.INFO: GPS data processed {"connection_id":152950,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:51:12] local.INFO: Acknowledgment sent {"connection_id":152950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:51:13] local.INFO: TCP Data received {"connection_id":150248,"ip":"117.224.217.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:51:13] local.INFO: Processing buffer {"connection_id":150248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 12:51:13] local.INFO: IMEI packet received {"connection_id":150248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 12:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":150248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:51:46] local.INFO: TCP Data received {"connection_id":152950,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03c7798012ced3d4007147ce0001c000826..."} 
[2026-08-08 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03c7798012ced3d4007147ce0001c000826..."} 
[2026-08-08 12:51:46] local.INFO: Processing buffer {"connection_id":152950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03c7798012ced3d4007147ce0001c000826..."} 
[2026-08-08 12:51:46] local.INFO: Packet analysis {"connection_id":152950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:51:46] local.INFO: Extracted packet for processing {"connection_id":152950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03c"} 
[2026-08-08 12:51:46] local.INFO: GPS Element Parsed {"raw_longitude":753745216,"raw_latitude":118783200,"longitude_deg":75.3745216,"latitude_deg":11.87832,"altitude":28,"angle":8,"satellites":38,"speed":15,"hex_longitude":"2ced3d40","hex_latitude":"07147ce0","is_valid_coordinates":true} 
[2026-08-08 12:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260409088001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375354114168586240,"note":"Value kept but may cause issues"} 
[2026-08-08 12:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354739032501741568,"note":"Value kept but may cause issues"} 
[2026-08-08 12:51:46] 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-08-08 12:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786173487000,"timestamp_ms":1786173487000,"timestamp_seconds":1786173487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03c7798"} 
[2026-08-08 12:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:51: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-08-08 12:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:51: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-08-08 12:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260409088001,"66":27843,"94":206,"83":41216,"24":15,"16":375354114168586240,"44":-1354739032501741568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-08-08 12:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260409088001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:51:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-08 12:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375354114168586240,"km_value":375354114168586.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354739032501741568,"description":"Unknown IO ID 44"} 
[2026-08-08 12:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260409088001,"power":27843,"unknown_94":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1354739032501741568}} 
[2026-08-08 12:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":152950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:51:46] local.INFO: GPS data processed {"connection_id":152950,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:51:46] local.INFO: Acknowledgment sent {"connection_id":152950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:52:09] local.INFO: TCP Data received {"connection_id":150249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:09] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:09] local.INFO: IMEI packet received {"connection_id":150249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":150249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:52:10] local.INFO: TCP Data received {"connection_id":150249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:10] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:10] local.INFO: IMEI packet received {"connection_id":150249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":150249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:52:15] local.INFO: TCP Data received {"connection_id":150249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:15] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:52:15] local.INFO: IMEI packet received {"connection_id":150249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":150249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:52:16] local.INFO: TCP Data received {"connection_id":150249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03f1390012cecda800715b4d0001801552c..."} 
[2026-08-08 12:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03f1390012cecda800715b4d0001801552c..."} 
[2026-08-08 12:52:16] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03f1390012cecda800715b4d0001801552c..."} 
[2026-08-08 12:52:16] local.INFO: Packet analysis {"connection_id":150249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:52:16] local.INFO: Extracted packet for processing {"connection_id":150249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:52:16] local.INFO: GPS Element Parsed {"raw_longitude":753719936,"raw_latitude":118863056,"longitude_deg":75.3719936,"latitude_deg":11.8863056,"altitude":24,"angle":341,"satellites":44,"speed":14,"hex_longitude":"2cecda80","hex_latitude":"0715b4d0","is_valid_coordinates":true} 
[2026-08-08 12:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260451072001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375358237337190400,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1376201499455246336,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:16] 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-08-08 12:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786173658000,"timestamp_ms":1786173658000,"timestamp_seconds":1786173658,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03f1390"} 
[2026-08-08 12:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 12:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260451072001,"66":27930,"192":206,"83":41216,"24":14,"16":375358237337190400,"44":-1376201499455246336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-08 12:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260451072001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:52:16] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 12:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375358237337190400,"km_value":375358237337190.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1376201499455246336,"description":"Unknown IO ID 44"} 
[2026-08-08 12:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260451072001,"power":27930,"unknown_192":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1376201499455246336}} 
[2026-08-08 12:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":150249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:52:16] local.INFO: GPS data processed {"connection_id":150249,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:52:16] local.INFO: Acknowledgment sent {"connection_id":150249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:52:19] local.INFO: TCP Data received {"connection_id":150249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03f61b0012ceccd000715d5b8001a014e2c..."} 
[2026-08-08 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03f61b0012ceccd000715d5b8001a014e2c..."} 
[2026-08-08 12:52:19] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03f61b0012ceccd000715d5b8001a014e2c..."} 
[2026-08-08 12:52:19] local.INFO: Packet analysis {"connection_id":150249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:52:19] local.INFO: Extracted packet for processing {"connection_id":150249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:52:19] local.INFO: GPS Element Parsed {"raw_longitude":753716480,"raw_latitude":118871480,"longitude_deg":75.371648,"latitude_deg":11.887148,"altitude":26,"angle":334,"satellites":44,"speed":22,"hex_longitude":"2ceccd00","hex_latitude":"0715d5b8","is_valid_coordinates":true} 
[2026-08-08 12:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260456448001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375358675423854592,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379649567918338048,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:19] 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-08-08 12:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786173678000,"timestamp_ms":1786173678000,"timestamp_seconds":1786173678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03f61b0"} 
[2026-08-08 12:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 12:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260456448001,"66":27876,"192":206,"83":41216,"24":22,"16":375358675423854592,"44":-1379649567918338048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-08 12:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260456448001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:52:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 12:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375358675423854592,"km_value":375358675423854.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1379649567918338048,"description":"Unknown IO ID 44"} 
[2026-08-08 12:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260456448001,"power":27876,"unknown_192":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1379649567918338048}} 
[2026-08-08 12:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":150249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:52:19] local.INFO: GPS data processed {"connection_id":150249,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:52:19] local.INFO: Acknowledgment sent {"connection_id":150249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:52:50] local.INFO: TCP Data received {"connection_id":150249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03f9860012cecbb400715f740001c01452b..."} 
[2026-08-08 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03f9860012cecbb400715f740001c01452b..."} 
[2026-08-08 12:52:50] local.INFO: Processing buffer {"connection_id":150249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03f9860012cecbb400715f740001c01452b..."} 
[2026-08-08 12:52:50] local.INFO: Packet analysis {"connection_id":150249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:52:50] local.INFO: Extracted packet for processing {"connection_id":150249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":753711936,"raw_latitude":118880064,"longitude_deg":75.3711936,"latitude_deg":11.8880064,"altitude":28,"angle":325,"satellites":43,"speed":33,"hex_longitude":"2cecbb40","hex_latitude":"0715f740","is_valid_coordinates":true} 
[2026-08-08 12:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260461568001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375359147870257152,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383449480101775360,"note":"Value kept but may cause issues"} 
[2026-08-08 12:52:50] 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-08-08 12:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786173692000,"timestamp_ms":1786173692000,"timestamp_seconds":1786173692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03f9860"} 
[2026-08-08 12:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 12:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260461568001,"66":27800,"192":206,"83":41216,"24":33,"16":375359147870257152,"44":-1383449480101775360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-08 12:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260461568001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:52:50] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 12:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375359147870257152,"km_value":375359147870257.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383449480101775360,"description":"Unknown IO ID 44"} 
[2026-08-08 12:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260461568001,"power":27800,"unknown_192":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1383449480101775360}} 
[2026-08-08 12:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":150249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:52:50] local.INFO: GPS data processed {"connection_id":150249,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:52:50] local.INFO: Acknowledgment sent {"connection_id":150249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:53:03] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:03] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:03] local.INFO: IMEI packet received {"connection_id":152951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":152951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:53:05] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:05] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:05] local.INFO: IMEI packet received {"connection_id":152951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":152951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:53:10] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:10] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:53:10] local.INFO: IMEI packet received {"connection_id":152951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":152951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:53:11] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe03fbf70012ceca5c0071615800019014524..."} 
[2026-08-08 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe03fbf70012ceca5c0071615800019014524..."} 
[2026-08-08 12:53:11] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe03fbf70012ceca5c0071615800019014524..."} 
[2026-08-08 12:53:11] local.INFO: Packet analysis {"connection_id":152951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:53:11] local.INFO: Extracted packet for processing {"connection_id":152951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe03f"} 
[2026-08-08 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":753706432,"raw_latitude":118887808,"longitude_deg":75.3706432,"latitude_deg":11.8887808,"altitude":25,"angle":325,"satellites":36,"speed":32,"hex_longitude":"2ceca5c0","hex_latitude":"07161580","is_valid_coordinates":true} 
[2026-08-08 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260465152001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375359603136790528,"note":"Value kept but may cause issues"} 
[2026-08-08 12:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1388445660936192000,"note":"Value kept but may cause issues"} 
[2026-08-08 12:53:11] 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-08-08 12:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173702000,"timestamp_ms":1786173702000,"timestamp_seconds":1786173702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe03fbf70"} 
[2026-08-08 12:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260465152001,"66":27767,"192":206,"83":41216,"24":32,"16":375359603136790528,"44":-1388445660936192000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-08-08 12:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260465152001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:53:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 12:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375359603136790528,"km_value":375359603136790.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1388445660936192000,"description":"Unknown IO ID 44"} 
[2026-08-08 12:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260465152001,"power":27767,"unknown_192":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1388445660936192000}} 
[2026-08-08 12:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":152951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:53:11] local.INFO: GPS data processed {"connection_id":152951,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:53:11] local.INFO: Acknowledgment sent {"connection_id":152951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:53:42] local.INFO: TCP Data received {"connection_id":152951,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04001d8012cec8e40071631e00015014123..."} 
[2026-08-08 12:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04001d8012cec8e40071631e00015014123..."} 
[2026-08-08 12:53:42] local.INFO: Processing buffer {"connection_id":152951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04001d8012cec8e40071631e00015014123..."} 
[2026-08-08 12:53:42] local.INFO: Packet analysis {"connection_id":152951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:53:42] local.INFO: Extracted packet for processing {"connection_id":152951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753700416,"raw_latitude":118895072,"longitude_deg":75.3700416,"latitude_deg":11.8895072,"altitude":21,"angle":321,"satellites":35,"speed":29,"hex_longitude":"2cec8e40","hex_latitude":"071631e0","is_valid_coordinates":true} 
[2026-08-08 12:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260467712001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375360058403323904,"note":"Value kept but may cause issues"} 
[2026-08-08 12:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394497372933488640,"note":"Value kept but may cause issues"} 
[2026-08-08 12:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786173719000,"timestamp_ms":1786173719000,"timestamp_seconds":1786173719,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04001d8"} 
[2026-08-08 12:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260467712001,"66":27843,"193":206,"83":41216,"24":29,"16":375360058403323904,"44":-1394497372933488640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260467712001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:53:42] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375360058403323904,"km_value":375360058403323.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394497372933488640,"description":"Unknown IO ID 44"} 
[2026-08-08 12:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260467712001,"power":27843,"unknown_193":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1394497372933488640}} 
[2026-08-08 12:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":152951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:53:42] local.INFO: GPS data processed {"connection_id":152951,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:53:42] local.INFO: Acknowledgment sent {"connection_id":152951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:54:05] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:05] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:05] local.INFO: IMEI packet received {"connection_id":151469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:54:09] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:09] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:09] local.INFO: IMEI packet received {"connection_id":151469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":151469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:54:10] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:10] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:54:10] local.INFO: IMEI packet received {"connection_id":151469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":151469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:54:11] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0401178012cec87c007163c980015014e28..."} 
[2026-08-08 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0401178012cec87c007163c980015014e28..."} 
[2026-08-08 12:54:11] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0401178012cec87c007163c980015014e28..."} 
[2026-08-08 12:54:11] local.INFO: Packet analysis {"connection_id":151469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:54:11] local.INFO: Extracted packet for processing {"connection_id":151469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:54:11] local.INFO: GPS Element Parsed {"raw_longitude":753698752,"raw_latitude":118897816,"longitude_deg":75.3698752,"latitude_deg":11.8897816,"altitude":21,"angle":334,"satellites":40,"speed":33,"hex_longitude":"2cec87c0","hex_latitude":"07163c98","is_valid_coordinates":true} 
[2026-08-08 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260472064001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375360213022146560,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401112034884329472,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173723000,"timestamp_ms":1786173723000,"timestamp_seconds":1786173723,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0401178"} 
[2026-08-08 12:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 12:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260472064001,"66":27832,"193":206,"83":41216,"24":33,"16":375360213022146560,"44":-1401112034884329472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260472064001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:54:11] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375360213022146560,"km_value":375360213022146.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401112034884329472,"description":"Unknown IO ID 44"} 
[2026-08-08 12:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260472064001,"power":27832,"unknown_193":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1401112034884329472}} 
[2026-08-08 12:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":151469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:54:11] local.INFO: GPS data processed {"connection_id":151469,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:54:11] local.INFO: Acknowledgment sent {"connection_id":151469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:54:16] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0403888012cec7bc007165f080015015324..."} 
[2026-08-08 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0403888012cec7bc007165f080015015324..."} 
[2026-08-08 12:54:16] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0403888012cec7bc007165f080015015324..."} 
[2026-08-08 12:54:16] local.INFO: Packet analysis {"connection_id":151469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:54:16] local.INFO: Extracted packet for processing {"connection_id":151469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":753695680,"raw_latitude":118906632,"longitude_deg":75.369568,"latitude_deg":11.8906632,"altitude":21,"angle":339,"satellites":36,"speed":33,"hex_longitude":"2cec7bc0","hex_latitude":"07165f08","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260473088001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375360663993712640,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1402941622232246272,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786173733000,"timestamp_ms":1786173733000,"timestamp_seconds":1786173733,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0403888"} 
[2026-08-08 12:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 12:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12: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-08-08 12:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12: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-08-08 12:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260473088001,"66":27843,"193":206,"83":41216,"24":33,"16":375360663993712640,"44":-1402941622232246272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260473088001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:54:16] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375360663993712640,"km_value":375360663993712.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1402941622232246272,"description":"Unknown IO ID 44"} 
[2026-08-08 12:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260473088001,"power":27843,"unknown_193":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1402941622232246272}} 
[2026-08-08 12:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":151469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:54:16] local.INFO: GPS data processed {"connection_id":151469,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:54:16] local.INFO: Acknowledgment sent {"connection_id":151469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:54:47] local.INFO: TCP Data received {"connection_id":151469,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0406f38012cec6e40071681200015015129..."} 
[2026-08-08 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0406f38012cec6e40071681200015015129..."} 
[2026-08-08 12:54:47] local.INFO: Processing buffer {"connection_id":151469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0406f38012cec6e40071681200015015129..."} 
[2026-08-08 12:54:47] local.INFO: Packet analysis {"connection_id":151469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:54:47] local.INFO: Extracted packet for processing {"connection_id":151469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe040"} 
[2026-08-08 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":753692224,"raw_latitude":118915360,"longitude_deg":75.3692224,"latitude_deg":11.891536,"altitude":21,"angle":337,"satellites":41,"speed":21,"hex_longitude":"2cec6e40","hex_latitude":"07168120","is_valid_coordinates":true} 
[2026-08-08 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260475648001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375361119260246016,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406319321950517248,"note":"Value kept but may cause issues"} 
[2026-08-08 12:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786173747000,"timestamp_ms":1786173747000,"timestamp_seconds":1786173747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0406f38"} 
[2026-08-08 12:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 12:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12: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-08-08 12:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260475648001,"66":27865,"193":206,"83":41216,"24":21,"16":375361119260246016,"44":-1406319321950517248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 12:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260475648001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:54:47] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 12:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375361119260246016,"km_value":375361119260246.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406319321950517248,"description":"Unknown IO ID 44"} 
[2026-08-08 12:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260475648001,"power":27865,"unknown_193":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1406319321950517248}} 
[2026-08-08 12:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":151469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:54:47] local.INFO: GPS data processed {"connection_id":151469,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:54:47] local.INFO: Acknowledgment sent {"connection_id":151469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:55:05] local.INFO: TCP Data received {"connection_id":150250,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:05] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:05] local.INFO: IMEI packet received {"connection_id":150250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":150250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:55:06] local.INFO: TCP Data received {"connection_id":150250,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:06] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:06] local.INFO: IMEI packet received {"connection_id":150250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":150250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:55:10] local.INFO: TCP Data received {"connection_id":150250,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:10] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:55:10] local.INFO: IMEI packet received {"connection_id":150250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":150250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:55:11] local.INFO: TCP Data received {"connection_id":150250,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04220d0012cec50800717b8a80027000324..."} 
[2026-08-08 12:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04220d0012cec50800717b8a80027000324..."} 
[2026-08-08 12:55:11] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04220d0012cec50800717b8a80027000324..."} 
[2026-08-08 12:55:11] local.INFO: Packet analysis {"connection_id":150250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:55:11] local.INFO: Extracted packet for processing {"connection_id":150250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:55:11] local.INFO: GPS Element Parsed {"raw_longitude":753684608,"raw_latitude":118995112,"longitude_deg":75.3684608,"latitude_deg":11.8995112,"altitude":39,"angle":3,"satellites":36,"speed":52,"hex_longitude":"2cec5080","hex_latitude":"0717b8a8","is_valid_coordinates":true} 
[2026-08-08 12:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260505856001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375365079220092928,"note":"Value kept but may cause issues"} 
[2026-08-08 12:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418985695882115072,"note":"Value kept but may cause issues"} 
[2026-08-08 12:55:11] 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-08-08 12:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173858000,"timestamp_ms":1786173858000,"timestamp_seconds":1786173858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04220d0"} 
[2026-08-08 12:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260505856001,"66":27865,"116":206,"83":41216,"24":52,"16":375365079220092928,"44":-1418985695882115072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-08-08 12:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260505856001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:55:11] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-08 12:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375365079220092928,"km_value":375365079220092.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418985695882115072,"description":"Unknown IO ID 44"} 
[2026-08-08 12:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260505856001,"power":27865,"unknown_116":206,"unknown_83":41216,"ignition":52,"odometer":null,"unknown_44":-1418985695882115072}} 
[2026-08-08 12:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":150250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:55:11] local.INFO: GPS data processed {"connection_id":150250,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:55:11] local.INFO: Acknowledgment sent {"connection_id":150250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:55:41] local.INFO: TCP Data received {"connection_id":150250,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0423c28012cec55000717df680025000628..."} 
[2026-08-08 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0423c28012cec55000717df680025000628..."} 
[2026-08-08 12:55:41] local.INFO: Processing buffer {"connection_id":150250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0423c28012cec55000717df680025000628..."} 
[2026-08-08 12:55:41] local.INFO: Packet analysis {"connection_id":150250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:55:41] local.INFO: Extracted packet for processing {"connection_id":150250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753685760,"raw_latitude":119005032,"longitude_deg":75.368576,"latitude_deg":11.9005032,"altitude":37,"angle":6,"satellites":40,"speed":60,"hex_longitude":"2cec5500","hex_latitude":"0717df68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260507648001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375365560256430080,"note":"Value kept but may cause issues"} 
[2026-08-08 12:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418493114670602240,"note":"Value kept but may cause issues"} 
[2026-08-08 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786173865000,"timestamp_ms":1786173865000,"timestamp_seconds":1786173865,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0423c28"} 
[2026-08-08 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-08-08 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 12:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12: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-08-08 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260507648001,"66":27832,"115":206,"83":41216,"24":60,"16":375365560256430080,"44":-1418493114670602240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260507648001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:55:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 12:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375365560256430080,"km_value":375365560256430.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418493114670602240,"description":"Unknown IO ID 44"} 
[2026-08-08 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260507648001,"power":27832,"unknown_115":206,"unknown_83":41216,"ignition":60,"odometer":null,"unknown_44":-1418493114670602240}} 
[2026-08-08 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":150250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:55:41] local.INFO: GPS data processed {"connection_id":150250,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:55:41] local.INFO: Acknowledgment sent {"connection_id":150250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:56:05] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:56:05] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:56:05] local.INFO: IMEI packet received {"connection_id":151470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":151470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:56:10] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:56:10] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:56:10] local.INFO: IMEI packet received {"connection_id":151470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":151470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:56:11] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0425398012cec5980071802b80024000729..."} 
[2026-08-08 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0425398012cec5980071802b80024000729..."} 
[2026-08-08 12:56:11] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0425398012cec5980071802b80024000729..."} 
[2026-08-08 12:56:11] local.INFO: Packet analysis {"connection_id":151470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:56:11] local.INFO: Extracted packet for processing {"connection_id":151470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:56:11] local.INFO: GPS Element Parsed {"raw_longitude":753686912,"raw_latitude":119014072,"longitude_deg":75.3686912,"latitude_deg":11.9014072,"altitude":36,"angle":7,"satellites":41,"speed":58,"hex_longitude":"2cec5980","hex_latitude":"071802b8","is_valid_coordinates":true} 
[2026-08-08 12:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260509440001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375366002638061568,"note":"Value kept but may cause issues"} 
[2026-08-08 12:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417226477272864768,"note":"Value kept but may cause issues"} 
[2026-08-08 12:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173871000,"timestamp_ms":1786173871000,"timestamp_seconds":1786173871,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0425398"} 
[2026-08-08 12:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 12:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260509440001,"66":27800,"115":206,"83":41216,"24":58,"16":375366002638061568,"44":-1417226477272864768},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 12:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260509440001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375366002638061568,"km_value":375366002638061.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417226477272864768,"description":"Unknown IO ID 44"} 
[2026-08-08 12:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260509440001,"power":27800,"unknown_115":206,"unknown_83":41216,"ignition":58,"odometer":null,"unknown_44":-1417226477272864768}} 
[2026-08-08 12:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":151470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:56:11] local.INFO: GPS data processed {"connection_id":151470,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:56:11] local.INFO: Acknowledgment sent {"connection_id":151470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:56:41] local.INFO: TCP Data received {"connection_id":151470,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0426b08012cec6080071825780021000d2b..."} 
[2026-08-08 12:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0426b08012cec6080071825780021000d2b..."} 
[2026-08-08 12:56:41] local.INFO: Processing buffer {"connection_id":151470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0426b08012cec6080071825780021000d2b..."} 
[2026-08-08 12:56:41] local.INFO: Packet analysis {"connection_id":151470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:56:41] local.INFO: Extracted packet for processing {"connection_id":151470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe042"} 
[2026-08-08 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":753688704,"raw_latitude":119022968,"longitude_deg":75.3688704,"latitude_deg":11.9022968,"altitude":33,"angle":13,"satellites":43,"speed":59,"hex_longitude":"2cec6080","hex_latitude":"07182578","is_valid_coordinates":true} 
[2026-08-08 12:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260510976001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375366445019693056,"note":"Value kept but may cause issues"} 
[2026-08-08 12:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415959839875352576,"note":"Value kept but may cause issues"} 
[2026-08-08 12:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786173877000,"timestamp_ms":1786173877000,"timestamp_seconds":1786173877,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0426b08"} 
[2026-08-08 12:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:56: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-08-08 12:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260510976001,"66":27821,"115":206,"83":41216,"24":59,"16":375366445019693056,"44":-1415959839875352576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 12:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260510976001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:56:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 12:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375366445019693056,"km_value":375366445019693.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415959839875352576,"description":"Unknown IO ID 44"} 
[2026-08-08 12:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260510976001,"power":27821,"unknown_115":206,"unknown_83":41216,"ignition":59,"odometer":null,"unknown_44":-1415959839875352576}} 
[2026-08-08 12:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":151470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:56:41] local.INFO: GPS data processed {"connection_id":151470,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:56:41] local.INFO: Acknowledgment sent {"connection_id":151470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:57:05] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:05] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:05] local.INFO: IMEI packet received {"connection_id":150514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":150514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:57:06] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:06] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:06] local.INFO: IMEI packet received {"connection_id":150514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":150514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:57:10] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:10] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:57:10] local.INFO: IMEI packet received {"connection_id":150514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":150514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:57:14] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe043e5f0012cec028007192a00001e012e27..."} 
[2026-08-08 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe043e5f0012cec028007192a00001e012e27..."} 
[2026-08-08 12:57:14] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe043e5f0012cec028007192a00001e012e27..."} 
[2026-08-08 12:57:14] local.INFO: Packet analysis {"connection_id":150514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe043"} 
[2026-08-08 12:57:14] local.INFO: Extracted packet for processing {"connection_id":150514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe043"} 
[2026-08-08 12:57:14] local.INFO: GPS Element Parsed {"raw_longitude":753664640,"raw_latitude":119089664,"longitude_deg":75.366464,"latitude_deg":11.9089664,"altitude":30,"angle":302,"satellites":39,"speed":32,"hex_longitude":"2cec0280","hex_latitude":"07192a00","is_valid_coordinates":true} 
[2026-08-08 12:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260534784001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375370112921763840,"note":"Value kept but may cause issues"} 
[2026-08-08 12:57:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433974238366994432,"note":"Value kept but may cause issues"} 
[2026-08-08 12:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786173974000,"timestamp_ms":1786173974000,"timestamp_seconds":1786173974,"priority":1,"record_length":96,"hex_timestamp":"0000019fe043e5f0"} 
[2026-08-08 12:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 12:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260534784001,"66":27843,"136":206,"83":41216,"24":32,"16":375370112921763840,"44":-1433974238366994432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-08-08 12:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260534784001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:57:14] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 12:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375370112921763840,"km_value":375370112921763.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:57:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433974238366994432,"description":"Unknown IO ID 44"} 
[2026-08-08 12:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260534784001,"power":27843,"unknown_136":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1433974238366994432}} 
[2026-08-08 12:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":150514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:57:14] local.INFO: GPS data processed {"connection_id":150514,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:57:14] local.INFO: Acknowledgment sent {"connection_id":150514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:57:46] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe043edc0012cebfc4007192cc8001d012225..."} 
[2026-08-08 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe043edc0012cebfc4007192cc8001d012225..."} 
[2026-08-08 12:57:46] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe043edc0012cebfc4007192cc8001d012225..."} 
[2026-08-08 12:57:46] local.INFO: Packet analysis {"connection_id":150514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe043"} 
[2026-08-08 12:57:46] local.INFO: Extracted packet for processing {"connection_id":150514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe043"} 
[2026-08-08 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":753663040,"raw_latitude":119090376,"longitude_deg":75.366304,"latitude_deg":11.9090376,"altitude":29,"angle":290,"satellites":37,"speed":34,"hex_longitude":"2cebfc40","hex_latitude":"07192cc8","is_valid_coordinates":true} 
[2026-08-08 12: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-08-08 12:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260537344001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375370194526142464,"note":"Value kept but may cause issues"} 
[2026-08-08 12:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440448162829828096,"note":"Value kept but may cause issues"} 
[2026-08-08 12:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786173976000,"timestamp_ms":1786173976000,"timestamp_seconds":1786173976,"priority":1,"record_length":96,"hex_timestamp":"0000019fe043edc0"} 
[2026-08-08 12:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 12:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260537344001,"66":27713,"136":206,"83":41216,"24":34,"16":375370194526142464,"44":-1440448162829828096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-08-08 12:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260537344001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:57:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 12:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375370194526142464,"km_value":375370194526142.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440448162829828096,"description":"Unknown IO ID 44"} 
[2026-08-08 12:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260537344001,"power":27713,"unknown_136":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1440448162829828096}} 
[2026-08-08 12:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":150514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:57:46] local.INFO: GPS data processed {"connection_id":150514,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:57:46] local.INFO: Acknowledgment sent {"connection_id":150514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:58:10] local.INFO: TCP Data received {"connection_id":150251,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:58:10] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:58:10] local.INFO: IMEI packet received {"connection_id":150251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":150251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:58:14] local.INFO: TCP Data received {"connection_id":150251,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:58:14] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:58:14] local.INFO: IMEI packet received {"connection_id":150251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":150251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:58:15] local.INFO: TCP Data received {"connection_id":150251,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0440530012cebe84007193608001c01342b..."} 
[2026-08-08 12:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0440530012cebe84007193608001c01342b..."} 
[2026-08-08 12:58:15] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0440530012cebe84007193608001c01342b..."} 
[2026-08-08 12:58:15] local.INFO: Packet analysis {"connection_id":150251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:58:15] local.INFO: Extracted packet for processing {"connection_id":150251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:58:15] local.INFO: GPS Element Parsed {"raw_longitude":753657920,"raw_latitude":119092744,"longitude_deg":75.365792,"latitude_deg":11.9092744,"altitude":28,"angle":308,"satellites":43,"speed":37,"hex_longitude":"2cebe840","hex_latitude":"07193608","is_valid_coordinates":true} 
[2026-08-08 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260537856001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375370465109082112,"note":"Value kept but may cause issues"} 
[2026-08-08 12:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1442207381434087424,"note":"Value kept but may cause issues"} 
[2026-08-08 12:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786173982000,"timestamp_ms":1786173982000,"timestamp_seconds":1786173982,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0440530"} 
[2026-08-08 12:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 12:58: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-08-08 12:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260537856001,"66":27767,"136":206,"83":41216,"24":37,"16":375370465109082112,"44":-1442207381434087424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-08-08 12:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260537856001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:58:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 12:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375370465109082112,"km_value":375370465109082.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1442207381434087424,"description":"Unknown IO ID 44"} 
[2026-08-08 12:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260537856001,"power":27767,"unknown_136":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1442207381434087424}} 
[2026-08-08 12:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":150251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:58:15] local.INFO: GPS data processed {"connection_id":150251,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:58:15] local.INFO: Acknowledgment sent {"connection_id":150251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:58:46] local.INFO: TCP Data received {"connection_id":150251,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04410e8012cebe04007193e28001c014125..."} 
[2026-08-08 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04410e8012cebe04007193e28001c014125..."} 
[2026-08-08 12:58:46] local.INFO: Processing buffer {"connection_id":150251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04410e8012cebe04007193e28001c014125..."} 
[2026-08-08 12:58:46] local.INFO: Packet analysis {"connection_id":150251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:58:46] local.INFO: Extracted packet for processing {"connection_id":150251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:58:46] local.INFO: GPS Element Parsed {"raw_longitude":753655872,"raw_latitude":119094824,"longitude_deg":75.3655872,"latitude_deg":11.9094824,"altitude":28,"angle":321,"satellites":37,"speed":40,"hex_longitude":"2cebe040","hex_latitude":"07193e28","is_valid_coordinates":true} 
[2026-08-08 12:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260539392001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375370606843002880,"note":"Value kept but may cause issues"} 
[2026-08-08 12:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1447836880967694336,"note":"Value kept but may cause issues"} 
[2026-08-08 12:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786173985000,"timestamp_ms":1786173985000,"timestamp_seconds":1786173985,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04410e8"} 
[2026-08-08 12:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:58: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-08-08 12:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260539392001,"66":27767,"136":206,"83":41216,"24":40,"16":375370606843002880,"44":-1447836880967694336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-08-08 12:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260539392001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:58:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 12:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375370606843002880,"km_value":375370606843002.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1447836880967694336,"description":"Unknown IO ID 44"} 
[2026-08-08 12:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260539392001,"power":27767,"unknown_136":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1447836880967694336}} 
[2026-08-08 12:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":150251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:58:46] local.INFO: GPS data processed {"connection_id":150251,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:58:46] local.INFO: Acknowledgment sent {"connection_id":150251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:59:05] local.INFO: TCP Data received {"connection_id":152952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:05] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:05] local.INFO: IMEI packet received {"connection_id":152952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":152952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 12:59:07] local.INFO: TCP Data received {"connection_id":152952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:07] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:07] local.INFO: IMEI packet received {"connection_id":152952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":152952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:59:10] local.INFO: TCP Data received {"connection_id":152952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:10] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 12:59:10] local.INFO: IMEI packet received {"connection_id":152952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 12:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":152952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 12:59:11] local.INFO: TCP Data received {"connection_id":152952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0442c40012cebd14007195518001e014c25..."} 
[2026-08-08 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0442c40012cebd14007195518001e014c25..."} 
[2026-08-08 12:59:11] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0442c40012cebd14007195518001e014c25..."} 
[2026-08-08 12:59:11] local.INFO: Packet analysis {"connection_id":152952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:59:11] local.INFO: Extracted packet for processing {"connection_id":152952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":753652032,"raw_latitude":119100696,"longitude_deg":75.3652032,"latitude_deg":11.9100696,"altitude":30,"angle":332,"satellites":37,"speed":40,"hex_longitude":"2cebd140","hex_latitude":"07195518","is_valid_coordinates":true} 
[2026-08-08 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260540160001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375370941850451968,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450088680780847104,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786173992000,"timestamp_ms":1786173992000,"timestamp_seconds":1786173992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0442c40"} 
[2026-08-08 12:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260540160001,"66":27767,"136":206,"83":41216,"24":40,"16":375370941850451968,"44":-1450088680780847104},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-08-08 12:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260540160001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:59:11] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 12:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375370941850451968,"km_value":375370941850451.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450088680780847104,"description":"Unknown IO ID 44"} 
[2026-08-08 12:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260540160001,"power":27767,"unknown_136":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1450088680780847104}} 
[2026-08-08 12:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":152952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:59:11] local.INFO: GPS data processed {"connection_id":152952,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:59:11] local.INFO: Acknowledgment sent {"connection_id":152952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:59:15] local.INFO: TCP Data received {"connection_id":152952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0445350012cebc080071974d0001d014c29..."} 
[2026-08-08 12:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0445350012cebc080071974d0001d014c29..."} 
[2026-08-08 12:59:15] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0445350012cebc080071974d0001d014c29..."} 
[2026-08-08 12:59:15] local.INFO: Packet analysis {"connection_id":152952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:59:15] local.INFO: Extracted packet for processing {"connection_id":152952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":753647744,"raw_latitude":119108816,"longitude_deg":75.3647744,"latitude_deg":11.9108816,"altitude":29,"angle":332,"satellites":41,"speed":30,"hex_longitude":"2cebc080","hex_latitude":"071974d0","is_valid_coordinates":true} 
[2026-08-08 12:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260541952001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375371384232083456,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1454310805430003712,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 12:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786174002000,"timestamp_ms":1786174002000,"timestamp_seconds":1786174002,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0445350"} 
[2026-08-08 12:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 12:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260541952001,"66":27767,"136":206,"83":41216,"24":30,"16":375371384232083456,"44":-1454310805430003712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-08-08 12:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260541952001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:59:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 12:59:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375371384232083456,"km_value":375371384232083.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1454310805430003712,"description":"Unknown IO ID 44"} 
[2026-08-08 12:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260541952001,"power":27767,"unknown_136":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1454310805430003712}} 
[2026-08-08 12:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":152952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:59:15] local.INFO: GPS data processed {"connection_id":152952,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:59:15] local.INFO: Acknowledgment sent {"connection_id":152952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 12:59:47] local.INFO: TCP Data received {"connection_id":152952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0448230012cebad80071993f0001e01472b..."} 
[2026-08-08 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0448230012cebad80071993f0001e01472b..."} 
[2026-08-08 12:59:47] local.INFO: Processing buffer {"connection_id":152952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0448230012cebad80071993f0001e01472b..."} 
[2026-08-08 12:59:47] local.INFO: Packet analysis {"connection_id":152952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:59:47] local.INFO: Extracted packet for processing {"connection_id":152952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe044"} 
[2026-08-08 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":753642880,"raw_latitude":119116784,"longitude_deg":75.364288,"latitude_deg":11.9116784,"altitude":30,"angle":327,"satellites":43,"speed":34,"hex_longitude":"2cebad80","hex_latitude":"071993f0","is_valid_coordinates":true} 
[2026-08-08 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 12:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375371839498616832,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459025511287828480,"note":"Value kept but may cause issues"} 
[2026-08-08 12:59:47] 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-08-08 12:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786174014000,"timestamp_ms":1786174014000,"timestamp_seconds":1786174014,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0448230"} 
[2026-08-08 12:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 12:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 12:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 12:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 12:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 12:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 12:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 12:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 12:59: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-08-08 12:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 12:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 12:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260544512001,"66":27995,"137":206,"83":41216,"24":34,"16":375371839498616832,"44":-1459025511287828480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-08 12:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 12:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 12:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 12:59:47] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 12:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 12:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375371839498616832,"km_value":375371839498616.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 12:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459025511287828480,"description":"Unknown IO ID 44"} 
[2026-08-08 12:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260544512001,"power":27995,"unknown_137":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1459025511287828480}} 
[2026-08-08 12:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":152952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 12:59:47] local.INFO: GPS data processed {"connection_id":152952,"processed":1,"errors":0,"total":1} 
[2026-08-08 12:59:47] local.INFO: Acknowledgment sent {"connection_id":152952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:00:15] local.INFO: TCP Data received {"connection_id":152953,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:15] local.INFO: Processing buffer {"connection_id":152953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:15] local.INFO: IMEI packet received {"connection_id":152953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":152953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:00:15] local.INFO: TCP Data received {"connection_id":152953,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:15] local.INFO: Processing buffer {"connection_id":152953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:15] local.INFO: IMEI packet received {"connection_id":152953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":152953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:00:20] local.INFO: TCP Data received {"connection_id":152953,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:20] local.INFO: Processing buffer {"connection_id":152953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:00:20] local.INFO: IMEI packet received {"connection_id":152953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":152953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:00:21] local.INFO: TCP Data received {"connection_id":152953,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe046b898012ceab840071a5eb0001d01222a..."} 
[2026-08-08 13:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe046b898012ceab840071a5eb0001d01222a..."} 
[2026-08-08 13:00:21] local.INFO: Processing buffer {"connection_id":152953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe046b898012ceab840071a5eb0001d01222a..."} 
[2026-08-08 13:00:21] local.INFO: Packet analysis {"connection_id":152953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe046"} 
[2026-08-08 13:00:21] local.INFO: Extracted packet for processing {"connection_id":152953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe046"} 
[2026-08-08 13:00:21] local.INFO: GPS Element Parsed {"raw_longitude":753580096,"raw_latitude":119168688,"longitude_deg":75.3580096,"latitude_deg":11.9168688,"altitude":29,"angle":290,"satellites":42,"speed":39,"hex_longitude":"2ceab840","hex_latitude":"071a5eb0","is_valid_coordinates":true} 
[2026-08-08 13:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260581888001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375375962667220992,"note":"Value kept but may cause issues"} 
[2026-08-08 13:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523272174707617792,"note":"Value kept but may cause issues"} 
[2026-08-08 13:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786174159000,"timestamp_ms":1786174159000,"timestamp_seconds":1786174159,"priority":1,"record_length":96,"hex_timestamp":"0000019fe046b898"} 
[2026-08-08 13:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 13:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":152953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":152953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":152953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260581888001,"66":27865,"246":206,"83":41216,"24":39,"16":375375962667220992,"44":-1523272174707617792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-08-08 13:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260581888001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375375962667220992,"km_value":375375962667221.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523272174707617792,"description":"Unknown IO ID 44"} 
[2026-08-08 13:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260581888001,"power":27865,"main_input_voltage":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1523272174707617792}} 
[2026-08-08 13:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":152953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:00:21] local.INFO: GPS data processed {"connection_id":152953,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:00:21] local.INFO: Acknowledgment sent {"connection_id":152953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:01:04] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:04] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:04] local.INFO: IMEI packet received {"connection_id":152954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":152954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:01:05] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:05] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:05] local.INFO: IMEI packet received {"connection_id":152954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":152954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:01:10] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:10] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:01:10] local.INFO: IMEI packet received {"connection_id":152954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":152954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:01:10] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe046dfa8012cea97c0071a6c68001d012d2a..."} 
[2026-08-08 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe046dfa8012cea97c0071a6c68001d012d2a..."} 
[2026-08-08 13:01:10] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe046dfa8012cea97c0071a6c68001d012d2a..."} 
[2026-08-08 13:01:10] local.INFO: Packet analysis {"connection_id":152954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe046"} 
[2026-08-08 13:01:10] local.INFO: Extracted packet for processing {"connection_id":152954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe046"} 
[2026-08-08 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":753571776,"raw_latitude":119172200,"longitude_deg":75.3571776,"latitude_deg":11.91722,"altitude":29,"angle":301,"satellites":42,"speed":24,"hex_longitude":"2cea97c0","hex_latitude":"071a6c68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260584704001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375376392163950592,"note":"Value kept but may cause issues"} 
[2026-08-08 13:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1533405273868292096,"note":"Value kept but may cause issues"} 
[2026-08-08 13:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786174169000,"timestamp_ms":1786174169000,"timestamp_seconds":1786174169,"priority":1,"record_length":96,"hex_timestamp":"0000019fe046dfa8"} 
[2026-08-08 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-08-08 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:01: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-08-08 13:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260584704001,"66":27767,"246":206,"83":41216,"24":24,"16":375376392163950592,"44":-1533405273868292096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-08-08 13:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260584704001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375376392163950592,"km_value":375376392163950.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1533405273868292096,"description":"Unknown IO ID 44"} 
[2026-08-08 13:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260584704001,"power":27767,"main_input_voltage":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1533405273868292096}} 
[2026-08-08 13:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":152954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:01:10] local.INFO: GPS data processed {"connection_id":152954,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:01:10] local.INFO: Acknowledgment sent {"connection_id":152954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:01:42] local.INFO: TCP Data received {"connection_id":152954,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe046dfa8012cea97c0071a6c68001d012d2a..."} 
[2026-08-08 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe046dfa8012cea97c0071a6c68001d012d2a..."} 
[2026-08-08 13:01:42] local.INFO: Processing buffer {"connection_id":152954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe046dfa8012cea97c0071a6c68001d012d2a..."} 
[2026-08-08 13:01:42] local.INFO: Packet analysis {"connection_id":152954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe046"} 
[2026-08-08 13:01:42] local.INFO: Extracted packet for processing {"connection_id":152954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe046"} 
[2026-08-08 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753571776,"raw_latitude":119172200,"longitude_deg":75.3571776,"latitude_deg":11.91722,"altitude":29,"angle":301,"satellites":42,"speed":24,"hex_longitude":"2cea97c0","hex_latitude":"071a6c68","is_valid_coordinates":true} 
[2026-08-08 13:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260587264001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375376392163950592,"note":"Value kept but may cause issues"} 
[2026-08-08 13:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542553210610489344,"note":"Value kept but may cause issues"} 
[2026-08-08 13:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786174169000,"timestamp_ms":1786174169000,"timestamp_seconds":1786174169,"priority":1,"record_length":96,"hex_timestamp":"0000019fe046dfa8"} 
[2026-08-08 13:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 13:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260587264001,"66":27767,"246":206,"83":41216,"24":24,"16":375376392163950592,"44":-1542553210610489344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-08-08 13:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260587264001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375376392163950592,"km_value":375376392163950.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542553210610489344,"description":"Unknown IO ID 44"} 
[2026-08-08 13:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260587264001,"power":27767,"main_input_voltage":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1542553210610489344}} 
[2026-08-08 13:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":152954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:01:42] local.INFO: GPS data processed {"connection_id":152954,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:01:42] local.INFO: Acknowledgment sent {"connection_id":152954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:02:05] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:05] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:05] local.INFO: IMEI packet received {"connection_id":150515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":150515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:02:06] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:06] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:06] local.INFO: IMEI packet received {"connection_id":150515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":150515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:02:10] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:10] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:02:10] local.INFO: IMEI packet received {"connection_id":150515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":150515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:02:10] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0483f38012cea2600071b9130000e015427..."} 
[2026-08-08 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0483f38012cea2600071b9130000e015427..."} 
[2026-08-08 13:02:10] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0483f38012cea2600071b9130000e015427..."} 
[2026-08-08 13:02:10] local.INFO: Packet analysis {"connection_id":150515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe048"} 
[2026-08-08 13:02:10] local.INFO: Extracted packet for processing {"connection_id":150515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe048"} 
[2026-08-08 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":753542656,"raw_latitude":119247152,"longitude_deg":75.3542656,"latitude_deg":11.9247152,"altitude":14,"angle":340,"satellites":39,"speed":24,"hex_longitude":"2cea2600","hex_latitude":"071b9130","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260607488001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375380322059026432,"note":"Value kept but may cause issues"} 
[2026-08-08 13:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571404395706314752,"note":"Value kept but may cause issues"} 
[2026-08-08 13:02:10] 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-08-08 13:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786174259000,"timestamp_ms":1786174259000,"timestamp_seconds":1786174259,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0483f38"} 
[2026-08-08 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-08-08 13:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 13:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260607488001,"66":27821,"209":206,"83":41216,"24":24,"16":375380322059026432,"44":-1571404395706314752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260607488001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:02:10] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375380322059026432,"km_value":375380322059026.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571404395706314752,"description":"Unknown IO ID 44"} 
[2026-08-08 13:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260607488001,"power":27821,"unknown_209":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1571404395706314752}} 
[2026-08-08 13:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":150515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:02:10] local.INFO: GPS data processed {"connection_id":150515,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:02:10] local.INFO: Acknowledgment sent {"connection_id":150515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:02:42] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04875e8012cea1a00071bb230000e015529..."} 
[2026-08-08 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04875e8012cea1a00071bb230000e015529..."} 
[2026-08-08 13:02:42] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04875e8012cea1a00071bb230000e015529..."} 
[2026-08-08 13:02:42] local.INFO: Packet analysis {"connection_id":150515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe048"} 
[2026-08-08 13:02:42] local.INFO: Extracted packet for processing {"connection_id":150515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe048"} 
[2026-08-08 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":753539584,"raw_latitude":119255600,"longitude_deg":75.3539584,"latitude_deg":11.92556,"altitude":14,"angle":341,"satellites":41,"speed":25,"hex_longitude":"2cea1a00","hex_latitude":"071bb230","is_valid_coordinates":true} 
[2026-08-08 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260610304001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375380755850723328,"note":"Value kept but may cause issues"} 
[2026-08-08 13:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574570989192138752,"note":"Value kept but may cause issues"} 
[2026-08-08 13:02:42] 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-08-08 13:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786174273000,"timestamp_ms":1786174273000,"timestamp_seconds":1786174273,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04875e8"} 
[2026-08-08 13:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 13:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260610304001,"66":27843,"209":206,"83":41216,"24":25,"16":375380755850723328,"44":-1574570989192138752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260610304001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:02:42] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375380755850723328,"km_value":375380755850723.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574570989192138752,"description":"Unknown IO ID 44"} 
[2026-08-08 13:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260610304001,"power":27843,"unknown_209":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1574570989192138752}} 
[2026-08-08 13:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":150515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:02:42] local.INFO: GPS data processed {"connection_id":150515,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:02:42] local.INFO: Acknowledgment sent {"connection_id":150515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:03:08] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:08] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:08] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:03:10] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:10] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:10] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:03:15] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:15] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:03:15] local.INFO: IMEI packet received {"connection_id":151471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":151471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:03:16] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe048b080012cea0d00071bd350001201502a..."} 
[2026-08-08 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe048b080012cea0d00071bd350001201502a..."} 
[2026-08-08 13:03:16] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe048b080012cea0d00071bd350001201502a..."} 
[2026-08-08 13:03:16] local.INFO: Packet analysis {"connection_id":151471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe048"} 
[2026-08-08 13:03:16] local.INFO: Extracted packet for processing {"connection_id":151471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe048"} 
[2026-08-08 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":753536256,"raw_latitude":119264080,"longitude_deg":75.3536256,"latitude_deg":11.926408,"altitude":18,"angle":336,"satellites":42,"speed":24,"hex_longitude":"2cea0d00","hex_latitude":"071bd350","is_valid_coordinates":true} 
[2026-08-08 13:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260613888001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375381198232354816,"note":"Value kept but may cause issues"} 
[2026-08-08 13:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577948688910503936,"note":"Value kept but may cause issues"} 
[2026-08-08 13:03:16] 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-08-08 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786174288000,"timestamp_ms":1786174288000,"timestamp_seconds":1786174288,"priority":1,"record_length":96,"hex_timestamp":"0000019fe048b080"} 
[2026-08-08 13:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 13:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260613888001,"66":27745,"209":206,"83":41216,"24":24,"16":375381198232354816,"44":-1577948688910503936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260613888001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375381198232354816,"km_value":375381198232354.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577948688910503936,"description":"Unknown IO ID 44"} 
[2026-08-08 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260613888001,"power":27745,"unknown_209":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1577948688910503936}} 
[2026-08-08 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":151471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:03:16] local.INFO: GPS data processed {"connection_id":151471,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:03:16] local.INFO: Acknowledgment sent {"connection_id":151471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:03:20] local.INFO: TCP Data received {"connection_id":151471,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0490288012cea0540071be720001201502c..."} 
[2026-08-08 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0490288012cea0540071be720001201502c..."} 
[2026-08-08 13:03:20] local.INFO: Processing buffer {"connection_id":151471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0490288012cea0540071be720001201502c..."} 
[2026-08-08 13:03:20] local.INFO: Packet analysis {"connection_id":151471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:03:20] local.INFO: Extracted packet for processing {"connection_id":151471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":753534272,"raw_latitude":119269152,"longitude_deg":75.3534272,"latitude_deg":11.9269152,"altitude":18,"angle":336,"satellites":44,"speed":4,"hex_longitude":"2cea0540","hex_latitude":"071be720","is_valid_coordinates":true} 
[2026-08-08 13:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260617728001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375381464520327168,"note":"Value kept but may cause issues"} 
[2026-08-08 13:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581607863605571584,"note":"Value kept but may cause issues"} 
[2026-08-08 13:03:20] 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-08-08 13:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786174309000,"timestamp_ms":1786174309000,"timestamp_seconds":1786174309,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0490288"} 
[2026-08-08 13:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 13:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:03: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-08-08 13:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260617728001,"66":27952,"209":206,"83":41216,"24":4,"16":375381464520327168,"44":-1581607863605571584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260617728001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:03:20] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375381464520327168,"km_value":375381464520327.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581607863605571584,"description":"Unknown IO ID 44"} 
[2026-08-08 13:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260617728001,"power":27952,"unknown_209":206,"unknown_83":41216,"ignition":4,"odometer":null,"unknown_44":-1581607863605571584}} 
[2026-08-08 13:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":151471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:03:20] local.INFO: GPS data processed {"connection_id":151471,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:03:20] local.INFO: Acknowledgment sent {"connection_id":151471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:04:05] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:04:05] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:04:05] local.INFO: IMEI packet received {"connection_id":152955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":152955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:04:08] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:04:08] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:04:08] local.INFO: IMEI packet received {"connection_id":152955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":152955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:04:09] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0494cc0012cea0280071bef680011015c2f..."} 
[2026-08-08 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0494cc0012cea0280071bef680011015c2f..."} 
[2026-08-08 13:04:09] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0494cc0012cea0280071bef680011015c2f..."} 
[2026-08-08 13:04:09] local.INFO: Packet analysis {"connection_id":152955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:04:09] local.INFO: Extracted packet for processing {"connection_id":152955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":753533568,"raw_latitude":119271272,"longitude_deg":75.3533568,"latitude_deg":11.9271272,"altitude":17,"angle":348,"satellites":47,"speed":7,"hex_longitude":"2cea0280","hex_latitude":"071bef68","is_valid_coordinates":true} 
[2026-08-08 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260623104001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375381576189476864,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583789294673780736,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04: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-08-08 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786174328000,"timestamp_ms":1786174328000,"timestamp_seconds":1786174328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0494cc0"} 
[2026-08-08 13:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":48,"data_length":795,"current_offset":136} 
[2026-08-08 13:04: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-08-08 13:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260623104001,"66":27908,"209":206,"83":41216,"24":7,"16":375381576189476864,"44":-1583789294673780736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260623104001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:04:09] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375381576189476864,"km_value":375381576189476.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583789294673780736,"description":"Unknown IO ID 44"} 
[2026-08-08 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260623104001,"power":27908,"unknown_209":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1583789294673780736}} 
[2026-08-08 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":152955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:04:09] local.INFO: GPS data processed {"connection_id":152955,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:04:09] local.INFO: Acknowledgment sent {"connection_id":152955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:04:10] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0499ec8012ce9ffc0071bf650001201562d..."} 
[2026-08-08 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0499ec8012ce9ffc0071bf650001201562d..."} 
[2026-08-08 13:04:10] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0499ec8012ce9ffc0071bf650001201562d..."} 
[2026-08-08 13:04:10] local.INFO: Packet analysis {"connection_id":152955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:04:10] local.INFO: Extracted packet for processing {"connection_id":152955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":753532864,"raw_latitude":119273040,"longitude_deg":75.3532864,"latitude_deg":11.927304,"altitude":18,"angle":342,"satellites":45,"speed":0,"hex_longitude":"2ce9ffc0","hex_latitude":"071bf650","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260627968001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375381670678757376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584563350859192320,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:10] 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-08-08 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786174349000,"timestamp_ms":1786174349000,"timestamp_seconds":1786174349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0499ec8"} 
[2026-08-08 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-08-08 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260627968001,"66":27974,"209":206,"83":41216,"24":0,"16":375381670678757376,"44":-1584563350859192320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260627968001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:04:10] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375381670678757376,"km_value":375381670678757.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584563350859192320,"description":"Unknown IO ID 44"} 
[2026-08-08 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260627968001,"power":27974,"unknown_209":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1584563350859192320}} 
[2026-08-08 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":152955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:04:10] local.INFO: GPS data processed {"connection_id":152955,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:04:10] local.INFO: Acknowledgment sent {"connection_id":152955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:04:42] local.INFO: TCP Data received {"connection_id":152955,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe049f0d0012ce9fc80071bffb0001101542a..."} 
[2026-08-08 13:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe049f0d0012ce9fc80071bffb0001101542a..."} 
[2026-08-08 13:04:43] local.INFO: Processing buffer {"connection_id":152955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe049f0d0012ce9fc80071bffb0001101542a..."} 
[2026-08-08 13:04:43] local.INFO: Packet analysis {"connection_id":152955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:04:43] local.INFO: Extracted packet for processing {"connection_id":152955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe049"} 
[2026-08-08 13:04:43] local.INFO: GPS Element Parsed {"raw_longitude":753532032,"raw_latitude":119275440,"longitude_deg":75.3532032,"latitude_deg":11.927544,"altitude":17,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2ce9fc80","hex_latitude":"071bffb0","is_valid_coordinates":true} 
[2026-08-08 13:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260633344001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375381799527776256,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585337407044694016,"note":"Value kept but may cause issues"} 
[2026-08-08 13:04:43] 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-08-08 13:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786174370000,"timestamp_ms":1786174370000,"timestamp_seconds":1786174370,"priority":1,"record_length":96,"hex_timestamp":"0000019fe049f0d0"} 
[2026-08-08 13:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 13:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260633344001,"66":27908,"209":206,"83":41216,"24":0,"16":375381799527776256,"44":-1585337407044694016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260633344001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:04:43] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375381799527776256,"km_value":375381799527776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585337407044694016,"description":"Unknown IO ID 44"} 
[2026-08-08 13:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260633344001,"power":27908,"unknown_209":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1585337407044694016}} 
[2026-08-08 13:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":152955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:04:43] local.INFO: GPS data processed {"connection_id":152955,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:04:43] local.INFO: Acknowledgment sent {"connection_id":152955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:05:02] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:02] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:02] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:05:05] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:05] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:05] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:05:10] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:10] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:05:10] local.INFO: IMEI packet received {"connection_id":152956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":152956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:05:10] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04a42d8012ce9fac0071c0770001101562a..."} 
[2026-08-08 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04a42d8012ce9fac0071c0770001101562a..."} 
[2026-08-08 13:05:10] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04a42d8012ce9fac0071c0770001101562a..."} 
[2026-08-08 13:05:10] local.INFO: Packet analysis {"connection_id":152956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:05:10] local.INFO: Extracted packet for processing {"connection_id":152956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:05:10] local.INFO: GPS Element Parsed {"raw_longitude":753531584,"raw_latitude":119277424,"longitude_deg":75.3531584,"latitude_deg":11.9277424,"altitude":17,"angle":342,"satellites":42,"speed":8,"hex_longitude":"2ce9fac0","hex_latitude":"071c0770","is_valid_coordinates":true} 
[2026-08-08 13:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260638720001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375381902606991360,"note":"Value kept but may cause issues"} 
[2026-08-08 13:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586252200718389248,"note":"Value kept but may cause issues"} 
[2026-08-08 13:05:10] 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-08-08 13:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786174391000,"timestamp_ms":1786174391000,"timestamp_seconds":1786174391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04a42d8"} 
[2026-08-08 13:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260638720001,"66":27843,"209":206,"83":41216,"24":8,"16":375381902606991360,"44":-1586252200718389248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260638720001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:05:10] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375381902606991360,"km_value":375381902606991.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586252200718389248,"description":"Unknown IO ID 44"} 
[2026-08-08 13:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260638720001,"power":27843,"unknown_209":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1586252200718389248}} 
[2026-08-08 13:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":152956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:05:10] local.INFO: GPS data processed {"connection_id":152956,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:05:10] local.INFO: Acknowledgment sent {"connection_id":152956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:05:48] local.INFO: TCP Data received {"connection_id":152956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04a8d10012ce9f6c0071c1730000f01622a..."} 
[2026-08-08 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04a8d10012ce9f6c0071c1730000f01622a..."} 
[2026-08-08 13:05:48] local.INFO: Processing buffer {"connection_id":152956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04a8d10012ce9f6c0071c1730000f01622a..."} 
[2026-08-08 13:05:48] local.INFO: Packet analysis {"connection_id":152956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:05:48] local.INFO: Extracted packet for processing {"connection_id":152956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119281456,"longitude_deg":75.353056,"latitude_deg":11.9281456,"altitude":15,"angle":354,"satellites":42,"speed":6,"hex_longitude":"2ce9f6c0","hex_latitude":"071c1730","is_valid_coordinates":true} 
[2026-08-08 13:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260644096001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382104470454272,"note":"Value kept but may cause issues"} 
[2026-08-08 13:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586744781927124992,"note":"Value kept but may cause issues"} 
[2026-08-08 13:05: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-08-08 13:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786174410000,"timestamp_ms":1786174410000,"timestamp_seconds":1786174410,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04a8d10"} 
[2026-08-08 13:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 13:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:05: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-08-08 13:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260644096001,"66":27865,"209":206,"83":41216,"24":6,"16":375382104470454272,"44":-1586744781927124992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260644096001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:05:48] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382104470454272,"km_value":375382104470454.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586744781927124992,"description":"Unknown IO ID 44"} 
[2026-08-08 13:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260644096001,"power":27865,"unknown_209":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1586744781927124992}} 
[2026-08-08 13:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":152956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:05:48] local.INFO: GPS data processed {"connection_id":152956,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:05:48] local.INFO: Acknowledgment sent {"connection_id":152956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:06:07] local.INFO: TCP Data received {"connection_id":150252,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:07] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:07] local.INFO: IMEI packet received {"connection_id":150252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":150252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:06:09] local.INFO: TCP Data received {"connection_id":150252,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:09] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:09] local.INFO: IMEI packet received {"connection_id":150252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":150252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:06:10] local.INFO: TCP Data received {"connection_id":150252,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:10] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:10] local.INFO: IMEI packet received {"connection_id":150252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":150252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:06:16] local.INFO: TCP Data received {"connection_id":150252,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:16] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:06:16] local.INFO: IMEI packet received {"connection_id":150252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":150252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:06:23] local.INFO: TCP Data received {"connection_id":150252,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04ad748012ce9f5c0071c1fa0000e00062b..."} 
[2026-08-08 13:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04ad748012ce9f5c0071c1fa0000e00062b..."} 
[2026-08-08 13:06:23] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04ad748012ce9f5c0071c1fa0000e00062b..."} 
[2026-08-08 13:06:23] local.INFO: Packet analysis {"connection_id":150252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:06:23] local.INFO: Extracted packet for processing {"connection_id":150252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":753530304,"raw_latitude":119283616,"longitude_deg":75.3530304,"latitude_deg":11.9283616,"altitude":14,"angle":6,"satellites":43,"speed":5,"hex_longitude":"2ce9f5c0","hex_latitude":"071c1fa0","is_valid_coordinates":true} 
[2026-08-08 13:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260648960001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382216139603968,"note":"Value kept but may cause issues"} 
[2026-08-08 13:06:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587870681832935424,"note":"Value kept but may cause issues"} 
[2026-08-08 13:06:23] 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-08-08 13:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786174429000,"timestamp_ms":1786174429000,"timestamp_seconds":1786174429,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04ad748"} 
[2026-08-08 13:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":150252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260648960001,"66":27919,"209":206,"83":41216,"24":5,"16":375382216139603968,"44":-1587870681832935424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260648960001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:06:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382216139603968,"km_value":375382216139603.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:06:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587870681832935424,"description":"Unknown IO ID 44"} 
[2026-08-08 13:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260648960001,"power":27919,"unknown_209":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1587870681832935424}} 
[2026-08-08 13:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":150252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:06:23] local.INFO: GPS data processed {"connection_id":150252,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:06:23] local.INFO: Acknowledgment sent {"connection_id":150252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:06:24] local.INFO: TCP Data received {"connection_id":150252,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04adb30012ce9f5c0071c2050000e015e2b..."} 
[2026-08-08 13:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04adb30012ce9f5c0071c2050000e015e2b..."} 
[2026-08-08 13:06:24] local.INFO: Processing buffer {"connection_id":150252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04adb30012ce9f5c0071c2050000e015e2b..."} 
[2026-08-08 13:06:24] local.INFO: Packet analysis {"connection_id":150252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:06:24] local.INFO: Extracted packet for processing {"connection_id":150252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04a"} 
[2026-08-08 13:06:24] local.INFO: GPS Element Parsed {"raw_longitude":753530304,"raw_latitude":119283792,"longitude_deg":75.3530304,"latitude_deg":11.9283792,"altitude":14,"angle":350,"satellites":43,"speed":7,"hex_longitude":"2ce9f5c0","hex_latitude":"071c2050","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260653824001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382224729538560,"note":"Value kept but may cause issues"} 
[2026-08-08 13:06:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588152156809093120,"note":"Value kept but may cause issues"} 
[2026-08-08 13:06:24] 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-08-08 13:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786174430000,"timestamp_ms":1786174430000,"timestamp_seconds":1786174430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04adb30"} 
[2026-08-08 13:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260653824001,"66":27626,"209":206,"83":41216,"24":7,"16":375382224729538560,"44":-1588152156809093120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 13:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260653824001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:06:24] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 13:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 13:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382224729538560,"km_value":375382224729538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:06:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588152156809093120,"description":"Unknown IO ID 44"} 
[2026-08-08 13:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260653824001,"power":27626,"unknown_209":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1588152156809093120}} 
[2026-08-08 13:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":150252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:06:24] local.INFO: GPS data processed {"connection_id":150252,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:06:24] local.INFO: Acknowledgment sent {"connection_id":150252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:07:05] local.INFO: TCP Data received {"connection_id":150516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:07:05] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:07:05] local.INFO: IMEI packet received {"connection_id":150516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":150516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:07:10] local.INFO: TCP Data received {"connection_id":150516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:07:10] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:07:10] local.INFO: IMEI packet received {"connection_id":150516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":150516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:07:10] local.INFO: TCP Data received {"connection_id":150516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04b0df8012ce9f3c0071c2cb8000f00032b..."} 
[2026-08-08 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04b0df8012ce9f3c0071c2cb8000f00032b..."} 
[2026-08-08 13:07:10] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04b0df8012ce9f3c0071c2cb8000f00032b..."} 
[2026-08-08 13:07:10] local.INFO: Packet analysis {"connection_id":150516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:07:10] local.INFO: Extracted packet for processing {"connection_id":150516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":753529792,"raw_latitude":119286968,"longitude_deg":75.3529792,"latitude_deg":11.9286968,"altitude":15,"angle":3,"satellites":43,"speed":7,"hex_longitude":"2ce9f3c0","hex_latitude":"071c2cb8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260654080001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382379348361216,"note":"Value kept but may cause issues"} 
[2026-08-08 13:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588152156809048064,"note":"Value kept but may cause issues"} 
[2026-08-08 13:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786174443000,"timestamp_ms":1786174443000,"timestamp_seconds":1786174443,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04b0df8"} 
[2026-08-08 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-08-08 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-08 13:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:07: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-08-08 13:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260654080001,"66":27876,"76":206,"83":43008,"24":7,"16":375382379348361216,"44":-1588152156809048064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260654080001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:07:10] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382379348361216,"km_value":375382379348361.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588152156809048064,"description":"Unknown IO ID 44"} 
[2026-08-08 13:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260654080001,"power":27876,"unknown_76":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1588152156809048064}} 
[2026-08-08 13:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":150516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:07:10] local.INFO: GPS data processed {"connection_id":150516,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:07:10] local.INFO: Acknowledgment sent {"connection_id":150516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:07:42] local.INFO: TCP Data received {"connection_id":150516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04b6000012ce9f2c0071c41f8000e000328..."} 
[2026-08-08 13:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04b6000012ce9f2c0071c41f8000e000328..."} 
[2026-08-08 13:07:42] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04b6000012ce9f2c0071c41f8000e000328..."} 
[2026-08-08 13:07:42] local.INFO: Packet analysis {"connection_id":150516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:07:42] local.INFO: Extracted packet for processing {"connection_id":150516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:07:42] local.INFO: GPS Element Parsed {"raw_longitude":753529536,"raw_latitude":119292408,"longitude_deg":75.3529536,"latitude_deg":11.9292408,"altitude":14,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2ce9f2c0","hex_latitude":"071c41f8","is_valid_coordinates":true} 
[2026-08-08 13:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260657408001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382649931300864,"note":"Value kept but may cause issues"} 
[2026-08-08 13:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588715106761656320,"note":"Value kept but may cause issues"} 
[2026-08-08 13:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786174464000,"timestamp_ms":1786174464000,"timestamp_seconds":1786174464,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04b6000"} 
[2026-08-08 13:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 13:07: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-08-08 13:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260657408001,"66":27767,"76":206,"83":43008,"24":0,"16":375382649931300864,"44":-1588715106761656320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260657408001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:07:42] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382649931300864,"km_value":375382649931300.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588715106761656320,"description":"Unknown IO ID 44"} 
[2026-08-08 13:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260657408001,"power":27767,"unknown_76":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1588715106761656320}} 
[2026-08-08 13:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":150516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:07:42] local.INFO: GPS data processed {"connection_id":150516,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:07:42] local.INFO: Acknowledgment sent {"connection_id":150516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:08:05] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:08:05] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:08:05] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:08:13] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:08:13] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:08:13] local.INFO: IMEI packet received {"connection_id":152957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":152957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:08:15] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04bb208012ce9f240071c4210000e000325..."} 
[2026-08-08 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04bb208012ce9f240071c4210000e000325..."} 
[2026-08-08 13:08:15] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04bb208012ce9f240071c4210000e000325..."} 
[2026-08-08 13:08:15] local.INFO: Packet analysis {"connection_id":152957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:08:15] local.INFO: Extracted packet for processing {"connection_id":152957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":753529408,"raw_latitude":119292432,"longitude_deg":75.3529408,"latitude_deg":11.9292432,"altitude":14,"angle":3,"satellites":37,"speed":0,"hex_longitude":"2ce9f240","hex_latitude":"071c4210","is_valid_coordinates":true} 
[2026-08-08 13:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260662784001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382654226268160,"note":"Value kept but may cause issues"} 
[2026-08-08 13:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588996581736974336,"note":"Value kept but may cause issues"} 
[2026-08-08 13:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786174485000,"timestamp_ms":1786174485000,"timestamp_seconds":1786174485,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04bb208"} 
[2026-08-08 13:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 13:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":152957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":152957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":152957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260662784001,"66":27995,"76":206,"83":43008,"24":0,"16":375382654226268160,"44":-1588996581736974336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260662784001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:08:15] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:08:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382654226268160,"km_value":375382654226268.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588996581736974336,"description":"Unknown IO ID 44"} 
[2026-08-08 13:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260662784001,"power":27995,"unknown_76":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1588996581736974336}} 
[2026-08-08 13:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":152957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:08:15] local.INFO: GPS data processed {"connection_id":152957,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:08:15] local.INFO: Acknowledgment sent {"connection_id":152957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:08:47] local.INFO: TCP Data received {"connection_id":152957,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe04bfc40012ce9f300071c44e0000e001425..."} 
[2026-08-08 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe04bfc40012ce9f300071c44e0000e001425..."} 
[2026-08-08 13:08:47] local.INFO: Processing buffer {"connection_id":152957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe04bfc40012ce9f300071c44e0000e001425..."} 
[2026-08-08 13:08:47] local.INFO: Packet analysis {"connection_id":152957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:08:47] local.INFO: Extracted packet for processing {"connection_id":152957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe04b"} 
[2026-08-08 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":753529600,"raw_latitude":119293152,"longitude_deg":75.35296,"latitude_deg":11.9293152,"altitude":14,"angle":20,"satellites":37,"speed":9,"hex_longitude":"2ce9f300","hex_latitude":"071c44e0","is_valid_coordinates":true} 
[2026-08-08 13:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260668160001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375382688586006528,"note":"Value kept but may cause issues"} 
[2026-08-08 13:08:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1589137319225323520,"note":"Value kept but may cause issues"} 
[2026-08-08 13:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786174504000,"timestamp_ms":1786174504000,"timestamp_seconds":1786174504,"priority":1,"record_length":96,"hex_timestamp":"0000019fe04bfc40"} 
[2026-08-08 13:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 13:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":152957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":152957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":152957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:08: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-08-08 13:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260668160001,"66":27800,"76":206,"83":43008,"24":9,"16":375382688586006528,"44":-1589137319225323520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260668160001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:08:47] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375382688586006528,"km_value":375382688586006.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:08:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1589137319225323520,"description":"Unknown IO ID 44"} 
[2026-08-08 13:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260668160001,"power":27800,"unknown_76":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1589137319225323520}} 
[2026-08-08 13:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":152957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:08:47] local.INFO: GPS data processed {"connection_id":152957,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:08:47] local.INFO: Acknowledgment sent {"connection_id":152957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:09:17] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:17] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:17] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:09:18] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:18] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:18] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:09:18] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:18] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:18] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:09:20] local.INFO: TCP Data received {"connection_id":151472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:20] local.INFO: Processing buffer {"connection_id":151472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:09:20] local.INFO: IMEI packet received {"connection_id":151472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":151472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:14:25] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:14:25] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:14:25] local.INFO: IMEI packet received {"connection_id":150517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":150517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:14:26] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe051e010012ce9e200071e07b8000900182f..."} 
[2026-08-08 13:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe051e010012ce9e200071e07b8000900182f..."} 
[2026-08-08 13:14:26] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe051e010012ce9e200071e07b8000900182f..."} 
[2026-08-08 13:14:26] local.INFO: Packet analysis {"connection_id":150517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe051"} 
[2026-08-08 13:14:26] local.INFO: Extracted packet for processing {"connection_id":150517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe051"} 
[2026-08-08 13:14:26] local.INFO: GPS Element Parsed {"raw_longitude":753525248,"raw_latitude":119408568,"longitude_deg":75.3525248,"latitude_deg":11.9408568,"altitude":9,"angle":24,"satellites":47,"speed":9,"hex_longitude":"2ce9e200","hex_latitude":"071e07b8","is_valid_coordinates":true} 
[2026-08-08 13:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260770816001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375389753807208448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594063131288229888,"note":"Value kept but may cause issues"} 
[2026-08-08 13:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786174890000,"timestamp_ms":1786174890000,"timestamp_seconds":1786174890,"priority":1,"record_length":96,"hex_timestamp":"0000019fe051e010"} 
[2026-08-08 13:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 13:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260770816001,"66":27789,"76":206,"83":43008,"24":9,"16":375389753807208448,"44":-1594063131288229888},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260770816001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:14:26] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375389753807208448,"km_value":375389753807208.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594063131288229888,"description":"Unknown IO ID 44"} 
[2026-08-08 13:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260770816001,"power":27789,"unknown_76":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1594063131288229888}} 
[2026-08-08 13:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":150517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:14:26] local.INFO: GPS data processed {"connection_id":150517,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:14:26] local.INFO: Acknowledgment sent {"connection_id":150517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:15:05] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:05] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:05] local.INFO: IMEI packet received {"connection_id":151474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":151474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:15:07] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:07] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:07] local.INFO: IMEI packet received {"connection_id":151474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":151474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:15:10] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:10] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:15:10] local.INFO: IMEI packet received {"connection_id":151474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":151474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:15:11] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0523218012ce9e540071e10b0000800132d..."} 
[2026-08-08 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0523218012ce9e540071e10b0000800132d..."} 
[2026-08-08 13:15:11] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0523218012ce9e540071e10b0000800132d..."} 
[2026-08-08 13:15:11] local.INFO: Packet analysis {"connection_id":151474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe052"} 
[2026-08-08 13:15:11] local.INFO: Extracted packet for processing {"connection_id":151474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe052"} 
[2026-08-08 13:15:11] local.INFO: GPS Element Parsed {"raw_longitude":753526080,"raw_latitude":119410864,"longitude_deg":75.352608,"latitude_deg":11.9410864,"altitude":8,"angle":19,"satellites":45,"speed":0,"hex_longitude":"2ce9e540","hex_latitude":"071e10b0","is_valid_coordinates":true} 
[2026-08-08 13:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260771840001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375389874066292736,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1593711287567140864,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786174911000,"timestamp_ms":1786174911000,"timestamp_seconds":1786174911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0523218"} 
[2026-08-08 13:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 13:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260771840001,"66":27908,"76":206,"83":43008,"24":0,"16":375389874066292736,"44":-1593711287567140864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260771840001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:15:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375389874066292736,"km_value":375389874066292.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1593711287567140864,"description":"Unknown IO ID 44"} 
[2026-08-08 13:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260771840001,"power":27908,"unknown_76":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1593711287567140864}} 
[2026-08-08 13:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":151474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:15:11] local.INFO: GPS data processed {"connection_id":151474,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:15:11] local.INFO: Acknowledgment sent {"connection_id":151474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:15:15] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0528420012ce9e880071e1b20000800122d..."} 
[2026-08-08 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0528420012ce9e880071e1b20000800122d..."} 
[2026-08-08 13:15:15] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0528420012ce9e880071e1b20000800122d..."} 
[2026-08-08 13:15:15] local.INFO: Packet analysis {"connection_id":151474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe052"} 
[2026-08-08 13:15:15] local.INFO: Extracted packet for processing {"connection_id":151474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe052"} 
[2026-08-08 13:15:15] local.INFO: GPS Element Parsed {"raw_longitude":753526912,"raw_latitude":119413536,"longitude_deg":75.3526912,"latitude_deg":11.9413536,"altitude":8,"angle":18,"satellites":45,"speed":16,"hex_longitude":"2ce9e880","hex_latitude":"071e1b20","is_valid_coordinates":true} 
[2026-08-08 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260777216001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390011505246208,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1592796493892243456,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786174932000,"timestamp_ms":1786174932000,"timestamp_seconds":1786174932,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0528420"} 
[2026-08-08 13:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260777216001,"66":27974,"76":206,"83":43008,"24":16,"16":375390011505246208,"44":-1592796493892243456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260777216001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:15:15] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390011505246208,"km_value":375390011505246.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1592796493892243456,"description":"Unknown IO ID 44"} 
[2026-08-08 13:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260777216001,"power":27974,"unknown_76":206,"unknown_83":43008,"ignition":16,"odometer":null,"unknown_44":-1592796493892243456}} 
[2026-08-08 13:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":151474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:15:15] local.INFO: GPS data processed {"connection_id":151474,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:15:15] local.INFO: Acknowledgment sent {"connection_id":151474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:15:46] local.INFO: TCP Data received {"connection_id":151474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe052d628012ce9eb00071e23680009001030..."} 
[2026-08-08 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe052d628012ce9eb00071e23680009001030..."} 
[2026-08-08 13:15:46] local.INFO: Processing buffer {"connection_id":151474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe052d628012ce9eb00071e23680009001030..."} 
[2026-08-08 13:15:46] local.INFO: Packet analysis {"connection_id":151474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe052"} 
[2026-08-08 13:15:46] local.INFO: Extracted packet for processing {"connection_id":151474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe052"} 
[2026-08-08 13:15:46] local.INFO: GPS Element Parsed {"raw_longitude":753527552,"raw_latitude":119415656,"longitude_deg":75.3527552,"latitude_deg":11.9415656,"altitude":9,"angle":16,"satellites":48,"speed":0,"hex_longitude":"2ce9eb00","hex_latitude":"071e2368","is_valid_coordinates":true} 
[2026-08-08 13:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260782592001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390118879428608,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1591881700217249792,"note":"Value kept but may cause issues"} 
[2026-08-08 13:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786174953000,"timestamp_ms":1786174953000,"timestamp_seconds":1786174953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe052d628"} 
[2026-08-08 13:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:15: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-08-08 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 13:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260782592001,"66":27800,"76":206,"83":43008,"24":0,"16":375390118879428608,"44":-1591881700217249792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260782592001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:15:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390118879428608,"km_value":375390118879428.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1591881700217249792,"description":"Unknown IO ID 44"} 
[2026-08-08 13:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260782592001,"power":27800,"unknown_76":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1591881700217249792}} 
[2026-08-08 13:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":151474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:15:46] local.INFO: GPS data processed {"connection_id":151474,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:15:46] local.INFO: Acknowledgment sent {"connection_id":151474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:16:07] local.INFO: TCP Data received {"connection_id":150256,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:16:07] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:16:07] local.INFO: IMEI packet received {"connection_id":150256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":150256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:16:10] local.INFO: TCP Data received {"connection_id":150256,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:16:10] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:16:10] local.INFO: IMEI packet received {"connection_id":150256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":150256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:16:11] local.INFO: TCP Data received {"connection_id":150256,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0532830012ce9ed40071e2a88000a000d2e..."} 
[2026-08-08 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0532830012ce9ed40071e2a88000a000d2e..."} 
[2026-08-08 13:16:11] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0532830012ce9ed40071e2a88000a000d2e..."} 
[2026-08-08 13:16:11] local.INFO: Packet analysis {"connection_id":150256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe053"} 
[2026-08-08 13:16:11] local.INFO: Extracted packet for processing {"connection_id":150256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe053"} 
[2026-08-08 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":753528128,"raw_latitude":119417480,"longitude_deg":75.3528128,"latitude_deg":11.941748,"altitude":10,"angle":13,"satellites":46,"speed":0,"hex_longitude":"2ce9ed40","hex_latitude":"071e2a88","is_valid_coordinates":true} 
[2026-08-08 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260787968001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390213368709120,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1591178012774930432,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:11] 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-08-08 13:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786174974000,"timestamp_ms":1786174974000,"timestamp_seconds":1786174974,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0532830"} 
[2026-08-08 13:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260787968001,"66":27832,"68":206,"83":43008,"24":0,"16":375390213368709120,"44":-1591178012774930432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260787968001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390213368709120,"km_value":375390213368709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1591178012774930432,"description":"Unknown IO ID 44"} 
[2026-08-08 13:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260787968001,"power":27832,"unknown_68":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1591178012774930432}} 
[2026-08-08 13:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":150256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:16:11] local.INFO: GPS data processed {"connection_id":150256,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:16:11] local.INFO: Acknowledgment sent {"connection_id":150256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:16:11] local.INFO: TCP Data received {"connection_id":150256,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0537a38012ce9ee80071e2d20000a000c2d..."} 
[2026-08-08 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0537a38012ce9ee80071e2d20000a000c2d..."} 
[2026-08-08 13:16:11] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0537a38012ce9ee80071e2d20000a000c2d..."} 
[2026-08-08 13:16:11] local.INFO: Packet analysis {"connection_id":150256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe053"} 
[2026-08-08 13:16:11] local.INFO: Extracted packet for processing {"connection_id":150256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe053"} 
[2026-08-08 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":753528448,"raw_latitude":119418144,"longitude_deg":75.3528448,"latitude_deg":11.9418144,"altitude":10,"angle":12,"satellites":45,"speed":3,"hex_longitude":"2ce9ee80","hex_latitude":"071e2d20","is_valid_coordinates":true} 
[2026-08-08 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260793344001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390252023414784,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1590544694076864512,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:11] 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-08-08 13:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786174995000,"timestamp_ms":1786174995000,"timestamp_seconds":1786174995,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0537a38"} 
[2026-08-08 13:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 13:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260793344001,"66":27691,"68":206,"83":43008,"24":3,"16":375390252023414784,"44":-1590544694076864512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 13:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260793344001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390252023414784,"km_value":375390252023414.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1590544694076864512,"description":"Unknown IO ID 44"} 
[2026-08-08 13:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260793344001,"power":27691,"unknown_68":206,"unknown_83":43008,"ignition":3,"odometer":null,"unknown_44":-1590544694076864512}} 
[2026-08-08 13:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":150256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:16:11] local.INFO: GPS data processed {"connection_id":150256,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:16:11] local.INFO: Acknowledgment sent {"connection_id":150256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:16:42] local.INFO: TCP Data received {"connection_id":150256,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe053cc40012ce9f000071e31f8000a000f2d..."} 
[2026-08-08 13:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe053cc40012ce9f000071e31f8000a000f2d..."} 
[2026-08-08 13:16:42] local.INFO: Processing buffer {"connection_id":150256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe053cc40012ce9f000071e31f8000a000f2d..."} 
[2026-08-08 13:16:42] local.INFO: Packet analysis {"connection_id":150256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe053"} 
[2026-08-08 13:16:42] local.INFO: Extracted packet for processing {"connection_id":150256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe053"} 
[2026-08-08 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753528832,"raw_latitude":119419384,"longitude_deg":75.3528832,"latitude_deg":11.9419384,"altitude":10,"angle":15,"satellites":45,"speed":0,"hex_longitude":"2ce9f000","hex_latitude":"071e31f8","is_valid_coordinates":true} 
[2026-08-08 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260798720001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390320742891520,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1590192850355806208,"note":"Value kept but may cause issues"} 
[2026-08-08 13:16: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-08-08 13:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786175016000,"timestamp_ms":1786175016000,"timestamp_seconds":1786175016,"priority":1,"record_length":96,"hex_timestamp":"0000019fe053cc40"} 
[2026-08-08 13:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-08 13:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260798720001,"66":27745,"68":206,"83":43008,"24":0,"16":375390320742891520,"44":-1590192850355806208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 13:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260798720001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:16:42] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 13:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390320742891520,"km_value":375390320742891.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1590192850355806208,"description":"Unknown IO ID 44"} 
[2026-08-08 13:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260798720001,"power":27745,"unknown_68":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1590192850355806208}} 
[2026-08-08 13:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":150256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:16:42] local.INFO: GPS data processed {"connection_id":150256,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:16:42] local.INFO: Acknowledgment sent {"connection_id":150256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:17:05] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:17:05] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:17:05] local.INFO: IMEI packet received {"connection_id":151475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":151475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:17:10] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:17:10] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:17:10] local.INFO: IMEI packet received {"connection_id":151475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":151475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:17:11] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0541e48012ce9f4c0071e3fe0000900102c..."} 
[2026-08-08 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0541e48012ce9f4c0071e3fe0000900102c..."} 
[2026-08-08 13:17:11] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0541e48012ce9f4c0071e3fe0000900102c..."} 
[2026-08-08 13:17:11] local.INFO: Packet analysis {"connection_id":151475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe054"} 
[2026-08-08 13:17:11] local.INFO: Extracted packet for processing {"connection_id":151475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe054"} 
[2026-08-08 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":753530048,"raw_latitude":119422944,"longitude_deg":75.3530048,"latitude_deg":11.9422944,"altitude":9,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2ce9f4c0","hex_latitude":"071e3fe0","is_valid_coordinates":true} 
[2026-08-08 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260804096001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390505426485248,"note":"Value kept but may cause issues"} 
[2026-08-08 13:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1589770637890422784,"note":"Value kept but may cause issues"} 
[2026-08-08 13:17:11] 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-08-08 13:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786175037000,"timestamp_ms":1786175037000,"timestamp_seconds":1786175037,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0541e48"} 
[2026-08-08 13:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 13:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260804096001,"66":27919,"68":206,"83":43008,"24":0,"16":375390505426485248,"44":-1589770637890422784},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 13:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260804096001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:17:11] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 13:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390505426485248,"km_value":375390505426485.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1589770637890422784,"description":"Unknown IO ID 44"} 
[2026-08-08 13:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260804096001,"power":27919,"unknown_68":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1589770637890422784}} 
[2026-08-08 13:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":151475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:17:11] local.INFO: GPS data processed {"connection_id":151475,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:17:11] local.INFO: Acknowledgment sent {"connection_id":151475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:17:41] local.INFO: TCP Data received {"connection_id":151475,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0544558012ce9f680071e4680000a00042f..."} 
[2026-08-08 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0544558012ce9f680071e4680000a00042f..."} 
[2026-08-08 13:17:41] local.INFO: Processing buffer {"connection_id":151475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0544558012ce9f680071e4680000a00042f..."} 
[2026-08-08 13:17:41] local.INFO: Packet analysis {"connection_id":151475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe054"} 
[2026-08-08 13:17:41] local.INFO: Extracted packet for processing {"connection_id":151475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe054"} 
[2026-08-08 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753530496,"raw_latitude":119424640,"longitude_deg":75.3530496,"latitude_deg":11.942464,"altitude":10,"angle":4,"satellites":47,"speed":8,"hex_longitude":"2ce9f680","hex_latitude":"071e4680","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260809472001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390591325831168,"note":"Value kept but may cause issues"} 
[2026-08-08 13:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588433631750135808,"note":"Value kept but may cause issues"} 
[2026-08-08 13:17:41] 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-08-08 13:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786175047000,"timestamp_ms":1786175047000,"timestamp_seconds":1786175047,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0544558"} 
[2026-08-08 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-08-08 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260809472001,"66":27919,"68":206,"83":43008,"24":8,"16":375390591325831168,"44":-1588433631750135808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 13:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260809472001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:17:41] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 13:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390591325831168,"km_value":375390591325831.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588433631750135808,"description":"Unknown IO ID 44"} 
[2026-08-08 13:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260809472001,"power":27919,"unknown_68":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1588433631750135808}} 
[2026-08-08 13:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":151475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:17:41] local.INFO: GPS data processed {"connection_id":151475,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:17:41] local.INFO: Acknowledgment sent {"connection_id":151475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:18:05] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:18:05] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:18:05] local.INFO: IMEI packet received {"connection_id":150518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":150518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:18:10] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:18:10] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:18:10] local.INFO: IMEI packet received {"connection_id":150518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":150518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:18:11] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0544940012ce9f6c0071e4740000a00112f..."} 
[2026-08-08 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0544940012ce9f6c0071e4740000a00112f..."} 
[2026-08-08 13:18:11] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0544940012ce9f6c0071e4740000a00112f..."} 
[2026-08-08 13:18:11] local.INFO: Packet analysis {"connection_id":150518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe054"} 
[2026-08-08 13:18:11] local.INFO: Extracted packet for processing {"connection_id":150518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe054"} 
[2026-08-08 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119424832,"longitude_deg":75.353056,"latitude_deg":11.9424832,"altitude":10,"angle":17,"satellites":47,"speed":7,"hex_longitude":"2ce9f6c0","hex_latitude":"071e4740","is_valid_coordinates":true} 
[2026-08-08 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260812032001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375390599915765760,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587941050540457984,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:11] 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-08-08 13:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786175048000,"timestamp_ms":1786175048000,"timestamp_seconds":1786175048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0544940"} 
[2026-08-08 13:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260812032001,"66":28028,"68":206,"83":43008,"24":7,"16":375390599915765760,"44":-1587941050540457984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 13:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260812032001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:18:11] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 13:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375390599915765760,"km_value":375390599915765.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587941050540457984,"description":"Unknown IO ID 44"} 
[2026-08-08 13:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260812032001,"power":28028,"unknown_68":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1587941050540457984}} 
[2026-08-08 13:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":150518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:18:11] local.INFO: GPS data processed {"connection_id":150518,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:18:11] local.INFO: Acknowledgment sent {"connection_id":150518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:18:43] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0576df0012cea2500071eaa60000e00182c..."} 
[2026-08-08 13:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0576df0012cea2500071eaa60000e00182c..."} 
[2026-08-08 13:18:43] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0576df0012cea2500071eaa60000e00182c..."} 
[2026-08-08 13:18:43] local.INFO: Packet analysis {"connection_id":150518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:18:43] local.INFO: Extracted packet for processing {"connection_id":150518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:18:43] local.INFO: GPS Element Parsed {"raw_longitude":753542400,"raw_latitude":119450208,"longitude_deg":75.35424,"latitude_deg":11.9450208,"altitude":14,"angle":24,"satellites":44,"speed":20,"hex_longitude":"2cea2500","hex_latitude":"071eaa60","is_valid_coordinates":true} 
[2026-08-08 13:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260864512001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375392012960006144,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575345045326315520,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786175254000,"timestamp_ms":1786175254000,"timestamp_seconds":1786175254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0576df0"} 
[2026-08-08 13:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260864512001,"66":27865,"76":206,"83":43008,"24":20,"16":375392012960006144,"44":-1575345045326315520},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 13:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260864512001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:18:43] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 13:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375392012960006144,"km_value":375392012960006.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575345045326315520,"description":"Unknown IO ID 44"} 
[2026-08-08 13:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260864512001,"power":27865,"unknown_76":206,"unknown_83":43008,"ignition":20,"odometer":null,"unknown_44":-1575345045326315520}} 
[2026-08-08 13:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":150518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:18:43] local.INFO: GPS data processed {"connection_id":150518,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:18:43] local.INFO: Acknowledgment sent {"connection_id":150518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:18:51] local.INFO: TCP Data received {"connection_id":150519,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:51] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:51] local.INFO: IMEI packet received {"connection_id":150519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":150519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:18:54] local.INFO: TCP Data received {"connection_id":150519,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:54] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:54] local.INFO: IMEI packet received {"connection_id":150519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":150519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:18:55] local.INFO: TCP Data received {"connection_id":150519,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:55] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:18:55] local.INFO: IMEI packet received {"connection_id":150519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":150519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:18:56] local.INFO: TCP Data received {"connection_id":150519,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe057b440012d1b8b40071f9c50004600ad2a..."} 
[2026-08-08 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe057b440012d1b8b40071f9c50004600ad2a..."} 
[2026-08-08 13:18:56] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe057b440012d1b8b40071f9c50004600ad2a..."} 
[2026-08-08 13:18:56] local.INFO: Packet analysis {"connection_id":150519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:18:56] local.INFO: Extracted packet for processing {"connection_id":150519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756779840,"raw_latitude":119512144,"longitude_deg":75.677984,"latitude_deg":11.9512144,"altitude":70,"angle":173,"satellites":42,"speed":9,"hex_longitude":"2d1b8b40","hex_latitude":"071f9c50","is_valid_coordinates":true} 
[2026-08-08 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260869376001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11409705175875584,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984750460126185472,"note":"Value kept but may cause issues"} 
[2026-08-08 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786175272000,"timestamp_ms":1786175272000,"timestamp_seconds":1786175272,"priority":1,"record_length":96,"hex_timestamp":"0000019fe057b440"} 
[2026-08-08 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 13:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260869376001,"66":14396,"101":206,"83":41984,"24":9,"16":11409705175875584,"45":1984750460126185472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260869376001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:18:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11409705175875584,"km_value":11409705175875.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984750460126185472,"description":"Unknown IO ID 45"} 
[2026-08-08 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260869376001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1984750460126185472}} 
[2026-08-08 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":150519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:18:56] local.INFO: GPS data processed {"connection_id":150519,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:18:56] local.INFO: Acknowledgment sent {"connection_id":150519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:19:05] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:05] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:05] local.INFO: IMEI packet received {"connection_id":151476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":151476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:19:06] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:06] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:06] local.INFO: IMEI packet received {"connection_id":151476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":151476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:19:09] local.INFO: TCP Data received {"connection_id":150519,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe057d380012d1b8cc0071f94d8004700a129..."} 
[2026-08-08 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe057d380012d1b8cc0071f94d8004700a129..."} 
[2026-08-08 13:19:09] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe057d380012d1b8cc0071f94d8004700a129..."} 
[2026-08-08 13:19:09] local.INFO: Packet analysis {"connection_id":150519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:19:09] local.INFO: Extracted packet for processing {"connection_id":150519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756780224,"raw_latitude":119510232,"longitude_deg":75.6780224,"latitude_deg":11.9510232,"altitude":71,"angle":161,"satellites":41,"speed":8,"hex_longitude":"2d1b8cc0","hex_latitude":"071f94d8","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260869632001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11409803960123392,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984750460126121984,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786175280000,"timestamp_ms":1786175280000,"timestamp_seconds":1786175280,"priority":1,"record_length":96,"hex_timestamp":"0000019fe057d380"} 
[2026-08-08 13:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 13:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260869632001,"66":13993,"101":206,"83":41984,"24":8,"16":11409803960123392,"45":1984750460126121984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260869632001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:19:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11409803960123392,"km_value":11409803960123.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984750460126121984,"description":"Unknown IO ID 45"} 
[2026-08-08 13:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260869632001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1984750460126121984}} 
[2026-08-08 13:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":150519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:19:09] local.INFO: GPS data processed {"connection_id":150519,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:19:09] local.INFO: Acknowledgment sent {"connection_id":150519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:19:10] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:10] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:19:10] local.INFO: IMEI packet received {"connection_id":151476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":151476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:19:11] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe057a0b8012cea3100071ecbb0000c00132d..."} 
[2026-08-08 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe057a0b8012cea3100071ecbb0000c00132d..."} 
[2026-08-08 13:19:11] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe057a0b8012cea3100071ecbb0000c00132d..."} 
[2026-08-08 13:19:11] local.INFO: Packet analysis {"connection_id":151476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:19:11] local.INFO: Extracted packet for processing {"connection_id":151476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":753545472,"raw_latitude":119458736,"longitude_deg":75.3545472,"latitude_deg":11.9458736,"altitude":12,"angle":19,"satellites":45,"speed":33,"hex_longitude":"2cea3100","hex_latitude":"071ecbb0","is_valid_coordinates":true} 
[2026-08-08 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260865024001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375392451046670336,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574852464116867072,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786175267000,"timestamp_ms":1786175267000,"timestamp_seconds":1786175267,"priority":1,"record_length":96,"hex_timestamp":"0000019fe057a0b8"} 
[2026-08-08 13:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260865024001,"66":27919,"75":206,"83":43008,"24":33,"16":375392451046670336,"44":-1574852464116867072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 13:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260865024001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:19:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 13:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375392451046670336,"km_value":375392451046670.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574852464116867072,"description":"Unknown IO ID 44"} 
[2026-08-08 13:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260865024001,"power":27919,"unknown_75":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1574852464116867072}} 
[2026-08-08 13:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":151476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:19:11] local.INFO: GPS data processed {"connection_id":151476,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:19:11] local.INFO: Acknowledgment sent {"connection_id":151476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:19:30] local.INFO: TCP Data received {"connection_id":150257,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:19:30] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:19:30] local.INFO: IMEI packet received {"connection_id":150257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":150257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:19:36] local.INFO: TCP Data received {"connection_id":150257,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:19:36] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:19:36] local.INFO: IMEI packet received {"connection_id":150257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":150257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:19:37] local.INFO: TCP Data received {"connection_id":150257,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0585c38012d1b95c0071f7a60004b00e428..."} 
[2026-08-08 13:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0585c38012d1b95c0071f7a60004b00e428..."} 
[2026-08-08 13:19:37] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0585c38012d1b95c0071f7a60004b00e428..."} 
[2026-08-08 13:19:37] local.INFO: Packet analysis {"connection_id":150257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:19:37] local.INFO: Extracted packet for processing {"connection_id":150257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756782528,"raw_latitude":119503456,"longitude_deg":75.6782528,"latitude_deg":11.9503456,"altitude":75,"angle":228,"satellites":40,"speed":2,"hex_longitude":"2d1b95c0","hex_latitude":"071f7a60","is_valid_coordinates":true} 
[2026-08-08 13:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260880384001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11410160442408960,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987776316123568128,"note":"Value kept but may cause issues"} 
[2026-08-08 13: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-08-08 13:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786175315000,"timestamp_ms":1786175315000,"timestamp_seconds":1786175315,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0585c38"} 
[2026-08-08 13:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:19: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-08-08 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 13:19: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-08-08 13:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260880384001,"66":13993,"101":206,"83":41984,"24":2,"16":11410160442408960,"45":1987776316123568128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260880384001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:19:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11410160442408960,"km_value":11410160442408.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987776316123568128,"description":"Unknown IO ID 45"} 
[2026-08-08 13:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260880384001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1987776316123568128}} 
[2026-08-08 13:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":150257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:19:37] local.INFO: GPS data processed {"connection_id":150257,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:19:37] local.INFO: Acknowledgment sent {"connection_id":150257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:19:42] local.INFO: TCP Data received {"connection_id":151476,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe057c7c8012cea3c40071eef08000c000e2b..."} 
[2026-08-08 13:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe057c7c8012cea3c40071eef08000c000e2b..."} 
[2026-08-08 13:19:42] local.INFO: Processing buffer {"connection_id":151476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe057c7c8012cea3c40071eef08000c000e2b..."} 
[2026-08-08 13:19:42] local.INFO: Packet analysis {"connection_id":151476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:19:42] local.INFO: Extracted packet for processing {"connection_id":151476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753548352,"raw_latitude":119467784,"longitude_deg":75.3548352,"latitude_deg":11.9467784,"altitude":12,"angle":14,"satellites":43,"speed":40,"hex_longitude":"2cea3c40","hex_latitude":"071eef08","is_valid_coordinates":true} 
[2026-08-08 13:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260868352001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375392910608171008,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571474764394156032,"note":"Value kept but may cause issues"} 
[2026-08-08 13:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786175277000,"timestamp_ms":1786175277000,"timestamp_seconds":1786175277,"priority":1,"record_length":96,"hex_timestamp":"0000019fe057c7c8"} 
[2026-08-08 13:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260868352001,"66":27919,"75":206,"83":43008,"24":40,"16":375392910608171008,"44":-1571474764394156032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 13:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260868352001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:19:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 13:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375392910608171008,"km_value":375392910608171.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571474764394156032,"description":"Unknown IO ID 44"} 
[2026-08-08 13:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260868352001,"power":27919,"unknown_75":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1571474764394156032}} 
[2026-08-08 13:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":151476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:19:42] local.INFO: GPS data processed {"connection_id":151476,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:19:42] local.INFO: Acknowledgment sent {"connection_id":151476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:20:05] local.INFO: TCP Data received {"connection_id":150258,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:05] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:05] local.INFO: IMEI packet received {"connection_id":150258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":150258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:20:08] local.INFO: TCP Data received {"connection_id":150257,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0586408012d1b9580071f79b0004b00f328..."} 
[2026-08-08 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0586408012d1b9580071f79b0004b00f328..."} 
[2026-08-08 13:20:08] local.INFO: Processing buffer {"connection_id":150257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0586408012d1b9580071f79b0004b00f328..."} 
[2026-08-08 13:20:08] local.INFO: Packet analysis {"connection_id":150257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:20:08] local.INFO: Extracted packet for processing {"connection_id":150257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756782464,"raw_latitude":119503280,"longitude_deg":75.6782464,"latitude_deg":11.950328,"altitude":75,"angle":243,"satellites":40,"speed":3,"hex_longitude":"2d1b9580","hex_latitude":"071f79b0","is_valid_coordinates":true} 
[2026-08-08 13:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260880640001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11410169032343552,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1987705947379359744,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20: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-08-08 13:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786175317000,"timestamp_ms":1786175317000,"timestamp_seconds":1786175317,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0586408"} 
[2026-08-08 13:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:20: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-08-08 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 13:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260880640001,"66":13276,"101":206,"83":41984,"24":3,"16":11410169032343552,"45":1987705947379359744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260880640001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11410169032343552,"km_value":11410169032343.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1987705947379359744,"description":"Unknown IO ID 45"} 
[2026-08-08 13:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260880640001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1987705947379359744}} 
[2026-08-08 13:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":150257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:20:08] local.INFO: GPS data processed {"connection_id":150257,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:20:08] local.INFO: Acknowledgment sent {"connection_id":150257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:20:09] local.INFO: TCP Data received {"connection_id":150258,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:09] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:09] local.INFO: IMEI packet received {"connection_id":150258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":150258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:20:10] local.INFO: TCP Data received {"connection_id":150258,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:10] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:20:10] local.INFO: IMEI packet received {"connection_id":150258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":150258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:20:10] local.INFO: TCP Data received {"connection_id":150258,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe057eaf0012cea4580071f1230000c000d2b..."} 
[2026-08-08 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe057eaf0012cea4580071f1230000c000d2b..."} 
[2026-08-08 13:20:10] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe057eaf0012cea4580071f1230000c000d2b..."} 
[2026-08-08 13:20:10] local.INFO: Packet analysis {"connection_id":150258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:20:10] local.INFO: Extracted packet for processing {"connection_id":150258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe057"} 
[2026-08-08 13:20:10] local.INFO: GPS Element Parsed {"raw_longitude":753550720,"raw_latitude":119476784,"longitude_deg":75.355072,"latitude_deg":11.9476784,"altitude":12,"angle":13,"satellites":43,"speed":40,"hex_longitude":"2cea4580","hex_latitude":"071f1230","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260870912001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375393361579737088,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568308170903844864,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786175286000,"timestamp_ms":1786175286000,"timestamp_seconds":1786175286,"priority":1,"record_length":96,"hex_timestamp":"0000019fe057eaf0"} 
[2026-08-08 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-08-08 13:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:20: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-08-08 13:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260870912001,"66":27604,"75":206,"83":43008,"24":40,"16":375393361579737088,"44":-1568308170903844864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 13:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260870912001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:20:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 13:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375393361579737088,"km_value":375393361579737.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568308170903844864,"description":"Unknown IO ID 44"} 
[2026-08-08 13:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260870912001,"power":27604,"unknown_75":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1568308170903844864}} 
[2026-08-08 13:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":150258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:20:10] local.INFO: GPS data processed {"connection_id":150258,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:20:10] local.INFO: Acknowledgment sent {"connection_id":150258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:20:15] local.INFO: TCP Data received {"connection_id":150258,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0580e18012cea4b80071f35d0000d00072c..."} 
[2026-08-08 13:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0580e18012cea4b80071f35d0000d00072c..."} 
[2026-08-08 13:20:15] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0580e18012cea4b80071f35d0000d00072c..."} 
[2026-08-08 13:20:15] local.INFO: Packet analysis {"connection_id":150258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:20:15] local.INFO: Extracted packet for processing {"connection_id":150258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:20:15] local.INFO: GPS Element Parsed {"raw_longitude":753552256,"raw_latitude":119485904,"longitude_deg":75.3552256,"latitude_deg":11.9485904,"altitude":13,"angle":7,"satellites":44,"speed":41,"hex_longitude":"2cea4b80","hex_latitude":"071f35d0","is_valid_coordinates":true} 
[2026-08-08 13:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260873216001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375393808256335872,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1565704527366967296,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786175295000,"timestamp_ms":1786175295000,"timestamp_seconds":1786175295,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0580e18"} 
[2026-08-08 13:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 13:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260873216001,"66":27713,"75":206,"83":43008,"24":41,"16":375393808256335872,"44":-1565704527366967296},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 13:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260873216001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:20:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 13:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375393808256335872,"km_value":375393808256335.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1565704527366967296,"description":"Unknown IO ID 44"} 
[2026-08-08 13:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260873216001,"power":27713,"unknown_75":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1565704527366967296}} 
[2026-08-08 13:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":150258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:20:15] local.INFO: GPS data processed {"connection_id":150258,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:20:15] local.INFO: Acknowledgment sent {"connection_id":150258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:20:35] local.INFO: TCP Data received {"connection_id":152958,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:20:35] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:20:35] local.INFO: IMEI packet received {"connection_id":152958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":152958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:20:38] local.INFO: TCP Data received {"connection_id":152958,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:20:38] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:20:38] local.INFO: IMEI packet received {"connection_id":152958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":152958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:20:39] local.INFO: TCP Data received {"connection_id":152958,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05913d0012d1b8500071f74e8004500e825..."} 
[2026-08-08 13:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05913d0012d1b8500071f74e8004500e825..."} 
[2026-08-08 13:20:39] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05913d0012d1b8500071f74e8004500e825..."} 
[2026-08-08 13:20:39] local.INFO: Packet analysis {"connection_id":152958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe059"} 
[2026-08-08 13:20:39] local.INFO: Extracted packet for processing {"connection_id":152958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe059"} 
[2026-08-08 13:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756778240,"raw_latitude":119502056,"longitude_deg":75.677824,"latitude_deg":11.9502056,"altitude":69,"angle":232,"satellites":37,"speed":6,"hex_longitude":"2d1b8500","hex_latitude":"071f74e8","is_valid_coordinates":true} 
[2026-08-08 13:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260891136001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11410388075675648,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984117141426051072,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20: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-08-08 13:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786175362000,"timestamp_ms":1786175362000,"timestamp_seconds":1786175362,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05913d0"} 
[2026-08-08 13:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 13:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":152958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260891136001,"66":14265,"101":206,"83":41984,"24":6,"16":11410388075675648,"45":1984117141426051072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260891136001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:20:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11410388075675648,"km_value":11410388075675.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984117141426051072,"description":"Unknown IO ID 45"} 
[2026-08-08 13:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260891136001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1984117141426051072}} 
[2026-08-08 13:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":152958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:20:39] local.INFO: GPS data processed {"connection_id":152958,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:20:39] local.INFO: Acknowledgment sent {"connection_id":152958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:20:46] local.INFO: TCP Data received {"connection_id":150258,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05840e0012cea4f40071f58c8000901662a..."} 
[2026-08-08 13:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05840e0012cea4f40071f58c8000901662a..."} 
[2026-08-08 13:20:46] local.INFO: Processing buffer {"connection_id":150258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05840e0012cea4f40071f58c8000901662a..."} 
[2026-08-08 13:20:46] local.INFO: Packet analysis {"connection_id":150258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:20:46] local.INFO: Extracted packet for processing {"connection_id":150258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:20:46] local.INFO: GPS Element Parsed {"raw_longitude":753553216,"raw_latitude":119494856,"longitude_deg":75.3553216,"latitude_deg":11.9494856,"altitude":9,"angle":358,"satellites":42,"speed":26,"hex_longitude":"2cea4f40","hex_latitude":"071f58c8","is_valid_coordinates":true} 
[2026-08-08 13:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260875520001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375394246343000064,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564015677504368640,"note":"Value kept but may cause issues"} 
[2026-08-08 13:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786175308000,"timestamp_ms":1786175308000,"timestamp_seconds":1786175308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05840e0"} 
[2026-08-08 13:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:20: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-08-08 13:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 13:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260875520001,"66":27865,"75":206,"83":43008,"24":26,"16":375394246343000064,"44":-1564015677504368640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 13:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260875520001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:20:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 13:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375394246343000064,"km_value":375394246343000.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564015677504368640,"description":"Unknown IO ID 44"} 
[2026-08-08 13:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260875520001,"power":27865,"unknown_75":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1564015677504368640}} 
[2026-08-08 13:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":150258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:20:46] local.INFO: GPS data processed {"connection_id":150258,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:20:46] local.INFO: Acknowledgment sent {"connection_id":150258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:21:10] local.INFO: TCP Data received {"connection_id":152958,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05961f0012d1b7600071f6c38003100f825..."} 
[2026-08-08 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05961f0012d1b7600071f6c38003100f825..."} 
[2026-08-08 13:21:10] local.INFO: Processing buffer {"connection_id":152958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05961f0012d1b7600071f6c38003100f825..."} 
[2026-08-08 13:21:10] local.INFO: Packet analysis {"connection_id":152958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe059"} 
[2026-08-08 13:21:10] local.INFO: Extracted packet for processing {"connection_id":152958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe059"} 
[2026-08-08 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756774400,"raw_latitude":119499832,"longitude_deg":75.67744,"latitude_deg":11.9499832,"altitude":49,"angle":248,"satellites":37,"speed":6,"hex_longitude":"2d1b7600","hex_latitude":"071f6c38","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260892672001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11410632888811520,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982991241519097856,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786175382000,"timestamp_ms":1786175382000,"timestamp_seconds":1786175382,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05961f0"} 
[2026-08-08 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-08-08 13:21: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-08-08 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 13:21: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-08-08 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-08-08 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-08-08 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260892672001,"66":13787,"101":206,"83":41984,"24":6,"16":11410632888811520,"45":1982991241519097856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260892672001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:21:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11410632888811520,"km_value":11410632888811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982991241519097856,"description":"Unknown IO ID 45"} 
[2026-08-08 13:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260892672001,"power":13787,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1982991241519097856}} 
[2026-08-08 13:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":152958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:21:10] local.INFO: GPS data processed {"connection_id":152958,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:21:10] local.INFO: Acknowledgment sent {"connection_id":152958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:21:15] local.INFO: TCP Data received {"connection_id":150259,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:21:15] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:21:15] local.INFO: IMEI packet received {"connection_id":150259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":150259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:21:18] local.INFO: TCP Data received {"connection_id":150259,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:21:18] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:21:18] local.INFO: IMEI packet received {"connection_id":150259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":150259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:21:18] local.INFO: TCP Data received {"connection_id":150259,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05873a8012cea4d80071f7cf0000901602d..."} 
[2026-08-08 13:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05873a8012cea4d80071f7cf0000901602d..."} 
[2026-08-08 13:21:18] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05873a8012cea4d80071f7cf0000901602d..."} 
[2026-08-08 13:21:18] local.INFO: Packet analysis {"connection_id":150259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:21:18] local.INFO: Extracted packet for processing {"connection_id":150259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe058"} 
[2026-08-08 13:21:18] local.INFO: GPS Element Parsed {"raw_longitude":753552768,"raw_latitude":119504112,"longitude_deg":75.3552768,"latitude_deg":11.9504112,"altitude":9,"angle":352,"satellites":45,"speed":31,"hex_longitude":"2cea4d80","hex_latitude":"071f7cf0","is_valid_coordinates":true} 
[2026-08-08 13:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260878848001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375394697314566144,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562960146339411968,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786175321000,"timestamp_ms":1786175321000,"timestamp_seconds":1786175321,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05873a8"} 
[2026-08-08 13:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260878848001,"66":27843,"75":206,"83":43008,"24":31,"16":375394697314566144,"44":-1562960146339411968},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 13:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260878848001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:21:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 13:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375394697314566144,"km_value":375394697314566.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562960146339411968,"description":"Unknown IO ID 44"} 
[2026-08-08 13:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260878848001,"power":27843,"unknown_75":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1562960146339411968}} 
[2026-08-08 13:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":150259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:21:18] local.INFO: GPS data processed {"connection_id":150259,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:21:18] local.INFO: Acknowledgment sent {"connection_id":150259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:21:35] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:21:35] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:21:35] local.INFO: IMEI packet received {"connection_id":151477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":151477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:21:39] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:21:39] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:21:39] local.INFO: IMEI packet received {"connection_id":151477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":151477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:21:47] local.INFO: TCP Data received {"connection_id":151477,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05a4098012d1b4780071f7ca0003300ee26..."} 
[2026-08-08 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05a4098012d1b4780071f7ca0003300ee26..."} 
[2026-08-08 13:21:47] local.INFO: Processing buffer {"connection_id":151477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05a4098012d1b4780071f7ca0003300ee26..."} 
[2026-08-08 13:21:47] local.INFO: Packet analysis {"connection_id":151477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:21:47] local.INFO: Extracted packet for processing {"connection_id":151477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119504032,"longitude_deg":75.6762496,"latitude_deg":11.9504032,"altitude":51,"angle":238,"satellites":38,"speed":12,"hex_longitude":"2d1b4780","hex_latitude":"071f7ca0","is_valid_coordinates":true} 
[2026-08-08 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260912128001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11411341558415360,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005428641792,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786175439000,"timestamp_ms":1786175439000,"timestamp_seconds":1786175439,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05a4098"} 
[2026-08-08 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 13:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260912128001,"66":14396,"101":206,"83":41984,"24":12,"16":11411341558415360,"45":1965962005428641792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260912128001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11411341558415360,"km_value":11411341558415.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005428641792,"description":"Unknown IO ID 45"} 
[2026-08-08 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260912128001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1965962005428641792}} 
[2026-08-08 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":151477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:21:47] local.INFO: GPS data processed {"connection_id":151477,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:21:47] local.INFO: Acknowledgment sent {"connection_id":151477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:21:49] local.INFO: TCP Data received {"connection_id":150259,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05a4480012cea760007210960000d000e21..."} 
[2026-08-08 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05a4480012cea760007210960000d000e21..."} 
[2026-08-08 13:21:49] local.INFO: Processing buffer {"connection_id":150259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05a4480012cea760007210960000d000e21..."} 
[2026-08-08 13:21:49] local.INFO: Packet analysis {"connection_id":150259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:21:49] local.INFO: Extracted packet for processing {"connection_id":150259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:21:49] local.INFO: GPS Element Parsed {"raw_longitude":753563136,"raw_latitude":119605600,"longitude_deg":75.3563136,"latitude_deg":11.96056,"altitude":13,"angle":14,"satellites":33,"speed":28,"hex_longitude":"2cea7600","hex_latitude":"07210960","is_valid_coordinates":true} 
[2026-08-08 13:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260909056001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375399658001793024,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554234422035351552,"note":"Value kept but may cause issues"} 
[2026-08-08 13:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786175440000,"timestamp_ms":1786175440000,"timestamp_seconds":1786175440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05a4480"} 
[2026-08-08 13:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260909056001,"66":27800,"184":206,"83":43008,"24":28,"16":375399658001793024,"44":-1554234422035351552},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-08-08 13:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260909056001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:21:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-08 13:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375399658001793024,"km_value":375399658001793.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554234422035351552,"description":"Unknown IO ID 44"} 
[2026-08-08 13:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260909056001,"power":27800,"unknown_184":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1554234422035351552}} 
[2026-08-08 13:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":150259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:21:50] local.INFO: GPS data processed {"connection_id":150259,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:21:50] local.INFO: Acknowledgment sent {"connection_id":150259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:22:04] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:04] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:04] local.INFO: IMEI packet received {"connection_id":150520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":150520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:22:05] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:05] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:05] local.INFO: IMEI packet received {"connection_id":150520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":150520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:22:10] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:10] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:22:10] local.INFO: IMEI packet received {"connection_id":150520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":150520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:22:14] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05a6f78012cea7e8007212c70000f000d26..."} 
[2026-08-08 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05a6f78012cea7e8007212c70000f000d26..."} 
[2026-08-08 13:22:14] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05a6f78012cea7e8007212c70000f000d26..."} 
[2026-08-08 13:22:14] local.INFO: Packet analysis {"connection_id":150520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:22:14] local.INFO: Extracted packet for processing {"connection_id":150520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:22:14] local.INFO: GPS Element Parsed {"raw_longitude":753565312,"raw_latitude":119614576,"longitude_deg":75.3565312,"latitude_deg":11.9614576,"altitude":15,"angle":13,"satellites":38,"speed":38,"hex_longitude":"2cea7e80","hex_latitude":"07212c70","is_valid_coordinates":true} 
[2026-08-08 13:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260912640001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375400104678391808,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552052990963523584,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786175451000,"timestamp_ms":1786175451000,"timestamp_seconds":1786175451,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05a6f78"} 
[2026-08-08 13:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260912640001,"66":27832,"183":206,"83":43008,"24":38,"16":375400104678391808,"44":-1552052990963523584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-08 13:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260912640001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:22:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-08 13:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375400104678391808,"km_value":375400104678391.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552052990963523584,"description":"Unknown IO ID 44"} 
[2026-08-08 13:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260912640001,"power":27832,"unknown_183":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1552052990963523584}} 
[2026-08-08 13:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":150520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:22:14] local.INFO: GPS data processed {"connection_id":150520,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:22:14] local.INFO: Acknowledgment sent {"connection_id":150520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:22:31] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:22:31] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:22:31] local.INFO: IMEI packet received {"connection_id":150521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":150521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:22:36] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:22:36] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:22:36] local.INFO: IMEI packet received {"connection_id":150521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:22:37] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05afc18012d1af8c0071f8c50003800f828..."} 
[2026-08-08 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05afc18012d1af8c0071f8c50003800f828..."} 
[2026-08-08 13:22:37] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05afc18012d1af8c0071f8c50003800f828..."} 
[2026-08-08 13:22:37] local.INFO: Packet analysis {"connection_id":150521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:22:37] local.INFO: Extracted packet for processing {"connection_id":150521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119508048,"longitude_deg":75.6742336,"latitude_deg":11.9508048,"altitude":56,"angle":248,"satellites":40,"speed":16,"hex_longitude":"2d1af8c0","hex_latitude":"071f8c50","is_valid_coordinates":true} 
[2026-08-08 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260924416001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11412402415337472,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943936588502067200,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22: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-08-08 13:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786175487000,"timestamp_ms":1786175487000,"timestamp_seconds":1786175487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05afc18"} 
[2026-08-08 13:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:22: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-08-08 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 13:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260924416001,"66":13102,"101":206,"83":41984,"24":16,"16":11412402415337472,"45":1943936588502067200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260924416001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:22:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11412402415337472,"km_value":11412402415337.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943936588502067200,"description":"Unknown IO ID 45"} 
[2026-08-08 13:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260924416001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1943936588502067200}} 
[2026-08-08 13:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":150521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:22:37] local.INFO: GPS data processed {"connection_id":150521,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:22:37] local.INFO: Acknowledgment sent {"connection_id":150521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:22:52] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05a9a70012cea874007215008000e000e22..."} 
[2026-08-08 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05a9a70012cea874007215008000e000e22..."} 
[2026-08-08 13:22:52] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05a9a70012cea874007215008000e000e22..."} 
[2026-08-08 13:22:52] local.INFO: Packet analysis {"connection_id":150520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:22:52] local.INFO: Extracted packet for processing {"connection_id":150520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":753567552,"raw_latitude":119623688,"longitude_deg":75.3567552,"latitude_deg":11.9623688,"altitude":14,"angle":14,"satellites":34,"speed":35,"hex_longitude":"2cea8740","hex_latitude":"07215008","is_valid_coordinates":true} 
[2026-08-08 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260915456001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375400559944925184,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549660453659185152,"note":"Value kept but may cause issues"} 
[2026-08-08 13:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786175462000,"timestamp_ms":1786175462000,"timestamp_seconds":1786175462,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05a9a70"} 
[2026-08-08 13:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 13:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260915456001,"66":27919,"183":206,"83":43008,"24":35,"16":375400559944925184,"44":-1549660453659185152},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-08 13:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260915456001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:22:52] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-08 13:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375400559944925184,"km_value":375400559944925.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549660453659185152,"description":"Unknown IO ID 44"} 
[2026-08-08 13:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260915456001,"power":27919,"unknown_183":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1549660453659185152}} 
[2026-08-08 13:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":150520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:22:52] local.INFO: GPS data processed {"connection_id":150520,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:22:52] local.INFO: Acknowledgment sent {"connection_id":150520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:23:05] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:05] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:05] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:23:08] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:08] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:08] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:23:09] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:09] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:09] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:23:10] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:10] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:23:10] local.INFO: IMEI packet received {"connection_id":152959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":152959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:23:12] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05bbf68012d1ab800071f95480038011b29..."} 
[2026-08-08 13:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05bbf68012d1ab800071f95480038011b29..."} 
[2026-08-08 13:23:12] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05bbf68012d1ab800071f95480038011b29..."} 
[2026-08-08 13:23:12] local.INFO: Packet analysis {"connection_id":150521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05b"} 
[2026-08-08 13:23:12] local.INFO: Extracted packet for processing {"connection_id":150521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05b"} 
[2026-08-08 13:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756725760,"raw_latitude":119510344,"longitude_deg":75.672576,"latitude_deg":11.9510344,"altitude":56,"angle":283,"satellites":41,"speed":24,"hex_longitude":"2d1ab800","hex_latitude":"071f9548","is_valid_coordinates":true} 
[2026-08-08 13:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260936704001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11413330128273408,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927259196132352000,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23: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-08-08 13:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786175537000,"timestamp_ms":1786175537000,"timestamp_seconds":1786175537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05bbf68"} 
[2026-08-08 13:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 13:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260936704001,"66":14374,"101":206,"83":41984,"24":24,"16":11413330128273408,"45":1927259196132352000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260936704001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:23:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11413330128273408,"km_value":11413330128273.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927259196132352000,"description":"Unknown IO ID 45"} 
[2026-08-08 13:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260936704001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1927259196132352000}} 
[2026-08-08 13:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":150521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:23:12] local.INFO: GPS data processed {"connection_id":150521,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:23:12] local.INFO: Acknowledgment sent {"connection_id":150521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:23:14] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05ac950012cea9100072171f8000c001023..."} 
[2026-08-08 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05ac950012cea9100072171f8000c001023..."} 
[2026-08-08 13:23:14] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05ac950012cea9100072171f8000c001023..."} 
[2026-08-08 13:23:14] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:23:14] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753570048,"raw_latitude":119632376,"longitude_deg":75.3570048,"latitude_deg":11.9632376,"altitude":12,"angle":16,"satellites":35,"speed":29,"hex_longitude":"2cea9100","hex_latitude":"072171f8","is_valid_coordinates":true} 
[2026-08-08 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260918272001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375400998031589376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547197547610634240,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786175474000,"timestamp_ms":1786175474000,"timestamp_seconds":1786175474,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05ac950"} 
[2026-08-08 13:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260918272001,"66":27843,"183":206,"83":43008,"24":29,"16":375400998031589376,"44":-1547197547610634240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-08 13:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260918272001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:23:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-08 13:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375400998031589376,"km_value":375400998031589.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547197547610634240,"description":"Unknown IO ID 44"} 
[2026-08-08 13:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260918272001,"power":27843,"unknown_183":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1547197547610634240}} 
[2026-08-08 13:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:23:14] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:23:14] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:23:16] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05af830012cea9f0007219538000c001a2d..."} 
[2026-08-08 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05af830012cea9f0007219538000c001a2d..."} 
[2026-08-08 13:23:16] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05af830012cea9f0007219538000c001a2d..."} 
[2026-08-08 13:23:16] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:23:16] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05a"} 
[2026-08-08 13:23:16] local.INFO: GPS Element Parsed {"raw_longitude":753573632,"raw_latitude":119641400,"longitude_deg":75.3573632,"latitude_deg":11.96414,"altitude":12,"angle":26,"satellites":45,"speed":34,"hex_longitude":"2cea9f00","hex_latitude":"07219538","is_valid_coordinates":true} 
[2026-08-08 13:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260921344001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375401470477991936,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1544453166585481216,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786175486000,"timestamp_ms":1786175486000,"timestamp_seconds":1786175486,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05af830"} 
[2026-08-08 13:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 13:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260921344001,"66":27865,"183":206,"83":43008,"24":34,"16":375401470477991936,"44":-1544453166585481216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-08 13:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260921344001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:23:16] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-08 13:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375401470477991936,"km_value":375401470477991.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1544453166585481216,"description":"Unknown IO ID 44"} 
[2026-08-08 13:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260921344001,"power":27865,"unknown_183":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1544453166585481216}} 
[2026-08-08 13:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:23:16] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:23:16] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:23:29] local.INFO: TCP Data received {"connection_id":150260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:29] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:29] local.INFO: IMEI packet received {"connection_id":150260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":150260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:23:31] local.INFO: TCP Data received {"connection_id":150260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:31] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:31] local.INFO: IMEI packet received {"connection_id":150260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":150260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:23:31] local.INFO: TCP Data received {"connection_id":150260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:31] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:31] local.INFO: IMEI packet received {"connection_id":150260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":150260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:23:36] local.INFO: TCP Data received {"connection_id":150260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:36] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:23:36] local.INFO: IMEI packet received {"connection_id":150260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:23:37] local.INFO: TCP Data received {"connection_id":150260,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05bdea8012d1aa200071f99300037012728..."} 
[2026-08-08 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05bdea8012d1aa200071f99300037012728..."} 
[2026-08-08 13:23:37] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05bdea8012d1aa200071f99300037012728..."} 
[2026-08-08 13:23:37] local.INFO: Packet analysis {"connection_id":150260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05b"} 
[2026-08-08 13:23:37] local.INFO: Extracted packet for processing {"connection_id":150260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05b"} 
[2026-08-08 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756720128,"raw_latitude":119511344,"longitude_deg":75.6720128,"latitude_deg":11.9511344,"altitude":55,"angle":295,"satellites":40,"speed":27,"hex_longitude":"2d1aa200","hex_latitude":"071f9930","is_valid_coordinates":true} 
[2026-08-08 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260937472001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11413605006180352,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925288871295535104,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23: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-08-08 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786175545000,"timestamp_ms":1786175545000,"timestamp_seconds":1786175545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05bdea8"} 
[2026-08-08 13:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:23: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-08-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 13:23: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-08-08 13:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260937472001,"66":14515,"101":206,"83":41984,"24":27,"16":11413605006180352,"45":1925288871295535104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260937472001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:23:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11413605006180352,"km_value":11413605006180.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925288871295535104,"description":"Unknown IO ID 45"} 
[2026-08-08 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260937472001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1925288871295535104}} 
[2026-08-08 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":150260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:23:37] local.INFO: GPS data processed {"connection_id":150260,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:23:37] local.INFO: Acknowledgment sent {"connection_id":150260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:23:48] local.INFO: TCP Data received {"connection_id":152959,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05c1170012ceb5d400722a9d00015003730..."} 
[2026-08-08 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05c1170012ceb5d400722a9d00015003730..."} 
[2026-08-08 13:23:48] local.INFO: Processing buffer {"connection_id":152959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05c1170012ceb5d400722a9d00015003730..."} 
[2026-08-08 13:23:48] local.INFO: Packet analysis {"connection_id":152959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:23:48] local.INFO: Extracted packet for processing {"connection_id":152959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:23:48] local.INFO: GPS Element Parsed {"raw_longitude":753622336,"raw_latitude":119712208,"longitude_deg":75.3622336,"latitude_deg":11.9712208,"altitude":21,"angle":55,"satellites":48,"speed":41,"hex_longitude":"2ceb5d40","hex_latitude":"0722a9d0","is_valid_coordinates":true} 
[2026-08-08 13:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260942848001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375405632301301760,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486961902571892736,"note":"Value kept but may cause issues"} 
[2026-08-08 13:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786175558000,"timestamp_ms":1786175558000,"timestamp_seconds":1786175558,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05c1170"} 
[2026-08-08 13:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:23: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-08-08 13:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":152959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":152959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:23: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-08-08 13:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260942848001,"66":27800,"29":206,"83":43008,"24":41,"16":375405632301301760,"44":-1486961902571892736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-08-08 13:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260942848001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375405632301301760,"km_value":375405632301301.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486961902571892736,"description":"Unknown IO ID 44"} 
[2026-08-08 13:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260942848001,"power":27800,"unknown_29":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1486961902571892736}} 
[2026-08-08 13:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":152959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:23:48] local.INFO: GPS data processed {"connection_id":152959,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:23:48] local.INFO: Acknowledgment sent {"connection_id":152959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:24:08] local.INFO: TCP Data received {"connection_id":150260,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05be678012d1a9d80071f9c600037013529..."} 
[2026-08-08 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05be678012d1a9d80071f9c600037013529..."} 
[2026-08-08 13:24:08] local.INFO: Processing buffer {"connection_id":150260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05be678012d1a9d80071f9c600037013529..."} 
[2026-08-08 13:24:08] local.INFO: Packet analysis {"connection_id":150260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05b"} 
[2026-08-08 13:24:08] local.INFO: Extracted packet for processing {"connection_id":150260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05b"} 
[2026-08-08 13:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756718976,"raw_latitude":119512160,"longitude_deg":75.6718976,"latitude_deg":11.951216,"altitude":55,"angle":309,"satellites":41,"speed":27,"hex_longitude":"2d1a9d80","hex_latitude":"071f9c60","is_valid_coordinates":true} 
[2026-08-08 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260939520001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11413673725657088,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919096421808156672,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24: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-08-08 13:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786175547000,"timestamp_ms":1786175547000,"timestamp_seconds":1786175547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05be678"} 
[2026-08-08 13:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:24: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-08-08 13:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 13:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260939520001,"66":14428,"101":206,"83":41984,"24":27,"16":11413673725657088,"45":1919096421808156672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260939520001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:24:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11413673725657088,"km_value":11413673725657.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919096421808156672,"description":"Unknown IO ID 45"} 
[2026-08-08 13:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260939520001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1919096421808156672}} 
[2026-08-08 13:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":150260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:24:08] local.INFO: GPS data processed {"connection_id":150260,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:24:08] local.INFO: Acknowledgment sent {"connection_id":150260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:24:11] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:11] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:11] local.INFO: IMEI packet received {"connection_id":150522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":150522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:24:11] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:11] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:11] local.INFO: IMEI packet received {"connection_id":150522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":150522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:24:15] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:15] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:24:15] local.INFO: IMEI packet received {"connection_id":150522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":150522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:24:15] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05c3c68012ceb74000722b8480017004630..."} 
[2026-08-08 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05c3c68012ceb74000722b8480017004630..."} 
[2026-08-08 13:24:15] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05c3c68012ceb74000722b8480017004630..."} 
[2026-08-08 13:24:15] local.INFO: Packet analysis {"connection_id":150522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:24:15] local.INFO: Extracted packet for processing {"connection_id":150522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":753628160,"raw_latitude":119715912,"longitude_deg":75.362816,"latitude_deg":11.9715912,"altitude":23,"angle":70,"satellites":48,"speed":13,"hex_longitude":"2ceb7400","hex_latitude":"0722b848","is_valid_coordinates":true} 
[2026-08-08 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260942848001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375405958718816256,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486961902571892736,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:15] 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-08-08 13:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786175569000,"timestamp_ms":1786175569000,"timestamp_seconds":1786175569,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05c3c68"} 
[2026-08-08 13:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260942848001,"66":27865,"28":206,"83":43008,"24":13,"16":375405958718816256,"44":-1486961902571892736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 13:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260942848001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 13:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375405958718816256,"km_value":375405958718816.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486961902571892736,"description":"Unknown IO ID 44"} 
[2026-08-08 13:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260942848001,"power":27865,"unknown_28":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1486961902571892736}} 
[2026-08-08 13:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":150522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:24:15] local.INFO: GPS data processed {"connection_id":150522,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:24:15] local.INFO: Acknowledgment sent {"connection_id":150522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:24:28] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05c6f30012ceb8d800722c3c80018003930..."} 
[2026-08-08 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05c6f30012ceb8d800722c3c80018003930..."} 
[2026-08-08 13:24:28] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05c6f30012ceb8d800722c3c80018003930..."} 
[2026-08-08 13:24:28] local.INFO: Packet analysis {"connection_id":150522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:24:28] local.INFO: Extracted packet for processing {"connection_id":150522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:24:28] local.INFO: GPS Element Parsed {"raw_longitude":753634688,"raw_latitude":119718856,"longitude_deg":75.3634688,"latitude_deg":11.9718856,"altitude":24,"angle":57,"satellites":48,"speed":27,"hex_longitude":"2ceb8d80","hex_latitude":"0722c3c8","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260945664001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375406302316199936,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480558346850777088,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:28] 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-08-08 13:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786175582000,"timestamp_ms":1786175582000,"timestamp_seconds":1786175582,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05c6f30"} 
[2026-08-08 13:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":150522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260945664001,"66":27908,"28":206,"83":43008,"24":27,"16":375406302316199936,"44":-1480558346850777088},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 13:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260945664001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 13:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375406302316199936,"km_value":375406302316199.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480558346850777088,"description":"Unknown IO ID 44"} 
[2026-08-08 13:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260945664001,"power":27908,"unknown_28":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1480558346850777088}} 
[2026-08-08 13:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":150522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:24:28] local.INFO: GPS data processed {"connection_id":150522,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:24:28] local.INFO: Acknowledgment sent {"connection_id":150522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:24:31] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:31] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:31] local.INFO: IMEI packet received {"connection_id":151478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":151478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:24:31] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:31] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:31] local.INFO: IMEI packet received {"connection_id":151478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":151478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:24:34] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:34] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:24:34] local.INFO: IMEI packet received {"connection_id":151478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":151478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:24:35] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05ce078012d19e5c007200060002d014329..."} 
[2026-08-08 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05ce078012d19e5c007200060002d014329..."} 
[2026-08-08 13:24:35] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05ce078012d19e5c007200060002d014329..."} 
[2026-08-08 13:24:35] local.INFO: Packet analysis {"connection_id":151478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:24:35] local.INFO: Extracted packet for processing {"connection_id":151478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756671936,"raw_latitude":119537760,"longitude_deg":75.6671936,"latitude_deg":11.953776,"altitude":45,"angle":323,"satellites":41,"speed":23,"hex_longitude":"2d19e5c0","hex_latitude":"07200060","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260956160001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11416362375184384,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866460601169907712,"note":"Value kept but may cause issues"} 
[2026-08-08 13:24: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-08-08 13:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786175611000,"timestamp_ms":1786175611000,"timestamp_seconds":1786175611,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05ce078"} 
[2026-08-08 13:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 13:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260956160001,"66":13276,"101":206,"83":41984,"24":23,"16":11416362375184384,"45":1866460601169907712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 13:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260956160001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11416362375184384,"km_value":11416362375184.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866460601169907712,"description":"Unknown IO ID 45"} 
[2026-08-08 13:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260956160001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1866460601169907712}} 
[2026-08-08 13:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":151478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:24:35] local.INFO: GPS data processed {"connection_id":151478,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:24:35] local.INFO: Acknowledgment sent {"connection_id":151478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:25:04] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:04] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:04] local.INFO: IMEI packet received {"connection_id":151479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:25:05] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:05] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:05] local.INFO: IMEI packet received {"connection_id":151479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":151479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:25:06] local.INFO: TCP Data received {"connection_id":151478,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05d9fe0012d19ac80072094d80030001027..."} 
[2026-08-08 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05d9fe0012d19ac80072094d80030001027..."} 
[2026-08-08 13:25:06] local.INFO: Processing buffer {"connection_id":151478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05d9fe0012d19ac80072094d80030001027..."} 
[2026-08-08 13:25:06] local.INFO: Packet analysis {"connection_id":151478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05d"} 
[2026-08-08 13:25:06] local.INFO: Extracted packet for processing {"connection_id":151478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05d"} 
[2026-08-08 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119575768,"longitude_deg":75.665728,"latitude_deg":11.9575768,"altitude":48,"angle":16,"satellites":39,"speed":31,"hex_longitude":"2d19ac80","hex_latitude":"072094d8","is_valid_coordinates":true} 
[2026-08-08 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260968704001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11418411074584576,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208809459712,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 13:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786175660000,"timestamp_ms":1786175660000,"timestamp_seconds":1786175660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05d9fe0"} 
[2026-08-08 13:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:25: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-08-08 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-08-08 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-08-08 13:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260968704001,"66":14026,"103":206,"83":41984,"24":31,"16":11418411074584576,"45":1849783208809459712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 13:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260968704001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:25:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 13:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11418411074584576,"km_value":11418411074584.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208809459712,"description":"Unknown IO ID 45"} 
[2026-08-08 13:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260968704001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1849783208809459712}} 
[2026-08-08 13:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":151478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:25:06] local.INFO: GPS data processed {"connection_id":151478,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:25:06] local.INFO: Acknowledgment sent {"connection_id":151478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:25:10] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:10] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:25:10] local.INFO: IMEI packet received {"connection_id":151479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":151479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:25:10] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05c9e10012cebac400722d8500018003230..."} 
[2026-08-08 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05c9e10012cebac400722d8500018003230..."} 
[2026-08-08 13:25:10] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05c9e10012cebac400722d8500018003230..."} 
[2026-08-08 13:25:10] local.INFO: Packet analysis {"connection_id":151479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:25:10] local.INFO: Extracted packet for processing {"connection_id":151479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05c"} 
[2026-08-08 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753642560,"raw_latitude":119724112,"longitude_deg":75.364256,"latitude_deg":11.9724112,"altitude":24,"angle":50,"satellites":48,"speed":34,"hex_longitude":"2cebac40","hex_latitude":"0722d850","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260948992001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375406757582733312,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1473380734943901696,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786175594000,"timestamp_ms":1786175594000,"timestamp_seconds":1786175594,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05c9e10"} 
[2026-08-08 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-08-08 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260948992001,"66":27865,"81":206,"83":43008,"24":34,"16":375406757582733312,"44":-1473380734943901696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-08 13:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260948992001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 13:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375406757582733312,"km_value":375406757582733.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1473380734943901696,"description":"Unknown IO ID 44"} 
[2026-08-08 13:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260948992001,"power":27865,"unknown_81":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1473380734943901696}} 
[2026-08-08 13:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:25:10] local.INFO: GPS data processed {"connection_id":151479,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:25:10] local.INFO: Acknowledgment sent {"connection_id":151479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:25:31] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:31] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:31] local.INFO: IMEI packet received {"connection_id":150523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":150523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:25:32] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:32] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:32] local.INFO: IMEI packet received {"connection_id":150523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":150523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:25:36] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:36] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:25:36] local.INFO: IMEI packet received {"connection_id":150523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":150523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:25:37] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05da7b0012d19afc0072099f80031002326..."} 
[2026-08-08 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05da7b0012d19afc0072099f80031002326..."} 
[2026-08-08 13:25:37] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05da7b0012d19afc0072099f80031002326..."} 
[2026-08-08 13:25:37] local.INFO: Packet analysis {"connection_id":150523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05d"} 
[2026-08-08 13:25:37] local.INFO: Extracted packet for processing {"connection_id":150523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05d"} 
[2026-08-08 13:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119577080,"longitude_deg":75.6658112,"latitude_deg":11.957708,"altitude":49,"angle":35,"satellites":38,"speed":30,"hex_longitude":"2d19afc0","hex_latitude":"072099f8","is_valid_coordinates":true} 
[2026-08-08 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260968960001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11418488383995904,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315042183168,"note":"Value kept but may cause issues"} 
[2026-08-08 13: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-08-08 13:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786175662000,"timestamp_ms":1786175662000,"timestamp_seconds":1786175662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05da7b0"} 
[2026-08-08 13:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:25: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-08-08 13:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-08 13:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260968960001,"66":14135,"103":206,"83":41984,"24":30,"16":11418488383995904,"45":1849994315042183168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 13:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260968960001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:25:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 13:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11418488383995904,"km_value":11418488383995.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315042183168,"description":"Unknown IO ID 45"} 
[2026-08-08 13:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260968960001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1849994315042183168}} 
[2026-08-08 13:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":150523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:25:37] local.INFO: GPS data processed {"connection_id":150523,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:25:37] local.INFO: Acknowledgment sent {"connection_id":150523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:25:41] local.INFO: TCP Data received {"connection_id":151479,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e0570012ced12c00723a9e80020001330..."} 
[2026-08-08 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e0570012ced12c00723a9e80020001330..."} 
[2026-08-08 13:25:41] local.INFO: Processing buffer {"connection_id":151479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e0570012ced12c00723a9e80020001330..."} 
[2026-08-08 13:25:41] local.INFO: Packet analysis {"connection_id":151479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:25:41] local.INFO: Extracted packet for processing {"connection_id":151479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753734336,"raw_latitude":119777768,"longitude_deg":75.3734336,"latitude_deg":11.9777768,"altitude":32,"angle":19,"satellites":48,"speed":62,"hex_longitude":"2ced12c0","hex_latitude":"0723a9e8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260974848001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375411984557932544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365998031314796544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786175686000,"timestamp_ms":1786175686000,"timestamp_seconds":1786175686,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e0570"} 
[2026-08-08 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-08-08 13:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260974848001,"66":27919,"58":206,"83":43008,"24":62,"16":375411984557932544,"44":-1365998031314796544},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 13:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260974848001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:25:41] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 13:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375411984557932544,"km_value":375411984557932.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365998031314796544,"description":"Unknown IO ID 44"} 
[2026-08-08 13:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260974848001,"power":27919,"unknown_58":206,"unknown_83":43008,"ignition":62,"odometer":null,"unknown_44":-1365998031314796544}} 
[2026-08-08 13:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":151479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:25:41] local.INFO: GPS data processed {"connection_id":151479,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:25:41] local.INFO: Acknowledgment sent {"connection_id":151479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:26:05] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:05] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:05] local.INFO: IMEI packet received {"connection_id":150524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":150524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:26:07] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:07] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:07] local.INFO: IMEI packet received {"connection_id":150524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":150524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:26:08] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e5f48012d193ec00720b0300030012626..."} 
[2026-08-08 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e5f48012d193ec00720b0300030012626..."} 
[2026-08-08 13:26:08] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e5f48012d193ec00720b0300030012626..."} 
[2026-08-08 13:26:08] local.INFO: Packet analysis {"connection_id":150523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:08] local.INFO: Extracted packet for processing {"connection_id":150523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119582768,"longitude_deg":75.6629184,"latitude_deg":11.9582768,"altitude":48,"angle":294,"satellites":38,"speed":38,"hex_longitude":"2d193ec0","hex_latitude":"0720b030","is_valid_coordinates":true} 
[2026-08-08 13:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260980480001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11420266500456448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823511959552,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786175709000,"timestamp_ms":1786175709000,"timestamp_seconds":1786175709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e5f48"} 
[2026-08-08 13:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:26: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-08-08 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 13:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260980480001,"66":13928,"103":206,"83":41984,"24":38,"16":11420266500456448,"45":1823183823511959552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 13:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260980480001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:26:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 13:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11420266500456448,"km_value":11420266500456.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823511959552,"description":"Unknown IO ID 45"} 
[2026-08-08 13:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260980480001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1823183823511959552}} 
[2026-08-08 13:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":150523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:26:08] local.INFO: GPS data processed {"connection_id":150523,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:26:08] local.INFO: Acknowledgment sent {"connection_id":150523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:26:08] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:08] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:08] local.INFO: IMEI packet received {"connection_id":150524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":150524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:26:10] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:10] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:26:10] local.INFO: IMEI packet received {"connection_id":150524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":150524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:26:11] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e1ce0012ced1b800723cce0001f000c30..."} 
[2026-08-08 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e1ce0012ced1b800723cce0001f000c30..."} 
[2026-08-08 13:26:11] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e1ce0012ced1b800723cce0001f000c30..."} 
[2026-08-08 13:26:11] local.INFO: Packet analysis {"connection_id":150524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:11] local.INFO: Extracted packet for processing {"connection_id":150524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":753736576,"raw_latitude":119786720,"longitude_deg":75.3736576,"latitude_deg":11.978672,"altitude":31,"angle":12,"satellites":48,"speed":60,"hex_longitude":"2ced1b80","hex_latitude":"0723cce0","is_valid_coordinates":true} 
[2026-08-08 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260975616001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375412431234531328,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363816600244197376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786175692000,"timestamp_ms":1786175692000,"timestamp_seconds":1786175692,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e1ce0"} 
[2026-08-08 13:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260975616001,"66":27865,"58":206,"83":43008,"24":60,"16":375412431234531328,"44":-1363816600244197376},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 13:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260975616001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375412431234531328,"km_value":375412431234531.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363816600244197376,"description":"Unknown IO ID 44"} 
[2026-08-08 13:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260975616001,"power":27865,"unknown_58":206,"unknown_83":43008,"ignition":60,"odometer":null,"unknown_44":-1363816600244197376}} 
[2026-08-08 13:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":150524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:26:11] local.INFO: GPS data processed {"connection_id":150524,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:26:11] local.INFO: Acknowledgment sent {"connection_id":150524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:26:15] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e3068012ced24400723e818001f001930..."} 
[2026-08-08 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e3068012ced24400723e818001f001930..."} 
[2026-08-08 13:26:15] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e3068012ced24400723e818001f001930..."} 
[2026-08-08 13:26:15] local.INFO: Packet analysis {"connection_id":150524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:15] local.INFO: Extracted packet for processing {"connection_id":150524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:15] local.INFO: GPS Element Parsed {"raw_longitude":753738816,"raw_latitude":119793688,"longitude_deg":75.3738816,"latitude_deg":11.9793688,"altitude":31,"angle":25,"satellites":48,"speed":56,"hex_longitude":"2ced2440","hex_latitude":"0723e818","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260977152001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375412783421849600,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361353694195687424,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786175697000,"timestamp_ms":1786175697000,"timestamp_seconds":1786175697,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e3068"} 
[2026-08-08 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-08-08 13:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260977152001,"66":27865,"58":206,"83":43008,"24":56,"16":375412783421849600,"44":-1361353694195687424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 13:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260977152001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:26:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 13:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375412783421849600,"km_value":375412783421849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361353694195687424,"description":"Unknown IO ID 44"} 
[2026-08-08 13:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260977152001,"power":27865,"unknown_58":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-1361353694195687424}} 
[2026-08-08 13:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":150524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:26:15] local.INFO: GPS data processed {"connection_id":150524,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:26:15] local.INFO: Acknowledgment sent {"connection_id":150524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:26:30] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:30] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:30] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:26:30] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:30] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:30] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:26:35] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:35] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:35] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:26:36] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:36] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:26:36] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:26:37] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e8658012d191c400720c120002f012329..."} 
[2026-08-08 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e8658012d191c400720c120002f012329..."} 
[2026-08-08 13:26:37] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e8658012d191c400720c120002f012329..."} 
[2026-08-08 13:26:37] local.INFO: Packet analysis {"connection_id":150525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:37] local.INFO: Extracted packet for processing {"connection_id":150525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756620352,"raw_latitude":119587104,"longitude_deg":75.6620352,"latitude_deg":11.9587104,"altitude":47,"angle":291,"satellites":41,"speed":40,"hex_longitude":"2d191c40","hex_latitude":"0720c120","is_valid_coordinates":true} 
[2026-08-08 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260981504001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11420734651891712,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436349980672,"note":"Value kept but may cause issues"} 
[2026-08-08 13: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-08-08 13:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786175719000,"timestamp_ms":1786175719000,"timestamp_seconds":1786175719,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e8658"} 
[2026-08-08 13:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:26: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-08-08 13:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 13:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260981504001,"66":13102,"103":206,"83":41984,"24":40,"16":11420734651891712,"45":1819102436349980672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 13:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260981504001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11420734651891712,"km_value":11420734651891.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436349980672,"description":"Unknown IO ID 45"} 
[2026-08-08 13:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260981504001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1819102436349980672}} 
[2026-08-08 13:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":150525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:26:37] local.INFO: GPS data processed {"connection_id":150525,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:26:37] local.INFO: Acknowledgment sent {"connection_id":150525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:26:40] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05ea1b0012d1905400720cc780033013029..."} 
[2026-08-08 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05ea1b0012d1905400720cc780033013029..."} 
[2026-08-08 13:26:40] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05ea1b0012d1905400720cc780033013029..."} 
[2026-08-08 13:26:40] local.INFO: Packet analysis {"connection_id":150525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:40] local.INFO: Extracted packet for processing {"connection_id":150525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756614464,"raw_latitude":119590008,"longitude_deg":75.6614464,"latitude_deg":11.9590008,"altitude":51,"angle":304,"satellites":41,"speed":32,"hex_longitude":"2d190540","hex_latitude":"0720cc78","is_valid_coordinates":true} 
[2026-08-08 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260984064001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11421048184504320,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809391549654573056,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26: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-08-08 13:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786175726000,"timestamp_ms":1786175726000,"timestamp_seconds":1786175726,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05ea1b0"} 
[2026-08-08 13:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 13:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260984064001,"66":14004,"103":206,"83":41984,"24":32,"16":11421048184504320,"45":1809391549654573056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 13:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260984064001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:26:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 13:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11421048184504320,"km_value":11421048184504.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809391549654573056,"description":"Unknown IO ID 45"} 
[2026-08-08 13:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260984064001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1809391549654573056}} 
[2026-08-08 13:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":150525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:26:41] local.INFO: GPS data processed {"connection_id":150525,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:26:41] local.INFO: Acknowledgment sent {"connection_id":150525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:26:46] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e4bc0012ced3680072407c80022002130..."} 
[2026-08-08 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e4bc0012ced3680072407c80022002130..."} 
[2026-08-08 13:26:46] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e4bc0012ced3680072407c80022002130..."} 
[2026-08-08 13:26:46] local.INFO: Packet analysis {"connection_id":150524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:46] local.INFO: Extracted packet for processing {"connection_id":150524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:26:46] local.INFO: GPS Element Parsed {"raw_longitude":753743488,"raw_latitude":119801800,"longitude_deg":75.3743488,"latitude_deg":11.98018,"altitude":34,"angle":33,"satellites":48,"speed":51,"hex_longitude":"2ced3680","hex_latitude":"072407c8","is_valid_coordinates":true} 
[2026-08-08 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260978432001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375413238688382976,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358890788147685376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786175704000,"timestamp_ms":1786175704000,"timestamp_seconds":1786175704,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e4bc0"} 
[2026-08-08 13:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:26: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-08-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260978432001,"66":27919,"58":206,"83":43008,"24":51,"16":375413238688382976,"44":-1358890788147685376},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 13:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260978432001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:26:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 13:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375413238688382976,"km_value":375413238688383.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:26:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358890788147685376,"description":"Unknown IO ID 44"} 
[2026-08-08 13:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260978432001,"power":27919,"unknown_58":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-1358890788147685376}} 
[2026-08-08 13:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":150524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:26:46] local.INFO: GPS data processed {"connection_id":150524,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:26:46] local.INFO: Acknowledgment sent {"connection_id":150524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:27:05] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:27:05] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:27:05] local.INFO: IMEI packet received {"connection_id":152960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":152960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:27:12] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05f68e8012d18bf80072157a00047014628..."} 
[2026-08-08 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05f68e8012d18bf80072157a00047014628..."} 
[2026-08-08 13:27:12] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05f68e8012d18bf80072157a00047014628..."} 
[2026-08-08 13:27:12] local.INFO: Packet analysis {"connection_id":150525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05f"} 
[2026-08-08 13:27:12] local.INFO: Extracted packet for processing {"connection_id":150525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05f"} 
[2026-08-08 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119625632,"longitude_deg":75.6596608,"latitude_deg":11.9625632,"altitude":71,"angle":326,"satellites":40,"speed":31,"hex_longitude":"2d18bf80","hex_latitude":"072157a0","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260998400001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11423062524166144,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504298496,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786175777000,"timestamp_ms":1786175777000,"timestamp_seconds":1786175777,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05f68e8"} 
[2026-08-08 13:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 13:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260998400001,"66":14102,"106":206,"83":41984,"24":31,"16":11423062524166144,"45":1784129170504298496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 13:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260998400001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11423062524166144,"km_value":11423062524166.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504298496,"description":"Unknown IO ID 45"} 
[2026-08-08 13:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260998400001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784129170504298496}} 
[2026-08-08 13:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":150525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:27:12] local.INFO: GPS data processed {"connection_id":150525,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:27:12] local.INFO: Acknowledgment sent {"connection_id":150525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:27:29] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:27:29] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:27:29] local.INFO: IMEI packet received {"connection_id":152960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":152960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:27:30] local.INFO: TCP Data received {"connection_id":152961,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:30] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:30] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:27:32] local.INFO: TCP Data received {"connection_id":152960,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05e6b00012ced4d40072427780025002330..."} 
[2026-08-08 13:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05e6b00012ced4d40072427780025002330..."} 
[2026-08-08 13:27:32] local.INFO: Processing buffer {"connection_id":152960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05e6b00012ced4d40072427780025002330..."} 
[2026-08-08 13:27:32] local.INFO: Packet analysis {"connection_id":152960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:27:32] local.INFO: Extracted packet for processing {"connection_id":152960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05e"} 
[2026-08-08 13:27:32] local.INFO: GPS Element Parsed {"raw_longitude":753749312,"raw_latitude":119809912,"longitude_deg":75.3749312,"latitude_deg":11.9809912,"altitude":37,"angle":35,"satellites":48,"speed":47,"hex_longitude":"2ced4d40","hex_latitude":"07242778","is_valid_coordinates":true} 
[2026-08-08 13:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260980224001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375413719724720128,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353753869820639232,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786175712000,"timestamp_ms":1786175712000,"timestamp_seconds":1786175712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05e6b00"} 
[2026-08-08 13:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 13:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":152960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":152960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":152960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260980224001,"66":27865,"58":206,"83":43008,"24":47,"16":375413719724720128,"44":-1353753869820639232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 13:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260980224001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:27:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 13:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 13:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375413719724720128,"km_value":375413719724720.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353753869820639232,"description":"Unknown IO ID 44"} 
[2026-08-08 13:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260980224001,"power":27865,"unknown_58":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1353753869820639232}} 
[2026-08-08 13:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":152960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:27:32] local.INFO: GPS data processed {"connection_id":152960,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:27:32] local.INFO: Acknowledgment sent {"connection_id":152960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:27:34] local.INFO: TCP Data received {"connection_id":152961,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:34] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:34] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:27:36] local.INFO: TCP Data received {"connection_id":152961,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:36] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:27:36] local.INFO: IMEI packet received {"connection_id":152961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":152961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:27:37] local.INFO: TCP Data received {"connection_id":152961,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05f93e0012d18ab80072171e0004c013929..."} 
[2026-08-08 13:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05f93e0012d18ab80072171e0004c013929..."} 
[2026-08-08 13:27:37] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05f93e0012d18ab80072171e0004c013929..."} 
[2026-08-08 13:27:37] local.INFO: Packet analysis {"connection_id":152961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05f"} 
[2026-08-08 13:27:37] local.INFO: Extracted packet for processing {"connection_id":152961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05f"} 
[2026-08-08 13:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632352,"longitude_deg":75.6591488,"latitude_deg":11.9632352,"altitude":76,"angle":313,"satellites":41,"speed":25,"hex_longitude":"2d18ab80","hex_latitude":"072171e0","is_valid_coordinates":true} 
[2026-08-08 13:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457260998912001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11423470546059264,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783284745574522880,"note":"Value kept but may cause issues"} 
[2026-08-08 13:27: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-08-08 13:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786175788000,"timestamp_ms":1786175788000,"timestamp_seconds":1786175788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05f93e0"} 
[2026-08-08 13:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:27: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-08-08 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 13:27: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-08-08 13:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457260998912001,"66":14102,"106":206,"83":41984,"24":25,"16":11423470546059264,"45":1783284745574522880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 13:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457260998912001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 13:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11423470546059264,"km_value":11423470546059.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783284745574522880,"description":"Unknown IO ID 45"} 
[2026-08-08 13:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457260998912001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1783284745574522880}} 
[2026-08-08 13:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":152961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:27:37] local.INFO: GPS data processed {"connection_id":152961,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:27:37] local.INFO: Acknowledgment sent {"connection_id":152961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:28:04] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:04] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:04] local.INFO: IMEI packet received {"connection_id":150261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":150261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:28:05] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:05] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:05] local.INFO: IMEI packet received {"connection_id":150261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":150261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:28:07] local.INFO: TCP Data received {"connection_id":152961,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe05f9bb0012d18a7c007217478004c012728..."} 
[2026-08-08 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe05f9bb0012d18a7c007217478004c012728..."} 
[2026-08-08 13:28:07] local.INFO: Processing buffer {"connection_id":152961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe05f9bb0012d18a7c007217478004c012728..."} 
[2026-08-08 13:28:07] local.INFO: Packet analysis {"connection_id":152961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe05f"} 
[2026-08-08 13:28:07] local.INFO: Extracted packet for processing {"connection_id":152961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe05f"} 
[2026-08-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119633016,"longitude_deg":75.6590528,"latitude_deg":11.9633016,"altitude":76,"angle":295,"satellites":40,"speed":23,"hex_longitude":"2d18a7c0","hex_latitude":"07217478","is_valid_coordinates":true} 
[2026-08-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261001728001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11423526380634112,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246042030080,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786175790000,"timestamp_ms":1786175790000,"timestamp_seconds":1786175790,"priority":1,"record_length":96,"hex_timestamp":"0000019fe05f9bb0"} 
[2026-08-08 13:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 13:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261001728001,"66":14102,"106":206,"83":41984,"24":23,"16":11423526380634112,"45":1777655246042030080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 13:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261001728001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11423526380634112,"km_value":11423526380634.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246042030080,"description":"Unknown IO ID 45"} 
[2026-08-08 13:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261001728001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1777655246042030080}} 
[2026-08-08 13:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":152961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:28:08] local.INFO: GPS data processed {"connection_id":152961,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:28:08] local.INFO: Acknowledgment sent {"connection_id":152961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:28:08] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:08] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:08] local.INFO: IMEI packet received {"connection_id":150261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":150261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:28:10] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:10] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:28:10] local.INFO: IMEI packet received {"connection_id":150261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":150261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:28:10] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06010e0012ced0bc00725b3c80026013f30..."} 
[2026-08-08 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06010e0012ced0bc00725b3c80026013f30..."} 
[2026-08-08 13:28:10] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06010e0012ced0bc00725b3c80026013f30..."} 
[2026-08-08 13:28:10] local.INFO: Packet analysis {"connection_id":150261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe060"} 
[2026-08-08 13:28:10] local.INFO: Extracted packet for processing {"connection_id":150261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe060"} 
[2026-08-08 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":753732544,"raw_latitude":119911368,"longitude_deg":75.3732544,"latitude_deg":11.9911368,"altitude":38,"angle":319,"satellites":48,"speed":61,"hex_longitude":"2ced0bc0","hex_latitude":"0725b3c8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261008384001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375419161448284160,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359101894351872000,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786175820000,"timestamp_ms":1786175820000,"timestamp_seconds":1786175820,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06010e0"} 
[2026-08-08 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-08-08 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 13:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:28: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-08-08 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261008384001,"66":27843,"62":206,"83":44032,"24":61,"16":375419161448284160,"44":-1359101894351872000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261008384001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:28:10] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375419161448284160,"km_value":375419161448284.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359101894351872000,"description":"Unknown IO ID 44"} 
[2026-08-08 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261008384001,"power":27843,"unknown_62":206,"unknown_83":44032,"ignition":61,"odometer":null,"unknown_44":-1359101894351872000}} 
[2026-08-08 13:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":150261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:28:10] local.INFO: GPS data processed {"connection_id":150261,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:28:10] local.INFO: Acknowledgment sent {"connection_id":150261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:28:13] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0602850012cecf3c00725ced00025013e2d..."} 
[2026-08-08 13:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0602850012cecf3c00725ced00025013e2d..."} 
[2026-08-08 13:28:13] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0602850012cecf3c00725ced00025013e2d..."} 
[2026-08-08 13:28:13] local.INFO: Packet analysis {"connection_id":150261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe060"} 
[2026-08-08 13:28:13] local.INFO: Extracted packet for processing {"connection_id":150261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe060"} 
[2026-08-08 13:28:13] local.INFO: GPS Element Parsed {"raw_longitude":753726400,"raw_latitude":119918288,"longitude_deg":75.37264,"latitude_deg":11.9918288,"altitude":37,"angle":318,"satellites":45,"speed":60,"hex_longitude":"2cecf3c0","hex_latitude":"0725ced0","is_valid_coordinates":true} 
[2026-08-08 13:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261009920001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375419603829915648,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365786925046970368,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786175826000,"timestamp_ms":1786175826000,"timestamp_seconds":1786175826,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0602850"} 
[2026-08-08 13:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 13:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261009920001,"66":27745,"62":206,"83":44032,"24":60,"16":375419603829915648,"44":-1365786925046970368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261009920001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:28:13] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375419603829915648,"km_value":375419603829915.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365786925046970368,"description":"Unknown IO ID 44"} 
[2026-08-08 13:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261009920001,"power":27745,"unknown_62":206,"unknown_83":44032,"ignition":60,"odometer":null,"unknown_44":-1365786925046970368}} 
[2026-08-08 13:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":150261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:28:13] local.INFO: GPS data processed {"connection_id":150261,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:28:13] local.INFO: Acknowledgment sent {"connection_id":150261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:28:30] local.INFO: TCP Data received {"connection_id":152962,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:30] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:30] local.INFO: IMEI packet received {"connection_id":152962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":152962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:28:32] local.INFO: TCP Data received {"connection_id":152962,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:32] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:32] local.INFO: IMEI packet received {"connection_id":152962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":152962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:28:34] local.INFO: TCP Data received {"connection_id":152962,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:34] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:34] local.INFO: IMEI packet received {"connection_id":152962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":152962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:28:35] local.INFO: TCP Data received {"connection_id":152962,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:35] local.INFO: Processing buffer {"connection_id":152962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:28:35] local.INFO: IMEI packet received {"connection_id":152962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":152962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:28:44] local.INFO: TCP Data received {"connection_id":150261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0603fc0012cecdc800725e9280025013f2d..."} 
[2026-08-08 13:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0603fc0012cecdc800725e9280025013f2d..."} 
[2026-08-08 13:28:44] local.INFO: Processing buffer {"connection_id":150261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0603fc0012cecdc800725e9280025013f2d..."} 
[2026-08-08 13:28:44] local.INFO: Packet analysis {"connection_id":150261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe060"} 
[2026-08-08 13:28:44] local.INFO: Extracted packet for processing {"connection_id":150261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe060"} 
[2026-08-08 13:28:44] local.INFO: GPS Element Parsed {"raw_longitude":753720448,"raw_latitude":119925032,"longitude_deg":75.3720448,"latitude_deg":11.9925032,"altitude":37,"angle":319,"satellites":45,"speed":57,"hex_longitude":"2cecdc80","hex_latitude":"0725e928","is_valid_coordinates":true} 
[2026-08-08 13:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261011456001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375420037621612544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1372542324486254592,"note":"Value kept but may cause issues"} 
[2026-08-08 13:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786175832000,"timestamp_ms":1786175832000,"timestamp_seconds":1786175832,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0603fc0"} 
[2026-08-08 13:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 13:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:28: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-08-08 13:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261011456001,"66":27865,"62":206,"83":44032,"24":57,"16":375420037621612544,"44":-1372542324486254592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261011456001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:28:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375420037621612544,"km_value":375420037621612.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:28:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1372542324486254592,"description":"Unknown IO ID 44"} 
[2026-08-08 13:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261011456001,"power":27865,"unknown_62":206,"unknown_83":44032,"ignition":57,"odometer":null,"unknown_44":-1372542324486254592}} 
[2026-08-08 13:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":150261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:28:44] local.INFO: GPS data processed {"connection_id":150261,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:28:44] local.INFO: Acknowledgment sent {"connection_id":150261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:29:05] local.INFO: TCP Data received {"connection_id":151480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:05] local.INFO: Processing buffer {"connection_id":151480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:05] local.INFO: IMEI packet received {"connection_id":151480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":151480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:29:07] local.INFO: TCP Data received {"connection_id":151480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:07] local.INFO: Processing buffer {"connection_id":151480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:07] local.INFO: IMEI packet received {"connection_id":151480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":151480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:29:07] local.INFO: TCP Data received {"connection_id":151480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:07] local.INFO: Processing buffer {"connection_id":151480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:07] local.INFO: IMEI packet received {"connection_id":151480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":151480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:29:12] local.INFO: TCP Data received {"connection_id":151480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:12] local.INFO: Processing buffer {"connection_id":151480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:29:12] local.INFO: IMEI packet received {"connection_id":151480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":151480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:29:17] local.INFO: TCP Data received {"connection_id":151480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0615518012cec824007273898001f01542d..."} 
[2026-08-08 13:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0615518012cec824007273898001f01542d..."} 
[2026-08-08 13:29:17] local.INFO: Processing buffer {"connection_id":151480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0615518012cec824007273898001f01542d..."} 
[2026-08-08 13:29:17] local.INFO: Packet analysis {"connection_id":151480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:29:17] local.INFO: Extracted packet for processing {"connection_id":151480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":753697344,"raw_latitude":120010904,"longitude_deg":75.3697344,"latitude_deg":12.0010904,"altitude":31,"angle":340,"satellites":45,"speed":68,"hex_longitude":"2cec8240","hex_latitude":"07273898","is_valid_coordinates":true} 
[2026-08-08 13:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261029632001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375424568812109824,"note":"Value kept but may cause issues"} 
[2026-08-08 13:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400337978415144960,"note":"Value kept but may cause issues"} 
[2026-08-08 13:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786175903000,"timestamp_ms":1786175903000,"timestamp_seconds":1786175903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0615518"} 
[2026-08-08 13:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:29: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-08-08 13:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261029632001,"66":27930,"62":206,"83":44032,"24":68,"16":375424568812109824,"44":-1400337978415144960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261029632001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:29:17] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375424568812109824,"km_value":375424568812109.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400337978415144960,"description":"Unknown IO ID 44"} 
[2026-08-08 13:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261029632001,"power":27930,"unknown_62":206,"unknown_83":44032,"ignition":68,"odometer":null,"unknown_44":-1400337978415144960}} 
[2026-08-08 13:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":151480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:29:17] local.INFO: GPS data processed {"connection_id":151480,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:29:17] local.INFO: Acknowledgment sent {"connection_id":151480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:29:48] local.INFO: TCP Data received {"connection_id":151480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0616c88012cec77c007275ef0001a01602e..."} 
[2026-08-08 13:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0616c88012cec77c007275ef0001a01602e..."} 
[2026-08-08 13:29:48] local.INFO: Processing buffer {"connection_id":151480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0616c88012cec77c007275ef0001a01602e..."} 
[2026-08-08 13:29:48] local.INFO: Packet analysis {"connection_id":151480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:29:48] local.INFO: Extracted packet for processing {"connection_id":151480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:29:48] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120020720,"longitude_deg":75.3694656,"latitude_deg":12.002072,"altitude":26,"angle":352,"satellites":46,"speed":60,"hex_longitude":"2cec77c0","hex_latitude":"07275ef0","is_valid_coordinates":true} 
[2026-08-08 13:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261031168001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375425062733348864,"note":"Value kept but may cause issues"} 
[2026-08-08 13:29:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404489734319204352,"note":"Value kept but may cause issues"} 
[2026-08-08 13:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786175909000,"timestamp_ms":1786175909000,"timestamp_seconds":1786175909,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0616c88"} 
[2026-08-08 13:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:29: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-08-08 13:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 13:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:29: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-08-08 13:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261031168001,"66":27876,"62":206,"83":44032,"24":60,"16":375425062733348864,"44":-1404489734319204352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261031168001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375425062733348864,"km_value":375425062733348.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:29:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404489734319204352,"description":"Unknown IO ID 44"} 
[2026-08-08 13:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261031168001,"power":27876,"unknown_62":206,"unknown_83":44032,"ignition":60,"odometer":null,"unknown_44":-1404489734319204352}} 
[2026-08-08 13:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":151480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:29:48] local.INFO: GPS data processed {"connection_id":151480,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:29:48] local.INFO: Acknowledgment sent {"connection_id":151480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:30:06] local.INFO: TCP Data received {"connection_id":151481,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:06] local.INFO: Processing buffer {"connection_id":151481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:06] local.INFO: IMEI packet received {"connection_id":151481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":151481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:30:10] local.INFO: TCP Data received {"connection_id":151481,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:10] local.INFO: Processing buffer {"connection_id":151481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:10] local.INFO: IMEI packet received {"connection_id":151481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":151481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:30:14] local.INFO: TCP Data received {"connection_id":151481,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:14] local.INFO: Processing buffer {"connection_id":151481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:30:14] local.INFO: IMEI packet received {"connection_id":151481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":151481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:30:15] local.INFO: TCP Data received {"connection_id":151481,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0616c88012cec77c007275ef0001a01602e..."} 
[2026-08-08 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0616c88012cec77c007275ef0001a01602e..."} 
[2026-08-08 13:30:15] local.INFO: Processing buffer {"connection_id":151481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0616c88012cec77c007275ef0001a01602e..."} 
[2026-08-08 13:30:15] local.INFO: Packet analysis {"connection_id":151481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:30:15] local.INFO: Extracted packet for processing {"connection_id":151481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:30:15] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120020720,"longitude_deg":75.3694656,"latitude_deg":12.002072,"altitude":26,"angle":352,"satellites":46,"speed":60,"hex_longitude":"2cec77c0","hex_latitude":"07275ef0","is_valid_coordinates":true} 
[2026-08-08 13:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261032704001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375425062733348864,"note":"Value kept but may cause issues"} 
[2026-08-08 13:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221572153344,"note":"Value kept but may cause issues"} 
[2026-08-08 13:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786175909000,"timestamp_ms":1786175909000,"timestamp_seconds":1786175909,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0616c88"} 
[2026-08-08 13:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 13:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261032704001,"66":27876,"62":206,"83":44032,"24":60,"16":375425062733348864,"44":-1407445221572153344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261032704001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:30:15] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375425062733348864,"km_value":375425062733348.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221572153344,"description":"Unknown IO ID 44"} 
[2026-08-08 13:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261032704001,"power":27876,"unknown_62":206,"unknown_83":44032,"ignition":60,"odometer":null,"unknown_44":-1407445221572153344}} 
[2026-08-08 13:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":151481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:30:15] local.INFO: GPS data processed {"connection_id":151481,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:30:15] local.INFO: Acknowledgment sent {"connection_id":151481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:30:46] local.INFO: TCP Data received {"connection_id":151481,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06187e0012cec7740072784c00015000331..."} 
[2026-08-08 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06187e0012cec7740072784c00015000331..."} 
[2026-08-08 13:30:46] local.INFO: Processing buffer {"connection_id":151481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06187e0012cec7740072784c00015000331..."} 
[2026-08-08 13:30:46] local.INFO: Packet analysis {"connection_id":151481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:30:46] local.INFO: Extracted packet for processing {"connection_id":151481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe061"} 
[2026-08-08 13:30:46] local.INFO: GPS Element Parsed {"raw_longitude":753694528,"raw_latitude":120030400,"longitude_deg":75.3694528,"latitude_deg":12.00304,"altitude":21,"angle":3,"satellites":49,"speed":54,"hex_longitude":"2cec7740","hex_latitude":"072784c0","is_valid_coordinates":true} 
[2026-08-08 13:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261032704001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375425535179751424,"note":"Value kept but may cause issues"} 
[2026-08-08 13:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221572153344,"note":"Value kept but may cause issues"} 
[2026-08-08 13:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786175916000,"timestamp_ms":1786175916000,"timestamp_seconds":1786175916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06187e0"} 
[2026-08-08 13:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 13:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261032704001,"66":27843,"62":206,"83":44032,"24":54,"16":375425535179751424,"44":-1407445221572153344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-08-08 13:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261032704001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:30:46] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-08 13:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375425535179751424,"km_value":375425535179751.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221572153344,"description":"Unknown IO ID 44"} 
[2026-08-08 13:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261032704001,"power":27843,"unknown_62":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-1407445221572153344}} 
[2026-08-08 13:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":151481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:30:46] local.INFO: GPS data processed {"connection_id":151481,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:30:46] local.INFO: Acknowledgment sent {"connection_id":151481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:31:04] local.INFO: TCP Data received {"connection_id":150526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:04] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:04] local.INFO: IMEI packet received {"connection_id":150526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":150526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:31:05] local.INFO: TCP Data received {"connection_id":150526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:05] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:05] local.INFO: IMEI packet received {"connection_id":150526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":150526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:31:10] local.INFO: TCP Data received {"connection_id":150526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:10] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:31:10] local.INFO: IMEI packet received {"connection_id":150526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":150526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:31:10] local.INFO: TCP Data received {"connection_id":150526,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe062d3e8012cec56000728fac8001401672f..."} 
[2026-08-08 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe062d3e8012cec56000728fac8001401672f..."} 
[2026-08-08 13:31:10] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe062d3e8012cec56000728fac8001401672f..."} 
[2026-08-08 13:31:10] local.INFO: Packet analysis {"connection_id":150526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe062"} 
[2026-08-08 13:31:10] local.INFO: Extracted packet for processing {"connection_id":150526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe062"} 
[2026-08-08 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":753686016,"raw_latitude":120126152,"longitude_deg":75.3686016,"latitude_deg":12.0126152,"altitude":20,"angle":359,"satellites":47,"speed":35,"hex_longitude":"2cec5600","hex_latitude":"0728fac8","is_valid_coordinates":true} 
[2026-08-08 13:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261053952001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375430203809202176,"note":"Value kept but may cause issues"} 
[2026-08-08 13:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415959839592994816,"note":"Value kept but may cause issues"} 
[2026-08-08 13:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786176001000,"timestamp_ms":1786176001000,"timestamp_seconds":1786176001,"priority":1,"record_length":96,"hex_timestamp":"0000019fe062d3e8"} 
[2026-08-08 13:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":173,"data_length":795,"current_offset":136} 
[2026-08-08 13:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:31: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-08-08 13:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261053952001,"66":27865,"61":206,"83":44032,"24":35,"16":375430203809202176,"44":-1415959839592994816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 13:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261053952001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375430203809202176,"km_value":375430203809202.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415959839592994816,"description":"Unknown IO ID 44"} 
[2026-08-08 13:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261053952001,"power":27865,"unknown_61":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1415959839592994816}} 
[2026-08-08 13:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":150526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:31:10] local.INFO: GPS data processed {"connection_id":150526,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:31:10] local.INFO: Acknowledgment sent {"connection_id":150526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:31:41] local.INFO: TCP Data received {"connection_id":150526,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe062fee0012cec564007291e00001900042f..."} 
[2026-08-08 13:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe062fee0012cec564007291e00001900042f..."} 
[2026-08-08 13:31:41] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe062fee0012cec564007291e00001900042f..."} 
[2026-08-08 13:31:41] local.INFO: Packet analysis {"connection_id":150526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe062"} 
[2026-08-08 13:31:41] local.INFO: Extracted packet for processing {"connection_id":150526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe062"} 
[2026-08-08 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753686080,"raw_latitude":120135168,"longitude_deg":75.368608,"latitude_deg":12.0135168,"altitude":25,"angle":4,"satellites":47,"speed":29,"hex_longitude":"2cec5640","hex_latitude":"07291e00","is_valid_coordinates":true} 
[2026-08-08 13:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261056256001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375430641895866368,"note":"Value kept but may cause issues"} 
[2026-08-08 13:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416945002009147392,"note":"Value kept but may cause issues"} 
[2026-08-08 13:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786176012000,"timestamp_ms":1786176012000,"timestamp_seconds":1786176012,"priority":1,"record_length":96,"hex_timestamp":"0000019fe062fee0"} 
[2026-08-08 13:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261056256001,"66":27843,"61":206,"83":44032,"24":29,"16":375430641895866368,"44":-1416945002009147392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 13:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261056256001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375430641895866368,"km_value":375430641895866.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416945002009147392,"description":"Unknown IO ID 44"} 
[2026-08-08 13:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261056256001,"power":27843,"unknown_61":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1416945002009147392}} 
[2026-08-08 13:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":150526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:31:41] local.INFO: GPS data processed {"connection_id":150526,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:31:41] local.INFO: Acknowledgment sent {"connection_id":150526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:32:05] local.INFO: TCP Data received {"connection_id":150262,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:05] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:05] local.INFO: IMEI packet received {"connection_id":150262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":150262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:32:07] local.INFO: TCP Data received {"connection_id":150262,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:07] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:07] local.INFO: IMEI packet received {"connection_id":150262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":150262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:32:10] local.INFO: TCP Data received {"connection_id":150262,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:10] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:32:10] local.INFO: IMEI packet received {"connection_id":150262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":150262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:32:11] local.INFO: TCP Data received {"connection_id":150262,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0633590012cec5ac0072940d0001e000730..."} 
[2026-08-08 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0633590012cec5ac0072940d0001e000730..."} 
[2026-08-08 13:32:11] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0633590012cec5ac0072940d0001e000730..."} 
[2026-08-08 13:32:11] local.INFO: Packet analysis {"connection_id":150262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe063"} 
[2026-08-08 13:32:11] local.INFO: Extracted packet for processing {"connection_id":150262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe063"} 
[2026-08-08 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":753687232,"raw_latitude":120144080,"longitude_deg":75.3687232,"latitude_deg":12.014408,"altitude":30,"angle":7,"satellites":48,"speed":21,"hex_longitude":"2cec5ac0","hex_latitude":"072940d0","is_valid_coordinates":true} 
[2026-08-08 13:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261059072001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375431075687563264,"note":"Value kept but may cause issues"} 
[2026-08-08 13:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416874633262661632,"note":"Value kept but may cause issues"} 
[2026-08-08 13:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786176026000,"timestamp_ms":1786176026000,"timestamp_seconds":1786176026,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0633590"} 
[2026-08-08 13:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 13:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261059072001,"66":27800,"61":206,"83":44032,"24":21,"16":375431075687563264,"44":-1416874633262661632},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 13:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261059072001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375431075687563264,"km_value":375431075687563.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416874633262661632,"description":"Unknown IO ID 44"} 
[2026-08-08 13:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261059072001,"power":27800,"unknown_61":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1416874633262661632}} 
[2026-08-08 13:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":150262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:32:11] local.INFO: GPS data processed {"connection_id":150262,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:32:11] local.INFO: Acknowledgment sent {"connection_id":150262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:32:42] local.INFO: TCP Data received {"connection_id":150262,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06377f8012cec6200072964f00020000f2f..."} 
[2026-08-08 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06377f8012cec6200072964f00020000f2f..."} 
[2026-08-08 13:32:42] local.INFO: Processing buffer {"connection_id":150262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06377f8012cec6200072964f00020000f2f..."} 
[2026-08-08 13:32:42] local.INFO: Packet analysis {"connection_id":150262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe063"} 
[2026-08-08 13:32:42] local.INFO: Extracted packet for processing {"connection_id":150262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe063"} 
[2026-08-08 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753689088,"raw_latitude":120153328,"longitude_deg":75.3689088,"latitude_deg":12.0153328,"altitude":32,"angle":15,"satellites":47,"speed":25,"hex_longitude":"2cec6200","hex_latitude":"072964f0","is_valid_coordinates":true} 
[2026-08-08 13:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261062656001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375431535249063936,"note":"Value kept but may cause issues"} 
[2026-08-08 13:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415607995865182208,"note":"Value kept but may cause issues"} 
[2026-08-08 13:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176043000,"timestamp_ms":1786176043000,"timestamp_seconds":1786176043,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06377f8"} 
[2026-08-08 13:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261062656001,"66":27876,"61":206,"83":44032,"24":25,"16":375431535249063936,"44":-1415607995865182208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 13:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261062656001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:32:42] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 13:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375431535249063936,"km_value":375431535249063.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415607995865182208,"description":"Unknown IO ID 44"} 
[2026-08-08 13:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261062656001,"power":27876,"unknown_61":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1415607995865182208}} 
[2026-08-08 13:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":150262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:32:42] local.INFO: GPS data processed {"connection_id":150262,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:32:42] local.INFO: Acknowledgment sent {"connection_id":150262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:33:05] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:05] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:05] local.INFO: IMEI packet received {"connection_id":151482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":151482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:33:07] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:07] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:07] local.INFO: IMEI packet received {"connection_id":151482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":151482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:33:10] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:10] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:33:10] local.INFO: IMEI packet received {"connection_id":151482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":151482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:33:11] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe063aea8012cec6c40072988d00023000f2f..."} 
[2026-08-08 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe063aea8012cec6c40072988d00023000f2f..."} 
[2026-08-08 13:33:11] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe063aea8012cec6c40072988d00023000f2f..."} 
[2026-08-08 13:33:11] local.INFO: Packet analysis {"connection_id":151482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe063"} 
[2026-08-08 13:33:11] local.INFO: Extracted packet for processing {"connection_id":151482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe063"} 
[2026-08-08 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":753691712,"raw_latitude":120162512,"longitude_deg":75.3691712,"latitude_deg":12.0162512,"altitude":35,"angle":15,"satellites":47,"speed":29,"hex_longitude":"2cec6c40","hex_latitude":"072988d0","is_valid_coordinates":true} 
[2026-08-08 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261067008001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375431994810564608,"note":"Value kept but may cause issues"} 
[2026-08-08 13:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413567302281662464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786176057000,"timestamp_ms":1786176057000,"timestamp_seconds":1786176057,"priority":1,"record_length":96,"hex_timestamp":"0000019fe063aea8"} 
[2026-08-08 13:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 13:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261067008001,"66":27767,"61":206,"83":44032,"24":29,"16":375431994810564608,"44":-1413567302281662464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 13:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261067008001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:33:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 13:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375431994810564608,"km_value":375431994810564.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413567302281662464,"description":"Unknown IO ID 44"} 
[2026-08-08 13:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261067008001,"power":27767,"unknown_61":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1413567302281662464}} 
[2026-08-08 13:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":151482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:33:11] local.INFO: GPS data processed {"connection_id":151482,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:33:11] local.INFO: Acknowledgment sent {"connection_id":151482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:33:36] local.INFO: TCP Data received {"connection_id":152966,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:33:36] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:33:36] local.INFO: IMEI packet received {"connection_id":152966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":152966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:33:43] local.INFO: TCP Data received {"connection_id":151482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06548d0012cec2340072aa258002d015b2c..."} 
[2026-08-08 13:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06548d0012cec2340072aa258002d015b2c..."} 
[2026-08-08 13:33:43] local.INFO: Processing buffer {"connection_id":151482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06548d0012cec2340072aa258002d015b2c..."} 
[2026-08-08 13:33:43] local.INFO: Packet analysis {"connection_id":151482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:33:43] local.INFO: Extracted packet for processing {"connection_id":151482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:33:43] local.INFO: GPS Element Parsed {"raw_longitude":753673024,"raw_latitude":120234584,"longitude_deg":75.3673024,"latitude_deg":12.0234584,"altitude":45,"angle":347,"satellites":44,"speed":35,"hex_longitude":"2cec2340","hex_latitude":"072aa258","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261094144001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375435727137144832,"note":"Value kept but may cause issues"} 
[2026-08-08 13:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429189163470723072,"note":"Value kept but may cause issues"} 
[2026-08-08 13:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786176162000,"timestamp_ms":1786176162000,"timestamp_seconds":1786176162,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06548d0"} 
[2026-08-08 13:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 13:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261094144001,"66":27930,"223":206,"83":44032,"24":35,"16":375435727137144832,"44":-1429189163470723072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,44]} 
[2026-08-08 13:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261094144001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:33:43] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-08 13:33:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375435727137144832,"km_value":375435727137144.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429189163470723072,"description":"Unknown IO ID 44"} 
[2026-08-08 13:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261094144001,"power":27930,"unknown_223":206,"unknown_83":44032,"ignition":35,"odometer":null,"unknown_44":-1429189163470723072}} 
[2026-08-08 13:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":151482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:33:43] local.INFO: GPS data processed {"connection_id":151482,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:33:43] local.INFO: Acknowledgment sent {"connection_id":151482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:34:00] local.INFO: TCP Data received {"connection_id":152966,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0640c68012d19d6800723a5400034005322..."} 
[2026-08-08 13:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0640c68012d19d6800723a5400034005322..."} 
[2026-08-08 13:34:00] local.INFO: Processing buffer {"connection_id":152966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0640c68012d19d6800723a5400034005322..."} 
[2026-08-08 13:34:00] local.INFO: Packet analysis {"connection_id":152966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe064"} 
[2026-08-08 13:34:00] local.INFO: Extracted packet for processing {"connection_id":152966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe064"} 
[2026-08-08 13:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119776576,"longitude_deg":75.6668032,"latitude_deg":11.9776576,"altitude":52,"angle":83,"satellites":34,"speed":43,"hex_longitude":"2d19d680","hex_latitude":"0723a540","is_valid_coordinates":true} 
[2026-08-08 13:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261074176001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11434654640898048,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838740023406592,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786176081000,"timestamp_ms":1786176081000,"timestamp_seconds":1786176081,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0640c68"} 
[2026-08-08 13:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 13:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":152966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":152966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":152966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261074176001,"66":14396,"42":206,"83":42752,"24":43,"16":11434654640898048,"45":1850838740023406592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261074176001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11434654640898048,"km_value":11434654640898.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838740023406592,"description":"Unknown IO ID 45"} 
[2026-08-08 13:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261074176001,"power":14396,"unknown_42":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1850838740023406592}} 
[2026-08-08 13:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":152966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:34:00] local.INFO: GPS data processed {"connection_id":152966,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:34:00] local.INFO: Acknowledgment sent {"connection_id":152966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:34:05] local.INFO: TCP Data received {"connection_id":150263,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:05] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:05] local.INFO: IMEI packet received {"connection_id":150263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":150263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:34:06] local.INFO: TCP Data received {"connection_id":150263,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:06] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:06] local.INFO: IMEI packet received {"connection_id":150263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":150263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:34:10] local.INFO: TCP Data received {"connection_id":150263,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:10] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:34:10] local.INFO: IMEI packet received {"connection_id":150263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":150263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:34:10] local.INFO: TCP Data received {"connection_id":150263,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0656fe0012cec1cc0072ac6f8002e016228..."} 
[2026-08-08 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0656fe0012cec1cc0072ac6f8002e016228..."} 
[2026-08-08 13:34:10] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0656fe0012cec1cc0072ac6f8002e016228..."} 
[2026-08-08 13:34:10] local.INFO: Packet analysis {"connection_id":150263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:34:10] local.INFO: Extracted packet for processing {"connection_id":150263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":753671360,"raw_latitude":120243960,"longitude_deg":75.367136,"latitude_deg":12.024396,"altitude":46,"angle":354,"satellites":40,"speed":40,"hex_longitude":"2cec1cc0","hex_latitude":"072ac6f8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261097472001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375436190993612800,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1431229857049454592,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786176172000,"timestamp_ms":1786176172000,"timestamp_seconds":1786176172,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0656fe0"} 
[2026-08-08 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-08-08 13:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 13:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261097472001,"66":27691,"223":206,"83":44032,"24":40,"16":375436190993612800,"44":-1431229857049454592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,44]} 
[2026-08-08 13:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261097472001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:34:10] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-08 13:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375436190993612800,"km_value":375436190993612.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1431229857049454592,"description":"Unknown IO ID 44"} 
[2026-08-08 13:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261097472001,"power":27691,"unknown_223":206,"unknown_83":44032,"ignition":40,"odometer":null,"unknown_44":-1431229857049454592}} 
[2026-08-08 13:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":150263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:34:10] local.INFO: GPS data processed {"connection_id":150263,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:34:10] local.INFO: Acknowledgment sent {"connection_id":150263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:34:36] local.INFO: TCP Data received {"connection_id":150264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:36] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:36] local.INFO: IMEI packet received {"connection_id":150264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":150264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:34:37] local.INFO: TCP Data received {"connection_id":150264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:37] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:37] local.INFO: IMEI packet received {"connection_id":150264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":150264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:34:39] local.INFO: TCP Data received {"connection_id":150264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:39] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:39] local.INFO: IMEI packet received {"connection_id":150264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":150264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:34:42] local.INFO: TCP Data received {"connection_id":150263,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0664e88012cebe080072b5788002c00532a..."} 
[2026-08-08 13:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0664e88012cebe080072b5788002c00532a..."} 
[2026-08-08 13:34:42] local.INFO: Processing buffer {"connection_id":150263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0664e88012cebe080072b5788002c00532a..."} 
[2026-08-08 13:34:42] local.INFO: Packet analysis {"connection_id":150263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:34:42] local.INFO: Extracted packet for processing {"connection_id":150263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:34:42] local.INFO: GPS Element Parsed {"raw_longitude":753655936,"raw_latitude":120280968,"longitude_deg":75.3655936,"latitude_deg":12.0280968,"altitude":44,"angle":83,"satellites":42,"speed":12,"hex_longitude":"2cebe080","hex_latitude":"072b5788","is_valid_coordinates":true} 
[2026-08-08 13:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261114368001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375438256872882176,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450370155453923328,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:42] 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-08-08 13:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176229000,"timestamp_ms":1786176229000,"timestamp_seconds":1786176229,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0664e88"} 
[2026-08-08 13:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261114368001,"66":27865,"225":206,"83":44032,"24":12,"16":375438256872882176,"44":-1450370155453923328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-08 13:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261114368001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:34:42] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 13:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375438256872882176,"km_value":375438256872882.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450370155453923328,"description":"Unknown IO ID 44"} 
[2026-08-08 13:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261114368001,"power":27865,"unknown_225":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1450370155453923328}} 
[2026-08-08 13:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":150263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:34:42] local.INFO: GPS data processed {"connection_id":150263,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:34:42] local.INFO: Acknowledgment sent {"connection_id":150263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:34:45] local.INFO: TCP Data received {"connection_id":150264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:45] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:34:45] local.INFO: IMEI packet received {"connection_id":150264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":150264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:34:46] local.INFO: TCP Data received {"connection_id":150264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0659308012d1ae14007244a38002a001f29..."} 
[2026-08-08 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0659308012d1ae14007244a38002a001f29..."} 
[2026-08-08 13:34:46] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0659308012d1ae14007244a38002a001f29..."} 
[2026-08-08 13:34:46] local.INFO: Packet analysis {"connection_id":150264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:34:46] local.INFO: Extracted packet for processing {"connection_id":150264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756736320,"raw_latitude":119818808,"longitude_deg":75.673632,"latitude_deg":11.9818808,"altitude":42,"angle":31,"satellites":41,"speed":32,"hex_longitude":"2d1ae140","hex_latitude":"07244a38","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261101568001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11438657550417920,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281233047250944,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:46] 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-08-08 13:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786176181000,"timestamp_ms":1786176181000,"timestamp_seconds":1786176181,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0659308"} 
[2026-08-08 13:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 13:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261101568001,"66":14363,"176":206,"83":42752,"24":32,"16":11438657550417920,"45":1935281233047250944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-08 13:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261101568001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:34:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-08 13:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11438657550417920,"km_value":11438657550417.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281233047250944,"description":"Unknown IO ID 45"} 
[2026-08-08 13:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261101568001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1935281233047250944}} 
[2026-08-08 13:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":150264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:34:46] local.INFO: GPS data processed {"connection_id":150264,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:34:46] local.INFO: Acknowledgment sent {"connection_id":150264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:34:47] local.INFO: TCP Data received {"connection_id":150264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe065c9b8012d1af400072469a00028002926..."} 
[2026-08-08 13:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe065c9b8012d1af400072469a00028002926..."} 
[2026-08-08 13:34:47] local.INFO: Processing buffer {"connection_id":150264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe065c9b8012d1af400072469a00028002926..."} 
[2026-08-08 13:34:47] local.INFO: Packet analysis {"connection_id":150264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:34:47] local.INFO: Extracted packet for processing {"connection_id":150264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe065"} 
[2026-08-08 13:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756741120,"raw_latitude":119826848,"longitude_deg":75.674112,"latitude_deg":11.9826848,"altitude":40,"angle":41,"satellites":38,"speed":27,"hex_longitude":"2d1af400","hex_latitude":"072469a0","is_valid_coordinates":true} 
[2026-08-08 13:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261102336001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11439108521984000,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936899714163816448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:34:47] 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-08-08 13:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786176195000,"timestamp_ms":1786176195000,"timestamp_seconds":1786176195,"priority":1,"record_length":96,"hex_timestamp":"0000019fe065c9b8"} 
[2026-08-08 13:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 13:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261102336001,"66":14374,"176":206,"83":42752,"24":27,"16":11439108521984000,"45":1936899714163816448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-08 13:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261102336001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:34:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-08 13:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11439108521984000,"km_value":11439108521984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936899714163816448,"description":"Unknown IO ID 45"} 
[2026-08-08 13:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261102336001,"power":14374,"unknown_176":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1936899714163816448}} 
[2026-08-08 13:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":150264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:34:47] local.INFO: GPS data processed {"connection_id":150264,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:34:47] local.INFO: Acknowledgment sent {"connection_id":150264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:35:05] local.INFO: TCP Data received {"connection_id":150528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:05] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:05] local.INFO: IMEI packet received {"connection_id":150528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":150528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:35:08] local.INFO: TCP Data received {"connection_id":150528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:08] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:08] local.INFO: IMEI packet received {"connection_id":150528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":150528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:35:10] local.INFO: TCP Data received {"connection_id":150528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:10] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:35:10] local.INFO: IMEI packet received {"connection_id":150528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":150528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:35:10] local.INFO: TCP Data received {"connection_id":150528,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06665f8012cebeb00072b5928002c00432c..."} 
[2026-08-08 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06665f8012cebeb00072b5928002c00432c..."} 
[2026-08-08 13:35:10] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06665f8012cebeb00072b5928002c00432c..."} 
[2026-08-08 13:35:10] local.INFO: Packet analysis {"connection_id":150528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:10] local.INFO: Extracted packet for processing {"connection_id":150528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":753658624,"raw_latitude":120281384,"longitude_deg":75.3658624,"latitude_deg":12.0281384,"altitude":44,"angle":67,"satellites":44,"speed":22,"hex_longitude":"2cebeb00","hex_latitude":"072b5928","is_valid_coordinates":true} 
[2026-08-08 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261114624001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375438385721901056,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450018311733016576,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:10] 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-08-08 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786176235000,"timestamp_ms":1786176235000,"timestamp_seconds":1786176235,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06665f8"} 
[2026-08-08 13:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:35: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-08-08 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261114624001,"66":27908,"225":206,"83":44032,"24":22,"16":375438385721901056,"44":-1450018311733016576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-08 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261114624001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375438385721901056,"km_value":375438385721901.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450018311733016576,"description":"Unknown IO ID 44"} 
[2026-08-08 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261114624001,"power":27908,"unknown_225":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1450018311733016576}} 
[2026-08-08 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":150528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:35:10] local.INFO: GPS data processed {"connection_id":150528,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:35:10] local.INFO: Acknowledgment sent {"connection_id":150528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:35:36] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:35:36] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:35:36] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:35:41] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:35:41] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:35:41] local.INFO: IMEI packet received {"connection_id":152967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":152967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:35:41] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0660838012d1b0d40072484b00025002d25..."} 
[2026-08-08 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0660838012d1b0d40072484b00025002d25..."} 
[2026-08-08 13:35:42] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0660838012d1b0d40072484b00025002d25..."} 
[2026-08-08 13:35:42] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:42] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756747584,"raw_latitude":119833776,"longitude_deg":75.6747584,"latitude_deg":11.9833776,"altitude":37,"angle":45,"satellites":37,"speed":29,"hex_longitude":"2d1b0d40","hex_latitude":"072484b0","is_valid_coordinates":true} 
[2026-08-08 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261105920001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11439568083484672,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942177369979199488,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:42] 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-08-08 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176211000,"timestamp_ms":1786176211000,"timestamp_seconds":1786176211,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0660838"} 
[2026-08-08 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 13:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261105920001,"66":14396,"136":206,"83":42752,"24":29,"16":11439568083484672,"45":1942177369979199488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261105920001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11439568083484672,"km_value":11439568083484.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942177369979199488,"description":"Unknown IO ID 45"} 
[2026-08-08 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261105920001,"power":14396,"unknown_136":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1942177369979199488}} 
[2026-08-08 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:35:42] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:35:42] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:35:42] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0662f48012d1b25c0072498780026003924..."} 
[2026-08-08 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0662f48012d1b25c0072498780026003924..."} 
[2026-08-08 13:35:42] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0662f48012d1b25c0072498780026003924..."} 
[2026-08-08 13:35:42] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:42] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756753856,"raw_latitude":119838840,"longitude_deg":75.6753856,"latitude_deg":11.983884,"altitude":38,"angle":57,"satellites":36,"speed":30,"hex_longitude":"2d1b25c0","hex_latitude":"07249878","is_valid_coordinates":true} 
[2026-08-08 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261110016001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11439950335574016,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949284613142917120,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:42] 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-08-08 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176221000,"timestamp_ms":1786176221000,"timestamp_seconds":1786176221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0662f48"} 
[2026-08-08 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 13:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261110016001,"66":14428,"136":206,"83":42752,"24":30,"16":11439950335574016,"45":1949284613142917120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-08 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261110016001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11439950335574016,"km_value":11439950335574.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949284613142917120,"description":"Unknown IO ID 45"} 
[2026-08-08 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261110016001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1949284613142917120}} 
[2026-08-08 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:35:42] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:35:42] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:35:43] local.INFO: TCP Data received {"connection_id":150528,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0667980012cebf640072b5f60002b00382c..."} 
[2026-08-08 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0667980012cebf640072b5f60002b00382c..."} 
[2026-08-08 13:35:43] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0667980012cebf640072b5f60002b00382c..."} 
[2026-08-08 13:35:43] local.INFO: Packet analysis {"connection_id":150528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:43] local.INFO: Extracted packet for processing {"connection_id":150528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":753661504,"raw_latitude":120282976,"longitude_deg":75.3661504,"latitude_deg":12.0282976,"altitude":43,"angle":56,"satellites":44,"speed":27,"hex_longitude":"2cebf640","hex_latitude":"072b5f60","is_valid_coordinates":true} 
[2026-08-08 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261116160001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375438544635691008,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1447062824477448192,"note":"Value kept but may cause issues"} 
[2026-08-08 13:35:43] 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-08-08 13:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786176240000,"timestamp_ms":1786176240000,"timestamp_seconds":1786176240,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0667980"} 
[2026-08-08 13:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261116160001,"66":27843,"225":206,"83":44032,"24":27,"16":375438544635691008,"44":-1447062824477448192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-08 13:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261116160001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375438544635691008,"km_value":375438544635691.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1447062824477448192,"description":"Unknown IO ID 44"} 
[2026-08-08 13:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261116160001,"power":27843,"unknown_225":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1447062824477448192}} 
[2026-08-08 13:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":150528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:35:43] local.INFO: GPS data processed {"connection_id":150528,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:35:43] local.INFO: Acknowledgment sent {"connection_id":150528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:36:08] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:08] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:08] local.INFO: IMEI packet received {"connection_id":150529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":150529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:36:10] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:10] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:10] local.INFO: IMEI packet received {"connection_id":150529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":150529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:36:10] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:10] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:10] local.INFO: IMEI packet received {"connection_id":150529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":150529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:36:13] local.INFO: TCP Data received {"connection_id":152967,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06671b0012d1b45800724adb00029003429..."} 
[2026-08-08 13:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06671b0012d1b45800724adb00029003429..."} 
[2026-08-08 13:36:13] local.INFO: Processing buffer {"connection_id":152967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06671b0012d1b45800724adb00029003429..."} 
[2026-08-08 13:36:13] local.INFO: Packet analysis {"connection_id":152967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:36:13] local.INFO: Extracted packet for processing {"connection_id":152967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe066"} 
[2026-08-08 13:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756761984,"raw_latitude":119844272,"longitude_deg":75.6761984,"latitude_deg":11.9844272,"altitude":41,"angle":52,"satellites":41,"speed":33,"hex_longitude":"2d1b4580","hex_latitude":"0724adb0","is_valid_coordinates":true} 
[2026-08-08 13:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261112576001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11440422781976576,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956180750073624576,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:13] 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-08-08 13:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786176238000,"timestamp_ms":1786176238000,"timestamp_seconds":1786176238,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06671b0"} 
[2026-08-08 13:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 13:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261112576001,"66":14374,"136":206,"83":42752,"24":33,"16":11440422781976576,"45":1956180750073624576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-08 13:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261112576001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:36:13] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 13:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11440422781976576,"km_value":11440422781976.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956180750073624576,"description":"Unknown IO ID 45"} 
[2026-08-08 13:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261112576001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1956180750073624576}} 
[2026-08-08 13:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":152967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:36:13] local.INFO: GPS data processed {"connection_id":152967,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:36:13] local.INFO: Acknowledgment sent {"connection_id":152967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:36:14] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:14] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:36:14] local.INFO: IMEI packet received {"connection_id":150529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":150529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:36:15] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe067a648012cec9180072c03880032003b2e..."} 
[2026-08-08 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe067a648012cec9180072c03880032003b2e..."} 
[2026-08-08 13:36:15] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe067a648012cec9180072c03880032003b2e..."} 
[2026-08-08 13:36:15] local.INFO: Packet analysis {"connection_id":150529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:15] local.INFO: Extracted packet for processing {"connection_id":150529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:15] local.INFO: GPS Element Parsed {"raw_longitude":753701248,"raw_latitude":120325000,"longitude_deg":75.3701248,"latitude_deg":12.0325,"altitude":50,"angle":59,"satellites":46,"speed":23,"hex_longitude":"2cec9180","hex_latitude":"072c0388","is_valid_coordinates":true} 
[2026-08-08 13:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261136640001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375441379314106368,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401393509495173120,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:15] 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-08-08 13:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786176317000,"timestamp_ms":1786176317000,"timestamp_seconds":1786176317,"priority":1,"record_length":96,"hex_timestamp":"0000019fe067a648"} 
[2026-08-08 13:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261136640001,"66":27908,"103":206,"83":44032,"24":23,"16":375441379314106368,"44":-1401393509495173120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261136640001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375441379314106368,"km_value":375441379314106.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401393509495173120,"description":"Unknown IO ID 44"} 
[2026-08-08 13:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261136640001,"power":27908,"unknown_103":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1401393509495173120}} 
[2026-08-08 13:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":150529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:36:15] local.INFO: GPS data processed {"connection_id":150529,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:36:15] local.INFO: Acknowledgment sent {"connection_id":150529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:36:15] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe067d910012cecaec0072c16f00035002f2c..."} 
[2026-08-08 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe067d910012cecaec0072c16f00035002f2c..."} 
[2026-08-08 13:36:15] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe067d910012cecaec0072c16f00035002f2c..."} 
[2026-08-08 13:36:15] local.INFO: Packet analysis {"connection_id":150529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:15] local.INFO: Extracted packet for processing {"connection_id":150529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:15] local.INFO: GPS Element Parsed {"raw_longitude":753708736,"raw_latitude":120329968,"longitude_deg":75.3708736,"latitude_deg":12.0329968,"altitude":53,"angle":47,"satellites":44,"speed":30,"hex_longitude":"2cecaec0","hex_latitude":"072c16f0","is_valid_coordinates":true} 
[2026-08-08 13:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261137152001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375441808810835968,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400197240843958272,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786176330000,"timestamp_ms":1786176330000,"timestamp_seconds":1786176330,"priority":1,"record_length":96,"hex_timestamp":"0000019fe067d910"} 
[2026-08-08 13:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261137152001,"66":27800,"35":206,"83":44032,"24":30,"16":375441808810835968,"44":-1400197240843958272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-08-08 13:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261137152001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375441808810835968,"km_value":375441808810835.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400197240843958272,"description":"Unknown IO ID 44"} 
[2026-08-08 13:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261137152001,"power":27800,"unknown_35":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1400197240843958272}} 
[2026-08-08 13:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":150529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:36:15] local.INFO: GPS data processed {"connection_id":150529,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:36:15] local.INFO: Acknowledgment sent {"connection_id":150529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:36:31] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:36:31] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:36:31] local.INFO: IMEI packet received {"connection_id":151483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":151483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:36:33] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:36:33] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:36:33] local.INFO: IMEI packet received {"connection_id":151483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":151483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:36:34] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe067cd58012d1b5d4007256b280025013e29..."} 
[2026-08-08 13:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe067cd58012d1b5d4007256b280025013e29..."} 
[2026-08-08 13:36:34] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe067cd58012d1b5d4007256b280025013e29..."} 
[2026-08-08 13:36:34] local.INFO: Packet analysis {"connection_id":151483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:34] local.INFO: Extracted packet for processing {"connection_id":151483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756768064,"raw_latitude":119892776,"longitude_deg":75.6768064,"latitude_deg":11.9892776,"altitude":37,"angle":318,"satellites":41,"speed":17,"hex_longitude":"2d1b5d40","hex_latitude":"07256b28","is_valid_coordinates":true} 
[2026-08-08 13:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261138432001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11442900978106368,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972998879945484288,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:34] 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-08-08 13:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786176327000,"timestamp_ms":1786176327000,"timestamp_seconds":1786176327,"priority":1,"record_length":96,"hex_timestamp":"0000019fe067cd58"} 
[2026-08-08 13:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 13:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":151483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":151483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":151483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261138432001,"66":13972,"217":206,"83":42752,"24":17,"16":11442900978106368,"45":1972998879945484288},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261138432001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:36:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11442900978106368,"km_value":11442900978106.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972998879945484288,"description":"Unknown IO ID 45"} 
[2026-08-08 13:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261138432001,"power":13972,"unknown_217":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1972998879945484288}} 
[2026-08-08 13:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":151483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:36:34] local.INFO: GPS data processed {"connection_id":151483,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:36:34] local.INFO: Acknowledgment sent {"connection_id":151483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:36:46] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe067e0e0012cecb280072c1bb0003500212c..."} 
[2026-08-08 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe067e0e0012cecb280072c1bb0003500212c..."} 
[2026-08-08 13:36:46] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe067e0e0012cecb280072c1bb0003500212c..."} 
[2026-08-08 13:36:46] local.INFO: Packet analysis {"connection_id":150529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:46] local.INFO: Extracted packet for processing {"connection_id":150529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe067"} 
[2026-08-08 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":753709696,"raw_latitude":120331184,"longitude_deg":75.3709696,"latitude_deg":12.0331184,"altitude":53,"angle":33,"satellites":44,"speed":32,"hex_longitude":"2cecb280","hex_latitude":"072c1bb0","is_valid_coordinates":true} 
[2026-08-08 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261140480001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375441881825280000,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1391964097773899776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786176332000,"timestamp_ms":1786176332000,"timestamp_seconds":1786176332,"priority":1,"record_length":96,"hex_timestamp":"0000019fe067e0e0"} 
[2026-08-08 13:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 13:36: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-08-08 13:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261140480001,"66":27800,"35":206,"83":44032,"24":32,"16":375441881825280000,"44":-1391964097773899776},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-08-08 13:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261140480001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:36:46] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-08 13:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375441881825280000,"km_value":375441881825280,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:36:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1391964097773899776,"description":"Unknown IO ID 44"} 
[2026-08-08 13:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261140480001,"power":27800,"unknown_35":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1391964097773899776}} 
[2026-08-08 13:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":150529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:36:46] local.INFO: GPS data processed {"connection_id":150529,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:36:46] local.INFO: Acknowledgment sent {"connection_id":150529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:37:02] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:02] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:02] local.INFO: IMEI packet received {"connection_id":151484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":151484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:37:03] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:03] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:03] local.INFO: IMEI packet received {"connection_id":151484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":151484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:37:04] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:04] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:04] local.INFO: IMEI packet received {"connection_id":151484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:37:05] local.INFO: TCP Data received {"connection_id":151484,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:05] local.INFO: Processing buffer {"connection_id":151484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:37:05] local.INFO: IMEI packet received {"connection_id":151484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":151484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:37:07] local.INFO: TCP Data received {"connection_id":151483,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0680020012d1b4680072585d0002601482c..."} 
[2026-08-08 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0680020012d1b4680072585d0002601482c..."} 
[2026-08-08 13:37:07] local.INFO: Processing buffer {"connection_id":151483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0680020012d1b4680072585d0002601482c..."} 
[2026-08-08 13:37:07] local.INFO: Packet analysis {"connection_id":151483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:37:07] local.INFO: Extracted packet for processing {"connection_id":151483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756762240,"raw_latitude":119899600,"longitude_deg":75.676224,"latitude_deg":11.98996,"altitude":38,"angle":328,"satellites":44,"speed":32,"hex_longitude":"2d1b4680","hex_latitude":"072585d0","is_valid_coordinates":true} 
[2026-08-08 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261139712001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11443330474835968,"note":"Value kept but may cause issues"} 
[2026-08-08 13:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971802611294873600,"note":"Value kept but may cause issues"} 
[2026-08-08 13:37:07] 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-08-08 13:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786176340000,"timestamp_ms":1786176340000,"timestamp_seconds":1786176340,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0680020"} 
[2026-08-08 13:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 13:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261139712001,"66":13993,"217":206,"83":42752,"24":32,"16":11443330474835968,"45":1971802611294873600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261139712001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11443330474835968,"km_value":11443330474835.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971802611294873600,"description":"Unknown IO ID 45"} 
[2026-08-08 13:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261139712001,"power":13993,"unknown_217":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1971802611294873600}} 
[2026-08-08 13:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":151483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:37:07] local.INFO: GPS data processed {"connection_id":151483,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:37:07] local.INFO: Acknowledgment sent {"connection_id":151483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:37:30] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:30] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:30] local.INFO: IMEI packet received {"connection_id":151485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":151485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:37:30] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:30] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:30] local.INFO: IMEI packet received {"connection_id":151485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":151485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:37:32] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:32] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:32] local.INFO: IMEI packet received {"connection_id":151485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":151485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:37:36] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:36] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:37:36] local.INFO: IMEI packet received {"connection_id":151485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":151485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:37:48] local.INFO: TCP Data received {"connection_id":151485,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe068ee68012d1b48c00725d378002a00b929..."} 
[2026-08-08 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe068ee68012d1b48c00725d378002a00b929..."} 
[2026-08-08 13:37:48] local.INFO: Processing buffer {"connection_id":151485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe068ee68012d1b48c00725d378002a00b929..."} 
[2026-08-08 13:37:48] local.INFO: Packet analysis {"connection_id":151485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:37:48] local.INFO: Extracted packet for processing {"connection_id":151485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756762816,"raw_latitude":119919480,"longitude_deg":75.6762816,"latitude_deg":11.991948,"altitude":42,"angle":185,"satellites":41,"speed":10,"hex_longitude":"2d1b48c0","hex_latitude":"0725d378","is_valid_coordinates":true} 
[2026-08-08 13:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261158400001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444490116005888,"note":"Value kept but may cause issues"} 
[2026-08-08 13:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374279206912,"note":"Value kept but may cause issues"} 
[2026-08-08 13:37:48] 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-08-08 13:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786176401000,"timestamp_ms":1786176401000,"timestamp_seconds":1786176401,"priority":1,"record_length":96,"hex_timestamp":"0000019fe068ee68"} 
[2026-08-08 13:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 13:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261158400001,"66":13091,"217":206,"83":42752,"24":10,"16":11444490116005888,"45":1966032374279206912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261158400001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444490116005888,"km_value":11444490116005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374279206912,"description":"Unknown IO ID 45"} 
[2026-08-08 13:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261158400001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1966032374279206912}} 
[2026-08-08 13:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":151485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:37:49] local.INFO: GPS data processed {"connection_id":151485,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:37:49] local.INFO: Acknowledgment sent {"connection_id":151485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:38:35] local.INFO: TCP Data received {"connection_id":150265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:35] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:35] local.INFO: IMEI packet received {"connection_id":150265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":150265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:38:38] local.INFO: TCP Data received {"connection_id":150265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:38] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:38] local.INFO: IMEI packet received {"connection_id":150265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":150265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:38:41] local.INFO: TCP Data received {"connection_id":150265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:41] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:41] local.INFO: IMEI packet received {"connection_id":150265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":150265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:38:46] local.INFO: TCP Data received {"connection_id":150265,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:46] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:38:46] local.INFO: IMEI packet received {"connection_id":150265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":150265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:38:47] local.INFO: TCP Data received {"connection_id":150265,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe068f250012d1b48800725d268002900c828..."} 
[2026-08-08 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe068f250012d1b48800725d268002900c828..."} 
[2026-08-08 13:38:47] local.INFO: Processing buffer {"connection_id":150265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe068f250012d1b48800725d268002900c828..."} 
[2026-08-08 13:38:47] local.INFO: Packet analysis {"connection_id":150265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:38:47] local.INFO: Extracted packet for processing {"connection_id":150265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119919208,"longitude_deg":75.6762752,"latitude_deg":11.9919208,"altitude":41,"angle":200,"satellites":40,"speed":11,"hex_longitude":"2d1b4880","hex_latitude":"0725d268","is_valid_coordinates":true} 
[2026-08-08 13:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261158656001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444507295875072,"note":"Value kept but may cause issues"} 
[2026-08-08 13:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966032374279141376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:38:47] 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-08-08 13:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786176402000,"timestamp_ms":1786176402000,"timestamp_seconds":1786176402,"priority":1,"record_length":96,"hex_timestamp":"0000019fe068f250"} 
[2026-08-08 13:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 13:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261158656001,"66":13048,"217":206,"83":42752,"24":11,"16":11444507295875072,"45":1966032374279141376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261158656001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:38:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444507295875072,"km_value":11444507295875.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966032374279141376,"description":"Unknown IO ID 45"} 
[2026-08-08 13:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261158656001,"power":13048,"unknown_217":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1966032374279141376}} 
[2026-08-08 13:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":150265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:38:47] local.INFO: GPS data processed {"connection_id":150265,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:38:47] local.INFO: Acknowledgment sent {"connection_id":150265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:39:31] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:39:31] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:39:31] local.INFO: IMEI packet received {"connection_id":152969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":152969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:39:36] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:39:36] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:39:36] local.INFO: IMEI packet received {"connection_id":152969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":152969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:39:37] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe068fa20012d1b47800725d030002900d529..."} 
[2026-08-08 13:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe068fa20012d1b47800725d030002900d529..."} 
[2026-08-08 13:39:37] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe068fa20012d1b47800725d030002900d529..."} 
[2026-08-08 13:39:37] local.INFO: Packet analysis {"connection_id":152969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:39:37] local.INFO: Extracted packet for processing {"connection_id":152969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe068"} 
[2026-08-08 13:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119918640,"longitude_deg":75.6762496,"latitude_deg":11.991864,"altitude":41,"angle":213,"satellites":41,"speed":13,"hex_longitude":"2d1b4780","hex_latitude":"0725d030","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261158912001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444537360646144,"note":"Value kept but may cause issues"} 
[2026-08-08 13:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005534894080,"note":"Value kept but may cause issues"} 
[2026-08-08 13:39: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-08-08 13:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786176404000,"timestamp_ms":1786176404000,"timestamp_seconds":1786176404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe068fa20"} 
[2026-08-08 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-08-08 13:39: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-08-08 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-08 13:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261158912001,"66":13015,"217":206,"83":42752,"24":13,"16":11444537360646144,"45":1965962005534894080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261158912001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:39:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444537360646144,"km_value":11444537360646.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005534894080,"description":"Unknown IO ID 45"} 
[2026-08-08 13:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261158912001,"power":13015,"unknown_217":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1965962005534894080}} 
[2026-08-08 13:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":152969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:39:37] local.INFO: GPS data processed {"connection_id":152969,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:39:37] local.INFO: Acknowledgment sent {"connection_id":152969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:40:10] local.INFO: TCP Data received {"connection_id":152969,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0691960012d1b41400725c7f0002800c526..."} 
[2026-08-08 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0691960012d1b41400725c7f0002800c526..."} 
[2026-08-08 13:40:10] local.INFO: Processing buffer {"connection_id":152969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0691960012d1b41400725c7f0002800c526..."} 
[2026-08-08 13:40:10] local.INFO: Packet analysis {"connection_id":152969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:40:10] local.INFO: Extracted packet for processing {"connection_id":152969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756760896,"raw_latitude":119916528,"longitude_deg":75.6760896,"latitude_deg":11.9916528,"altitude":40,"angle":197,"satellites":38,"speed":8,"hex_longitude":"2d1b4140","hex_latitude":"0725c7f0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261159424001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444666209665024,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530558038016,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40: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-08-08 13:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786176412000,"timestamp_ms":1786176412000,"timestamp_seconds":1786176412,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0691960"} 
[2026-08-08 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-08-08 13:40: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-08-08 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 13:40: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-08-08 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-08-08 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-08-08 13:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261159424001,"66":13102,"217":206,"83":42752,"24":8,"16":11444666209665024,"45":1965680530558038016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261159424001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:40:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444666209665024,"km_value":11444666209665.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530558038016,"description":"Unknown IO ID 45"} 
[2026-08-08 13:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261159424001,"power":13102,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1965680530558038016}} 
[2026-08-08 13:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":152969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:40:10] local.INFO: GPS data processed {"connection_id":152969,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:40:10] local.INFO: Acknowledgment sent {"connection_id":152969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:40:30] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:40:30] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:40:30] local.INFO: IMEI packet received {"connection_id":151487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":151487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:40:38] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:40:38] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:40:38] local.INFO: IMEI packet received {"connection_id":151487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":151487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:40:39] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0692130012d1b40800725c6b0002800dc27..."} 
[2026-08-08 13:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0692130012d1b40800725c6b0002800dc27..."} 
[2026-08-08 13:40:39] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0692130012d1b40800725c6b0002800dc27..."} 
[2026-08-08 13:40:39] local.INFO: Packet analysis {"connection_id":151487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:40:39] local.INFO: Extracted packet for processing {"connection_id":151487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916208,"longitude_deg":75.6760704,"latitude_deg":11.9916208,"altitude":40,"angle":220,"satellites":39,"speed":5,"hex_longitude":"2d1b4080","hex_latitude":"0725c6b0","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261161472001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444683389534208,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311953055744,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:39] 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-08-08 13:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786176414000,"timestamp_ms":1786176414000,"timestamp_seconds":1786176414,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0692130"} 
[2026-08-08 13:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 13:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261161472001,"66":13091,"217":206,"83":42752,"24":5,"16":11444683389534208,"45":1963921311953055744},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261161472001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:40:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444683389534208,"km_value":11444683389534.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311953055744,"description":"Unknown IO ID 45"} 
[2026-08-08 13:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261161472001,"power":13091,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1963921311953055744}} 
[2026-08-08 13:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":151487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:40:39] local.INFO: GPS data processed {"connection_id":151487,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:40:39] local.INFO: Acknowledgment sent {"connection_id":151487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:40:41] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0697338012d1b41c00725c610002700dc25..."} 
[2026-08-08 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0697338012d1b41c00725c610002700dc25..."} 
[2026-08-08 13:40:41] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0697338012d1b41c00725c610002700dc25..."} 
[2026-08-08 13:40:41] local.INFO: Packet analysis {"connection_id":151487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:40:41] local.INFO: Extracted packet for processing {"connection_id":151487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916048,"longitude_deg":75.6761024,"latitude_deg":11.9916048,"altitude":39,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d1b41c0","hex_latitude":"0725c610","is_valid_coordinates":true} 
[2026-08-08 13:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261161984001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444730634174464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205720440832,"note":"Value kept but may cause issues"} 
[2026-08-08 13:40: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-08-08 13:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786176435000,"timestamp_ms":1786176435000,"timestamp_seconds":1786176435,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0697338"} 
[2026-08-08 13:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 13:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261161984001,"66":13156,"217":206,"83":42752,"24":0,"16":11444730634174464,"45":1963710205720440832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261161984001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:40:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444730634174464,"km_value":11444730634174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205720440832,"description":"Unknown IO ID 45"} 
[2026-08-08 13:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261161984001,"power":13156,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963710205720440832}} 
[2026-08-08 13:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":151487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:40:41] local.INFO: GPS data processed {"connection_id":151487,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:40:41] local.INFO: Acknowledgment sent {"connection_id":151487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:41:12] local.INFO: TCP Data received {"connection_id":151487,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe069c540012d1b41c00725c610002700dc24..."} 
[2026-08-08 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe069c540012d1b41c00725c610002700dc24..."} 
[2026-08-08 13:41:12] local.INFO: Processing buffer {"connection_id":151487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe069c540012d1b41c00725c610002700dc24..."} 
[2026-08-08 13:41:12] local.INFO: Packet analysis {"connection_id":151487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:41:12] local.INFO: Extracted packet for processing {"connection_id":151487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe069"} 
[2026-08-08 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916048,"longitude_deg":75.6761024,"latitude_deg":11.9916048,"altitude":39,"angle":220,"satellites":36,"speed":0,"hex_longitude":"2d1b41c0","hex_latitude":"0725c610","is_valid_coordinates":true} 
[2026-08-08 13:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261167360001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444730634174464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441288192,"note":"Value kept but may cause issues"} 
[2026-08-08 13:41:12] 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-08-08 13:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786176456000,"timestamp_ms":1786176456000,"timestamp_seconds":1786176456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe069c540"} 
[2026-08-08 13:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-08 13:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261167360001,"66":13102,"217":206,"83":42752,"24":0,"16":11444730634174464,"45":1964062049441288192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261167360001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:41:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444730634174464,"km_value":11444730634174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441288192,"description":"Unknown IO ID 45"} 
[2026-08-08 13:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261167360001,"power":13102,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964062049441288192}} 
[2026-08-08 13:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":151487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:41:12] local.INFO: GPS data processed {"connection_id":151487,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:41:12] local.INFO: Acknowledgment sent {"connection_id":151487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:41:30] local.INFO: TCP Data received {"connection_id":152970,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:41:30] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:41:30] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:41:35] local.INFO: TCP Data received {"connection_id":152970,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:41:35] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:41:35] local.INFO: IMEI packet received {"connection_id":152970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":152970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:41:36] local.INFO: TCP Data received {"connection_id":152970,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06a1748012d1b41c00725c610002700dc26..."} 
[2026-08-08 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06a1748012d1b41c00725c610002700dc26..."} 
[2026-08-08 13:41:36] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06a1748012d1b41c00725c610002700dc26..."} 
[2026-08-08 13:41:36] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06a"} 
[2026-08-08 13:41:36] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06a"} 
[2026-08-08 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916048,"longitude_deg":75.6761024,"latitude_deg":11.9916048,"altitude":39,"angle":220,"satellites":38,"speed":0,"hex_longitude":"2d1b41c0","hex_latitude":"0725c610","is_valid_coordinates":true} 
[2026-08-08 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261172736001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444730634174464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441288192,"note":"Value kept but may cause issues"} 
[2026-08-08 13:41:36] 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-08-08 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786176477000,"timestamp_ms":1786176477000,"timestamp_seconds":1786176477,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06a1748"} 
[2026-08-08 13:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:41: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-08-08 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 13:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261172736001,"66":13048,"217":206,"83":42752,"24":0,"16":11444730634174464,"45":1964062049441288192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261172736001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:41:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444730634174464,"km_value":11444730634174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441288192,"description":"Unknown IO ID 45"} 
[2026-08-08 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261172736001,"power":13048,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964062049441288192}} 
[2026-08-08 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:41:36] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:41:36] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:42:09] local.INFO: TCP Data received {"connection_id":152970,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06a6950012d1b41c00725c610002700dc28..."} 
[2026-08-08 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06a6950012d1b41c00725c610002700dc28..."} 
[2026-08-08 13:42:09] local.INFO: Processing buffer {"connection_id":152970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06a6950012d1b41c00725c610002700dc28..."} 
[2026-08-08 13:42:09] local.INFO: Packet analysis {"connection_id":152970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06a"} 
[2026-08-08 13:42:09] local.INFO: Extracted packet for processing {"connection_id":152970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06a"} 
[2026-08-08 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916048,"longitude_deg":75.6761024,"latitude_deg":11.9916048,"altitude":39,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d1b41c0","hex_latitude":"0725c610","is_valid_coordinates":true} 
[2026-08-08 13:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261178112001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444730634174464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441288192,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:09] 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-08-08 13:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786176498000,"timestamp_ms":1786176498000,"timestamp_seconds":1786176498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06a6950"} 
[2026-08-08 13:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-08 13:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":152970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":152970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261178112001,"66":13048,"217":206,"83":42752,"24":0,"16":11444730634174464,"45":1964062049441288192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261178112001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:42:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444730634174464,"km_value":11444730634174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441288192,"description":"Unknown IO ID 45"} 
[2026-08-08 13:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261178112001,"power":13048,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964062049441288192}} 
[2026-08-08 13:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":152970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:42:09] local.INFO: GPS data processed {"connection_id":152970,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:42:09] local.INFO: Acknowledgment sent {"connection_id":152970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:42:10] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:42:10] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:42:10] local.INFO: IMEI packet received {"connection_id":152971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":152971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:42:11] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06b5b80012cedd100072d15e0004500362c..."} 
[2026-08-08 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06b5b80012cedd100072d15e0004500362c..."} 
[2026-08-08 13:42:11] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06b5b80012cedd100072d15e0004500362c..."} 
[2026-08-08 13:42:11] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06b"} 
[2026-08-08 13:42:11] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06b"} 
[2026-08-08 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":753783040,"raw_latitude":120395232,"longitude_deg":75.378304,"latitude_deg":12.0395232,"altitude":69,"angle":54,"satellites":44,"speed":22,"hex_longitude":"2cedd100","hex_latitude":"072d15e0","is_valid_coordinates":true} 
[2026-08-08 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261199104001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375447976383873024,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1310828935720411136,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786176560000,"timestamp_ms":1786176560000,"timestamp_seconds":1786176560,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06b5b80"} 
[2026-08-08 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 13:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261199104001,"66":27713,"229":206,"83":44032,"24":22,"16":375447976383873024,"44":-1310828935720411136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261199104001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:42:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 13:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375447976383873024,"km_value":375447976383873.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1310828935720411136,"description":"Unknown IO ID 44"} 
[2026-08-08 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261199104001,"power":27713,"unknown_229":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1310828935720411136}} 
[2026-08-08 13:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:42:11] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:42:11] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:42:36] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:42:36] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:42:36] local.INFO: IMEI packet received {"connection_id":151488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":151488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:42:41] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:42:41] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:42:41] local.INFO: IMEI packet received {"connection_id":151488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":151488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:42:42] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06d99b8012d1b41c00725c610002700dc2a..."} 
[2026-08-08 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06d99b8012d1b41c00725c610002700dc2a..."} 
[2026-08-08 13:42:42] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06d99b8012d1b41c00725c610002700dc2a..."} 
[2026-08-08 13:42:42] local.INFO: Packet analysis {"connection_id":151488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:42:42] local.INFO: Extracted packet for processing {"connection_id":151488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916048,"longitude_deg":75.6761024,"latitude_deg":11.9916048,"altitude":39,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d1b41c0","hex_latitude":"0725c610","is_valid_coordinates":true} 
[2026-08-08 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261236992001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444730634174464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441288192,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:42] 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-08-08 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176707000,"timestamp_ms":1786176707000,"timestamp_seconds":1786176707,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06d99b8"} 
[2026-08-08 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 13:42: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-08-08 13:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261236992001,"66":12722,"217":206,"83":42752,"24":0,"16":11444730634174464,"45":1964062049441288192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261236992001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:42:42] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444730634174464,"km_value":11444730634174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441288192,"description":"Unknown IO ID 45"} 
[2026-08-08 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261236992001,"power":12722,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964062049441288192}} 
[2026-08-08 13:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":151488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:42:42] local.INFO: GPS data processed {"connection_id":151488,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:42:42] local.INFO: Acknowledgment sent {"connection_id":151488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:42:45] local.INFO: TCP Data received {"connection_id":152971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06da188012cede140072e09c8004700242e..."} 
[2026-08-08 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06da188012cede140072e09c8004700242e..."} 
[2026-08-08 13:42:45] local.INFO: Processing buffer {"connection_id":152971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06da188012cede140072e09c8004700242e..."} 
[2026-08-08 13:42:45] local.INFO: Packet analysis {"connection_id":152971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:42:45] local.INFO: Extracted packet for processing {"connection_id":152971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:42:45] local.INFO: GPS Element Parsed {"raw_longitude":753787200,"raw_latitude":120457672,"longitude_deg":75.37872,"latitude_deg":12.0457672,"altitude":71,"angle":36,"satellites":46,"speed":11,"hex_longitude":"2cede140","hex_latitude":"072e09c8","is_valid_coordinates":true} 
[2026-08-08 13:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261237248001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375451193314377728,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305832754867804160,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786176709000,"timestamp_ms":1786176709000,"timestamp_seconds":1786176709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06da188"} 
[2026-08-08 13:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 13:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261237248001,"66":27658,"229":206,"83":44032,"24":11,"16":375451193314377728,"44":-1305832754867804160},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 13:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261237248001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:42:45] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 13:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375451193314377728,"km_value":375451193314377.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:42:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305832754867804160,"description":"Unknown IO ID 44"} 
[2026-08-08 13:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261237248001,"power":27658,"unknown_229":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1305832754867804160}} 
[2026-08-08 13:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":152971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:42:45] local.INFO: GPS data processed {"connection_id":152971,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:42:45] local.INFO: Acknowledgment sent {"connection_id":152971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:42:49] local.INFO: TCP Data received {"connection_id":151488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06d99b8012d1b41c00725c610002700dc2a..."} 
[2026-08-08 13:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06d99b8012d1b41c00725c610002700dc2a..."} 
[2026-08-08 13:42:49] local.INFO: Processing buffer {"connection_id":151488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06d99b8012d1b41c00725c610002700dc2a..."} 
[2026-08-08 13:42:49] local.INFO: Packet analysis {"connection_id":151488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:42:49] local.INFO: Extracted packet for processing {"connection_id":151488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756761024,"raw_latitude":119916048,"longitude_deg":75.6761024,"latitude_deg":11.9916048,"altitude":39,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d1b41c0","hex_latitude":"0725c610","is_valid_coordinates":true} 
[2026-08-08 13:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261236992001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444730634174464,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964062049441288192,"note":"Value kept but may cause issues"} 
[2026-08-08 13:42:49] 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-08-08 13:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786176707000,"timestamp_ms":1786176707000,"timestamp_seconds":1786176707,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06d99b8"} 
[2026-08-08 13:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 13:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261236992001,"66":12722,"217":206,"83":42752,"24":0,"16":11444730634174464,"45":1964062049441288192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261236992001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:42:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444730634174464,"km_value":11444730634174.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964062049441288192,"description":"Unknown IO ID 45"} 
[2026-08-08 13:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261236992001,"power":12722,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964062049441288192}} 
[2026-08-08 13:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":151488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:42:49] local.INFO: GPS data processed {"connection_id":151488,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:42:49] local.INFO: Acknowledgment sent {"connection_id":151488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:43:05] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:43:05] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:43:05] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:43:06] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:43:06] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:43:06] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:43:30] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:30] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:30] local.INFO: IMEI packet received {"connection_id":150531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":150531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:43:30] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:30] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:30] local.INFO: IMEI packet received {"connection_id":150531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":150531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:43:32] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:32] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:43:32] local.INFO: IMEI packet received {"connection_id":150531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":150531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:43:33] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e7478012d1b3ec00725c4e0002b00d829..."} 
[2026-08-08 13:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e7478012d1b3ec00725c4e0002b00d829..."} 
[2026-08-08 13:43:33] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e7478012d1b3ec00725c4e0002b00d829..."} 
[2026-08-08 13:43:33] local.INFO: Packet analysis {"connection_id":150531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:43:33] local.INFO: Extracted packet for processing {"connection_id":150531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756760256,"raw_latitude":119915744,"longitude_deg":75.6760256,"latitude_deg":11.9915744,"altitude":43,"angle":216,"satellites":41,"speed":8,"hex_longitude":"2d1b3ec0","hex_latitude":"0725c4e0","is_valid_coordinates":true} 
[2026-08-08 13:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261250816001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444777878814720,"note":"Value kept but may cause issues"} 
[2026-08-08 13:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963499099487862784,"note":"Value kept but may cause issues"} 
[2026-08-08 13:43:33] 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-08-08 13:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786176763000,"timestamp_ms":1786176763000,"timestamp_seconds":1786176763,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e7478"} 
[2026-08-08 13:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 13:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261250816001,"66":14113,"217":206,"83":42752,"24":8,"16":11444777878814720,"45":1963499099487862784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261250816001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:43:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444777878814720,"km_value":11444777878814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963499099487862784,"description":"Unknown IO ID 45"} 
[2026-08-08 13:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261250816001,"power":14113,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1963499099487862784}} 
[2026-08-08 13:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":150531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:43:33] local.INFO: GPS data processed {"connection_id":150531,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:43:33] local.INFO: Acknowledgment sent {"connection_id":150531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:44:04] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e8030012d1b3d400725c1b8002b00cd29..."} 
[2026-08-08 13:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e8030012d1b3d400725c1b8002b00cd29..."} 
[2026-08-08 13:44:04] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e8030012d1b3d400725c1b8002b00cd29..."} 
[2026-08-08 13:44:04] local.INFO: Packet analysis {"connection_id":150531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:44:04] local.INFO: Extracted packet for processing {"connection_id":150531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756759872,"raw_latitude":119914936,"longitude_deg":75.6759872,"latitude_deg":11.9914936,"altitude":43,"angle":205,"satellites":41,"speed":14,"hex_longitude":"2d1b3d40","hex_latitude":"0725c1b8","is_valid_coordinates":true} 
[2026-08-08 13:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261251328001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444820828487680,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963217624511078400,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:04] 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-08-08 13:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786176766000,"timestamp_ms":1786176766000,"timestamp_seconds":1786176766,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e8030"} 
[2026-08-08 13:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 13:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261251328001,"66":14080,"217":206,"83":42752,"24":14,"16":11444820828487680,"45":1963217624511078400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261251328001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:44:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444820828487680,"km_value":11444820828487.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963217624511078400,"description":"Unknown IO ID 45"} 
[2026-08-08 13:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261251328001,"power":14080,"unknown_217":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1963217624511078400}} 
[2026-08-08 13:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":150531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:44:04] local.INFO: GPS data processed {"connection_id":150531,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:44:04] local.INFO: Acknowledgment sent {"connection_id":150531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:44:08] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:44:08] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:44:08] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:44:09] local.INFO: TCP Data received {"connection_id":152972,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:44:09] local.INFO: Processing buffer {"connection_id":152972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:44:09] local.INFO: IMEI packet received {"connection_id":152972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":152972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:44:27] local.INFO: TCP Data received {"connection_id":152974,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:27] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:27] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:44:31] local.INFO: TCP Data received {"connection_id":152974,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:31] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:31] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:44:36] local.INFO: TCP Data received {"connection_id":152974,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:36] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:44:36] local.INFO: IMEI packet received {"connection_id":152974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":152974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:44:36] local.INFO: TCP Data received {"connection_id":152974,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e97a0012d1b39c00725b778002c00bf2a..."} 
[2026-08-08 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e97a0012d1b39c00725b778002c00bf2a..."} 
[2026-08-08 13:44:36] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e97a0012d1b39c00725b778002c00bf2a..."} 
[2026-08-08 13:44:36] local.INFO: Packet analysis {"connection_id":152974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:44:36] local.INFO: Extracted packet for processing {"connection_id":152974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756758976,"raw_latitude":119912312,"longitude_deg":75.6758976,"latitude_deg":11.9912312,"altitude":44,"angle":191,"satellites":42,"speed":22,"hex_longitude":"2d1b39c0","hex_latitude":"0725b778","is_valid_coordinates":true} 
[2026-08-08 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261252096001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11444958267441152,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962795412045805568,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] 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-08-08 13:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786176772000,"timestamp_ms":1786176772000,"timestamp_seconds":1786176772,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e97a0"} 
[2026-08-08 13:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:44: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-08-08 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331648,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3765327160,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":168,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2834235392,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3329753130,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":96,"raw_value":4026608923,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3221693894,"note":"Value kept but may cause issues"} 
[2026-08-08 13:44:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,217,83,24,241,157,16,169,159,116,45,192,196,43,41,10,66,168,108,198,42,40,104,1,240,227,224,37,4,113,205,3,96,64,112,38,239,54,2,7,39],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-08-08 13:44:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098702119609171968,"timestamp_seconds":3098702119609172.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 13:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261252096001,"66":14102,"217":206,"83":42752,"24":22,"16":11444958267441152,"45":1962795412045805568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261252096001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:44:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11444958267441152,"km_value":11444958267441.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962795412045805568,"description":"Unknown IO ID 45"} 
[2026-08-08 13:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261252096001,"power":14102,"unknown_217":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1962795412045805568}} 
[2026-08-08 13:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":152974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:44:37] local.INFO: GPS data processed {"connection_id":152974,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:44:37] local.INFO: Acknowledgment sent {"connection_id":152974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:45:22] local.INFO: TCP Data received {"connection_id":152974,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06ea358012d1b39000725b048002b00b128..."} 
[2026-08-08 13:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06ea358012d1b39000725b048002b00b128..."} 
[2026-08-08 13:45:22] local.INFO: Processing buffer {"connection_id":152974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06ea358012d1b39000725b048002b00b128..."} 
[2026-08-08 13:45:22] local.INFO: Packet analysis {"connection_id":152974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:45:22] local.INFO: Extracted packet for processing {"connection_id":152974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119910472,"longitude_deg":75.6758784,"latitude_deg":11.9910472,"altitude":43,"angle":177,"satellites":40,"speed":23,"hex_longitude":"2d1b3900","hex_latitude":"0725b048","is_valid_coordinates":true} 
[2026-08-08 13:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261253632001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11445044166787072,"note":"Value kept but may cause issues"} 
[2026-08-08 13:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961810249626646528,"note":"Value kept but may cause issues"} 
[2026-08-08 13:45:22] 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-08-08 13:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786176775000,"timestamp_ms":1786176775000,"timestamp_seconds":1786176775,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06ea358"} 
[2026-08-08 13:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 13:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":152974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":152974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261253632001,"66":13961,"217":206,"83":42752,"24":23,"16":11445044166787072,"45":1961810249626646528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-08 13:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261253632001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11445044166787072,"km_value":11445044166787.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961810249626646528,"description":"Unknown IO ID 45"} 
[2026-08-08 13:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261253632001,"power":13961,"unknown_217":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1961810249626646528}} 
[2026-08-08 13:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":152974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:45:23] local.INFO: GPS data processed {"connection_id":152974,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:45:23] local.INFO: Acknowledgment sent {"connection_id":152974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:45:30] local.INFO: TCP Data received {"connection_id":150268,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:45:30] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:45:30] local.INFO: IMEI packet received {"connection_id":150268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":150268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:45:38] local.INFO: TCP Data received {"connection_id":150268,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:45:38] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:45:38] local.INFO: IMEI packet received {"connection_id":150268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":150268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:45:39] local.INFO: TCP Data received {"connection_id":150268,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06ff730012d1b57c007250090002200ab26..."} 
[2026-08-08 13:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06ff730012d1b57c007250090002200ab26..."} 
[2026-08-08 13:45:39] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06ff730012d1b57c007250090002200ab26..."} 
[2026-08-08 13:45:39] local.INFO: Packet analysis {"connection_id":150268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06f"} 
[2026-08-08 13:45:39] local.INFO: Extracted packet for processing {"connection_id":150268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06f"} 
[2026-08-08 13:45:39] local.INFO: GPS Element Parsed {"raw_longitude":756766656,"raw_latitude":119865488,"longitude_deg":75.6766656,"latitude_deg":11.9865488,"altitude":34,"angle":171,"satellites":38,"speed":19,"hex_longitude":"2d1b57c0","hex_latitude":"07250090","is_valid_coordinates":true} 
[2026-08-08 13: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-08-08 13:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261275648001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11447436463570944,"note":"Value kept but may cause issues"} 
[2026-08-08 13:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973893308416,"note":"Value kept but may cause issues"} 
[2026-08-08 13:45: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-08-08 13:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786176862000,"timestamp_ms":1786176862000,"timestamp_seconds":1786176862,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06ff730"} 
[2026-08-08 13:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:45: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-08-08 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 13:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261275648001,"66":14048,"43":206,"83":41984,"24":19,"16":11447436463570944,"45":1970535973893308416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-08 13:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261275648001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:45:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-08 13:45:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 13:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11447436463570944,"km_value":11447436463570.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973893308416,"description":"Unknown IO ID 45"} 
[2026-08-08 13:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261275648001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1970535973893308416}} 
[2026-08-08 13:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":150268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:45:39] local.INFO: GPS data processed {"connection_id":150268,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:45:39] local.INFO: Acknowledgment sent {"connection_id":150268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:46:10] local.INFO: TCP Data received {"connection_id":150268,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0704938012d1b58c00724fe30002300ad22..."} 
[2026-08-08 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0704938012d1b58c00724fe30002300ad22..."} 
[2026-08-08 13:46:10] local.INFO: Processing buffer {"connection_id":150268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0704938012d1b58c00724fe30002300ad22..."} 
[2026-08-08 13:46:10] local.INFO: Packet analysis {"connection_id":150268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe070"} 
[2026-08-08 13:46:10] local.INFO: Extracted packet for processing {"connection_id":150268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe070"} 
[2026-08-08 13:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119864880,"longitude_deg":75.6766912,"latitude_deg":11.986488,"altitude":35,"angle":173,"satellites":34,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"0724fe30","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261276672001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11447470823309312,"note":"Value kept but may cause issues"} 
[2026-08-08 13:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970254498915979264,"note":"Value kept but may cause issues"} 
[2026-08-08 13:46:10] 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-08-08 13:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786176883000,"timestamp_ms":1786176883000,"timestamp_seconds":1786176883,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0704938"} 
[2026-08-08 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-08-08 13:46: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-08-08 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 13:46: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-08-08 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-08-08 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-08-08 13:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261276672001,"66":14341,"136":206,"83":42752,"24":0,"16":11447470823309312,"45":1970254498915979264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-08 13:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261276672001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:46:10] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 13:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11447470823309312,"km_value":11447470823309.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970254498915979264,"description":"Unknown IO ID 45"} 
[2026-08-08 13:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261276672001,"power":14341,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1970254498915979264}} 
[2026-08-08 13:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:46:10] local.INFO: GPS data processed {"connection_id":150268,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:46:10] local.INFO: Acknowledgment sent {"connection_id":150268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:46:32] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:32] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:32] local.INFO: IMEI packet received {"connection_id":150532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":150532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:46:34] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:34] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:34] local.INFO: IMEI packet received {"connection_id":150532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":150532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:46:35] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:35] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:35] local.INFO: IMEI packet received {"connection_id":150532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":150532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:46:36] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:36] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:46:36] local.INFO: IMEI packet received {"connection_id":150532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:49:10] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:49:10] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:49:10] local.INFO: IMEI packet received {"connection_id":150533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":150533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:49:15] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:49:15] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:49:15] local.INFO: IMEI packet received {"connection_id":150533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":150533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:49:16] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06da570012cede200072e0aa80047002f2d..."} 
[2026-08-08 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06da570012cede200072e0aa80047002f2d..."} 
[2026-08-08 13:49:16] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06da570012cede200072e0aa80047002f2d..."} 
[2026-08-08 13:49:16] local.INFO: Packet analysis {"connection_id":150533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:49:16] local.INFO: Extracted packet for processing {"connection_id":150533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:49:16] local.INFO: GPS Element Parsed {"raw_longitude":753787392,"raw_latitude":120457896,"longitude_deg":75.3787392,"latitude_deg":12.0457896,"altitude":71,"angle":47,"satellites":45,"speed":12,"hex_longitude":"2cede200","hex_latitude":"072e0aa8","is_valid_coordinates":true} 
[2026-08-08 13:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261237504001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375451206199279616,"note":"Value kept but may cause issues"} 
[2026-08-08 13:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305692017379391488,"note":"Value kept but may cause issues"} 
[2026-08-08 13:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786176710000,"timestamp_ms":1786176710000,"timestamp_seconds":1786176710,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06da570"} 
[2026-08-08 13:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 13:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261237504001,"66":27691,"229":206,"83":44032,"24":12,"16":375451206199279616,"44":-1305692017379391488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 13:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261237504001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:49:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 13:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375451206199279616,"km_value":375451206199279.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305692017379391488,"description":"Unknown IO ID 44"} 
[2026-08-08 13:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261237504001,"power":27691,"unknown_229":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1305692017379391488}} 
[2026-08-08 13:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":150533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:49:16] local.INFO: GPS data processed {"connection_id":150533,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:49:16] local.INFO: Acknowledgment sent {"connection_id":150533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:49:46] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06dad40012cede440072e0c20004700422f..."} 
[2026-08-08 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06dad40012cede440072e0c20004700422f..."} 
[2026-08-08 13:49:46] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06dad40012cede440072e0c20004700422f..."} 
[2026-08-08 13:49:46] local.INFO: Packet analysis {"connection_id":150533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:49:46] local.INFO: Extracted packet for processing {"connection_id":150533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":753787968,"raw_latitude":120458272,"longitude_deg":75.3787968,"latitude_deg":12.0458272,"altitude":71,"angle":66,"satellites":47,"speed":15,"hex_longitude":"2cede440","hex_latitude":"072e0c20","is_valid_coordinates":true} 
[2026-08-08 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261237760001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375451240559017984,"note":"Value kept but may cause issues"} 
[2026-08-08 13:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305480911146801152,"note":"Value kept but may cause issues"} 
[2026-08-08 13:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786176712000,"timestamp_ms":1786176712000,"timestamp_seconds":1786176712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06dad40"} 
[2026-08-08 13:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-08 13:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:49: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-08-08 13:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261237760001,"66":27745,"229":206,"83":44032,"24":15,"16":375451240559017984,"44":-1305480911146801152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 13:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261237760001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:49:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 13:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375451240559017984,"km_value":375451240559018.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305480911146801152,"description":"Unknown IO ID 44"} 
[2026-08-08 13:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261237760001,"power":27745,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1305480911146801152}} 
[2026-08-08 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":150533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:49:46] local.INFO: GPS data processed {"connection_id":150533,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:49:46] local.INFO: Acknowledgment sent {"connection_id":150533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:50:05] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:50:05] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:50:05] local.INFO: IMEI packet received {"connection_id":152978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":152978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:50:10] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:50:10] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:50:10] local.INFO: IMEI packet received {"connection_id":152978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":152978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:50:14] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06ddc20012cee0800072e18c0004100452e..."} 
[2026-08-08 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06ddc20012cee0800072e18c0004100452e..."} 
[2026-08-08 13:50:14] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06ddc20012cee0800072e18c0004100452e..."} 
[2026-08-08 13:50:14] local.INFO: Packet analysis {"connection_id":152978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:50:14] local.INFO: Extracted packet for processing {"connection_id":152978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:50:14] local.INFO: GPS Element Parsed {"raw_longitude":753797120,"raw_latitude":120461504,"longitude_deg":75.379712,"latitude_deg":12.0461504,"altitude":65,"angle":69,"satellites":46,"speed":43,"hex_longitude":"2cee0800","hex_latitude":"072e18c0","is_valid_coordinates":true} 
[2026-08-08 13:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261238272001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375451700120518656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1304847592449105920,"note":"Value kept but may cause issues"} 
[2026-08-08 13:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786176724000,"timestamp_ms":1786176724000,"timestamp_seconds":1786176724,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06ddc20"} 
[2026-08-08 13:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 13:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:50: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-08-08 13:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261238272001,"66":27876,"229":206,"83":44032,"24":43,"16":375451700120518656,"44":-1304847592449105920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 13:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261238272001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:50:14] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 13:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375451700120518656,"km_value":375451700120518.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1304847592449105920,"description":"Unknown IO ID 44"} 
[2026-08-08 13:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261238272001,"power":27876,"unknown_229":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1304847592449105920}} 
[2026-08-08 13:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":152978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:50:14] local.INFO: GPS data processed {"connection_id":152978,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:50:14] local.INFO: Acknowledgment sent {"connection_id":152978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:50:45] local.INFO: TCP Data received {"connection_id":152978,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06dfb60012cee2b80072e25d8003d004630..."} 
[2026-08-08 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06dfb60012cee2b80072e25d8003d004630..."} 
[2026-08-08 13:50:45] local.INFO: Processing buffer {"connection_id":152978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06dfb60012cee2b80072e25d8003d004630..."} 
[2026-08-08 13:50:45] local.INFO: Packet analysis {"connection_id":152978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:50:45] local.INFO: Extracted packet for processing {"connection_id":152978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06d"} 
[2026-08-08 13:50:45] local.INFO: GPS Element Parsed {"raw_longitude":753806208,"raw_latitude":120464856,"longitude_deg":75.3806208,"latitude_deg":12.0464856,"altitude":61,"angle":70,"satellites":48,"speed":48,"hex_longitude":"2cee2b80","hex_latitude":"072e25d8","is_valid_coordinates":true} 
[2026-08-08 13:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261241344001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452159682019328,"note":"Value kept but may cause issues"} 
[2026-08-08 13:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1294784862030872576,"note":"Value kept but may cause issues"} 
[2026-08-08 13:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786176732000,"timestamp_ms":1786176732000,"timestamp_seconds":1786176732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06dfb60"} 
[2026-08-08 13:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 13:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":152978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":152978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":152978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:50: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-08-08 13:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261241344001,"66":27908,"219":206,"83":44032,"24":48,"16":375452159682019328,"44":-1294784862030872576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261241344001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:50:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452159682019328,"km_value":375452159682019.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1294784862030872576,"description":"Unknown IO ID 44"} 
[2026-08-08 13:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261241344001,"power":27908,"unknown_219":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1294784862030872576}} 
[2026-08-08 13:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":152978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:50:45] local.INFO: GPS data processed {"connection_id":152978,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:50:45] local.INFO: Acknowledgment sent {"connection_id":152978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:51:05] local.INFO: TCP Data received {"connection_id":150271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:51:05] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:51:05] local.INFO: IMEI packet received {"connection_id":150271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":150271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:51:10] local.INFO: TCP Data received {"connection_id":150271,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:51:10] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:51:10] local.INFO: IMEI packet received {"connection_id":150271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":150271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:51:11] local.INFO: TCP Data received {"connection_id":150271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e1e88012cee4fc0072e30680039003e2c..."} 
[2026-08-08 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e1e88012cee4fc0072e30680039003e2c..."} 
[2026-08-08 13:51:11] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e1e88012cee4fc0072e30680039003e2c..."} 
[2026-08-08 13:51:11] local.INFO: Packet analysis {"connection_id":150271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:51:11] local.INFO: Extracted packet for processing {"connection_id":150271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":753815488,"raw_latitude":120467560,"longitude_deg":75.3815488,"latitude_deg":12.046756,"altitude":57,"angle":62,"satellites":44,"speed":36,"hex_longitude":"2cee4fc0","hex_latitude":"072e3068","is_valid_coordinates":true} 
[2026-08-08 13:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261243392001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452619243520000,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1284792500356786176,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786176741000,"timestamp_ms":1786176741000,"timestamp_seconds":1786176741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e1e88"} 
[2026-08-08 13:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 13:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:51: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-08-08 13:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261243392001,"66":27930,"219":206,"83":44032,"24":36,"16":375452619243520000,"44":-1284792500356786176},"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-08-08 13:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261243392001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:51:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452619243520000,"km_value":375452619243520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1284792500356786176,"description":"Unknown IO ID 44"} 
[2026-08-08 13:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261243392001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":36,"odometer":null,"unknown_44":-1284792500356786176}} 
[2026-08-08 13:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":150271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:51:11] local.INFO: GPS data processed {"connection_id":150271,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:51:11] local.INFO: Acknowledgment sent {"connection_id":150271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:51:41] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:51:41] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:51:41] local.INFO: IMEI packet received {"connection_id":150534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":150534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:51:41] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe074f0a0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe074f0a0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:51:41] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe074f0a0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:51:41] local.INFO: Packet analysis {"connection_id":150534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe074"} 
[2026-08-08 13:51:41] local.INFO: Extracted packet for processing {"connection_id":150534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe074"} 
[2026-08-08 13:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261354752001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786177188000,"timestamp_ms":1786177188000,"timestamp_seconds":1786177188,"priority":1,"record_length":96,"hex_timestamp":"0000019fe074f0a0"} 
[2026-08-08 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-08-08 13:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-08 13:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261354752001,"66":13135,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261354752001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:51:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261354752001,"power":13135,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":150534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:51:42] local.INFO: GPS data processed {"connection_id":150534,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:51:42] local.INFO: Acknowledgment sent {"connection_id":150534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:51:42] local.INFO: TCP Data received {"connection_id":150271,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e2a40012cee5940072e34500038004c2c..."} 
[2026-08-08 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e2a40012cee5940072e34500038004c2c..."} 
[2026-08-08 13:51:42] local.INFO: Processing buffer {"connection_id":150271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e2a40012cee5940072e34500038004c2c..."} 
[2026-08-08 13:51:42] local.INFO: Packet analysis {"connection_id":150271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:51:42] local.INFO: Extracted packet for processing {"connection_id":150271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":753817920,"raw_latitude":120468560,"longitude_deg":75.381792,"latitude_deg":12.046856,"altitude":56,"angle":76,"satellites":44,"speed":31,"hex_longitude":"2cee5940","hex_latitude":"072e3450","is_valid_coordinates":true} 
[2026-08-08 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261245696001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452748092538880,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1274589032450332672,"note":"Value kept but may cause issues"} 
[2026-08-08 13:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176744000,"timestamp_ms":1786176744000,"timestamp_seconds":1786176744,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e2a40"} 
[2026-08-08 13:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 13:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:51: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-08-08 13:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261245696001,"66":27865,"219":206,"83":44032,"24":31,"16":375452748092538880,"44":-1274589032450332672},"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-08-08 13:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261245696001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:51:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452748092538880,"km_value":375452748092538.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1274589032450332672,"description":"Unknown IO ID 44"} 
[2026-08-08 13:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261245696001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1274589032450332672}} 
[2026-08-08 13:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":150271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:51:42] local.INFO: GPS data processed {"connection_id":150271,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:51:42] local.INFO: Acknowledgment sent {"connection_id":150271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:52:04] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:52:05] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:52:05] local.INFO: IMEI packet received {"connection_id":151491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":151491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:52:10] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:52:10] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:52:10] local.INFO: IMEI packet received {"connection_id":151491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":151491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:52:11] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e2e28012cee5c80072e3498003800582b..."} 
[2026-08-08 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e2e28012cee5c80072e3498003800582b..."} 
[2026-08-08 13:52:11] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e2e28012cee5c80072e3498003800582b..."} 
[2026-08-08 13:52:11] local.INFO: Packet analysis {"connection_id":151491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:52:11] local.INFO: Extracted packet for processing {"connection_id":151491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":753818752,"raw_latitude":120468632,"longitude_deg":75.3818752,"latitude_deg":12.0468632,"altitude":56,"angle":88,"satellites":43,"speed":32,"hex_longitude":"2cee5c80","hex_latitude":"072e3498","is_valid_coordinates":true} 
[2026-08-08 13:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261246464001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271915020171325440,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786176745000,"timestamp_ms":1786176745000,"timestamp_seconds":1786176745,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e2e28"} 
[2026-08-08 13:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:52: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-08-08 13:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261246464001,"66":27865,"219":206,"83":44032,"24":32,"16":375452786747244544,"44":-1271915020171325440},"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-08-08 13:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261246464001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:52:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271915020171325440,"description":"Unknown IO ID 44"} 
[2026-08-08 13:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261246464001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1271915020171325440}} 
[2026-08-08 13:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":151491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:52:11] local.INFO: GPS data processed {"connection_id":151491,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:52:11] local.INFO: Acknowledgment sent {"connection_id":151491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:52:16] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07542a8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07542a8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:52:16] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07542a8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:52:16] local.INFO: Packet analysis {"connection_id":150534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe075"} 
[2026-08-08 13:52:16] local.INFO: Extracted packet for processing {"connection_id":150534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe075"} 
[2026-08-08 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261360128001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786177209000,"timestamp_ms":1786177209000,"timestamp_seconds":1786177209,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07542a8"} 
[2026-08-08 13:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 13:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261360128001,"66":13080,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261360128001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:52:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261360128001,"power":13080,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":150534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:52:16] local.INFO: GPS data processed {"connection_id":150534,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:52:16] local.INFO: Acknowledgment sent {"connection_id":150534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:52:31] local.INFO: TCP Data received {"connection_id":150535,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:31] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:31] local.INFO: IMEI packet received {"connection_id":150535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":150535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:52:31] local.INFO: TCP Data received {"connection_id":150535,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:31] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:31] local.INFO: IMEI packet received {"connection_id":150535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":150535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:52:36] local.INFO: TCP Data received {"connection_id":150535,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:36] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:52:36] local.INFO: IMEI packet received {"connection_id":150535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":150535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:52:37] local.INFO: TCP Data received {"connection_id":150535,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07594b0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07594b0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:52:37] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07594b0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:52:37] local.INFO: Packet analysis {"connection_id":150535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe075"} 
[2026-08-08 13:52:37] local.INFO: Extracted packet for processing {"connection_id":150535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe075"} 
[2026-08-08 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261365504001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786177230000,"timestamp_ms":1786177230000,"timestamp_seconds":1786177230,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07594b0"} 
[2026-08-08 13:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:52: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-08-08 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 13:52: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-08-08 13:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261365504001,"66":13015,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261365504001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:52:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261365504001,"power":13015,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":150535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:52:37] local.INFO: GPS data processed {"connection_id":150535,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:52:37] local.INFO: Acknowledgment sent {"connection_id":150535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:52:41] local.INFO: TCP Data received {"connection_id":150535,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe075e6b8012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe075e6b8012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:52:41] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe075e6b8012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:52:41] local.INFO: Packet analysis {"connection_id":150535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe075"} 
[2026-08-08 13:52:41] local.INFO: Extracted packet for processing {"connection_id":150535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe075"} 
[2026-08-08 13:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261370880001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786177251000,"timestamp_ms":1786177251000,"timestamp_seconds":1786177251,"priority":1,"record_length":96,"hex_timestamp":"0000019fe075e6b8"} 
[2026-08-08 13:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 13:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261370880001,"66":12972,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261370880001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:52:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261370880001,"power":12972,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":150535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:52:41] local.INFO: GPS data processed {"connection_id":150535,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:52:41] local.INFO: Acknowledgment sent {"connection_id":150535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:52:42] local.INFO: TCP Data received {"connection_id":151491,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e2e28012cee5c80072e3498003800582b..."} 
[2026-08-08 13:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e2e28012cee5c80072e3498003800582b..."} 
[2026-08-08 13:52:42] local.INFO: Processing buffer {"connection_id":151491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e2e28012cee5c80072e3498003800582b..."} 
[2026-08-08 13:52:42] local.INFO: Packet analysis {"connection_id":151491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:52:42] local.INFO: Extracted packet for processing {"connection_id":151491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753818752,"raw_latitude":120468632,"longitude_deg":75.3818752,"latitude_deg":12.0468632,"altitude":56,"angle":88,"satellites":43,"speed":32,"hex_longitude":"2cee5c80","hex_latitude":"072e3498","is_valid_coordinates":true} 
[2026-08-08 13:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261246720001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271000226496997376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786176745000,"timestamp_ms":1786176745000,"timestamp_seconds":1786176745,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e2e28"} 
[2026-08-08 13:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:52: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-08-08 13:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261246720001,"66":27865,"219":206,"83":44032,"24":32,"16":375452786747244544,"44":-1271000226496997376},"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-08-08 13:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261246720001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271000226496997376,"description":"Unknown IO ID 44"} 
[2026-08-08 13:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261246720001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1271000226496997376}} 
[2026-08-08 13:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":151491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:52:42] local.INFO: GPS data processed {"connection_id":151491,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:52:42] local.INFO: Acknowledgment sent {"connection_id":151491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:53:08] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:08] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:08] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:53:10] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:10] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:10] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:53:12] local.INFO: TCP Data received {"connection_id":150535,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07638c0012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07638c0012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:53:12] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07638c0012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:53:12] local.INFO: Packet analysis {"connection_id":150535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe076"} 
[2026-08-08 13:53:12] local.INFO: Extracted packet for processing {"connection_id":150535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe076"} 
[2026-08-08 13:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261376256001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786177272000,"timestamp_ms":1786177272000,"timestamp_seconds":1786177272,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07638c0"} 
[2026-08-08 13:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261376256001,"66":12917,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261376256001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:53:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261376256001,"power":12917,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":150535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:53:12] local.INFO: GPS data processed {"connection_id":150535,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:53:12] local.INFO: Acknowledgment sent {"connection_id":150535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:53:15] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:15] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:53:15] local.INFO: IMEI packet received {"connection_id":152979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":152979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:53:16] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe06e39e0012cee6600072e33800036006929..."} 
[2026-08-08 13:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe06e39e0012cee6600072e33800036006929..."} 
[2026-08-08 13:53:16] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe06e39e0012cee6600072e33800036006929..."} 
[2026-08-08 13:53:16] local.INFO: Packet analysis {"connection_id":152979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:53:16] local.INFO: Extracted packet for processing {"connection_id":152979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe06e"} 
[2026-08-08 13:53:16] local.INFO: GPS Element Parsed {"raw_longitude":753821184,"raw_latitude":120468352,"longitude_deg":75.3821184,"latitude_deg":12.0468352,"altitude":54,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6600","hex_latitude":"072e3380","is_valid_coordinates":true} 
[2026-08-08 13:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261246720001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271000226496997376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786176748000,"timestamp_ms":1786176748000,"timestamp_seconds":1786176748,"priority":1,"record_length":96,"hex_timestamp":"0000019fe06e39e0"} 
[2026-08-08 13:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 13:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:53: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-08-08 13:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261246720001,"66":27158,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1271000226496997376},"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-08-08 13:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261246720001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:53:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:53:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271000226496997376,"description":"Unknown IO ID 44"} 
[2026-08-08 13:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261246720001,"power":27158,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1271000226496997376}} 
[2026-08-08 13:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":152979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:53:16] local.INFO: GPS data processed {"connection_id":152979,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:53:16] local.INFO: Acknowledgment sent {"connection_id":152979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:53:20] local.INFO: TCP Data received {"connection_id":152979,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe072d1a8012cee6fc0072e2c00003700692c..."} 
[2026-08-08 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe072d1a8012cee6fc0072e2c00003700692c..."} 
[2026-08-08 13:53:20] local.INFO: Processing buffer {"connection_id":152979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe072d1a8012cee6fc0072e2c00003700692c..."} 
[2026-08-08 13:53:20] local.INFO: Packet analysis {"connection_id":152979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe072"} 
[2026-08-08 13:53:20] local.INFO: Extracted packet for processing {"connection_id":152979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe072"} 
[2026-08-08 13:53:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261247488001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1268326214218317824,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786177049000,"timestamp_ms":1786177049000,"timestamp_seconds":1786177049,"priority":1,"record_length":96,"hex_timestamp":"0000019fe072d1a8"} 
[2026-08-08 13:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:53: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-08-08 13: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 13:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:53: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-08-08 13:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261247488001,"66":26028,"217":206,"83":44032,"24":0,"16":375452786747244544,"44":-1268326214218317824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-08-08 13:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261247488001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:53:20] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 13:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1268326214218317824,"description":"Unknown IO ID 44"} 
[2026-08-08 13:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261247488001,"power":26028,"unknown_217":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1268326214218317824}} 
[2026-08-08 13:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":152979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:53:20] local.INFO: GPS data processed {"connection_id":152979,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:53:20] local.INFO: Acknowledgment sent {"connection_id":152979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:53:31] local.INFO: TCP Data received {"connection_id":150272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:53:31] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:53:31] local.INFO: IMEI packet received {"connection_id":150272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":150272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:53:34] local.INFO: TCP Data received {"connection_id":150272,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:53:34] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:53:34] local.INFO: IMEI packet received {"connection_id":150272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":150272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:53:35] local.INFO: TCP Data received {"connection_id":150272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0768ac8012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0768ac8012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:53:35] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0768ac8012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:53:35] local.INFO: Packet analysis {"connection_id":150272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe076"} 
[2026-08-08 13:53:35] local.INFO: Extracted packet for processing {"connection_id":150272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe076"} 
[2026-08-08 13:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261381632001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786177293000,"timestamp_ms":1786177293000,"timestamp_seconds":1786177293,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0768ac8"} 
[2026-08-08 13:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 13:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261381632001,"66":12863,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261381632001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:53:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261381632001,"power":12863,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":150272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:53:35] local.INFO: GPS data processed {"connection_id":150272,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:53:35] local.INFO: Acknowledgment sent {"connection_id":150272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:54:05] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:54:05] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:54:05] local.INFO: IMEI packet received {"connection_id":151492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:54:06] local.INFO: TCP Data received {"connection_id":150272,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe076dcd0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe076dcd0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:54:06] local.INFO: Processing buffer {"connection_id":150272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe076dcd0012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:54:06] local.INFO: Packet analysis {"connection_id":150272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe076"} 
[2026-08-08 13:54:06] local.INFO: Extracted packet for processing {"connection_id":150272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe076"} 
[2026-08-08 13:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261387008001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786177314000,"timestamp_ms":1786177314000,"timestamp_seconds":1786177314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe076dcd0"} 
[2026-08-08 13:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:54: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-08-08 13:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-08 13:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261387008001,"66":12841,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261387008001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:54:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261387008001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":150272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:54:06] local.INFO: GPS data processed {"connection_id":150272,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:54:06] local.INFO: Acknowledgment sent {"connection_id":150272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:54:10] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:54:10] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:54:10] local.INFO: IMEI packet received {"connection_id":151492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":151492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:54:11] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:54:11] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:54:11] local.INFO: Packet analysis {"connection_id":151492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:54:11] local.INFO: Extracted packet for processing {"connection_id":151492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:54: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-08-08 13:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:54:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":151492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:54:11] local.INFO: GPS data processed {"connection_id":151492,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:54:11] local.INFO: Acknowledgment sent {"connection_id":151492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:54:31] local.INFO: TCP Data received {"connection_id":150273,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:54:31] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:54:31] local.INFO: IMEI packet received {"connection_id":150273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":150273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:54:35] local.INFO: TCP Data received {"connection_id":150273,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:54:35] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:54:35] local.INFO: IMEI packet received {"connection_id":150273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":150273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:54:36] local.INFO: TCP Data received {"connection_id":150273,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0772ed8012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0772ed8012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:54:36] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0772ed8012d1a38800723bfd0003000cb2a..."} 
[2026-08-08 13:54:36] local.INFO: Packet analysis {"connection_id":150273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:54:36] local.INFO: Extracted packet for processing {"connection_id":150273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261392384001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786177335000,"timestamp_ms":1786177335000,"timestamp_seconds":1786177335,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0772ed8"} 
[2026-08-08 13:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:54: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-08-08 13:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 13:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261392384001,"66":12776,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261392384001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:54:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261392384001,"power":12776,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":150273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:54:36] local.INFO: GPS data processed {"connection_id":150273,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:54:36] local.INFO: Acknowledgment sent {"connection_id":150273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:54:42] local.INFO: TCP Data received {"connection_id":151492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:54:42] local.INFO: Processing buffer {"connection_id":151492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:54:42] local.INFO: Packet analysis {"connection_id":151492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:54:42] local.INFO: Extracted packet for processing {"connection_id":151492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13: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-08-08 13:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:54: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-08-08 13:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":151492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:54:42] local.INFO: GPS data processed {"connection_id":151492,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:54:42] local.INFO: Acknowledgment sent {"connection_id":151492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:55:07] local.INFO: TCP Data received {"connection_id":150273,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07780e0012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07780e0012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:55:07] local.INFO: Processing buffer {"connection_id":150273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07780e0012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:55:07] local.INFO: Packet analysis {"connection_id":150273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:07] local.INFO: Extracted packet for processing {"connection_id":150273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261397760001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786177356000,"timestamp_ms":1786177356000,"timestamp_seconds":1786177356,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07780e0"} 
[2026-08-08 13:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 13:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261397760001,"66":12722,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261397760001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261397760001,"power":12722,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":150273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:55:07] local.INFO: GPS data processed {"connection_id":150273,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:55:07] local.INFO: Acknowledgment sent {"connection_id":150273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:55:08] local.INFO: TCP Data received {"connection_id":150274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:55:08] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:55:08] local.INFO: IMEI packet received {"connection_id":150274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":150274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:55:10] local.INFO: TCP Data received {"connection_id":150274,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:55:10] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:55:10] local.INFO: IMEI packet received {"connection_id":150274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":150274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:55:10] local.INFO: TCP Data received {"connection_id":150274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:10] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:10] local.INFO: Packet analysis {"connection_id":150274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:10] local.INFO: Extracted packet for processing {"connection_id":150274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 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-08-08 13: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-08-08 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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:55:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":150274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:55:10] local.INFO: GPS data processed {"connection_id":150274,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:55:10] local.INFO: Acknowledgment sent {"connection_id":150274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:55:15] local.INFO: TCP Data received {"connection_id":150274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:15] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:15] local.INFO: Packet analysis {"connection_id":150274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:15] local.INFO: Extracted packet for processing {"connection_id":150274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:55:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":150274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:55:15] local.INFO: GPS data processed {"connection_id":150274,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:55:15] local.INFO: Acknowledgment sent {"connection_id":150274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:55:30] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:55:30] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:55:30] local.INFO: IMEI packet received {"connection_id":151493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":151493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:55:36] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:55:36] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:55:36] local.INFO: IMEI packet received {"connection_id":151493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":151493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:55:36] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe077d2e8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe077d2e8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:55:36] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe077d2e8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:55:36] local.INFO: Packet analysis {"connection_id":151493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:36] local.INFO: Extracted packet for processing {"connection_id":151493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261403136001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786177377000,"timestamp_ms":1786177377000,"timestamp_seconds":1786177377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe077d2e8"} 
[2026-08-08 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-08-08 13:55: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-08-08 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 13:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 13:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261403136001,"66":12711,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261403136001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:55:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261403136001,"power":12711,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":151493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:55:36] local.INFO: GPS data processed {"connection_id":151493,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:55:36] local.INFO: Acknowledgment sent {"connection_id":151493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:55:47] local.INFO: TCP Data received {"connection_id":150274,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:47] local.INFO: Processing buffer {"connection_id":150274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:55:47] local.INFO: Packet analysis {"connection_id":150274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:47] local.INFO: Extracted packet for processing {"connection_id":150274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:55: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-08-08 13:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:55:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":150274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:55:47] local.INFO: GPS data processed {"connection_id":150274,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:55:47] local.INFO: Acknowledgment sent {"connection_id":150274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:56:07] local.INFO: TCP Data received {"connection_id":151493,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0782108012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0782108012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:56:07] local.INFO: Processing buffer {"connection_id":151493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0782108012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:56:07] local.INFO: Packet analysis {"connection_id":151493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe078"} 
[2026-08-08 13:56:07] local.INFO: Extracted packet for processing {"connection_id":151493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe078"} 
[2026-08-08 13:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261408512001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786177397000,"timestamp_ms":1786177397000,"timestamp_seconds":1786177397,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0782108"} 
[2026-08-08 13:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 13:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261408512001,"66":12667,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261408512001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261408512001,"power":12667,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":151493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:56:08] local.INFO: GPS data processed {"connection_id":151493,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:56:08] local.INFO: Acknowledgment sent {"connection_id":151493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:56:10] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:56:10] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:56:10] local.INFO: IMEI packet received {"connection_id":152980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":152980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:56:15] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:56:15] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:56:15] local.INFO: IMEI packet received {"connection_id":152980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":152980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:56:16] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:56:16] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:56:16] local.INFO: Packet analysis {"connection_id":152980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:56:16] local.INFO: Extracted packet for processing {"connection_id":152980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:56: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-08-08 13:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:56:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":152980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:56:16] local.INFO: GPS data processed {"connection_id":152980,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:56:16] local.INFO: Acknowledgment sent {"connection_id":152980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:56:20] local.INFO: TCP Data received {"connection_id":152980,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:56:20] local.INFO: Processing buffer {"connection_id":152980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:56:20] local.INFO: Packet analysis {"connection_id":152980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:56:20] local.INFO: Extracted packet for processing {"connection_id":152980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:56: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-08-08 13:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 13:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":152980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:56:20] local.INFO: GPS data processed {"connection_id":152980,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:56:20] local.INFO: Acknowledgment sent {"connection_id":152980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:56:30] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:56:30] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:56:30] local.INFO: IMEI packet received {"connection_id":151494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":151494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:56:36] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:56:36] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:56:36] local.INFO: IMEI packet received {"connection_id":151494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":151494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:56:36] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07876f8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07876f8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:56:37] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07876f8012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:56:37] local.INFO: Packet analysis {"connection_id":151494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe078"} 
[2026-08-08 13:56:37] local.INFO: Extracted packet for processing {"connection_id":151494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe078"} 
[2026-08-08 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261413632001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786177419000,"timestamp_ms":1786177419000,"timestamp_seconds":1786177419,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07876f8"} 
[2026-08-08 13:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:56: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-08-08 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 13:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261413632001,"66":12613,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261413632001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261413632001,"power":12613,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":151494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:56:37] local.INFO: GPS data processed {"connection_id":151494,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:56:37] local.INFO: Acknowledgment sent {"connection_id":151494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:57:05] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:57:05] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:57:05] local.INFO: IMEI packet received {"connection_id":151495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":151495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:57:08] local.INFO: TCP Data received {"connection_id":151494,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe078c900012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe078c900012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:57:08] local.INFO: Processing buffer {"connection_id":151494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe078c900012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:57:08] local.INFO: Packet analysis {"connection_id":151494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe078"} 
[2026-08-08 13:57:08] local.INFO: Extracted packet for processing {"connection_id":151494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe078"} 
[2026-08-08 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261419264001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786177440000,"timestamp_ms":1786177440000,"timestamp_seconds":1786177440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe078c900"} 
[2026-08-08 13:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-08 13:57: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-08-08 13:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261419264001,"66":12537,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261419264001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:57:08] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261419264001,"power":12537,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":151494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:57:08] local.INFO: GPS data processed {"connection_id":151494,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:57:08] local.INFO: Acknowledgment sent {"connection_id":151494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:57:10] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:57:10] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:57:10] local.INFO: IMEI packet received {"connection_id":151495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":151495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:57:11] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:57:11] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:57:11] local.INFO: Packet analysis {"connection_id":151495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:57:11] local.INFO: Extracted packet for processing {"connection_id":151495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":151495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:57:11] local.INFO: GPS data processed {"connection_id":151495,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:57:11] local.INFO: Acknowledgment sent {"connection_id":151495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:57:36] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:57:36] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:57:36] local.INFO: IMEI packet received {"connection_id":152981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":152981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:57:41] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:57:41] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:57:41] local.INFO: IMEI packet received {"connection_id":152981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":152981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:57:41] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0791b08012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0791b08012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:57:41] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0791b08012d1a38800723bfd0003000cb2c..."} 
[2026-08-08 13:57:41] local.INFO: Packet analysis {"connection_id":152981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe079"} 
[2026-08-08 13:57:41] local.INFO: Extracted packet for processing {"connection_id":152981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe079"} 
[2026-08-08 13:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261424640001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786177461000,"timestamp_ms":1786177461000,"timestamp_seconds":1786177461,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0791b08"} 
[2026-08-08 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-08-08 13:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 13:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261424640001,"66":12558,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261424640001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:57:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261424640001,"power":12558,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":152981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:57:41] local.INFO: GPS data processed {"connection_id":152981,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:57:41] local.INFO: Acknowledgment sent {"connection_id":152981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:57:42] local.INFO: TCP Data received {"connection_id":151495,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:57:42] local.INFO: Processing buffer {"connection_id":151495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0776970012cee6fc0072e2c00003700692a..."} 
[2026-08-08 13:57:42] local.INFO: Packet analysis {"connection_id":151495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:57:42] local.INFO: Extracted packet for processing {"connection_id":151495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe077"} 
[2026-08-08 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177350000,"timestamp_ms":1786177350000,"timestamp_seconds":1786177350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0776970"} 
[2026-08-08 13:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 13:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13: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-08-08 13:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261324544001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261324544001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":151495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:57:42] local.INFO: GPS data processed {"connection_id":151495,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:57:42] local.INFO: Acknowledgment sent {"connection_id":151495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:57:46] local.INFO: TCP Data received {"connection_id":152981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0796d10012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0796d10012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:57:46] local.INFO: Processing buffer {"connection_id":152981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0796d10012d1a38800723bfd0003000cb2b..."} 
[2026-08-08 13:57:46] local.INFO: Packet analysis {"connection_id":152981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe079"} 
[2026-08-08 13:57:46] local.INFO: Extracted packet for processing {"connection_id":152981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe079"} 
[2026-08-08 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261430016001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786177482000,"timestamp_ms":1786177482000,"timestamp_seconds":1786177482,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0796d10"} 
[2026-08-08 13:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3765907160,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249972203627986896,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3218079792,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2147951551,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397023,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2961637376,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3026645808272381952,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-08-08 13:57:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,42,83,24,241,157,16,176,159,201,45,128,191,48,43,10,66,118,33,1,240,123,227,224,35,4,113,205,56,208,239,49,2,40,7,95,75,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-08-08 13:57:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458987903659540480,"timestamp_seconds":3458987903659540.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 13:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261430016001,"66":12504,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261430016001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:57:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261430016001,"power":12504,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":152981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:57:46] local.INFO: GPS data processed {"connection_id":152981,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:57:46] local.INFO: Acknowledgment sent {"connection_id":152981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:58:05] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:58:05] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:58:05] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:58:09] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:58:09] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:58:09] local.INFO: IMEI packet received {"connection_id":152982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":152982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:58:10] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:58:10] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:58:10] local.INFO: Packet analysis {"connection_id":152982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:58:10] local.INFO: Extracted packet for processing {"connection_id":152982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:58:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 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-08-08 13: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-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 13:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":152982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:58: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-08-08 13:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:58:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":152982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:58:10] local.INFO: GPS data processed {"connection_id":152982,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:58:10] local.INFO: Acknowledgment sent {"connection_id":152982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:58:31] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:58:31] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:58:31] local.INFO: IMEI packet received {"connection_id":151496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":151496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:58:36] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:58:36] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:58:36] local.INFO: IMEI packet received {"connection_id":151496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":151496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:58:37] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:58:37] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:58:37] local.INFO: Packet analysis {"connection_id":151496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:58:37] local.INFO: Extracted packet for processing {"connection_id":151496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:58: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-08-08 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261479680001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786177658000,"timestamp_ms":1786177658000,"timestamp_seconds":1786177658,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c1c90"} 
[2026-08-08 13:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:58: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-08-08 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 13:58: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-08-08 13:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261479680001,"66":2514,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261479680001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:58:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261479680001,"power":2514,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":151496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:58:37] local.INFO: GPS data processed {"connection_id":151496,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:58:37] local.INFO: Acknowledgment sent {"connection_id":151496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:58:41] local.INFO: TCP Data received {"connection_id":152982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:58:41] local.INFO: Processing buffer {"connection_id":152982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:58:41] local.INFO: Packet analysis {"connection_id":152982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:58:41] local.INFO: Extracted packet for processing {"connection_id":152982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 13:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 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-08-08 13: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-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 13:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 13:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:58:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":152982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:58:41] local.INFO: GPS data processed {"connection_id":152982,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:58:41] local.INFO: Acknowledgment sent {"connection_id":152982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:59:05] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:59:05] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:59:05] local.INFO: IMEI packet received {"connection_id":151497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":151497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:59:07] local.INFO: TCP Data received {"connection_id":151496,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:59:07] local.INFO: Processing buffer {"connection_id":151496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:59:07] local.INFO: Packet analysis {"connection_id":151496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:07] local.INFO: Extracted packet for processing {"connection_id":151496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261480448001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786177658000,"timestamp_ms":1786177658000,"timestamp_seconds":1786177658,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c1c90"} 
[2026-08-08 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-08-08 13:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261480448001,"66":2514,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261480448001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261480448001,"power":2514,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":151496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:59:07] local.INFO: GPS data processed {"connection_id":151496,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:59:07] local.INFO: Acknowledgment sent {"connection_id":151496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:59:10] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:59:10] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 13:59:10] local.INFO: IMEI packet received {"connection_id":151497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":151497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:59:11] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:59:11] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:59:11] local.INFO: Packet analysis {"connection_id":151497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:11] local.INFO: Extracted packet for processing {"connection_id":151497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 13:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 13:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:59:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":151497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:59:11] local.INFO: GPS data processed {"connection_id":151497,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:59:11] local.INFO: Acknowledgment sent {"connection_id":151497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:59:40] local.INFO: TCP Data received {"connection_id":152983,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:59:40] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:59:40] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 13:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 13:59:42] local.INFO: TCP Data received {"connection_id":151497,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:59:42] local.INFO: Processing buffer {"connection_id":151497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 13:59:42] local.INFO: Packet analysis {"connection_id":151497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:42] local.INFO: Extracted packet for processing {"connection_id":151497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 13:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 13:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 13:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 13:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 13:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 13:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 13:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 13:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 13:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:59:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 13:59:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 13:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 13:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 13:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":151497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:59:42] local.INFO: GPS data processed {"connection_id":151497,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:59:42] local.INFO: Acknowledgment sent {"connection_id":151497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 13:59:45] local.INFO: TCP Data received {"connection_id":152983,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:59:45] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 13:59:45] local.INFO: IMEI packet received {"connection_id":152983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":152983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 13:59:46] local.INFO: TCP Data received {"connection_id":152983,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:59:46] local.INFO: Processing buffer {"connection_id":152983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c1c90012d1a38800723bfd0003000cb2d..."} 
[2026-08-08 13:59:46] local.INFO: Packet analysis {"connection_id":152983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:46] local.INFO: Extracted packet for processing {"connection_id":152983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756693120,"raw_latitude":119783376,"longitude_deg":75.669312,"latitude_deg":11.9783376,"altitude":48,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d1a3880","hex_latitude":"0723bfd0","is_valid_coordinates":true} 
[2026-08-08 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 13:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261480448001,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11453092935499776,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811834822656,"note":"Value kept but may cause issues"} 
[2026-08-08 13:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 13:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786177658000,"timestamp_ms":1786177658000,"timestamp_seconds":1786177658,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c1c90"} 
[2026-08-08 13:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 13: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-08-08 13:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 13: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-08-08 13:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 13:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 13:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 13:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 13:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 13:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 13:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 13:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261480448001,"66":2514,"42":206,"83":42752,"24":0,"16":11453092935499776,"45":1889400811834822656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-08 13:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 13:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 13:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261480448001,"description":"Unknown IO ID 0"} 
[2026-08-08 13:59:46] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 13:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-08 13:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11453092935499776,"km_value":11453092935499.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 13:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811834822656,"description":"Unknown IO ID 45"} 
[2026-08-08 13:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261480448001,"power":2514,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1889400811834822656}} 
[2026-08-08 13:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":152983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 13:59:46] local.INFO: GPS data processed {"connection_id":152983,"processed":1,"errors":0,"total":1} 
[2026-08-08 13:59:46] local.INFO: Acknowledgment sent {"connection_id":152983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:00:05] local.INFO: TCP Data received {"connection_id":150275,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:00:05] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:00:05] local.INFO: IMEI packet received {"connection_id":150275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":150275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:00:10] local.INFO: TCP Data received {"connection_id":150275,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:00:10] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:00:10] local.INFO: IMEI packet received {"connection_id":150275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":150275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:00:11] local.INFO: TCP Data received {"connection_id":150275,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:00:11] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:00:11] local.INFO: Packet analysis {"connection_id":150275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:00:11] local.INFO: Extracted packet for processing {"connection_id":150275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 14:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:00:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":150275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:00:11] local.INFO: GPS data processed {"connection_id":150275,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:00:11] local.INFO: Acknowledgment sent {"connection_id":150275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:00:42] local.INFO: TCP Data received {"connection_id":150275,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:00:42] local.INFO: Processing buffer {"connection_id":150275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:00:42] local.INFO: Packet analysis {"connection_id":150275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:00:42] local.INFO: Extracted packet for processing {"connection_id":150275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 14:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":150275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:00:42] local.INFO: GPS data processed {"connection_id":150275,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:00:42] local.INFO: Acknowledgment sent {"connection_id":150275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:01:04] local.INFO: TCP Data received {"connection_id":150276,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:01:04] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:01:04] local.INFO: IMEI packet received {"connection_id":150276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":150276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:01:10] local.INFO: TCP Data received {"connection_id":150276,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:01:10] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:01:10] local.INFO: IMEI packet received {"connection_id":150276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":150276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:01:11] local.INFO: TCP Data received {"connection_id":150276,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:01:11] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:01:11] local.INFO: Packet analysis {"connection_id":150276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:01:11] local.INFO: Extracted packet for processing {"connection_id":150276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:01:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 14:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:01:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":150276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:01:11] local.INFO: GPS data processed {"connection_id":150276,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:01:11] local.INFO: Acknowledgment sent {"connection_id":150276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:01:35] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:01:35] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:01:35] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:01:40] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:01:40] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:01:40] local.INFO: IMEI packet received {"connection_id":152984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":152984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:01:41] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07ea8e8012d18e2400722f968006001282c..."} 
[2026-08-08 14:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07ea8e8012d18e2400722f968006001282c..."} 
[2026-08-08 14:01:41] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07ea8e8012d18e2400722f968006001282c..."} 
[2026-08-08 14:01:41] local.INFO: Packet analysis {"connection_id":152984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07e"} 
[2026-08-08 14:01:41] local.INFO: Extracted packet for processing {"connection_id":152984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07e"} 
[2026-08-08 14:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756605504,"raw_latitude":119732584,"longitude_deg":75.6605504,"latitude_deg":11.9732584,"altitude":96,"angle":296,"satellites":44,"speed":40,"hex_longitude":"2d18e240","hex_latitude":"0722f968","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261522688001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11458298435862528,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795177063367749632,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786177825000,"timestamp_ms":1786177825000,"timestamp_seconds":1786177825,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07ea8e8"} 
[2026-08-08 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-08-08 14:01: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-08-08 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 14:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261522688001,"66":13993,"238":206,"83":43776,"24":40,"16":11458298435862528,"45":1795177063367749632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-08-08 14:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261522688001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:01:41] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-08 14:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 14:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11458298435862528,"km_value":11458298435862.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795177063367749632,"description":"Unknown IO ID 45"} 
[2026-08-08 14:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261522688001,"power":13993,"unknown_238":206,"unknown_83":43776,"ignition":40,"odometer":null,"unknown_45":1795177063367749632}} 
[2026-08-08 14:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":152984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:01:41] local.INFO: GPS data processed {"connection_id":152984,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:01:41] local.INFO: Acknowledgment sent {"connection_id":152984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:01:42] local.INFO: TCP Data received {"connection_id":150276,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:01:42] local.INFO: Processing buffer {"connection_id":150276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:01:42] local.INFO: Packet analysis {"connection_id":150276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:01:42] local.INFO: Extracted packet for processing {"connection_id":150276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:01:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":150276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:01:42] local.INFO: GPS data processed {"connection_id":150276,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:01:42] local.INFO: Acknowledgment sent {"connection_id":150276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:02:10] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:02:10] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:02:10] local.INFO: IMEI packet received {"connection_id":151498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":151498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:02:13] local.INFO: TCP Data received {"connection_id":152984,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07f77f0012d18930007225780006200d528..."} 
[2026-08-08 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07f77f0012d18930007225780006200d528..."} 
[2026-08-08 14:02:13] local.INFO: Processing buffer {"connection_id":152984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07f77f0012d18930007225780006200d528..."} 
[2026-08-08 14:02:13] local.INFO: Packet analysis {"connection_id":152984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:02:13] local.INFO: Extracted packet for processing {"connection_id":152984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756585216,"raw_latitude":119691136,"longitude_deg":75.6585216,"latitude_deg":11.9691136,"altitude":98,"angle":213,"satellites":40,"speed":55,"hex_longitude":"2d189300","hex_latitude":"07225780","is_valid_coordinates":true} 
[2026-08-08 14:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261535232001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11461017150160896,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774840496291751936,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786177878000,"timestamp_ms":1786177878000,"timestamp_seconds":1786177878,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07f77f0"} 
[2026-08-08 14:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:02: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-08-08 14:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-08 14:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261535232001,"66":13928,"105":206,"83":41984,"24":55,"16":11461017150160896,"45":1774840496291751936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261535232001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:02:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11461017150160896,"km_value":11461017150160.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774840496291751936,"description":"Unknown IO ID 45"} 
[2026-08-08 14:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261535232001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1774840496291751936}} 
[2026-08-08 14:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":152984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:02:13] local.INFO: GPS data processed {"connection_id":152984,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:02:13] local.INFO: Acknowledgment sent {"connection_id":152984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:02:15] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:02:15] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:02:15] local.INFO: IMEI packet received {"connection_id":151498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":151498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:02:16] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:02:16] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:02:16] local.INFO: Packet analysis {"connection_id":151498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:02:16] local.INFO: Extracted packet for processing {"connection_id":151498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:02:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 14:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:02:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:02:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:02:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":151498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:02:16] local.INFO: GPS data processed {"connection_id":151498,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:02:16] local.INFO: Acknowledgment sent {"connection_id":151498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:02:20] local.INFO: TCP Data received {"connection_id":151498,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:02:20] local.INFO: Processing buffer {"connection_id":151498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07c0138012cee6fc0072e2c00003700692b..."} 
[2026-08-08 14:02:20] local.INFO: Packet analysis {"connection_id":151498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:02:20] local.INFO: Extracted packet for processing {"connection_id":151498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07c"} 
[2026-08-08 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261401600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786177651000,"timestamp_ms":1786177651000,"timestamp_seconds":1786177651,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07c0138"} 
[2026-08-08 14:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:02: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-08-08 14:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261401600001,"66":25756,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261401600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:02:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261401600001,"power":25756,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":151498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:02:20] local.INFO: GPS data processed {"connection_id":151498,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:02:20] local.INFO: Acknowledgment sent {"connection_id":151498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:02:36] local.INFO: TCP Data received {"connection_id":150277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:02:36] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:02:36] local.INFO: IMEI packet received {"connection_id":150277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:02:38] local.INFO: TCP Data received {"connection_id":150277,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:02:38] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:02:38] local.INFO: IMEI packet received {"connection_id":150277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":150277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:02:39] local.INFO: TCP Data received {"connection_id":150277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07f9348012d187d0007223728005b00d528..."} 
[2026-08-08 14:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07f9348012d187d0007223728005b00d528..."} 
[2026-08-08 14:02:39] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07f9348012d187d0007223728005b00d528..."} 
[2026-08-08 14:02:39] local.INFO: Packet analysis {"connection_id":150277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:02:39] local.INFO: Extracted packet for processing {"connection_id":150277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756579584,"raw_latitude":119682856,"longitude_deg":75.6579584,"latitude_deg":11.9682856,"altitude":91,"angle":213,"satellites":40,"speed":57,"hex_longitude":"2d187d00","hex_latitude":"07223728","is_valid_coordinates":true} 
[2026-08-08 14:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261536768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11461498186498048,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770759109127667712,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786177885000,"timestamp_ms":1786177885000,"timestamp_seconds":1786177885,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07f9348"} 
[2026-08-08 14:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:02: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-08-08 14:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 14:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261536768001,"66":13722,"105":206,"83":41984,"24":57,"16":11461498186498048,"45":1770759109127667712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261536768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11461498186498048,"km_value":11461498186498.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770759109127667712,"description":"Unknown IO ID 45"} 
[2026-08-08 14:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261536768001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1770759109127667712}} 
[2026-08-08 14:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":150277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:02:39] local.INFO: GPS data processed {"connection_id":150277,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:02:39] local.INFO: Acknowledgment sent {"connection_id":150277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:02:39] local.INFO: TCP Data received {"connection_id":150277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07faea0012d18664007221590005400d627..."} 
[2026-08-08 14:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07faea0012d18664007221590005400d627..."} 
[2026-08-08 14:02:39] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07faea0012d18664007221590005400d627..."} 
[2026-08-08 14:02:39] local.INFO: Packet analysis {"connection_id":150277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:02:39] local.INFO: Extracted packet for processing {"connection_id":150277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756573760,"raw_latitude":119674256,"longitude_deg":75.657376,"latitude_deg":11.9674256,"altitude":84,"angle":214,"satellites":39,"speed":59,"hex_longitude":"2d186640","hex_latitude":"07221590","is_valid_coordinates":true} 
[2026-08-08 14:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261538560001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11461996402704384,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764566659637913600,"note":"Value kept but may cause issues"} 
[2026-08-08 14:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786177892000,"timestamp_ms":1786177892000,"timestamp_seconds":1786177892,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07faea0"} 
[2026-08-08 14:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:02: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-08-08 14:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-08 14:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261538560001,"66":14265,"105":206,"83":41984,"24":59,"16":11461996402704384,"45":1764566659637913600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261538560001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11461996402704384,"km_value":11461996402704.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764566659637913600,"description":"Unknown IO ID 45"} 
[2026-08-08 14:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261538560001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":59,"odometer":null,"unknown_45":1764566659637913600}} 
[2026-08-08 14:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":150277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:02:39] local.INFO: GPS data processed {"connection_id":150277,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:02:39] local.INFO: Acknowledgment sent {"connection_id":150277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:03:05] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:03:05] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:03:05] local.INFO: IMEI packet received {"connection_id":150536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":150536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:03:10] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:03:10] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:03:10] local.INFO: IMEI packet received {"connection_id":150536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":150536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:03:10] local.INFO: TCP Data received {"connection_id":150277,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07fc610012d1851c00721f898004f00d628..."} 
[2026-08-08 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07fc610012d1851c00721f898004f00d628..."} 
[2026-08-08 14:03:10] local.INFO: Processing buffer {"connection_id":150277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07fc610012d1851c00721f898004f00d628..."} 
[2026-08-08 14:03:10] local.INFO: Packet analysis {"connection_id":150277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:03:10] local.INFO: Extracted packet for processing {"connection_id":150277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756568512,"raw_latitude":119666840,"longitude_deg":75.6568512,"latitude_deg":11.966684,"altitude":79,"angle":214,"satellites":40,"speed":60,"hex_longitude":"2d1851c0","hex_latitude":"0721f898","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261540352001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11462434489368576,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758163103915544576,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03: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-08-08 14:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786177898000,"timestamp_ms":1786177898000,"timestamp_seconds":1786177898,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07fc610"} 
[2026-08-08 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-08-08 14:03: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-08-08 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 14:03: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-08-08 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-08-08 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-08-08 14:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261540352001,"66":14265,"105":206,"83":41984,"24":60,"16":11462434489368576,"45":1758163103915544576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261540352001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:03:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11462434489368576,"km_value":11462434489368.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758163103915544576,"description":"Unknown IO ID 45"} 
[2026-08-08 14:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261540352001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":60,"odometer":null,"unknown_45":1758163103915544576}} 
[2026-08-08 14:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":150277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:03:10] local.INFO: GPS data processed {"connection_id":150277,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:03:10] local.INFO: Acknowledgment sent {"connection_id":150277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:03:11] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:03:11] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:03:11] local.INFO: Packet analysis {"connection_id":150536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:03:11] local.INFO: Extracted packet for processing {"connection_id":150536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:03:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:03:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":150536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:03:11] local.INFO: GPS data processed {"connection_id":150536,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:03:11] local.INFO: Acknowledgment sent {"connection_id":150536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:03:31] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:03:31] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:03:31] local.INFO: IMEI packet received {"connection_id":152985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":152985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:03:36] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:03:36] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:03:36] local.INFO: IMEI packet received {"connection_id":152985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":152985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:03:36] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe07fe168012d183d000721d8a8004a00d42a..."} 
[2026-08-08 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe07fe168012d183d000721d8a8004a00d42a..."} 
[2026-08-08 14:03:36] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe07fe168012d183d000721d8a8004a00d42a..."} 
[2026-08-08 14:03:36] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:03:36] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe07f"} 
[2026-08-08 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756563200,"raw_latitude":119658664,"longitude_deg":75.65632,"latitude_deg":11.9658664,"altitude":74,"angle":212,"satellites":42,"speed":50,"hex_longitude":"2d183d00","hex_latitude":"0721d8a8","is_valid_coordinates":true} 
[2026-08-08 14:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261541888001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11462906935771136,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752392866891077632,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03: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-08-08 14:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786177905000,"timestamp_ms":1786177905000,"timestamp_seconds":1786177905,"priority":1,"record_length":96,"hex_timestamp":"0000019fe07fe168"} 
[2026-08-08 14:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:03: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-08-08 14:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 14:03: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-08-08 14:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261541888001,"66":13928,"105":206,"83":41984,"24":50,"16":11462906935771136,"45":1752392866891077632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261541888001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11462906935771136,"km_value":11462906935771.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752392866891077632,"description":"Unknown IO ID 45"} 
[2026-08-08 14:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261541888001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1752392866891077632}} 
[2026-08-08 14:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:03:36] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:03:36] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:03:41] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08000a8012d1829800721bb30004600d42a..."} 
[2026-08-08 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08000a8012d1829800721bb30004600d42a..."} 
[2026-08-08 14:03:41] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08000a8012d1829800721bb30004600d42a..."} 
[2026-08-08 14:03:41] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:03:41] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119651120,"longitude_deg":75.6558208,"latitude_deg":11.965112,"altitude":70,"angle":212,"satellites":42,"speed":40,"hex_longitude":"2d182980","hex_latitude":"0721bb30","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261543680001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11463340727468032,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746552261122238464,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03: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-08-08 14:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786177913000,"timestamp_ms":1786177913000,"timestamp_seconds":1786177913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08000a8"} 
[2026-08-08 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-08-08 14:03: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-08-08 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 14:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261543680001,"66":13993,"105":206,"83":41984,"24":40,"16":11463340727468032,"45":1746552261122238464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261543680001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:03:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11463340727468032,"km_value":11463340727468.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746552261122238464,"description":"Unknown IO ID 45"} 
[2026-08-08 14:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261543680001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1746552261122238464}} 
[2026-08-08 14:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:03:41] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:03:41] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:03:42] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:03:42] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:03:42] local.INFO: Packet analysis {"connection_id":150536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:03:42] local.INFO: Extracted packet for processing {"connection_id":150536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:03:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":150536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:03:42] local.INFO: GPS data processed {"connection_id":150536,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:03:42] local.INFO: Acknowledgment sent {"connection_id":150536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:04:04] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:04:04] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:04:04] local.INFO: IMEI packet received {"connection_id":151499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:04:10] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:04:10] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:04:10] local.INFO: IMEI packet received {"connection_id":151499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":151499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:04:11] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:04:11] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:04:11] local.INFO: Packet analysis {"connection_id":151499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:11] local.INFO: Extracted packet for processing {"connection_id":151499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:04:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:04:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":151499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:04:11] local.INFO: GPS data processed {"connection_id":151499,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:04:11] local.INFO: Acknowledgment sent {"connection_id":151499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:04:12] local.INFO: TCP Data received {"connection_id":152985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0801c00012d181f400721aa88004600c929..."} 
[2026-08-08 14:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0801c00012d181f400721aa88004600c929..."} 
[2026-08-08 14:04:12] local.INFO: Processing buffer {"connection_id":152985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0801c00012d181f400721aa88004600c929..."} 
[2026-08-08 14:04:12] local.INFO: Packet analysis {"connection_id":152985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:12] local.INFO: Extracted packet for processing {"connection_id":152985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646856,"longitude_deg":75.6555584,"latitude_deg":11.9646856,"altitude":70,"angle":201,"satellites":41,"speed":17,"hex_longitude":"2d181f40","hex_latitude":"0721aa88","is_valid_coordinates":true} 
[2026-08-08 14:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261545728001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11463585540603904,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499074449408,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786177920000,"timestamp_ms":1786177920000,"timestamp_seconds":1786177920,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0801c00"} 
[2026-08-08 14:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 14:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261545728001,"66":13961,"105":206,"83":41984,"24":17,"16":11463585540603904,"45":1741063499074449408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261545728001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:04:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11463585540603904,"km_value":11463585540603.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499074449408,"description":"Unknown IO ID 45"} 
[2026-08-08 14:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261545728001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1741063499074449408}} 
[2026-08-08 14:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":152985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:04:12] local.INFO: GPS data processed {"connection_id":152985,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:04:12] local.INFO: Acknowledgment sent {"connection_id":152985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:04:31] local.INFO: TCP Data received {"connection_id":150278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:04:31] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:04:31] local.INFO: IMEI packet received {"connection_id":150278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":150278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:04:36] local.INFO: TCP Data received {"connection_id":150278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:04:36] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:04:36] local.INFO: IMEI packet received {"connection_id":150278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":150278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:04:37] local.INFO: TCP Data received {"connection_id":150278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0801fe8012d181ec00721a920004600bd29..."} 
[2026-08-08 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0801fe8012d181ec00721a920004600bd29..."} 
[2026-08-08 14:04:37] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0801fe8012d181ec00721a920004600bd29..."} 
[2026-08-08 14:04:37] local.INFO: Packet analysis {"connection_id":150278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:37] local.INFO: Extracted packet for processing {"connection_id":150278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646496,"longitude_deg":75.6555456,"latitude_deg":11.9646496,"altitude":70,"angle":189,"satellites":41,"speed":14,"hex_longitude":"2d181ec0","hex_latitude":"0721a920","is_valid_coordinates":true} 
[2026-08-08 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261547520001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11463602720473088,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562073600,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786177921000,"timestamp_ms":1786177921000,"timestamp_seconds":1786177921,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0801fe8"} 
[2026-08-08 14:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:04: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-08-08 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-08 14:04: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-08-08 14:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261547520001,"66":13961,"105":206,"83":41984,"24":14,"16":11463602720473088,"45":1738178380562073600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261547520001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:04:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11463602720473088,"km_value":11463602720473.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562073600,"description":"Unknown IO ID 45"} 
[2026-08-08 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261547520001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1738178380562073600}} 
[2026-08-08 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":150278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:04:37] local.INFO: GPS data processed {"connection_id":150278,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:04:37] local.INFO: Acknowledgment sent {"connection_id":150278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:04:42] local.INFO: TCP Data received {"connection_id":151499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:04:42] local.INFO: Processing buffer {"connection_id":151499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:04:42] local.INFO: Packet analysis {"connection_id":151499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:42] local.INFO: Extracted packet for processing {"connection_id":151499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:04:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14: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-08-08 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:04: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-08-08 14:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:04:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":151499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:04:42] local.INFO: GPS data processed {"connection_id":151499,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:04:42] local.INFO: Acknowledgment sent {"connection_id":151499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:05:05] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:05:05] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:05:05] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:05:08] local.INFO: TCP Data received {"connection_id":150278,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0823328012d186d80072180e0004b005a2c..."} 
[2026-08-08 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0823328012d186d80072180e0004b005a2c..."} 
[2026-08-08 14:05:08] local.INFO: Processing buffer {"connection_id":150278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0823328012d186d80072180e0004b005a2c..."} 
[2026-08-08 14:05:08] local.INFO: Packet analysis {"connection_id":150278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe082"} 
[2026-08-08 14:05:08] local.INFO: Extracted packet for processing {"connection_id":150278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe082"} 
[2026-08-08 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756575616,"raw_latitude":119636192,"longitude_deg":75.6575616,"latitude_deg":11.9636192,"altitude":75,"angle":90,"satellites":44,"speed":37,"hex_longitude":"2d186d80","hex_latitude":"072180e0","is_valid_coordinates":true} 
[2026-08-08 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261582080001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11464719411970048,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417498112,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178057000,"timestamp_ms":1786178057000,"timestamp_seconds":1786178057,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0823328"} 
[2026-08-08 14:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:05: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-08-08 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 14:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261582080001,"66":12113,"106":206,"83":41984,"24":37,"16":11464719411970048,"45":1758022366417498112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261582080001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 14:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11464719411970048,"km_value":11464719411970.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417498112,"description":"Unknown IO ID 45"} 
[2026-08-08 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261582080001,"power":12113,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1758022366417498112}} 
[2026-08-08 14:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":150278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:05:08] local.INFO: GPS data processed {"connection_id":150278,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:05:08] local.INFO: Acknowledgment sent {"connection_id":150278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:05:10] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:05:10] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:05:10] local.INFO: IMEI packet received {"connection_id":152986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":152986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:05:14] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:05:14] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:05:14] local.INFO: Packet analysis {"connection_id":152986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:05:14] local.INFO: Extracted packet for processing {"connection_id":152986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:05:14] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":152986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":152986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":152986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:05:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":152986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:05:14] local.INFO: GPS data processed {"connection_id":152986,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:05:14] local.INFO: Acknowledgment sent {"connection_id":152986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:05:30] local.INFO: TCP Data received {"connection_id":150537,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:30] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:30] local.INFO: IMEI packet received {"connection_id":150537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":150537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:05:31] local.INFO: TCP Data received {"connection_id":150537,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:31] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:31] local.INFO: IMEI packet received {"connection_id":150537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":150537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:05:34] local.INFO: TCP Data received {"connection_id":150537,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:34] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:05:34] local.INFO: IMEI packet received {"connection_id":150537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":150537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:05:35] local.INFO: TCP Data received {"connection_id":150537,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0824a98012d188540072180f0004c00672a..."} 
[2026-08-08 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0824a98012d188540072180f0004c00672a..."} 
[2026-08-08 14:05:35] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0824a98012d188540072180f0004c00672a..."} 
[2026-08-08 14:05:35] local.INFO: Packet analysis {"connection_id":150537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe082"} 
[2026-08-08 14:05:35] local.INFO: Extracted packet for processing {"connection_id":150537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe082"} 
[2026-08-08 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":119636208,"longitude_deg":75.6581696,"latitude_deg":11.9636208,"altitude":76,"angle":103,"satellites":42,"speed":43,"hex_longitude":"2d188540","hex_latitude":"072180f0","is_valid_coordinates":true} 
[2026-08-08 14:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261582592001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11465007174778880,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760203797486952448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786178063000,"timestamp_ms":1786178063000,"timestamp_seconds":1786178063,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0824a98"} 
[2026-08-08 14:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 14:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261582592001,"66":13048,"106":206,"83":41984,"24":43,"16":11465007174778880,"45":1760203797486952448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 14:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261582592001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:05:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 14:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11465007174778880,"km_value":11465007174778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760203797486952448,"description":"Unknown IO ID 45"} 
[2026-08-08 14:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261582592001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1760203797486952448}} 
[2026-08-08 14:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":150537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:05:35] local.INFO: GPS data processed {"connection_id":150537,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:05:35] local.INFO: Acknowledgment sent {"connection_id":150537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:05:36] local.INFO: TCP Data received {"connection_id":150537,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0825650012d18920007217c60004b00722b..."} 
[2026-08-08 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0825650012d18920007217c60004b00722b..."} 
[2026-08-08 14:05:36] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0825650012d18920007217c60004b00722b..."} 
[2026-08-08 14:05:36] local.INFO: Packet analysis {"connection_id":150537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe082"} 
[2026-08-08 14:05:36] local.INFO: Extracted packet for processing {"connection_id":150537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe082"} 
[2026-08-08 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119635040,"longitude_deg":75.658496,"latitude_deg":11.963504,"altitude":75,"angle":114,"satellites":43,"speed":44,"hex_longitude":"2d189200","hex_latitude":"07217c60","is_valid_coordinates":true} 
[2026-08-08 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261584128001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11465170383536128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183834624,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178066000,"timestamp_ms":1786178066000,"timestamp_seconds":1786178066,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0825650"} 
[2026-08-08 14:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:05: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-08-08 14: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-08 14:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261584128001,"66":13015,"106":206,"83":41984,"24":44,"16":11465170383536128,"45":1766888828183834624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261584128001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:05:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 14:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11465170383536128,"km_value":11465170383536.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183834624,"description":"Unknown IO ID 45"} 
[2026-08-08 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261584128001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1766888828183834624}} 
[2026-08-08 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":150537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:05:36] local.INFO: GPS data processed {"connection_id":150537,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:05:36] local.INFO: Acknowledgment sent {"connection_id":150537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:05:46] local.INFO: TCP Data received {"connection_id":152986,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:05:46] local.INFO: Processing buffer {"connection_id":152986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:05:46] local.INFO: Packet analysis {"connection_id":152986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:05:46] local.INFO: Extracted packet for processing {"connection_id":152986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:05:46] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:05: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-08-08 14:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":152986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":152986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":152986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:05:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":152986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:05:46] local.INFO: GPS data processed {"connection_id":152986,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:05:46] local.INFO: Acknowledgment sent {"connection_id":152986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:06:04] local.INFO: TCP Data received {"connection_id":150279,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:06:04] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:06:04] local.INFO: IMEI packet received {"connection_id":150279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":150279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:06:07] local.INFO: TCP Data received {"connection_id":150537,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08319a0012d18ec400720e4f8003500982b..."} 
[2026-08-08 14:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08319a0012d18ec400720e4f8003500982b..."} 
[2026-08-08 14:06:07] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08319a0012d18ec400720e4f8003500982b..."} 
[2026-08-08 14:06:07] local.INFO: Packet analysis {"connection_id":150537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe083"} 
[2026-08-08 14:06:07] local.INFO: Extracted packet for processing {"connection_id":150537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe083"} 
[2026-08-08 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119596280,"longitude_deg":75.6608064,"latitude_deg":11.959628,"altitude":53,"angle":152,"satellites":43,"speed":26,"hex_longitude":"2d18ec40","hex_latitude":"0720e4f8","is_valid_coordinates":true} 
[2026-08-08 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261595136001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11467493960843264,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732357855232,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06: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-08-08 14:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786178116000,"timestamp_ms":1786178116000,"timestamp_seconds":1786178116,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08319a0"} 
[2026-08-08 14:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 14:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261595136001,"66":12776,"103":206,"83":41984,"24":26,"16":11467493960843264,"45":1791869732357855232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261595136001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:06:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11467493960843264,"km_value":11467493960843.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732357855232,"description":"Unknown IO ID 45"} 
[2026-08-08 14:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261595136001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1791869732357855232}} 
[2026-08-08 14:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":150537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:06:07] local.INFO: GPS data processed {"connection_id":150537,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:06:07] local.INFO: Acknowledgment sent {"connection_id":150537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:06:10] local.INFO: TCP Data received {"connection_id":150279,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:06:10] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:06:10] local.INFO: IMEI packet received {"connection_id":150279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":150279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:06:11] local.INFO: TCP Data received {"connection_id":150279,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:06:11] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:06:11] local.INFO: Packet analysis {"connection_id":150279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:06:11] local.INFO: Extracted packet for processing {"connection_id":150279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:06:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:06:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":150279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:06:11] local.INFO: GPS data processed {"connection_id":150279,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:06:11] local.INFO: Acknowledgment sent {"connection_id":150279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:06:27] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:27] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:27] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:06:31] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:31] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:31] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:06:36] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:36] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:06:36] local.INFO: IMEI packet received {"connection_id":152987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":152987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:06:37] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0832d28012d18f4000720d9e00034008d2b..."} 
[2026-08-08 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0832d28012d18f4000720d9e00034008d2b..."} 
[2026-08-08 14:06:37] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0832d28012d18f4000720d9e00034008d2b..."} 
[2026-08-08 14:06:37] local.INFO: Packet analysis {"connection_id":152987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe083"} 
[2026-08-08 14:06:37] local.INFO: Extracted packet for processing {"connection_id":152987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe083"} 
[2026-08-08 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756610048,"raw_latitude":119593440,"longitude_deg":75.6610048,"latitude_deg":11.959344,"altitude":52,"angle":141,"satellites":43,"speed":28,"hex_longitude":"2d18f400","hex_latitude":"0720d9e0","is_valid_coordinates":true} 
[2026-08-08 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261597696001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11467661464567808,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795880750774810624,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06: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-08-08 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786178121000,"timestamp_ms":1786178121000,"timestamp_seconds":1786178121,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0832d28"} 
[2026-08-08 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:06: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-08-08 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 14:06: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-08-08 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261597696001,"66":12722,"103":206,"83":41984,"24":28,"16":11467661464567808,"45":1795880750774810624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261597696001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:06:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11467661464567808,"km_value":11467661464567.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795880750774810624,"description":"Unknown IO ID 45"} 
[2026-08-08 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261597696001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1795880750774810624}} 
[2026-08-08 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":152987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:06:37] local.INFO: GPS data processed {"connection_id":152987,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:06:37] local.INFO: Acknowledgment sent {"connection_id":152987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:06:42] local.INFO: TCP Data received {"connection_id":150279,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:06:42] local.INFO: Processing buffer {"connection_id":150279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:06:42] local.INFO: Packet analysis {"connection_id":150279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:06:42] local.INFO: Extracted packet for processing {"connection_id":150279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:06:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:06:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":150279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:06:42] local.INFO: GPS data processed {"connection_id":150279,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:06:42] local.INFO: Acknowledgment sent {"connection_id":150279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:07:08] local.INFO: TCP Data received {"connection_id":152987,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08334f8012d18f8000720d600003400802b..."} 
[2026-08-08 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08334f8012d18f8000720d600003400802b..."} 
[2026-08-08 14:07:08] local.INFO: Processing buffer {"connection_id":152987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08334f8012d18f8000720d600003400802b..."} 
[2026-08-08 14:07:08] local.INFO: Packet analysis {"connection_id":152987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe083"} 
[2026-08-08 14:07:08] local.INFO: Extracted packet for processing {"connection_id":152987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe083"} 
[2026-08-08 14:07:08] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119592448,"longitude_deg":75.6611072,"latitude_deg":11.9592448,"altitude":52,"angle":128,"satellites":43,"speed":28,"hex_longitude":"2d18f800","hex_latitude":"0720d600","is_valid_coordinates":true} 
[2026-08-08 14:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261598976001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11467730184044544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181843591168,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178123000,"timestamp_ms":1786178123000,"timestamp_seconds":1786178123,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08334f8"} 
[2026-08-08 14:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:07: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-08-08 14:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 14:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261598976001,"66":12613,"103":206,"83":41984,"24":28,"16":11467730184044544,"45":1798062181843591168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261598976001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:07:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11467730184044544,"km_value":11467730184044.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181843591168,"description":"Unknown IO ID 45"} 
[2026-08-08 14:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261598976001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1798062181843591168}} 
[2026-08-08 14:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":152987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:07:08] local.INFO: GPS data processed {"connection_id":152987,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:07:08] local.INFO: Acknowledgment sent {"connection_id":152987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:07:10] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:07:10] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:07:10] local.INFO: IMEI packet received {"connection_id":152988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":152988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:07:15] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:07:15] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:07:15] local.INFO: IMEI packet received {"connection_id":152988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":152988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:07:16] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:07:16] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:07:16] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:07:16] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:07:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:07:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:07:16] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:07:16] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:07:20] local.INFO: TCP Data received {"connection_id":152988,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:07:20] local.INFO: Processing buffer {"connection_id":152988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:07:20] local.INFO: Packet analysis {"connection_id":152988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:07:20] local.INFO: Extracted packet for processing {"connection_id":152988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:07:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:07: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-08-08 14:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":152988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":152988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:07: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-08-08 14:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:07:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":152988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:07:20] local.INFO: GPS data processed {"connection_id":152988,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:07:20] local.INFO: Acknowledgment sent {"connection_id":152988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:07:31] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:07:31] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:07:31] local.INFO: IMEI packet received {"connection_id":151500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":151500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:07:31] local.INFO: TCP Data received {"connection_id":151500,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:07:31] local.INFO: Processing buffer {"connection_id":151500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:07:31] local.INFO: IMEI packet received {"connection_id":151500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":151500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:08:05] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:08:05] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:08:05] local.INFO: IMEI packet received {"connection_id":152989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":152989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:08:10] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:08:10] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:08:10] local.INFO: IMEI packet received {"connection_id":152989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":152989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:08:13] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:08:13] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0809900012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:08:13] local.INFO: Packet analysis {"connection_id":152989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:08:13] local.INFO: Extracted packet for processing {"connection_id":152989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe080"} 
[2026-08-08 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261478656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786177952000,"timestamp_ms":1786177952000,"timestamp_seconds":1786177952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0809900"} 
[2026-08-08 14:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 14:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":152989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261478656001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261478656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:08:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261478656001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":152989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:08:13] local.INFO: GPS data processed {"connection_id":152989,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:08:13] local.INFO: Acknowledgment sent {"connection_id":152989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:08:44] local.INFO: TCP Data received {"connection_id":152989,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:08:44] local.INFO: Processing buffer {"connection_id":152989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:08:44] local.INFO: Packet analysis {"connection_id":152989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:08:44] local.INFO: Extracted packet for processing {"connection_id":152989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:08:44] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":152989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":152989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:08: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-08-08 14:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:08:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":152989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:08:44] local.INFO: GPS data processed {"connection_id":152989,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:08:44] local.INFO: Acknowledgment sent {"connection_id":152989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:09:10] local.INFO: TCP Data received {"connection_id":150280,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:09:10] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:09:10] local.INFO: IMEI packet received {"connection_id":150280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":150280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:09:15] local.INFO: TCP Data received {"connection_id":150280,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:09:15] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:09:15] local.INFO: IMEI packet received {"connection_id":150280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":150280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:09:15] local.INFO: TCP Data received {"connection_id":150280,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:09:15] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:09:15] local.INFO: Packet analysis {"connection_id":150280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:09:15] local.INFO: Extracted packet for processing {"connection_id":150280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:09:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14: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-08-08 14: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":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:09:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":150280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:09:15] local.INFO: GPS data processed {"connection_id":150280,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:09:15] local.INFO: Acknowledgment sent {"connection_id":150280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:09:20] local.INFO: TCP Data received {"connection_id":150280,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:09:20] local.INFO: Processing buffer {"connection_id":150280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:09:20] local.INFO: Packet analysis {"connection_id":150280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:09:20] local.INFO: Extracted packet for processing {"connection_id":150280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:09: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-08-08 14:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":150280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:09:20] local.INFO: GPS data processed {"connection_id":150280,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:09:20] local.INFO: Acknowledgment sent {"connection_id":150280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:10:05] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:10:05] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:10:05] local.INFO: IMEI packet received {"connection_id":151501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":151501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:10:10] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:10:10] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:10:10] local.INFO: IMEI packet received {"connection_id":151501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":151501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:10:10] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:10:11] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:10:11] local.INFO: Packet analysis {"connection_id":151501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:10:11] local.INFO: Extracted packet for processing {"connection_id":151501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:10:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":151501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:10:11] local.INFO: GPS data processed {"connection_id":151501,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:10:11] local.INFO: Acknowledgment sent {"connection_id":151501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:10:41] local.INFO: TCP Data received {"connection_id":151501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:10:41] local.INFO: Processing buffer {"connection_id":151501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:10:41] local.INFO: Packet analysis {"connection_id":151501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:10:41] local.INFO: Extracted packet for processing {"connection_id":151501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14: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-08-08 14: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":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:10:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":151501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:10:41] local.INFO: GPS data processed {"connection_id":151501,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:10:41] local.INFO: Acknowledgment sent {"connection_id":151501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:11:04] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:11:04] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:11:04] local.INFO: IMEI packet received {"connection_id":151502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:11:10] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:11:10] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:11:10] local.INFO: IMEI packet received {"connection_id":151502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":151502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:11:11] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:11:11] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:11:11] local.INFO: Packet analysis {"connection_id":151502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:11:11] local.INFO: Extracted packet for processing {"connection_id":151502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":151502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:11:11] local.INFO: GPS data processed {"connection_id":151502,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:11:11] local.INFO: Acknowledgment sent {"connection_id":151502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:11:42] local.INFO: TCP Data received {"connection_id":151502,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:11:42] local.INFO: Processing buffer {"connection_id":151502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:11:42] local.INFO: Packet analysis {"connection_id":151502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:11:42] local.INFO: Extracted packet for processing {"connection_id":151502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":151502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:11:42] local.INFO: GPS data processed {"connection_id":151502,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:11:42] local.INFO: Acknowledgment sent {"connection_id":151502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:12:04] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:12:04] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:12:04] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:12:10] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:12:10] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:12:10] local.INFO: IMEI packet received {"connection_id":152990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":152990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:12:11] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:12:11] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:12:11] local.INFO: Packet analysis {"connection_id":152990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:12:11] local.INFO: Extracted packet for processing {"connection_id":152990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:12:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":152990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:12:11] local.INFO: GPS data processed {"connection_id":152990,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:12:11] local.INFO: Acknowledgment sent {"connection_id":152990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:12:40] local.INFO: TCP Data received {"connection_id":150281,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:40] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:40] local.INFO: IMEI packet received {"connection_id":150281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":150281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:12:41] local.INFO: TCP Data received {"connection_id":150281,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:41] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:41] local.INFO: IMEI packet received {"connection_id":150281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":150281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:12:42] local.INFO: TCP Data received {"connection_id":152990,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:12:42] local.INFO: Processing buffer {"connection_id":152990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:12:42] local.INFO: Packet analysis {"connection_id":152990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:12:42] local.INFO: Extracted packet for processing {"connection_id":152990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14: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-08-08 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:12: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-08-08 14:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":152990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:12:42] local.INFO: GPS data processed {"connection_id":152990,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:12:42] local.INFO: Acknowledgment sent {"connection_id":152990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:12:46] local.INFO: TCP Data received {"connection_id":150281,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:46] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:12:46] local.INFO: IMEI packet received {"connection_id":150281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":150281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:12:46] local.INFO: TCP Data received {"connection_id":150281,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe088e218012d197c40071fec60003a01082a..."} 
[2026-08-08 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe088e218012d197c40071fec60003a01082a..."} 
[2026-08-08 14:12:46] local.INFO: Processing buffer {"connection_id":150281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe088e218012d197c40071fec60003a01082a..."} 
[2026-08-08 14:12:46] local.INFO: Packet analysis {"connection_id":150281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe088"} 
[2026-08-08 14:12:46] local.INFO: Extracted packet for processing {"connection_id":150281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe088"} 
[2026-08-08 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532640,"longitude_deg":75.6644928,"latitude_deg":11.953264,"altitude":58,"angle":264,"satellites":42,"speed":8,"hex_longitude":"2d197c40","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-08-08 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261693952001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11473833332572160,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466102482944,"note":"Value kept but may cause issues"} 
[2026-08-08 14:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786178495000,"timestamp_ms":1786178495000,"timestamp_seconds":1786178495,"priority":1,"record_length":96,"hex_timestamp":"0000019fe088e218"} 
[2026-08-08 14:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 14:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261693952001,"66":13135,"102":206,"83":41984,"24":8,"16":11473833332572160,"45":1837046466102482944},"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-08-08 14:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261693952001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 14:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11473833332572160,"km_value":11473833332572.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466102482944,"description":"Unknown IO ID 45"} 
[2026-08-08 14:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261693952001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1837046466102482944}} 
[2026-08-08 14:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":150281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:12:46] local.INFO: GPS data processed {"connection_id":150281,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:12:46] local.INFO: Acknowledgment sent {"connection_id":150281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:13:05] local.INFO: TCP Data received {"connection_id":150538,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:13:05] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:13:05] local.INFO: IMEI packet received {"connection_id":150538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":150538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:13:10] local.INFO: TCP Data received {"connection_id":150538,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:13:10] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:13:10] local.INFO: IMEI packet received {"connection_id":150538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":150538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:13:10] local.INFO: TCP Data received {"connection_id":150538,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:13:11] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08530c8012cee6fc0072e2c000037006926..."} 
[2026-08-08 14:13:11] local.INFO: Packet analysis {"connection_id":150538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:13:11] local.INFO: Extracted packet for processing {"connection_id":150538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe085"} 
[2026-08-08 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178253000,"timestamp_ms":1786178253000,"timestamp_seconds":1786178253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08530c8"} 
[2026-08-08 14:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261555712001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:13:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261555712001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":150538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:13:11] local.INFO: GPS data processed {"connection_id":150538,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:13:11] local.INFO: Acknowledgment sent {"connection_id":150538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:13:36] local.INFO: TCP Data received {"connection_id":152992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:13:36] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:13:36] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:13:40] local.INFO: TCP Data received {"connection_id":152992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:13:40] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:13:40] local.INFO: IMEI packet received {"connection_id":152992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":152992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:13:41] local.INFO: TCP Data received {"connection_id":150538,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:13:41] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:13:41] local.INFO: Packet analysis {"connection_id":150538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:13:41] local.INFO: Extracted packet for processing {"connection_id":150538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 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-08-08 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:13:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":150538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:13:41] local.INFO: GPS data processed {"connection_id":150538,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:13:41] local.INFO: Acknowledgment sent {"connection_id":150538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:13:52] local.INFO: TCP Data received {"connection_id":152992,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe088fd70012d197400071feca8003a011729..."} 
[2026-08-08 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe088fd70012d197400071feca8003a011729..."} 
[2026-08-08 14:13:52] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe088fd70012d197400071feca8003a011729..."} 
[2026-08-08 14:13:52] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe088"} 
[2026-08-08 14:13:52] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe088"} 
[2026-08-08 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119532712,"longitude_deg":75.6642816,"latitude_deg":11.9532712,"altitude":58,"angle":279,"satellites":41,"speed":15,"hex_longitude":"2d197400","hex_latitude":"071feca8","is_valid_coordinates":true} 
[2026-08-08 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261694720001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11473932116819968,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404853248,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786178502000,"timestamp_ms":1786178502000,"timestamp_seconds":1786178502,"priority":1,"record_length":96,"hex_timestamp":"0000019fe088fd70"} 
[2026-08-08 14:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 14:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261694720001,"66":13102,"102":206,"83":41984,"24":15,"16":11473932116819968,"45":1836413147404853248},"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-08-08 14:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261694720001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 14:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11473932116819968,"km_value":11473932116819.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404853248,"description":"Unknown IO ID 45"} 
[2026-08-08 14:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261694720001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1836413147404853248}} 
[2026-08-08 14:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:13:52] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:13:52] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:13:53] local.INFO: TCP Data received {"connection_id":152992,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0894f78012d196840071fee20003b011129..."} 
[2026-08-08 14:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0894f78012d196840071fee20003b011129..."} 
[2026-08-08 14:13:53] local.INFO: Processing buffer {"connection_id":152992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0894f78012d196840071fee20003b011129..."} 
[2026-08-08 14:13:53] local.INFO: Packet analysis {"connection_id":152992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:13:53] local.INFO: Extracted packet for processing {"connection_id":152992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261696512001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847008768,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786178523000,"timestamp_ms":1786178523000,"timestamp_seconds":1786178523,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0894f78"} 
[2026-08-08 14:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 14:13: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-08-08 14: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-08-08 14:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":152992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":152992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261696512001,"66":13091,"102":206,"83":41984,"24":0,"16":11474082440675328,"45":1834090978847008768},"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-08-08 14:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261696512001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 14:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847008768,"description":"Unknown IO ID 45"} 
[2026-08-08 14:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261696512001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847008768}} 
[2026-08-08 14:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":152992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:13:53] local.INFO: GPS data processed {"connection_id":152992,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:13:53] local.INFO: Acknowledgment sent {"connection_id":152992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:14:04] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:14:04] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:14:04] local.INFO: IMEI packet received {"connection_id":151503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":151503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:14:10] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:14:10] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:14:10] local.INFO: IMEI packet received {"connection_id":151503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":151503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:14:11] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:14:11] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:14:11] local.INFO: Packet analysis {"connection_id":151503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:14:11] local.INFO: Extracted packet for processing {"connection_id":151503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:14:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:14: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-08-08 14:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:14:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":151503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:14:11] local.INFO: GPS data processed {"connection_id":151503,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:14:11] local.INFO: Acknowledgment sent {"connection_id":151503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:14:30] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:14:30] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:14:30] local.INFO: IMEI packet received {"connection_id":152993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":152993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:14:35] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:14:35] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:14:35] local.INFO: IMEI packet received {"connection_id":152993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":152993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:14:36] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089a180012d196840071fee20003b011128..."} 
[2026-08-08 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089a180012d196840071fee20003b011128..."} 
[2026-08-08 14:14:36] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089a180012d196840071fee20003b011128..."} 
[2026-08-08 14:14:36] local.INFO: Packet analysis {"connection_id":152993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:14:36] local.INFO: Extracted packet for processing {"connection_id":152993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261701888001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178544000,"timestamp_ms":1786178544000,"timestamp_seconds":1786178544,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089a180"} 
[2026-08-08 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-08-08 14:14: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-08-08 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 14:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261701888001,"66":13015,"102":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261701888001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 14:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261701888001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":152993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:14:36] local.INFO: GPS data processed {"connection_id":152993,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:14:36] local.INFO: Acknowledgment sent {"connection_id":152993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:14:44] local.INFO: TCP Data received {"connection_id":151503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:14:44] local.INFO: Processing buffer {"connection_id":151503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:14:44] local.INFO: Packet analysis {"connection_id":151503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:14:44] local.INFO: Extracted packet for processing {"connection_id":151503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:14:44] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:14:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":151503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:14:44] local.INFO: GPS data processed {"connection_id":151503,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:14:44] local.INFO: Acknowledgment sent {"connection_id":151503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:15:05] local.INFO: TCP Data received {"connection_id":150282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:15:05] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:15:05] local.INFO: IMEI packet received {"connection_id":150282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":150282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:15:07] local.INFO: TCP Data received {"connection_id":152993,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089f388012d196840071fee20003b011127..."} 
[2026-08-08 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089f388012d196840071fee20003b011127..."} 
[2026-08-08 14:15:07] local.INFO: Processing buffer {"connection_id":152993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089f388012d196840071fee20003b011127..."} 
[2026-08-08 14:15:07] local.INFO: Packet analysis {"connection_id":152993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:15:07] local.INFO: Extracted packet for processing {"connection_id":152993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261707264001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15: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-08-08 14:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786178565000,"timestamp_ms":1786178565000,"timestamp_seconds":1786178565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089f388"} 
[2026-08-08 14:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:15: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-08-08 14:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 14:15: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-08-08 14:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261707264001,"66":12287,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261707264001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261707264001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":152993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:15:07] local.INFO: GPS data processed {"connection_id":152993,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:15:07] local.INFO: Acknowledgment sent {"connection_id":152993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:15:10] local.INFO: TCP Data received {"connection_id":150282,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:15:10] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:15:10] local.INFO: IMEI packet received {"connection_id":150282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":150282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:15:11] local.INFO: TCP Data received {"connection_id":150282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:15:11] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:15:11] local.INFO: Packet analysis {"connection_id":150282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:15:11] local.INFO: Extracted packet for processing {"connection_id":150282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:15:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:15:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":150282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:15:11] local.INFO: GPS data processed {"connection_id":150282,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:15:11] local.INFO: Acknowledgment sent {"connection_id":150282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:15:28] local.INFO: TCP Data received {"connection_id":152994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:28] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:28] local.INFO: IMEI packet received {"connection_id":152994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":152994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:15:30] local.INFO: TCP Data received {"connection_id":152994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:30] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:30] local.INFO: IMEI packet received {"connection_id":152994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":152994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:15:35] local.INFO: TCP Data received {"connection_id":152994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:35] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:15:35] local.INFO: IMEI packet received {"connection_id":152994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":152994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:15:36] local.INFO: TCP Data received {"connection_id":152994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08a4590012d196840071fee20003b011127..."} 
[2026-08-08 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08a4590012d196840071fee20003b011127..."} 
[2026-08-08 14:15:36] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08a4590012d196840071fee20003b011127..."} 
[2026-08-08 14:15:36] local.INFO: Packet analysis {"connection_id":152994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08a"} 
[2026-08-08 14:15:36] local.INFO: Extracted packet for processing {"connection_id":152994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08a"} 
[2026-08-08 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261712640001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15: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-08-08 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178586000,"timestamp_ms":1786178586000,"timestamp_seconds":1786178586,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08a4590"} 
[2026-08-08 14:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 14:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261712640001,"66":12385,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261712640001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:15:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261712640001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":152994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:15:37] local.INFO: GPS data processed {"connection_id":152994,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:15:37] local.INFO: Acknowledgment sent {"connection_id":152994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:15:42] local.INFO: TCP Data received {"connection_id":150282,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:15:42] local.INFO: Processing buffer {"connection_id":150282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:15:42] local.INFO: Packet analysis {"connection_id":150282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:15:42] local.INFO: Extracted packet for processing {"connection_id":150282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:15:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":150282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:15:42] local.INFO: GPS data processed {"connection_id":150282,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:15:42] local.INFO: Acknowledgment sent {"connection_id":150282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:16:04] local.INFO: TCP Data received {"connection_id":150283,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:16:04] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:16:04] local.INFO: IMEI packet received {"connection_id":150283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":150283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:16:08] local.INFO: TCP Data received {"connection_id":152994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08a9798012d196840071fee20003b01112a..."} 
[2026-08-08 14:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08a9798012d196840071fee20003b01112a..."} 
[2026-08-08 14:16:08] local.INFO: Processing buffer {"connection_id":152994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08a9798012d196840071fee20003b01112a..."} 
[2026-08-08 14:16:08] local.INFO: Packet analysis {"connection_id":152994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08a"} 
[2026-08-08 14:16:08] local.INFO: Extracted packet for processing {"connection_id":152994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08a"} 
[2026-08-08 14:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261718016001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178607000,"timestamp_ms":1786178607000,"timestamp_seconds":1786178607,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08a9798"} 
[2026-08-08 14:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:16: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-08-08 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 14:16: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-08-08 14:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":152994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":152994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":152994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261718016001,"66":12885,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261718016001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:16:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261718016001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":152994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:16:08] local.INFO: GPS data processed {"connection_id":152994,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:16:08] local.INFO: Acknowledgment sent {"connection_id":152994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:16:10] local.INFO: TCP Data received {"connection_id":150283,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:16:10] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:16:10] local.INFO: IMEI packet received {"connection_id":150283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":150283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:16:11] local.INFO: TCP Data received {"connection_id":150283,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:16:11] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:16:11] local.INFO: Packet analysis {"connection_id":150283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:16:11] local.INFO: Extracted packet for processing {"connection_id":150283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":150283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:16:11] local.INFO: GPS data processed {"connection_id":150283,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:16:11] local.INFO: Acknowledgment sent {"connection_id":150283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:16:31] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:31] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:31] local.INFO: IMEI packet received {"connection_id":151504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":151504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:16:31] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:31] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:31] local.INFO: IMEI packet received {"connection_id":151504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":151504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:16:36] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:36] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:16:36] local.INFO: IMEI packet received {"connection_id":151504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":151504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:16:37] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08ae9a0012d196840071fee20003b01112a..."} 
[2026-08-08 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08ae9a0012d196840071fee20003b01112a..."} 
[2026-08-08 14:16:37] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08ae9a0012d196840071fee20003b01112a..."} 
[2026-08-08 14:16:37] local.INFO: Packet analysis {"connection_id":151504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08a"} 
[2026-08-08 14:16:37] local.INFO: Extracted packet for processing {"connection_id":151504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08a"} 
[2026-08-08 14:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261723392001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16: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-08-08 14:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786178628000,"timestamp_ms":1786178628000,"timestamp_seconds":1786178628,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08ae9a0"} 
[2026-08-08 14:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14: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-08-08 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 14:16: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-08-08 14:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261723392001,"66":12885,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261723392001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:16:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261723392001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":151504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:16:37] local.INFO: GPS data processed {"connection_id":151504,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:16:37] local.INFO: Acknowledgment sent {"connection_id":151504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:16:42] local.INFO: TCP Data received {"connection_id":150283,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:16:42] local.INFO: Processing buffer {"connection_id":150283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:16:42] local.INFO: Packet analysis {"connection_id":150283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:16:42] local.INFO: Extracted packet for processing {"connection_id":150283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":150283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:16:42] local.INFO: GPS data processed {"connection_id":150283,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:16:42] local.INFO: Acknowledgment sent {"connection_id":150283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:17:04] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:17:04] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:17:04] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:17:08] local.INFO: TCP Data received {"connection_id":151504,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08b3ba8012d196840071fee20003b01112c..."} 
[2026-08-08 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08b3ba8012d196840071fee20003b01112c..."} 
[2026-08-08 14:17:08] local.INFO: Processing buffer {"connection_id":151504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08b3ba8012d196840071fee20003b01112c..."} 
[2026-08-08 14:17:08] local.INFO: Packet analysis {"connection_id":151504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08b"} 
[2026-08-08 14:17:08] local.INFO: Extracted packet for processing {"connection_id":151504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08b"} 
[2026-08-08 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261728768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178649000,"timestamp_ms":1786178649000,"timestamp_seconds":1786178649,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08b3ba8"} 
[2026-08-08 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:17: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-08-08 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 14:17: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-08-08 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261728768001,"66":12841,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261728768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261728768001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":151504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:17:08] local.INFO: GPS data processed {"connection_id":151504,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:17:08] local.INFO: Acknowledgment sent {"connection_id":151504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:17:10] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:17:10] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:17:10] local.INFO: IMEI packet received {"connection_id":152995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":152995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:17:11] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:17:11] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:17:11] local.INFO: Packet analysis {"connection_id":152995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:17:11] local.INFO: Extracted packet for processing {"connection_id":152995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:17:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:17:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":152995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:17:11] local.INFO: GPS data processed {"connection_id":152995,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:17:11] local.INFO: Acknowledgment sent {"connection_id":152995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:17:30] local.INFO: TCP Data received {"connection_id":150284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:17:30] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:17:30] local.INFO: IMEI packet received {"connection_id":150284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":150284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:17:35] local.INFO: TCP Data received {"connection_id":150284,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:17:35] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:17:35] local.INFO: IMEI packet received {"connection_id":150284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":150284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:17:36] local.INFO: TCP Data received {"connection_id":150284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08b8db0012d196840071fee20003b01112a..."} 
[2026-08-08 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08b8db0012d196840071fee20003b01112a..."} 
[2026-08-08 14:17:36] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08b8db0012d196840071fee20003b01112a..."} 
[2026-08-08 14:17:36] local.INFO: Packet analysis {"connection_id":150284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08b"} 
[2026-08-08 14:17:36] local.INFO: Extracted packet for processing {"connection_id":150284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08b"} 
[2026-08-08 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261734144001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17: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-08-08 14:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178670000,"timestamp_ms":1786178670000,"timestamp_seconds":1786178670,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08b8db0"} 
[2026-08-08 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-08-08 14:17: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-08-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 14:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261734144001,"66":12319,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261734144001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:17:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261734144001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":150284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:17:36] local.INFO: GPS data processed {"connection_id":150284,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:17:36] local.INFO: Acknowledgment sent {"connection_id":150284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:17:42] local.INFO: TCP Data received {"connection_id":152995,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:17:42] local.INFO: Processing buffer {"connection_id":152995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:17:42] local.INFO: Packet analysis {"connection_id":152995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:17:42] local.INFO: Extracted packet for processing {"connection_id":152995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":152995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":152995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:17:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":152995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:17:42] local.INFO: GPS data processed {"connection_id":152995,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:17:42] local.INFO: Acknowledgment sent {"connection_id":152995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:18:04] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:18:04] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:18:04] local.INFO: IMEI packet received {"connection_id":152996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":152996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:18:07] local.INFO: TCP Data received {"connection_id":150284,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08bdfb8012d196840071fee20003b011129..."} 
[2026-08-08 14:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08bdfb8012d196840071fee20003b011129..."} 
[2026-08-08 14:18:07] local.INFO: Processing buffer {"connection_id":150284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08bdfb8012d196840071fee20003b011129..."} 
[2026-08-08 14:18:07] local.INFO: Packet analysis {"connection_id":150284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08b"} 
[2026-08-08 14:18:07] local.INFO: Extracted packet for processing {"connection_id":150284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08b"} 
[2026-08-08 14:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261739520001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18: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-08-08 14:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786178691000,"timestamp_ms":1786178691000,"timestamp_seconds":1786178691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08bdfb8"} 
[2026-08-08 14:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:18: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-08-08 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 14:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261739520001,"66":12689,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261739520001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:18:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261739520001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":150284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:18:07] local.INFO: GPS data processed {"connection_id":150284,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:18:07] local.INFO: Acknowledgment sent {"connection_id":150284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:18:10] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:18:10] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:18:10] local.INFO: IMEI packet received {"connection_id":152996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":152996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:18:11] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:18:11] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe089c890012cee6fc0072e2c00003700692c..."} 
[2026-08-08 14:18:11] local.INFO: Packet analysis {"connection_id":152996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:18:11] local.INFO: Extracted packet for processing {"connection_id":152996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe089"} 
[2026-08-08 14:18:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261632768001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178554000,"timestamp_ms":1786178554000,"timestamp_seconds":1786178554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe089c890"} 
[2026-08-08 14:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":152996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":152996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":152996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261632768001,"66":25680,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261632768001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:18:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261632768001,"power":25680,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":152996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:18:11] local.INFO: GPS data processed {"connection_id":152996,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:18:11] local.INFO: Acknowledgment sent {"connection_id":152996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:18:30] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:18:30] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:18:30] local.INFO: IMEI packet received {"connection_id":151505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":151505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:18:36] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:18:36] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:18:36] local.INFO: IMEI packet received {"connection_id":151505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":151505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:18:37] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08c31c0012d196840071fee20003b011128..."} 
[2026-08-08 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08c31c0012d196840071fee20003b011128..."} 
[2026-08-08 14:18:37] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08c31c0012d196840071fee20003b011128..."} 
[2026-08-08 14:18:37] local.INFO: Packet analysis {"connection_id":151505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08c"} 
[2026-08-08 14:18:37] local.INFO: Extracted packet for processing {"connection_id":151505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08c"} 
[2026-08-08 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261744896001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18: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-08-08 14:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786178712000,"timestamp_ms":1786178712000,"timestamp_seconds":1786178712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08c31c0"} 
[2026-08-08 14:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:18: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-08-08 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 14:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:18: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-08-08 14:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261744896001,"66":12776,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261744896001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:18:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261744896001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":151505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:18:37] local.INFO: GPS data processed {"connection_id":151505,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:18:37] local.INFO: Acknowledgment sent {"connection_id":151505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:18:41] local.INFO: TCP Data received {"connection_id":152996,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:18:41] local.INFO: Processing buffer {"connection_id":152996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:18:41] local.INFO: Packet analysis {"connection_id":152996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:18:41] local.INFO: Extracted packet for processing {"connection_id":152996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 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-08-08 14: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-08-08 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:18:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":152996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:18:41] local.INFO: GPS data processed {"connection_id":152996,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:18:41] local.INFO: Acknowledgment sent {"connection_id":152996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:19:05] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:19:05] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:19:05] local.INFO: IMEI packet received {"connection_id":150539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":150539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:19:08] local.INFO: TCP Data received {"connection_id":151505,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08c83c8012d196840071fee20003b011129..."} 
[2026-08-08 14:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08c83c8012d196840071fee20003b011129..."} 
[2026-08-08 14:19:08] local.INFO: Processing buffer {"connection_id":151505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08c83c8012d196840071fee20003b011129..."} 
[2026-08-08 14:19:08] local.INFO: Packet analysis {"connection_id":151505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08c"} 
[2026-08-08 14:19:08] local.INFO: Extracted packet for processing {"connection_id":151505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08c"} 
[2026-08-08 14:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261750272001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178733000,"timestamp_ms":1786178733000,"timestamp_seconds":1786178733,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08c83c8"} 
[2026-08-08 14:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:19: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-08-08 14: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":232,"data_length":795,"current_offset":136} 
[2026-08-08 14:19: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-08-08 14:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261750272001,"66":12776,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261750272001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:19:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261750272001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":151505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:19:08] local.INFO: GPS data processed {"connection_id":151505,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:19:08] local.INFO: Acknowledgment sent {"connection_id":151505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:19:12] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:19:12] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:19:12] local.INFO: IMEI packet received {"connection_id":150539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":150539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:19:13] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:19:13] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:19:13] local.INFO: Packet analysis {"connection_id":150539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:19:13] local.INFO: Extracted packet for processing {"connection_id":150539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:19:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":150539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:19:13] local.INFO: GPS data processed {"connection_id":150539,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:19:13] local.INFO: Acknowledgment sent {"connection_id":150539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:19:36] local.INFO: TCP Data received {"connection_id":150285,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:19:36] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:19:36] local.INFO: IMEI packet received {"connection_id":150285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":150285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:19:41] local.INFO: TCP Data received {"connection_id":150285,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:19:41] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:19:41] local.INFO: IMEI packet received {"connection_id":150285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":150285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:19:42] local.INFO: TCP Data received {"connection_id":150285,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08cd5d0012d196840071fee20003b01112a..."} 
[2026-08-08 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08cd5d0012d196840071fee20003b01112a..."} 
[2026-08-08 14:19:42] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08cd5d0012d196840071fee20003b01112a..."} 
[2026-08-08 14:19:42] local.INFO: Packet analysis {"connection_id":150285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08c"} 
[2026-08-08 14:19:42] local.INFO: Extracted packet for processing {"connection_id":150285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08c"} 
[2026-08-08 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261755648001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19: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-08-08 14:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178754000,"timestamp_ms":1786178754000,"timestamp_seconds":1786178754,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08cd5d0"} 
[2026-08-08 14:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 14:19: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-08-08 14:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261755648001,"66":12722,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261755648001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261755648001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":150285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:19:42] local.INFO: GPS data processed {"connection_id":150285,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:19:42] local.INFO: Acknowledgment sent {"connection_id":150285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:19:42] local.INFO: TCP Data received {"connection_id":150285,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08d27d8012d196840071fee20003b01112a..."} 
[2026-08-08 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08d27d8012d196840071fee20003b01112a..."} 
[2026-08-08 14:19:42] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08d27d8012d196840071fee20003b01112a..."} 
[2026-08-08 14:19:42] local.INFO: Packet analysis {"connection_id":150285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08d"} 
[2026-08-08 14:19:42] local.INFO: Extracted packet for processing {"connection_id":150285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08d"} 
[2026-08-08 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261761024001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19: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-08-08 14:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178775000,"timestamp_ms":1786178775000,"timestamp_seconds":1786178775,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08d27d8"} 
[2026-08-08 14:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 14:19: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-08-08 14:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261761024001,"66":12798,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261761024001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261761024001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":150285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:19:43] local.INFO: GPS data processed {"connection_id":150285,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:19:43] local.INFO: Acknowledgment sent {"connection_id":150285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:19:44] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:19:44] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:19:44] local.INFO: Packet analysis {"connection_id":150539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:19:44] local.INFO: Extracted packet for processing {"connection_id":150539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:19:44] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:19:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:19:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":150539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:19:44] local.INFO: GPS data processed {"connection_id":150539,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:19:44] local.INFO: Acknowledgment sent {"connection_id":150539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:20:04] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:20:04] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:20:04] local.INFO: IMEI packet received {"connection_id":151506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":151506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:20:10] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:20:10] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:20:10] local.INFO: IMEI packet received {"connection_id":151506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":151506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:20:11] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:20:11] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:20:11] local.INFO: Packet analysis {"connection_id":151506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:20:11] local.INFO: Extracted packet for processing {"connection_id":151506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:20: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-08-08 14:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 14:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:20:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":151506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:20:11] local.INFO: GPS data processed {"connection_id":151506,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:20:11] local.INFO: Acknowledgment sent {"connection_id":151506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:20:31] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:20:31] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:20:31] local.INFO: IMEI packet received {"connection_id":151507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":151507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:20:36] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:20:36] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:20:36] local.INFO: IMEI packet received {"connection_id":151507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":151507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:20:36] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08dcbe8012d196840071fee20003b01112b..."} 
[2026-08-08 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08dcbe8012d196840071fee20003b01112b..."} 
[2026-08-08 14:20:36] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08dcbe8012d196840071fee20003b01112b..."} 
[2026-08-08 14:20:36] local.INFO: Packet analysis {"connection_id":151507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08d"} 
[2026-08-08 14:20:36] local.INFO: Extracted packet for processing {"connection_id":151507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08d"} 
[2026-08-08 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261771776001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20: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-08-08 14:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178817000,"timestamp_ms":1786178817000,"timestamp_seconds":1786178817,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08dcbe8"} 
[2026-08-08 14:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 14:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261771776001,"66":12765,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261771776001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:20:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261771776001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":151507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:20:36] local.INFO: GPS data processed {"connection_id":151507,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:20:36] local.INFO: Acknowledgment sent {"connection_id":151507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:20:42] local.INFO: TCP Data received {"connection_id":151506,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:20:42] local.INFO: Processing buffer {"connection_id":151506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:20:42] local.INFO: Packet analysis {"connection_id":151506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:20:42] local.INFO: Extracted packet for processing {"connection_id":151506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:20: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-08-08 14:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"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-08-08 14:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:20:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":151506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:20:42] local.INFO: GPS data processed {"connection_id":151506,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:20:42] local.INFO: Acknowledgment sent {"connection_id":151506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:21:04] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:21:04] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:21:04] local.INFO: IMEI packet received {"connection_id":151508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:21:07] local.INFO: TCP Data received {"connection_id":151507,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e1a08012d196840071fee20003b01112a..."} 
[2026-08-08 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e1a08012d196840071fee20003b01112a..."} 
[2026-08-08 14:21:07] local.INFO: Processing buffer {"connection_id":151507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e1a08012d196840071fee20003b01112a..."} 
[2026-08-08 14:21:07] local.INFO: Packet analysis {"connection_id":151507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:07] local.INFO: Extracted packet for processing {"connection_id":151507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261777152001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21: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-08-08 14:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786178837000,"timestamp_ms":1786178837000,"timestamp_seconds":1786178837,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e1a08"} 
[2026-08-08 14:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:21: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-08-08 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-08 14:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261777152001,"66":12743,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261777152001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:21:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261777152001,"power":12743,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":151507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:21:08] local.INFO: GPS data processed {"connection_id":151507,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:21:08] local.INFO: Acknowledgment sent {"connection_id":151507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:21:10] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:21:10] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:21:10] local.INFO: IMEI packet received {"connection_id":151508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":151508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:21:11] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:21:11] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:21:11] local.INFO: Packet analysis {"connection_id":151508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:11] local.INFO: Extracted packet for processing {"connection_id":151508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:21: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-08-08 14:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:21:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":151508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:21:11] local.INFO: GPS data processed {"connection_id":151508,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:21:11] local.INFO: Acknowledgment sent {"connection_id":151508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:21:31] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:21:31] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:21:31] local.INFO: IMEI packet received {"connection_id":151509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":151509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:21:36] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:21:36] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:21:36] local.INFO: IMEI packet received {"connection_id":151509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":151509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:21:37] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6ff8012d196840071fee20003b01112a..."} 
[2026-08-08 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6ff8012d196840071fee20003b01112a..."} 
[2026-08-08 14:21:37] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6ff8012d196840071fee20003b01112a..."} 
[2026-08-08 14:21:37] local.INFO: Packet analysis {"connection_id":151509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:37] local.INFO: Extracted packet for processing {"connection_id":151509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261782272001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786178859000,"timestamp_ms":1786178859000,"timestamp_seconds":1786178859,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6ff8"} 
[2026-08-08 14:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:21: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-08-08 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-08 14:21: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-08-08 14:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261782272001,"66":12722,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261782272001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261782272001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":151509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:21:37] local.INFO: GPS data processed {"connection_id":151509,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:21:37] local.INFO: Acknowledgment sent {"connection_id":151509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:21:42] local.INFO: TCP Data received {"connection_id":151508,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:21:42] local.INFO: Processing buffer {"connection_id":151508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:21:42] local.INFO: Packet analysis {"connection_id":151508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:42] local.INFO: Extracted packet for processing {"connection_id":151508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:21:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:21: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-08-08 14:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:21:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":151508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:21:42] local.INFO: GPS data processed {"connection_id":151508,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:21:42] local.INFO: Acknowledgment sent {"connection_id":151508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:21:47] local.INFO: TCP Data received {"connection_id":150285,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08d79e0012d196840071fee20003b01112b..."} 
[2026-08-08 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08d79e0012d196840071fee20003b01112b..."} 
[2026-08-08 14:21:47] local.INFO: Processing buffer {"connection_id":150285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08d79e0012d196840071fee20003b01112b..."} 
[2026-08-08 14:21:47] local.INFO: Packet analysis {"connection_id":150285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08d"} 
[2026-08-08 14:21:47] local.INFO: Extracted packet for processing {"connection_id":150285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08d"} 
[2026-08-08 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261766400001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786178796000,"timestamp_ms":1786178796000,"timestamp_seconds":1786178796,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08d79e0"} 
[2026-08-08 14:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-08 14:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261766400001,"66":12776,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261766400001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:21:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261766400001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":150285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:21:47] local.INFO: GPS data processed {"connection_id":150285,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:21:47] local.INFO: Acknowledgment sent {"connection_id":150285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:22:04] local.INFO: TCP Data received {"connection_id":150286,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:22:04] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:22:04] local.INFO: IMEI packet received {"connection_id":150286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":150286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:22:08] local.INFO: TCP Data received {"connection_id":151509,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08ebe18012d196840071fee20003b01112b..."} 
[2026-08-08 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08ebe18012d196840071fee20003b01112b..."} 
[2026-08-08 14:22:08] local.INFO: Processing buffer {"connection_id":151509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08ebe18012d196840071fee20003b01112b..."} 
[2026-08-08 14:22:08] local.INFO: Packet analysis {"connection_id":151509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:22:08] local.INFO: Extracted packet for processing {"connection_id":151509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261787904001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178879000,"timestamp_ms":1786178879000,"timestamp_seconds":1786178879,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08ebe18"} 
[2026-08-08 14:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:22: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-08-08 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 14:22: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-08-08 14:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261787904001,"66":12689,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261787904001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261787904001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":151509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:22:08] local.INFO: GPS data processed {"connection_id":151509,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:22:08] local.INFO: Acknowledgment sent {"connection_id":151509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:22:10] local.INFO: TCP Data received {"connection_id":150286,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:22:10] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:22:10] local.INFO: IMEI packet received {"connection_id":150286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":150286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:22:11] local.INFO: TCP Data received {"connection_id":150286,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:22:11] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:22:11] local.INFO: Packet analysis {"connection_id":150286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:22:11] local.INFO: Extracted packet for processing {"connection_id":150286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:22: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-08-08 14:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":150286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:22:11] local.INFO: GPS data processed {"connection_id":150286,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:22:11] local.INFO: Acknowledgment sent {"connection_id":150286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:22:28] local.INFO: TCP Data received {"connection_id":150540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:28] local.INFO: Processing buffer {"connection_id":150540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:28] local.INFO: IMEI packet received {"connection_id":150540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":150540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:22:31] local.INFO: TCP Data received {"connection_id":150540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:31] local.INFO: Processing buffer {"connection_id":150540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:31] local.INFO: IMEI packet received {"connection_id":150540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":150540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:22:36] local.INFO: TCP Data received {"connection_id":150540,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:36] local.INFO: Processing buffer {"connection_id":150540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:22:36] local.INFO: IMEI packet received {"connection_id":150540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:22:36] local.INFO: TCP Data received {"connection_id":150540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08f1408012d196840071fee20003b011129..."} 
[2026-08-08 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08f1408012d196840071fee20003b011129..."} 
[2026-08-08 14:22:36] local.INFO: Processing buffer {"connection_id":150540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08f1408012d196840071fee20003b011129..."} 
[2026-08-08 14:22:36] local.INFO: Packet analysis {"connection_id":150540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08f"} 
[2026-08-08 14:22:36] local.INFO: Extracted packet for processing {"connection_id":150540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08f"} 
[2026-08-08 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261793024001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22: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-08-08 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178901000,"timestamp_ms":1786178901000,"timestamp_seconds":1786178901,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08f1408"} 
[2026-08-08 14:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 14:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261793024001,"66":12689,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261793024001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:22:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261793024001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":150540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:22:37] local.INFO: GPS data processed {"connection_id":150540,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:22:37] local.INFO: Acknowledgment sent {"connection_id":150540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:22:42] local.INFO: TCP Data received {"connection_id":150286,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:22:42] local.INFO: Processing buffer {"connection_id":150286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08e6058012cee6fc0072e2c000037006929..."} 
[2026-08-08 14:22:42] local.INFO: Packet analysis {"connection_id":150286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:22:42] local.INFO: Extracted packet for processing {"connection_id":150286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08e"} 
[2026-08-08 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261709824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786178855000,"timestamp_ms":1786178855000,"timestamp_seconds":1786178855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08e6058"} 
[2026-08-08 14:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:22: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-08-08 14:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261709824001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261709824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261709824001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":150286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:22:42] local.INFO: GPS data processed {"connection_id":150286,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:22:42] local.INFO: Acknowledgment sent {"connection_id":150286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:23:08] local.INFO: TCP Data received {"connection_id":150540,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08f6610012d196840071fee20003b01112b..."} 
[2026-08-08 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08f6610012d196840071fee20003b01112b..."} 
[2026-08-08 14:23:08] local.INFO: Processing buffer {"connection_id":150540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08f6610012d196840071fee20003b01112b..."} 
[2026-08-08 14:23:08] local.INFO: Packet analysis {"connection_id":150540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08f"} 
[2026-08-08 14:23:08] local.INFO: Extracted packet for processing {"connection_id":150540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08f"} 
[2026-08-08 14:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261798656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178922000,"timestamp_ms":1786178922000,"timestamp_seconds":1786178922,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08f6610"} 
[2026-08-08 14:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:23: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-08-08 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 14:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261798656001,"66":12667,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261798656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:23:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261798656001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":150540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:23:08] local.INFO: GPS data processed {"connection_id":150540,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:23:08] local.INFO: Acknowledgment sent {"connection_id":150540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:23:10] local.INFO: TCP Data received {"connection_id":150287,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:23:10] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:23:10] local.INFO: IMEI packet received {"connection_id":150287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":150287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:23:14] local.INFO: TCP Data received {"connection_id":150287,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:23:14] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:23:14] local.INFO: IMEI packet received {"connection_id":150287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":150287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:23:15] local.INFO: TCP Data received {"connection_id":150287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:15] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:15] local.INFO: Packet analysis {"connection_id":150287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:23:15] local.INFO: Extracted packet for processing {"connection_id":150287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261786880001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786179156000,"timestamp_ms":1786179156000,"timestamp_seconds":1786179156,"priority":1,"record_length":96,"hex_timestamp":"0000019fe092f820"} 
[2026-08-08 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-08-08 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261786880001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261786880001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261786880001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":150287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:23:15] local.INFO: GPS data processed {"connection_id":150287,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:23:15] local.INFO: Acknowledgment sent {"connection_id":150287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:23:15] local.INFO: TCP Data received {"connection_id":150287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:15] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:15] local.INFO: Packet analysis {"connection_id":150287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:23:15] local.INFO: Extracted packet for processing {"connection_id":150287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261786880001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786179156000,"timestamp_ms":1786179156000,"timestamp_seconds":1786179156,"priority":1,"record_length":96,"hex_timestamp":"0000019fe092f820"} 
[2026-08-08 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-08-08 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261786880001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261786880001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261786880001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":150287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:23:15] local.INFO: GPS data processed {"connection_id":150287,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:23:15] local.INFO: Acknowledgment sent {"connection_id":150287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:23:31] local.INFO: TCP Data received {"connection_id":150541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:31] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:31] local.INFO: IMEI packet received {"connection_id":150541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":150541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:23:31] local.INFO: TCP Data received {"connection_id":150541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:31] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:31] local.INFO: IMEI packet received {"connection_id":150541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":150541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:23:36] local.INFO: TCP Data received {"connection_id":150541,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:36] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:23:36] local.INFO: IMEI packet received {"connection_id":150541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:23:36] local.INFO: TCP Data received {"connection_id":150541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe08fb818012d196840071fee20003b01112b..."} 
[2026-08-08 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe08fb818012d196840071fee20003b01112b..."} 
[2026-08-08 14:23:36] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe08fb818012d196840071fee20003b01112b..."} 
[2026-08-08 14:23:36] local.INFO: Packet analysis {"connection_id":150541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe08f"} 
[2026-08-08 14:23:36] local.INFO: Extracted packet for processing {"connection_id":150541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe08f"} 
[2026-08-08 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261804032001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23: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-08-08 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786178943000,"timestamp_ms":1786178943000,"timestamp_seconds":1786178943,"priority":1,"record_length":96,"hex_timestamp":"0000019fe08fb818"} 
[2026-08-08 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-08-08 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261804032001,"66":12645,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261804032001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:23:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261804032001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":150541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":609999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:23:37] local.INFO: GPS data processed {"connection_id":150541,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:23:37] local.INFO: Acknowledgment sent {"connection_id":150541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:23:46] local.INFO: TCP Data received {"connection_id":150287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:46] local.INFO: Processing buffer {"connection_id":150287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:23:46] local.INFO: Packet analysis {"connection_id":150287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:23:46] local.INFO: Extracted packet for processing {"connection_id":150287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:23:46] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261786880001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786179156000,"timestamp_ms":1786179156000,"timestamp_seconds":1786179156,"priority":1,"record_length":96,"hex_timestamp":"0000019fe092f820"} 
[2026-08-08 14:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:23: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-08-08 14:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261786880001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261786880001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:23:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261786880001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":150287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:23:46] local.INFO: GPS data processed {"connection_id":150287,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:23:46] local.INFO: Acknowledgment sent {"connection_id":150287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:24:04] local.INFO: TCP Data received {"connection_id":150288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:24:04] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:24:04] local.INFO: IMEI packet received {"connection_id":150288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":150288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:24:08] local.INFO: TCP Data received {"connection_id":150541,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0900a20012d196840071fee20003b01112a..."} 
[2026-08-08 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0900a20012d196840071fee20003b01112a..."} 
[2026-08-08 14:24:08] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0900a20012d196840071fee20003b01112a..."} 
[2026-08-08 14:24:08] local.INFO: Packet analysis {"connection_id":150541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe090"} 
[2026-08-08 14:24:08] local.INFO: Extracted packet for processing {"connection_id":150541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe090"} 
[2026-08-08 14:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261809408001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786178964000,"timestamp_ms":1786178964000,"timestamp_seconds":1786178964,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0900a20"} 
[2026-08-08 14:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:24: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-08-08 14:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-08 14:24: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-08-08 14:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261809408001,"66":12602,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261809408001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:24:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261809408001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":150541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:24:08] local.INFO: GPS data processed {"connection_id":150541,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:24:08] local.INFO: Acknowledgment sent {"connection_id":150541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:24:10] local.INFO: TCP Data received {"connection_id":150288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:24:10] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:24:10] local.INFO: IMEI packet received {"connection_id":150288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":150288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:24:11] local.INFO: TCP Data received {"connection_id":150288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:24:11] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe092f820012cee6fc0072e2c00003700692d..."} 
[2026-08-08 14:24:11] local.INFO: Packet analysis {"connection_id":150288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:24:11] local.INFO: Extracted packet for processing {"connection_id":150288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe092"} 
[2026-08-08 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":45,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261786880001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786179156000,"timestamp_ms":1786179156000,"timestamp_seconds":1786179156,"priority":1,"record_length":96,"hex_timestamp":"0000019fe092f820"} 
[2026-08-08 14:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 14:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:24: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-08-08 14:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261786880001,"66":25712,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261786880001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:24:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261786880001,"power":25712,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":150288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:24:11] local.INFO: GPS data processed {"connection_id":150288,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:24:11] local.INFO: Acknowledgment sent {"connection_id":150288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:24:30] local.INFO: TCP Data received {"connection_id":150542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:24:30] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:24:30] local.INFO: IMEI packet received {"connection_id":150542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":150542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:24:35] local.INFO: TCP Data received {"connection_id":150542,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:24:35] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:24:35] local.INFO: IMEI packet received {"connection_id":150542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":150542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:24:35] local.INFO: TCP Data received {"connection_id":150542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0938c90012d196840071fee20003b01112b..."} 
[2026-08-08 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0938c90012d196840071fee20003b01112b..."} 
[2026-08-08 14:24:35] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0938c90012d196840071fee20003b01112b..."} 
[2026-08-08 14:24:35] local.INFO: Packet analysis {"connection_id":150542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe093"} 
[2026-08-08 14:24:35] local.INFO: Extracted packet for processing {"connection_id":150542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe093"} 
[2026-08-08 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261868288001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24: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-08-08 14:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786179194000,"timestamp_ms":1786179194000,"timestamp_seconds":1786179194,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0938c90"} 
[2026-08-08 14:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 14:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261868288001,"66":12526,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261868288001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261868288001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":150542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:24:35] local.INFO: GPS data processed {"connection_id":150542,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:24:35] local.INFO: Acknowledgment sent {"connection_id":150542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:24:41] local.INFO: TCP Data received {"connection_id":150288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe093ee38012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe093ee38012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:24:41] local.INFO: Processing buffer {"connection_id":150288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe093ee38012cee6fc0072e2c00003700692a..."} 
[2026-08-08 14:24:41] local.INFO: Packet analysis {"connection_id":150288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe093"} 
[2026-08-08 14:24:41] local.INFO: Extracted packet for processing {"connection_id":150288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe093"} 
[2026-08-08 14:24:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466432,"longitude_deg":75.382368,"latitude_deg":12.0466432,"altitude":55,"angle":105,"satellites":42,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2c00","is_valid_coordinates":true} 
[2026-08-08 14:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261863936001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375452786747244544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195880448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786179219000,"timestamp_ms":1786179219000,"timestamp_seconds":1786179219,"priority":1,"record_length":96,"hex_timestamp":"0000019fe093ee38"} 
[2026-08-08 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-08-08 14:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-08 14:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261863936001,"66":25702,"219":206,"83":44032,"24":0,"16":375452786747244544,"44":-1265581833195880448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261863936001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:24:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375452786747244544,"km_value":375452786747244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195880448,"description":"Unknown IO ID 44"} 
[2026-08-08 14:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261863936001,"power":25702,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195880448}} 
[2026-08-08 14:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":150288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:24:41] local.INFO: GPS data processed {"connection_id":150288,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:24:41] local.INFO: Acknowledgment sent {"connection_id":150288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:25:07] local.INFO: TCP Data received {"connection_id":150542,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe093de98012d196840071fee20003b01112c..."} 
[2026-08-08 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe093de98012d196840071fee20003b01112c..."} 
[2026-08-08 14:25:07] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe093de98012d196840071fee20003b01112c..."} 
[2026-08-08 14:25:07] local.INFO: Packet analysis {"connection_id":150542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe093"} 
[2026-08-08 14:25:07] local.INFO: Extracted packet for processing {"connection_id":150542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe093"} 
[2026-08-08 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261873664001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25: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-08-08 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179215000,"timestamp_ms":1786179215000,"timestamp_seconds":1786179215,"priority":1,"record_length":96,"hex_timestamp":"0000019fe093de98"} 
[2026-08-08 14:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 14:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261873664001,"66":12558,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261873664001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261873664001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":150542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:25:07] local.INFO: GPS data processed {"connection_id":150542,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:25:07] local.INFO: Acknowledgment sent {"connection_id":150542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:25:30] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:25:30] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:25:30] local.INFO: IMEI packet received {"connection_id":151510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":151510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:25:36] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:25:36] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:25:36] local.INFO: IMEI packet received {"connection_id":151510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":151510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:25:37] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0943488012d196840071fee20003b01112b..."} 
[2026-08-08 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0943488012d196840071fee20003b01112b..."} 
[2026-08-08 14:25:37] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0943488012d196840071fee20003b01112b..."} 
[2026-08-08 14:25:37] local.INFO: Packet analysis {"connection_id":151510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:25:37] local.INFO: Extracted packet for processing {"connection_id":151510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261879040001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786179237000,"timestamp_ms":1786179237000,"timestamp_seconds":1786179237,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0943488"} 
[2026-08-08 14:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:25: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-08-08 14: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-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3767662160,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252256,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2459590657,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3995074619,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3281911808,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-08 14:25:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,195,159,140,45,64,238,59,43,10,66,58,41,236,1,240,227,224,31,4,113,205,72,104,32,239,49,2,40,7,120,77,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-08 14:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251698403890692096,"timestamp_seconds":4251698403890692.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 14:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:25: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-08-08 14:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261879040001,"66":12526,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261879040001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:25:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261879040001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":151510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:25:37] local.INFO: GPS data processed {"connection_id":151510,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:25:37] local.INFO: Acknowledgment sent {"connection_id":151510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:25:44] local.INFO: TCP Data received {"connection_id":150289,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:25:44] local.INFO: Processing buffer {"connection_id":150289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:25:44] local.INFO: IMEI packet received {"connection_id":150289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":150289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:26:08] local.INFO: TCP Data received {"connection_id":151510,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0948690012d196840071fee20003b01112a..."} 
[2026-08-08 14:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0948690012d196840071fee20003b01112a..."} 
[2026-08-08 14:26:08] local.INFO: Processing buffer {"connection_id":151510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0948690012d196840071fee20003b01112a..."} 
[2026-08-08 14:26:08] local.INFO: Packet analysis {"connection_id":151510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:26:08] local.INFO: Extracted packet for processing {"connection_id":151510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261884672001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786179258000,"timestamp_ms":1786179258000,"timestamp_seconds":1786179258,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0948690"} 
[2026-08-08 14:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 14:26: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-08-08 14:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261884672001,"66":12537,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261884672001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261884672001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":151510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:26:08] local.INFO: GPS data processed {"connection_id":151510,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:26:08] local.INFO: Acknowledgment sent {"connection_id":151510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:26:15] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:26:15] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:26:15] local.INFO: IMEI packet received {"connection_id":152997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":152997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:26:20] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:26:20] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:26:20] local.INFO: IMEI packet received {"connection_id":152997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":152997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:26:30] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:26:30] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:26:30] local.INFO: IMEI packet received {"connection_id":151511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":151511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:26:36] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:26:36] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:26:36] local.INFO: IMEI packet received {"connection_id":151511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":151511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:26:36] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe094d898012d196840071fee20003b011128..."} 
[2026-08-08 14:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe094d898012d196840071fee20003b011128..."} 
[2026-08-08 14:26:36] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe094d898012d196840071fee20003b011128..."} 
[2026-08-08 14:26:36] local.INFO: Packet analysis {"connection_id":151511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:26:36] local.INFO: Extracted packet for processing {"connection_id":151511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261890048001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179279000,"timestamp_ms":1786179279000,"timestamp_seconds":1786179279,"priority":1,"record_length":96,"hex_timestamp":"0000019fe094d898"} 
[2026-08-08 14:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":249,"data_length":795,"current_offset":136} 
[2026-08-08 14:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261890048001,"66":12537,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261890048001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:26:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261890048001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":151511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:26:36] local.INFO: GPS data processed {"connection_id":151511,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:26:36] local.INFO: Acknowledgment sent {"connection_id":151511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:26:37] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe094f3f0012cee5fc0072e3410003901002b..."} 
[2026-08-08 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe094f3f0012cee5fc0072e3410003901002b..."} 
[2026-08-08 14:26:37] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe094f3f0012cee5fc0072e3410003901002b..."} 
[2026-08-08 14:26:37] local.INFO: Packet analysis {"connection_id":152997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:26:37] local.INFO: Extracted packet for processing {"connection_id":152997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe094"} 
[2026-08-08 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753819584,"raw_latitude":120468496,"longitude_deg":75.3819584,"latitude_deg":12.0468496,"altitude":57,"angle":256,"satellites":43,"speed":15,"hex_longitude":"2cee5fc0","hex_latitude":"072e3410","is_valid_coordinates":true} 
[2026-08-08 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261896704001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375453087394955264,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269241007892574208,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786179286000,"timestamp_ms":1786179286000,"timestamp_seconds":1786179286,"priority":1,"record_length":96,"hex_timestamp":"0000019fe094f3f0"} 
[2026-08-08 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":152997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261896704001,"66":27876,"219":206,"83":44032,"24":15,"16":375453087394955264,"44":-1269241007892574208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261896704001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:26:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375453087394955264,"km_value":375453087394955.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269241007892574208,"description":"Unknown IO ID 44"} 
[2026-08-08 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261896704001,"power":27876,"unknown_219":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1269241007892574208}} 
[2026-08-08 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":152997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:26:37] local.INFO: GPS data processed {"connection_id":152997,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:26:37] local.INFO: Acknowledgment sent {"connection_id":152997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:26:43] local.INFO: TCP Data received {"connection_id":152997,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0950778012cee5680072e3208003a00f42a..."} 
[2026-08-08 14:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0950778012cee5680072e3208003a00f42a..."} 
[2026-08-08 14:26:43] local.INFO: Processing buffer {"connection_id":152997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0950778012cee5680072e3208003a00f42a..."} 
[2026-08-08 14:26:43] local.INFO: Packet analysis {"connection_id":152997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:26:43] local.INFO: Extracted packet for processing {"connection_id":152997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:26:43] local.INFO: GPS Element Parsed {"raw_longitude":753817216,"raw_latitude":120467976,"longitude_deg":75.3817216,"latitude_deg":12.0467976,"altitude":58,"angle":244,"satellites":42,"speed":19,"hex_longitude":"2cee5680","hex_latitude":"072e3208","is_valid_coordinates":true} 
[2026-08-08 14:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261897216001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375453199064104960,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1270085432822722560,"note":"Value kept but may cause issues"} 
[2026-08-08 14:26: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-08-08 14:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786179291000,"timestamp_ms":1786179291000,"timestamp_seconds":1786179291,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0950778"} 
[2026-08-08 14:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 14:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":152997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":152997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:26: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-08-08 14:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261897216001,"66":27843,"219":206,"83":44032,"24":19,"16":375453199064104960,"44":-1270085432822722560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 14:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261897216001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:26:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 14:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375453199064104960,"km_value":375453199064104.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:26:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1270085432822722560,"description":"Unknown IO ID 44"} 
[2026-08-08 14:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261897216001,"power":27843,"unknown_219":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1270085432822722560}} 
[2026-08-08 14:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":152997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:26:43] local.INFO: GPS data processed {"connection_id":152997,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:26:43] local.INFO: Acknowledgment sent {"connection_id":152997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:27:05] local.INFO: TCP Data received {"connection_id":150290,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:27:05] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:27:05] local.INFO: IMEI packet received {"connection_id":150290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":150290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:27:07] local.INFO: TCP Data received {"connection_id":151511,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0952aa0012d196840071fee20003b011129..."} 
[2026-08-08 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0952aa0012d196840071fee20003b011129..."} 
[2026-08-08 14:27:07] local.INFO: Processing buffer {"connection_id":151511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0952aa0012d196840071fee20003b011129..."} 
[2026-08-08 14:27:07] local.INFO: Packet analysis {"connection_id":151511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:07] local.INFO: Extracted packet for processing {"connection_id":151511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261895424001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27: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-08-08 14:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179300000,"timestamp_ms":1786179300000,"timestamp_seconds":1786179300,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0952aa0"} 
[2026-08-08 14:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:27: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-08-08 14:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 14:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261895424001,"66":11406,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261895424001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261895424001,"power":11406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":151511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:27:07] local.INFO: GPS data processed {"connection_id":151511,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:27:07] local.INFO: Acknowledgment sent {"connection_id":151511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:27:22] local.INFO: TCP Data received {"connection_id":150290,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:27:22] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:27:22] local.INFO: IMEI packet received {"connection_id":150290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":150290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:27:24] local.INFO: TCP Data received {"connection_id":150290,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0952e88012cee4080072e29e8003b010028..."} 
[2026-08-08 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0952e88012cee4080072e29e8003b010028..."} 
[2026-08-08 14:27:24] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0952e88012cee4080072e29e8003b010028..."} 
[2026-08-08 14:27:24] local.INFO: Packet analysis {"connection_id":150290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:24] local.INFO: Extracted packet for processing {"connection_id":150290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:24] local.INFO: GPS Element Parsed {"raw_longitude":753811584,"raw_latitude":120465896,"longitude_deg":75.3811584,"latitude_deg":12.0465896,"altitude":59,"angle":256,"satellites":40,"speed":25,"hex_longitude":"2cee4080","hex_latitude":"072e29e8","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261898496001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375453486826913792,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1272689076357429248,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786179301000,"timestamp_ms":1786179301000,"timestamp_seconds":1786179301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0952e88"} 
[2026-08-08 14:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 14:27: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-08-08 14: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-08-08 14:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261898496001,"66":27984,"229":206,"83":44032,"24":25,"16":375453486826913792,"44":-1272689076357429248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 14:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261898496001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:27:24] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 14:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375453486826913792,"km_value":375453486826913.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1272689076357429248,"description":"Unknown IO ID 44"} 
[2026-08-08 14:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261898496001,"power":27984,"unknown_229":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1272689076357429248}} 
[2026-08-08 14:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":150290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:27:24] local.INFO: GPS data processed {"connection_id":150290,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:27:24] local.INFO: Acknowledgment sent {"connection_id":150290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:27:26] local.INFO: TCP Data received {"connection_id":150290,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0956920012cee1c80072e2088003e00f82c..."} 
[2026-08-08 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0956920012cee1c80072e2088003e00f82c..."} 
[2026-08-08 14:27:26] local.INFO: Processing buffer {"connection_id":150290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0956920012cee1c80072e2088003e00f82c..."} 
[2026-08-08 14:27:26] local.INFO: Packet analysis {"connection_id":150290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:26] local.INFO: Extracted packet for processing {"connection_id":150290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":753802368,"raw_latitude":120463496,"longitude_deg":75.3802368,"latitude_deg":12.0463496,"altitude":62,"angle":248,"satellites":44,"speed":25,"hex_longitude":"2cee1c80","hex_latitude":"072e2088","is_valid_coordinates":true} 
[2026-08-08 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261901056001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375453942093447168,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1278881525845596160,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786179316000,"timestamp_ms":1786179316000,"timestamp_seconds":1786179316,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0956920"} 
[2026-08-08 14:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261901056001,"66":27930,"229":206,"83":44032,"24":25,"16":375453942093447168,"44":-1278881525845596160},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261901056001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:27:26] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 14:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375453942093447168,"km_value":375453942093447.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1278881525845596160,"description":"Unknown IO ID 44"} 
[2026-08-08 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261901056001,"power":27930,"unknown_229":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1278881525845596160}} 
[2026-08-08 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":150290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:27:26] local.INFO: GPS data processed {"connection_id":150290,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:27:26] local.INFO: Acknowledgment sent {"connection_id":150290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:27:36] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:27:36] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:27:36] local.INFO: IMEI packet received {"connection_id":152998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":152998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:27:41] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:27:41] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:27:41] local.INFO: IMEI packet received {"connection_id":152998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":152998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:27:41] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0957ca8012d196840071fee20003b01112a..."} 
[2026-08-08 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0957ca8012d196840071fee20003b01112a..."} 
[2026-08-08 14:27:41] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0957ca8012d196840071fee20003b01112a..."} 
[2026-08-08 14:27:41] local.INFO: Packet analysis {"connection_id":152998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:41] local.INFO: Extracted packet for processing {"connection_id":152998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261900800001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786179321000,"timestamp_ms":1786179321000,"timestamp_seconds":1786179321,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0957ca8"} 
[2026-08-08 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-08-08 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-08 14:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":152998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":152998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":152998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261900800001,"66":12537,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261900800001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:27:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261900800001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":152998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:27:42] local.INFO: GPS data processed {"connection_id":152998,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:27:42] local.INFO: Acknowledgment sent {"connection_id":152998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:28:04] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:28:04] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:28:04] local.INFO: IMEI packet received {"connection_id":151512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":151512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:28:08] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:28:08] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:28:08] local.INFO: IMEI packet received {"connection_id":151512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":151512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:28:09] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0959fd0012cedf940072e13c8003f00fb2a..."} 
[2026-08-08 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0959fd0012cedf940072e13c8003f00fb2a..."} 
[2026-08-08 14:28:09] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0959fd0012cedf940072e13c8003f00fb2a..."} 
[2026-08-08 14:28:09] local.INFO: Packet analysis {"connection_id":151512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:28:09] local.INFO: Extracted packet for processing {"connection_id":151512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":753793344,"raw_latitude":120460232,"longitude_deg":75.3793344,"latitude_deg":12.0460232,"altitude":63,"angle":251,"satellites":42,"speed":25,"hex_longitude":"2cedf940","hex_latitude":"072e13c8","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261904896001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375454397359980544,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1289014625007794176,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786179330000,"timestamp_ms":1786179330000,"timestamp_seconds":1786179330,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0959fd0"} 
[2026-08-08 14:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:28: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-08-08 14: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-08-08 14:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:28: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-08-08 14:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261904896001,"66":27865,"229":206,"83":44032,"24":25,"16":375454397359980544,"44":-1289014625007794176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 14:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261904896001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:28:09] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 14:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375454397359980544,"km_value":375454397359980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1289014625007794176,"description":"Unknown IO ID 44"} 
[2026-08-08 14:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261904896001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1289014625007794176}} 
[2026-08-08 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":151512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:28:09] local.INFO: GPS data processed {"connection_id":151512,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:28:09] local.INFO: Acknowledgment sent {"connection_id":151512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:28:12] local.INFO: TCP Data received {"connection_id":152998,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe095ceb0012d196840071fee20003b011129..."} 
[2026-08-08 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe095ceb0012d196840071fee20003b011129..."} 
[2026-08-08 14:28:12] local.INFO: Processing buffer {"connection_id":152998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe095ceb0012d196840071fee20003b011129..."} 
[2026-08-08 14:28:12] local.INFO: Packet analysis {"connection_id":152998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:28:12] local.INFO: Extracted packet for processing {"connection_id":152998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261906176001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28: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-08-08 14:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786179342000,"timestamp_ms":1786179342000,"timestamp_seconds":1786179342,"priority":1,"record_length":96,"hex_timestamp":"0000019fe095ceb0"} 
[2026-08-08 14:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 14:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":152998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":152998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":152998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261906176001,"66":12526,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261906176001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:28:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261906176001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":152998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:28:12] local.INFO: GPS data processed {"connection_id":152998,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:28:12] local.INFO: Acknowledgment sent {"connection_id":152998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:28:31] local.INFO: TCP Data received {"connection_id":150291,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:28:31] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:28:31] local.INFO: IMEI packet received {"connection_id":150291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":150291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:28:36] local.INFO: TCP Data received {"connection_id":150291,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:28:36] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:28:36] local.INFO: IMEI packet received {"connection_id":150291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":150291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:28:36] local.INFO: TCP Data received {"connection_id":150291,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09620b8012d196840071fee20003b011128..."} 
[2026-08-08 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09620b8012d196840071fee20003b011128..."} 
[2026-08-08 14:28:36] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09620b8012d196840071fee20003b011128..."} 
[2026-08-08 14:28:36] local.INFO: Packet analysis {"connection_id":150291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:28:36] local.INFO: Extracted packet for processing {"connection_id":150291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261911552001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28: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-08-08 14:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179363000,"timestamp_ms":1786179363000,"timestamp_seconds":1786179363,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09620b8"} 
[2026-08-08 14:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 14:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261911552001,"66":12504,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261911552001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:28:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261911552001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":150291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:28:36] local.INFO: GPS data processed {"connection_id":150291,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:28:36] local.INFO: Acknowledgment sent {"connection_id":150291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:28:40] local.INFO: TCP Data received {"connection_id":151512,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe095e620012cedd780072e07a8004600f92b..."} 
[2026-08-08 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe095e620012cedd780072e07a8004600f92b..."} 
[2026-08-08 14:28:40] local.INFO: Processing buffer {"connection_id":151512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe095e620012cedd780072e07a8004600f92b..."} 
[2026-08-08 14:28:40] local.INFO: Packet analysis {"connection_id":151512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:28:40] local.INFO: Extracted packet for processing {"connection_id":151512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe095"} 
[2026-08-08 14:28:40] local.INFO: GPS Element Parsed {"raw_longitude":753784704,"raw_latitude":120457128,"longitude_deg":75.3784704,"latitude_deg":12.0457128,"altitude":70,"angle":249,"satellites":43,"speed":19,"hex_longitude":"2cedd780","hex_latitude":"072e07a8","is_valid_coordinates":true} 
[2026-08-08 14:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261908480001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375454831151677440,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1298936617937680384,"note":"Value kept but may cause issues"} 
[2026-08-08 14:28: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-08-08 14:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786179348000,"timestamp_ms":1786179348000,"timestamp_seconds":1786179348,"priority":1,"record_length":96,"hex_timestamp":"0000019fe095e620"} 
[2026-08-08 14:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14: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-08-08 14:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:28: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-08-08 14:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261908480001,"66":27843,"110":206,"83":44032,"24":19,"16":375454831151677440,"44":-1298936617937680384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-08 14:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261908480001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:28:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-08 14:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375454831151677440,"km_value":375454831151677.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1298936617937680384,"description":"Unknown IO ID 44"} 
[2026-08-08 14:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261908480001,"power":27843,"unknown_110":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1298936617937680384}} 
[2026-08-08 14:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":151512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:28:40] local.INFO: GPS data processed {"connection_id":151512,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:28:40] local.INFO: Acknowledgment sent {"connection_id":151512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:29:04] local.INFO: TCP Data received {"connection_id":150292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:29:04] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:29:04] local.INFO: IMEI packet received {"connection_id":150292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":150292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:29:07] local.INFO: TCP Data received {"connection_id":150291,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09672c0012d196840071fee20003b011127..."} 
[2026-08-08 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09672c0012d196840071fee20003b011127..."} 
[2026-08-08 14:29:07] local.INFO: Processing buffer {"connection_id":150291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09672c0012d196840071fee20003b011127..."} 
[2026-08-08 14:29:07] local.INFO: Packet analysis {"connection_id":150291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:29:07] local.INFO: Extracted packet for processing {"connection_id":150291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261916928001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29: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-08-08 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179384000,"timestamp_ms":1786179384000,"timestamp_seconds":1786179384,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09672c0"} 
[2026-08-08 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261916928001,"66":11613,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261916928001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261916928001,"power":11613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":150291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:29:08] local.INFO: GPS data processed {"connection_id":150291,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:29:08] local.INFO: Acknowledgment sent {"connection_id":150291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:29:10] local.INFO: TCP Data received {"connection_id":150292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:29:10] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:29:10] local.INFO: IMEI packet received {"connection_id":150292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":150292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:29:11] local.INFO: TCP Data received {"connection_id":150292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09620b8012cedb5c0072dfbe0004a00f92c..."} 
[2026-08-08 14:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09620b8012cedb5c0072dfbe0004a00f92c..."} 
[2026-08-08 14:29:11] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09620b8012cedb5c0072dfbe0004a00f92c..."} 
[2026-08-08 14:29:11] local.INFO: Packet analysis {"connection_id":150292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:29:11] local.INFO: Extracted packet for processing {"connection_id":150292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753776064,"raw_latitude":120454112,"longitude_deg":75.3776064,"latitude_deg":12.0454112,"altitude":74,"angle":249,"satellites":44,"speed":25,"hex_longitude":"2cedb5c0","hex_latitude":"072dfbe0","is_valid_coordinates":true} 
[2026-08-08 14:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261913088001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375455264943374336,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1308436398402459648,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:11] 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-08-08 14:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786179363000,"timestamp_ms":1786179363000,"timestamp_seconds":1786179363,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09620b8"} 
[2026-08-08 14:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 14:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:29: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-08-08 14:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261913088001,"66":27800,"110":206,"83":44032,"24":25,"16":375455264943374336,"44":-1308436398402459648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-08-08 14:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261913088001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:29:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-08 14:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375455264943374336,"km_value":375455264943374.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1308436398402459648,"description":"Unknown IO ID 44"} 
[2026-08-08 14:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261913088001,"power":27800,"unknown_110":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1308436398402459648}} 
[2026-08-08 14:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":150292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:29:11] local.INFO: GPS data processed {"connection_id":150292,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:29:11] local.INFO: Acknowledgment sent {"connection_id":150292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:29:28] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:28] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:28] local.INFO: IMEI packet received {"connection_id":151513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":151513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:29:31] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:31] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:31] local.INFO: IMEI packet received {"connection_id":151513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":151513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:29:36] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:36] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:29:36] local.INFO: IMEI packet received {"connection_id":151513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":151513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:29:36] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe096c4c8012d196840071fee20003b01112a..."} 
[2026-08-08 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe096c4c8012d196840071fee20003b01112a..."} 
[2026-08-08 14:29:36] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe096c4c8012d196840071fee20003b01112a..."} 
[2026-08-08 14:29:36] local.INFO: Packet analysis {"connection_id":151513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:29:36] local.INFO: Extracted packet for processing {"connection_id":151513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe096"} 
[2026-08-08 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261922304001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179405000,"timestamp_ms":1786179405000,"timestamp_seconds":1786179405,"priority":1,"record_length":96,"hex_timestamp":"0000019fe096c4c8"} 
[2026-08-08 14:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-08 14:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261922304001,"66":12385,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261922304001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:29:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261922304001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":151513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:29:36] local.INFO: GPS data processed {"connection_id":151513,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:29:36] local.INFO: Acknowledgment sent {"connection_id":151513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:29:42] local.INFO: TCP Data received {"connection_id":150292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0982c28012cec56c0072d70180039010629..."} 
[2026-08-08 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0982c28012cec56c0072d70180039010629..."} 
[2026-08-08 14:29:42] local.INFO: Processing buffer {"connection_id":150292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0982c28012cec56c0072d70180039010629..."} 
[2026-08-08 14:29:42] local.INFO: Packet analysis {"connection_id":150292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:29:42] local.INFO: Extracted packet for processing {"connection_id":150292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753686208,"raw_latitude":120418328,"longitude_deg":75.3686208,"latitude_deg":12.0418328,"altitude":57,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2cec56c0","hex_latitude":"072d7018","is_valid_coordinates":true} 
[2026-08-08 14:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261945856001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375459924982890496,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412089558585944064,"note":"Value kept but may cause issues"} 
[2026-08-08 14:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786179497000,"timestamp_ms":1786179497000,"timestamp_seconds":1786179497,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0982c28"} 
[2026-08-08 14:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 14:29: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-08-08 14:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:29: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-08-08 14:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261945856001,"66":28050,"74":206,"83":44032,"24":0,"16":375459924982890496,"44":-1412089558585944064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 14:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261945856001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:29:42] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 14:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375459924982890496,"km_value":375459924982890.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412089558585944064,"description":"Unknown IO ID 44"} 
[2026-08-08 14:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261945856001,"power":28050,"unknown_74":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1412089558585944064}} 
[2026-08-08 14:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":150292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:29:42] local.INFO: GPS data processed {"connection_id":150292,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:29:42] local.INFO: Acknowledgment sent {"connection_id":150292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:30:06] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:30:06] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:30:06] local.INFO: IMEI packet received {"connection_id":150543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":150543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:30:08] local.INFO: TCP Data received {"connection_id":151513,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09712e8012d196840071fee20003b011129..."} 
[2026-08-08 14:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09712e8012d196840071fee20003b011129..."} 
[2026-08-08 14:30:08] local.INFO: Processing buffer {"connection_id":151513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09712e8012d196840071fee20003b011129..."} 
[2026-08-08 14:30:08] local.INFO: Packet analysis {"connection_id":151513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe097"} 
[2026-08-08 14:30:08] local.INFO: Extracted packet for processing {"connection_id":151513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe097"} 
[2026-08-08 14:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261927680001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786179425000,"timestamp_ms":1786179425000,"timestamp_seconds":1786179425,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09712e8"} 
[2026-08-08 14:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 14:30: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-08-08 14:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261927680001,"66":12461,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261927680001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261927680001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":151513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:30:08] local.INFO: GPS data processed {"connection_id":151513,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:30:08] local.INFO: Acknowledgment sent {"connection_id":151513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:30:10] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:30:10] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:30:10] local.INFO: IMEI packet received {"connection_id":150543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":150543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:30:11] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0987e30012cec56c0072d7018003901062b..."} 
[2026-08-08 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0987e30012cec56c0072d7018003901062b..."} 
[2026-08-08 14:30:11] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0987e30012cec56c0072d7018003901062b..."} 
[2026-08-08 14:30:11] local.INFO: Packet analysis {"connection_id":150543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:30:11] local.INFO: Extracted packet for processing {"connection_id":150543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:30:11] local.INFO: GPS Element Parsed {"raw_longitude":753686208,"raw_latitude":120418328,"longitude_deg":75.3686208,"latitude_deg":12.0418328,"altitude":57,"angle":262,"satellites":43,"speed":0,"hex_longitude":"2cec56c0","hex_latitude":"072d7018","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261951232001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375459924982890496,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416733895701817344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786179518000,"timestamp_ms":1786179518000,"timestamp_seconds":1786179518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0987e30"} 
[2026-08-08 14:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 14:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:30: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-08-08 14:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261951232001,"66":27952,"74":206,"83":44032,"24":0,"16":375459924982890496,"44":-1416733895701817344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 14:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261951232001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:30:11] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 14:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375459924982890496,"km_value":375459924982890.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416733895701817344,"description":"Unknown IO ID 44"} 
[2026-08-08 14:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261951232001,"power":27952,"unknown_74":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1416733895701817344}} 
[2026-08-08 14:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":150543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:30:11] local.INFO: GPS data processed {"connection_id":150543,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:30:11] local.INFO: Acknowledgment sent {"connection_id":150543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:30:31] local.INFO: TCP Data received {"connection_id":150544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:31] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:31] local.INFO: IMEI packet received {"connection_id":150544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":150544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:30:31] local.INFO: TCP Data received {"connection_id":150544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:31] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:31] local.INFO: IMEI packet received {"connection_id":150544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":150544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:30:36] local.INFO: TCP Data received {"connection_id":150544,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:36] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:30:36] local.INFO: IMEI packet received {"connection_id":150544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":150544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:30:36] local.INFO: TCP Data received {"connection_id":150544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09764f0012d196840071fee20003b01112b..."} 
[2026-08-08 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09764f0012d196840071fee20003b01112b..."} 
[2026-08-08 14:30:36] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09764f0012d196840071fee20003b01112b..."} 
[2026-08-08 14:30:36] local.INFO: Packet analysis {"connection_id":150544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe097"} 
[2026-08-08 14:30:36] local.INFO: Extracted packet for processing {"connection_id":150544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe097"} 
[2026-08-08 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261932800001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30: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-08-08 14:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179446000,"timestamp_ms":1786179446000,"timestamp_seconds":1786179446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09764f0"} 
[2026-08-08 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-08-08 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:30: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-08-08 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-08-08 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-08-08 14:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261932800001,"66":12504,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261932800001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:30:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261932800001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":150544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:30:37] local.INFO: GPS data processed {"connection_id":150544,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:30:37] local.INFO: Acknowledgment sent {"connection_id":150544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:30:42] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe098d038012cec50c0072d6ef0003801092a..."} 
[2026-08-08 14:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe098d038012cec50c0072d6ef0003801092a..."} 
[2026-08-08 14:30:42] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe098d038012cec50c0072d6ef0003801092a..."} 
[2026-08-08 14:30:42] local.INFO: Packet analysis {"connection_id":150543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:30:42] local.INFO: Extracted packet for processing {"connection_id":150543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753684672,"raw_latitude":120418032,"longitude_deg":75.3684672,"latitude_deg":12.0418032,"altitude":56,"angle":265,"satellites":42,"speed":13,"hex_longitude":"2cec50c0","hex_latitude":"072d6ef0","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261956608001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375459997997334528,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416733895701817344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786179539000,"timestamp_ms":1786179539000,"timestamp_seconds":1786179539,"priority":1,"record_length":96,"hex_timestamp":"0000019fe098d038"} 
[2026-08-08 14:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":48,"data_length":795,"current_offset":136} 
[2026-08-08 14:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:30: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-08-08 14:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261956608001,"66":28028,"75":206,"83":44032,"24":13,"16":375459997997334528,"44":-1416733895701817344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 14:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261956608001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:30:42] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 14:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375459997997334528,"km_value":375459997997334.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416733895701817344,"description":"Unknown IO ID 44"} 
[2026-08-08 14:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261956608001,"power":28028,"unknown_75":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1416733895701817344}} 
[2026-08-08 14:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":150543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:30:42] local.INFO: GPS data processed {"connection_id":150543,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:30:42] local.INFO: Acknowledgment sent {"connection_id":150543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:31:08] local.INFO: TCP Data received {"connection_id":150544,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe097b6f8012d196840071fee20003b01112a..."} 
[2026-08-08 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe097b6f8012d196840071fee20003b01112a..."} 
[2026-08-08 14:31:08] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe097b6f8012d196840071fee20003b01112a..."} 
[2026-08-08 14:31:08] local.INFO: Packet analysis {"connection_id":150544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe097"} 
[2026-08-08 14:31:08] local.INFO: Extracted packet for processing {"connection_id":150544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe097"} 
[2026-08-08 14:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261938176001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786179467000,"timestamp_ms":1786179467000,"timestamp_seconds":1786179467,"priority":1,"record_length":96,"hex_timestamp":"0000019fe097b6f8"} 
[2026-08-08 14:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 14:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261938176001,"66":12504,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261938176001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:31:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261938176001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":150544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:31:08] local.INFO: GPS data processed {"connection_id":150544,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:31:08] local.INFO: Acknowledgment sent {"connection_id":150544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:31:10] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:31:10] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:31:10] local.INFO: IMEI packet received {"connection_id":151514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":151514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:31:15] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:31:15] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:31:15] local.INFO: IMEI packet received {"connection_id":151514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":151514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:31:16] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0992240012cec2c40072d6ae8003501082b..."} 
[2026-08-08 14:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0992240012cec2c40072d6ae8003501082b..."} 
[2026-08-08 14:31:16] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0992240012cec2c40072d6ae8003501082b..."} 
[2026-08-08 14:31:16] local.INFO: Packet analysis {"connection_id":151514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:31:16] local.INFO: Extracted packet for processing {"connection_id":151514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:31:16] local.INFO: GPS Element Parsed {"raw_longitude":753675328,"raw_latitude":120417000,"longitude_deg":75.3675328,"latitude_deg":12.0417,"altitude":53,"angle":264,"satellites":43,"speed":26,"hex_longitude":"2cec2c40","hex_latitude":"072d6ae8","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261961984001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375460448968900608,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418422745562157056,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786179560000,"timestamp_ms":1786179560000,"timestamp_seconds":1786179560,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0992240"} 
[2026-08-08 14:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 14:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261961984001,"66":27995,"75":206,"83":44032,"24":26,"16":375460448968900608,"44":-1418422745562157056},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 14:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261961984001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:31:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 14:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375460448968900608,"km_value":375460448968900.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418422745562157056,"description":"Unknown IO ID 44"} 
[2026-08-08 14:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261961984001,"power":27995,"unknown_75":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1418422745562157056}} 
[2026-08-08 14:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":151514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:31:16] local.INFO: GPS data processed {"connection_id":151514,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:31:16] local.INFO: Acknowledgment sent {"connection_id":151514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:31:17] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0992240012cec2c40072d6ae8003501082b..."} 
[2026-08-08 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0992240012cec2c40072d6ae8003501082b..."} 
[2026-08-08 14:31:17] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0992240012cec2c40072d6ae8003501082b..."} 
[2026-08-08 14:31:17] local.INFO: Packet analysis {"connection_id":151514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:31:17] local.INFO: Extracted packet for processing {"connection_id":151514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":753675328,"raw_latitude":120417000,"longitude_deg":75.3675328,"latitude_deg":12.0417,"altitude":53,"angle":264,"satellites":43,"speed":26,"hex_longitude":"2cec2c40","hex_latitude":"072d6ae8","is_valid_coordinates":true} 
[2026-08-08 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375460448968900608,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428696582212360192,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786179560000,"timestamp_ms":1786179560000,"timestamp_seconds":1786179560,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0992240"} 
[2026-08-08 14:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261967360001,"66":27995,"75":206,"83":44032,"24":26,"16":375460448968900608,"44":-1428696582212360192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 14:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:31:17] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 14:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375460448968900608,"km_value":375460448968900.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:31:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428696582212360192,"description":"Unknown IO ID 44"} 
[2026-08-08 14:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261967360001,"power":27995,"unknown_75":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1428696582212360192}} 
[2026-08-08 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":151514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:31:17] local.INFO: GPS data processed {"connection_id":151514,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:31:17] local.INFO: Acknowledgment sent {"connection_id":151514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:31:30] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:31:30] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:31:30] local.INFO: IMEI packet received {"connection_id":152999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":152999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:31:35] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:31:35] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:31:35] local.INFO: IMEI packet received {"connection_id":152999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":152999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:31:36] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0980900012d196840071fee20003b01112c..."} 
[2026-08-08 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0980900012d196840071fee20003b01112c..."} 
[2026-08-08 14:31:36] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0980900012d196840071fee20003b01112c..."} 
[2026-08-08 14:31:36] local.INFO: Packet analysis {"connection_id":152999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:31:36] local.INFO: Extracted packet for processing {"connection_id":152999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261943552001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31: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-08-08 14:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179488000,"timestamp_ms":1786179488000,"timestamp_seconds":1786179488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0980900"} 
[2026-08-08 14:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:31: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-08-08 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 14:31: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-08-08 14:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":152999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":152999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":152999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261943552001,"66":12461,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261943552001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:31:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261943552001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":152999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:31:36] local.INFO: GPS data processed {"connection_id":152999,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:31:36] local.INFO: Acknowledgment sent {"connection_id":152999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:31:48] local.INFO: TCP Data received {"connection_id":151514,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0995120012cec0740072d68b80034011028..."} 
[2026-08-08 14:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0995120012cec0740072d68b80034011028..."} 
[2026-08-08 14:31:48] local.INFO: Processing buffer {"connection_id":151514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0995120012cec0740072d68b80034011028..."} 
[2026-08-08 14:31:48] local.INFO: Packet analysis {"connection_id":151514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:31:48] local.INFO: Extracted packet for processing {"connection_id":151514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":753665856,"raw_latitude":120416440,"longitude_deg":75.3665856,"latitude_deg":12.041644,"altitude":52,"angle":272,"satellites":40,"speed":34,"hex_longitude":"2cec0740","hex_latitude":"072d68b8","is_valid_coordinates":true} 
[2026-08-08 14:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375460895645499392,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428696582212360192,"note":"Value kept but may cause issues"} 
[2026-08-08 14:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786179572000,"timestamp_ms":1786179572000,"timestamp_seconds":1786179572,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0995120"} 
[2026-08-08 14:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261967360001,"66":27843,"75":206,"83":44032,"24":34,"16":375460895645499392,"44":-1428696582212360192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 14:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:31:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 14:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375460895645499392,"km_value":375460895645499.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428696582212360192,"description":"Unknown IO ID 44"} 
[2026-08-08 14:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261967360001,"power":27843,"unknown_75":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1428696582212360192}} 
[2026-08-08 14:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":151514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:31:48] local.INFO: GPS data processed {"connection_id":151514,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:31:48] local.INFO: Acknowledgment sent {"connection_id":151514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:32:04] local.INFO: TCP Data received {"connection_id":153000,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:04] local.INFO: Processing buffer {"connection_id":153000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:04] local.INFO: IMEI packet received {"connection_id":153000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":153000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:32:06] local.INFO: TCP Data received {"connection_id":153000,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:06] local.INFO: Processing buffer {"connection_id":153000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:06] local.INFO: IMEI packet received {"connection_id":153000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":153000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:32:07] local.INFO: TCP Data received {"connection_id":152999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0985b08012d196840071fee20003b01112a..."} 
[2026-08-08 14:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":152999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0985b08012d196840071fee20003b01112a..."} 
[2026-08-08 14:32:07] local.INFO: Processing buffer {"connection_id":152999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0985b08012d196840071fee20003b01112a..."} 
[2026-08-08 14:32:07] local.INFO: Packet analysis {"connection_id":152999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:32:07] local.INFO: Extracted packet for processing {"connection_id":152999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261948928001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179509000,"timestamp_ms":1786179509000,"timestamp_seconds":1786179509,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0985b08"} 
[2026-08-08 14:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:32: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-08-08 14:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":152999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":152999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":152999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261948928001,"66":12504,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261948928001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261948928001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":152999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:32:07] local.INFO: GPS data processed {"connection_id":152999,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:32:07] local.INFO: Acknowledgment sent {"connection_id":152999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:32:10] local.INFO: TCP Data received {"connection_id":153000,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:10] local.INFO: Processing buffer {"connection_id":153000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:32:10] local.INFO: IMEI packet received {"connection_id":153000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":153000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:32:10] local.INFO: TCP Data received {"connection_id":153000,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09983e8012cebe2c0072d6ba8003601132c..."} 
[2026-08-08 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09983e8012cebe2c0072d6ba8003601132c..."} 
[2026-08-08 14:32:10] local.INFO: Processing buffer {"connection_id":153000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09983e8012cebe2c0072d6ba8003601132c..."} 
[2026-08-08 14:32:10] local.INFO: Packet analysis {"connection_id":153000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:32:10] local.INFO: Extracted packet for processing {"connection_id":153000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":753656512,"raw_latitude":120417192,"longitude_deg":75.3656512,"latitude_deg":12.0417192,"altitude":54,"angle":275,"satellites":44,"speed":27,"hex_longitude":"2cebe2c0","hex_latitude":"072d6ba8","is_valid_coordinates":true} 
[2026-08-08 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261970432001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375461342322098176,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1439111156350797824,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786179585000,"timestamp_ms":1786179585000,"timestamp_seconds":1786179585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09983e8"} 
[2026-08-08 14:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 14:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261970432001,"66":27995,"201":206,"83":44032,"24":27,"16":375461342322098176,"44":-1439111156350797824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-08 14:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261970432001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:32:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 14:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375461342322098176,"km_value":375461342322098.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1439111156350797824,"description":"Unknown IO ID 44"} 
[2026-08-08 14:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261970432001,"power":27995,"unknown_201":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1439111156350797824}} 
[2026-08-08 14:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":153000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:32:10] local.INFO: GPS data processed {"connection_id":153000,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:32:10] local.INFO: Acknowledgment sent {"connection_id":153000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:32:18] local.INFO: TCP Data received {"connection_id":153000,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe099b2c8012cebbd00072d7108003701172a..."} 
[2026-08-08 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe099b2c8012cebbd00072d7108003701172a..."} 
[2026-08-08 14:32:18] local.INFO: Processing buffer {"connection_id":153000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe099b2c8012cebbd00072d7108003701172a..."} 
[2026-08-08 14:32:18] local.INFO: Packet analysis {"connection_id":153000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:32:18] local.INFO: Extracted packet for processing {"connection_id":153000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":753646848,"raw_latitude":120418568,"longitude_deg":75.3646848,"latitude_deg":12.0418568,"altitude":55,"angle":279,"satellites":42,"speed":37,"hex_longitude":"2cebbd00","hex_latitude":"072d7108","is_valid_coordinates":true} 
[2026-08-08 14:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261973760001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375461806178566144,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449384993000544256,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786179597000,"timestamp_ms":1786179597000,"timestamp_seconds":1786179597,"priority":1,"record_length":96,"hex_timestamp":"0000019fe099b2c8"} 
[2026-08-08 14:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261973760001,"66":27908,"201":206,"83":44032,"24":37,"16":375461806178566144,"44":-1449384993000544256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-08 14:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261973760001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:32:18] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 14:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375461806178566144,"km_value":375461806178566.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449384993000544256,"description":"Unknown IO ID 44"} 
[2026-08-08 14:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261973760001,"power":27908,"unknown_201":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1449384993000544256}} 
[2026-08-08 14:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":153000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:32:18] local.INFO: GPS data processed {"connection_id":153000,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:32:18] local.INFO: Acknowledgment sent {"connection_id":153000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:32:30] local.INFO: TCP Data received {"connection_id":150545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:32:30] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:32:30] local.INFO: IMEI packet received {"connection_id":150545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":150545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:32:35] local.INFO: TCP Data received {"connection_id":150545,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:32:35] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:32:35] local.INFO: IMEI packet received {"connection_id":150545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":150545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:32:36] local.INFO: TCP Data received {"connection_id":150545,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe098b0f8012d196840071fee20003b01112c..."} 
[2026-08-08 14:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe098b0f8012d196840071fee20003b01112c..."} 
[2026-08-08 14:32:36] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe098b0f8012d196840071fee20003b01112c..."} 
[2026-08-08 14:32:36] local.INFO: Packet analysis {"connection_id":150545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:32:36] local.INFO: Extracted packet for processing {"connection_id":150545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe098"} 
[2026-08-08 14:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261954304001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32: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-08-08 14:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179531000,"timestamp_ms":1786179531000,"timestamp_seconds":1786179531,"priority":1,"record_length":96,"hex_timestamp":"0000019fe098b0f8"} 
[2026-08-08 14:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 14:32: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-08-08 14:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261954304001,"66":12461,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261954304001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:32:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261954304001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":150545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:32:36] local.INFO: GPS data processed {"connection_id":150545,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:32:36] local.INFO: Acknowledgment sent {"connection_id":150545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:32:53] local.INFO: TCP Data received {"connection_id":153000,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09b6c30012cea96c0072dab18002e011b2b..."} 
[2026-08-08 14:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09b6c30012cea96c0072dab18002e011b2b..."} 
[2026-08-08 14:32:53] local.INFO: Processing buffer {"connection_id":153000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09b6c30012cea96c0072dab18002e011b2b..."} 
[2026-08-08 14:32:53] local.INFO: Packet analysis {"connection_id":153000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09b"} 
[2026-08-08 14:32:53] local.INFO: Extracted packet for processing {"connection_id":153000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09b"} 
[2026-08-08 14:32:53] local.INFO: GPS Element Parsed {"raw_longitude":753571520,"raw_latitude":120433432,"longitude_deg":75.357152,"latitude_deg":12.0433432,"altitude":46,"angle":283,"satellites":43,"speed":21,"hex_longitude":"2cea96c0","hex_latitude":"072dab18","is_valid_coordinates":true} 
[2026-08-08 14:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262005248001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375465491260506112,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541708785357572096,"note":"Value kept but may cause issues"} 
[2026-08-08 14:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786179710000,"timestamp_ms":1786179710000,"timestamp_seconds":1786179710,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09b6c30"} 
[2026-08-08 14:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:32: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-08-08 14:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":153000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":153000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":153000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262005248001,"66":27876,"201":206,"83":44032,"24":21,"16":375465491260506112,"44":-1541708785357572096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-08 14:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262005248001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:32:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 14:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375465491260506112,"km_value":375465491260506.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541708785357572096,"description":"Unknown IO ID 44"} 
[2026-08-08 14:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262005248001,"power":27876,"unknown_201":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1541708785357572096}} 
[2026-08-08 14:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":153000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:32:53] local.INFO: GPS data processed {"connection_id":153000,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:32:53] local.INFO: Acknowledgment sent {"connection_id":153000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:33:05] local.INFO: TCP Data received {"connection_id":150293,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:05] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:05] local.INFO: IMEI packet received {"connection_id":150293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":150293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:33:05] local.INFO: TCP Data received {"connection_id":150293,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:05] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:05] local.INFO: IMEI packet received {"connection_id":150293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":150293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:33:07] local.INFO: TCP Data received {"connection_id":150293,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:07] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:33:07] local.INFO: IMEI packet received {"connection_id":150293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":150293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:33:07] local.INFO: TCP Data received {"connection_id":150293,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09b7400012cea9280072dab90002e010c2a..."} 
[2026-08-08 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09b7400012cea9280072dab90002e010c2a..."} 
[2026-08-08 14:33:07] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09b7400012cea9280072dab90002e010c2a..."} 
[2026-08-08 14:33:07] local.INFO: Packet analysis {"connection_id":150293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09b"} 
[2026-08-08 14:33:07] local.INFO: Extracted packet for processing {"connection_id":150293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09b"} 
[2026-08-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":753570432,"raw_latitude":120433552,"longitude_deg":75.3570432,"latitude_deg":12.0433552,"altitude":46,"angle":268,"satellites":42,"speed":22,"hex_longitude":"2cea9280","hex_latitude":"072dab90","is_valid_coordinates":true} 
[2026-08-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262005760001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375465542800113664,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542834685264324608,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179712000,"timestamp_ms":1786179712000,"timestamp_seconds":1786179712,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09b7400"} 
[2026-08-08 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262005760001,"66":27919,"201":206,"83":44032,"24":22,"16":375465542800113664,"44":-1542834685264324608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262005760001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375465542800113664,"km_value":375465542800113.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542834685264324608,"description":"Unknown IO ID 44"} 
[2026-08-08 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262005760001,"power":27919,"unknown_201":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1542834685264324608}} 
[2026-08-08 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":150293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:33:07] local.INFO: GPS data processed {"connection_id":150293,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:33:07] local.INFO: Acknowledgment sent {"connection_id":150293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:33:07] local.INFO: TCP Data received {"connection_id":150545,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0990300012d196840071fee20003b01112a..."} 
[2026-08-08 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0990300012d196840071fee20003b01112a..."} 
[2026-08-08 14:33:07] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0990300012d196840071fee20003b01112a..."} 
[2026-08-08 14:33:07] local.INFO: Packet analysis {"connection_id":150545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:33:07] local.INFO: Extracted packet for processing {"connection_id":150545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261959936001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33: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-08-08 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179552000,"timestamp_ms":1786179552000,"timestamp_seconds":1786179552,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0990300"} 
[2026-08-08 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:33: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-08-08 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261959936001,"66":12472,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261959936001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261959936001,"power":12472,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":150545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:33:07] local.INFO: GPS data processed {"connection_id":150545,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:33:07] local.INFO: Acknowledgment sent {"connection_id":150545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:33:36] local.INFO: TCP Data received {"connection_id":153001,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:33:36] local.INFO: Processing buffer {"connection_id":153001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:33:36] local.INFO: IMEI packet received {"connection_id":153001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":153001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:33:38] local.INFO: TCP Data received {"connection_id":150293,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09c6248012cea2840072dd0380024014329..."} 
[2026-08-08 14:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09c6248012cea2840072dd0380024014329..."} 
[2026-08-08 14:33:38] local.INFO: Processing buffer {"connection_id":150293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09c6248012cea2840072dd0380024014329..."} 
[2026-08-08 14:33:38] local.INFO: Packet analysis {"connection_id":150293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09c"} 
[2026-08-08 14:33:38] local.INFO: Extracted packet for processing {"connection_id":150293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09c"} 
[2026-08-08 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":753543232,"raw_latitude":120442936,"longitude_deg":75.3543232,"latitude_deg":12.0442936,"altitude":36,"angle":323,"satellites":41,"speed":29,"hex_longitude":"2cea2840","hex_latitude":"072dd038","is_valid_coordinates":true} 
[2026-08-08 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262021632001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375467015973896192,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1573445088979314688,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786179773000,"timestamp_ms":1786179773000,"timestamp_seconds":1786179773,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09c6248"} 
[2026-08-08 14:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262021632001,"66":27930,"203":206,"83":44032,"24":29,"16":375467015973896192,"44":-1573445088979314688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-08 14:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262021632001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375467015973896192,"km_value":375467015973896.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:33:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1573445088979314688,"description":"Unknown IO ID 44"} 
[2026-08-08 14:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262021632001,"power":27930,"mnc":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1573445088979314688}} 
[2026-08-08 14:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":150293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:33:38] local.INFO: GPS data processed {"connection_id":150293,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:33:38] local.INFO: Acknowledgment sent {"connection_id":150293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:33:41] local.INFO: TCP Data received {"connection_id":153001,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:33:41] local.INFO: Processing buffer {"connection_id":153001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:33:41] local.INFO: IMEI packet received {"connection_id":153001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":153001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:33:42] local.INFO: TCP Data received {"connection_id":153001,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0995508012d196840071fee20003b01112a..."} 
[2026-08-08 14:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0995508012d196840071fee20003b01112a..."} 
[2026-08-08 14:33:42] local.INFO: Processing buffer {"connection_id":153001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0995508012d196840071fee20003b01112a..."} 
[2026-08-08 14:33:42] local.INFO: Packet analysis {"connection_id":153001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:33:42] local.INFO: Extracted packet for processing {"connection_id":153001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261965312001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:33: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-08-08 14:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786179573000,"timestamp_ms":1786179573000,"timestamp_seconds":1786179573,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0995508"} 
[2026-08-08 14:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 14:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261965312001,"66":12461,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261965312001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:33:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261965312001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":153001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:33:42] local.INFO: GPS data processed {"connection_id":153001,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:33:42] local.INFO: Acknowledgment sent {"connection_id":153001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:34:05] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:05] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:05] local.INFO: IMEI packet received {"connection_id":151515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":151515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:34:07] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:07] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:07] local.INFO: IMEI packet received {"connection_id":151515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":151515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:34:08] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:08] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:08] local.INFO: IMEI packet received {"connection_id":151515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":151515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:34:10] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:10] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:34:10] local.INFO: IMEI packet received {"connection_id":151515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":151515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:34:10] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09c6a18012cea2580072dd570002201542b..."} 
[2026-08-08 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09c6a18012cea2580072dd570002201542b..."} 
[2026-08-08 14:34:11] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09c6a18012cea2580072dd570002201542b..."} 
[2026-08-08 14:34:11] local.INFO: Packet analysis {"connection_id":151515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09c"} 
[2026-08-08 14:34:11] local.INFO: Extracted packet for processing {"connection_id":151515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09c"} 
[2026-08-08 14:34:11] local.INFO: GPS Element Parsed {"raw_longitude":753542528,"raw_latitude":120444272,"longitude_deg":75.3542528,"latitude_deg":12.0444272,"altitude":34,"angle":340,"satellites":43,"speed":32,"hex_longitude":"2cea2580","hex_latitude":"072dd570","is_valid_coordinates":true} 
[2026-08-08 14:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262021888001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375467088988340224,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1573937670188419072,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786179775000,"timestamp_ms":1786179775000,"timestamp_seconds":1786179775,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09c6a18"} 
[2026-08-08 14:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262021888001,"66":27104,"203":206,"83":44032,"24":32,"16":375467088988340224,"44":-1573937670188419072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-08 14:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262021888001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375467088988340224,"km_value":375467088988340.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1573937670188419072,"description":"Unknown IO ID 44"} 
[2026-08-08 14:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262021888001,"power":27104,"mnc":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1573937670188419072}} 
[2026-08-08 14:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":151515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:34:11] local.INFO: GPS data processed {"connection_id":151515,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:34:11] local.INFO: Acknowledgment sent {"connection_id":151515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:34:13] local.INFO: TCP Data received {"connection_id":153001,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe099a710012d196840071fee20003b011129..."} 
[2026-08-08 14:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe099a710012d196840071fee20003b011129..."} 
[2026-08-08 14:34:13] local.INFO: Processing buffer {"connection_id":153001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe099a710012d196840071fee20003b011129..."} 
[2026-08-08 14:34:13] local.INFO: Packet analysis {"connection_id":153001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:34:13] local.INFO: Extracted packet for processing {"connection_id":153001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261970688001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786179594000,"timestamp_ms":1786179594000,"timestamp_seconds":1786179594,"priority":1,"record_length":96,"hex_timestamp":"0000019fe099a710"} 
[2026-08-08 14:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261970688001,"66":12461,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261970688001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:34:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261970688001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":153001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:34:13] local.INFO: GPS data processed {"connection_id":153001,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:34:13] local.INFO: Acknowledgment sent {"connection_id":153001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:34:15] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09c79b8012cea22c0072de310001f01662b..."} 
[2026-08-08 14:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09c79b8012cea22c0072de310001f01662b..."} 
[2026-08-08 14:34:15] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09c79b8012cea22c0072de310001f01662b..."} 
[2026-08-08 14:34:15] local.INFO: Packet analysis {"connection_id":151515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09c"} 
[2026-08-08 14:34:15] local.INFO: Extracted packet for processing {"connection_id":151515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09c"} 
[2026-08-08 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":753541824,"raw_latitude":120447760,"longitude_deg":75.3541824,"latitude_deg":12.044776,"altitude":31,"angle":358,"satellites":43,"speed":37,"hex_longitude":"2cea22c0","hex_latitude":"072de310","is_valid_coordinates":true} 
[2026-08-08 14:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262022400001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375467260787032064,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574711726374031360,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786179779000,"timestamp_ms":1786179779000,"timestamp_seconds":1786179779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09c79b8"} 
[2026-08-08 14:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 14:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:34: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-08-08 14:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262022400001,"66":27876,"203":206,"83":44032,"24":37,"16":375467260787032064,"44":-1574711726374031360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-08 14:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262022400001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:34:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375467260787032064,"km_value":375467260787032.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574711726374031360,"description":"Unknown IO ID 44"} 
[2026-08-08 14:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262022400001,"power":27876,"mnc":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1574711726374031360}} 
[2026-08-08 14:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":151515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:34:15] local.INFO: GPS data processed {"connection_id":151515,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:34:15] local.INFO: Acknowledgment sent {"connection_id":151515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:34:31] local.INFO: TCP Data received {"connection_id":150294,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:34:31] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:34:31] local.INFO: IMEI packet received {"connection_id":150294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":150294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:34:35] local.INFO: TCP Data received {"connection_id":150294,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:34:35] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:34:35] local.INFO: IMEI packet received {"connection_id":150294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":150294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:34:36] local.INFO: TCP Data received {"connection_id":150294,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe099f918012d196840071fee20003b01112b..."} 
[2026-08-08 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe099f918012d196840071fee20003b01112b..."} 
[2026-08-08 14:34:36] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe099f918012d196840071fee20003b01112b..."} 
[2026-08-08 14:34:36] local.INFO: Packet analysis {"connection_id":150294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:34:36] local.INFO: Extracted packet for processing {"connection_id":150294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe099"} 
[2026-08-08 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261976064001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34: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-08-08 14:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179615000,"timestamp_ms":1786179615000,"timestamp_seconds":1786179615,"priority":1,"record_length":96,"hex_timestamp":"0000019fe099f918"} 
[2026-08-08 14:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:34: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-08-08 14:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:34: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-08-08 14:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261976064001,"66":12504,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261976064001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:34:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261976064001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":150294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:34:36] local.INFO: GPS data processed {"connection_id":150294,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:34:36] local.INFO: Acknowledgment sent {"connection_id":150294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:34:45] local.INFO: TCP Data received {"connection_id":151515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09d5478012ce980c0072e5668000a013c28..."} 
[2026-08-08 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09d5478012ce980c0072e5668000a013c28..."} 
[2026-08-08 14:34:45] local.INFO: Processing buffer {"connection_id":151515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09d5478012ce980c0072e5668000a013c28..."} 
[2026-08-08 14:34:45] local.INFO: Packet analysis {"connection_id":151515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:34:45] local.INFO: Extracted packet for processing {"connection_id":151515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":753500352,"raw_latitude":120477288,"longitude_deg":75.3500352,"latitude_deg":12.0477288,"altitude":10,"angle":316,"satellites":40,"speed":41,"hex_longitude":"2ce980c0","hex_latitude":"072e5668","is_valid_coordinates":true} 
[2026-08-08 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262036480001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375470108350349312,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1618129241524391936,"note":"Value kept but may cause issues"} 
[2026-08-08 14:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786179835000,"timestamp_ms":1786179835000,"timestamp_seconds":1786179835,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09d5478"} 
[2026-08-08 14:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262036480001,"66":27919,"203":206,"83":44032,"24":41,"16":375470108350349312,"44":-1618129241524391936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-08 14:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262036480001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375470108350349312,"km_value":375470108350349.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1618129241524391936,"description":"Unknown IO ID 44"} 
[2026-08-08 14:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262036480001,"power":27919,"mnc":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1618129241524391936}} 
[2026-08-08 14:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":151515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:34:45] local.INFO: GPS data processed {"connection_id":151515,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:34:45] local.INFO: Acknowledgment sent {"connection_id":151515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:35:03] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:03] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:03] local.INFO: IMEI packet received {"connection_id":151516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":151516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:35:05] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:05] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:05] local.INFO: IMEI packet received {"connection_id":151516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:35:07] local.INFO: TCP Data received {"connection_id":150294,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09a4b20012d196840071fee20003b01112b..."} 
[2026-08-08 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09a4b20012d196840071fee20003b01112b..."} 
[2026-08-08 14:35:07] local.INFO: Processing buffer {"connection_id":150294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09a4b20012d196840071fee20003b01112b..."} 
[2026-08-08 14:35:07] local.INFO: Packet analysis {"connection_id":150294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09a"} 
[2026-08-08 14:35:07] local.INFO: Extracted packet for processing {"connection_id":150294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09a"} 
[2026-08-08 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261981440001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35: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-08-08 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786179636000,"timestamp_ms":1786179636000,"timestamp_seconds":1786179636,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09a4b20"} 
[2026-08-08 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 14:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261981440001,"66":11863,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261981440001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261981440001,"power":11863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":150294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:35:07] local.INFO: GPS data processed {"connection_id":150294,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:35:07] local.INFO: Acknowledgment sent {"connection_id":150294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:35:08] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:08] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:35:08] local.INFO: IMEI packet received {"connection_id":151516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":151516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:35:09] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09d5c48012ce97a00072e5b50000a012828..."} 
[2026-08-08 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09d5c48012ce97a00072e5b50000a012828..."} 
[2026-08-08 14:35:09] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09d5c48012ce97a00072e5b50000a012828..."} 
[2026-08-08 14:35:09] local.INFO: Packet analysis {"connection_id":151516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:35:09] local.INFO: Extracted packet for processing {"connection_id":151516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":753498624,"raw_latitude":120478544,"longitude_deg":75.3498624,"latitude_deg":12.0478544,"altitude":10,"angle":296,"satellites":40,"speed":42,"hex_longitude":"2ce97a00","hex_latitude":"072e5b50","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262037760001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375470211429564416,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1621084728778659840,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786179837000,"timestamp_ms":1786179837000,"timestamp_seconds":1786179837,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09d5c48"} 
[2026-08-08 14:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:35: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-08-08 14:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262037760001,"66":28028,"203":206,"83":44032,"24":42,"16":375470211429564416,"44":-1621084728778659840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-08 14:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262037760001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375470211429564416,"km_value":375470211429564.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1621084728778659840,"description":"Unknown IO ID 44"} 
[2026-08-08 14:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262037760001,"power":28028,"mnc":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1621084728778659840}} 
[2026-08-08 14:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":151516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:35:09] local.INFO: GPS data processed {"connection_id":151516,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:35:09] local.INFO: Acknowledgment sent {"connection_id":151516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:35:31] local.INFO: TCP Data received {"connection_id":150295,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:35:31] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:35:31] local.INFO: IMEI packet received {"connection_id":150295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":150295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:35:36] local.INFO: TCP Data received {"connection_id":150295,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:35:36] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:35:36] local.INFO: IMEI packet received {"connection_id":150295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:35:36] local.INFO: TCP Data received {"connection_id":150295,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09a9d28012d196840071fee20003b01112a..."} 
[2026-08-08 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09a9d28012d196840071fee20003b01112a..."} 
[2026-08-08 14:35:36] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09a9d28012d196840071fee20003b01112a..."} 
[2026-08-08 14:35:36] local.INFO: Packet analysis {"connection_id":150295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09a"} 
[2026-08-08 14:35:36] local.INFO: Extracted packet for processing {"connection_id":150295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09a"} 
[2026-08-08 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261986816001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35: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-08-08 14:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179657000,"timestamp_ms":1786179657000,"timestamp_seconds":1786179657,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09a9d28"} 
[2026-08-08 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-08-08 14:35: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-08-08 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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-08 14:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261986816001,"66":12504,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261986816001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:35:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261986816001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":150295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:35:37] local.INFO: GPS data processed {"connection_id":150295,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:35:37] local.INFO: Acknowledgment sent {"connection_id":150295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:35:40] local.INFO: TCP Data received {"connection_id":151516,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09d6be8012ce96940072e60c00009011a2a..."} 
[2026-08-08 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09d6be8012ce96940072e60c00009011a2a..."} 
[2026-08-08 14:35:40] local.INFO: Processing buffer {"connection_id":151516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09d6be8012ce96940072e60c00009011a2a..."} 
[2026-08-08 14:35:40] local.INFO: Packet analysis {"connection_id":151516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:35:40] local.INFO: Extracted packet for processing {"connection_id":151516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":753494336,"raw_latitude":120479936,"longitude_deg":75.3494336,"latitude_deg":12.0479936,"altitude":9,"angle":282,"satellites":42,"speed":45,"hex_longitude":"2ce96940","hex_latitude":"072e60c0","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262038272001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375470426177929216,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1622984684871135232,"note":"Value kept but may cause issues"} 
[2026-08-08 14:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786179841000,"timestamp_ms":1786179841000,"timestamp_seconds":1786179841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09d6be8"} 
[2026-08-08 14:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 14:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:35: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-08-08 14:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262038272001,"66":28028,"203":206,"83":44032,"24":45,"16":375470426177929216,"44":-1622984684871135232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-08-08 14:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262038272001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375470426177929216,"km_value":375470426177929.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1622984684871135232,"description":"Unknown IO ID 44"} 
[2026-08-08 14:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262038272001,"power":28028,"mnc":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1622984684871135232}} 
[2026-08-08 14:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":151516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:35:40] local.INFO: GPS data processed {"connection_id":151516,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:35:40] local.INFO: Acknowledgment sent {"connection_id":151516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:36:04] local.INFO: TCP Data received {"connection_id":150546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:36:04] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:36:04] local.INFO: IMEI packet received {"connection_id":150546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":150546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:36:07] local.INFO: TCP Data received {"connection_id":150295,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09aeb48012d196840071fee20003b011129..."} 
[2026-08-08 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09aeb48012d196840071fee20003b011129..."} 
[2026-08-08 14:36:08] local.INFO: Processing buffer {"connection_id":150295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09aeb48012d196840071fee20003b011129..."} 
[2026-08-08 14:36:08] local.INFO: Packet analysis {"connection_id":150295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09a"} 
[2026-08-08 14:36:08] local.INFO: Extracted packet for processing {"connection_id":150295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09a"} 
[2026-08-08 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457261992192001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786179677000,"timestamp_ms":1786179677000,"timestamp_seconds":1786179677,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09aeb48"} 
[2026-08-08 14:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 14:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457261992192001,"66":12461,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457261992192001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:36:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457261992192001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":150295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:36:08] local.INFO: GPS data processed {"connection_id":150295,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:36:08] local.INFO: Acknowledgment sent {"connection_id":150295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:36:10] local.INFO: TCP Data received {"connection_id":150546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:36:10] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:36:10] local.INFO: IMEI packet received {"connection_id":150546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":150546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:36:11] local.INFO: TCP Data received {"connection_id":150546,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09d8b28012ce94540072e66b00009011429..."} 
[2026-08-08 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09d8b28012ce94540072e66b00009011429..."} 
[2026-08-08 14:36:11] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09d8b28012ce94540072e66b00009011429..."} 
[2026-08-08 14:36:11] local.INFO: Packet analysis {"connection_id":150546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:36:11] local.INFO: Extracted packet for processing {"connection_id":150546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":753485120,"raw_latitude":120481456,"longitude_deg":75.348512,"latitude_deg":12.0481456,"altitude":9,"angle":276,"satellites":41,"speed":43,"hex_longitude":"2ce94540","hex_latitude":"072e66b0","is_valid_coordinates":true} 
[2026-08-08 14:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262039296001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375470868559560704,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1627699390730682368,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:11] 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-08-08 14:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786179849000,"timestamp_ms":1786179849000,"timestamp_seconds":1786179849,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09d8b28"} 
[2026-08-08 14:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 14:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:36: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-08-08 14:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262039296001,"66":27974,"28":206,"83":44032,"24":43,"16":375470868559560704,"44":-1627699390730682368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262039296001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375470868559560704,"km_value":375470868559560.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1627699390730682368,"description":"Unknown IO ID 44"} 
[2026-08-08 14:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262039296001,"power":27974,"unknown_28":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1627699390730682368}} 
[2026-08-08 14:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":150546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:36:11] local.INFO: GPS data processed {"connection_id":150546,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:36:11] local.INFO: Acknowledgment sent {"connection_id":150546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:36:31] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:36:31] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:36:31] local.INFO: IMEI packet received {"connection_id":150547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":150547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:36:36] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:36:36] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:36:36] local.INFO: IMEI packet received {"connection_id":150547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:36:36] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09e7588012d196840071fee20003b01112a..."} 
[2026-08-08 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09e7588012d196840071fee20003b01112a..."} 
[2026-08-08 14:36:36] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09e7588012d196840071fee20003b01112a..."} 
[2026-08-08 14:36:36] local.INFO: Packet analysis {"connection_id":150547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09e"} 
[2026-08-08 14:36:36] local.INFO: Extracted packet for processing {"connection_id":150547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09e"} 
[2026-08-08 14:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533088,"longitude_deg":75.6639808,"latitude_deg":11.9533088,"altitude":59,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262051328001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11474082440675328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870754816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36: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-08-08 14:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786179909000,"timestamp_ms":1786179909000,"timestamp_seconds":1786179909,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09e7588"} 
[2026-08-08 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-08-08 14:36: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-08-08 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":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:36: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-08-08 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-08-08 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-08-08 14:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262051328001,"66":12406,"103":206,"83":41984,"24":0,"16":11474082440675328,"45":1830783647870754816},"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-08-08 14:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262051328001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:36:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11474082440675328,"km_value":11474082440675.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870754816,"description":"Unknown IO ID 45"} 
[2026-08-08 14:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262051328001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870754816}} 
[2026-08-08 14:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":150547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:36:36] local.INFO: GPS data processed {"connection_id":150547,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:36:36] local.INFO: Acknowledgment sent {"connection_id":150547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:36:51] local.INFO: TCP Data received {"connection_id":150546,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09dae50012ce91f00072e6c500009011a2a..."} 
[2026-08-08 14:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09dae50012ce91f00072e6c500009011a2a..."} 
[2026-08-08 14:36:51] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09dae50012ce91f00072e6c500009011a2a..."} 
[2026-08-08 14:36:51] local.INFO: Packet analysis {"connection_id":150546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:36:51] local.INFO: Extracted packet for processing {"connection_id":150546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09d"} 
[2026-08-08 14:36:51] local.INFO: GPS Element Parsed {"raw_longitude":753475328,"raw_latitude":120482896,"longitude_deg":75.3475328,"latitude_deg":12.0482896,"altitude":9,"angle":282,"satellites":42,"speed":42,"hex_longitude":"2ce91f00","hex_latitude":"072e6c50","is_valid_coordinates":true} 
[2026-08-08 14:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262041344001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375471336710995968,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1637832489891876864,"note":"Value kept but may cause issues"} 
[2026-08-08 14:36:51] 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-08-08 14:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786179858000,"timestamp_ms":1786179858000,"timestamp_seconds":1786179858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09dae50"} 
[2026-08-08 14:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262041344001,"66":27865,"28":206,"83":44032,"24":42,"16":375471336710995968,"44":-1637832489891876864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262041344001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375471336710995968,"km_value":375471336710995.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1637832489891876864,"description":"Unknown IO ID 44"} 
[2026-08-08 14:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262041344001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1637832489891876864}} 
[2026-08-08 14:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":150546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:36:51] local.INFO: GPS data processed {"connection_id":150546,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:36:51] local.INFO: Acknowledgment sent {"connection_id":150546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:37:15] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:37:15] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:37:15] local.INFO: IMEI packet received {"connection_id":151517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":151517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:37:20] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:37:20] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:37:20] local.INFO: IMEI packet received {"connection_id":151517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":151517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:37:21] local.INFO: TCP Data received {"connection_id":151517,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe09f7f28012ce84940072f35200010015e2c..."} 
[2026-08-08 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe09f7f28012ce84940072f35200010015e2c..."} 
[2026-08-08 14:37:21] local.INFO: Processing buffer {"connection_id":151517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe09f7f28012ce84940072f35200010015e2c..."} 
[2026-08-08 14:37:21] local.INFO: Packet analysis {"connection_id":151517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe09f"} 
[2026-08-08 14:37:21] local.INFO: Extracted packet for processing {"connection_id":151517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe09f"} 
[2026-08-08 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":753420608,"raw_latitude":120534304,"longitude_deg":75.3420608,"latitude_deg":12.0534304,"altitude":16,"angle":350,"satellites":44,"speed":16,"hex_longitude":"2ce84940","hex_latitude":"072f3520","is_valid_coordinates":true} 
[2026-08-08 14:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262070784001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375475043267772416,"note":"Value kept but may cause issues"} 
[2026-08-08 14:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1706653121685639168,"note":"Value kept but may cause issues"} 
[2026-08-08 14:37:21] 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-08-08 14:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786179977000,"timestamp_ms":1786179977000,"timestamp_seconds":1786179977,"priority":1,"record_length":96,"hex_timestamp":"0000019fe09f7f28"} 
[2026-08-08 14:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262070784001,"66":27930,"28":206,"83":44032,"24":16,"16":375475043267772416,"44":-1706653121685639168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262070784001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:37:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375475043267772416,"km_value":375475043267772.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1706653121685639168,"description":"Unknown IO ID 44"} 
[2026-08-08 14:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262070784001,"power":27930,"unknown_28":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1706653121685639168}} 
[2026-08-08 14:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":151517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:37:21] local.INFO: GPS data processed {"connection_id":151517,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:37:21] local.INFO: Acknowledgment sent {"connection_id":151517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:38:05] local.INFO: TCP Data received {"connection_id":150548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:05] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:05] local.INFO: IMEI packet received {"connection_id":150548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":150548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:38:05] local.INFO: TCP Data received {"connection_id":150548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:05] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:05] local.INFO: IMEI packet received {"connection_id":150548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":150548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:38:07] local.INFO: TCP Data received {"connection_id":150548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:07] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:07] local.INFO: IMEI packet received {"connection_id":150548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":150548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:38:10] local.INFO: TCP Data received {"connection_id":150548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:10] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:38:10] local.INFO: IMEI packet received {"connection_id":150548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":150548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:38:10] local.INFO: TCP Data received {"connection_id":150548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a04278012ce84ec0072f71c00018011328..."} 
[2026-08-08 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a04278012ce84ec0072f71c00018011328..."} 
[2026-08-08 14:38:10] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a04278012ce84ec0072f71c00018011328..."} 
[2026-08-08 14:38:10] local.INFO: Packet analysis {"connection_id":150548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a0"} 
[2026-08-08 14:38:10] local.INFO: Extracted packet for processing {"connection_id":150548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a0"} 
[2026-08-08 14:38:10] local.INFO: GPS Element Parsed {"raw_longitude":753422016,"raw_latitude":120549824,"longitude_deg":75.3422016,"latitude_deg":12.0549824,"altitude":24,"angle":275,"satellites":40,"speed":20,"hex_longitude":"2ce84ec0","hex_latitude":"072f71c0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262086400001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375475923736068096,"note":"Value kept but may cause issues"} 
[2026-08-08 14:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1706019802982582272,"note":"Value kept but may cause issues"} 
[2026-08-08 14:38:10] 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-08-08 14:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180027000,"timestamp_ms":1786180027000,"timestamp_seconds":1786180027,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a04278"} 
[2026-08-08 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-08-08 14:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262086400001,"66":27974,"37":206,"83":44032,"24":20,"16":375475923736068096,"44":-1706019802982582272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-08-08 14:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262086400001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:38:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-08 14:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375475923736068096,"km_value":375475923736068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1706019802982582272,"description":"Unknown IO ID 44"} 
[2026-08-08 14:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262086400001,"power":27974,"unknown_37":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1706019802982582272}} 
[2026-08-08 14:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":150548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:38:10] local.INFO: GPS data processed {"connection_id":150548,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:38:10] local.INFO: Acknowledgment sent {"connection_id":150548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:38:45] local.INFO: TCP Data received {"connection_id":150548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a06988012ce83ac0072f7358001b010727..."} 
[2026-08-08 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a06988012ce83ac0072f7358001b010727..."} 
[2026-08-08 14:38:45] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a06988012ce83ac0072f7358001b010727..."} 
[2026-08-08 14:38:45] local.INFO: Packet analysis {"connection_id":150548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a0"} 
[2026-08-08 14:38:45] local.INFO: Extracted packet for processing {"connection_id":150548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a0"} 
[2026-08-08 14:38:45] local.INFO: GPS Element Parsed {"raw_longitude":753416896,"raw_latitude":120550232,"longitude_deg":75.3416896,"latitude_deg":12.0550232,"altitude":27,"angle":263,"satellites":39,"speed":22,"hex_longitude":"2ce83ac0","hex_latitude":"072f7358","is_valid_coordinates":true} 
[2026-08-08 14:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262086912001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375476164254236672,"note":"Value kept but may cause issues"} 
[2026-08-08 14:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1707216071633551360,"note":"Value kept but may cause issues"} 
[2026-08-08 14:38:45] 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-08-08 14:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786180037000,"timestamp_ms":1786180037000,"timestamp_seconds":1786180037,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a06988"} 
[2026-08-08 14:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262086912001,"66":27974,"28":206,"83":44032,"24":22,"16":375476164254236672,"44":-1707216071633551360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262086912001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375476164254236672,"km_value":375476164254236.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1707216071633551360,"description":"Unknown IO ID 44"} 
[2026-08-08 14:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262086912001,"power":27974,"unknown_28":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1707216071633551360}} 
[2026-08-08 14:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":150548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:38:45] local.INFO: GPS data processed {"connection_id":150548,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:38:45] local.INFO: Acknowledgment sent {"connection_id":150548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:39:04] local.INFO: TCP Data received {"connection_id":150296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:39:04] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:39:04] local.INFO: IMEI packet received {"connection_id":150296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":150296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:39:10] local.INFO: TCP Data received {"connection_id":150296,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:39:10] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:39:10] local.INFO: IMEI packet received {"connection_id":150296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":150296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:39:10] local.INFO: TCP Data received {"connection_id":150296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a130c0012ce80280072f9a40002b01112b..."} 
[2026-08-08 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a130c0012ce80280072f9a40002b01112b..."} 
[2026-08-08 14:39:10] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a130c0012ce80280072f9a40002b01112b..."} 
[2026-08-08 14:39:10] local.INFO: Packet analysis {"connection_id":150296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a1"} 
[2026-08-08 14:39:10] local.INFO: Extracted packet for processing {"connection_id":150296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a1"} 
[2026-08-08 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":753402496,"raw_latitude":120560192,"longitude_deg":75.3402496,"latitude_deg":12.0560192,"altitude":43,"angle":273,"satellites":43,"speed":19,"hex_longitude":"2ce80280","hex_latitude":"072f9a40","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262102272001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375477122031943680,"note":"Value kept but may cause issues"} 
[2026-08-08 14:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1728115588651685888,"note":"Value kept but may cause issues"} 
[2026-08-08 14:39:10] 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-08-08 14:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180088000,"timestamp_ms":1786180088000,"timestamp_seconds":1786180088,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a130c0"} 
[2026-08-08 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-08-08 14:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262102272001,"66":27865,"28":206,"83":44032,"24":19,"16":375477122031943680,"44":-1728115588651685888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262102272001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:39:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375477122031943680,"km_value":375477122031943.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1728115588651685888,"description":"Unknown IO ID 44"} 
[2026-08-08 14:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262102272001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1728115588651685888}} 
[2026-08-08 14:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":150296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:39:11] local.INFO: GPS data processed {"connection_id":150296,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:39:11] local.INFO: Acknowledgment sent {"connection_id":150296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:39:44] local.INFO: TCP Data received {"connection_id":150296,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a13890012ce7fe80072f99f0002a01022c..."} 
[2026-08-08 14:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a13890012ce7fe80072f99f0002a01022c..."} 
[2026-08-08 14:39:44] local.INFO: Processing buffer {"connection_id":150296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a13890012ce7fe80072f99f0002a01022c..."} 
[2026-08-08 14:39:44] local.INFO: Packet analysis {"connection_id":150296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a1"} 
[2026-08-08 14:39:44] local.INFO: Extracted packet for processing {"connection_id":150296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a1"} 
[2026-08-08 14:39:44] local.INFO: GPS Element Parsed {"raw_longitude":753401472,"raw_latitude":120560112,"longitude_deg":75.3401472,"latitude_deg":12.0560112,"altitude":42,"angle":258,"satellites":44,"speed":21,"hex_longitude":"2ce7fe80","hex_latitude":"072f99f0","is_valid_coordinates":true} 
[2026-08-08 14:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262102528001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375477169276583936,"note":"Value kept but may cause issues"} 
[2026-08-08 14:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1728678538605084672,"note":"Value kept but may cause issues"} 
[2026-08-08 14:39:44] 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-08-08 14:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786180090000,"timestamp_ms":1786180090000,"timestamp_seconds":1786180090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a13890"} 
[2026-08-08 14:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 14:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262102528001,"66":27691,"28":206,"83":44032,"24":21,"16":375477169276583936,"44":-1728678538605084672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262102528001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:39:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375477169276583936,"km_value":375477169276583.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1728678538605084672,"description":"Unknown IO ID 44"} 
[2026-08-08 14:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262102528001,"power":27691,"unknown_28":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1728678538605084672}} 
[2026-08-08 14:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":150296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:39:44] local.INFO: GPS data processed {"connection_id":150296,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:39:44] local.INFO: Acknowledgment sent {"connection_id":150296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:40:08] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:08] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:08] local.INFO: IMEI packet received {"connection_id":153002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":153002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:40:09] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:09] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:09] local.INFO: IMEI packet received {"connection_id":153002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":153002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:40:15] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:15] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:40:15] local.INFO: IMEI packet received {"connection_id":153002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":153002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:40:16] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a157d0012ce7ec00072f96180025010e2d..."} 
[2026-08-08 14:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a157d0012ce7ec00072f96180025010e2d..."} 
[2026-08-08 14:40:16] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a157d0012ce7ec00072f96180025010e2d..."} 
[2026-08-08 14:40:16] local.INFO: Packet analysis {"connection_id":153002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a1"} 
[2026-08-08 14:40:16] local.INFO: Extracted packet for processing {"connection_id":153002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a1"} 
[2026-08-08 14:40:16] local.INFO: GPS Element Parsed {"raw_longitude":753396736,"raw_latitude":120559128,"longitude_deg":75.3396736,"latitude_deg":12.0559128,"altitude":37,"angle":270,"satellites":45,"speed":22,"hex_longitude":"2ce7ec00","hex_latitude":"072f9618","is_valid_coordinates":true} 
[2026-08-08 14:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262103040001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375477401204817920,"note":"Value kept but may cause issues"} 
[2026-08-08 14:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1729804438511947776,"note":"Value kept but may cause issues"} 
[2026-08-08 14:40:16] 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-08-08 14:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786180098000,"timestamp_ms":1786180098000,"timestamp_seconds":1786180098,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a157d0"} 
[2026-08-08 14:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-08 14:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262103040001,"66":27919,"28":206,"83":44032,"24":22,"16":375477401204817920,"44":-1729804438511947776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 14:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262103040001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:40:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 14:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375477401204817920,"km_value":375477401204817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1729804438511947776,"description":"Unknown IO ID 44"} 
[2026-08-08 14:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262103040001,"power":27919,"unknown_28":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1729804438511947776}} 
[2026-08-08 14:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":153002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:40:16] local.INFO: GPS data processed {"connection_id":153002,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:40:16] local.INFO: Acknowledgment sent {"connection_id":153002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:40:21] local.INFO: TCP Data received {"connection_id":150297,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:21] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:21] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:40:22] local.INFO: TCP Data received {"connection_id":150297,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:22] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:22] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:40:22] local.INFO: TCP Data received {"connection_id":150297,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:22] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:22] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:40:23] local.INFO: TCP Data received {"connection_id":150297,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:23] local.INFO: Processing buffer {"connection_id":150297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:40:23] local.INFO: IMEI packet received {"connection_id":150297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":150297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:40:47] local.INFO: TCP Data received {"connection_id":153002,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a2f9c8012ce78f0007304330003101382e..."} 
[2026-08-08 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a2f9c8012ce78f0007304330003101382e..."} 
[2026-08-08 14:40:47] local.INFO: Processing buffer {"connection_id":153002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a2f9c8012ce78f0007304330003101382e..."} 
[2026-08-08 14:40:47] local.INFO: Packet analysis {"connection_id":153002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a2"} 
[2026-08-08 14:40:47] local.INFO: Extracted packet for processing {"connection_id":153002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a2"} 
[2026-08-08 14:40:47] local.INFO: GPS Element Parsed {"raw_longitude":753372928,"raw_latitude":120603440,"longitude_deg":75.3372928,"latitude_deg":12.060344,"altitude":49,"angle":312,"satellites":46,"speed":18,"hex_longitude":"2ce78f00","hex_latitude":"07304330","is_valid_coordinates":true} 
[2026-08-08 14:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262131712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375479999660032000,"note":"Value kept but may cause issues"} 
[2026-08-08 14:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1760485210962581504,"note":"Value kept but may cause issues"} 
[2026-08-08 14:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786180205000,"timestamp_ms":1786180205000,"timestamp_seconds":1786180205,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a2f9c8"} 
[2026-08-08 14:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 14:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262131712001,"66":27919,"67":206,"83":44032,"24":18,"16":375479999660032000,"44":-1760485210962581504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-08 14:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262131712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:40:47] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 14:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375479999660032000,"km_value":375479999660032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1760485210962581504,"description":"Unknown IO ID 44"} 
[2026-08-08 14:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262131712001,"power":27919,"unknown_67":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1760485210962581504}} 
[2026-08-08 14:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":153002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:40:47] local.INFO: GPS data processed {"connection_id":153002,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:40:47] local.INFO: Acknowledgment sent {"connection_id":153002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:41:05] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:05] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:05] local.INFO: IMEI packet received {"connection_id":150549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":150549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:41:06] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:06] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:06] local.INFO: IMEI packet received {"connection_id":150549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":150549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:41:08] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:08] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:41:08] local.INFO: IMEI packet received {"connection_id":150549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":150549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:41:08] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a2fdb0012ce78d40073044580030012b2f..."} 
[2026-08-08 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a2fdb0012ce78d40073044580030012b2f..."} 
[2026-08-08 14:41:08] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a2fdb0012ce78d40073044580030012b2f..."} 
[2026-08-08 14:41:08] local.INFO: Packet analysis {"connection_id":150549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a2"} 
[2026-08-08 14:41:08] local.INFO: Extracted packet for processing {"connection_id":150549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a2"} 
[2026-08-08 14:41:08] local.INFO: GPS Element Parsed {"raw_longitude":753372480,"raw_latitude":120603736,"longitude_deg":75.337248,"latitude_deg":12.0603736,"altitude":48,"angle":299,"satellites":47,"speed":21,"hex_longitude":"2ce78d40","hex_latitude":"07304458","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262132480001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375480025429835776,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1761188898404093952,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786180206000,"timestamp_ms":1786180206000,"timestamp_seconds":1786180206,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a2fdb0"} 
[2026-08-08 14:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262132480001,"66":27919,"67":206,"83":44032,"24":21,"16":375480025429835776,"44":-1761188898404093952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-08 14:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262132480001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:41:08] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 14:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375480025429835776,"km_value":375480025429835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1761188898404093952,"description":"Unknown IO ID 44"} 
[2026-08-08 14:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262132480001,"power":27919,"unknown_67":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1761188898404093952}} 
[2026-08-08 14:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":150549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:41:08] local.INFO: GPS data processed {"connection_id":150549,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:41:08] local.INFO: Acknowledgment sent {"connection_id":150549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:41:09] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a30580012ce78940073045d0002f01182e..."} 
[2026-08-08 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a30580012ce78940073045d0002f01182e..."} 
[2026-08-08 14:41:09] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a30580012ce78940073045d0002f01182e..."} 
[2026-08-08 14:41:09] local.INFO: Packet analysis {"connection_id":150549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a3"} 
[2026-08-08 14:41:09] local.INFO: Extracted packet for processing {"connection_id":150549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a3"} 
[2026-08-08 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":753371456,"raw_latitude":120604112,"longitude_deg":75.3371456,"latitude_deg":12.0604112,"altitude":47,"angle":280,"satellites":46,"speed":22,"hex_longitude":"2ce78940","hex_latitude":"073045d0","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262132736001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375480076969443328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1761681479613261824,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41: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-08-08 14:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786180208000,"timestamp_ms":1786180208000,"timestamp_seconds":1786180208,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a30580"} 
[2026-08-08 14:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:41: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-08-08 14:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262132736001,"66":27930,"67":206,"83":44032,"24":22,"16":375480076969443328,"44":-1761681479613261824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-08 14:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262132736001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:41:09] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 14:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375480076969443328,"km_value":375480076969443.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1761681479613261824,"description":"Unknown IO ID 44"} 
[2026-08-08 14:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262132736001,"power":27930,"unknown_67":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1761681479613261824}} 
[2026-08-08 14:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":150549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:41:09] local.INFO: GPS data processed {"connection_id":150549,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:41:09] local.INFO: Acknowledgment sent {"connection_id":150549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:41:40] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a38280012ce753c007305430002800db30..."} 
[2026-08-08 14:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a38280012ce753c007305430002800db30..."} 
[2026-08-08 14:41:40] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a38280012ce753c007305430002800db30..."} 
[2026-08-08 14:41:40] local.INFO: Packet analysis {"connection_id":150549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a3"} 
[2026-08-08 14:41:40] local.INFO: Extracted packet for processing {"connection_id":150549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a3"} 
[2026-08-08 14:41:40] local.INFO: GPS Element Parsed {"raw_longitude":753357760,"raw_latitude":120607792,"longitude_deg":75.335776,"latitude_deg":12.0607792,"altitude":40,"angle":219,"satellites":48,"speed":26,"hex_longitude":"2ce753c0","hex_latitude":"07305430","is_valid_coordinates":true} 
[2026-08-08 14:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262140160001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375481017567281152,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776177440912183296,"note":"Value kept but may cause issues"} 
[2026-08-08 14:41: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-08-08 14:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786180240000,"timestamp_ms":1786180240000,"timestamp_seconds":1786180240,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a38280"} 
[2026-08-08 14:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 14:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:41: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-08-08 14:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262140160001,"66":27919,"67":206,"83":44032,"24":26,"16":375481017567281152,"44":-1776177440912183296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-08 14:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262140160001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:41:40] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 14:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375481017567281152,"km_value":375481017567281.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776177440912183296,"description":"Unknown IO ID 44"} 
[2026-08-08 14:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262140160001,"power":27919,"unknown_67":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1776177440912183296}} 
[2026-08-08 14:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":150549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:41:40] local.INFO: GPS data processed {"connection_id":150549,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:41:40] local.INFO: Acknowledgment sent {"connection_id":150549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:42:05] local.INFO: TCP Data received {"connection_id":150550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:42:05] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:42:05] local.INFO: IMEI packet received {"connection_id":150550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":150550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:42:09] local.INFO: TCP Data received {"connection_id":150550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:42:09] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:42:09] local.INFO: IMEI packet received {"connection_id":150550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":150550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:42:09] local.INFO: TCP Data received {"connection_id":150550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a41ad8012ce705c007303d100030012330..."} 
[2026-08-08 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a41ad8012ce705c007303d100030012330..."} 
[2026-08-08 14:42:09] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a41ad8012ce705c007303d100030012330..."} 
[2026-08-08 14:42:09] local.INFO: Packet analysis {"connection_id":150550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a4"} 
[2026-08-08 14:42:09] local.INFO: Extracted packet for processing {"connection_id":150550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a4"} 
[2026-08-08 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":753337792,"raw_latitude":120601872,"longitude_deg":75.3337792,"latitude_deg":12.0601872,"altitude":48,"angle":291,"satellites":48,"speed":28,"hex_longitude":"2ce705c0","hex_latitude":"07303d10","is_valid_coordinates":true} 
[2026-08-08 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262150656001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1797639907888650240,"note":"Value kept but may cause issues"} 
[2026-08-08 14:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375482134258778112,"note":"Value kept but may cause issues"} 
[2026-08-08 14:42:10] 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-08-08 14:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180279000,"timestamp_ms":1786180279000,"timestamp_seconds":1786180279,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a41ad8"} 
[2026-08-08 14:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262150656001,"66":27995,"44":-1797639907888650240,"83":44032,"24":28,"16":375482134258778112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 14:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262150656001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1797639907888650240,"description":"Unknown IO ID 44"} 
[2026-08-08 14:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375482134258778112,"km_value":375482134258778.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:42:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457262150656001,"power":27995,"unknown_44":-1797639907888650240,"unknown_83":44032,"ignition":28,"odometer":null}} 
[2026-08-08 14:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":150550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:42:10] local.INFO: GPS data processed {"connection_id":150550,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:42:10] local.INFO: Acknowledgment sent {"connection_id":150550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:42:40] local.INFO: TCP Data received {"connection_id":150550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a42690012ce6fd40073041900031012f2f..."} 
[2026-08-08 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a42690012ce6fd40073041900031012f2f..."} 
[2026-08-08 14:42:40] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a42690012ce6fd40073041900031012f2f..."} 
[2026-08-08 14:42:40] local.INFO: Packet analysis {"connection_id":150550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a4"} 
[2026-08-08 14:42:40] local.INFO: Extracted packet for processing {"connection_id":150550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a4"} 
[2026-08-08 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":753335616,"raw_latitude":120603024,"longitude_deg":75.3335616,"latitude_deg":12.0603024,"altitude":49,"angle":303,"satellites":47,"speed":34,"hex_longitude":"2ce6fd40","hex_latitude":"07304190","is_valid_coordinates":true} 
[2026-08-08 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262151424001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1799821338958032896,"note":"Value kept but may cause issues"} 
[2026-08-08 14:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375482250222895104,"note":"Value kept but may cause issues"} 
[2026-08-08 14:42:40] 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-08-08 14:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786180282000,"timestamp_ms":1786180282000,"timestamp_seconds":1786180282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a42690"} 
[2026-08-08 14:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:42: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-08-08 14:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262151424001,"66":27908,"44":-1799821338958032896,"83":44032,"24":34,"16":375482250222895104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 14:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262151424001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1799821338958032896,"description":"Unknown IO ID 44"} 
[2026-08-08 14:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375482250222895104,"km_value":375482250222895.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:42:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457262151424001,"power":27908,"unknown_44":-1799821338958032896,"unknown_83":44032,"ignition":34,"odometer":null}} 
[2026-08-08 14:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":150550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:42:40] local.INFO: GPS data processed {"connection_id":150550,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:42:40] local.INFO: Acknowledgment sent {"connection_id":150550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:43:03] local.INFO: TCP Data received {"connection_id":150298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:03] local.INFO: Processing buffer {"connection_id":150298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:03] local.INFO: IMEI packet received {"connection_id":150298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":150298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:43:05] local.INFO: TCP Data received {"connection_id":150298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:05] local.INFO: Processing buffer {"connection_id":150298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:05] local.INFO: IMEI packet received {"connection_id":150298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":150298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:43:10] local.INFO: TCP Data received {"connection_id":150298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:10] local.INFO: Processing buffer {"connection_id":150298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:43:10] local.INFO: IMEI packet received {"connection_id":150298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":150298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:43:11] local.INFO: TCP Data received {"connection_id":150298,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a449b8012ce6de80073053d8002e01282e..."} 
[2026-08-08 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a449b8012ce6de80073053d8002e01282e..."} 
[2026-08-08 14:43:11] local.INFO: Processing buffer {"connection_id":150298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a449b8012ce6de80073053d8002e01282e..."} 
[2026-08-08 14:43:11] local.INFO: Packet analysis {"connection_id":150298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a4"} 
[2026-08-08 14:43:11] local.INFO: Extracted packet for processing {"connection_id":150298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a4"} 
[2026-08-08 14:43:11] local.INFO: GPS Element Parsed {"raw_longitude":753327744,"raw_latitude":120607704,"longitude_deg":75.3327744,"latitude_deg":12.0607704,"altitude":46,"angle":296,"satellites":46,"speed":43,"hex_longitude":"2ce6de80","hex_latitude":"073053d8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262152192001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1802213876259778560,"note":"Value kept but may cause issues"} 
[2026-08-08 14:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375482692604526592,"note":"Value kept but may cause issues"} 
[2026-08-08 14:43:11] 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-08-08 14:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786180291000,"timestamp_ms":1786180291000,"timestamp_seconds":1786180291,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a449b8"} 
[2026-08-08 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-08-08 14:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:43: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-08-08 14:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262152192001,"66":27908,"44":-1802213876259778560,"83":44032,"24":43,"16":375482692604526592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 14:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262152192001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1802213876259778560,"description":"Unknown IO ID 44"} 
[2026-08-08 14:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375482692604526592,"km_value":375482692604526.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:43:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457262152192001,"power":27908,"unknown_44":-1802213876259778560,"unknown_83":44032,"ignition":43,"odometer":null}} 
[2026-08-08 14:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":150298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:43:11] local.INFO: GPS data processed {"connection_id":150298,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:43:11] local.INFO: Acknowledgment sent {"connection_id":150298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:43:41] local.INFO: TCP Data received {"connection_id":150298,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a57a68012ce5640007307c08001d01282d..."} 
[2026-08-08 14:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a57a68012ce5640007307c08001d01282d..."} 
[2026-08-08 14:43:41] local.INFO: Processing buffer {"connection_id":150298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a57a68012ce5640007307c08001d01282d..."} 
[2026-08-08 14:43:41] local.INFO: Packet analysis {"connection_id":150298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a5"} 
[2026-08-08 14:43:41] local.INFO: Extracted packet for processing {"connection_id":150298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a5"} 
[2026-08-08 14:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753230848,"raw_latitude":120617992,"longitude_deg":75.3230848,"latitude_deg":12.0617992,"altitude":29,"angle":296,"satellites":45,"speed":50,"hex_longitude":"2ce56400","hex_latitude":"07307c08","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262172416001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1907274411314204672,"note":"Value kept but may cause issues"} 
[2026-08-08 14:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375487408478617600,"note":"Value kept but may cause issues"} 
[2026-08-08 14:43: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-08-08 14:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786180369000,"timestamp_ms":1786180369000,"timestamp_seconds":1786180369,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a57a68"} 
[2026-08-08 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-08-08 14:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:43: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-08-08 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-08-08 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-08-08 14:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262172416001,"66":28028,"44":-1907274411314204672,"83":44032,"24":50,"16":375487408478617600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 14:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262172416001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1907274411314204672,"description":"Unknown IO ID 44"} 
[2026-08-08 14:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375487408478617600,"km_value":375487408478617.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:43:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457262172416001,"power":28028,"unknown_44":-1907274411314204672,"unknown_83":44032,"ignition":50,"odometer":null}} 
[2026-08-08 14:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":150298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:43:41] local.INFO: GPS data processed {"connection_id":150298,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:43:41] local.INFO: Acknowledgment sent {"connection_id":150298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:44:10] local.INFO: TCP Data received {"connection_id":153003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:10] local.INFO: Processing buffer {"connection_id":153003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:10] local.INFO: IMEI packet received {"connection_id":153003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":153003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:44:10] local.INFO: TCP Data received {"connection_id":153003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:10] local.INFO: Processing buffer {"connection_id":153003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:10] local.INFO: IMEI packet received {"connection_id":153003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":153003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:44:15] local.INFO: TCP Data received {"connection_id":153003,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:15] local.INFO: Processing buffer {"connection_id":153003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:44:15] local.INFO: IMEI packet received {"connection_id":153003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":153003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:44:15] local.INFO: TCP Data received {"connection_id":153003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a595c0012ce5438007308b80001c01292f..."} 
[2026-08-08 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a595c0012ce5438007308b80001c01292f..."} 
[2026-08-08 14:44:15] local.INFO: Processing buffer {"connection_id":153003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a595c0012ce5438007308b80001c01292f..."} 
[2026-08-08 14:44:15] local.INFO: Packet analysis {"connection_id":153003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a5"} 
[2026-08-08 14:44:15] local.INFO: Extracted packet for processing {"connection_id":153003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a5"} 
[2026-08-08 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":753222528,"raw_latitude":120621952,"longitude_deg":75.3222528,"latitude_deg":12.0621952,"altitude":28,"angle":297,"satellites":47,"speed":52,"hex_longitude":"2ce54380","hex_latitude":"07308b80","is_valid_coordinates":true} 
[2026-08-08 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262174464001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375487846565281792,"note":"Value kept but may cause issues"} 
[2026-08-08 14:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1917407510474782720,"note":"Value kept but may cause issues"} 
[2026-08-08 14:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786180376000,"timestamp_ms":1786180376000,"timestamp_seconds":1786180376,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a595c0"} 
[2026-08-08 14:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 14:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:44: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-08-08 14:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262174464001,"66":27974,"180":206,"83":44032,"24":52,"16":375487846565281792,"44":-1917407510474782720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-08 14:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262174464001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:44:15] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 14:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375487846565281792,"km_value":375487846565281.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1917407510474782720,"description":"Unknown IO ID 44"} 
[2026-08-08 14:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262174464001,"power":27974,"unknown_180":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1917407510474782720}} 
[2026-08-08 14:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":153003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:44:15] local.INFO: GPS data processed {"connection_id":153003,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:44:15] local.INFO: Acknowledgment sent {"connection_id":153003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:44:47] local.INFO: TCP Data received {"connection_id":153003,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a5b118012ce521c007309a180019011f30..."} 
[2026-08-08 14:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a5b118012ce521c007309a180019011f30..."} 
[2026-08-08 14:44:47] local.INFO: Processing buffer {"connection_id":153003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a5b118012ce521c007309a180019011f30..."} 
[2026-08-08 14:44:47] local.INFO: Packet analysis {"connection_id":153003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a5"} 
[2026-08-08 14:44:47] local.INFO: Extracted packet for processing {"connection_id":153003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a5"} 
[2026-08-08 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":753213888,"raw_latitude":120625688,"longitude_deg":75.3213888,"latitude_deg":12.0625688,"altitude":25,"angle":287,"satellites":48,"speed":52,"hex_longitude":"2ce521c0","hex_latitude":"07309a18","is_valid_coordinates":true} 
[2026-08-08 14:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262176256001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375488293241880576,"note":"Value kept but may cause issues"} 
[2026-08-08 14:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1926555447216865280,"note":"Value kept but may cause issues"} 
[2026-08-08 14:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786180383000,"timestamp_ms":1786180383000,"timestamp_seconds":1786180383,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a5b118"} 
[2026-08-08 14:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262176256001,"66":27919,"180":206,"83":44032,"24":52,"16":375488293241880576,"44":-1926555447216865280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-08 14:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262176256001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:44:47] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 14:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375488293241880576,"km_value":375488293241880.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1926555447216865280,"description":"Unknown IO ID 44"} 
[2026-08-08 14:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262176256001,"power":27919,"unknown_180":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1926555447216865280}} 
[2026-08-08 14:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":153003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:44:47] local.INFO: GPS data processed {"connection_id":153003,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:44:47] local.INFO: Acknowledgment sent {"connection_id":153003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:45:05] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:45:05] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:45:05] local.INFO: IMEI packet received {"connection_id":151518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":151518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:45:10] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:45:10] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:45:10] local.INFO: IMEI packet received {"connection_id":151518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":151518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:45:11] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a6d610012ce3c1800730fb10001501252f..."} 
[2026-08-08 14:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a6d610012ce3c1800730fb10001501252f..."} 
[2026-08-08 14:45:11] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a6d610012ce3c1800730fb10001501252f..."} 
[2026-08-08 14:45:11] local.INFO: Packet analysis {"connection_id":151518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:45:11] local.INFO: Extracted packet for processing {"connection_id":151518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:45:11] local.INFO: GPS Element Parsed {"raw_longitude":753123712,"raw_latitude":120650512,"longitude_deg":75.3123712,"latitude_deg":12.0650512,"altitude":21,"angle":293,"satellites":47,"speed":54,"hex_longitude":"2ce3c180","hex_latitude":"0730fb10","is_valid_coordinates":true} 
[2026-08-08 14:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262195456001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375492833022312448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2025071689058975744,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45: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-08-08 14:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786180458000,"timestamp_ms":1786180458000,"timestamp_seconds":1786180458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a6d610"} 
[2026-08-08 14:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 14:45:11] 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-08-08 14:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:45: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-08-08 14:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262195456001,"66":27800,"180":206,"83":44032,"24":54,"16":375492833022312448,"44":-2025071689058975744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-08 14:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262195456001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:45:11] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 14:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375492833022312448,"km_value":375492833022312.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2025071689058975744,"description":"Unknown IO ID 44"} 
[2026-08-08 14:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262195456001,"power":27800,"unknown_180":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-2025071689058975744}} 
[2026-08-08 14:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":151518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:45:11] local.INFO: GPS data processed {"connection_id":151518,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:45:11] local.INFO: Acknowledgment sent {"connection_id":151518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:45:25] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:45:25] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:45:25] local.INFO: IMEI packet received {"connection_id":150551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":150551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:45:25] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a6d610012d1ab940071f41a80037015429..."} 
[2026-08-08 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a6d610012d1ab940071f41a80037015429..."} 
[2026-08-08 14:45:25] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a6d610012d1ab940071f41a80037015429..."} 
[2026-08-08 14:45:25] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:45:25] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756726080,"raw_latitude":119488936,"longitude_deg":75.672608,"latitude_deg":11.9488936,"altitude":55,"angle":340,"satellites":41,"speed":7,"hex_longitude":"2d1ab940","hex_latitude":"071f41a8","is_valid_coordinates":true} 
[2026-08-08 14:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262196992001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11480679510441984,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925711083755075584,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786180458000,"timestamp_ms":1786180458000,"timestamp_seconds":1786180458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a6d610"} 
[2026-08-08 14:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 14:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262196992001,"66":14276,"101":206,"83":41984,"24":7,"16":11480679510441984,"45":1925711083755075584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 14:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262196992001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:45:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 14:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11480679510441984,"km_value":11480679510441.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925711083755075584,"description":"Unknown IO ID 45"} 
[2026-08-08 14:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262196992001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1925711083755075584}} 
[2026-08-08 14:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:45:26] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:45:26] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:45:42] local.INFO: TCP Data received {"connection_id":151518,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a6d610012ce3c1800730fb10001501252f..."} 
[2026-08-08 14:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a6d610012ce3c1800730fb10001501252f..."} 
[2026-08-08 14:45:42] local.INFO: Processing buffer {"connection_id":151518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a6d610012ce3c1800730fb10001501252f..."} 
[2026-08-08 14:45:42] local.INFO: Packet analysis {"connection_id":151518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:45:42] local.INFO: Extracted packet for processing {"connection_id":151518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753123712,"raw_latitude":120650512,"longitude_deg":75.3123712,"latitude_deg":12.0650512,"altitude":21,"angle":293,"satellites":47,"speed":54,"hex_longitude":"2ce3c180","hex_latitude":"0730fb10","is_valid_coordinates":true} 
[2026-08-08 14:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262197248001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375492833022312448,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2035204788219867136,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786180458000,"timestamp_ms":1786180458000,"timestamp_seconds":1786180458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a6d610"} 
[2026-08-08 14:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 14:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14: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-08-08 14:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262197248001,"66":27800,"180":206,"83":44032,"24":54,"16":375492833022312448,"44":-2035204788219867136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-08 14:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262197248001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:45:42] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 14:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375492833022312448,"km_value":375492833022312.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2035204788219867136,"description":"Unknown IO ID 44"} 
[2026-08-08 14:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262197248001,"power":27800,"unknown_180":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-2035204788219867136}} 
[2026-08-08 14:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":151518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:45:42] local.INFO: GPS data processed {"connection_id":151518,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:45:42] local.INFO: Acknowledgment sent {"connection_id":151518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:45:57] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a7b0d0012d1a6d80071fd6f80033013227..."} 
[2026-08-08 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a7b0d0012d1a6d80071fd6f80033013227..."} 
[2026-08-08 14:45:57] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a7b0d0012d1a6d80071fd6f80033013227..."} 
[2026-08-08 14:45:57] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:45:57] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756706688,"raw_latitude":119527160,"longitude_deg":75.6706688,"latitude_deg":11.952716,"altitude":51,"angle":306,"satellites":39,"speed":38,"hex_longitude":"2d1a6d80","hex_latitude":"071fd6f8","is_valid_coordinates":true} 
[2026-08-08 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262211072001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11483106166964224,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906007835394830336,"note":"Value kept but may cause issues"} 
[2026-08-08 14:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786180514000,"timestamp_ms":1786180514000,"timestamp_seconds":1786180514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a7b0d0"} 
[2026-08-08 14:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 14:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262211072001,"66":13352,"101":206,"83":41984,"24":38,"16":11483106166964224,"45":1906007835394830336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 14:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262211072001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:45:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 14:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11483106166964224,"km_value":11483106166964.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906007835394830336,"description":"Unknown IO ID 45"} 
[2026-08-08 14:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262211072001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1906007835394830336}} 
[2026-08-08 14:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:45:57] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:45:57] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:46:11] local.INFO: TCP Data received {"connection_id":150299,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:46:11] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:46:11] local.INFO: IMEI packet received {"connection_id":150299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":150299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:46:11] local.INFO: TCP Data received {"connection_id":150299,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:46:11] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:46:11] local.INFO: IMEI packet received {"connection_id":150299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":150299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:46:12] local.INFO: TCP Data received {"connection_id":150299,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a6f168012ce39c80073109a8001301212d..."} 
[2026-08-08 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a6f168012ce39c80073109a8001301212d..."} 
[2026-08-08 14:46:12] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe0..."} 
[2026-08-08 14:46:12] local.INFO: IMEI packet received {"connection_id":150299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":150299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:46:15] local.INFO: TCP Data received {"connection_id":150299,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a70cc0012ce3760007311670001201202b..."} 
[2026-08-08 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a70cc0012ce3760007311670001201202b..."} 
[2026-08-08 14:46:15] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe0a6f168012ce39c80073109a8001301212d..."} 
[2026-08-08 14:46:15] local.INFO: Packet analysis {"connection_id":150299,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:46:15] local.INFO: Extracted packet for processing {"connection_id":150299,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a6"} 
[2026-08-08 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":753114240,"raw_latitude":120654248,"longitude_deg":75.311424,"latitude_deg":12.0654248,"altitude":19,"angle":289,"satellites":45,"speed":58,"hex_longitude":"2ce39c80","hex_latitude":"073109a8","is_valid_coordinates":true} 
[2026-08-08 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262197248001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375493318353616896,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2035204788219867136,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786180465000,"timestamp_ms":1786180465000,"timestamp_seconds":1786180465,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a6f168"} 
[2026-08-08 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 14:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:46: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-08-08 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262197248001,"66":27908,"181":206,"83":44032,"24":58,"16":375493318353616896,"44":-2035204788219867136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-08 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262197248001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375493318353616896,"km_value":375493318353616.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2035204788219867136,"description":"Unknown IO ID 44"} 
[2026-08-08 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262197248001,"power":27908,"unknown_181":206,"unknown_83":44032,"ignition":58,"odometer":null,"unknown_44":-2035204788219867136}} 
[2026-08-08 14:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":150299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:46:15] local.INFO: GPS data processed {"connection_id":150299,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:46:15] local.INFO: Acknowledgment sent {"connection_id":150299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:46:15] local.INFO: Packet analysis {"connection_id":150299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:46:15] local.INFO: Extracted packet for processing {"connection_id":150299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":753104384,"raw_latitude":120657520,"longitude_deg":75.3104384,"latitude_deg":12.065752,"altitude":18,"angle":288,"satellites":43,"speed":58,"hex_longitude":"2ce37600","hex_latitude":"07311670","is_valid_coordinates":true} 
[2026-08-08 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262199040001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375493812274855936,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2045619362357204992,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786180472000,"timestamp_ms":1786180472000,"timestamp_seconds":1786180472,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a70cc0"} 
[2026-08-08 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:46: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-08-08 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262199040001,"66":27908,"181":206,"83":44032,"24":58,"16":375493812274855936,"44":-2045619362357204992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-08 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262199040001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375493812274855936,"km_value":375493812274855.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2045619362357204992,"description":"Unknown IO ID 44"} 
[2026-08-08 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262199040001,"power":27908,"unknown_181":206,"unknown_83":44032,"ignition":58,"odometer":null,"unknown_44":-2045619362357204992}} 
[2026-08-08 14:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":150299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:46:15] local.INFO: GPS data processed {"connection_id":150299,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:46:15] local.INFO: Acknowledgment sent {"connection_id":150299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:46:28] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a7b8a0012d1a6700071fda800032012427..."} 
[2026-08-08 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a7b8a0012d1a6700071fda800032012427..."} 
[2026-08-08 14:46:28] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a7b8a0012d1a6700071fda800032012427..."} 
[2026-08-08 14:46:28] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:46:28] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756705024,"raw_latitude":119528064,"longitude_deg":75.6705024,"latitude_deg":11.9528064,"altitude":50,"angle":292,"satellites":39,"speed":36,"hex_longitude":"2d1a6700","hex_latitude":"071fda80","is_valid_coordinates":true} 
[2026-08-08 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262211584001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11483196361277440,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904318985534896128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786180516000,"timestamp_ms":1786180516000,"timestamp_seconds":1786180516,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a7b8a0"} 
[2026-08-08 14:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:46: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-08-08 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 14:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262211584001,"66":14363,"101":206,"83":41984,"24":36,"16":11483196361277440,"45":1904318985534896128},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 14:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262211584001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:46:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 14:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11483196361277440,"km_value":11483196361277.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904318985534896128,"description":"Unknown IO ID 45"} 
[2026-08-08 14:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262211584001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1904318985534896128}} 
[2026-08-08 14:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:46:28] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:46:28] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:46:46] local.INFO: TCP Data received {"connection_id":150299,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a72818012ce350c007312240001401202c..."} 
[2026-08-08 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a72818012ce350c007312240001401202c..."} 
[2026-08-08 14:46:46] local.INFO: Processing buffer {"connection_id":150299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a72818012ce350c007312240001401202c..."} 
[2026-08-08 14:46:46] local.INFO: Packet analysis {"connection_id":150299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:46:46] local.INFO: Extracted packet for processing {"connection_id":150299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a7"} 
[2026-08-08 14:46:46] local.INFO: GPS Element Parsed {"raw_longitude":753094848,"raw_latitude":120660544,"longitude_deg":75.3094848,"latitude_deg":12.0660544,"altitude":20,"angle":288,"satellites":44,"speed":54,"hex_longitude":"2ce350c0","hex_latitude":"07312240","is_valid_coordinates":true} 
[2026-08-08 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262200832001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375494284721258496,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2056456148959727616,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786180479000,"timestamp_ms":1786180479000,"timestamp_seconds":1786180479,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a72818"} 
[2026-08-08 14:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:46: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-08-08 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:46: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-08-08 14:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262200832001,"66":27919,"181":206,"83":44032,"24":54,"16":375494284721258496,"44":-2056456148959727616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-08-08 14:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262200832001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:46:46] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-08 14:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 14:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375494284721258496,"km_value":375494284721258.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2056456148959727616,"description":"Unknown IO ID 44"} 
[2026-08-08 14:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262200832001,"power":27919,"unknown_181":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-2056456148959727616}} 
[2026-08-08 14:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":150299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:46:46] local.INFO: GPS data processed {"connection_id":150299,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:46:46] local.INFO: Acknowledgment sent {"connection_id":150299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:46:59] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a87bf0012d19c10007202c98002a015128..."} 
[2026-08-08 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a87bf0012d19c10007202c98002a015128..."} 
[2026-08-08 14:46:59] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a87bf0012d19c10007202c98002a015128..."} 
[2026-08-08 14:46:59] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:46:59] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119549080,"longitude_deg":75.6662528,"latitude_deg":11.954908,"altitude":42,"angle":337,"satellites":40,"speed":45,"hex_longitude":"2d19c100","hex_latitude":"07202c98","is_valid_coordinates":true} 
[2026-08-08 14:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262223360001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485584363094016,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859001514288664576,"note":"Value kept but may cause issues"} 
[2026-08-08 14:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786180566000,"timestamp_ms":1786180566000,"timestamp_seconds":1786180566,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a87bf0"} 
[2026-08-08 14:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 14:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262223360001,"66":14461,"103":206,"83":41984,"24":45,"16":11485584363094016,"45":1859001514288664576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262223360001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:46:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485584363094016,"km_value":11485584363094.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859001514288664576,"description":"Unknown IO ID 45"} 
[2026-08-08 14:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262223360001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1859001514288664576}} 
[2026-08-08 14:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:46:59] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:46:59] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:47:10] local.INFO: TCP Data received {"connection_id":153004,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:47:10] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:47:10] local.INFO: IMEI packet received {"connection_id":153004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":153004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:47:15] local.INFO: TCP Data received {"connection_id":153004,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:47:15] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:47:15] local.INFO: IMEI packet received {"connection_id":153004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":153004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:47:15] local.INFO: TCP Data received {"connection_id":153004,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a86c50012ce1f780073197d0002001102a..."} 
[2026-08-08 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a86c50012ce1f780073197d0002001102a..."} 
[2026-08-08 14:47:15] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a86c50012ce1f780073197d0002001102a..."} 
[2026-08-08 14:47:15] local.INFO: Packet analysis {"connection_id":153004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:15] local.INFO: Extracted packet for processing {"connection_id":153004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":753006464,"raw_latitude":120690640,"longitude_deg":75.3006464,"latitude_deg":12.069064,"altitude":32,"angle":272,"satellites":42,"speed":54,"hex_longitude":"2ce1f780","hex_latitude":"073197d0","is_valid_coordinates":true} 
[2026-08-08 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262222080001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375498777257050112,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2153846490893443072,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786180562000,"timestamp_ms":1786180562000,"timestamp_seconds":1786180562,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a86c50"} 
[2026-08-08 14:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:47: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-08-08 14:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262222080001,"66":28006,"46":206,"83":40960,"24":54,"16":375498777257050112,"44":-2153846490893443072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-08 14:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262222080001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:47:15] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-08 14:47:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375498777257050112,"km_value":375498777257050.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2153846490893443072,"description":"Unknown IO ID 44"} 
[2026-08-08 14:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262222080001,"power":28006,"unknown_46":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2153846490893443072}} 
[2026-08-08 14:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":153004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:47:15] local.INFO: GPS data processed {"connection_id":153004,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:47:15] local.INFO: Acknowledgment sent {"connection_id":153004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:47:17] local.INFO: TCP Data received {"connection_id":153004,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a887a8012ce1d28007319690002001092e..."} 
[2026-08-08 14:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a887a8012ce1d28007319690002001092e..."} 
[2026-08-08 14:47:17] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a887a8012ce1d28007319690002001092e..."} 
[2026-08-08 14:47:17] local.INFO: Packet analysis {"connection_id":153004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:17] local.INFO: Extracted packet for processing {"connection_id":153004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:17] local.INFO: GPS Element Parsed {"raw_longitude":752996992,"raw_latitude":120690320,"longitude_deg":75.2996992,"latitude_deg":12.069032,"altitude":32,"angle":265,"satellites":46,"speed":49,"hex_longitude":"2ce1d280","hex_latitude":"07319690","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262223872001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375499228228616192,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2164120327543074816,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786180569000,"timestamp_ms":1786180569000,"timestamp_seconds":1786180569,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a887a8"} 
[2026-08-08 14:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 14:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262223872001,"66":27974,"46":206,"83":40960,"24":49,"16":375499228228616192,"44":-2164120327543074816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-08 14:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262223872001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:47:17] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-08 14:47:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375499228228616192,"km_value":375499228228616.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2164120327543074816,"description":"Unknown IO ID 44"} 
[2026-08-08 14:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262223872001,"power":27974,"unknown_46":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2164120327543074816}} 
[2026-08-08 14:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":153004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:47:17] local.INFO: GPS data processed {"connection_id":153004,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:47:17] local.INFO: Acknowledgment sent {"connection_id":153004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:47:31] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a88b90012d19bb4007203d680029015d28..."} 
[2026-08-08 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a88b90012d19bb4007203d680029015d28..."} 
[2026-08-08 14:47:31] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a88b90012d19bb4007203d680029015d28..."} 
[2026-08-08 14:47:31] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:31] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119553384,"longitude_deg":75.6661056,"latitude_deg":11.9553384,"altitude":41,"angle":349,"satellites":40,"speed":44,"hex_longitude":"2d19bb40","hex_latitude":"07203d68","is_valid_coordinates":true} 
[2026-08-08 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262224896001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11485803406426112,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855764552057919488,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786180570000,"timestamp_ms":1786180570000,"timestamp_seconds":1786180570,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a88b90"} 
[2026-08-08 14:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 14:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262224896001,"66":14157,"103":206,"83":41984,"24":44,"16":11485803406426112,"45":1855764552057919488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262224896001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:47:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:47:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11485803406426112,"km_value":11485803406426.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855764552057919488,"description":"Unknown IO ID 45"} 
[2026-08-08 14:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262224896001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1855764552057919488}} 
[2026-08-08 14:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:47:31] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:47:31] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:47:48] local.INFO: TCP Data received {"connection_id":153004,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a8a6e8012ce1aec007318fe0002100ff2f..."} 
[2026-08-08 14:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a8a6e8012ce1aec007318fe0002100ff2f..."} 
[2026-08-08 14:47:48] local.INFO: Processing buffer {"connection_id":153004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a8a6e8012ce1aec007318fe0002100ff2f..."} 
[2026-08-08 14:47:48] local.INFO: Packet analysis {"connection_id":153004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:48] local.INFO: Extracted packet for processing {"connection_id":153004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:47:48] local.INFO: GPS Element Parsed {"raw_longitude":752987840,"raw_latitude":120688608,"longitude_deg":75.298784,"latitude_deg":12.0688608,"altitude":33,"angle":255,"satellites":47,"speed":42,"hex_longitude":"2ce1aec0","hex_latitude":"07318fe0","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262225664001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375499670610247680,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2174534901681451008,"note":"Value kept but may cause issues"} 
[2026-08-08 14:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786180577000,"timestamp_ms":1786180577000,"timestamp_seconds":1786180577,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a8a6e8"} 
[2026-08-08 14:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262225664001,"66":27908,"46":206,"83":40960,"24":42,"16":375499670610247680,"44":-2174534901681451008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-08 14:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262225664001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:47:48] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-08 14:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375499670610247680,"km_value":375499670610247.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2174534901681451008,"description":"Unknown IO ID 44"} 
[2026-08-08 14:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262225664001,"power":27908,"unknown_46":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2174534901681451008}} 
[2026-08-08 14:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":153004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:47:48] local.INFO: GPS data processed {"connection_id":153004,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:47:48] local.INFO: Acknowledgment sent {"connection_id":153004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:48:02] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a8aeb8012d19b800072063400029015d26..."} 
[2026-08-08 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a8aeb8012d19b800072063400029015d26..."} 
[2026-08-08 14:48:02] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a8aeb8012d19b800072063400029015d26..."} 
[2026-08-08 14:48:02] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:48:02] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119563072,"longitude_deg":75.6660224,"latitude_deg":11.9563072,"altitude":41,"angle":349,"satellites":38,"speed":41,"hex_longitude":"2d19b800","hex_latitude":"07206340","is_valid_coordinates":true} 
[2026-08-08 14:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262225920001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11486275852828672,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070942935040,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786180579000,"timestamp_ms":1786180579000,"timestamp_seconds":1786180579,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a8aeb8"} 
[2026-08-08 14:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:48: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":77,"data_length":795,"current_offset":136} 
[2026-08-08 14:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262225920001,"66":14102,"103":206,"83":41984,"24":41,"16":11486275852828672,"45":1854146070942935040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262225920001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:48:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11486275852828672,"km_value":11486275852828.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070942935040,"description":"Unknown IO ID 45"} 
[2026-08-08 14:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262225920001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1854146070942935040}} 
[2026-08-08 14:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:48:02] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:48:02] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:48:11] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:48:11] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:48:11] local.INFO: IMEI packet received {"connection_id":151519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":151519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:48:14] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:48:14] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:48:14] local.INFO: IMEI packet received {"connection_id":151519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":151519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:48:15] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a8cdf8012ce188c0073186800023010231..."} 
[2026-08-08 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a8cdf8012ce188c0073186800023010231..."} 
[2026-08-08 14:48:15] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe0..."} 
[2026-08-08 14:48:15] local.INFO: IMEI packet received {"connection_id":151519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":151519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:48:16] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a8f508012ce165c0073183000024010d2f..."} 
[2026-08-08 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a8f508012ce165c0073183000024010d2f..."} 
[2026-08-08 14:48:16] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe0a8cdf8012ce188c0073186800023010231..."} 
[2026-08-08 14:48:16] local.INFO: Packet analysis {"connection_id":151519,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:48:16] local.INFO: Extracted packet for processing {"connection_id":151519,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":752978112,"raw_latitude":120686208,"longitude_deg":75.2978112,"latitude_deg":12.0686208,"altitude":35,"angle":258,"satellites":49,"speed":36,"hex_longitude":"2ce188c0","hex_latitude":"07318680","is_valid_coordinates":true} 
[2026-08-08 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262227712001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375500143056650240,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2184597632099295232,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786180587000,"timestamp_ms":1786180587000,"timestamp_seconds":1786180587,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a8cdf8"} 
[2026-08-08 14:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262227712001,"66":27908,"46":206,"83":40960,"24":36,"16":375500143056650240,"44":-2184597632099295232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262227712001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375500143056650240,"km_value":375500143056650.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2184597632099295232,"description":"Unknown IO ID 44"} 
[2026-08-08 14:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262227712001,"power":27908,"unknown_46":206,"unknown_83":40960,"ignition":36,"odometer":null,"unknown_44":-2184597632099295232}} 
[2026-08-08 14:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":151519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:48:16] local.INFO: GPS data processed {"connection_id":151519,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:48:16] local.INFO: Acknowledgment sent {"connection_id":151519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:48:16] local.INFO: Packet analysis {"connection_id":151519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:48:16] local.INFO: Extracted packet for processing {"connection_id":151519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a8"} 
[2026-08-08 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":752969152,"raw_latitude":120685312,"longitude_deg":75.2969152,"latitude_deg":12.0685312,"altitude":36,"angle":269,"satellites":47,"speed":37,"hex_longitude":"2ce165c0","hex_latitude":"07318300","is_valid_coordinates":true} 
[2026-08-08 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262230272001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375500572553379840,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2195293681214914560,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786180597000,"timestamp_ms":1786180597000,"timestamp_seconds":1786180597,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a8f508"} 
[2026-08-08 14:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262230272001,"66":27919,"46":206,"83":40960,"24":37,"16":375500572553379840,"44":-2195293681214914560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,83,24,16,44]} 
[2026-08-08 14:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262230272001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375500572553379840,"km_value":375500572553379.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2195293681214914560,"description":"Unknown IO ID 44"} 
[2026-08-08 14:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262230272001,"power":27919,"unknown_46":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2195293681214914560}} 
[2026-08-08 14:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":151519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:48:16] local.INFO: GPS data processed {"connection_id":151519,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:48:16] local.INFO: Acknowledgment sent {"connection_id":151519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:48:33] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0a9ef08012d1962400720ab30002e010926..."} 
[2026-08-08 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0a9ef08012d1962400720ab30002e010926..."} 
[2026-08-08 14:48:33] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0a9ef08012d1962400720ab30002e010926..."} 
[2026-08-08 14:48:33] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0a9"} 
[2026-08-08 14:48:33] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0a9"} 
[2026-08-08 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756638272,"raw_latitude":119581488,"longitude_deg":75.6638272,"latitude_deg":11.9581488,"altitude":46,"angle":265,"satellites":38,"speed":44,"hex_longitude":"2d196240","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-08-08 14:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262248192001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11488303077392384,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834231716348086272,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786180661000,"timestamp_ms":1786180661000,"timestamp_seconds":1786180661,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0a9ef08"} 
[2026-08-08 14:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:48: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-08-08 14:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3769200160,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57345,"corrected_to":0} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2843334657,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2835349550,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2147950759,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3482124288,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,208,159,203,45,64,178,50,39,10,66,175,47,37,207,129,1,240,196,227,224,32,4,113,205,9,114,185,176,36,239,56,2,40,7,46],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":203,"original":57345,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-08 14:48:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459042857769172992,"timestamp_seconds":3459042857769173.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 14:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262248192001,"66":14080,"103":206,"83":41984,"24":44,"16":11488303077392384,"45":1834231716348086272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262248192001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:48:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11488303077392384,"km_value":11488303077392.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834231716348086272,"description":"Unknown IO ID 45"} 
[2026-08-08 14:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262248192001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1834231716348086272}} 
[2026-08-08 14:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:48:33] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:48:33] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:48:49] local.INFO: TCP Data received {"connection_id":151519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aa1de8012cdff20007321cc00018012031..."} 
[2026-08-08 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aa1de8012cdff20007321cc00018012031..."} 
[2026-08-08 14:48:49] local.INFO: Processing buffer {"connection_id":151519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aa1de8012cdff20007321cc00018012031..."} 
[2026-08-08 14:48:49] local.INFO: Packet analysis {"connection_id":151519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:48:49] local.INFO: Extracted packet for processing {"connection_id":151519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":752873984,"raw_latitude":120724672,"longitude_deg":75.2873984,"latitude_deg":12.0724672,"altitude":24,"angle":288,"satellites":49,"speed":59,"hex_longitude":"2cdff200","hex_latitude":"07321cc0","is_valid_coordinates":true} 
[2026-08-08 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262250496001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375505490290933760,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2299087578868146176,"note":"Value kept but may cause issues"} 
[2026-08-08 14:48:49] 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-08-08 14:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786180673000,"timestamp_ms":1786180673000,"timestamp_seconds":1786180673,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aa1de8"} 
[2026-08-08 14:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262250496001,"66":27930,"146":206,"83":40960,"24":59,"16":375505490290933760,"44":-2299087578868146176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-08 14:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262250496001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:48:49] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 14:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375505490290933760,"km_value":375505490290933.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:48:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2299087578868146176,"description":"Unknown IO ID 44"} 
[2026-08-08 14:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262250496001,"power":27930,"unknown_146":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2299087578868146176}} 
[2026-08-08 14:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":151519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:48:49] local.INFO: GPS data processed {"connection_id":151519,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:48:49] local.INFO: Acknowledgment sent {"connection_id":151519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:49:04] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aa0290012d194c800720ab68002c011824..."} 
[2026-08-08 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aa0290012d194c800720ab68002c011824..."} 
[2026-08-08 14:49:04] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aa0290012d194c800720ab68002c011824..."} 
[2026-08-08 14:49:04] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:04] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756632704,"raw_latitude":119581544,"longitude_deg":75.6632704,"latitude_deg":11.9581544,"altitude":44,"angle":280,"satellites":36,"speed":41,"hex_longitude":"2d194c80","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-08-08 14:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262249216001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11488565070397440,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829094798022881280,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786180666000,"timestamp_ms":1786180666000,"timestamp_seconds":1786180666,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aa0290"} 
[2026-08-08 14:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:49: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-08-08 14: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":0,"data_length":795,"current_offset":136} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3769201160,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57345,"corrected_to":0} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2843846657,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2861039662,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3482451968,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,208,159,223,45,128,174,48,39,10,66,203,64,178,50,1,240,60,227,207,224,32,4,113,205,121,184,34,239,56,2,40,7,46,3],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":203,"original":57345,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-08 14:49:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314940859537686528,"timestamp_seconds":3314940859537686.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 14:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262249216001,"66":14135,"103":206,"83":41984,"24":41,"16":11488565070397440,"45":1829094798022881280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 14:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262249216001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:49:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 14:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11488565070397440,"km_value":11488565070397.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829094798022881280,"description":"Unknown IO ID 45"} 
[2026-08-08 14:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262249216001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1829094798022881280}} 
[2026-08-08 14:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:49:04] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:49:04] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:49:10] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:49:10] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:49:10] local.INFO: IMEI packet received {"connection_id":153005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":153005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:49:15] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:49:15] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:49:15] local.INFO: IMEI packet received {"connection_id":153005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":153005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:49:16] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aa3558012cdfcf80073224a80017011731..."} 
[2026-08-08 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aa3558012cdfcf80073224a80017011731..."} 
[2026-08-08 14:49:16] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aa3558012cdfcf80073224a80017011731..."} 
[2026-08-08 14:49:16] local.INFO: Packet analysis {"connection_id":153005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:16] local.INFO: Extracted packet for processing {"connection_id":153005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":752865152,"raw_latitude":120726696,"longitude_deg":75.2865152,"latitude_deg":12.0726696,"altitude":23,"angle":279,"satellites":49,"speed":59,"hex_longitude":"2cdfcf80","hex_latitude":"073224a8","is_valid_coordinates":true} 
[2026-08-08 14:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262252288001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375505924082630656,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2309783627982127104,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:16] 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-08-08 14:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786180679000,"timestamp_ms":1786180679000,"timestamp_seconds":1786180679,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aa3558"} 
[2026-08-08 14:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262252288001,"66":27919,"146":206,"83":40960,"24":59,"16":375505924082630656,"44":-2309783627982127104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-08 14:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262252288001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375505924082630656,"km_value":375505924082630.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2309783627982127104,"description":"Unknown IO ID 44"} 
[2026-08-08 14:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262252288001,"power":27919,"unknown_146":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2309783627982127104}} 
[2026-08-08 14:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":153005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:49:16] local.INFO: GPS data processed {"connection_id":153005,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:49:16] local.INFO: Acknowledgment sent {"connection_id":153005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:49:35] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aae908012d18c58007213d000040015125..."} 
[2026-08-08 14:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aae908012d18c58007213d000040015125..."} 
[2026-08-08 14:49:35] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aae908012d18c58007213d000040015125..."} 
[2026-08-08 14:49:35] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:35] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119618816,"longitude_deg":75.6598144,"latitude_deg":11.9618816,"altitude":64,"angle":337,"satellites":37,"speed":36,"hex_longitude":"2d18c580","hex_latitude":"07213d00","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262264832001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491202180317184,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786380970315984896,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786180725000,"timestamp_ms":1786180725000,"timestamp_seconds":1786180725,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aae908"} 
[2026-08-08 14:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 14:49: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-08-08 14: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-08-08 14:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262264832001,"66":14363,"106":206,"83":41984,"24":36,"16":11491202180317184,"45":1786380970315984896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 14:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262264832001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:49:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 14:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491202180317184,"km_value":11491202180317.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786380970315984896,"description":"Unknown IO ID 45"} 
[2026-08-08 14:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262264832001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1786380970315984896}} 
[2026-08-08 14:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:49:35] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:49:35] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:49:47] local.INFO: TCP Data received {"connection_id":153005,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aa4cc8012cdfac40073229300016011431..."} 
[2026-08-08 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aa4cc8012cdfac40073229300016011431..."} 
[2026-08-08 14:49:47] local.INFO: Processing buffer {"connection_id":153005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aa4cc8012cdfac40073229300016011431..."} 
[2026-08-08 14:49:47] local.INFO: Packet analysis {"connection_id":153005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:47] local.INFO: Extracted packet for processing {"connection_id":153005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":752856128,"raw_latitude":120727856,"longitude_deg":75.2856128,"latitude_deg":12.0727856,"altitude":22,"angle":276,"satellites":49,"speed":59,"hex_longitude":"2cdfac40","hex_latitude":"07322930","is_valid_coordinates":true} 
[2026-08-08 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262253824001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375506353579360256,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2319494514678126592,"note":"Value kept but may cause issues"} 
[2026-08-08 14:49:47] 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-08-08 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786180685000,"timestamp_ms":1786180685000,"timestamp_seconds":1786180685,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aa4cc8"} 
[2026-08-08 14:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262253824001,"66":27995,"146":206,"83":40960,"24":59,"16":375506353579360256,"44":-2319494514678126592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-08 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262253824001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:49:47] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 14:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375506353579360256,"km_value":375506353579360.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2319494514678126592,"description":"Unknown IO ID 44"} 
[2026-08-08 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262253824001,"power":27995,"unknown_146":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2319494514678126592}} 
[2026-08-08 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:49:47] local.INFO: GPS data processed {"connection_id":153005,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:49:47] local.INFO: Acknowledgment sent {"connection_id":153005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:50:02] local.INFO: TCP Data received {"connection_id":150300,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:50:02] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:50:02] local.INFO: IMEI packet received {"connection_id":150300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":150300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:50:05] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:05] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:05] local.INFO: IMEI packet received {"connection_id":151520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:50:05] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:05] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:05] local.INFO: IMEI packet received {"connection_id":151520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":151520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:50:07] local.INFO: TCP Data received {"connection_id":150300,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:50:07] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:50:07] local.INFO: IMEI packet received {"connection_id":150300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":150300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:50:09] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:09] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:50:09] local.INFO: IMEI packet received {"connection_id":151520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":151520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:50:10] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aa6438012cdf894007322d80001501172e..."} 
[2026-08-08 14:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aa6438012cdf894007322d80001501172e..."} 
[2026-08-08 14:50:10] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aa6438012cdf894007322d80001501172e..."} 
[2026-08-08 14:50:10] local.INFO: Packet analysis {"connection_id":151520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:50:10] local.INFO: Extracted packet for processing {"connection_id":151520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:50:10] local.INFO: GPS Element Parsed {"raw_longitude":752847168,"raw_latitude":120728960,"longitude_deg":75.2847168,"latitude_deg":12.072896,"altitude":21,"angle":279,"satellites":46,"speed":59,"hex_longitude":"2cdf8940","hex_latitude":"07322d80","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262255360001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375506783076089856,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2329416507606880256,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:10] 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-08-08 14:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180691000,"timestamp_ms":1786180691000,"timestamp_seconds":1786180691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aa6438"} 
[2026-08-08 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-08-08 14:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 14:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262255360001,"66":27843,"146":206,"83":40960,"24":59,"16":375506783076089856,"44":-2329416507606880256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262255360001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375506783076089856,"km_value":375506783076089.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2329416507606880256,"description":"Unknown IO ID 44"} 
[2026-08-08 14:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262255360001,"power":27843,"unknown_146":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2329416507606880256}} 
[2026-08-08 14:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":151520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:50:10] local.INFO: GPS data processed {"connection_id":151520,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:50:10] local.INFO: Acknowledgment sent {"connection_id":151520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:50:10] local.INFO: TCP Data received {"connection_id":150300,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aaf0d8012d18c3c0072144080041016126..."} 
[2026-08-08 14:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aaf0d8012d18c3c0072144080041016126..."} 
[2026-08-08 14:50:10] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aaf0d8012d18c3c0072144080041016126..."} 
[2026-08-08 14:50:10] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:50:10] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0aa"} 
[2026-08-08 14:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119620616,"longitude_deg":75.6597696,"latitude_deg":11.9620616,"altitude":65,"angle":353,"satellites":38,"speed":37,"hex_longitude":"2d18c3c0","hex_latitude":"07214408","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262265600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491292374630400,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433041920,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180727000,"timestamp_ms":1786180727000,"timestamp_seconds":1786180727,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aaf0d8"} 
[2026-08-08 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-08-08 14:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 14:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262265600001,"66":14352,"106":206,"83":41984,"24":37,"16":11491292374630400,"45":1784973595433041920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 14:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262265600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491292374630400,"km_value":11491292374630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433041920,"description":"Unknown IO ID 45"} 
[2026-08-08 14:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262265600001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784973595433041920}} 
[2026-08-08 14:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:50:10] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:50:10] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:50:41] local.INFO: TCP Data received {"connection_id":151520,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0abdf20012cdd790007328fe00017011b2f..."} 
[2026-08-08 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0abdf20012cdd790007328fe00017011b2f..."} 
[2026-08-08 14:50:41] local.INFO: Processing buffer {"connection_id":151520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0abdf20012cdd790007328fe00017011b2f..."} 
[2026-08-08 14:50:41] local.INFO: Packet analysis {"connection_id":151520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ab"} 
[2026-08-08 14:50:41] local.INFO: Extracted packet for processing {"connection_id":151520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ab"} 
[2026-08-08 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":752711936,"raw_latitude":120754144,"longitude_deg":75.2711936,"latitude_deg":12.0754144,"altitude":23,"angle":283,"satellites":47,"speed":55,"hex_longitude":"2cdd7900","hex_latitude":"07328fe0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262279936001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375513367260954624,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2477261239117783040,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] 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-08-08 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786180788000,"timestamp_ms":1786180788000,"timestamp_seconds":1786180788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0abdf20"} 
[2026-08-08 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-08-08 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 14:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262279936001,"66":27930,"146":206,"83":40960,"24":55,"16":375513367260954624,"44":-2477261239117783040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262279936001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375513367260954624,"km_value":375513367260954.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2477261239117783040,"description":"Unknown IO ID 44"} 
[2026-08-08 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262279936001,"power":27930,"unknown_146":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2477261239117783040}} 
[2026-08-08 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":151520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:50:41] local.INFO: GPS data processed {"connection_id":151520,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:50:41] local.INFO: Acknowledgment sent {"connection_id":151520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:50:41] local.INFO: TCP Data received {"connection_id":150300,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ab0460012d18c100072155a80042014d26..."} 
[2026-08-08 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ab0460012d18c100072155a80042014d26..."} 
[2026-08-08 14:50:41] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ab0460012d18c100072155a80042014d26..."} 
[2026-08-08 14:50:41] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ab"} 
[2026-08-08 14:50:41] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ab"} 
[2026-08-08 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119625128,"longitude_deg":75.6596992,"latitude_deg":11.9625128,"altitude":66,"angle":333,"satellites":38,"speed":35,"hex_longitude":"2d18c100","hex_latitude":"072155a8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262266112001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11491515712929792,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224259072,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786180732000,"timestamp_ms":1786180732000,"timestamp_seconds":1786180732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ab0460"} 
[2026-08-08 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-08-08 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1585259230973132750,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3769280160,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5342676674678882314,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503774957207552,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147950856,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2864326657,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637916105177191,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3674262904,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.WARNING: Large IO value detected {"io_id":40,"raw_value":14919527334683392,"note":"Value kept but may cause issues"} 
[2026-08-08 14:50:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,211,159,233,45,128,61,64,37,10,66,221,51,63,35,213,1,240,22,227,210,224,33,4,113,205,39,174,48,239,53,103,2,40,7,56,206],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-08 14:50:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684131903281102848,"timestamp_seconds":4684131903281103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262266112001,"66":14396,"106":206,"83":41984,"24":35,"16":11491515712929792,"45":1784481014224259072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262266112001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11491515712929792,"km_value":11491515712929.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224259072,"description":"Unknown IO ID 45"} 
[2026-08-08 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262266112001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784481014224259072}} 
[2026-08-08 14:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:50:42] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:50:42] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:51:08] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:51:08] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:51:08] local.INFO: IMEI packet received {"connection_id":151521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":151521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:51:13] local.INFO: TCP Data received {"connection_id":150300,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ac8330012d181a000721a308004500d226..."} 
[2026-08-08 14:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ac8330012d181a000721a308004500d226..."} 
[2026-08-08 14:51:13] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ac8330012d181a000721a308004500d226..."} 
[2026-08-08 14:51:13] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:13] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119644936,"longitude_deg":75.655424,"latitude_deg":11.9644936,"altitude":69,"angle":210,"satellites":38,"speed":13,"hex_longitude":"2d181a00","hex_latitude":"0721a308","is_valid_coordinates":true} 
[2026-08-08 14:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262291968001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493899419779072,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399054336,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786180830000,"timestamp_ms":1786180830000,"timestamp_seconds":1786180830,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ac8330"} 
[2026-08-08 14:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 14:51: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-08-08 14:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262291968001,"66":14048,"105":206,"83":41984,"24":13,"16":11493899419779072,"45":1737122849399054336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262291968001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:51:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493899419779072,"km_value":11493899419779.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399054336,"description":"Unknown IO ID 45"} 
[2026-08-08 14:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262291968001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737122849399054336}} 
[2026-08-08 14:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:51:13] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:51:13] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:51:16] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:51:16] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 14:51:16] local.INFO: IMEI packet received {"connection_id":151521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":151521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:51:17] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0abfa78012cdd534007329b700016012331..."} 
[2026-08-08 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0abfa78012cdd534007329b700016012331..."} 
[2026-08-08 14:51:17] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe0..."} 
[2026-08-08 14:51:17] local.INFO: IMEI packet received {"connection_id":151521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":151521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:51:17] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ac15d0012cdd2f000732ac980016012c30..."} 
[2026-08-08 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ac15d0012cdd2f000732ac980016012c30..."} 
[2026-08-08 14:51:17] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe0abfa78012cdd534007329b700016012331..."} 
[2026-08-08 14:51:17] local.INFO: Packet analysis {"connection_id":151521,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe0ab"} 
[2026-08-08 14:51:17] local.INFO: Extracted packet for processing {"connection_id":151521,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ab"} 
[2026-08-08 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":752702272,"raw_latitude":120757104,"longitude_deg":75.2702272,"latitude_deg":12.0757104,"altitude":22,"angle":291,"satellites":49,"speed":57,"hex_longitude":"2cdd5340","hex_latitude":"07329b70","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262281728001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375513848297291776,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2487957288232427520,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:17] 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-08-08 14:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786180795000,"timestamp_ms":1786180795000,"timestamp_seconds":1786180795,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0abfa78"} 
[2026-08-08 14:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262281728001,"66":27919,"146":206,"83":40960,"24":57,"16":375513848297291776,"44":-2487957288232427520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262281728001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375513848297291776,"km_value":375513848297291.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2487957288232427520,"description":"Unknown IO ID 44"} 
[2026-08-08 14:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262281728001,"power":27919,"unknown_146":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2487957288232427520}} 
[2026-08-08 14:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":151521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:51:17] local.INFO: GPS data processed {"connection_id":151521,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:51:17] local.INFO: Acknowledgment sent {"connection_id":151521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:51:17] local.INFO: Packet analysis {"connection_id":151521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:17] local.INFO: Extracted packet for processing {"connection_id":151521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":752692992,"raw_latitude":120761496,"longitude_deg":75.2692992,"latitude_deg":12.0761496,"altitude":22,"angle":300,"satellites":48,"speed":57,"hex_longitude":"2cdd2f00","hex_latitude":"0732ac98","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262283520001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375514337923563520,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2498582968602497024,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786180802000,"timestamp_ms":1786180802000,"timestamp_seconds":1786180802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ac15d0"} 
[2026-08-08 14:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262283520001,"66":27984,"154":206,"83":40960,"24":57,"16":375514337923563520,"44":-2498582968602497024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-08-08 14:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262283520001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375514337923563520,"km_value":375514337923563.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2498582968602497024,"description":"Unknown IO ID 44"} 
[2026-08-08 14:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262283520001,"power":27984,"unknown_154":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2498582968602497024}} 
[2026-08-08 14:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":151521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:51:17] local.INFO: GPS data processed {"connection_id":151521,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:51:17] local.INFO: Acknowledgment sent {"connection_id":151521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:51:20] local.INFO: TCP Data received {"connection_id":151521,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ac3128012cdd0d400732c1100017012d2f..."} 
[2026-08-08 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ac3128012cdd0d400732c1100017012d2f..."} 
[2026-08-08 14:51:20] local.INFO: Processing buffer {"connection_id":151521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ac3128012cdd0d400732c1100017012d2f..."} 
[2026-08-08 14:51:20] local.INFO: Packet analysis {"connection_id":151521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:20] local.INFO: Extracted packet for processing {"connection_id":151521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":752684352,"raw_latitude":120766736,"longitude_deg":75.2684352,"latitude_deg":12.0766736,"altitude":23,"angle":301,"satellites":47,"speed":56,"hex_longitude":"2cdd0d40","hex_latitude":"0732c110","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262285312001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375514823254867968,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2508786436507133952,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786180809000,"timestamp_ms":1786180809000,"timestamp_seconds":1786180809,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ac3128"} 
[2026-08-08 14:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 14:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262285312001,"66":27919,"154":206,"83":40960,"24":56,"16":375514823254867968,"44":-2508786436507133952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-08-08 14:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262285312001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:51:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 14:51:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375514823254867968,"km_value":375514823254867.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2508786436507133952,"description":"Unknown IO ID 44"} 
[2026-08-08 14:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262285312001,"power":27919,"unknown_154":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2508786436507133952}} 
[2026-08-08 14:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":151521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:51:20] local.INFO: GPS data processed {"connection_id":151521,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:51:20] local.INFO: Acknowledgment sent {"connection_id":151521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:51:44] local.INFO: TCP Data received {"connection_id":150300,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ac8b00012d1819000721a0b8004500c026..."} 
[2026-08-08 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ac8b00012d1819000721a0b8004500c026..."} 
[2026-08-08 14:51:44] local.INFO: Processing buffer {"connection_id":150300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ac8b00012d1819000721a0b8004500c026..."} 
[2026-08-08 14:51:44] local.INFO: Packet analysis {"connection_id":150300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:44] local.INFO: Extracted packet for processing {"connection_id":150300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119644344,"longitude_deg":75.6553984,"latitude_deg":11.9644344,"altitude":69,"angle":192,"satellites":38,"speed":10,"hex_longitude":"2d181900","hex_latitude":"0721a0b8","is_valid_coordinates":true} 
[2026-08-08 14:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262292480001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493933779517440,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636933851136,"note":"Value kept but may cause issues"} 
[2026-08-08 14:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786180832000,"timestamp_ms":1786180832000,"timestamp_seconds":1786180832,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ac8b00"} 
[2026-08-08 14:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 14:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262292480001,"66":14070,"105":206,"83":41984,"24":10,"16":11493933779517440,"45":1736700636933851136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262292480001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:51:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493933779517440,"km_value":11493933779517.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636933851136,"description":"Unknown IO ID 45"} 
[2026-08-08 14:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262292480001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1736700636933851136}} 
[2026-08-08 14:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":150300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:51:44] local.INFO: GPS data processed {"connection_id":150300,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:51:44] local.INFO: Acknowledgment sent {"connection_id":150300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:52:05] local.INFO: TCP Data received {"connection_id":150301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:05] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:05] local.INFO: IMEI packet received {"connection_id":150301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":150301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:52:05] local.INFO: TCP Data received {"connection_id":150301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:05] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:05] local.INFO: IMEI packet received {"connection_id":150301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":150301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:52:07] local.INFO: TCP Data received {"connection_id":150302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:07] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:07] local.INFO: IMEI packet received {"connection_id":150302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":150302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:52:08] local.INFO: TCP Data received {"connection_id":150302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:08] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:08] local.INFO: IMEI packet received {"connection_id":150302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":150302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:52:08] local.INFO: TCP Data received {"connection_id":150302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ac92d0012d18194007219f500044009c26..."} 
[2026-08-08 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ac92d0012d18194007219f500044009c26..."} 
[2026-08-08 14:52:09] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ac92d0012d18194007219f500044009c26..."} 
[2026-08-08 14:52:09] local.INFO: Packet analysis {"connection_id":150302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:52:09] local.INFO: Extracted packet for processing {"connection_id":150302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643984,"longitude_deg":75.6554048,"latitude_deg":11.9643984,"altitude":68,"angle":156,"satellites":38,"speed":5,"hex_longitude":"2d181940","hex_latitude":"07219f50","is_valid_coordinates":true} 
[2026-08-08 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262292992001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493950959386624,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161956988928,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786180834000,"timestamp_ms":1786180834000,"timestamp_seconds":1786180834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ac92d0"} 
[2026-08-08 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 14:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262292992001,"66":14363,"105":206,"83":41984,"24":5,"16":11493950959386624,"45":1736419161956988928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262292992001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:52:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493950959386624,"km_value":11493950959386.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161956988928,"description":"Unknown IO ID 45"} 
[2026-08-08 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262292992001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1736419161956988928}} 
[2026-08-08 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":150302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:52:09] local.INFO: GPS data processed {"connection_id":150302,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:52:09] local.INFO: Acknowledgment sent {"connection_id":150302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:52:10] local.INFO: TCP Data received {"connection_id":150301,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:10] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:52:10] local.INFO: IMEI packet received {"connection_id":150301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":150301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:52:10] local.INFO: TCP Data received {"connection_id":150302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ace4d8012d18198007219f00004500a128..."} 
[2026-08-08 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ace4d8012d18198007219f00004500a128..."} 
[2026-08-08 14:52:10] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ace4d8012d18198007219f00004500a128..."} 
[2026-08-08 14:52:10] local.INFO: Packet analysis {"connection_id":150302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:52:10] local.INFO: Extracted packet for processing {"connection_id":150302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:52:10] local.INFO: GPS Element Parsed {"raw_longitude":756554112,"raw_latitude":119643904,"longitude_deg":75.6554112,"latitude_deg":11.9643904,"altitude":69,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2d181980","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262293504001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493959549321216,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701074432,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52: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-08-08 14:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180855000,"timestamp_ms":1786180855000,"timestamp_seconds":1786180855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ace4d8"} 
[2026-08-08 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-08-08 14:52: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-08-08 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 14:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262293504001,"66":14483,"105":206,"83":41984,"24":0,"16":11493959549321216,"45":1736489530701074432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262293504001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:52:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493959549321216,"km_value":11493959549321.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701074432,"description":"Unknown IO ID 45"} 
[2026-08-08 14:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262293504001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701074432}} 
[2026-08-08 14:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":150302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:52:10] local.INFO: GPS data processed {"connection_id":150302,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:52:10] local.INFO: Acknowledgment sent {"connection_id":150302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:52:11] local.INFO: TCP Data received {"connection_id":150301,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ac4c80012cdcec000732d4e00017012d2d..."} 
[2026-08-08 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ac4c80012cdcec000732d4e00017012d2d..."} 
[2026-08-08 14:52:11] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ac4c80012cdcec000732d4e00017012d2d..."} 
[2026-08-08 14:52:11] local.INFO: Packet analysis {"connection_id":150301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:52:11] local.INFO: Extracted packet for processing {"connection_id":150301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ac"} 
[2026-08-08 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":752675840,"raw_latitude":120771808,"longitude_deg":75.267584,"latitude_deg":12.0771808,"altitude":23,"angle":301,"satellites":45,"speed":55,"hex_longitude":"2cdcec00","hex_latitude":"0732d4e0","is_valid_coordinates":true} 
[2026-08-08 14:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262287104001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375515291406303232,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2518286216969777152,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786180816000,"timestamp_ms":1786180816000,"timestamp_seconds":1786180816,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ac4c80"} 
[2026-08-08 14:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 14:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:52: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-08-08 14:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262287104001,"66":27865,"154":206,"83":40960,"24":55,"16":375515291406303232,"44":-2518286216969777152},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-08-08 14:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262287104001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375515291406303232,"km_value":375515291406303.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2518286216969777152,"description":"Unknown IO ID 44"} 
[2026-08-08 14:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262287104001,"power":27865,"unknown_154":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2518286216969777152}} 
[2026-08-08 14:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":150301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:52:11] local.INFO: GPS data processed {"connection_id":150301,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:52:11] local.INFO: Acknowledgment sent {"connection_id":150301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:52:41] local.INFO: TCP Data received {"connection_id":150302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ad36e0012d18198007219f00004500a127..."} 
[2026-08-08 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ad36e0012d18198007219f00004500a127..."} 
[2026-08-08 14:52:41] local.INFO: Processing buffer {"connection_id":150302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ad36e0012d18198007219f00004500a127..."} 
[2026-08-08 14:52:41] local.INFO: Packet analysis {"connection_id":150302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:52:41] local.INFO: Extracted packet for processing {"connection_id":150302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":756554112,"raw_latitude":119643904,"longitude_deg":75.6554112,"latitude_deg":11.9643904,"altitude":69,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2d181980","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262298880001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11493959549321216,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736559899445231616,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52: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-08-08 14:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786180876000,"timestamp_ms":1786180876000,"timestamp_seconds":1786180876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ad36e0"} 
[2026-08-08 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-08-08 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 14:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262298880001,"66":14341,"105":206,"83":41984,"24":0,"16":11493959549321216,"45":1736559899445231616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262298880001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11493959549321216,"km_value":11493959549321.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736559899445231616,"description":"Unknown IO ID 45"} 
[2026-08-08 14:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262298880001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736559899445231616}} 
[2026-08-08 14:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":150302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:52:41] local.INFO: GPS data processed {"connection_id":150302,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:52:41] local.INFO: Acknowledgment sent {"connection_id":150302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:52:41] local.INFO: TCP Data received {"connection_id":150301,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0adbf98012cdb37800733d610001a014e32..."} 
[2026-08-08 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0adbf98012cdb37800733d610001a014e32..."} 
[2026-08-08 14:52:41] local.INFO: Processing buffer {"connection_id":150301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0adbf98012cdb37800733d610001a014e32..."} 
[2026-08-08 14:52:41] local.INFO: Packet analysis {"connection_id":150301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:52:41] local.INFO: Extracted packet for processing {"connection_id":150301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":752564096,"raw_latitude":120837648,"longitude_deg":75.2564096,"latitude_deg":12.0837648,"altitude":26,"angle":334,"satellites":50,"speed":59,"hex_longitude":"2cdb3780","hex_latitude":"0733d610","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262311680001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375521626483064832,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2646146225124521984,"note":"Value kept but may cause issues"} 
[2026-08-08 14:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786180911000,"timestamp_ms":1786180911000,"timestamp_seconds":1786180911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0adbf98"} 
[2026-08-08 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-08-08 14:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262311680001,"66":27821,"145":206,"83":40960,"24":59,"16":375521626483064832,"44":-2646146225124521984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-08 14:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262311680001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375521626483064832,"km_value":375521626483064.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2646146225124521984,"description":"Unknown IO ID 44"} 
[2026-08-08 14:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262311680001,"power":27821,"unknown_145":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2646146225124521984}} 
[2026-08-08 14:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":150301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:52:41] local.INFO: GPS data processed {"connection_id":150301,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:52:41] local.INFO: Acknowledgment sent {"connection_id":150301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:52:58] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:58] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:58] local.INFO: IMEI packet received {"connection_id":151522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":151522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:52:59] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:59] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:52:59] local.INFO: IMEI packet received {"connection_id":151522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":151522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:53:00] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:53:00] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:53:00] local.INFO: IMEI packet received {"connection_id":151522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":151522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:53:01] local.INFO: TCP Data received {"connection_id":151522,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:53:01] local.INFO: Processing buffer {"connection_id":151522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:53:01] local.INFO: IMEI packet received {"connection_id":151522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":151522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:53:05] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:53:05] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:53:05] local.INFO: IMEI packet received {"connection_id":150552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":150552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:53:07] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:53:07] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:53:07] local.INFO: IMEI packet received {"connection_id":150552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":150552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:53:07] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0add708012cdb26000733f4b00019014731..."} 
[2026-08-08 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0add708012cdb26000733f4b00019014731..."} 
[2026-08-08 14:53:07] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0add708012cdb26000733f4b00019014731..."} 
[2026-08-08 14:53:07] local.INFO: Packet analysis {"connection_id":150552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:53:07] local.INFO: Extracted packet for processing {"connection_id":150552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":752559616,"raw_latitude":120845488,"longitude_deg":75.2559616,"latitude_deg":12.0845488,"altitude":25,"angle":327,"satellites":49,"speed":59,"hex_longitude":"2cdb2600","hex_latitude":"0733f4b0","is_valid_coordinates":true} 
[2026-08-08 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262313216001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375522060274761728,"note":"Value kept but may cause issues"} 
[2026-08-08 14:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2650509087261454336,"note":"Value kept but may cause issues"} 
[2026-08-08 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786180917000,"timestamp_ms":1786180917000,"timestamp_seconds":1786180917,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0add708"} 
[2026-08-08 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 14:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262313216001,"66":27930,"145":206,"83":40960,"24":59,"16":375522060274761728,"44":-2650509087261454336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-08 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262313216001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375522060274761728,"km_value":375522060274761.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2650509087261454336,"description":"Unknown IO ID 44"} 
[2026-08-08 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262313216001,"power":27930,"unknown_145":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2650509087261454336}} 
[2026-08-08 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":150552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:53:07] local.INFO: GPS data processed {"connection_id":150552,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:53:07] local.INFO: Acknowledgment sent {"connection_id":150552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:53:39] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0adee78012cdb12c007341200001701482f..."} 
[2026-08-08 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0adee78012cdb12c007341200001701482f..."} 
[2026-08-08 14:53:39] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0adee78012cdb12c007341200001701482f..."} 
[2026-08-08 14:53:39] local.INFO: Packet analysis {"connection_id":150552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:53:39] local.INFO: Extracted packet for processing {"connection_id":150552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ad"} 
[2026-08-08 14:53:39] local.INFO: GPS Element Parsed {"raw_longitude":752554688,"raw_latitude":120852992,"longitude_deg":75.2554688,"latitude_deg":12.0852992,"altitude":23,"angle":328,"satellites":47,"speed":58,"hex_longitude":"2cdb12c0","hex_latitude":"07341200","is_valid_coordinates":true} 
[2026-08-08 14:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262314752001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375522494066458624,"note":"Value kept but may cause issues"} 
[2026-08-08 14:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2655434899351883776,"note":"Value kept but may cause issues"} 
[2026-08-08 14:53:39] 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-08-08 14:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786180923000,"timestamp_ms":1786180923000,"timestamp_seconds":1786180923,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0adee78"} 
[2026-08-08 14:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 14:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262314752001,"66":27919,"225":206,"83":40960,"24":58,"16":375522494066458624,"44":-2655434899351883776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-08-08 14:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262314752001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375522494066458624,"km_value":375522494066458.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2655434899351883776,"description":"Unknown IO ID 44"} 
[2026-08-08 14:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262314752001,"power":27919,"unknown_225":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2655434899351883776}} 
[2026-08-08 14:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":150552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:53:39] local.INFO: GPS data processed {"connection_id":150552,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:53:39] local.INFO: Acknowledgment sent {"connection_id":150552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:54:03] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:03] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:03] local.INFO: IMEI packet received {"connection_id":151523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":151523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:54:05] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:05] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:05] local.INFO: IMEI packet received {"connection_id":151523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:54:09] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:09] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:54:09] local.INFO: IMEI packet received {"connection_id":151523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":151523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:54:10] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0af1370012cd9e58007352ec8001a012b32..."} 
[2026-08-08 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0af1370012cd9e58007352ec8001a012b32..."} 
[2026-08-08 14:54:10] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0af1370012cd9e58007352ec8001a012b32..."} 
[2026-08-08 14:54:10] local.INFO: Packet analysis {"connection_id":151523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:54:10] local.INFO: Extracted packet for processing {"connection_id":151523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":752477568,"raw_latitude":120925896,"longitude_deg":75.2477568,"latitude_deg":12.0925896,"altitude":26,"angle":299,"satellites":50,"speed":55,"hex_longitude":"2cd9e580","hex_latitude":"07352ec8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262333696001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375527626552377344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2736781167602069504,"note":"Value kept but may cause issues"} 
[2026-08-08 14:54:10] 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-08-08 14:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786180998000,"timestamp_ms":1786180998000,"timestamp_seconds":1786180998,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0af1370"} 
[2026-08-08 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-08-08 14:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 14:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262333696001,"66":28093,"175":206,"83":40960,"24":55,"16":375527626552377344,"44":-2736781167602069504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-08 14:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262333696001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:54:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-08 14:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375527626552377344,"km_value":375527626552377.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2736781167602069504,"description":"Unknown IO ID 44"} 
[2026-08-08 14:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262333696001,"power":28093,"unknown_175":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2736781167602069504}} 
[2026-08-08 14:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":151523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:54:10] local.INFO: GPS data processed {"connection_id":151523,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:54:10] local.INFO: Acknowledgment sent {"connection_id":151523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:54:41] local.INFO: TCP Data received {"connection_id":151523,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0af2ec8012cd9c14007353f600019012433..."} 
[2026-08-08 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0af2ec8012cd9c14007353f600019012433..."} 
[2026-08-08 14:54:41] local.INFO: Processing buffer {"connection_id":151523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0af2ec8012cd9c14007353f600019012433..."} 
[2026-08-08 14:54:41] local.INFO: Packet analysis {"connection_id":151523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:54:41] local.INFO: Extracted packet for processing {"connection_id":151523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":752468288,"raw_latitude":120930144,"longitude_deg":75.2468288,"latitude_deg":12.0930144,"altitude":25,"angle":292,"satellites":51,"speed":59,"hex_longitude":"2cd9c140","hex_latitude":"07353f60","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262335488001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375528111883681792,"note":"Value kept but may cause issues"} 
[2026-08-08 14:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2745647629367064576,"note":"Value kept but may cause issues"} 
[2026-08-08 14:54: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-08-08 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786181005000,"timestamp_ms":1786181005000,"timestamp_seconds":1786181005,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0af2ec8"} 
[2026-08-08 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-08-08 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-08 14:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262335488001,"66":28104,"175":206,"83":40960,"24":59,"16":375528111883681792,"44":-2745647629367064576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-08-08 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262335488001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:54:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-08 14:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375528111883681792,"km_value":375528111883681.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2745647629367064576,"description":"Unknown IO ID 44"} 
[2026-08-08 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262335488001,"power":28104,"unknown_175":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2745647629367064576}} 
[2026-08-08 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":151523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:54:41] local.INFO: GPS data processed {"connection_id":151523,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:54:41] local.INFO: Acknowledgment sent {"connection_id":151523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:55:05] local.INFO: TCP Data received {"connection_id":150554,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:05] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:05] local.INFO: IMEI packet received {"connection_id":150554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":150554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:55:06] local.INFO: TCP Data received {"connection_id":150554,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:06] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:06] local.INFO: IMEI packet received {"connection_id":150554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":150554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:55:10] local.INFO: TCP Data received {"connection_id":150554,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:10] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:55:10] local.INFO: IMEI packet received {"connection_id":150554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":150554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:55:12] local.INFO: TCP Data received {"connection_id":150554,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0af4638012cd99fc007354d400017012431..."} 
[2026-08-08 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0af4638012cd99fc007354d400017012431..."} 
[2026-08-08 14:55:12] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0af4638012cd99fc007354d400017012431..."} 
[2026-08-08 14:55:12] local.INFO: Packet analysis {"connection_id":150554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:55:12] local.INFO: Extracted packet for processing {"connection_id":150554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":752459712,"raw_latitude":120933696,"longitude_deg":75.2459712,"latitude_deg":12.0933696,"altitude":23,"angle":292,"satellites":49,"speed":61,"hex_longitude":"2cd99fc0","hex_latitude":"07354d40","is_valid_coordinates":true} 
[2026-08-08 14:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262337280001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375528549970345984,"note":"Value kept but may cause issues"} 
[2026-08-08 14:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2755851097271738368,"note":"Value kept but may cause issues"} 
[2026-08-08 14:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786181011000,"timestamp_ms":1786181011000,"timestamp_seconds":1786181011,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0af4638"} 
[2026-08-08 14:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 14:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262337280001,"66":27995,"163":206,"83":40960,"24":61,"16":375528549970345984,"44":-2755851097271738368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 14:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262337280001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375528549970345984,"km_value":375528549970346.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2755851097271738368,"description":"Unknown IO ID 44"} 
[2026-08-08 14:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262337280001,"power":27995,"unknown_163":206,"unknown_83":40960,"ignition":61,"odometer":null,"unknown_44":-2755851097271738368}} 
[2026-08-08 14:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":150554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:55:12] local.INFO: GPS data processed {"connection_id":150554,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:55:12] local.INFO: Acknowledgment sent {"connection_id":150554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:55:53] local.INFO: TCP Data received {"connection_id":150554,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b07300012cd8070007361c280009012732..."} 
[2026-08-08 14:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b07300012cd8070007361c280009012732..."} 
[2026-08-08 14:55:53] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b07300012cd8070007361c280009012732..."} 
[2026-08-08 14:55:53] local.INFO: Packet analysis {"connection_id":150554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:55:53] local.INFO: Extracted packet for processing {"connection_id":150554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:55:53] local.INFO: GPS Element Parsed {"raw_longitude":752355072,"raw_latitude":120986664,"longitude_deg":75.2355072,"latitude_deg":12.0986664,"altitude":9,"angle":295,"satellites":50,"speed":58,"hex_longitude":"2cd80700","hex_latitude":"07361c28","is_valid_coordinates":true} 
[2026-08-08 14:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262356736001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375534154902667264,"note":"Value kept but may cause issues"} 
[2026-08-08 14:55:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2870129937802936320,"note":"Value kept but may cause issues"} 
[2026-08-08 14:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786181088000,"timestamp_ms":1786181088000,"timestamp_seconds":1786181088,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b07300"} 
[2026-08-08 14:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 14:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":150554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":150554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":150554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262356736001,"66":27908,"164":206,"83":40960,"24":58,"16":375534154902667264,"44":-2870129937802936320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,83,24,16,44]} 
[2026-08-08 14:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262356736001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:55:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 14:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375534154902667264,"km_value":375534154902667.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:55:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2870129937802936320,"description":"Unknown IO ID 44"} 
[2026-08-08 14:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262356736001,"power":27908,"unknown_164":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2870129937802936320}} 
[2026-08-08 14:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":150554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:55:53] local.INFO: GPS data processed {"connection_id":150554,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:55:53] local.INFO: Acknowledgment sent {"connection_id":150554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:56:04] local.INFO: TCP Data received {"connection_id":150303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:04] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:04] local.INFO: IMEI packet received {"connection_id":150303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":150303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:56:06] local.INFO: TCP Data received {"connection_id":150303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:06] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:06] local.INFO: IMEI packet received {"connection_id":150303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":150303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:56:10] local.INFO: TCP Data received {"connection_id":150303,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:10] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:56:10] local.INFO: IMEI packet received {"connection_id":150303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":150303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:56:11] local.INFO: TCP Data received {"connection_id":150303,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b08a70012cd7e6c007362ab00009012530..."} 
[2026-08-08 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b08a70012cd7e6c007362ab00009012530..."} 
[2026-08-08 14:56:11] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b08a70012cd7e6c007362ab00009012530..."} 
[2026-08-08 14:56:11] local.INFO: Packet analysis {"connection_id":150303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:56:11] local.INFO: Extracted packet for processing {"connection_id":150303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":752346816,"raw_latitude":120990384,"longitude_deg":75.2346816,"latitude_deg":12.0990384,"altitude":9,"angle":293,"satellites":48,"speed":59,"hex_longitude":"2cd7e6c0","hex_latitude":"07362ab0","is_valid_coordinates":true} 
[2026-08-08 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262358528001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375534584399396864,"note":"Value kept but may cause issues"} 
[2026-08-08 14:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2880333405707556864,"note":"Value kept but may cause issues"} 
[2026-08-08 14:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181094000,"timestamp_ms":1786181094000,"timestamp_seconds":1786181094,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b08a70"} 
[2026-08-08 14:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:56: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-08-08 14:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262358528001,"66":27876,"164":206,"83":40960,"24":59,"16":375534584399396864,"44":-2880333405707556864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,83,24,16,44]} 
[2026-08-08 14:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262358528001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375534584399396864,"km_value":375534584399396.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2880333405707556864,"description":"Unknown IO ID 44"} 
[2026-08-08 14:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262358528001,"power":27876,"unknown_164":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2880333405707556864}} 
[2026-08-08 14:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":150303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:56:11] local.INFO: GPS data processed {"connection_id":150303,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:56:11] local.INFO: Acknowledgment sent {"connection_id":150303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:56:42] local.INFO: TCP Data received {"connection_id":150303,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b0a1e0012cd7c60007363810000a012432..."} 
[2026-08-08 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b0a1e0012cd7c60007363810000a012432..."} 
[2026-08-08 14:56:42] local.INFO: Processing buffer {"connection_id":150303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b0a1e0012cd7c60007363810000a012432..."} 
[2026-08-08 14:56:42] local.INFO: Packet analysis {"connection_id":150303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:56:42] local.INFO: Extracted packet for processing {"connection_id":150303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":752338432,"raw_latitude":120993808,"longitude_deg":75.2338432,"latitude_deg":12.0993808,"altitude":10,"angle":292,"satellites":50,"speed":59,"hex_longitude":"2cd7c600","hex_latitude":"07363810","is_valid_coordinates":true} 
[2026-08-08 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262360064001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375535013896126464,"note":"Value kept but may cause issues"} 
[2026-08-08 14:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2889410973705523200,"note":"Value kept but may cause issues"} 
[2026-08-08 14:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181100000,"timestamp_ms":1786181100000,"timestamp_seconds":1786181100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b0a1e0"} 
[2026-08-08 14:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 14:56: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-08-08 14:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:56: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-08-08 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262360064001,"66":27908,"164":206,"83":40960,"24":59,"16":375535013896126464,"44":-2889410973705523200},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,83,24,16,44]} 
[2026-08-08 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262360064001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375535013896126464,"km_value":375535013896126.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2889410973705523200,"description":"Unknown IO ID 44"} 
[2026-08-08 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262360064001,"power":27908,"unknown_164":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2889410973705523200}} 
[2026-08-08 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":150303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:56:42] local.INFO: GPS data processed {"connection_id":150303,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:56:42] local.INFO: Acknowledgment sent {"connection_id":150303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:57:04] local.INFO: TCP Data received {"connection_id":153007,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:57:04] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:57:04] local.INFO: IMEI packet received {"connection_id":153007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":153007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:57:10] local.INFO: TCP Data received {"connection_id":153007,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:57:10] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:57:10] local.INFO: IMEI packet received {"connection_id":153007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":153007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:57:11] local.INFO: TCP Data received {"connection_id":153007,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b0bd38012cd7a040073645f0000c012230..."} 
[2026-08-08 14:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b0bd38012cd7a040073645f0000c012230..."} 
[2026-08-08 14:57:11] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b0bd38012cd7a040073645f0000c012230..."} 
[2026-08-08 14:57:11] local.INFO: Packet analysis {"connection_id":153007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:57:11] local.INFO: Extracted packet for processing {"connection_id":153007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:57:11] local.INFO: GPS Element Parsed {"raw_longitude":752328768,"raw_latitude":120997360,"longitude_deg":75.2328768,"latitude_deg":12.099736,"altitude":12,"angle":290,"satellites":48,"speed":56,"hex_longitude":"2cd7a040","hex_latitude":"073645f0","is_valid_coordinates":true} 
[2026-08-08 14:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262361600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375535503522398208,"note":"Value kept but may cause issues"} 
[2026-08-08 14:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2898629279191920640,"note":"Value kept but may cause issues"} 
[2026-08-08 14:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181107000,"timestamp_ms":1786181107000,"timestamp_seconds":1786181107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b0bd38"} 
[2026-08-08 14:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262361600001,"66":27908,"164":206,"83":40960,"24":56,"16":375535503522398208,"44":-2898629279191920640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,83,24,16,44]} 
[2026-08-08 14:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262361600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:57:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 14:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375535503522398208,"km_value":375535503522398.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2898629279191920640,"description":"Unknown IO ID 44"} 
[2026-08-08 14:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262361600001,"power":27908,"unknown_164":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2898629279191920640}} 
[2026-08-08 14:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":153007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:57:11] local.INFO: GPS data processed {"connection_id":153007,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:57:11] local.INFO: Acknowledgment sent {"connection_id":153007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:57:41] local.INFO: TCP Data received {"connection_id":153007,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b0d890012cd77bc007365378000e012230..."} 
[2026-08-08 14:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b0d890012cd77bc007365378000e012230..."} 
[2026-08-08 14:57:41] local.INFO: Processing buffer {"connection_id":153007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b0d890012cd77bc007365378000e012230..."} 
[2026-08-08 14:57:41] local.INFO: Packet analysis {"connection_id":153007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:57:41] local.INFO: Extracted packet for processing {"connection_id":153007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:57:41] local.INFO: GPS Element Parsed {"raw_longitude":752319424,"raw_latitude":121000824,"longitude_deg":75.2319424,"latitude_deg":12.1000824,"altitude":14,"angle":290,"satellites":48,"speed":55,"hex_longitude":"2cd77bc0","hex_latitude":"07365378","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262363392001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375535975968800768,"note":"Value kept but may cause issues"} 
[2026-08-08 14:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2909254959561838592,"note":"Value kept but may cause issues"} 
[2026-08-08 14:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786181114000,"timestamp_ms":1786181114000,"timestamp_seconds":1786181114,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b0d890"} 
[2026-08-08 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-08-08 14:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 14:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262363392001,"66":27821,"164":206,"83":40960,"24":55,"16":375535975968800768,"44":-2909254959561838592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,83,24,16,44]} 
[2026-08-08 14:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262363392001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:57:41] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-08 14:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-08 14:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375535975968800768,"km_value":375535975968800.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2909254959561838592,"description":"Unknown IO ID 44"} 
[2026-08-08 14:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262363392001,"power":27821,"unknown_164":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2909254959561838592}} 
[2026-08-08 14:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":153007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:57:41] local.INFO: GPS data processed {"connection_id":153007,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:57:41] local.INFO: Acknowledgment sent {"connection_id":153007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:58:02] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:02] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:02] local.INFO: IMEI packet received {"connection_id":153008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":153008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:58:04] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:58:04] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:58:04] local.INFO: IMEI packet received {"connection_id":150555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":150555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:58:04] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:04] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:04] local.INFO: IMEI packet received {"connection_id":153008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":153008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:58:07] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:07] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:58:07] local.INFO: IMEI packet received {"connection_id":153008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":153008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:58:08] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0aff9e8012d18724007220bb80056000726..."} 
[2026-08-08 14:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0aff9e8012d18724007220bb80056000726..."} 
[2026-08-08 14:58:08] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0aff9e8012d18724007220bb80056000726..."} 
[2026-08-08 14:58:08] local.INFO: Packet analysis {"connection_id":153008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:58:08] local.INFO: Extracted packet for processing {"connection_id":153008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0af"} 
[2026-08-08 14:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262345216001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786181057000,"timestamp_ms":1786181057000,"timestamp_seconds":1786181057,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0aff9e8"} 
[2026-08-08 14:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 14:58: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-08-08 14: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-08-08 14:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262345216001,"66":12863,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262345216001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:58:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 14:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262345216001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 14:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":153008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:58:08] local.INFO: GPS data processed {"connection_id":153008,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:58:08] local.INFO: Acknowledgment sent {"connection_id":153008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:58:10] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:58:10] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:58:10] local.INFO: IMEI packet received {"connection_id":150555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":150555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:58:10] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b25378012cd640c007373250000901492a..."} 
[2026-08-08 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b25378012cd640c007373250000901492a..."} 
[2026-08-08 14:58:10] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b25378012cd640c007373250000901492a..."} 
[2026-08-08 14:58:10] local.INFO: Packet analysis {"connection_id":150555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 14:58:10] local.INFO: Extracted packet for processing {"connection_id":150555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 14:58:10] local.INFO: GPS Element Parsed {"raw_longitude":752238784,"raw_latitude":121057872,"longitude_deg":75.2238784,"latitude_deg":12.1057872,"altitude":9,"angle":329,"satellites":42,"speed":26,"hex_longitude":"2cd640c0","hex_latitude":"07373250","is_valid_coordinates":true} 
[2026-08-08 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-08-08 14:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262387200001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375540760562368512,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3002915758048409600,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58: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-08-08 14:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786181211000,"timestamp_ms":1786181211000,"timestamp_seconds":1786181211,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b25378"} 
[2026-08-08 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-08-08 14:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-08 14:58:10] 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-08-08 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-08-08 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-08-08 14:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262387200001,"66":27908,"170":206,"83":43264,"24":26,"16":375540760562368512,"44":-3002915758048409600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-08 14:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262387200001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:58:10] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-08 14:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 14:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375540760562368512,"km_value":375540760562368.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3002915758048409600,"description":"Unknown IO ID 44"} 
[2026-08-08 14:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262387200001,"power":27908,"unknown_170":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3002915758048409600}} 
[2026-08-08 14:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":150555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:58:10] local.INFO: GPS data processed {"connection_id":150555,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:58:10] local.INFO: Acknowledgment sent {"connection_id":150555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:58:39] local.INFO: TCP Data received {"connection_id":153008,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b04bf0012d18724007220bb80056000729..."} 
[2026-08-08 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b04bf0012d18724007220bb80056000729..."} 
[2026-08-08 14:58:39] local.INFO: Processing buffer {"connection_id":153008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b04bf0012d18724007220bb80056000729..."} 
[2026-08-08 14:58:39] local.INFO: Packet analysis {"connection_id":153008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:58:39] local.INFO: Extracted packet for processing {"connection_id":153008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 14:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262350592001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786181078000,"timestamp_ms":1786181078000,"timestamp_seconds":1786181078,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b04bf0"} 
[2026-08-08 14:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:58: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-08-08 14:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-08 14:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262350592001,"66":12841,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262350592001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:58:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 14:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262350592001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 14:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":153008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:58:39] local.INFO: GPS data processed {"connection_id":153008,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:58:39] local.INFO: Acknowledgment sent {"connection_id":153008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:58:42] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b28a28012cd62fc007375158000c014828..."} 
[2026-08-08 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b28a28012cd62fc007375158000c014828..."} 
[2026-08-08 14:58:42] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b28a28012cd62fc007375158000c014828..."} 
[2026-08-08 14:58:42] local.INFO: Packet analysis {"connection_id":150555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 14:58:42] local.INFO: Extracted packet for processing {"connection_id":150555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":752234432,"raw_latitude":121065816,"longitude_deg":75.2234432,"latitude_deg":12.1065816,"altitude":12,"angle":328,"satellites":40,"speed":24,"hex_longitude":"2cd62fc0","hex_latitude":"07375158","is_valid_coordinates":true} 
[2026-08-08 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262390016001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375541198649032704,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3008193413860143104,"note":"Value kept but may cause issues"} 
[2026-08-08 14:58:42] 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-08-08 14:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181225000,"timestamp_ms":1786181225000,"timestamp_seconds":1786181225,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b28a28"} 
[2026-08-08 14:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 14:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:58: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-08-08 14:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262390016001,"66":27767,"170":206,"83":43264,"24":24,"16":375541198649032704,"44":-3008193413860143104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-08 14:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262390016001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 14:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375541198649032704,"km_value":375541198649032.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3008193413860143104,"description":"Unknown IO ID 44"} 
[2026-08-08 14:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262390016001,"power":27767,"unknown_170":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3008193413860143104}} 
[2026-08-08 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":150555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:58:42] local.INFO: GPS data processed {"connection_id":150555,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:58:42] local.INFO: Acknowledgment sent {"connection_id":150555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:59:02] local.INFO: TCP Data received {"connection_id":150305,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:59:02] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:59:02] local.INFO: IMEI packet received {"connection_id":150305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 14:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":150305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:59:07] local.INFO: TCP Data received {"connection_id":150305,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:59:07] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 14:59:07] local.INFO: IMEI packet received {"connection_id":150305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 14:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":150305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:59:08] local.INFO: TCP Data received {"connection_id":150305,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b09df8012d18724007220bb80056000729..."} 
[2026-08-08 14:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b09df8012d18724007220bb80056000729..."} 
[2026-08-08 14:59:08] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b09df8012d18724007220bb80056000729..."} 
[2026-08-08 14:59:08] local.INFO: Packet analysis {"connection_id":150305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:59:08] local.INFO: Extracted packet for processing {"connection_id":150305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 14: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-08-08 14:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262355968001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 14:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786181099000,"timestamp_ms":1786181099000,"timestamp_seconds":1786181099,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b09df8"} 
[2026-08-08 14:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 14:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14: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-08-08 14:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262355968001,"66":12798,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262355968001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:59:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 14:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262355968001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 14:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":150305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:59:08] local.INFO: GPS data processed {"connection_id":150305,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:59:08] local.INFO: Acknowledgment sent {"connection_id":150305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:59:15] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:15] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:15] local.INFO: IMEI packet received {"connection_id":151525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 14:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":151525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 14:59:18] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:18] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:18] local.INFO: IMEI packet received {"connection_id":151525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":151525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:59:19] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:19] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 14:59:19] local.INFO: IMEI packet received {"connection_id":151525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 14:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":151525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 14:59:20] local.INFO: TCP Data received {"connection_id":151525,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b2dc30012cd6298007375dc0000b014a2f..."} 
[2026-08-08 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b2dc30012cd6298007375dc0000b014a2f..."} 
[2026-08-08 14:59:20] local.INFO: Processing buffer {"connection_id":151525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b2dc30012cd6298007375dc0000b014a2f..."} 
[2026-08-08 14:59:20] local.INFO: Packet analysis {"connection_id":151525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 14:59:20] local.INFO: Extracted packet for processing {"connection_id":151525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 14:59:20] local.INFO: GPS Element Parsed {"raw_longitude":752232832,"raw_latitude":121068992,"longitude_deg":75.2232832,"latitude_deg":12.1068992,"altitude":11,"angle":330,"satellites":47,"speed":0,"hex_longitude":"2cd62980","hex_latitude":"07375dc0","is_valid_coordinates":true} 
[2026-08-08 14:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262393600001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375541374742691840,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3012978488462190592,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:20] 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-08-08 14:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786181246000,"timestamp_ms":1786181246000,"timestamp_seconds":1786181246,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b2dc30"} 
[2026-08-08 14:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 14:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 14:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 14:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 14:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 14:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262393600001,"66":27865,"170":206,"83":43264,"24":0,"16":375541374742691840,"44":-3012978488462190592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-08 14:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 14:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 14:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262393600001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:59:20] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-08 14:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 14:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375541374742691840,"km_value":375541374742691.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3012978488462190592,"description":"Unknown IO ID 44"} 
[2026-08-08 14:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262393600001,"power":27865,"unknown_170":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3012978488462190592}} 
[2026-08-08 14:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":151525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:59:20] local.INFO: GPS data processed {"connection_id":151525,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:59:20] local.INFO: Acknowledgment sent {"connection_id":151525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 14:59:38] local.INFO: TCP Data received {"connection_id":150305,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b0f000012d18724007220bb8005600072a..."} 
[2026-08-08 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b0f000012d18724007220bb8005600072a..."} 
[2026-08-08 14:59:38] local.INFO: Processing buffer {"connection_id":150305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b0f000012d18724007220bb8005600072a..."} 
[2026-08-08 14:59:38] local.INFO: Packet analysis {"connection_id":150305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:59:38] local.INFO: Extracted packet for processing {"connection_id":150305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b0"} 
[2026-08-08 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 14:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 14:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262361344001,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 14:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 14: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-08-08 14:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786181120000,"timestamp_ms":1786181120000,"timestamp_seconds":1786181120,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b0f000"} 
[2026-08-08 14:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 14:59: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-08-08 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-08 14:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 14:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 14:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 14:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 14:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 14:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 14:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 14:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 14:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 14:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262361344001,"66":12765,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 14:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 14:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 14:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262361344001,"description":"Unknown IO ID 0"} 
[2026-08-08 14:59:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 14:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 14:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 14:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 14:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262361344001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 14:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":150305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 14:59:39] local.INFO: GPS data processed {"connection_id":150305,"processed":1,"errors":0,"total":1} 
[2026-08-08 14:59:39] local.INFO: Acknowledgment sent {"connection_id":150305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:00:07] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:00:07] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:00:07] local.INFO: IMEI packet received {"connection_id":153009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":153009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:00:10] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:00:10] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:00:10] local.INFO: IMEI packet received {"connection_id":153009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":153009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:00:10] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:00:10] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:00:10] local.INFO: IMEI packet received {"connection_id":153010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":153010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:00:10] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b14208012d18724007220bb80056000729..."} 
[2026-08-08 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b14208012d18724007220bb80056000729..."} 
[2026-08-08 15:00:10] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b14208012d18724007220bb80056000729..."} 
[2026-08-08 15:00:10] local.INFO: Packet analysis {"connection_id":153009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b1"} 
[2026-08-08 15:00:10] local.INFO: Extracted packet for processing {"connection_id":153009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b1"} 
[2026-08-08 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262366720001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786181141000,"timestamp_ms":1786181141000,"timestamp_seconds":1786181141,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b14208"} 
[2026-08-08 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-08-08 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-08 15:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262366720001,"66":12711,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262366720001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:00:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262366720001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 15:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":153009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:00:11] local.INFO: GPS data processed {"connection_id":153009,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:00:11] local.INFO: Acknowledgment sent {"connection_id":153009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:00:12] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b19410012d18724007220bb8005600072b..."} 
[2026-08-08 15:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b19410012d18724007220bb8005600072b..."} 
[2026-08-08 15:00:12] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b19410012d18724007220bb8005600072b..."} 
[2026-08-08 15:00:12] local.INFO: Packet analysis {"connection_id":153009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b1"} 
[2026-08-08 15:00:12] local.INFO: Extracted packet for processing {"connection_id":153009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b1"} 
[2026-08-08 15:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262372096001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786181162000,"timestamp_ms":1786181162000,"timestamp_seconds":1786181162,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b19410"} 
[2026-08-08 15:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 15:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262372096001,"66":12645,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262372096001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:00:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262372096001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 15:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":153009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:00:12] local.INFO: GPS data processed {"connection_id":153009,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:00:12] local.INFO: Acknowledgment sent {"connection_id":153009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:00:15] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:00:15] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:00:15] local.INFO: IMEI packet received {"connection_id":153010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":153010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:00:15] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b32e38012cd6224007376858000c014230..."} 
[2026-08-08 15:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b32e38012cd6224007376858000c014230..."} 
[2026-08-08 15:00:15] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b32e38012cd6224007376858000c014230..."} 
[2026-08-08 15:00:15] local.INFO: Packet analysis {"connection_id":153010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b3"} 
[2026-08-08 15:00:15] local.INFO: Extracted packet for processing {"connection_id":153010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b3"} 
[2026-08-08 15:00:15] local.INFO: GPS Element Parsed {"raw_longitude":752230976,"raw_latitude":121071704,"longitude_deg":75.2230976,"latitude_deg":12.1071704,"altitude":12,"angle":322,"satellites":48,"speed":0,"hex_longitude":"2cd62240","hex_latitude":"07376858","is_valid_coordinates":true} 
[2026-08-08 15:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262398976001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375541533656481792,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3014737707065819136,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:15] 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-08-08 15:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786181267000,"timestamp_ms":1786181267000,"timestamp_seconds":1786181267,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b32e38"} 
[2026-08-08 15:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 15:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:00: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-08-08 15:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262398976001,"66":27908,"170":206,"83":43264,"24":0,"16":375541533656481792,"44":-3014737707065819136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-08 15:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262398976001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:00:15] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-08 15:00:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375541533656481792,"km_value":375541533656481.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3014737707065819136,"description":"Unknown IO ID 44"} 
[2026-08-08 15:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262398976001,"power":27908,"unknown_170":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3014737707065819136}} 
[2026-08-08 15:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":153010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:00:15] local.INFO: GPS data processed {"connection_id":153010,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:00:15] local.INFO: Acknowledgment sent {"connection_id":153010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:00:20] local.INFO: TCP Data received {"connection_id":153010,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b38040012cd618c007377308000c013f33..."} 
[2026-08-08 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b38040012cd618c007377308000c013f33..."} 
[2026-08-08 15:00:20] local.INFO: Processing buffer {"connection_id":153010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b38040012cd618c007377308000c013f33..."} 
[2026-08-08 15:00:20] local.INFO: Packet analysis {"connection_id":153010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b3"} 
[2026-08-08 15:00:20] local.INFO: Extracted packet for processing {"connection_id":153010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b3"} 
[2026-08-08 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":752228544,"raw_latitude":121074440,"longitude_deg":75.2228544,"latitude_deg":12.107444,"altitude":12,"angle":319,"satellites":51,"speed":13,"hex_longitude":"2cd618c0","hex_latitude":"07377308","is_valid_coordinates":true} 
[2026-08-08 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262404352001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375541714045108224,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3016778400646277120,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:20] 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-08-08 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786181288000,"timestamp_ms":1786181288000,"timestamp_seconds":1786181288,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b38040"} 
[2026-08-08 15:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 15:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262404352001,"66":27865,"170":206,"83":43264,"24":13,"16":375541714045108224,"44":-3016778400646277120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-08-08 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262404352001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:00:20] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-08 15:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375541714045108224,"km_value":375541714045108.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3016778400646277120,"description":"Unknown IO ID 44"} 
[2026-08-08 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262404352001,"power":27865,"unknown_170":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3016778400646277120}} 
[2026-08-08 15:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":153010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:00:20] local.INFO: GPS data processed {"connection_id":153010,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:00:20] local.INFO: Acknowledgment sent {"connection_id":153010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:00:43] local.INFO: TCP Data received {"connection_id":153009,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b1e618012d18724007220bb8005600072b..."} 
[2026-08-08 15:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b1e618012d18724007220bb8005600072b..."} 
[2026-08-08 15:00:43] local.INFO: Processing buffer {"connection_id":153009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b1e618012d18724007220bb8005600072b..."} 
[2026-08-08 15:00:43] local.INFO: Packet analysis {"connection_id":153009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b1"} 
[2026-08-08 15:00:43] local.INFO: Extracted packet for processing {"connection_id":153009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b1"} 
[2026-08-08 15:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 15:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262377472001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786181183000,"timestamp_ms":1786181183000,"timestamp_seconds":1786181183,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b1e618"} 
[2026-08-08 15:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-08 15:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262377472001,"66":12558,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262377472001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:00:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:00:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262377472001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 15:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":153009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:00:43] local.INFO: GPS data processed {"connection_id":153009,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:00:43] local.INFO: Acknowledgment sent {"connection_id":153009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:01:02] local.INFO: TCP Data received {"connection_id":150306,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:01:02] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:01:02] local.INFO: IMEI packet received {"connection_id":150306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":150306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:01:05] local.INFO: TCP Data received {"connection_id":150307,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:01:05] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:01:05] local.INFO: IMEI packet received {"connection_id":150307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":150307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:01:07] local.INFO: TCP Data received {"connection_id":150306,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:01:07] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:01:07] local.INFO: IMEI packet received {"connection_id":150306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":150306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:01:07] local.INFO: TCP Data received {"connection_id":150306,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b23820012d18724007220bb80056000729..."} 
[2026-08-08 15:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b23820012d18724007220bb80056000729..."} 
[2026-08-08 15:01:07] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b23820012d18724007220bb80056000729..."} 
[2026-08-08 15:01:07] local.INFO: Packet analysis {"connection_id":150306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 15:01:07] local.INFO: Extracted packet for processing {"connection_id":150306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b2"} 
[2026-08-08 15:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":41,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262382848001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786181204000,"timestamp_ms":1786181204000,"timestamp_seconds":1786181204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b23820"} 
[2026-08-08 15:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:01: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-08-08 15:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3769629160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249472750470958008,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2963142657,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3614244864,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,215,159,148,45,64,11,86,43,10,66,41,240,1,221,227,224,34,4,113,205,75,114,184,239,50,2,40,7,106,81,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 15:01:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6196960968526790656,"timestamp_seconds":6196960968526791.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262382848001,"66":12591,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262382848001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262382848001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 15:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":150306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:01:08] local.INFO: GPS data processed {"connection_id":150306,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:01:08] local.INFO: Acknowledgment sent {"connection_id":150306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:01:10] local.INFO: TCP Data received {"connection_id":150307,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:01:10] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:01:10] local.INFO: IMEI packet received {"connection_id":150307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":150307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:01:11] local.INFO: TCP Data received {"connection_id":150307,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b56c70012cd525000737b008001000f92f..."} 
[2026-08-08 15:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b56c70012cd525000737b008001000f92f..."} 
[2026-08-08 15:01:11] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b56c70012cd525000737b008001000f92f..."} 
[2026-08-08 15:01:11] local.INFO: Packet analysis {"connection_id":150307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:11] local.INFO: Extracted packet for processing {"connection_id":150307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:11] local.INFO: GPS Element Parsed {"raw_longitude":752166144,"raw_latitude":121090056,"longitude_deg":75.2166144,"latitude_deg":12.1090056,"altitude":16,"angle":249,"satellites":47,"speed":27,"hex_longitude":"2cd52500","hex_latitude":"0737b008","is_valid_coordinates":true} 
[2026-08-08 15:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262439168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545248803192832,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3078421420540362752,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181414000,"timestamp_ms":1786181414000,"timestamp_seconds":1786181414,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b56c70"} 
[2026-08-08 15:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 15:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:01: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-08-08 15:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262439168001,"66":28050,"89":206,"83":43264,"24":27,"16":375545248803192832,"44":-3078421420540362752},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262439168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:01:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545248803192832,"km_value":375545248803192.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3078421420540362752,"description":"Unknown IO ID 44"} 
[2026-08-08 15:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262439168001,"power":28050,"unknown_89":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3078421420540362752}} 
[2026-08-08 15:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":150307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:01:11] local.INFO: GPS data processed {"connection_id":150307,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:01:11] local.INFO: Acknowledgment sent {"connection_id":150307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:01:15] local.INFO: TCP Data received {"connection_id":150307,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b57c10012cd51e800737ad70000f00ea2f..."} 
[2026-08-08 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b57c10012cd51e800737ad70000f00ea2f..."} 
[2026-08-08 15:01:15] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b57c10012cd51e800737ad70000f00ea2f..."} 
[2026-08-08 15:01:15] local.INFO: Packet analysis {"connection_id":150307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:15] local.INFO: Extracted packet for processing {"connection_id":150307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":752164480,"raw_latitude":121089392,"longitude_deg":75.216448,"latitude_deg":12.1089392,"altitude":15,"angle":234,"satellites":47,"speed":8,"hex_longitude":"2cd51e80","hex_latitude":"0737ad70","is_valid_coordinates":true} 
[2026-08-08 15:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262441984001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545334702538752,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088061938493552640,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786181418000,"timestamp_ms":1786181418000,"timestamp_seconds":1786181418,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b57c10"} 
[2026-08-08 15:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 15:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:01: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-08-08 15:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262441984001,"66":27865,"89":206,"83":43264,"24":8,"16":375545334702538752,"44":-3088061938493552640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262441984001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:01:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545334702538752,"km_value":375545334702538.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088061938493552640,"description":"Unknown IO ID 44"} 
[2026-08-08 15:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262441984001,"power":27865,"unknown_89":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3088061938493552640}} 
[2026-08-08 15:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":150307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:01:16] local.INFO: GPS data processed {"connection_id":150307,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:01:16] local.INFO: Acknowledgment sent {"connection_id":150307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:01:38] local.INFO: TCP Data received {"connection_id":150306,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b5be78012d18724007220bb80056000726..."} 
[2026-08-08 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b5be78012d18724007220bb80056000726..."} 
[2026-08-08 15:01:38] local.INFO: Processing buffer {"connection_id":150306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b5be78012d18724007220bb80056000726..."} 
[2026-08-08 15:01:38] local.INFO: Packet analysis {"connection_id":150306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:38] local.INFO: Extracted packet for processing {"connection_id":150306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262447360001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786181435000,"timestamp_ms":1786181435000,"timestamp_seconds":1786181435,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b5be78"} 
[2026-08-08 15:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:01: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-08-08 15:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-08 15:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262447360001,"66":2709,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262447360001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262447360001,"power":2709,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 15:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":150306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:01:38] local.INFO: GPS data processed {"connection_id":150306,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:01:38] local.INFO: Acknowledgment sent {"connection_id":150306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:01:47] local.INFO: TCP Data received {"connection_id":150307,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b587c8012cd51d000737ac98000f00f62d..."} 
[2026-08-08 15:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b587c8012cd51d000737ac98000f00f62d..."} 
[2026-08-08 15:01:47] local.INFO: Processing buffer {"connection_id":150307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b587c8012cd51d000737ac98000f00f62d..."} 
[2026-08-08 15:01:47] local.INFO: Packet analysis {"connection_id":150307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:47] local.INFO: Extracted packet for processing {"connection_id":150307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":752164096,"raw_latitude":121089176,"longitude_deg":75.2164096,"latitude_deg":12.1089176,"altitude":15,"angle":246,"satellites":45,"speed":5,"hex_longitude":"2cd51d00","hex_latitude":"0737ac98","is_valid_coordinates":true} 
[2026-08-08 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262443008001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545356177375232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089891525842341888,"note":"Value kept but may cause issues"} 
[2026-08-08 15:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786181421000,"timestamp_ms":1786181421000,"timestamp_seconds":1786181421,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b587c8"} 
[2026-08-08 15:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 15:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262443008001,"66":28050,"89":206,"83":43264,"24":5,"16":375545356177375232,"44":-3089891525842341888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262443008001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:01:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545356177375232,"km_value":375545356177375.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089891525842341888,"description":"Unknown IO ID 44"} 
[2026-08-08 15:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262443008001,"power":28050,"unknown_89":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3089891525842341888}} 
[2026-08-08 15:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":150307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:01:47] local.INFO: GPS data processed {"connection_id":150307,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:01:47] local.INFO: Acknowledgment sent {"connection_id":150307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:02:01] local.INFO: TCP Data received {"connection_id":150556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:01] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:01] local.INFO: IMEI packet received {"connection_id":150556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":150556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:02:02] local.INFO: TCP Data received {"connection_id":150557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:02] local.INFO: Processing buffer {"connection_id":150557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:02] local.INFO: IMEI packet received {"connection_id":150557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":150557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:02:02] local.INFO: TCP Data received {"connection_id":150556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:02] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:02] local.INFO: IMEI packet received {"connection_id":150556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":150556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:02:05] local.INFO: TCP Data received {"connection_id":150557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:05] local.INFO: Processing buffer {"connection_id":150557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:05] local.INFO: IMEI packet received {"connection_id":150557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":150557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:02:07] local.INFO: TCP Data received {"connection_id":150556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:07] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:02:07] local.INFO: IMEI packet received {"connection_id":150556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":150556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:02:08] local.INFO: TCP Data received {"connection_id":150556,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b5be78012d18724007220bb80056000726..."} 
[2026-08-08 15:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b5be78012d18724007220bb80056000726..."} 
[2026-08-08 15:02:08] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b5be78012d18724007220bb80056000726..."} 
[2026-08-08 15:02:08] local.INFO: Packet analysis {"connection_id":150556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:02:08] local.INFO: Extracted packet for processing {"connection_id":150556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671736,"longitude_deg":75.6576832,"latitude_deg":11.9671736,"altitude":86,"angle":7,"satellites":38,"speed":0,"hex_longitude":"2d187240","hex_latitude":"07220bb8","is_valid_coordinates":true} 
[2026-08-08 15:02: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-08-08 15:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262447360001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11495862219833344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635427328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786181435000,"timestamp_ms":1786181435000,"timestamp_seconds":1786181435,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b5be78"} 
[2026-08-08 15:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-08 15:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262447360001,"66":2709,"105":206,"83":41984,"24":0,"16":11495862219833344,"45":1761540803635427328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262447360001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:02:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11495862219833344,"km_value":11495862219833.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635427328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262447360001,"power":2709,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761540803635427328}} 
[2026-08-08 15:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":150556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:02:08] local.INFO: GPS data processed {"connection_id":150556,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:02:08] local.INFO: Acknowledgment sent {"connection_id":150556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:02:10] local.INFO: TCP Data received {"connection_id":150557,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:10] local.INFO: Processing buffer {"connection_id":150557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:02:10] local.INFO: IMEI packet received {"connection_id":150557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":150557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:02:11] local.INFO: TCP Data received {"connection_id":150557,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b5d9d0012cd519400737ab10000e00f631..."} 
[2026-08-08 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b5d9d0012cd519400737ab10000e00f631..."} 
[2026-08-08 15:02:11] local.INFO: Processing buffer {"connection_id":150557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b5d9d0012cd519400737ab10000e00f631..."} 
[2026-08-08 15:02:11] local.INFO: Packet analysis {"connection_id":150557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:02:11] local.INFO: Extracted packet for processing {"connection_id":150557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b5"} 
[2026-08-08 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":752163136,"raw_latitude":121088784,"longitude_deg":75.2163136,"latitude_deg":12.1088784,"altitude":14,"angle":246,"satellites":49,"speed":3,"hex_longitude":"2cd51940","hex_latitude":"0737ab10","is_valid_coordinates":true} 
[2026-08-08 15:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262443776001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545407716982784,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090313738307463168,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181442000,"timestamp_ms":1786181442000,"timestamp_seconds":1786181442,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b5d9d0"} 
[2026-08-08 15:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 15:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:02: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-08-08 15:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262443776001,"66":27919,"89":206,"83":43264,"24":3,"16":375545407716982784,"44":-3090313738307463168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262443776001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:02:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:02:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545407716982784,"km_value":375545407716982.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090313738307463168,"description":"Unknown IO ID 44"} 
[2026-08-08 15:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262443776001,"power":27919,"unknown_89":206,"unknown_83":43264,"ignition":3,"odometer":null,"unknown_44":-3090313738307463168}} 
[2026-08-08 15:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":150557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:02:11] local.INFO: GPS data processed {"connection_id":150557,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:02:11] local.INFO: Acknowledgment sent {"connection_id":150557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:02:39] local.INFO: TCP Data received {"connection_id":150556,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b6dba0012d18708007220238005200d728..."} 
[2026-08-08 15:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b6dba0012d18708007220238005200d728..."} 
[2026-08-08 15:02:39] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b6dba0012d18708007220238005200d728..."} 
[2026-08-08 15:02:39] local.INFO: Packet analysis {"connection_id":150556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:02:39] local.INFO: Extracted packet for processing {"connection_id":150556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119669304,"longitude_deg":75.6576384,"latitude_deg":11.9669304,"altitude":82,"angle":215,"satellites":40,"speed":7,"hex_longitude":"2d187080","hex_latitude":"07220238","is_valid_coordinates":true} 
[2026-08-08 15:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262465536001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496008248721408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761188959914006528,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786181508000,"timestamp_ms":1786181508000,"timestamp_seconds":1786181508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b6dba0"} 
[2026-08-08 15:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:02: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-08-08 15:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 15:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262465536001,"66":13993,"105":206,"83":41984,"24":7,"16":11496008248721408,"45":1761188959914006528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262465536001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496008248721408,"km_value":11496008248721.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761188959914006528,"description":"Unknown IO ID 45"} 
[2026-08-08 15:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262465536001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1761188959914006528}} 
[2026-08-08 15:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":150556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:02:39] local.INFO: GPS data processed {"connection_id":150556,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:02:39] local.INFO: Acknowledgment sent {"connection_id":150556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:02:56] local.INFO: TCP Data received {"connection_id":150557,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b62bd8012cd511800737a708001000f730..."} 
[2026-08-08 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b62bd8012cd511800737a708001000f730..."} 
[2026-08-08 15:02:56] local.INFO: Processing buffer {"connection_id":150557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b62bd8012cd511800737a708001000f730..."} 
[2026-08-08 15:02:56] local.INFO: Packet analysis {"connection_id":150557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:02:56] local.INFO: Extracted packet for processing {"connection_id":150557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":752161152,"raw_latitude":121087752,"longitude_deg":75.2161152,"latitude_deg":12.1087752,"altitude":16,"angle":247,"satellites":48,"speed":0,"hex_longitude":"2cd51180","hex_latitude":"0737a708","is_valid_coordinates":true} 
[2026-08-08 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262449152001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545515091165184,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091369269470228480,"note":"Value kept but may cause issues"} 
[2026-08-08 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786181463000,"timestamp_ms":1786181463000,"timestamp_seconds":1786181463,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b62bd8"} 
[2026-08-08 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 15:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262449152001,"66":27995,"89":206,"83":43264,"24":0,"16":375545515091165184,"44":-3091369269470228480},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262449152001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:02:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545515091165184,"km_value":375545515091165.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091369269470228480,"description":"Unknown IO ID 44"} 
[2026-08-08 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262449152001,"power":27995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3091369269470228480}} 
[2026-08-08 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":150557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:02:56] local.INFO: GPS data processed {"connection_id":150557,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:02:56] local.INFO: Acknowledgment sent {"connection_id":150557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:03:02] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:03:02] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:03:02] local.INFO: IMEI packet received {"connection_id":150308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":150308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:03:04] local.INFO: TCP Data received {"connection_id":150309,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:04] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:04] local.INFO: IMEI packet received {"connection_id":150309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":150309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:03:04] local.INFO: TCP Data received {"connection_id":150309,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:04] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:04] local.INFO: IMEI packet received {"connection_id":150309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":150309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:03:07] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:03:07] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:03:07] local.INFO: IMEI packet received {"connection_id":150308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":150308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:03:08] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b6e370012d186f4007220118005200e725..."} 
[2026-08-08 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b6e370012d186f4007220118005200e725..."} 
[2026-08-08 15:03:08] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b6e370012d186f4007220118005200e725..."} 
[2026-08-08 15:03:08] local.INFO: Packet analysis {"connection_id":150308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:08] local.INFO: Extracted packet for processing {"connection_id":150308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119669016,"longitude_deg":75.6576064,"latitude_deg":11.9669016,"altitude":82,"angle":231,"satellites":37,"speed":9,"hex_longitude":"2d186f40","hex_latitude":"07220118","is_valid_coordinates":true} 
[2026-08-08 15:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262466048001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496025428590592,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222425561088,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786181510000,"timestamp_ms":1786181510000,"timestamp_seconds":1786181510,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b6e370"} 
[2026-08-08 15:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262466048001,"66":14102,"105":206,"83":41984,"24":9,"16":11496025428590592,"45":1761048222425561088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262466048001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496025428590592,"km_value":11496025428590.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222425561088,"description":"Unknown IO ID 45"} 
[2026-08-08 15:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262466048001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1761048222425561088}} 
[2026-08-08 15:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":150308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:03:08] local.INFO: GPS data processed {"connection_id":150308,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:03:08] local.INFO: Acknowledgment sent {"connection_id":150308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:03:10] local.INFO: TCP Data received {"connection_id":150309,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:10] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:03:10] local.INFO: IMEI packet received {"connection_id":150309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":150309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:03:13] local.INFO: TCP Data received {"connection_id":150309,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b67de0012cd502c00737a1f8000f00f82f..."} 
[2026-08-08 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b67de0012cd502c00737a1f8000f00f82f..."} 
[2026-08-08 15:03:13] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b67de0012cd502c00737a1f8000f00f82f..."} 
[2026-08-08 15:03:13] local.INFO: Packet analysis {"connection_id":150309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:13] local.INFO: Extracted packet for processing {"connection_id":150309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:13] local.INFO: GPS Element Parsed {"raw_longitude":752157376,"raw_latitude":121086456,"longitude_deg":75.2157376,"latitude_deg":12.1086456,"altitude":15,"angle":248,"satellites":47,"speed":0,"hex_longitude":"2cd502c0","hex_latitude":"0737a1f8","is_valid_coordinates":true} 
[2026-08-08 15:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262454528001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545708364693504,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3093550700540000256,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786181484000,"timestamp_ms":1786181484000,"timestamp_seconds":1786181484,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b67de0"} 
[2026-08-08 15:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 15:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262454528001,"66":27930,"89":206,"83":43264,"24":0,"16":375545708364693504,"44":-3093550700540000256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262454528001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:03:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545708364693504,"km_value":375545708364693.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3093550700540000256,"description":"Unknown IO ID 44"} 
[2026-08-08 15:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262454528001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3093550700540000256}} 
[2026-08-08 15:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":150309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:03:13] local.INFO: GPS data processed {"connection_id":150309,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:03:13] local.INFO: Acknowledgment sent {"connection_id":150309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:03:39] local.INFO: TCP Data received {"connection_id":150308,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b6ef28012d186b800721ff20005100f923..."} 
[2026-08-08 15:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b6ef28012d186b800721ff20005100f923..."} 
[2026-08-08 15:03:39] local.INFO: Processing buffer {"connection_id":150308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b6ef28012d186b800721ff20005100f923..."} 
[2026-08-08 15:03:39] local.INFO: Packet analysis {"connection_id":150308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:39] local.INFO: Extracted packet for processing {"connection_id":150308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756575104,"raw_latitude":119668512,"longitude_deg":75.6575104,"latitude_deg":11.9668512,"altitude":81,"angle":249,"satellites":35,"speed":19,"hex_longitude":"2d186b80","hex_latitude":"0721ff20","is_valid_coordinates":true} 
[2026-08-08 15:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262466560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11496081263165440,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378704599040,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786181513000,"timestamp_ms":1786181513000,"timestamp_seconds":1786181513,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b6ef28"} 
[2026-08-08 15:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:03: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-08-08 15:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 15:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262466560001,"66":14135,"105":206,"83":41984,"24":19,"16":11496081263165440,"45":1760696378704599040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262466560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:03:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11496081263165440,"km_value":11496081263165.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378704599040,"description":"Unknown IO ID 45"} 
[2026-08-08 15:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262466560001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1760696378704599040}} 
[2026-08-08 15:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":150308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:03:39] local.INFO: GPS data processed {"connection_id":150308,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:03:39] local.INFO: Acknowledgment sent {"connection_id":150308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:03:45] local.INFO: TCP Data received {"connection_id":150309,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b6cfe8012cd4fe400737a010000e00f930..."} 
[2026-08-08 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b6cfe8012cd4fe400737a010000e00f930..."} 
[2026-08-08 15:03:45] local.INFO: Processing buffer {"connection_id":150309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b6cfe8012cd4fe400737a010000e00f930..."} 
[2026-08-08 15:03:45] local.INFO: Packet analysis {"connection_id":150309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:45] local.INFO: Extracted packet for processing {"connection_id":150309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:03:45] local.INFO: GPS Element Parsed {"raw_longitude":752156224,"raw_latitude":121085968,"longitude_deg":75.2156224,"latitude_deg":12.1085968,"altitude":14,"angle":249,"satellites":48,"speed":6,"hex_longitude":"2cd4fe40","hex_latitude":"0737a010","is_valid_coordinates":true} 
[2026-08-08 15:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262459904001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545768494235648,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3097702456446814208,"note":"Value kept but may cause issues"} 
[2026-08-08 15:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786181505000,"timestamp_ms":1786181505000,"timestamp_seconds":1786181505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b6cfe8"} 
[2026-08-08 15:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 15:03: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-08-08 15:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262459904001,"66":28006,"89":206,"83":43264,"24":6,"16":375545768494235648,"44":-3097702456446814208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262459904001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:03:45] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545768494235648,"km_value":375545768494235.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:03:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3097702456446814208,"description":"Unknown IO ID 44"} 
[2026-08-08 15:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262459904001,"power":28006,"unknown_89":206,"unknown_83":43264,"ignition":6,"odometer":null,"unknown_44":-3097702456446814208}} 
[2026-08-08 15:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":150309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:03:45] local.INFO: GPS data processed {"connection_id":150309,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:03:45] local.INFO: Acknowledgment sent {"connection_id":150309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:04:02] local.INFO: TCP Data received {"connection_id":150310,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:04:02] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:04:02] local.INFO: IMEI packet received {"connection_id":150310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":150310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:04:05] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:04:05] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:04:05] local.INFO: IMEI packet received {"connection_id":153011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":153011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:04:07] local.INFO: TCP Data received {"connection_id":150310,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:04:07] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:04:07] local.INFO: IMEI packet received {"connection_id":150310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":150310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:04:08] local.INFO: TCP Data received {"connection_id":150310,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b7e928012d181f800721a5b80044007c28..."} 
[2026-08-08 15:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b7e928012d181f800721a5b80044007c28..."} 
[2026-08-08 15:04:08] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b7e928012d181f800721a5b80044007c28..."} 
[2026-08-08 15:04:08] local.INFO: Packet analysis {"connection_id":150310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:04:08] local.INFO: Extracted packet for processing {"connection_id":150310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645624,"longitude_deg":75.6555648,"latitude_deg":11.9645624,"altitude":68,"angle":124,"satellites":40,"speed":8,"hex_longitude":"2d181f80","hex_latitude":"0721a5b8","is_valid_coordinates":true} 
[2026-08-08 15:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262483456001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497601681588224,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073443840,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786181577000,"timestamp_ms":1786181577000,"timestamp_seconds":1786181577,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b7e928"} 
[2026-08-08 15:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 15:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262483456001,"66":13722,"105":206,"83":41984,"24":8,"16":11497601681588224,"45":1738037643073443840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262483456001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:04:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497601681588224,"km_value":11497601681588.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073443840,"description":"Unknown IO ID 45"} 
[2026-08-08 15:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262483456001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073443840}} 
[2026-08-08 15:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":150310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:04:08] local.INFO: GPS data processed {"connection_id":150310,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:04:08] local.INFO: Acknowledgment sent {"connection_id":150310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:04:12] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:04:12] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:04:12] local.INFO: IMEI packet received {"connection_id":153011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":153011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:04:13] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b6f6f8012cd4fb0007379eb0000e00ec30..."} 
[2026-08-08 15:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b6f6f8012cd4fb0007379eb0000e00ec30..."} 
[2026-08-08 15:04:13] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b6f6f8012cd4fb0007379eb0000e00ec30..."} 
[2026-08-08 15:04:13] local.INFO: Packet analysis {"connection_id":153011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:04:13] local.INFO: Extracted packet for processing {"connection_id":153011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b6"} 
[2026-08-08 15:04:13] local.INFO: GPS Element Parsed {"raw_longitude":752155392,"raw_latitude":121085616,"longitude_deg":75.2155392,"latitude_deg":12.1085616,"altitude":14,"angle":236,"satellites":48,"speed":7,"hex_longitude":"2cd4fb00","hex_latitude":"07379eb0","is_valid_coordinates":true} 
[2026-08-08 15:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262465280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545811443908608,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098969093842137088,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786181515000,"timestamp_ms":1786181515000,"timestamp_seconds":1786181515,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b6f6f8"} 
[2026-08-08 15:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262465280001,"66":27995,"89":206,"83":43264,"24":7,"16":375545811443908608,"44":-3098969093842137088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262465280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:04:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545811443908608,"km_value":375545811443908.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098969093842137088,"description":"Unknown IO ID 44"} 
[2026-08-08 15:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262465280001,"power":27995,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3098969093842137088}} 
[2026-08-08 15:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":153011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:04:13] local.INFO: GPS data processed {"connection_id":153011,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:04:13] local.INFO: Acknowledgment sent {"connection_id":153011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:04:39] local.INFO: TCP Data received {"connection_id":150310,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b7fcb0012d1824000721a2300045008927..."} 
[2026-08-08 15:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b7fcb0012d1824000721a2300045008927..."} 
[2026-08-08 15:04:39] local.INFO: Processing buffer {"connection_id":150310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b7fcb0012d1824000721a2300045008927..."} 
[2026-08-08 15:04:39] local.INFO: Packet analysis {"connection_id":150310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:04:39] local.INFO: Extracted packet for processing {"connection_id":150310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119644720,"longitude_deg":75.65568,"latitude_deg":11.964472,"altitude":69,"angle":137,"satellites":39,"speed":15,"hex_longitude":"2d182400","hex_latitude":"0721a230","is_valid_coordinates":true} 
[2026-08-08 15:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262483712001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497670401064960,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305935872,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786181582000,"timestamp_ms":1786181582000,"timestamp_seconds":1786181582,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b7fcb0"} 
[2026-08-08 15:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:04: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-08-08 15:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-08 15:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262483712001,"66":13993,"105":206,"83":41984,"24":15,"16":11497670401064960,"45":1738248749305935872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262483712001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:04:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497670401064960,"km_value":11497670401064.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305935872,"description":"Unknown IO ID 45"} 
[2026-08-08 15:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262483712001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1738248749305935872}} 
[2026-08-08 15:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":150310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:04:39] local.INFO: GPS data processed {"connection_id":150310,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:04:39] local.INFO: Acknowledgment sent {"connection_id":150310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:04:44] local.INFO: TCP Data received {"connection_id":153011,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b71e08012cd4f18007379a50000c00f931..."} 
[2026-08-08 15:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b71e08012cd4f18007379a50000c00f931..."} 
[2026-08-08 15:04:44] local.INFO: Processing buffer {"connection_id":153011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b71e08012cd4f18007379a50000c00f931..."} 
[2026-08-08 15:04:44] local.INFO: Packet analysis {"connection_id":153011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:04:44] local.INFO: Extracted packet for processing {"connection_id":153011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:04:44] local.INFO: GPS Element Parsed {"raw_longitude":752152960,"raw_latitude":121084496,"longitude_deg":75.215296,"latitude_deg":12.1084496,"altitude":12,"angle":249,"satellites":49,"speed":7,"hex_longitude":"2cd4f180","hex_latitude":"07379a50","is_valid_coordinates":true} 
[2026-08-08 15:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262467840001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375545940292927488,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3099883887516536832,"note":"Value kept but may cause issues"} 
[2026-08-08 15:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786181525000,"timestamp_ms":1786181525000,"timestamp_seconds":1786181525,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b71e08"} 
[2026-08-08 15:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 15:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262467840001,"66":27974,"89":206,"83":43264,"24":7,"16":375545940292927488,"44":-3099883887516536832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262467840001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:04:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375545940292927488,"km_value":375545940292927.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3099883887516536832,"description":"Unknown IO ID 44"} 
[2026-08-08 15:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262467840001,"power":27974,"unknown_89":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3099883887516536832}} 
[2026-08-08 15:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":153011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:04:44] local.INFO: GPS data processed {"connection_id":153011,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:04:44] local.INFO: Acknowledgment sent {"connection_id":153011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:05:04] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:05:04] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:05:04] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:05:04] local.INFO: IMEI packet received {"connection_id":150558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":150558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:04] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:04] local.INFO: IMEI packet received {"connection_id":151526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":151526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:05:07] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:07] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:07] local.INFO: IMEI packet received {"connection_id":151526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":151526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:05:09] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:05:09] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:05:09] local.INFO: IMEI packet received {"connection_id":150558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":150558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:05:10] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b77010012cd4e94007379730000d00f631..."} 
[2026-08-08 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b77010012cd4e94007379730000d00f631..."} 
[2026-08-08 15:05:10] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b77010012cd4e94007379730000d00f631..."} 
[2026-08-08 15:05:10] local.INFO: Packet analysis {"connection_id":150558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:05:10] local.INFO: Extracted packet for processing {"connection_id":150558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:05:10] local.INFO: GPS Element Parsed {"raw_longitude":752150848,"raw_latitude":121083696,"longitude_deg":75.2150848,"latitude_deg":12.1083696,"altitude":13,"angle":246,"satellites":49,"speed":0,"hex_longitude":"2cd4e940","hex_latitude":"07379730","is_valid_coordinates":true} 
[2026-08-08 15:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262470400001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546047667109888,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3102557899795574784,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786181546000,"timestamp_ms":1786181546000,"timestamp_seconds":1786181546,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b77010"} 
[2026-08-08 15:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:05: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-08-08 15:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262470400001,"66":28028,"89":206,"83":43264,"24":0,"16":375546047667109888,"44":-3102557899795574784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262470400001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:05:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546047667109888,"km_value":375546047667109.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3102557899795574784,"description":"Unknown IO ID 44"} 
[2026-08-08 15:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262470400001,"power":28028,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3102557899795574784}} 
[2026-08-08 15:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":150558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:05:10] local.INFO: GPS data processed {"connection_id":150558,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:05:10] local.INFO: Acknowledgment sent {"connection_id":150558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:05:12] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:12] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:05:12] local.INFO: IMEI packet received {"connection_id":151526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":151526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:05:13] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b81bf0012d182cc007219b200047007c27..."} 
[2026-08-08 15:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b81bf0012d182cc007219b200047007c27..."} 
[2026-08-08 15:05:13] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b81bf0012d182cc007219b200047007c27..."} 
[2026-08-08 15:05:13] local.INFO: Packet analysis {"connection_id":151526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:05:13] local.INFO: Extracted packet for processing {"connection_id":151526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119642912,"longitude_deg":75.655904,"latitude_deg":11.9642912,"altitude":71,"angle":124,"satellites":39,"speed":17,"hex_longitude":"2d182cc0","hex_latitude":"07219b20","is_valid_coordinates":true} 
[2026-08-08 15:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262484992001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497812134985728,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386700902400,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786181590000,"timestamp_ms":1786181590000,"timestamp_seconds":1786181590,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b81bf0"} 
[2026-08-08 15:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:05: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-08-08 15:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262484992001,"66":13993,"105":206,"83":41984,"24":17,"16":11497812134985728,"45":1739515386700902400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262484992001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:05:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497812134985728,"km_value":11497812134985.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386700902400,"description":"Unknown IO ID 45"} 
[2026-08-08 15:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262484992001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1739515386700902400}} 
[2026-08-08 15:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":151526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:05:13] local.INFO: GPS data processed {"connection_id":151526,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:05:13] local.INFO: Acknowledgment sent {"connection_id":151526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:05:17] local.INFO: TCP Data received {"connection_id":151526,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b82b90012d183500072196d80048007127..."} 
[2026-08-08 15:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b82b90012d183500072196d80048007127..."} 
[2026-08-08 15:05:17] local.INFO: Processing buffer {"connection_id":151526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b82b90012d183500072196d80048007127..."} 
[2026-08-08 15:05:17] local.INFO: Packet analysis {"connection_id":151526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:05:17] local.INFO: Extracted packet for processing {"connection_id":151526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756561152,"raw_latitude":119641816,"longitude_deg":75.6561152,"latitude_deg":11.9641816,"altitude":72,"angle":113,"satellites":39,"speed":26,"hex_longitude":"2d183500","hex_latitude":"072196d8","is_valid_coordinates":true} 
[2026-08-08 15:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262487040001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11497923804135424,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746657792,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786181594000,"timestamp_ms":1786181594000,"timestamp_seconds":1786181594,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b82b90"} 
[2026-08-08 15:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262487040001,"66":14004,"105":206,"83":41984,"24":26,"16":11497923804135424,"45":1741978292746657792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262487040001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:05:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11497923804135424,"km_value":11497923804135.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746657792,"description":"Unknown IO ID 45"} 
[2026-08-08 15:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262487040001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1741978292746657792}} 
[2026-08-08 15:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":151526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:05:17] local.INFO: GPS data processed {"connection_id":151526,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:05:17] local.INFO: Acknowledgment sent {"connection_id":151526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:05:42] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b79338012cd4e700073796c0000e00e431..."} 
[2026-08-08 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b79338012cd4e700073796c0000e00e431..."} 
[2026-08-08 15:05:42] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b79338012cd4e700073796c0000e00e431..."} 
[2026-08-08 15:05:42] local.INFO: Packet analysis {"connection_id":150558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:05:42] local.INFO: Extracted packet for processing {"connection_id":150558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:05:42] local.INFO: GPS Element Parsed {"raw_longitude":752150272,"raw_latitude":121083584,"longitude_deg":75.2150272,"latitude_deg":12.1083584,"altitude":14,"angle":228,"satellites":49,"speed":5,"hex_longitude":"2cd4e700","hex_latitude":"073796c0","is_valid_coordinates":true} 
[2026-08-08 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262475776001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546077731880960,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3104880068353642496,"note":"Value kept but may cause issues"} 
[2026-08-08 15:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181555000,"timestamp_ms":1786181555000,"timestamp_seconds":1786181555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b79338"} 
[2026-08-08 15:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 15:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:05: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-08-08 15:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262475776001,"66":28082,"89":206,"83":43264,"24":5,"16":375546077731880960,"44":-3104880068353642496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262475776001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:05:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546077731880960,"km_value":375546077731880.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3104880068353642496,"description":"Unknown IO ID 44"} 
[2026-08-08 15:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262475776001,"power":28082,"unknown_89":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3104880068353642496}} 
[2026-08-08 15:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":150558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:05:42] local.INFO: GPS data processed {"connection_id":150558,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:05:42] local.INFO: Acknowledgment sent {"connection_id":150558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:06:02] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:06:02] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:06:02] local.INFO: IMEI packet received {"connection_id":150559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":150559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:06:07] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:06:07] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:06:07] local.INFO: IMEI packet received {"connection_id":150559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":150559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:06:08] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b84eb8012d18434007219188004a012326..."} 
[2026-08-08 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b84eb8012d18434007219188004a012326..."} 
[2026-08-08 15:06:08] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b84eb8012d18434007219188004a012326..."} 
[2026-08-08 15:06:08] local.INFO: Packet analysis {"connection_id":150559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:06:08] local.INFO: Extracted packet for processing {"connection_id":150559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":756564800,"raw_latitude":119640456,"longitude_deg":75.65648,"latitude_deg":11.9640456,"altitude":74,"angle":291,"satellites":38,"speed":6,"hex_longitude":"2d184340","hex_latitude":"07219188","is_valid_coordinates":true} 
[2026-08-08 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262488064001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11498138552500224,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744300461304240128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786181603000,"timestamp_ms":1786181603000,"timestamp_seconds":1786181603,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b84eb8"} 
[2026-08-08 15:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 15:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262488064001,"66":13993,"105":206,"83":41984,"24":6,"16":11498138552500224,"45":1744300461304240128},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262488064001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:06:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:06:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11498138552500224,"km_value":11498138552500.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744300461304240128,"description":"Unknown IO ID 45"} 
[2026-08-08 15:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262488064001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1744300461304240128}} 
[2026-08-08 15:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":150559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:06:08] local.INFO: GPS data processed {"connection_id":150559,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:06:08] local.INFO: Acknowledgment sent {"connection_id":150559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:06:10] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:06:10] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:06:10] local.INFO: IMEI packet received {"connection_id":150311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":150311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:06:15] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:06:15] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:06:15] local.INFO: IMEI packet received {"connection_id":150311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":150311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:06:18] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b79720012cd4e68007379680000e00f331..."} 
[2026-08-08 15:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b79720012cd4e68007379680000e00f331..."} 
[2026-08-08 15:06:18] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b79720012cd4e68007379680000e00f331..."} 
[2026-08-08 15:06:18] local.INFO: Packet analysis {"connection_id":150311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:06:18] local.INFO: Extracted packet for processing {"connection_id":150311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:06:18] local.INFO: GPS Element Parsed {"raw_longitude":752150144,"raw_latitude":121083520,"longitude_deg":75.2150144,"latitude_deg":12.108352,"altitude":14,"angle":243,"satellites":49,"speed":8,"hex_longitude":"2cd4e680","hex_latitude":"07379680","is_valid_coordinates":true} 
[2026-08-08 15:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262478080001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546086321815552,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3105513387051270144,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786181556000,"timestamp_ms":1786181556000,"timestamp_seconds":1786181556,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b79720"} 
[2026-08-08 15:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 15:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262478080001,"66":27876,"89":206,"83":43264,"24":8,"16":375546086321815552,"44":-3105513387051270144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262478080001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:06:18] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546086321815552,"km_value":375546086321815.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:06:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3105513387051270144,"description":"Unknown IO ID 44"} 
[2026-08-08 15:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262478080001,"power":27876,"unknown_89":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3105513387051270144}} 
[2026-08-08 15:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":150311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:06:18] local.INFO: GPS data processed {"connection_id":150311,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:06:18] local.INFO: Acknowledgment sent {"connection_id":150311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:06:39] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b8a0c0012d183f4007218f880049012326..."} 
[2026-08-08 15:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b8a0c0012d183f4007218f880049012326..."} 
[2026-08-08 15:06:39] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b8a0c0012d183f4007218f880049012326..."} 
[2026-08-08 15:06:39] local.INFO: Packet analysis {"connection_id":150559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:06:39] local.INFO: Extracted packet for processing {"connection_id":150559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756563776,"raw_latitude":119639944,"longitude_deg":75.6563776,"latitude_deg":11.9639944,"altitude":73,"angle":291,"satellites":38,"speed":0,"hex_longitude":"2d183f40","hex_latitude":"07218f88","is_valid_coordinates":true} 
[2026-08-08 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262490368001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11498228746813440,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748311479722018816,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786181624000,"timestamp_ms":1786181624000,"timestamp_seconds":1786181624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b8a0c0"} 
[2026-08-08 15:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:06: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-08-08 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262490368001,"66":14070,"105":206,"83":41984,"24":0,"16":11498228746813440,"45":1748311479722018816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262490368001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11498228746813440,"km_value":11498228746813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748311479722018816,"description":"Unknown IO ID 45"} 
[2026-08-08 15:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262490368001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1748311479722018816}} 
[2026-08-08 15:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":150559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:06:39] local.INFO: GPS data processed {"connection_id":150559,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:06:39] local.INFO: Acknowledgment sent {"connection_id":150559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:06:49] local.INFO: TCP Data received {"connection_id":150311,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b7e540012cd4c68007378760000a00ef32..."} 
[2026-08-08 15:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b7e540012cd4c68007378760000a00ef32..."} 
[2026-08-08 15:06:49] local.INFO: Processing buffer {"connection_id":150311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b7e540012cd4c68007378760000a00ef32..."} 
[2026-08-08 15:06:49] local.INFO: Packet analysis {"connection_id":150311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:06:49] local.INFO: Extracted packet for processing {"connection_id":150311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:06:49] local.INFO: GPS Element Parsed {"raw_longitude":752141952,"raw_latitude":121079648,"longitude_deg":75.2141952,"latitude_deg":12.1079648,"altitude":10,"angle":239,"satellites":50,"speed":17,"hex_longitude":"2cd4c680","hex_latitude":"07378760","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262478336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546515818545152,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3105654124539641856,"note":"Value kept but may cause issues"} 
[2026-08-08 15:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786181576000,"timestamp_ms":1786181576000,"timestamp_seconds":1786181576,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b7e540"} 
[2026-08-08 15:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 15:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262478336001,"66":28137,"89":206,"83":43264,"24":17,"16":375546515818545152,"44":-3105654124539641856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262478336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:06:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546515818545152,"km_value":375546515818545.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3105654124539641856,"description":"Unknown IO ID 44"} 
[2026-08-08 15:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262478336001,"power":28137,"unknown_89":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3105654124539641856}} 
[2026-08-08 15:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":150311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:06:49] local.INFO: GPS data processed {"connection_id":150311,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:06:49] local.INFO: Acknowledgment sent {"connection_id":150311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:07:02] local.INFO: TCP Data received {"connection_id":150312,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:07:02] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:07:02] local.INFO: IMEI packet received {"connection_id":150312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":150312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:07:05] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:07:05] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:07:05] local.INFO: IMEI packet received {"connection_id":150560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":150560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:07:06] local.INFO: TCP Data received {"connection_id":150312,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:07:06] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:07:06] local.INFO: IMEI packet received {"connection_id":150312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":150312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:07:07] local.INFO: TCP Data received {"connection_id":150312,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b8f2c8012d183f4007218f880049012321..."} 
[2026-08-08 15:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b8f2c8012d183f4007218f880049012321..."} 
[2026-08-08 15:07:07] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b8f2c8012d183f4007218f880049012321..."} 
[2026-08-08 15:07:07] local.INFO: Packet analysis {"connection_id":150312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:07:07] local.INFO: Extracted packet for processing {"connection_id":150312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756563776,"raw_latitude":119639944,"longitude_deg":75.6563776,"latitude_deg":11.9639944,"altitude":73,"angle":291,"satellites":33,"speed":0,"hex_longitude":"2d183f40","hex_latitude":"07218f88","is_valid_coordinates":true} 
[2026-08-08 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262495744001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11498228746813440,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747185579815045120,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786181645000,"timestamp_ms":1786181645000,"timestamp_seconds":1786181645,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b8f2c8"} 
[2026-08-08 15:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:07: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-08-08 15:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 15:07: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-08-08 15:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262495744001,"66":13993,"105":206,"83":41984,"24":0,"16":11498228746813440,"45":1747185579815045120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262495744001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11498228746813440,"km_value":11498228746813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747185579815045120,"description":"Unknown IO ID 45"} 
[2026-08-08 15:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262495744001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1747185579815045120}} 
[2026-08-08 15:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":150312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:07:07] local.INFO: GPS data processed {"connection_id":150312,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:07:07] local.INFO: Acknowledgment sent {"connection_id":150312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:07:09] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:07:09] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:07:09] local.INFO: IMEI packet received {"connection_id":150560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":150560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:07:10] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b7fcb0012cd4be80073782c8000a00e22e..."} 
[2026-08-08 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b7fcb0012cd4be80073782c8000a00e22e..."} 
[2026-08-08 15:07:10] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b7fcb0012cd4be80073782c8000a00e22e..."} 
[2026-08-08 15:07:10] local.INFO: Packet analysis {"connection_id":150560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:07:10] local.INFO: Extracted packet for processing {"connection_id":150560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b7"} 
[2026-08-08 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":752139904,"raw_latitude":121078472,"longitude_deg":75.2139904,"latitude_deg":12.1078472,"altitude":10,"angle":226,"satellites":46,"speed":11,"hex_longitude":"2cd4be80","hex_latitude":"073782c8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262483456001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546631782662144,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3114661323795374080,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786181582000,"timestamp_ms":1786181582000,"timestamp_seconds":1786181582,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b7fcb0"} 
[2026-08-08 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-08-08 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 15:07: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-08-08 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-08-08 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-08-08 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:07: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-08-08 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262483456001,"66":28028,"89":206,"83":43264,"24":11,"16":375546631782662144,"44":-3114661323795374080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262483456001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:07:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546631782662144,"km_value":375546631782662.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3114661323795374080,"description":"Unknown IO ID 44"} 
[2026-08-08 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262483456001,"power":28028,"unknown_89":206,"unknown_83":43264,"ignition":11,"odometer":null,"unknown_44":-3114661323795374080}} 
[2026-08-08 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":150560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:07:10] local.INFO: GPS data processed {"connection_id":150560,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:07:10] local.INFO: Acknowledgment sent {"connection_id":150560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:07:39] local.INFO: TCP Data received {"connection_id":150312,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bb5fe0012d18920007217db80047007228..."} 
[2026-08-08 15:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bb5fe0012d18920007217db80047007228..."} 
[2026-08-08 15:07:39] local.INFO: Processing buffer {"connection_id":150312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bb5fe0012d18920007217db80047007228..."} 
[2026-08-08 15:07:39] local.INFO: Packet analysis {"connection_id":150312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bb"} 
[2026-08-08 15:07:39] local.INFO: Extracted packet for processing {"connection_id":150312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bb"} 
[2026-08-08 15:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119635384,"longitude_deg":75.658496,"latitude_deg":11.9635384,"altitude":71,"angle":114,"satellites":40,"speed":44,"hex_longitude":"2d189200","hex_latitude":"07217db8","is_valid_coordinates":true} 
[2026-08-08 15:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262541056001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11499298193670144,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183906304,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786181804000,"timestamp_ms":1786181804000,"timestamp_seconds":1786181804,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bb5fe0"} 
[2026-08-08 15:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:07: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-08-08 15:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262541056001,"66":14048,"106":206,"83":41984,"24":44,"16":11499298193670144,"45":1766888828183906304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262541056001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:07:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11499298193670144,"km_value":11499298193670.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183906304,"description":"Unknown IO ID 45"} 
[2026-08-08 15:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262541056001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1766888828183906304}} 
[2026-08-08 15:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":150312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:07:39] local.INFO: GPS data processed {"connection_id":150312,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:07:39] local.INFO: Acknowledgment sent {"connection_id":150312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:07:42] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b80480012cd4bcc007378170000a00f02e..."} 
[2026-08-08 15:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b80480012cd4bcc007378170000a00f02e..."} 
[2026-08-08 15:07:42] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b80480012cd4bcc007378170000a00f02e..."} 
[2026-08-08 15:07:42] local.INFO: Packet analysis {"connection_id":150560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:07:42] local.INFO: Extracted packet for processing {"connection_id":150560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:07:42] local.INFO: GPS Element Parsed {"raw_longitude":752139456,"raw_latitude":121078128,"longitude_deg":75.2139456,"latitude_deg":12.1078128,"altitude":10,"angle":240,"satellites":46,"speed":10,"hex_longitude":"2cd4bcc0","hex_latitude":"07378170","is_valid_coordinates":true} 
[2026-08-08 15:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262484992001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546657552465920,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3116913123609360384,"note":"Value kept but may cause issues"} 
[2026-08-08 15:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181584000,"timestamp_ms":1786181584000,"timestamp_seconds":1786181584,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b80480"} 
[2026-08-08 15:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 15:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15: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-08-08 15:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262484992001,"66":28050,"89":206,"83":43264,"24":10,"16":375546657552465920,"44":-3116913123609360384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262484992001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:07:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:07:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546657552465920,"km_value":375546657552465.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3116913123609360384,"description":"Unknown IO ID 44"} 
[2026-08-08 15:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262484992001,"power":28050,"unknown_89":206,"unknown_83":43264,"ignition":10,"odometer":null,"unknown_44":-3116913123609360384}} 
[2026-08-08 15:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":150560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:07:42] local.INFO: GPS data processed {"connection_id":150560,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:07:42] local.INFO: Acknowledgment sent {"connection_id":150560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:08:02] local.INFO: TCP Data received {"connection_id":153012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:02] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:02] local.INFO: IMEI packet received {"connection_id":153012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":153012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:08:02] local.INFO: TCP Data received {"connection_id":153012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:02] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:02] local.INFO: IMEI packet received {"connection_id":153012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":153012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:08:03] local.INFO: TCP Data received {"connection_id":153012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:03] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:03] local.INFO: IMEI packet received {"connection_id":153012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":153012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:08:05] local.INFO: TCP Data received {"connection_id":150561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:08:05] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:08:05] local.INFO: IMEI packet received {"connection_id":150561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":150561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:08:07] local.INFO: TCP Data received {"connection_id":153012,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:07] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:08:07] local.INFO: IMEI packet received {"connection_id":153012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":153012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:08:09] local.INFO: TCP Data received {"connection_id":150561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:08:09] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:08:09] local.INFO: IMEI packet received {"connection_id":150561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":150561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:08:11] local.INFO: TCP Data received {"connection_id":150561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b84300012cd4b40007377dc0000900ed30..."} 
[2026-08-08 15:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b84300012cd4b40007377dc0000900ed30..."} 
[2026-08-08 15:08:11] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b84300012cd4b40007377dc0000900ed30..."} 
[2026-08-08 15:08:11] local.INFO: Packet analysis {"connection_id":150561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:08:11] local.INFO: Extracted packet for processing {"connection_id":150561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:08:11] local.INFO: GPS Element Parsed {"raw_longitude":752137216,"raw_latitude":121077184,"longitude_deg":75.2137216,"latitude_deg":12.1077184,"altitude":9,"angle":237,"satellites":48,"speed":6,"hex_longitude":"2cd4b400","hex_latitude":"07377dc0","is_valid_coordinates":true} 
[2026-08-08 15:08: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-08-08 15:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262485504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117405704818692096,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181600000,"timestamp_ms":1786181600000,"timestamp_seconds":1786181600,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b84300"} 
[2026-08-08 15:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 15:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:08: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-08-08 15:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262485504001,"66":27974,"89":206,"83":43264,"24":6,"16":375546773516582912,"44":-3117405704818692096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262485504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:08:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117405704818692096,"description":"Unknown IO ID 44"} 
[2026-08-08 15:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262485504001,"power":27974,"unknown_89":206,"unknown_83":43264,"ignition":6,"odometer":null,"unknown_44":-3117405704818692096}} 
[2026-08-08 15:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":150561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:08:11] local.INFO: GPS data processed {"connection_id":150561,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:08:11] local.INFO: Acknowledgment sent {"connection_id":150561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:08:16] local.INFO: TCP Data received {"connection_id":153012,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bb7f20012d18af00072171380047008024..."} 
[2026-08-08 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bb7f20012d18af00072171380047008024..."} 
[2026-08-08 15:08:16] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bb7f20012d18af00072171380047008024..."} 
[2026-08-08 15:08:16] local.INFO: Packet analysis {"connection_id":153012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bb"} 
[2026-08-08 15:08:16] local.INFO: Extracted packet for processing {"connection_id":153012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bb"} 
[2026-08-08 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119632184,"longitude_deg":75.6592384,"latitude_deg":11.9632184,"altitude":71,"angle":128,"satellites":36,"speed":37,"hex_longitude":"2d18af00","hex_latitude":"07217138","is_valid_coordinates":true} 
[2026-08-08 15:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262541824001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11499684740726784,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770477634136684544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786181812000,"timestamp_ms":1786181812000,"timestamp_seconds":1786181812,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bb7f20"} 
[2026-08-08 15:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 15:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262541824001,"66":14363,"106":206,"83":41984,"24":37,"16":11499684740726784,"45":1770477634136684544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262541824001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:08:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11499684740726784,"km_value":11499684740726.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770477634136684544,"description":"Unknown IO ID 45"} 
[2026-08-08 15:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262541824001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1770477634136684544}} 
[2026-08-08 15:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":153012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:08:16] local.INFO: GPS data processed {"connection_id":153012,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:08:16] local.INFO: Acknowledgment sent {"connection_id":153012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:08:42] local.INFO: TCP Data received {"connection_id":150561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0b84300012cd4b40007377dc0000900ed30..."} 
[2026-08-08 15:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0b84300012cd4b40007377dc0000900ed30..."} 
[2026-08-08 15:08:42] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0b84300012cd4b40007377dc0000900ed30..."} 
[2026-08-08 15:08:42] local.INFO: Packet analysis {"connection_id":150561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:08:42] local.INFO: Extracted packet for processing {"connection_id":150561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0b8"} 
[2026-08-08 15:08:42] local.INFO: GPS Element Parsed {"raw_longitude":752137216,"raw_latitude":121077184,"longitude_deg":75.2137216,"latitude_deg":12.1077184,"altitude":9,"angle":237,"satellites":48,"speed":6,"hex_longitude":"2cd4b400","hex_latitude":"07377dc0","is_valid_coordinates":true} 
[2026-08-08 15:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262485504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117405704818692096,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181600000,"timestamp_ms":1786181600000,"timestamp_seconds":1786181600,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0b84300"} 
[2026-08-08 15:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 15:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:08: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-08-08 15:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262485504001,"66":27974,"89":206,"83":43264,"24":6,"16":375546773516582912,"44":-3117405704818692096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262485504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:08:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:08:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117405704818692096,"description":"Unknown IO ID 44"} 
[2026-08-08 15:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262485504001,"power":27974,"unknown_89":206,"unknown_83":43264,"ignition":6,"odometer":null,"unknown_44":-3117405704818692096}} 
[2026-08-08 15:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":150561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:08:42] local.INFO: GPS data processed {"connection_id":150561,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:08:42] local.INFO: Acknowledgment sent {"connection_id":150561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:08:47] local.INFO: TCP Data received {"connection_id":153012,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bc7d08012d194e800720abc0002e006627..."} 
[2026-08-08 15:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bc7d08012d194e800720abc0002e006627..."} 
[2026-08-08 15:08:47] local.INFO: Processing buffer {"connection_id":153012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bc7d08012d194e800720abc0002e006627..."} 
[2026-08-08 15:08:47] local.INFO: Packet analysis {"connection_id":153012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:08:47] local.INFO: Extracted packet for processing {"connection_id":153012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119581632,"longitude_deg":75.6633216,"latitude_deg":11.9581632,"altitude":46,"angle":102,"satellites":39,"speed":37,"hex_longitude":"2d194e80","hex_latitude":"0720abc0","is_valid_coordinates":true} 
[2026-08-08 15:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262560512001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11503056290054144,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667232882688,"note":"Value kept but may cause issues"} 
[2026-08-08 15:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786181877000,"timestamp_ms":1786181877000,"timestamp_seconds":1786181877,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bc7d08"} 
[2026-08-08 15:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 15:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262560512001,"66":14374,"103":206,"83":41984,"24":37,"16":11503056290054144,"45":1823535667232882688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262560512001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:08:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11503056290054144,"km_value":11503056290054.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667232882688,"description":"Unknown IO ID 45"} 
[2026-08-08 15:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262560512001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1823535667232882688}} 
[2026-08-08 15:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":153012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:08:47] local.INFO: GPS data processed {"connection_id":153012,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:08:47] local.INFO: Acknowledgment sent {"connection_id":153012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:09:04] local.INFO: TCP Data received {"connection_id":153013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:04] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:04] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:09:04] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:09:04] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:09:04] local.INFO: IMEI packet received {"connection_id":153014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":153014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:09:06] local.INFO: TCP Data received {"connection_id":153013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:06] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:06] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:09:07] local.INFO: TCP Data received {"connection_id":153013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:07] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:07] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:09:07] local.INFO: TCP Data received {"connection_id":153013,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:07] local.INFO: Processing buffer {"connection_id":153013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:09:07] local.INFO: IMEI packet received {"connection_id":153013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":153013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:09:09] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:09:09] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:09:09] local.INFO: IMEI packet received {"connection_id":153014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":153014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:09:11] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:09:11] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:09:11] local.INFO: Packet analysis {"connection_id":153014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:09:11] local.INFO: Extracted packet for processing {"connection_id":153014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:09:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:09:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":153014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:09:11] local.INFO: GPS data processed {"connection_id":153014,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:09:11] local.INFO: Acknowledgment sent {"connection_id":153014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:09:42] local.INFO: TCP Data received {"connection_id":153014,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:09:42] local.INFO: Processing buffer {"connection_id":153014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:09:42] local.INFO: Packet analysis {"connection_id":153014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:09:42] local.INFO: Extracted packet for processing {"connection_id":153014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:09: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-08-08 15:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:09:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":153014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:09:42] local.INFO: GPS data processed {"connection_id":153014,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:09:42] local.INFO: Acknowledgment sent {"connection_id":153014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:10:05] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:10:05] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:10:05] local.INFO: IMEI packet received {"connection_id":150313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":150313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:10:10] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:10:10] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:10:10] local.INFO: IMEI packet received {"connection_id":150313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":150313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:10:11] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:10:11] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:10:11] local.INFO: Packet analysis {"connection_id":150313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:10:11] local.INFO: Extracted packet for processing {"connection_id":150313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:10:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:10: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-08-08 15:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:10:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":150313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:10:11] local.INFO: GPS data processed {"connection_id":150313,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:10:11] local.INFO: Acknowledgment sent {"connection_id":150313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:10:43] local.INFO: TCP Data received {"connection_id":150313,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:10:43] local.INFO: Processing buffer {"connection_id":150313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:10:43] local.INFO: Packet analysis {"connection_id":150313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:10:43] local.INFO: Extracted packet for processing {"connection_id":150313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:10:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:10: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-08-08 15:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:10:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":150313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:10:43] local.INFO: GPS data processed {"connection_id":150313,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:10:43] local.INFO: Acknowledgment sent {"connection_id":150313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:11:05] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:11:05] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:11:05] local.INFO: IMEI packet received {"connection_id":151528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":151528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:11:09] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:11:09] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:11:09] local.INFO: IMEI packet received {"connection_id":151528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":151528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:11:10] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:11:10] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:11:10] local.INFO: Packet analysis {"connection_id":151528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:11:10] local.INFO: Extracted packet for processing {"connection_id":151528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:11:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:11:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":151528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:11:10] local.INFO: GPS data processed {"connection_id":151528,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:11:10] local.INFO: Acknowledgment sent {"connection_id":151528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:11:42] local.INFO: TCP Data received {"connection_id":151528,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:11:42] local.INFO: Processing buffer {"connection_id":151528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:11:42] local.INFO: Packet analysis {"connection_id":151528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:11:42] local.INFO: Extracted packet for processing {"connection_id":151528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:11: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-08-08 15:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:11:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":151528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:11:42] local.INFO: GPS data processed {"connection_id":151528,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:11:42] local.INFO: Acknowledgment sent {"connection_id":151528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:12:05] local.INFO: TCP Data received {"connection_id":151529,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:12:05] local.INFO: Processing buffer {"connection_id":151529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:12:05] local.INFO: IMEI packet received {"connection_id":151529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":151529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:12:09] local.INFO: TCP Data received {"connection_id":151529,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:12:09] local.INFO: Processing buffer {"connection_id":151529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:12:09] local.INFO: IMEI packet received {"connection_id":151529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":151529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:12:10] local.INFO: TCP Data received {"connection_id":151529,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:12:10] local.INFO: Processing buffer {"connection_id":151529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:12:10] local.INFO: Packet analysis {"connection_id":151529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:12:10] local.INFO: Extracted packet for processing {"connection_id":151529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 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-08-08 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15: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-08-08 15:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:12:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":151529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:12:10] local.INFO: GPS data processed {"connection_id":151529,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:12:10] local.INFO: Acknowledgment sent {"connection_id":151529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:12:41] local.INFO: TCP Data received {"connection_id":151529,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:12:41] local.INFO: Processing buffer {"connection_id":151529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:12:41] local.INFO: Packet analysis {"connection_id":151529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:12:41] local.INFO: Extracted packet for processing {"connection_id":151529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 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-08-08 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:12:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":151529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:12:41] local.INFO: GPS data processed {"connection_id":151529,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:12:41] local.INFO: Acknowledgment sent {"connection_id":151529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:13:04] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:13:04] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:13:04] local.INFO: IMEI packet received {"connection_id":153016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":153016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:13:10] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:13:10] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:13:10] local.INFO: IMEI packet received {"connection_id":153016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":153016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:13:11] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:13:11] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:13:11] local.INFO: Packet analysis {"connection_id":153016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:13:11] local.INFO: Extracted packet for processing {"connection_id":153016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":153016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:13:11] local.INFO: GPS data processed {"connection_id":153016,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:13:11] local.INFO: Acknowledgment sent {"connection_id":153016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:13:43] local.INFO: TCP Data received {"connection_id":153016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:13:43] local.INFO: Processing buffer {"connection_id":153016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0bce298012cd4afc007377b10000c00ed2f..."} 
[2026-08-08 15:13:43] local.INFO: Packet analysis {"connection_id":153016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:13:43] local.INFO: Extracted packet for processing {"connection_id":153016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0bc"} 
[2026-08-08 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":47,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262489600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119868610865152000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786181903000,"timestamp_ms":1786181903000,"timestamp_seconds":1786181903,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0bce298"} 
[2026-08-08 15:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 15:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:13: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-08-08 15:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262489600001,"66":26473,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3119868610865152000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262489600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119868610865152000,"description":"Unknown IO ID 44"} 
[2026-08-08 15:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262489600001,"power":26473,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119868610865152000}} 
[2026-08-08 15:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":153016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:13:43] local.INFO: GPS data processed {"connection_id":153016,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:13:43] local.INFO: Acknowledgment sent {"connection_id":153016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:14:04] local.INFO: TCP Data received {"connection_id":150315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:14:04] local.INFO: Processing buffer {"connection_id":150315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:14:04] local.INFO: IMEI packet received {"connection_id":150315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":150315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:14:09] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:14:09] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:14:09] local.INFO: IMEI packet received {"connection_id":153017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":153017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:14:09] local.INFO: TCP Data received {"connection_id":150315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:14:09] local.INFO: Processing buffer {"connection_id":150315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:14:09] local.INFO: IMEI packet received {"connection_id":150315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":150315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:14:10] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c162f0012d1a090007203dd0003d00ef29..."} 
[2026-08-08 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c162f0012d1a090007203dd0003d00ef29..."} 
[2026-08-08 15:14:10] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c162f0012d1a090007203dd0003d00ef29..."} 
[2026-08-08 15:14:10] local.INFO: Packet analysis {"connection_id":153017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:10] local.INFO: Extracted packet for processing {"connection_id":153017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756680960,"raw_latitude":119553488,"longitude_deg":75.668096,"latitude_deg":11.9553488,"altitude":61,"angle":239,"satellites":41,"speed":35,"hex_longitude":"2d1a0900","hex_latitude":"07203dd0","is_valid_coordinates":true} 
[2026-08-08 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262642176001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11510855950663680,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877789968986845184,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786182198000,"timestamp_ms":1786182198000,"timestamp_seconds":1786182198,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c162f0"} 
[2026-08-08 15:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 15:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262642176001,"66":13559,"101":206,"83":41984,"24":35,"16":11510855950663680,"45":1877789968986845184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262642176001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:14:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11510855950663680,"km_value":11510855950663.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877789968986845184,"description":"Unknown IO ID 45"} 
[2026-08-08 15:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262642176001,"power":13559,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1877789968986845184}} 
[2026-08-08 15:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":153017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:14:10] local.INFO: GPS data processed {"connection_id":153017,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:14:10] local.INFO: Acknowledgment sent {"connection_id":153017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:14:11] local.INFO: TCP Data received {"connection_id":150315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:14:11] local.INFO: Processing buffer {"connection_id":150315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:14:11] local.INFO: Packet analysis {"connection_id":150315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:11] local.INFO: Extracted packet for processing {"connection_id":150315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:14: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-08-08 15:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:14:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":150315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:14:11] local.INFO: GPS data processed {"connection_id":150315,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:14:11] local.INFO: Acknowledgment sent {"connection_id":150315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:14:41] local.INFO: TCP Data received {"connection_id":153017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c18618012d19e9c007202a60003600fa27..."} 
[2026-08-08 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c18618012d19e9c007202a60003600fa27..."} 
[2026-08-08 15:14:41] local.INFO: Processing buffer {"connection_id":153017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c18618012d19e9c007202a60003600fa27..."} 
[2026-08-08 15:14:41] local.INFO: Packet analysis {"connection_id":153017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:41] local.INFO: Extracted packet for processing {"connection_id":153017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756672960,"raw_latitude":119548512,"longitude_deg":75.667296,"latitude_deg":11.9548512,"altitude":54,"angle":250,"satellites":39,"speed":40,"hex_longitude":"2d19e9c0","hex_latitude":"07202a60","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262642688001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11511311217197056,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876030750382215168,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14: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-08-08 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786182207000,"timestamp_ms":1786182207000,"timestamp_seconds":1786182207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c18618"} 
[2026-08-08 15:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:14: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-08-08 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-08 15:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262642688001,"66":14298,"101":206,"83":41984,"24":40,"16":11511311217197056,"45":1876030750382215168},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262642688001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:14:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11511311217197056,"km_value":11511311217197.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876030750382215168,"description":"Unknown IO ID 45"} 
[2026-08-08 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262642688001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1876030750382215168}} 
[2026-08-08 15:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":153017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:14:42] local.INFO: GPS data processed {"connection_id":153017,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:14:42] local.INFO: Acknowledgment sent {"connection_id":153017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:14:43] local.INFO: TCP Data received {"connection_id":150315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:14:43] local.INFO: Processing buffer {"connection_id":150315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:14:43] local.INFO: Packet analysis {"connection_id":150315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:43] local.INFO: Extracted packet for processing {"connection_id":150315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:14: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-08-08 15:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:14:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":150315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:14:43] local.INFO: GPS data processed {"connection_id":150315,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:14:43] local.INFO: Acknowledgment sent {"connection_id":150315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:15:03] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:03] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:03] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:15:04] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:04] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:04] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:15:05] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:15:05] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:15:05] local.INFO: IMEI packet received {"connection_id":150563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":150563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:15:07] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:07] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:07] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:15:07] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:07] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:15:07] local.INFO: IMEI packet received {"connection_id":151530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":151530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:15:08] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c268a8012d19b5c00720adb8003001362a..."} 
[2026-08-08 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c268a8012d19b5c00720adb8003001362a..."} 
[2026-08-08 15:15:08] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c268a8012d19b5c00720adb8003001362a..."} 
[2026-08-08 15:15:08] local.INFO: Packet analysis {"connection_id":151530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:15:08] local.INFO: Extracted packet for processing {"connection_id":151530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119582136,"longitude_deg":75.6659648,"latitude_deg":11.9582136,"altitude":48,"angle":310,"satellites":42,"speed":25,"hex_longitude":"2d19b5c0","hex_latitude":"0720adb8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262659584001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11513660564307968,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275891712,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182265000,"timestamp_ms":1786182265000,"timestamp_seconds":1786182265,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c268a8"} 
[2026-08-08 15:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:15: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-08-08 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 15:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262659584001,"66":13993,"103":206,"83":41984,"24":25,"16":11513660564307968,"45":1853231277275891712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262659584001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:15:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11513660564307968,"km_value":11513660564307.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275891712,"description":"Unknown IO ID 45"} 
[2026-08-08 15:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262659584001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1853231277275891712}} 
[2026-08-08 15:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":151530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:15:08] local.INFO: GPS data processed {"connection_id":151530,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:15:08] local.INFO: Acknowledgment sent {"connection_id":151530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:15:10] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:15:10] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:15:10] local.INFO: IMEI packet received {"connection_id":150563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":150563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:15:12] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:15:12] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:15:12] local.INFO: Packet analysis {"connection_id":150563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:15:12] local.INFO: Extracted packet for processing {"connection_id":150563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:15: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-08-08 15:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":150563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:15:12] local.INFO: GPS data processed {"connection_id":150563,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:15:12] local.INFO: Acknowledgment sent {"connection_id":150563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:15:12] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c26c90012d19b2c00720ae780030012429..."} 
[2026-08-08 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c26c90012d19b2c00720ae780030012429..."} 
[2026-08-08 15:15:12] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c26c90012d19b2c00720ae780030012429..."} 
[2026-08-08 15:15:12] local.INFO: Packet analysis {"connection_id":151530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:15:12] local.INFO: Extracted packet for processing {"connection_id":151530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756658880,"raw_latitude":119582328,"longitude_deg":75.665888,"latitude_deg":11.9582328,"altitude":48,"angle":292,"satellites":41,"speed":27,"hex_longitude":"2d19b2c0","hex_latitude":"0720ae78","is_valid_coordinates":true} 
[2026-08-08 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262659840001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11513699219013632,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578386944,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15: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-08-08 15:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786182266000,"timestamp_ms":1786182266000,"timestamp_seconds":1786182266,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c26c90"} 
[2026-08-08 15:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262659840001,"66":13993,"103":206,"83":41984,"24":27,"16":11513699219013632,"45":1852597958578386944},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262659840001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11513699219013632,"km_value":11513699219013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578386944,"description":"Unknown IO ID 45"} 
[2026-08-08 15:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262659840001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1852597958578386944}} 
[2026-08-08 15:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":151530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:15:12] local.INFO: GPS data processed {"connection_id":151530,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:15:12] local.INFO: Acknowledgment sent {"connection_id":151530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:15:43] local.INFO: TCP Data received {"connection_id":151530,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c27848012d19aa000720b088003201182a..."} 
[2026-08-08 15:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c27848012d19aa000720b088003201182a..."} 
[2026-08-08 15:15:43] local.INFO: Processing buffer {"connection_id":151530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c27848012d19aa000720b088003201182a..."} 
[2026-08-08 15:15:43] local.INFO: Packet analysis {"connection_id":151530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:15:43] local.INFO: Extracted packet for processing {"connection_id":151530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119582856,"longitude_deg":75.665664,"latitude_deg":11.9582856,"altitude":50,"angle":280,"satellites":42,"speed":28,"hex_longitude":"2d19aa00","hex_latitude":"0720b088","is_valid_coordinates":true} 
[2026-08-08 15:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262660096001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11513806593196032,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851753533648304128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786182269000,"timestamp_ms":1786182269000,"timestamp_seconds":1786182269,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c27848"} 
[2026-08-08 15:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262660096001,"66":14026,"103":206,"83":41984,"24":28,"16":11513806593196032,"45":1851753533648304128},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262660096001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11513806593196032,"km_value":11513806593196.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851753533648304128,"description":"Unknown IO ID 45"} 
[2026-08-08 15:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262660096001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1851753533648304128}} 
[2026-08-08 15:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":151530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:15:43] local.INFO: GPS data processed {"connection_id":151530,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:15:43] local.INFO: Acknowledgment sent {"connection_id":151530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:15:43] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:15:43] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:15:43] local.INFO: Packet analysis {"connection_id":150563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:15:43] local.INFO: Extracted packet for processing {"connection_id":150563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:15:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:15: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-08-08 15:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":150563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:15:43] local.INFO: GPS data processed {"connection_id":150563,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:15:43] local.INFO: Acknowledgment sent {"connection_id":150563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:16:02] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:02] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:02] local.INFO: IMEI packet received {"connection_id":153018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":153018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:16:02] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:02] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:02] local.INFO: IMEI packet received {"connection_id":153018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":153018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:16:04] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:16:04] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:16:04] local.INFO: IMEI packet received {"connection_id":150316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":150316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:16:06] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:06] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:16:06] local.INFO: IMEI packet received {"connection_id":153018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":153018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:16:07] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c29b70012d198c800720b3b00035010c28..."} 
[2026-08-08 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c29b70012d198c800720b3b00035010c28..."} 
[2026-08-08 15:16:07] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c29b70012d198c800720b3b00035010c28..."} 
[2026-08-08 15:16:07] local.INFO: Packet analysis {"connection_id":153018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:16:07] local.INFO: Extracted packet for processing {"connection_id":153018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583664,"longitude_deg":75.6649088,"latitude_deg":11.9583664,"altitude":53,"angle":268,"satellites":40,"speed":39,"hex_longitude":"2d198c80","hex_latitude":"0720b3b0","is_valid_coordinates":true} 
[2026-08-08 15:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262660864001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11514167370448896,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627602221056,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16: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-08-08 15:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786182278000,"timestamp_ms":1786182278000,"timestamp_seconds":1786182278,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c29b70"} 
[2026-08-08 15:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":202,"data_length":795,"current_offset":136} 
[2026-08-08 15:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262660864001,"66":14374,"103":206,"83":41984,"24":39,"16":11514167370448896,"45":1849290627602221056},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262660864001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:16:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11514167370448896,"km_value":11514167370448.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627602221056,"description":"Unknown IO ID 45"} 
[2026-08-08 15:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262660864001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1849290627602221056}} 
[2026-08-08 15:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":153018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:16:07] local.INFO: GPS data processed {"connection_id":153018,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:16:07] local.INFO: Acknowledgment sent {"connection_id":153018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:16:08] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c2ab10012d197b000720b0b8003400ff26..."} 
[2026-08-08 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c2ab10012d197b000720b0b8003400ff26..."} 
[2026-08-08 15:16:08] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c2ab10012d197b000720b0b8003400ff26..."} 
[2026-08-08 15:16:08] local.INFO: Packet analysis {"connection_id":153018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:16:08] local.INFO: Extracted packet for processing {"connection_id":153018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756644608,"raw_latitude":119582904,"longitude_deg":75.6644608,"latitude_deg":11.9582904,"altitude":52,"angle":255,"satellites":38,"speed":46,"hex_longitude":"2d197b00","hex_latitude":"0720b0b8","is_valid_coordinates":true} 
[2026-08-08 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262663168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11514386413780992,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789463552,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182282000,"timestamp_ms":1786182282000,"timestamp_seconds":1786182282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c2ab10"} 
[2026-08-08 15:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:16: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-08-08 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 15:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262663168001,"66":14298,"103":206,"83":41984,"24":46,"16":11514386413780992,"45":1840987115789463552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262663168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11514386413780992,"km_value":11514386413780.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789463552,"description":"Unknown IO ID 45"} 
[2026-08-08 15:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262663168001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1840987115789463552}} 
[2026-08-08 15:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":153018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:16:08] local.INFO: GPS data processed {"connection_id":153018,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:16:08] local.INFO: Acknowledgment sent {"connection_id":153018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:16:10] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:16:10] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:16:10] local.INFO: IMEI packet received {"connection_id":150316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":150316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:16:11] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:16:11] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:16:11] local.INFO: Packet analysis {"connection_id":150316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:16:11] local.INFO: Extracted packet for processing {"connection_id":150316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:16: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-08-08 15:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:16:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":150316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:16:11] local.INFO: GPS data processed {"connection_id":150316,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:16:11] local.INFO: Acknowledgment sent {"connection_id":150316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:16:13] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c2c280012d195f000720aac80030010a26..."} 
[2026-08-08 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c2c280012d195f000720aac80030010a26..."} 
[2026-08-08 15:16:13] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c2c280012d195f000720aac80030010a26..."} 
[2026-08-08 15:16:13] local.INFO: Packet analysis {"connection_id":153018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:16:13] local.INFO: Extracted packet for processing {"connection_id":153018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c2"} 
[2026-08-08 15:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119581384,"longitude_deg":75.663744,"latitude_deg":11.9581384,"altitude":48,"angle":266,"satellites":38,"speed":47,"hex_longitude":"2d195f00","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-08-08 15:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262664192001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11514734306131968,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303696832512,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786182288000,"timestamp_ms":1786182288000,"timestamp_seconds":1786182288,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c2c280"} 
[2026-08-08 15:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-08 15:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262664192001,"66":14276,"103":206,"83":41984,"24":47,"16":11514734306131968,"45":1836061303696832512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262664192001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11514734306131968,"km_value":11514734306131.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303696832512,"description":"Unknown IO ID 45"} 
[2026-08-08 15:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262664192001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1836061303696832512}} 
[2026-08-08 15:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":153018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:16:13] local.INFO: GPS data processed {"connection_id":153018,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:16:13] local.INFO: Acknowledgment sent {"connection_id":153018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:16:43] local.INFO: TCP Data received {"connection_id":150316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:16:43] local.INFO: Processing buffer {"connection_id":150316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:16:43] local.INFO: Packet analysis {"connection_id":150316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:16:43] local.INFO: Extracted packet for processing {"connection_id":150316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:16: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-08-08 15:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:16:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:16:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:16:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":150316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:16:43] local.INFO: GPS data processed {"connection_id":150316,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:16:43] local.INFO: Acknowledgment sent {"connection_id":150316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:16:54] local.INFO: TCP Data received {"connection_id":153018,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c3b898012d18bc8007215ad0004101432a..."} 
[2026-08-08 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c3b898012d18bc8007215ad0004101432a..."} 
[2026-08-08 15:16:54] local.INFO: Processing buffer {"connection_id":153018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c3b898012d18bc8007215ad0004101432a..."} 
[2026-08-08 15:16:54] local.INFO: Packet analysis {"connection_id":153018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c3"} 
[2026-08-08 15:16:54] local.INFO: Extracted packet for processing {"connection_id":153018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c3"} 
[2026-08-08 15:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756595840,"raw_latitude":119626448,"longitude_deg":75.659584,"latitude_deg":11.9626448,"altitude":65,"angle":323,"satellites":42,"speed":41,"hex_longitude":"2d18bc80","hex_latitude":"07215ad0","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262681344001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11517989891342336,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039359488,"note":"Value kept but may cause issues"} 
[2026-08-08 15:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786182351000,"timestamp_ms":1786182351000,"timestamp_seconds":1786182351,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c3b898"} 
[2026-08-08 15:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:16: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-08-08 15: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-08 15:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262681344001,"66":14004,"106":206,"83":41984,"24":41,"16":11517989891342336,"45":1783706958039359488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262681344001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:16:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11517989891342336,"km_value":11517989891342.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039359488,"description":"Unknown IO ID 45"} 
[2026-08-08 15:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262681344001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1783706958039359488}} 
[2026-08-08 15:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":153018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:16:55] local.INFO: GPS data processed {"connection_id":153018,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:16:55] local.INFO: Acknowledgment sent {"connection_id":153018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:17:02] local.INFO: TCP Data received {"connection_id":150564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:17:02] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:17:02] local.INFO: IMEI packet received {"connection_id":150564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":150564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:17:04] local.INFO: TCP Data received {"connection_id":150564,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:17:04] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:17:04] local.INFO: IMEI packet received {"connection_id":150564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":150564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:17:04] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:17:04] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:17:04] local.INFO: IMEI packet received {"connection_id":151531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:17:05] local.INFO: TCP Data received {"connection_id":150564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c3d7d8012d18a880072173d8004701322b..."} 
[2026-08-08 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c3d7d8012d18a880072173d8004701322b..."} 
[2026-08-08 15:17:05] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c3d7d8012d18a880072173d8004701322b..."} 
[2026-08-08 15:17:05] local.INFO: Packet analysis {"connection_id":150564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c3"} 
[2026-08-08 15:17:05] local.INFO: Extracted packet for processing {"connection_id":150564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c3"} 
[2026-08-08 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119632856,"longitude_deg":75.659072,"latitude_deg":11.9632856,"altitude":71,"angle":306,"satellites":43,"speed":38,"hex_longitude":"2d18a880","hex_latitude":"072173d8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262681856001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11518385028333568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320644599808,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17: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-08-08 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786182359000,"timestamp_ms":1786182359000,"timestamp_seconds":1786182359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c3d7d8"} 
[2026-08-08 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-08-08 15:17: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-08-08 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 15:17: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-08-08 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-08-08 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-08-08 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262681856001,"66":13906,"106":206,"83":41984,"24":38,"16":11518385028333568,"45":1782440320644599808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262681856001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:17:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11518385028333568,"km_value":11518385028333.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320644599808,"description":"Unknown IO ID 45"} 
[2026-08-08 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262681856001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1782440320644599808}} 
[2026-08-08 15:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":150564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:17:05] local.INFO: GPS data processed {"connection_id":150564,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:17:05] local.INFO: Acknowledgment sent {"connection_id":150564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:17:10] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:17:10] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:17:10] local.INFO: IMEI packet received {"connection_id":151531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":151531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:17:11] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:17:11] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:17:11] local.INFO: Packet analysis {"connection_id":151531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:17:11] local.INFO: Extracted packet for processing {"connection_id":151531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:17:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":151531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:17:11] local.INFO: GPS data processed {"connection_id":151531,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:17:11] local.INFO: Acknowledgment sent {"connection_id":151531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:17:36] local.INFO: TCP Data received {"connection_id":150564,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c4aeb0012d1819000721a148004500c72a..."} 
[2026-08-08 15:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c4aeb0012d1819000721a148004500c72a..."} 
[2026-08-08 15:17:36] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c4aeb0012d1819000721a148004500c72a..."} 
[2026-08-08 15:17:36] local.INFO: Packet analysis {"connection_id":150564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c4"} 
[2026-08-08 15:17:36] local.INFO: Extracted packet for processing {"connection_id":150564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c4"} 
[2026-08-08 15:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119644488,"longitude_deg":75.6553984,"latitude_deg":11.9644488,"altitude":69,"angle":199,"satellites":42,"speed":10,"hex_longitude":"2d181900","hex_latitude":"0721a148","is_valid_coordinates":true} 
[2026-08-08 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262696960001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520313468649472,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654864384,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17: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-08-08 15:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786182414000,"timestamp_ms":1786182414000,"timestamp_seconds":1786182414,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c4aeb0"} 
[2026-08-08 15:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:17: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-08-08 15:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262696960001,"66":13102,"105":206,"83":41984,"24":10,"16":11520313468649472,"45":1737052480654864384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262696960001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:17:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520313468649472,"km_value":11520313468649.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654864384,"description":"Unknown IO ID 45"} 
[2026-08-08 15:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262696960001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737052480654864384}} 
[2026-08-08 15:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":150564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:17:36] local.INFO: GPS data processed {"connection_id":150564,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:17:36] local.INFO: Acknowledgment sent {"connection_id":150564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:17:42] local.INFO: TCP Data received {"connection_id":151531,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:17:42] local.INFO: Processing buffer {"connection_id":151531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:17:42] local.INFO: Packet analysis {"connection_id":151531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:17:42] local.INFO: Extracted packet for processing {"connection_id":151531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:17: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-08-08 15:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:17:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":151531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:17:42] local.INFO: GPS data processed {"connection_id":151531,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:17:42] local.INFO: Acknowledgment sent {"connection_id":151531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:18:02] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:18:02] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:18:02] local.INFO: IMEI packet received {"connection_id":150317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":150317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:18:07] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:18:07] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:18:07] local.INFO: IMEI packet received {"connection_id":150317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":150317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:18:08] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c4b298012d1818800721a068004500b92a..."} 
[2026-08-08 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c4b298012d1818800721a068004500b92a..."} 
[2026-08-08 15:18:08] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c4b298012d1818800721a068004500b92a..."} 
[2026-08-08 15:18:08] local.INFO: Packet analysis {"connection_id":150317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c4"} 
[2026-08-08 15:18:08] local.INFO: Extracted packet for processing {"connection_id":150317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c4"} 
[2026-08-08 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756553856,"raw_latitude":119644264,"longitude_deg":75.6553856,"latitude_deg":11.9644264,"altitude":69,"angle":185,"satellites":42,"speed":8,"hex_longitude":"2d181880","hex_latitude":"0721a068","is_valid_coordinates":true} 
[2026-08-08 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262697984001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520326353551360,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161957025792,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182415000,"timestamp_ms":1786182415000,"timestamp_seconds":1786182415,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c4b298"} 
[2026-08-08 15:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:18: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-08-08 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262697984001,"66":13102,"105":206,"83":41984,"24":8,"16":11520326353551360,"45":1736419161957025792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262697984001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:18:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520326353551360,"km_value":11520326353551.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161957025792,"description":"Unknown IO ID 45"} 
[2026-08-08 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262697984001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736419161957025792}} 
[2026-08-08 15:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":150317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:18:08] local.INFO: GPS data processed {"connection_id":150317,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:18:08] local.INFO: Acknowledgment sent {"connection_id":150317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:18:10] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:18:10] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:18:10] local.INFO: IMEI packet received {"connection_id":151532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":151532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:18:15] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:18:15] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:18:15] local.INFO: IMEI packet received {"connection_id":151532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":151532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:18:16] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:18:16] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:18:16] local.INFO: Packet analysis {"connection_id":151532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:18:16] local.INFO: Extracted packet for processing {"connection_id":151532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:18:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:18:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":151532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:18:16] local.INFO: GPS data processed {"connection_id":151532,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:18:16] local.INFO: Acknowledgment sent {"connection_id":151532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:18:20] local.INFO: TCP Data received {"connection_id":151532,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:18:20] local.INFO: Processing buffer {"connection_id":151532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c17a60012cd4afc007377b10000c00ed30..."} 
[2026-08-08 15:18:20] local.INFO: Packet analysis {"connection_id":151532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:18:20] local.INFO: Extracted packet for processing {"connection_id":151532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c1"} 
[2026-08-08 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":48,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262567168001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786182204000,"timestamp_ms":1786182204000,"timestamp_seconds":1786182204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c17a60"} 
[2026-08-08 15:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:18: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-08-08 15:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 15:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:18: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-08-08 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262567168001,"66":26158,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262567168001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:18:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262567168001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":151532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:18:20] local.INFO: GPS data processed {"connection_id":151532,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:18:20] local.INFO: Acknowledgment sent {"connection_id":151532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:18:39] local.INFO: TCP Data received {"connection_id":150317,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c4b680012d18190007219fb0004500972a..."} 
[2026-08-08 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c4b680012d18190007219fb0004500972a..."} 
[2026-08-08 15:18:39] local.INFO: Processing buffer {"connection_id":150317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c4b680012d18190007219fb0004500972a..."} 
[2026-08-08 15:18:39] local.INFO: Packet analysis {"connection_id":150317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c4"} 
[2026-08-08 15:18:39] local.INFO: Extracted packet for processing {"connection_id":150317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c4"} 
[2026-08-08 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119644080,"longitude_deg":75.6553984,"latitude_deg":11.964408,"altitude":69,"angle":151,"satellites":42,"speed":7,"hex_longitude":"2d181900","hex_latitude":"07219fb0","is_valid_coordinates":true} 
[2026-08-08 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262698240001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520334943485952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736278424468613120,"note":"Value kept but may cause issues"} 
[2026-08-08 15:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786182416000,"timestamp_ms":1786182416000,"timestamp_seconds":1786182416,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c4b680"} 
[2026-08-08 15:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:18: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-08-08 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262698240001,"66":13102,"105":206,"83":41984,"24":7,"16":11520334943485952,"45":1736278424468613120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262698240001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:18:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520334943485952,"km_value":11520334943485.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736278424468613120,"description":"Unknown IO ID 45"} 
[2026-08-08 15:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262698240001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736278424468613120}} 
[2026-08-08 15:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":150317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:18:39] local.INFO: GPS data processed {"connection_id":150317,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:18:39] local.INFO: Acknowledgment sent {"connection_id":150317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:19:02] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:19:02] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:19:02] local.INFO: IMEI packet received {"connection_id":150565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":150565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:19:03] local.INFO: TCP Data received {"connection_id":150566,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:03] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:03] local.INFO: IMEI packet received {"connection_id":150566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":150566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:19:04] local.INFO: TCP Data received {"connection_id":150566,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:04] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:04] local.INFO: IMEI packet received {"connection_id":150566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":150566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:19:07] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:19:07] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:19:07] local.INFO: IMEI packet received {"connection_id":150565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":150565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:19:08] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c50888012d18194007219f000044009728..."} 
[2026-08-08 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c50888012d18194007219f000044009728..."} 
[2026-08-08 15:19:08] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c50888012d18194007219f000044009728..."} 
[2026-08-08 15:19:08] local.INFO: Packet analysis {"connection_id":150565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:19:08] local.INFO: Extracted packet for processing {"connection_id":150565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":40,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262698496001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161956921344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182437000,"timestamp_ms":1786182437000,"timestamp_seconds":1786182437,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c50888"} 
[2026-08-08 15:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:19: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-08-08 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262698496001,"66":13004,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736419161956921344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262698496001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:19:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161956921344,"description":"Unknown IO ID 45"} 
[2026-08-08 15:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262698496001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736419161956921344}} 
[2026-08-08 15:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":150565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:19:08] local.INFO: GPS data processed {"connection_id":150565,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:19:08] local.INFO: Acknowledgment sent {"connection_id":150565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:19:10] local.INFO: TCP Data received {"connection_id":150566,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:10] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:19:10] local.INFO: IMEI packet received {"connection_id":150566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":150566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:19:11] local.INFO: TCP Data received {"connection_id":150566,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:19:11] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:19:11] local.INFO: Packet analysis {"connection_id":150566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:19:11] local.INFO: Extracted packet for processing {"connection_id":150566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15: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-08-08 15:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":150566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:19:11] local.INFO: GPS data processed {"connection_id":150566,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:19:11] local.INFO: Acknowledgment sent {"connection_id":150566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:19:39] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c55a90012d18194007219f000044009724..."} 
[2026-08-08 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c55a90012d18194007219f000044009724..."} 
[2026-08-08 15:19:39] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c55a90012d18194007219f000044009724..."} 
[2026-08-08 15:19:39] local.INFO: Packet analysis {"connection_id":150565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:19:39] local.INFO: Extracted packet for processing {"connection_id":150565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262703872001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786182458000,"timestamp_ms":1786182458000,"timestamp_seconds":1786182458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c55a90"} 
[2026-08-08 15:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:19: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-08-08 15: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 15:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262703872001,"66":12950,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262703872001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:19:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262703872001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":150565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:19:39] local.INFO: GPS data processed {"connection_id":150565,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:19:39] local.INFO: Acknowledgment sent {"connection_id":150565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:19:43] local.INFO: TCP Data received {"connection_id":150566,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:19:43] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:19:43] local.INFO: Packet analysis {"connection_id":150566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:19:43] local.INFO: Extracted packet for processing {"connection_id":150566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:19: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-08-08 15:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:19:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":150566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:19:43] local.INFO: GPS data processed {"connection_id":150566,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:19:43] local.INFO: Acknowledgment sent {"connection_id":150566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:20:01] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:01] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:01] local.INFO: IMEI packet received {"connection_id":151533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":151533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:20:02] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:02] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:02] local.INFO: IMEI packet received {"connection_id":151533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":151533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:20:04] local.INFO: TCP Data received {"connection_id":153019,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:20:04] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:20:04] local.INFO: IMEI packet received {"connection_id":153019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":153019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:20:07] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:07] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:20:07] local.INFO: IMEI packet received {"connection_id":151533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":151533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:20:08] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c5ac98012d18194007219f000044009724..."} 
[2026-08-08 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c5ac98012d18194007219f000044009724..."} 
[2026-08-08 15:20:08] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c5ac98012d18194007219f000044009724..."} 
[2026-08-08 15:20:08] local.INFO: Packet analysis {"connection_id":151533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:20:08] local.INFO: Extracted packet for processing {"connection_id":151533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262709248001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182479000,"timestamp_ms":1786182479000,"timestamp_seconds":1786182479,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c5ac98"} 
[2026-08-08 15:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:20: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-08-08 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 15:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262709248001,"66":12885,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262709248001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:20:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:20:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262709248001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":151533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:20:08] local.INFO: GPS data processed {"connection_id":151533,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:20:08] local.INFO: Acknowledgment sent {"connection_id":151533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:20:10] local.INFO: TCP Data received {"connection_id":153019,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:20:10] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:20:10] local.INFO: IMEI packet received {"connection_id":153019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":153019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:20:12] local.INFO: TCP Data received {"connection_id":153019,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:20:12] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:20:12] local.INFO: Packet analysis {"connection_id":153019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:20:12] local.INFO: Extracted packet for processing {"connection_id":153019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:20: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-08-08 15:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:20:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":153019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:20:12] local.INFO: GPS data processed {"connection_id":153019,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:20:12] local.INFO: Acknowledgment sent {"connection_id":153019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:20:39] local.INFO: TCP Data received {"connection_id":151533,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c5fea0012d18194007219f000044009729..."} 
[2026-08-08 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c5fea0012d18194007219f000044009729..."} 
[2026-08-08 15:20:39] local.INFO: Processing buffer {"connection_id":151533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c5fea0012d18194007219f000044009729..."} 
[2026-08-08 15:20:39] local.INFO: Packet analysis {"connection_id":151533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:20:39] local.INFO: Extracted packet for processing {"connection_id":151533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c5"} 
[2026-08-08 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262714624001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786182500000,"timestamp_ms":1786182500000,"timestamp_seconds":1786182500,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c5fea0"} 
[2026-08-08 15:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:20: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-08-08 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:20: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-08-08 15:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262714624001,"66":12841,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262714624001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262714624001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":151533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:20:39] local.INFO: GPS data processed {"connection_id":151533,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:20:39] local.INFO: Acknowledgment sent {"connection_id":151533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:20:44] local.INFO: TCP Data received {"connection_id":153019,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:20:44] local.INFO: Processing buffer {"connection_id":153019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:20:44] local.INFO: Packet analysis {"connection_id":153019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:20:44] local.INFO: Extracted packet for processing {"connection_id":153019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:20:44] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:20: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-08-08 15:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:20:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":153019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:20:44] local.INFO: GPS data processed {"connection_id":153019,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:20:44] local.INFO: Acknowledgment sent {"connection_id":153019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:21:02] local.INFO: TCP Data received {"connection_id":151534,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:02] local.INFO: Processing buffer {"connection_id":151534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:02] local.INFO: IMEI packet received {"connection_id":151534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":151534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:21:04] local.INFO: TCP Data received {"connection_id":151534,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:04] local.INFO: Processing buffer {"connection_id":151534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:04] local.INFO: IMEI packet received {"connection_id":151534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:21:05] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:21:05] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:21:05] local.INFO: IMEI packet received {"connection_id":153020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":153020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:21:07] local.INFO: TCP Data received {"connection_id":151534,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:07] local.INFO: Processing buffer {"connection_id":151534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:21:07] local.INFO: IMEI packet received {"connection_id":151534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":151534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:21:08] local.INFO: TCP Data received {"connection_id":151534,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c650a8012d18194007219f00004400972a..."} 
[2026-08-08 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c650a8012d18194007219f00004400972a..."} 
[2026-08-08 15:21:08] local.INFO: Processing buffer {"connection_id":151534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c650a8012d18194007219f00004400972a..."} 
[2026-08-08 15:21:08] local.INFO: Packet analysis {"connection_id":151534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:08] local.INFO: Extracted packet for processing {"connection_id":151534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262720000001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182521000,"timestamp_ms":1786182521000,"timestamp_seconds":1786182521,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c650a8"} 
[2026-08-08 15:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:21: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-08-08 15:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 15:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262720000001,"66":12809,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262720000001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:21:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262720000001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":151534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:21:08] local.INFO: GPS data processed {"connection_id":151534,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:21:08] local.INFO: Acknowledgment sent {"connection_id":151534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:21:11] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:21:11] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:21:11] local.INFO: IMEI packet received {"connection_id":153020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":153020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:21:12] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:21:12] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:21:12] local.INFO: Packet analysis {"connection_id":153020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:12] local.INFO: Extracted packet for processing {"connection_id":153020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":153020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:21:12] local.INFO: GPS data processed {"connection_id":153020,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:21:12] local.INFO: Acknowledgment sent {"connection_id":153020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:21:39] local.INFO: TCP Data received {"connection_id":151534,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c6a2b0012d18194007219f000044009729..."} 
[2026-08-08 15:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c6a2b0012d18194007219f000044009729..."} 
[2026-08-08 15:21:39] local.INFO: Processing buffer {"connection_id":151534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c6a2b0012d18194007219f000044009729..."} 
[2026-08-08 15:21:39] local.INFO: Packet analysis {"connection_id":151534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:39] local.INFO: Extracted packet for processing {"connection_id":151534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262725376001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786182542000,"timestamp_ms":1786182542000,"timestamp_seconds":1786182542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c6a2b0"} 
[2026-08-08 15:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:21: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-08-08 15:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3770987160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-4274285477230012160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2667577412,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875182656573011,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3987668992,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2423297240496916266,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,237,159,254,45,64,68,41,10,66,172,36,90,1,240,150,227,224,33,4,113,205,182,25,176,42,239,51,2,40,7,69,8,164,173],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 15:21:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900082601223520256,"timestamp_seconds":4900082601223520.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262725376001,"66":12809,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262725376001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:21:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262725376001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":151534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:21:39] local.INFO: GPS data processed {"connection_id":151534,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:21:39] local.INFO: Acknowledgment sent {"connection_id":151534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:21:44] local.INFO: TCP Data received {"connection_id":153020,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:21:44] local.INFO: Processing buffer {"connection_id":153020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:21:44] local.INFO: Packet analysis {"connection_id":153020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:44] local.INFO: Extracted packet for processing {"connection_id":153020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:21:44] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:21: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-08-08 15:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:21:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":153020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:21:44] local.INFO: GPS data processed {"connection_id":153020,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:21:44] local.INFO: Acknowledgment sent {"connection_id":153020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:22:02] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:22:02] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:22:02] local.INFO: IMEI packet received {"connection_id":150567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":150567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:22:07] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:22:07] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:22:07] local.INFO: IMEI packet received {"connection_id":150567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":150567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:22:07] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c6f4b8012d18194007219f000044009729..."} 
[2026-08-08 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c6f4b8012d18194007219f000044009729..."} 
[2026-08-08 15:22:07] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c6f4b8012d18194007219f000044009729..."} 
[2026-08-08 15:22:07] local.INFO: Packet analysis {"connection_id":150567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:22:07] local.INFO: Extracted packet for processing {"connection_id":150567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":41,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262730752001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786182563000,"timestamp_ms":1786182563000,"timestamp_seconds":1786182563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c6f4b8"} 
[2026-08-08 15:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3770988160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-4273185965602236288,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2667577412,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3987800064,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604650,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2423050949892290858,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875182656573011,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,237,159,80,45,64,68,42,10,66,254,41,172,1,240,85,227,224,33,4,113,205,8,25,40,239,50,2,7,69,51,164,175],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 15:22:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900082596928552960,"timestamp_seconds":4900082596928553.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262730752001,"66":12722,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262730752001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262730752001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":150567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:22:07] local.INFO: GPS data processed {"connection_id":150567,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:22:07] local.INFO: Acknowledgment sent {"connection_id":150567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:22:09] local.INFO: TCP Data received {"connection_id":153021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:22:09] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:22:09] local.INFO: IMEI packet received {"connection_id":153021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":153021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:22:15] local.INFO: TCP Data received {"connection_id":153021,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:22:15] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:22:15] local.INFO: IMEI packet received {"connection_id":153021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":153021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:22:16] local.INFO: TCP Data received {"connection_id":153021,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:22:16] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:22:16] local.INFO: Packet analysis {"connection_id":153021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:22:16] local.INFO: Extracted packet for processing {"connection_id":153021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:22:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:22:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:22:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":153021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:22:16] local.INFO: GPS data processed {"connection_id":153021,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:22:16] local.INFO: Acknowledgment sent {"connection_id":153021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:22:38] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c88ee0012d18194007219f00004400972a..."} 
[2026-08-08 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c88ee0012d18194007219f00004400972a..."} 
[2026-08-08 15:22:38] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c88ee0012d18194007219f00004400972a..."} 
[2026-08-08 15:22:38] local.INFO: Packet analysis {"connection_id":150567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c8"} 
[2026-08-08 15:22:38] local.INFO: Extracted packet for processing {"connection_id":150567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c8"} 
[2026-08-08 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262763008001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786182668000,"timestamp_ms":1786182668000,"timestamp_seconds":1786182668,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c88ee0"} 
[2026-08-08 15:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 15:22: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-08-08 15:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262763008001,"66":12461,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262763008001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262763008001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":150567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:22:38] local.INFO: GPS data processed {"connection_id":150567,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:22:38] local.INFO: Acknowledgment sent {"connection_id":150567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:22:48] local.INFO: TCP Data received {"connection_id":153021,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:22:48] local.INFO: Processing buffer {"connection_id":153021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:22:48] local.INFO: Packet analysis {"connection_id":153021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:22:48] local.INFO: Extracted packet for processing {"connection_id":153021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:22:48] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:22:48] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:22:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":153021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:22:48] local.INFO: GPS data processed {"connection_id":153021,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:22:48] local.INFO: Acknowledgment sent {"connection_id":153021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:23:02] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:23:02] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:23:02] local.INFO: IMEI packet received {"connection_id":150318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":150318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:23:05] local.INFO: TCP Data received {"connection_id":150568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:23:05] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:23:05] local.INFO: IMEI packet received {"connection_id":150568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":150568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:23:07] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:23:07] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:23:07] local.INFO: IMEI packet received {"connection_id":150318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":150318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:23:08] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c8e0e8012d18194007219f00004400972b..."} 
[2026-08-08 15:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c8e0e8012d18194007219f00004400972b..."} 
[2026-08-08 15:23:08] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c8e0e8012d18194007219f00004400972b..."} 
[2026-08-08 15:23:08] local.INFO: Packet analysis {"connection_id":150318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c8"} 
[2026-08-08 15:23:08] local.INFO: Extracted packet for processing {"connection_id":150318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c8"} 
[2026-08-08 15:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262763008001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182689000,"timestamp_ms":1786182689000,"timestamp_seconds":1786182689,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c8e0e8"} 
[2026-08-08 15:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:23: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-08-08 15:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 15:23: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-08-08 15:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262763008001,"66":13906,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262763008001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262763008001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":150318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:23:08] local.INFO: GPS data processed {"connection_id":150318,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:23:08] local.INFO: Acknowledgment sent {"connection_id":150318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:23:10] local.INFO: TCP Data received {"connection_id":150568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:23:10] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:23:10] local.INFO: IMEI packet received {"connection_id":150568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":150568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:23:11] local.INFO: TCP Data received {"connection_id":150568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:23:11] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:23:11] local.INFO: Packet analysis {"connection_id":150568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:23:11] local.INFO: Extracted packet for processing {"connection_id":150568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:23:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":150568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:23:11] local.INFO: GPS data processed {"connection_id":150568,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:23:11] local.INFO: Acknowledgment sent {"connection_id":150568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:23:39] local.INFO: TCP Data received {"connection_id":150318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c932f0012d18194007219f00004400972a..."} 
[2026-08-08 15:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c932f0012d18194007219f00004400972a..."} 
[2026-08-08 15:23:39] local.INFO: Processing buffer {"connection_id":150318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c932f0012d18194007219f00004400972a..."} 
[2026-08-08 15:23:39] local.INFO: Packet analysis {"connection_id":150318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c9"} 
[2026-08-08 15:23:39] local.INFO: Extracted packet for processing {"connection_id":150318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c9"} 
[2026-08-08 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643904,"longitude_deg":75.6554048,"latitude_deg":11.9643904,"altitude":68,"angle":151,"satellites":42,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219f00","is_valid_coordinates":true} 
[2026-08-08 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262768384001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520343533420544,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701053952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786182710000,"timestamp_ms":1786182710000,"timestamp_seconds":1786182710,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c932f0"} 
[2026-08-08 15:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:23: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-08-08 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 15:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262768384001,"66":14004,"105":206,"83":41984,"24":0,"16":11520343533420544,"45":1736489530701053952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 15:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262768384001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:23:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 15:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520343533420544,"km_value":11520343533420.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701053952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262768384001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701053952}} 
[2026-08-08 15:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":150318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:23:39] local.INFO: GPS data processed {"connection_id":150318,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:23:39] local.INFO: Acknowledgment sent {"connection_id":150318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:23:43] local.INFO: TCP Data received {"connection_id":150568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:23:43] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0c61228012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:23:43] local.INFO: Packet analysis {"connection_id":150568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:23:43] local.INFO: Extracted packet for processing {"connection_id":150568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0c6"} 
[2026-08-08 15:23:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262644224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786182505000,"timestamp_ms":1786182505000,"timestamp_seconds":1786182505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0c61228"} 
[2026-08-08 15:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262644224001,"66":25973,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262644224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:23:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:23:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262644224001,"power":25973,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":150568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:23:43] local.INFO: GPS data processed {"connection_id":150568,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:23:43] local.INFO: Acknowledgment sent {"connection_id":150568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:24:03] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:03] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:03] local.INFO: IMEI packet received {"connection_id":150319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":150319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:24:04] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:04] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:04] local.INFO: IMEI packet received {"connection_id":150319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":150319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:24:07] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:07] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:07] local.INFO: IMEI packet received {"connection_id":150320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":150320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:24:08] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:08] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:08] local.INFO: IMEI packet received {"connection_id":150320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":150320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:24:09] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:09] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:24:09] local.INFO: IMEI packet received {"connection_id":150320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":150320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:24:10] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ca2908012d18344007219698004c007328..."} 
[2026-08-08 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ca2908012d18344007219698004c007328..."} 
[2026-08-08 15:24:10] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ca2908012d18344007219698004c007328..."} 
[2026-08-08 15:24:10] local.INFO: Packet analysis {"connection_id":150320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:10] local.INFO: Extracted packet for processing {"connection_id":150320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119641752,"longitude_deg":75.656096,"latitude_deg":11.9641752,"altitude":76,"angle":115,"satellites":40,"speed":24,"hex_longitude":"2d183440","hex_latitude":"07219698","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262786304001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11520807389888512,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003481600,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786182773000,"timestamp_ms":1786182773000,"timestamp_seconds":1786182773,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ca2908"} 
[2026-08-08 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-08-08 15:24: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-08-08 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 15:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262786304001,"66":13678,"106":206,"83":41984,"24":24,"16":11520807389888512,"45":1738882068003481600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262786304001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:24:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11520807389888512,"km_value":11520807389888.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003481600,"description":"Unknown IO ID 45"} 
[2026-08-08 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262786304001,"power":13678,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1738882068003481600}} 
[2026-08-08 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":150320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:24:10] local.INFO: GPS data processed {"connection_id":150320,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:24:10] local.INFO: Acknowledgment sent {"connection_id":150320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:24:10] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:10] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:24:10] local.INFO: IMEI packet received {"connection_id":150319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":150319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:24:11] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:24:11] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:24:11] local.INFO: Packet analysis {"connection_id":150319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:11] local.INFO: Extracted packet for processing {"connection_id":150319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:24: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-08-08 15:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:24: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-08-08 15:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:24:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":150319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:24:11] local.INFO: GPS data processed {"connection_id":150319,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:24:11] local.INFO: Acknowledgment sent {"connection_id":150319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:24:12] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ca57e8012d18568007218850004d007527..."} 
[2026-08-08 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ca57e8012d18568007218850004d007527..."} 
[2026-08-08 15:24:12] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ca57e8012d18568007218850004d007527..."} 
[2026-08-08 15:24:12] local.INFO: Packet analysis {"connection_id":150320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:12] local.INFO: Extracted packet for processing {"connection_id":150320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756569728,"raw_latitude":119638096,"longitude_deg":75.6569728,"latitude_deg":11.9638096,"altitude":77,"angle":117,"satellites":39,"speed":38,"hex_longitude":"2d185680","hex_latitude":"07218850","is_valid_coordinates":true} 
[2026-08-08 15:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262789888001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11521262656421888,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071690752,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786182785000,"timestamp_ms":1786182785000,"timestamp_seconds":1786182785,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ca57e8"} 
[2026-08-08 15:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 15:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262789888001,"66":14363,"106":206,"83":41984,"24":38,"16":11521262656421888,"45":1744089355071690752},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262789888001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:24:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11521262656421888,"km_value":11521262656421.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071690752,"description":"Unknown IO ID 45"} 
[2026-08-08 15:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262789888001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1744089355071690752}} 
[2026-08-08 15:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":150320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:24:13] local.INFO: GPS data processed {"connection_id":150320,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:24:13] local.INFO: Acknowledgment sent {"connection_id":150320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:24:42] local.INFO: TCP Data received {"connection_id":150319,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:24:42] local.INFO: Processing buffer {"connection_id":150319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:24:42] local.INFO: Packet analysis {"connection_id":150319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:42] local.INFO: Extracted packet for processing {"connection_id":150319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:24: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-08-08 15:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:24:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":150319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:24:42] local.INFO: GPS data processed {"connection_id":150319,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:24:42] local.INFO: Acknowledgment sent {"connection_id":150319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:24:44] local.INFO: TCP Data received {"connection_id":150320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cb26f0012d18d44007210a98004000a624..."} 
[2026-08-08 15:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cb26f0012d18d44007210a98004000a624..."} 
[2026-08-08 15:24:44] local.INFO: Processing buffer {"connection_id":150320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cb26f0012d18d44007210a98004000a624..."} 
[2026-08-08 15:24:44] local.INFO: Packet analysis {"connection_id":150320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cb"} 
[2026-08-08 15:24:44] local.INFO: Extracted packet for processing {"connection_id":150320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cb"} 
[2026-08-08 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119605912,"longitude_deg":75.660192,"latitude_deg":11.9605912,"altitude":64,"angle":166,"satellites":36,"speed":42,"hex_longitude":"2d18d440","hex_latitude":"07210a98","is_valid_coordinates":true} 
[2026-08-08 15:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262805248001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11523775212290048,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105063936,"note":"Value kept but may cause issues"} 
[2026-08-08 15:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786182838000,"timestamp_ms":1786182838000,"timestamp_seconds":1786182838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cb26f0"} 
[2026-08-08 15:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:24: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-08-08 15:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 15:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262805248001,"66":14341,"103":206,"83":41984,"24":42,"16":11523775212290048,"45":1788914245105063936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262805248001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:24:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11523775212290048,"km_value":11523775212290.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105063936,"description":"Unknown IO ID 45"} 
[2026-08-08 15:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262805248001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1788914245105063936}} 
[2026-08-08 15:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":150320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:24:44] local.INFO: GPS data processed {"connection_id":150320,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:24:44] local.INFO: Acknowledgment sent {"connection_id":150320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:25:00] local.INFO: TCP Data received {"connection_id":150569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:00] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:00] local.INFO: IMEI packet received {"connection_id":150569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":150569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:25:02] local.INFO: TCP Data received {"connection_id":150569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:02] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:02] local.INFO: IMEI packet received {"connection_id":150569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":150569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:25:05] local.INFO: TCP Data received {"connection_id":150570,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:25:05] local.INFO: Processing buffer {"connection_id":150570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:25:05] local.INFO: IMEI packet received {"connection_id":150570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":150570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:25:06] local.INFO: TCP Data received {"connection_id":150569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:06] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:25:06] local.INFO: IMEI packet received {"connection_id":150569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":150569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:25:07] local.INFO: TCP Data received {"connection_id":150569,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cb32a8012d18d8800720fe68003e009824..."} 
[2026-08-08 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cb32a8012d18d8800720fe68003e009824..."} 
[2026-08-08 15:25:07] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cb32a8012d18d8800720fe68003e009824..."} 
[2026-08-08 15:25:07] local.INFO: Packet analysis {"connection_id":150569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cb"} 
[2026-08-08 15:25:07] local.INFO: Extracted packet for processing {"connection_id":150569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cb"} 
[2026-08-08 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756603008,"raw_latitude":119602792,"longitude_deg":75.6603008,"latitude_deg":11.9602792,"altitude":62,"angle":152,"satellites":36,"speed":43,"hex_longitude":"2d18d880","hex_latitude":"0720fe68","is_valid_coordinates":true} 
[2026-08-08 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262806528001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11523934126080000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336220672,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25: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-08-08 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786182841000,"timestamp_ms":1786182841000,"timestamp_seconds":1786182841,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cb32a8"} 
[2026-08-08 15:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977276605,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3771391160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503775452266496,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3404998657,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221692745,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4027580416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751127216071018,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.WARNING: Large IO value detected {"io_id":88,"raw_value":21111246711432704,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,240,159,19,45,128,31,66,41,10,11,192,39,67,251,1,38,227,224,33,4,113,205,37,228,197,239,56,2,40,7,70,36,206,120,88],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-08 15:25:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611868691979173888,"timestamp_seconds":4611868691979174.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262806528001,"66":14276,"103":206,"83":41984,"24":43,"16":11523934126080000,"45":1789125351336220672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262806528001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11523934126080000,"km_value":11523934126080,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336220672,"description":"Unknown IO ID 45"} 
[2026-08-08 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262806528001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1789125351336220672}} 
[2026-08-08 15:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":150569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:25:07] local.INFO: GPS data processed {"connection_id":150569,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:25:07] local.INFO: Acknowledgment sent {"connection_id":150569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:25:10] local.INFO: TCP Data received {"connection_id":150570,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:25:10] local.INFO: Processing buffer {"connection_id":150570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:25:10] local.INFO: IMEI packet received {"connection_id":150570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":150570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:25:11] local.INFO: TCP Data received {"connection_id":150570,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:25:11] local.INFO: Processing buffer {"connection_id":150570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:25:11] local.INFO: Packet analysis {"connection_id":150570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:25:11] local.INFO: Extracted packet for processing {"connection_id":150570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 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-08-08 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:25: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-08-08 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-08-08 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-08-08 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:25:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":150570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:25:11] local.INFO: GPS data processed {"connection_id":150570,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:25:11] local.INFO: Acknowledgment sent {"connection_id":150570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:25:38] local.INFO: TCP Data received {"connection_id":150569,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cbe658012d198c000720b328002a005426..."} 
[2026-08-08 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cbe658012d198c000720b328002a005426..."} 
[2026-08-08 15:25:38] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cbe658012d198c000720b328002a005426..."} 
[2026-08-08 15:25:38] local.INFO: Packet analysis {"connection_id":150569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cb"} 
[2026-08-08 15:25:38] local.INFO: Extracted packet for processing {"connection_id":150569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cb"} 
[2026-08-08 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583528,"longitude_deg":75.664896,"latitude_deg":11.9583528,"altitude":42,"angle":84,"satellites":38,"speed":37,"hex_longitude":"2d198c00","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-08-08 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262817280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11526506811490304,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816441157632,"note":"Value kept but may cause issues"} 
[2026-08-08 15: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-08-08 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786182887000,"timestamp_ms":1786182887000,"timestamp_seconds":1786182887,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cbe658"} 
[2026-08-08 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:25: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-08-08 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-08 15:25: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-08-08 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262817280001,"66":14298,"103":206,"83":41984,"24":37,"16":11526506811490304,"45":1833105816441157632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262817280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:25:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11526506811490304,"km_value":11526506811490.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816441157632,"description":"Unknown IO ID 45"} 
[2026-08-08 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262817280001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1833105816441157632}} 
[2026-08-08 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":150569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:25:38] local.INFO: GPS data processed {"connection_id":150569,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:25:38] local.INFO: Acknowledgment sent {"connection_id":150569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:25:42] local.INFO: TCP Data received {"connection_id":150570,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:25:42] local.INFO: Processing buffer {"connection_id":150570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:25:42] local.INFO: Packet analysis {"connection_id":150570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:25:42] local.INFO: Extracted packet for processing {"connection_id":150570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 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-08-08 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:25:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":150570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:25:42] local.INFO: GPS data processed {"connection_id":150570,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:25:42] local.INFO: Acknowledgment sent {"connection_id":150570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:26:01] local.INFO: TCP Data received {"connection_id":150321,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:01] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:01] local.INFO: IMEI packet received {"connection_id":150321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":150321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:26:02] local.INFO: TCP Data received {"connection_id":150321,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:02] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:02] local.INFO: IMEI packet received {"connection_id":150321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":150321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:26:05] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:26:05] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:26:05] local.INFO: IMEI packet received {"connection_id":151535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":151535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:26:07] local.INFO: TCP Data received {"connection_id":150321,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:07] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:26:07] local.INFO: IMEI packet received {"connection_id":150321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":150321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:26:08] local.INFO: TCP Data received {"connection_id":150321,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cc4800012d19ad4007208a30002000b825..."} 
[2026-08-08 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cc4800012d19ad4007208a30002000b825..."} 
[2026-08-08 15:26:08] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cc4800012d19ad4007208a30002000b825..."} 
[2026-08-08 15:26:08] local.INFO: Packet analysis {"connection_id":150321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cc"} 
[2026-08-08 15:26:08] local.INFO: Extracted packet for processing {"connection_id":150321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cc"} 
[2026-08-08 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573040,"longitude_deg":75.6657472,"latitude_deg":11.957304,"altitude":32,"angle":184,"satellites":37,"speed":34,"hex_longitude":"2d19ad40","hex_latitude":"07208a30","is_valid_coordinates":true} 
[2026-08-08 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262824960001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527559078477824,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251209728,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786182912000,"timestamp_ms":1786182912000,"timestamp_seconds":1786182912,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cc4800"} 
[2026-08-08 15:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:26: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-08-08 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 15:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262824960001,"66":14048,"103":206,"83":41984,"24":34,"16":11527559078477824,"45":1850486896251209728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262824960001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:26:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527559078477824,"km_value":11527559078477.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251209728,"description":"Unknown IO ID 45"} 
[2026-08-08 15:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262824960001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850486896251209728}} 
[2026-08-08 15:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":150321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:26:08] local.INFO: GPS data processed {"connection_id":150321,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:26:08] local.INFO: Acknowledgment sent {"connection_id":150321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:26:10] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:26:10] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:26:10] local.INFO: IMEI packet received {"connection_id":151535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":151535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:26:11] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:26:11] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:26:11] local.INFO: Packet analysis {"connection_id":151535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:26:11] local.INFO: Extracted packet for processing {"connection_id":151535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:26: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-08-08 15:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":151535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:26:11] local.INFO: GPS data processed {"connection_id":151535,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:26:11] local.INFO: Acknowledgment sent {"connection_id":151535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:26:39] local.INFO: TCP Data received {"connection_id":150321,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cc4fd0012d19af0007208210002000aa26..."} 
[2026-08-08 15:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cc4fd0012d19af0007208210002000aa26..."} 
[2026-08-08 15:26:39] local.INFO: Processing buffer {"connection_id":150321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cc4fd0012d19af0007208210002000aa26..."} 
[2026-08-08 15:26:39] local.INFO: Packet analysis {"connection_id":150321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cc"} 
[2026-08-08 15:26:39] local.INFO: Extracted packet for processing {"connection_id":150321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cc"} 
[2026-08-08 15:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119570960,"longitude_deg":75.665792,"latitude_deg":11.957096,"altitude":32,"angle":170,"satellites":38,"speed":41,"hex_longitude":"2d19af00","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-08-08 15:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262825472001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527662157692928,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274017792,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786182914000,"timestamp_ms":1786182914000,"timestamp_seconds":1786182914,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cc4fd0"} 
[2026-08-08 15:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:26: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-08-08 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 15:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262825472001,"66":14374,"103":206,"83":41984,"24":41,"16":11527662157692928,"45":1850205421274017792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262825472001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:26:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527662157692928,"km_value":11527662157692.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274017792,"description":"Unknown IO ID 45"} 
[2026-08-08 15:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262825472001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1850205421274017792}} 
[2026-08-08 15:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":150321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:26:39] local.INFO: GPS data processed {"connection_id":150321,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:26:39] local.INFO: Acknowledgment sent {"connection_id":150321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:26:42] local.INFO: TCP Data received {"connection_id":151535,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:26:42] local.INFO: Processing buffer {"connection_id":151535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:26:42] local.INFO: Packet analysis {"connection_id":151535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:26:42] local.INFO: Extracted packet for processing {"connection_id":151535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:26: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-08-08 15:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:26:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":151535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:26:42] local.INFO: GPS data processed {"connection_id":151535,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:26:42] local.INFO: Acknowledgment sent {"connection_id":151535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:27:02] local.INFO: TCP Data received {"connection_id":150571,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:27:02] local.INFO: Processing buffer {"connection_id":150571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:27:02] local.INFO: IMEI packet received {"connection_id":150571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":150571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:27:05] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:27:05] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:27:05] local.INFO: IMEI packet received {"connection_id":150572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":150572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:27:05] local.INFO: TCP Data received {"connection_id":150571,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:27:05] local.INFO: Processing buffer {"connection_id":150571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:27:05] local.INFO: IMEI packet received {"connection_id":150571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":150571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:27:06] local.INFO: TCP Data received {"connection_id":150571,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cc6358012d19b60007206d20001f009f29..."} 
[2026-08-08 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cc6358012d19b60007206d20001f009f29..."} 
[2026-08-08 15:27:06] local.INFO: Processing buffer {"connection_id":150571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cc6358012d19b60007206d20001f009f29..."} 
[2026-08-08 15:27:06] local.INFO: Packet analysis {"connection_id":150571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cc"} 
[2026-08-08 15:27:06] local.INFO: Extracted packet for processing {"connection_id":150571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cc"} 
[2026-08-08 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119565600,"longitude_deg":75.6659712,"latitude_deg":11.95656,"altitude":31,"angle":159,"satellites":41,"speed":43,"hex_longitude":"2d19b600","hex_latitude":"07206d20","is_valid_coordinates":true} 
[2026-08-08 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262825984001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11527932740632576,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002482728960,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27: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-08-08 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786182919000,"timestamp_ms":1786182919000,"timestamp_seconds":1786182919,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cc6358"} 
[2026-08-08 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262825984001,"66":14363,"101":206,"83":41984,"24":43,"16":11527932740632576,"45":1850698002482728960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262825984001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11527932740632576,"km_value":11527932740632.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002482728960,"description":"Unknown IO ID 45"} 
[2026-08-08 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262825984001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1850698002482728960}} 
[2026-08-08 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":150571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:27:06] local.INFO: GPS data processed {"connection_id":150571,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:27:06] local.INFO: Acknowledgment sent {"connection_id":150571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:27:10] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:27:10] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:27:10] local.INFO: IMEI packet received {"connection_id":150572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":150572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:27:11] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:27:11] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:27:11] local.INFO: Packet analysis {"connection_id":150572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:27:11] local.INFO: Extracted packet for processing {"connection_id":150572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:27: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-08-08 15:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:27: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-08-08 15:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:27:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":150572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:27:11] local.INFO: GPS data processed {"connection_id":150572,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:27:11] local.INFO: Acknowledgment sent {"connection_id":150572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:27:37] local.INFO: TCP Data received {"connection_id":150571,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cdbb18012d1a73c0071fd318002e008626..."} 
[2026-08-08 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cdbb18012d1a73c0071fd318002e008626..."} 
[2026-08-08 15:27:37] local.INFO: Processing buffer {"connection_id":150571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cdbb18012d1a73c0071fd318002e008626..."} 
[2026-08-08 15:27:37] local.INFO: Packet analysis {"connection_id":150571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cd"} 
[2026-08-08 15:27:37] local.INFO: Extracted packet for processing {"connection_id":150571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cd"} 
[2026-08-08 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756708288,"raw_latitude":119526168,"longitude_deg":75.6708288,"latitude_deg":11.9526168,"altitude":46,"angle":134,"satellites":38,"speed":36,"hex_longitude":"2d1a73c0","hex_latitude":"071fd318","is_valid_coordinates":true} 
[2026-08-08 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262849280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11531312879894528,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904530091767470080,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27: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-08-08 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786183007000,"timestamp_ms":1786183007000,"timestamp_seconds":1786183007,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cdbb18"} 
[2026-08-08 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:27: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-08-08 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 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-08-08 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262849280001,"66":13993,"101":206,"83":41984,"24":36,"16":11531312879894528,"45":1904530091767470080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262849280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11531312879894528,"km_value":11531312879894.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904530091767470080,"description":"Unknown IO ID 45"} 
[2026-08-08 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262849280001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1904530091767470080}} 
[2026-08-08 15:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":150571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:27:37] local.INFO: GPS data processed {"connection_id":150571,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:27:37] local.INFO: Acknowledgment sent {"connection_id":150571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:27:42] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:27:42] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:27:42] local.INFO: Packet analysis {"connection_id":150572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:27:42] local.INFO: Extracted packet for processing {"connection_id":150572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:27:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:27: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-08-08 15:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:27:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":150572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:27:42] local.INFO: GPS data processed {"connection_id":150572,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:27:42] local.INFO: Acknowledgment sent {"connection_id":150572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:28:04] local.INFO: TCP Data received {"connection_id":150323,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:28:04] local.INFO: Processing buffer {"connection_id":150323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:28:04] local.INFO: IMEI packet received {"connection_id":150323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":150323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:28:05] local.INFO: TCP Data received {"connection_id":150322,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:05] local.INFO: Processing buffer {"connection_id":150322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:05] local.INFO: IMEI packet received {"connection_id":150322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":150322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:28:09] local.INFO: TCP Data received {"connection_id":150322,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:09] local.INFO: Processing buffer {"connection_id":150322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:09] local.INFO: IMEI packet received {"connection_id":150322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":150322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:28:09] local.INFO: TCP Data received {"connection_id":150323,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:28:09] local.INFO: Processing buffer {"connection_id":150323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:28:09] local.INFO: IMEI packet received {"connection_id":150323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":150323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:28:09] local.INFO: TCP Data received {"connection_id":150322,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:09] local.INFO: Processing buffer {"connection_id":150322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:28:09] local.INFO: IMEI packet received {"connection_id":150322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":150322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:28:10] local.INFO: TCP Data received {"connection_id":150322,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ce3818012d1ac600071f88f8003600b125..."} 
[2026-08-08 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ce3818012d1ac600071f88f8003600b125..."} 
[2026-08-08 15:28:10] local.INFO: Processing buffer {"connection_id":150322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ce3818012d1ac600071f88f8003600b125..."} 
[2026-08-08 15:28:10] local.INFO: Packet analysis {"connection_id":150322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ce"} 
[2026-08-08 15:28:10] local.INFO: Extracted packet for processing {"connection_id":150322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ce"} 
[2026-08-08 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756729344,"raw_latitude":119507192,"longitude_deg":75.6729344,"latitude_deg":11.9507192,"altitude":54,"angle":177,"satellites":37,"speed":30,"hex_longitude":"2d1ac600","hex_latitude":"071f88f8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262857728001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532755988905984,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929229520968867840,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786183039000,"timestamp_ms":1786183039000,"timestamp_seconds":1786183039,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ce3818"} 
[2026-08-08 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-08-08 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 15:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262857728001,"66":13993,"101":206,"83":41984,"24":30,"16":11532755988905984,"45":1929229520968867840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262857728001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532755988905984,"km_value":11532755988905.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929229520968867840,"description":"Unknown IO ID 45"} 
[2026-08-08 15:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262857728001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1929229520968867840}} 
[2026-08-08 15:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":150322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:28:10] local.INFO: GPS data processed {"connection_id":150322,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:28:10] local.INFO: Acknowledgment sent {"connection_id":150322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:28:10] local.INFO: TCP Data received {"connection_id":150323,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:28:10] local.INFO: Processing buffer {"connection_id":150323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:28:10] local.INFO: Packet analysis {"connection_id":150323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:28:10] local.INFO: Extracted packet for processing {"connection_id":150323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 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-08-08 15:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":150323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:28:10] local.INFO: GPS data processed {"connection_id":150323,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:28:10] local.INFO: Acknowledgment sent {"connection_id":150323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:28:12] local.INFO: TCP Data received {"connection_id":150322,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ce3c00012d1ac540071f85e8003600be25..."} 
[2026-08-08 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ce3c00012d1ac540071f85e8003600be25..."} 
[2026-08-08 15:28:12] local.INFO: Processing buffer {"connection_id":150322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ce3c00012d1ac540071f85e8003600be25..."} 
[2026-08-08 15:28:12] local.INFO: Packet analysis {"connection_id":150322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ce"} 
[2026-08-08 15:28:12] local.INFO: Extracted packet for processing {"connection_id":150322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ce"} 
[2026-08-08 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119506408,"longitude_deg":75.6729152,"latitude_deg":11.9506408,"altitude":54,"angle":190,"satellites":37,"speed":32,"hex_longitude":"2d1ac540","hex_latitude":"071f85e8","is_valid_coordinates":true} 
[2026-08-08 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262857984001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532794643611648,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929229520968677376,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28: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-08-08 15:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786183040000,"timestamp_ms":1786183040000,"timestamp_seconds":1786183040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ce3c00"} 
[2026-08-08 15:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262857984001,"66":13993,"101":206,"83":41984,"24":32,"16":11532794643611648,"45":1929229520968677376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262857984001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532794643611648,"km_value":11532794643611.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929229520968677376,"description":"Unknown IO ID 45"} 
[2026-08-08 15:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262857984001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1929229520968677376}} 
[2026-08-08 15:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":150322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:28:12] local.INFO: GPS data processed {"connection_id":150322,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:28:12] local.INFO: Acknowledgment sent {"connection_id":150322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:28:43] local.INFO: TCP Data received {"connection_id":150322,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ce4ba0012d1ac080071f77e8003500ce28..."} 
[2026-08-08 15:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ce4ba0012d1ac080071f77e8003500ce28..."} 
[2026-08-08 15:28:43] local.INFO: Processing buffer {"connection_id":150322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ce4ba0012d1ac080071f77e8003500ce28..."} 
[2026-08-08 15:28:43] local.INFO: Packet analysis {"connection_id":150322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ce"} 
[2026-08-08 15:28:43] local.INFO: Extracted packet for processing {"connection_id":150322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ce"} 
[2026-08-08 15:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756727936,"raw_latitude":119502824,"longitude_deg":75.6727936,"latitude_deg":11.9502824,"altitude":53,"angle":206,"satellites":40,"speed":38,"hex_longitude":"2d1ac080","hex_latitude":"071f77e8","is_valid_coordinates":true} 
[2026-08-08 15:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262858240001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11532975032238080,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414735943680,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786183044000,"timestamp_ms":1786183044000,"timestamp_seconds":1786183044,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ce4ba0"} 
[2026-08-08 15:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262858240001,"66":14407,"101":206,"83":41984,"24":38,"16":11532975032238080,"45":1929018414735943680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262858240001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:28:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:28:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11532975032238080,"km_value":11532975032238.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414735943680,"description":"Unknown IO ID 45"} 
[2026-08-08 15:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262858240001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1929018414735943680}} 
[2026-08-08 15:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":150322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:28:43] local.INFO: GPS data processed {"connection_id":150322,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:28:43] local.INFO: Acknowledgment sent {"connection_id":150322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:28:45] local.INFO: TCP Data received {"connection_id":150323,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:28:45] local.INFO: Processing buffer {"connection_id":150323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0caa9f0012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:28:45] local.INFO: Packet analysis {"connection_id":150323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:28:45] local.INFO: Extracted packet for processing {"connection_id":150323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ca"} 
[2026-08-08 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262721280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786182806000,"timestamp_ms":1786182806000,"timestamp_seconds":1786182806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0caa9f0"} 
[2026-08-08 15:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 15:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262721280001,"66":25941,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262721280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:28:45] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262721280001,"power":25941,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":150323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:28:45] local.INFO: GPS data processed {"connection_id":150323,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:28:45] local.INFO: Acknowledgment sent {"connection_id":150323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:29:01] local.INFO: TCP Data received {"connection_id":150573,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:01] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:01] local.INFO: IMEI packet received {"connection_id":150573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":150573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:29:02] local.INFO: TCP Data received {"connection_id":150573,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:02] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:02] local.INFO: IMEI packet received {"connection_id":150573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":150573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:29:04] local.INFO: TCP Data received {"connection_id":150324,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:04] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:04] local.INFO: IMEI packet received {"connection_id":150324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":150324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:29:05] local.INFO: TCP Data received {"connection_id":150324,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:05] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:05] local.INFO: IMEI packet received {"connection_id":150324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":150324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:29:06] local.INFO: TCP Data received {"connection_id":150573,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:06] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:29:06] local.INFO: IMEI packet received {"connection_id":150573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":150573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:29:07] local.INFO: TCP Data received {"connection_id":150573,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf0338012d1aa3c0071f36000035011927..."} 
[2026-08-08 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf0338012d1aa3c0071f36000035011927..."} 
[2026-08-08 15:29:07] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf0338012d1aa3c0071f36000035011927..."} 
[2026-08-08 15:29:07] local.INFO: Packet analysis {"connection_id":150573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:07] local.INFO: Extracted packet for processing {"connection_id":150573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756720576,"raw_latitude":119485952,"longitude_deg":75.6720576,"latitude_deg":11.9485952,"altitude":53,"angle":281,"satellites":39,"speed":12,"hex_longitude":"2d1aa3c0","hex_latitude":"071f3600","is_valid_coordinates":true} 
[2026-08-08 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262868736001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11534065953931264,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923318546452320256,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29: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-08-08 15:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786183091000,"timestamp_ms":1786183091000,"timestamp_seconds":1786183091,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf0338"} 
[2026-08-08 15:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3771642160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4192534528,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":40961,"corrected_to":0} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3468486657,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-08 15:29:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743864,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,250,159,204,45,64,54,55,40,10,66,249,200,192,1,240,224,227,31,4,113,205,11,185,187,216,239,53,2,7,13],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":200,"original":40961,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-08 15:29:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819349523949420544,"timestamp_seconds":3819349523949420.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262868736001,"66":14483,"101":206,"83":41984,"24":12,"16":11534065953931264,"45":1923318546452320256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262868736001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:29:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11534065953931264,"km_value":11534065953931.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923318546452320256,"description":"Unknown IO ID 45"} 
[2026-08-08 15:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262868736001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1923318546452320256}} 
[2026-08-08 15:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":150573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:29:07] local.INFO: GPS data processed {"connection_id":150573,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:29:07] local.INFO: Acknowledgment sent {"connection_id":150573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:29:10] local.INFO: TCP Data received {"connection_id":150324,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:10] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:29:10] local.INFO: IMEI packet received {"connection_id":150324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":150324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:29:14] local.INFO: TCP Data received {"connection_id":150324,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:29:14] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:29:14] local.INFO: Packet analysis {"connection_id":150324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:14] local.INFO: Extracted packet for processing {"connection_id":150324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:29:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":150324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:29:15] local.INFO: GPS data processed {"connection_id":150324,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:29:15] local.INFO: Acknowledgment sent {"connection_id":150324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:29:38] local.INFO: TCP Data received {"connection_id":150573,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf8fd8012d1a6600071f40a80038013429..."} 
[2026-08-08 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf8fd8012d1a6600071f40a80038013429..."} 
[2026-08-08 15:29:38] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf8fd8012d1a6600071f40a80038013429..."} 
[2026-08-08 15:29:38] local.INFO: Packet analysis {"connection_id":150573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:38] local.INFO: Extracted packet for processing {"connection_id":150573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":756704768,"raw_latitude":119488680,"longitude_deg":75.6704768,"latitude_deg":11.948868,"altitude":56,"angle":308,"satellites":41,"speed":16,"hex_longitude":"2d1a6600","hex_latitude":"071f40a8","is_valid_coordinates":true} 
[2026-08-08 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262880256001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11534869112815616,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902559766920529920,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786183127000,"timestamp_ms":1786183127000,"timestamp_seconds":1786183127,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf8fd8"} 
[2026-08-08 15:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:29: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-08-08 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-08 15:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262880256001,"66":14363,"101":206,"83":41984,"24":16,"16":11534869112815616,"45":1902559766920529920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262880256001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:29:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:29:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11534869112815616,"km_value":11534869112815.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902559766920529920,"description":"Unknown IO ID 45"} 
[2026-08-08 15:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262880256001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1902559766920529920}} 
[2026-08-08 15:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":150573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:29:38] local.INFO: GPS data processed {"connection_id":150573,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:29:38] local.INFO: Acknowledgment sent {"connection_id":150573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:29:51] local.INFO: TCP Data received {"connection_id":150324,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:29:51] local.INFO: Processing buffer {"connection_id":150324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:29:51] local.INFO: Packet analysis {"connection_id":150324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:51] local.INFO: Extracted packet for processing {"connection_id":150324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":150324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:29:51] local.INFO: GPS data processed {"connection_id":150324,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:29:51] local.INFO: Acknowledgment sent {"connection_id":150324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:30:01] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:01] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:01] local.INFO: IMEI packet received {"connection_id":150574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":150574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:30:02] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:02] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:02] local.INFO: IMEI packet received {"connection_id":150574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":150574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:30:02] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:02] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:02] local.INFO: IMEI packet received {"connection_id":150574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":150574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:30:04] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:04] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:30:04] local.INFO: IMEI packet received {"connection_id":150574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":150574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:30:05] local.INFO: TCP Data received {"connection_id":153022,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:30:05] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:30:05] local.INFO: IMEI packet received {"connection_id":153022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":153022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:30:09] local.INFO: TCP Data received {"connection_id":153022,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:30:09] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:30:09] local.INFO: IMEI packet received {"connection_id":153022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":153022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:30:13] local.INFO: TCP Data received {"connection_id":153022,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:30:13] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:30:13] local.INFO: Packet analysis {"connection_id":153022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:30:13] local.INFO: Extracted packet for processing {"connection_id":153022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:30: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-08-08 15:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:30:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":153022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:30:13] local.INFO: GPS data processed {"connection_id":153022,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:30:13] local.INFO: Acknowledgment sent {"connection_id":153022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:30:45] local.INFO: TCP Data received {"connection_id":153022,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:30:45] local.INFO: Processing buffer {"connection_id":153022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:30:45] local.INFO: Packet analysis {"connection_id":153022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:30:45] local.INFO: Extracted packet for processing {"connection_id":153022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:30:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:30:45] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:30:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":153022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:30:45] local.INFO: GPS data processed {"connection_id":153022,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:30:45] local.INFO: Acknowledgment sent {"connection_id":153022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:31:04] local.INFO: TCP Data received {"connection_id":150326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:31:04] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:31:04] local.INFO: IMEI packet received {"connection_id":150326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":150326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:31:10] local.INFO: TCP Data received {"connection_id":150326,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:31:10] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:31:10] local.INFO: IMEI packet received {"connection_id":150326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":150326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:31:12] local.INFO: TCP Data received {"connection_id":150326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:31:12] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:31:12] local.INFO: Packet analysis {"connection_id":150326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:31:12] local.INFO: Extracted packet for processing {"connection_id":150326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:31:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:31:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":150326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:31:12] local.INFO: GPS data processed {"connection_id":150326,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:31:12] local.INFO: Acknowledgment sent {"connection_id":150326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:31:43] local.INFO: TCP Data received {"connection_id":150326,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:31:43] local.INFO: Processing buffer {"connection_id":150326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:31:43] local.INFO: Packet analysis {"connection_id":150326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:31:43] local.INFO: Extracted packet for processing {"connection_id":150326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:31:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":150326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:31:43] local.INFO: GPS data processed {"connection_id":150326,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:31:43] local.INFO: Acknowledgment sent {"connection_id":150326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:32:04] local.INFO: TCP Data received {"connection_id":150576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:32:04] local.INFO: Processing buffer {"connection_id":150576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:32:04] local.INFO: IMEI packet received {"connection_id":150576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":150576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:32:09] local.INFO: TCP Data received {"connection_id":150576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:32:09] local.INFO: Processing buffer {"connection_id":150576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:32:09] local.INFO: IMEI packet received {"connection_id":150576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":150576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:32:11] local.INFO: TCP Data received {"connection_id":150576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:32:11] local.INFO: Processing buffer {"connection_id":150576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:32:11] local.INFO: Packet analysis {"connection_id":150576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:32:11] local.INFO: Extracted packet for processing {"connection_id":150576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:32: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-08-08 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":150576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:32:11] local.INFO: GPS data processed {"connection_id":150576,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:32:11] local.INFO: Acknowledgment sent {"connection_id":150576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:32:43] local.INFO: TCP Data received {"connection_id":150576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:32:43] local.INFO: Processing buffer {"connection_id":150576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:32:43] local.INFO: Packet analysis {"connection_id":150576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:32:43] local.INFO: Extracted packet for processing {"connection_id":150576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:32:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:32: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-08-08 15:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:32:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":150576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:32:43] local.INFO: GPS data processed {"connection_id":150576,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:32:43] local.INFO: Acknowledgment sent {"connection_id":150576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:33:09] local.INFO: TCP Data received {"connection_id":151537,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:33:09] local.INFO: Processing buffer {"connection_id":151537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:33:09] local.INFO: IMEI packet received {"connection_id":151537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":151537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:33:15] local.INFO: TCP Data received {"connection_id":151537,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:33:15] local.INFO: Processing buffer {"connection_id":151537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:33:15] local.INFO: IMEI packet received {"connection_id":151537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":151537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:33:16] local.INFO: TCP Data received {"connection_id":151537,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:33:16] local.INFO: Processing buffer {"connection_id":151537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:33:16] local.INFO: Packet analysis {"connection_id":151537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:33:16] local.INFO: Extracted packet for processing {"connection_id":151537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:33: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-08-08 15:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:33:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":151537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:33:16] local.INFO: GPS data processed {"connection_id":151537,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:33:16] local.INFO: Acknowledgment sent {"connection_id":151537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:33:48] local.INFO: TCP Data received {"connection_id":151537,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:33:48] local.INFO: Processing buffer {"connection_id":151537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0cf41b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 15:33:48] local.INFO: Packet analysis {"connection_id":151537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:33:48] local.INFO: Extracted packet for processing {"connection_id":151537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0cf"} 
[2026-08-08 15:33:48] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262798336001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:33:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786183107000,"timestamp_ms":1786183107000,"timestamp_seconds":1786183107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0cf41b8"} 
[2026-08-08 15:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 15:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:33: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-08-08 15:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262798336001,"66":25875,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262798336001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:33:48] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:33:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262798336001,"power":25875,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":151537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:33:48] local.INFO: GPS data processed {"connection_id":151537,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:33:48] local.INFO: Acknowledgment sent {"connection_id":151537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:34:05] local.INFO: TCP Data received {"connection_id":153024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:05] local.INFO: Processing buffer {"connection_id":153024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:05] local.INFO: IMEI packet received {"connection_id":153024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":153024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:34:09] local.INFO: TCP Data received {"connection_id":153024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:09] local.INFO: Processing buffer {"connection_id":153024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:09] local.INFO: IMEI packet received {"connection_id":153024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":153024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:34:15] local.INFO: TCP Data received {"connection_id":153024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:15] local.INFO: Processing buffer {"connection_id":153024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:34:15] local.INFO: IMEI packet received {"connection_id":153024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":153024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:34:16] local.INFO: TCP Data received {"connection_id":153024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:34:16] local.INFO: Processing buffer {"connection_id":153024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:34:16] local.INFO: Packet analysis {"connection_id":153024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:34:16] local.INFO: Extracted packet for processing {"connection_id":153024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:34: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-08-08 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:34:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":153024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:34:16] local.INFO: GPS data processed {"connection_id":153024,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:34:16] local.INFO: Acknowledgment sent {"connection_id":153024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:34:20] local.INFO: TCP Data received {"connection_id":153024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:34:20] local.INFO: Processing buffer {"connection_id":153024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:34:20] local.INFO: Packet analysis {"connection_id":153024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:34:20] local.INFO: Extracted packet for processing {"connection_id":153024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:34: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-08-08 15:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:34: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-08-08 15:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:34:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":153024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:34:20] local.INFO: GPS data processed {"connection_id":153024,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:34:20] local.INFO: Acknowledgment sent {"connection_id":153024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:35:05] local.INFO: TCP Data received {"connection_id":151538,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:35:05] local.INFO: Processing buffer {"connection_id":151538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:35:05] local.INFO: IMEI packet received {"connection_id":151538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:35:05] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:05] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:05] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:35:07] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:07] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:07] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:35:10] local.INFO: TCP Data received {"connection_id":151538,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:35:10] local.INFO: Processing buffer {"connection_id":151538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:35:10] local.INFO: IMEI packet received {"connection_id":151538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":151538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:35:12] local.INFO: TCP Data received {"connection_id":151538,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:35:12] local.INFO: Processing buffer {"connection_id":151538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:35:12] local.INFO: Packet analysis {"connection_id":151538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:35:12] local.INFO: Extracted packet for processing {"connection_id":151538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:35: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-08-08 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:35:12] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:12] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:35:12] local.INFO: IMEI packet received {"connection_id":150327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":150327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":151538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:35:12] local.INFO: GPS data processed {"connection_id":151538,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:35:12] local.INFO: Acknowledgment sent {"connection_id":151538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:35:12] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d48560012d1ab800071f35b80046004629..."} 
[2026-08-08 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d48560012d1ab800071f35b80046004629..."} 
[2026-08-08 15:35:12] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d48560012d1ab800071f35b80046004629..."} 
[2026-08-08 15:35:12] local.INFO: Packet analysis {"connection_id":150327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d4"} 
[2026-08-08 15:35:12] local.INFO: Extracted packet for processing {"connection_id":150327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d4"} 
[2026-08-08 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756725760,"raw_latitude":119485880,"longitude_deg":75.672576,"latitude_deg":11.948588,"altitude":70,"angle":70,"satellites":41,"speed":11,"hex_longitude":"2d1ab800","hex_latitude":"071f35b8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262961920001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11538176237633536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922192646545399808,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35: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-08-08 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786183452000,"timestamp_ms":1786183452000,"timestamp_seconds":1786183452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d48560"} 
[2026-08-08 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:35: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-08-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 15:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262961920001,"66":14341,"101":206,"83":41984,"24":11,"16":11538176237633536,"45":1922192646545399808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262961920001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11538176237633536,"km_value":11538176237633.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922192646545399808,"description":"Unknown IO ID 45"} 
[2026-08-08 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262961920001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1922192646545399808}} 
[2026-08-08 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":150327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:35:12] local.INFO: GPS data processed {"connection_id":150327,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:35:12] local.INFO: Acknowledgment sent {"connection_id":150327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:35:14] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d48948012d1ab900071f36580046003429..."} 
[2026-08-08 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d48948012d1ab900071f36580046003429..."} 
[2026-08-08 15:35:14] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d48948012d1ab900071f36580046003429..."} 
[2026-08-08 15:35:14] local.INFO: Packet analysis {"connection_id":150327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d4"} 
[2026-08-08 15:35:14] local.INFO: Extracted packet for processing {"connection_id":150327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d4"} 
[2026-08-08 15:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756726016,"raw_latitude":119486040,"longitude_deg":75.6726016,"latitude_deg":11.948604,"altitude":70,"angle":52,"satellites":41,"speed":7,"hex_longitude":"2d1ab900","hex_latitude":"071f3658","is_valid_coordinates":true} 
[2026-08-08 15:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262963712001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11538189122535424,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925288871289272320,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786183453000,"timestamp_ms":1786183453000,"timestamp_seconds":1786183453,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d48948"} 
[2026-08-08 15:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977278929,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3771980160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":17451925884638464,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503775672467456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2147950390,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4248961024,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84753018075422521,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,253,159,106,45,52,71,39,10,66,74,53,73,12,128,1,240,227,224,31,4,113,205,13,125,36,239,54,2,40,7,63,23,206,176],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-08 15:35:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044108724563279872,"timestamp_seconds":5044108724563280.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262963712001,"66":14189,"101":206,"83":41984,"24":7,"16":11538189122535424,"45":1925288871289272320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262963712001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:35:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11538189122535424,"km_value":11538189122535.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925288871289272320,"description":"Unknown IO ID 45"} 
[2026-08-08 15:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262963712001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1925288871289272320}} 
[2026-08-08 15:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":150327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:35:14] local.INFO: GPS data processed {"connection_id":150327,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:35:14] local.INFO: Acknowledgment sent {"connection_id":150327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:35:43] local.INFO: TCP Data received {"connection_id":151538,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:35:43] local.INFO: Processing buffer {"connection_id":151538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:35:43] local.INFO: Packet analysis {"connection_id":151538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:35:43] local.INFO: Extracted packet for processing {"connection_id":151538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:35: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-08-08 15:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:35:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":151538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:35:43] local.INFO: GPS data processed {"connection_id":151538,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:35:43] local.INFO: Acknowledgment sent {"connection_id":151538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:35:45] local.INFO: TCP Data received {"connection_id":150327,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d52d58012d1aa080071f9c280038012c27..."} 
[2026-08-08 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d52d58012d1aa080071f9c280038012c27..."} 
[2026-08-08 15:35:45] local.INFO: Processing buffer {"connection_id":150327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d52d58012d1aa080071f9c280038012c27..."} 
[2026-08-08 15:35:45] local.INFO: Packet analysis {"connection_id":150327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d5"} 
[2026-08-08 15:35:45] local.INFO: Extracted packet for processing {"connection_id":150327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d5"} 
[2026-08-08 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756719744,"raw_latitude":119512104,"longitude_deg":75.6719744,"latitude_deg":11.9512104,"altitude":56,"angle":300,"satellites":39,"speed":43,"hex_longitude":"2d1aa080","hex_latitude":"071f9c28","is_valid_coordinates":true} 
[2026-08-08 15:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262973440001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539799735271424,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924796290086455296,"note":"Value kept but may cause issues"} 
[2026-08-08 15:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786183495000,"timestamp_ms":1786183495000,"timestamp_seconds":1786183495,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d52d58"} 
[2026-08-08 15:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 15:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262973440001,"66":14461,"101":206,"83":41984,"24":43,"16":11539799735271424,"45":1924796290086455296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262973440001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:35:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539799735271424,"km_value":11539799735271.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924796290086455296,"description":"Unknown IO ID 45"} 
[2026-08-08 15:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262973440001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1924796290086455296}} 
[2026-08-08 15:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":150327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:35:45] local.INFO: GPS data processed {"connection_id":150327,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:35:45] local.INFO: Acknowledgment sent {"connection_id":150327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:36:00] local.INFO: TCP Data received {"connection_id":151539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:00] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:00] local.INFO: IMEI packet received {"connection_id":151539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":151539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:36:02] local.INFO: TCP Data received {"connection_id":151539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:02] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:02] local.INFO: IMEI packet received {"connection_id":151539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":151539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:36:07] local.INFO: TCP Data received {"connection_id":151539,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:07] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:07] local.INFO: IMEI packet received {"connection_id":151539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":151539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:36:08] local.INFO: TCP Data received {"connection_id":151539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d53910012d1a9640071fa4400039013d27..."} 
[2026-08-08 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d53910012d1a9640071fa4400039013d27..."} 
[2026-08-08 15:36:08] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d53910012d1a9640071fa4400039013d27..."} 
[2026-08-08 15:36:08] local.INFO: Packet analysis {"connection_id":151539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d5"} 
[2026-08-08 15:36:08] local.INFO: Extracted packet for processing {"connection_id":151539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d5"} 
[2026-08-08 15:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756717120,"raw_latitude":119514176,"longitude_deg":75.671712,"latitude_deg":11.9514176,"altitude":57,"angle":317,"satellites":39,"speed":44,"hex_longitude":"2d1a9640","hex_latitude":"071fa440","is_valid_coordinates":true} 
[2026-08-08 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262974720001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11539958649061376,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918674209343285248,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36: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-08-08 15:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786183498000,"timestamp_ms":1786183498000,"timestamp_seconds":1786183498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d53910"} 
[2026-08-08 15:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:36: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-08-08 15:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 15:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262974720001,"66":14428,"101":206,"83":41984,"24":44,"16":11539958649061376,"45":1918674209343285248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262974720001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:36:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11539958649061376,"km_value":11539958649061.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918674209343285248,"description":"Unknown IO ID 45"} 
[2026-08-08 15:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262974720001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1918674209343285248}} 
[2026-08-08 15:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":151539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:36:08] local.INFO: GPS data processed {"connection_id":151539,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:36:08] local.INFO: Acknowledgment sent {"connection_id":151539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:36:09] local.INFO: TCP Data received {"connection_id":151539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d55850012d1a7f80071fc0480038014626..."} 
[2026-08-08 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d55850012d1a7f80071fc0480038014626..."} 
[2026-08-08 15:36:09] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d55850012d1a7f80071fc0480038014626..."} 
[2026-08-08 15:36:09] local.INFO: Packet analysis {"connection_id":151539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d5"} 
[2026-08-08 15:36:09] local.INFO: Extracted packet for processing {"connection_id":151539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d5"} 
[2026-08-08 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756711296,"raw_latitude":119521352,"longitude_deg":75.6711296,"latitude_deg":11.9521352,"altitude":56,"angle":326,"satellites":38,"speed":46,"hex_longitude":"2d1a7f80","hex_latitude":"071fc048","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262975488001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11540405325660160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915789090832531456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786183506000,"timestamp_ms":1786183506000,"timestamp_seconds":1786183506,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d55850"} 
[2026-08-08 15:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:36: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-08-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 15:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262975488001,"66":14276,"101":206,"83":41984,"24":46,"16":11540405325660160,"45":1915789090832531456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262975488001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:36:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11540405325660160,"km_value":11540405325660.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915789090832531456,"description":"Unknown IO ID 45"} 
[2026-08-08 15:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262975488001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1915789090832531456}} 
[2026-08-08 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":151539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:36:09] local.INFO: GPS data processed {"connection_id":151539,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:36:09] local.INFO: Acknowledgment sent {"connection_id":151539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:36:13] local.INFO: TCP Data received {"connection_id":150328,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:36:13] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:36:13] local.INFO: IMEI packet received {"connection_id":150328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":150328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:36:14] local.INFO: TCP Data received {"connection_id":150328,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:36:14] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:36:14] local.INFO: IMEI packet received {"connection_id":150328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":150328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:36:18] local.INFO: TCP Data received {"connection_id":150328,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:36:18] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:36:18] local.INFO: Packet analysis {"connection_id":150328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:36:18] local.INFO: Extracted packet for processing {"connection_id":150328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:36:18] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:36:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":150328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:36:18] local.INFO: GPS data processed {"connection_id":150328,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:36:18] local.INFO: Acknowledgment sent {"connection_id":150328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:36:25] local.INFO: TCP Data received {"connection_id":150328,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:36:25] local.INFO: Processing buffer {"connection_id":150328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:36:25] local.INFO: Packet analysis {"connection_id":150328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:36:25] local.INFO: Extracted packet for processing {"connection_id":150328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:36:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:36:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":150328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:36:25] local.INFO: GPS data processed {"connection_id":150328,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:36:25] local.INFO: Acknowledgment sent {"connection_id":150328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:36:40] local.INFO: TCP Data received {"connection_id":151539,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d60c00012d19e380072003f8002d003a28..."} 
[2026-08-08 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d60c00012d19e380072003f8002d003a28..."} 
[2026-08-08 15:36:40] local.INFO: Processing buffer {"connection_id":151539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d60c00012d19e380072003f8002d003a28..."} 
[2026-08-08 15:36:40] local.INFO: Packet analysis {"connection_id":151539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:36:40] local.INFO: Extracted packet for processing {"connection_id":151539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119538680,"longitude_deg":75.667136,"latitude_deg":11.953868,"altitude":45,"angle":58,"satellites":40,"speed":6,"hex_longitude":"2d19e380","hex_latitude":"072003f8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262988800001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11542582874079232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865334701263360000,"note":"Value kept but may cause issues"} 
[2026-08-08 15:36: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-08-08 15:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786183552000,"timestamp_ms":1786183552000,"timestamp_seconds":1786183552,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d60c00"} 
[2026-08-08 15:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 15:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262988800001,"66":13689,"101":206,"83":41984,"24":6,"16":11542582874079232,"45":1865334701263360000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262988800001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:36:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11542582874079232,"km_value":11542582874079.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865334701263360000,"description":"Unknown IO ID 45"} 
[2026-08-08 15:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262988800001,"power":13689,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1865334701263360000}} 
[2026-08-08 15:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":151539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:36:40] local.INFO: GPS data processed {"connection_id":151539,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:36:40] local.INFO: Acknowledgment sent {"connection_id":151539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:36:58] local.INFO: TCP Data received {"connection_id":151540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:58] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:36:58] local.INFO: IMEI packet received {"connection_id":151540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":151540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:37:00] local.INFO: TCP Data received {"connection_id":151540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:00] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:00] local.INFO: IMEI packet received {"connection_id":151540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":151540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:37:02] local.INFO: TCP Data received {"connection_id":151540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:02] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:02] local.INFO: IMEI packet received {"connection_id":151540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":151540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:37:05] local.INFO: TCP Data received {"connection_id":150577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:37:05] local.INFO: Processing buffer {"connection_id":150577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:37:05] local.INFO: IMEI packet received {"connection_id":150577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":150577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:37:07] local.INFO: TCP Data received {"connection_id":151540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:07] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:37:07] local.INFO: IMEI packet received {"connection_id":151540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":151540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:37:08] local.INFO: TCP Data received {"connection_id":151540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d60fe8012d19e44007200420002d00592a..."} 
[2026-08-08 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d60fe8012d19e44007200420002d00592a..."} 
[2026-08-08 15:37:08] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d60fe8012d19e44007200420002d00592a..."} 
[2026-08-08 15:37:08] local.INFO: Packet analysis {"connection_id":151540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:37:08] local.INFO: Extracted packet for processing {"connection_id":151540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756671552,"raw_latitude":119538720,"longitude_deg":75.6671552,"latitude_deg":11.953872,"altitude":45,"angle":89,"satellites":42,"speed":8,"hex_longitude":"2d19e440","hex_latitude":"07200420","is_valid_coordinates":true} 
[2026-08-08 15:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262989312001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11542591464013824,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438751774720,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37: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-08-08 15:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786183553000,"timestamp_ms":1786183553000,"timestamp_seconds":1786183553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d60fe8"} 
[2026-08-08 15:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:37: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-08-08 15: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-08 15:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262989312001,"66":14396,"101":206,"83":41984,"24":8,"16":11542591464013824,"45":1865475438751774720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262989312001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11542591464013824,"km_value":11542591464013.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438751774720,"description":"Unknown IO ID 45"} 
[2026-08-08 15:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262989312001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1865475438751774720}} 
[2026-08-08 15:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":151540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:37:08] local.INFO: GPS data processed {"connection_id":151540,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:37:08] local.INFO: Acknowledgment sent {"connection_id":151540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:37:10] local.INFO: TCP Data received {"connection_id":150577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:37:10] local.INFO: Processing buffer {"connection_id":150577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:37:10] local.INFO: IMEI packet received {"connection_id":150577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":150577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:37:12] local.INFO: TCP Data received {"connection_id":150577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:37:12] local.INFO: Processing buffer {"connection_id":150577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:37:12] local.INFO: Packet analysis {"connection_id":150577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:37:12] local.INFO: Extracted packet for processing {"connection_id":150577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:37:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":150577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:37:12] local.INFO: GPS data processed {"connection_id":150577,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:37:12] local.INFO: Acknowledgment sent {"connection_id":150577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:37:39] local.INFO: TCP Data received {"connection_id":151540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d613d0012d19e4c0072003d0002d008729..."} 
[2026-08-08 15:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d613d0012d19e4c0072003d0002d008729..."} 
[2026-08-08 15:37:39] local.INFO: Processing buffer {"connection_id":151540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d613d0012d19e4c0072003d0002d008729..."} 
[2026-08-08 15:37:39] local.INFO: Packet analysis {"connection_id":151540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:37:39] local.INFO: Extracted packet for processing {"connection_id":151540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:37:39] local.INFO: GPS Element Parsed {"raw_longitude":756671680,"raw_latitude":119538640,"longitude_deg":75.667168,"latitude_deg":11.953864,"altitude":45,"angle":135,"satellites":41,"speed":7,"hex_longitude":"2d19e4c0","hex_latitude":"072003d0","is_valid_coordinates":true} 
[2026-08-08 15:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262989568001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11542600053948416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865686544984317952,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37: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-08-08 15:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786183554000,"timestamp_ms":1786183554000,"timestamp_seconds":1786183554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d613d0"} 
[2026-08-08 15:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 15:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262989568001,"66":14396,"101":206,"83":41984,"24":7,"16":11542600053948416,"45":1865686544984317952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262989568001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11542600053948416,"km_value":11542600053948.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865686544984317952,"description":"Unknown IO ID 45"} 
[2026-08-08 15:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262989568001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1865686544984317952}} 
[2026-08-08 15:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":151540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:37:39] local.INFO: GPS data processed {"connection_id":151540,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:37:39] local.INFO: Acknowledgment sent {"connection_id":151540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:37:43] local.INFO: TCP Data received {"connection_id":150577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:37:43] local.INFO: Processing buffer {"connection_id":150577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:37:43] local.INFO: Packet analysis {"connection_id":150577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:37:43] local.INFO: Extracted packet for processing {"connection_id":150577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:37:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:37:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:37:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":150577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:37:43] local.INFO: GPS data processed {"connection_id":150577,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:37:43] local.INFO: Acknowledgment sent {"connection_id":150577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:38:02] local.INFO: TCP Data received {"connection_id":153025,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:38:02] local.INFO: Processing buffer {"connection_id":153025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:38:02] local.INFO: IMEI packet received {"connection_id":153025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":153025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:38:07] local.INFO: TCP Data received {"connection_id":153025,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:38:07] local.INFO: Processing buffer {"connection_id":153025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:38:07] local.INFO: IMEI packet received {"connection_id":153025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":153025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:38:07] local.INFO: TCP Data received {"connection_id":153025,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d65250012d19e780072000e8002e009327..."} 
[2026-08-08 15:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d65250012d19e780072000e8002e009327..."} 
[2026-08-08 15:38:07] local.INFO: Processing buffer {"connection_id":153025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d65250012d19e780072000e8002e009327..."} 
[2026-08-08 15:38:07] local.INFO: Packet analysis {"connection_id":153025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:38:07] local.INFO: Extracted packet for processing {"connection_id":153025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d6"} 
[2026-08-08 15:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756672384,"raw_latitude":119537896,"longitude_deg":75.6672384,"latitude_deg":11.9537896,"altitude":46,"angle":147,"satellites":39,"speed":6,"hex_longitude":"2d19e780","hex_latitude":"072000e8","is_valid_coordinates":true} 
[2026-08-08 15:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262989824001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11542647298588672,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865827282472652800,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38: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-08-08 15:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786183570000,"timestamp_ms":1786183570000,"timestamp_seconds":1786183570,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d65250"} 
[2026-08-08 15:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 15:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262989824001,"66":14048,"101":206,"83":41984,"24":6,"16":11542647298588672,"45":1865827282472652800},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262989824001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:38:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11542647298588672,"km_value":11542647298588.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865827282472652800,"description":"Unknown IO ID 45"} 
[2026-08-08 15:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262989824001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1865827282472652800}} 
[2026-08-08 15:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":153025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:38:07] local.INFO: GPS data processed {"connection_id":153025,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:38:07] local.INFO: Acknowledgment sent {"connection_id":153025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:38:08] local.INFO: TCP Data received {"connection_id":153026,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:38:08] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:38:08] local.INFO: IMEI packet received {"connection_id":153026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":153026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:38:14] local.INFO: TCP Data received {"connection_id":153026,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:38:14] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:38:14] local.INFO: IMEI packet received {"connection_id":153026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":153026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:38:22] local.INFO: TCP Data received {"connection_id":153026,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:38:22] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:38:22] local.INFO: Packet analysis {"connection_id":153026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:38:22] local.INFO: Extracted packet for processing {"connection_id":153026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":153026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:38:22] local.INFO: GPS data processed {"connection_id":153026,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:38:22] local.INFO: Acknowledgment sent {"connection_id":153026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:38:38] local.INFO: TCP Data received {"connection_id":153025,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d7f448012d1a32c0071feaf8002d00f62a..."} 
[2026-08-08 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d7f448012d1a32c0071feaf8002d00f62a..."} 
[2026-08-08 15:38:38] local.INFO: Processing buffer {"connection_id":153025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d7f448012d1a32c0071feaf8002d00f62a..."} 
[2026-08-08 15:38:38] local.INFO: Packet analysis {"connection_id":153025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d7"} 
[2026-08-08 15:38:38] local.INFO: Extracted packet for processing {"connection_id":153025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d7"} 
[2026-08-08 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756691648,"raw_latitude":119532280,"longitude_deg":75.6691648,"latitude_deg":11.953228,"altitude":45,"angle":246,"satellites":42,"speed":4,"hex_longitude":"2d1a32c0","hex_latitude":"071feaf8","is_valid_coordinates":true} 
[2026-08-08 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263020800001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11543678090739712,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888063805631188992,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38: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-08-08 15:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786183677000,"timestamp_ms":1786183677000,"timestamp_seconds":1786183677,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d7f448"} 
[2026-08-08 15:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:38: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-08-08 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3772208160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3617734657,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3972005933,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-08 15:38:38] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-08-08 15:38:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,2,159,216,45,235,41,10,66,177,128,43,173,192,1,240,92,227,224,31,4,113,205,6,142,46,184,239,56,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-08 15:38:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242823909048844288,"timestamp_seconds":3242823909048844.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263020800001,"66":13906,"101":206,"83":41984,"24":4,"16":11543678090739712,"45":1888063805631188992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263020800001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:38:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11543678090739712,"km_value":11543678090739.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888063805631188992,"description":"Unknown IO ID 45"} 
[2026-08-08 15:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263020800001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1888063805631188992}} 
[2026-08-08 15:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":153025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:38:38] local.INFO: GPS data processed {"connection_id":153025,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:38:38] local.INFO: Acknowledgment sent {"connection_id":153025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:39:02] local.INFO: TCP Data received {"connection_id":151541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:02] local.INFO: Processing buffer {"connection_id":151541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:02] local.INFO: IMEI packet received {"connection_id":151541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":151541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:39:02] local.INFO: TCP Data received {"connection_id":151541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:02] local.INFO: Processing buffer {"connection_id":151541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:02] local.INFO: IMEI packet received {"connection_id":151541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":151541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:39:04] local.INFO: TCP Data received {"connection_id":151541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:04] local.INFO: Processing buffer {"connection_id":151541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:04] local.INFO: IMEI packet received {"connection_id":151541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:39:05] local.INFO: TCP Data received {"connection_id":151541,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d7f830012d1a3240071feb08002d01072a..."} 
[2026-08-08 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d7f830012d1a3240071feb08002d01072a..."} 
[2026-08-08 15:39:05] local.INFO: Processing buffer {"connection_id":151541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d7f830012d1a3240071feb08002d01072a..."} 
[2026-08-08 15:39:05] local.INFO: Packet analysis {"connection_id":151541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d7"} 
[2026-08-08 15:39:05] local.INFO: Extracted packet for processing {"connection_id":151541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d7"} 
[2026-08-08 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756691520,"raw_latitude":119532296,"longitude_deg":75.669152,"latitude_deg":11.9532296,"altitude":45,"angle":263,"satellites":42,"speed":5,"hex_longitude":"2d1a3240","hex_latitude":"071feb08","is_valid_coordinates":true} 
[2026-08-08 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263021312001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11543686680674304,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887782330654455808,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39: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-08-08 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786183678000,"timestamp_ms":1786183678000,"timestamp_seconds":1786183678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d7f830"} 
[2026-08-08 15:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:39: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-08-08 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 15:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263021312001,"66":13906,"101":206,"83":41984,"24":5,"16":11543686680674304,"45":1887782330654455808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263021312001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:39:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11543686680674304,"km_value":11543686680674.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887782330654455808,"description":"Unknown IO ID 45"} 
[2026-08-08 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263021312001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1887782330654455808}} 
[2026-08-08 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":151541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:39:05] local.INFO: GPS data processed {"connection_id":151541,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:39:05] local.INFO: Acknowledgment sent {"connection_id":151541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:39:05] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:05] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:05] local.INFO: IMEI packet received {"connection_id":150329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":150329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:39:06] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:06] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:06] local.INFO: IMEI packet received {"connection_id":150329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":150329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:39:10] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:10] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:39:10] local.INFO: IMEI packet received {"connection_id":150329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":150329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:39:11] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:12] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:12] local.INFO: Packet analysis {"connection_id":150329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:39:12] local.INFO: Extracted packet for processing {"connection_id":150329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:39:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:39:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":150329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:39:12] local.INFO: GPS data processed {"connection_id":150329,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:39:12] local.INFO: Acknowledgment sent {"connection_id":150329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:39:35] local.INFO: TCP Data received {"connection_id":151541,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d7fc18012d1a3140071feb20002d01172a..."} 
[2026-08-08 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d7fc18012d1a3140071feb20002d01172a..."} 
[2026-08-08 15:39:35] local.INFO: Processing buffer {"connection_id":151541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d7fc18012d1a3140071feb20002d01172a..."} 
[2026-08-08 15:39:35] local.INFO: Packet analysis {"connection_id":151541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d7"} 
[2026-08-08 15:39:35] local.INFO: Extracted packet for processing {"connection_id":151541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d7"} 
[2026-08-08 15:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756691264,"raw_latitude":119532320,"longitude_deg":75.6691264,"latitude_deg":11.953232,"altitude":45,"angle":279,"satellites":42,"speed":9,"hex_longitude":"2d1a3140","hex_latitude":"071feb20","is_valid_coordinates":true} 
[2026-08-08 15:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263021568001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11543695270608896,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887641593166104576,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39: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-08-08 15:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786183679000,"timestamp_ms":1786183679000,"timestamp_seconds":1786183679,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d7fc18"} 
[2026-08-08 15:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:39: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-08-08 15: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 15:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263021568001,"66":12939,"101":206,"83":41984,"24":9,"16":11543695270608896,"45":1887641593166104576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263021568001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:39:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11543695270608896,"km_value":11543695270608.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887641593166104576,"description":"Unknown IO ID 45"} 
[2026-08-08 15:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263021568001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1887641593166104576}} 
[2026-08-08 15:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":151541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:39:35] local.INFO: GPS data processed {"connection_id":151541,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:39:35] local.INFO: Acknowledgment sent {"connection_id":151541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:39:45] local.INFO: TCP Data received {"connection_id":150329,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:45] local.INFO: Processing buffer {"connection_id":150329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:45] local.INFO: Packet analysis {"connection_id":150329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:39:45] local.INFO: Extracted packet for processing {"connection_id":150329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:39:45] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":150329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:39:45] local.INFO: GPS data processed {"connection_id":150329,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:39:45] local.INFO: Acknowledgment sent {"connection_id":150329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:39:46] local.INFO: TCP Data received {"connection_id":153026,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:46] local.INFO: Processing buffer {"connection_id":153026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d3d980012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:39:46] local.INFO: Packet analysis {"connection_id":153026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:39:46] local.INFO: Extracted packet for processing {"connection_id":153026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d3"} 
[2026-08-08 15:39:46] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262875392001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786183408000,"timestamp_ms":1786183408000,"timestamp_seconds":1786183408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d3d980"} 
[2026-08-08 15:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 15:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:39: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-08-08 15:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262875392001,"66":25843,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262875392001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:39:46] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262875392001,"power":25843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":153026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:39:46] local.INFO: GPS data processed {"connection_id":153026,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:39:46] local.INFO: Acknowledgment sent {"connection_id":153026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:39:59] local.INFO: TCP Data received {"connection_id":151542,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:59] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:39:59] local.INFO: IMEI packet received {"connection_id":151542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":151542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:40:02] local.INFO: TCP Data received {"connection_id":151542,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:02] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:02] local.INFO: IMEI packet received {"connection_id":151542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":151542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:40:03] local.INFO: TCP Data received {"connection_id":151542,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:03] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:03] local.INFO: IMEI packet received {"connection_id":151542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":151542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:40:07] local.INFO: TCP Data received {"connection_id":151542,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:07] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:40:07] local.INFO: IMEI packet received {"connection_id":151542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":151542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:40:08] local.INFO: TCP Data received {"connection_id":151542,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d8f618012d19e4c007200348002c010e28..."} 
[2026-08-08 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d8f618012d19e4c007200348002c010e28..."} 
[2026-08-08 15:40:08] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d8f618012d19e4c007200348002c010e28..."} 
[2026-08-08 15:40:08] local.INFO: Packet analysis {"connection_id":151542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:40:08] local.INFO: Extracted packet for processing {"connection_id":151542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756671680,"raw_latitude":119538504,"longitude_deg":75.667168,"latitude_deg":11.9538504,"altitude":44,"angle":270,"satellites":40,"speed":3,"hex_longitude":"2d19e4c0","hex_latitude":"07200348","is_valid_coordinates":true} 
[2026-08-08 15:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263037952001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11544730357727232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865968019960983552,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40: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-08-08 15:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786183743000,"timestamp_ms":1786183743000,"timestamp_seconds":1786183743,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d8f618"} 
[2026-08-08 15:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 15:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263037952001,"66":14135,"101":206,"83":41984,"24":3,"16":11544730357727232,"45":1865968019960983552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263037952001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11544730357727232,"km_value":11544730357727.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865968019960983552,"description":"Unknown IO ID 45"} 
[2026-08-08 15:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263037952001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1865968019960983552}} 
[2026-08-08 15:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":151542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:40:08] local.INFO: GPS data processed {"connection_id":151542,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:40:08] local.INFO: Acknowledgment sent {"connection_id":151542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:40:09] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:40:09] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:40:09] local.INFO: IMEI packet received {"connection_id":150578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:40:15] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:40:15] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:40:15] local.INFO: IMEI packet received {"connection_id":150578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":150578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:40:16] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:40:16] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:40:16] local.INFO: Packet analysis {"connection_id":150578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:40:16] local.INFO: Extracted packet for processing {"connection_id":150578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:40:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":150578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:40:16] local.INFO: GPS data processed {"connection_id":150578,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:40:16] local.INFO: Acknowledgment sent {"connection_id":150578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:40:20] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:40:20] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:40:20] local.INFO: Packet analysis {"connection_id":150578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:40:20] local.INFO: Extracted packet for processing {"connection_id":150578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:40:20] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:40:20] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":150578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:40:20] local.INFO: GPS data processed {"connection_id":150578,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:40:20] local.INFO: Acknowledgment sent {"connection_id":150578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:40:39] local.INFO: TCP Data received {"connection_id":151542,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d9c520012d1a70c0071fd7000030007925..."} 
[2026-08-08 15:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d9c520012d1a70c0071fd7000030007925..."} 
[2026-08-08 15:40:39] local.INFO: Processing buffer {"connection_id":151542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d9c520012d1a70c0071fd7000030007925..."} 
[2026-08-08 15:40:39] local.INFO: Packet analysis {"connection_id":151542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d9"} 
[2026-08-08 15:40:39] local.INFO: Extracted packet for processing {"connection_id":151542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d9"} 
[2026-08-08 15:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756707520,"raw_latitude":119527168,"longitude_deg":75.670752,"latitude_deg":11.9527168,"altitude":48,"angle":121,"satellites":37,"speed":36,"hex_longitude":"2d1a70c0","hex_latitude":"071fd700","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263050496001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546577193664512,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900307967117084672,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40: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-08-08 15:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786183796000,"timestamp_ms":1786183796000,"timestamp_seconds":1786183796,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d9c520"} 
[2026-08-08 15:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:40: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-08-08 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3772332160,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3645638657,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4228382764,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-08 15:40:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-08-08 15:40:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,5,159,158,45,64,228,46,42,10,66,146,232,111,1,240,225,227,4,224,31,113,205,34,60,8,43,239,52,2,41,7,44,22],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-08 15:40:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386819241769762816,"timestamp_seconds":3386819241769763.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 15:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263050496001,"66":14276,"101":206,"83":41984,"24":36,"16":11546577193664512,"45":1900307967117084672},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263050496001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:40:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546577193664512,"km_value":11546577193664.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900307967117084672,"description":"Unknown IO ID 45"} 
[2026-08-08 15:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263050496001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1900307967117084672}} 
[2026-08-08 15:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":151542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:40:39] local.INFO: GPS data processed {"connection_id":151542,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:40:39] local.INFO: Acknowledgment sent {"connection_id":151542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:41:02] local.INFO: TCP Data received {"connection_id":153027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:41:02] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:41:02] local.INFO: IMEI packet received {"connection_id":153027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":153027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:41:05] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:41:05] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:41:05] local.INFO: IMEI packet received {"connection_id":153028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":153028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:41:07] local.INFO: TCP Data received {"connection_id":153027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:41:07] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:41:07] local.INFO: IMEI packet received {"connection_id":153027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":153027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:41:08] local.INFO: TCP Data received {"connection_id":153027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d9ccf0012d1a7680071fd2000030008726..."} 
[2026-08-08 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d9ccf0012d1a7680071fd2000030008726..."} 
[2026-08-08 15:41:08] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d9ccf0012d1a7680071fd2000030008726..."} 
[2026-08-08 15:41:08] local.INFO: Packet analysis {"connection_id":153027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d9"} 
[2026-08-08 15:41:08] local.INFO: Extracted packet for processing {"connection_id":153027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d9"} 
[2026-08-08 15:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756708992,"raw_latitude":119525888,"longitude_deg":75.6708992,"latitude_deg":11.9525888,"altitude":48,"angle":135,"satellites":38,"speed":39,"hex_longitude":"2d1a7680","hex_latitude":"071fd200","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263051776001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546671682945024,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905233779209207808,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41: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-08-08 15:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786183798000,"timestamp_ms":1786183798000,"timestamp_seconds":1786183798,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d9ccf0"} 
[2026-08-08 15:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:41: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-08-08 15: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 15:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263051776001,"66":14461,"101":206,"83":41984,"24":39,"16":11546671682945024,"45":1905233779209207808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263051776001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:41:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546671682945024,"km_value":11546671682945.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905233779209207808,"description":"Unknown IO ID 45"} 
[2026-08-08 15:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263051776001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1905233779209207808}} 
[2026-08-08 15:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":153027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:41:08] local.INFO: GPS data processed {"connection_id":153027,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:41:08] local.INFO: Acknowledgment sent {"connection_id":153027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:41:10] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:41:10] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:41:10] local.INFO: IMEI packet received {"connection_id":153028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":153028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:41:11] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:41:11] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:41:11] local.INFO: Packet analysis {"connection_id":153028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:41:11] local.INFO: Extracted packet for processing {"connection_id":153028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:41: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-08-08 15:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"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-08-08 15:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:41:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":153028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:41:11] local.INFO: GPS data processed {"connection_id":153028,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:41:11] local.INFO: Acknowledgment sent {"connection_id":153028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:41:39] local.INFO: TCP Data received {"connection_id":153027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d9d4c0012d1a7b00071fcb680031009423..."} 
[2026-08-08 15:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d9d4c0012d1a7b00071fcb680031009423..."} 
[2026-08-08 15:41:39] local.INFO: Processing buffer {"connection_id":153027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d9d4c0012d1a7b00071fcb680031009423..."} 
[2026-08-08 15:41:39] local.INFO: Packet analysis {"connection_id":153027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d9"} 
[2026-08-08 15:41:39] local.INFO: Extracted packet for processing {"connection_id":153027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d9"} 
[2026-08-08 15:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756710144,"raw_latitude":119524200,"longitude_deg":75.6710144,"latitude_deg":11.95242,"altitude":49,"angle":148,"satellites":35,"speed":39,"hex_longitude":"2d1a7b00","hex_latitude":"071fcb68","is_valid_coordinates":true} 
[2026-08-08 15:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263052288001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11546770467192832,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906852260324966400,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41: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-08-08 15:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786183800000,"timestamp_ms":1786183800000,"timestamp_seconds":1786183800,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d9d4c0"} 
[2026-08-08 15:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:41: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-08-08 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 15:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263052288001,"66":13993,"101":206,"83":41984,"24":39,"16":11546770467192832,"45":1906852260324966400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263052288001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:41:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:41:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11546770467192832,"km_value":11546770467192.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906852260324966400,"description":"Unknown IO ID 45"} 
[2026-08-08 15:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263052288001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1906852260324966400}} 
[2026-08-08 15:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":153027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:41:39] local.INFO: GPS data processed {"connection_id":153027,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:41:39] local.INFO: Acknowledgment sent {"connection_id":153027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:41:43] local.INFO: TCP Data received {"connection_id":153028,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:41:43] local.INFO: Processing buffer {"connection_id":153028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:41:43] local.INFO: Packet analysis {"connection_id":153028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:41:43] local.INFO: Extracted packet for processing {"connection_id":153028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:41: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-08-08 15:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"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-08-08 15:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:41:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:41:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":153028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:41:43] local.INFO: GPS data processed {"connection_id":153028,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:41:43] local.INFO: Acknowledgment sent {"connection_id":153028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:42:02] local.INFO: TCP Data received {"connection_id":150579,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:02] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:02] local.INFO: IMEI packet received {"connection_id":150579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":150579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:42:03] local.INFO: TCP Data received {"connection_id":150579,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:03] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:03] local.INFO: IMEI packet received {"connection_id":150579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":150579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:42:05] local.INFO: TCP Data received {"connection_id":151543,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:42:05] local.INFO: Processing buffer {"connection_id":151543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:42:05] local.INFO: IMEI packet received {"connection_id":151543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":151543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:42:07] local.INFO: TCP Data received {"connection_id":150579,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:07] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:42:07] local.INFO: IMEI packet received {"connection_id":150579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":150579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:42:08] local.INFO: TCP Data received {"connection_id":150579,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dabf20012d1a8740071fb3a00033013f29..."} 
[2026-08-08 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dabf20012d1a8740071fb3a00033013f29..."} 
[2026-08-08 15:42:08] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dabf20012d1a8740071fb3a00033013f29..."} 
[2026-08-08 15:42:08] local.INFO: Packet analysis {"connection_id":150579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0da"} 
[2026-08-08 15:42:08] local.INFO: Extracted packet for processing {"connection_id":150579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0da"} 
[2026-08-08 15:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756713280,"raw_latitude":119518112,"longitude_deg":75.671328,"latitude_deg":11.9518112,"altitude":51,"angle":319,"satellites":41,"speed":37,"hex_longitude":"2d1a8740","hex_latitude":"071fb3a0","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263064832001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11548119086923776,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918744578087337984,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42: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-08-08 15:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786183860000,"timestamp_ms":1786183860000,"timestamp_seconds":1786183860,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dabf20"} 
[2026-08-08 15:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:42: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-08-08 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 15:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263064832001,"66":14461,"101":206,"83":41984,"24":37,"16":11548119086923776,"45":1918744578087337984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263064832001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:42:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11548119086923776,"km_value":11548119086923.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918744578087337984,"description":"Unknown IO ID 45"} 
[2026-08-08 15:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263064832001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1918744578087337984}} 
[2026-08-08 15:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":150579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:42:08] local.INFO: GPS data processed {"connection_id":150579,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:42:08] local.INFO: Acknowledgment sent {"connection_id":150579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:42:09] local.INFO: TCP Data received {"connection_id":151543,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:42:09] local.INFO: Processing buffer {"connection_id":151543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:42:09] local.INFO: IMEI packet received {"connection_id":151543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":151543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:42:10] local.INFO: TCP Data received {"connection_id":151543,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:42:10] local.INFO: Processing buffer {"connection_id":151543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:42:10] local.INFO: Packet analysis {"connection_id":151543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:42:10] local.INFO: Extracted packet for processing {"connection_id":151543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 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-08-08 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:42: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-08-08 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-08-08 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-08-08 15:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:42: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-08-08 15:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:42:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":151543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:42:10] local.INFO: GPS data processed {"connection_id":151543,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:42:10] local.INFO: Acknowledgment sent {"connection_id":151543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:42:38] local.INFO: TCP Data received {"connection_id":150579,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0db95f8012d19df0007200900002f01122a..."} 
[2026-08-08 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0db95f8012d19df0007200900002f01122a..."} 
[2026-08-08 15:42:38] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0db95f8012d19df0007200900002f01122a..."} 
[2026-08-08 15:42:38] local.INFO: Packet analysis {"connection_id":150579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0db"} 
[2026-08-08 15:42:38] local.INFO: Extracted packet for processing {"connection_id":150579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0db"} 
[2026-08-08 15:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119539968,"longitude_deg":75.6670208,"latitude_deg":11.9539968,"altitude":47,"angle":274,"satellites":42,"speed":6,"hex_longitude":"2d19df00","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-08-08 15:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263081984001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11550550038413312,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864419907589433344,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42: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-08-08 15:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786183915000,"timestamp_ms":1786183915000,"timestamp_seconds":1786183915,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0db95f8"} 
[2026-08-08 15:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:42: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-08-08 15:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 15:42: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-08-08 15:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263081984001,"66":14396,"101":206,"83":41984,"24":6,"16":11550550038413312,"45":1864419907589433344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263081984001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11550550038413312,"km_value":11550550038413.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864419907589433344,"description":"Unknown IO ID 45"} 
[2026-08-08 15:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263081984001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864419907589433344}} 
[2026-08-08 15:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":150579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:42:39] local.INFO: GPS data processed {"connection_id":150579,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:42:39] local.INFO: Acknowledgment sent {"connection_id":150579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:42:41] local.INFO: TCP Data received {"connection_id":151543,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:42:41] local.INFO: Processing buffer {"connection_id":151543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:42:41] local.INFO: Packet analysis {"connection_id":151543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:42:41] local.INFO: Extracted packet for processing {"connection_id":151543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:42: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-08-08 15:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:42: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-08-08 15:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:42:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":151543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:42:42] local.INFO: GPS data processed {"connection_id":151543,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:42:42] local.INFO: Acknowledgment sent {"connection_id":151543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:43:02] local.INFO: TCP Data received {"connection_id":153029,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:02] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:02] local.INFO: IMEI packet received {"connection_id":153029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":153029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:43:03] local.INFO: TCP Data received {"connection_id":153029,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:03] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:03] local.INFO: IMEI packet received {"connection_id":153029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":153029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:43:04] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:43:04] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:43:04] local.INFO: IMEI packet received {"connection_id":153030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":153030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:43:07] local.INFO: TCP Data received {"connection_id":153029,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:07] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:43:07] local.INFO: IMEI packet received {"connection_id":153029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":153029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:43:08] local.INFO: TCP Data received {"connection_id":153029,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0db99e0012d19de80072008b0002f00e92a..."} 
[2026-08-08 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0db99e0012d19de80072008b0002f00e92a..."} 
[2026-08-08 15:43:08] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0db99e0012d19de80072008b0002f00e92a..."} 
[2026-08-08 15:43:08] local.INFO: Packet analysis {"connection_id":153029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0db"} 
[2026-08-08 15:43:08] local.INFO: Extracted packet for processing {"connection_id":153029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0db"} 
[2026-08-08 15:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119539888,"longitude_deg":75.667008,"latitude_deg":11.9539888,"altitude":47,"angle":233,"satellites":42,"speed":6,"hex_longitude":"2d19de80","hex_latitude":"072008b0","is_valid_coordinates":true} 
[2026-08-08 15:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263082240001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11550558628347904,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356906496,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43: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-08-08 15:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786183916000,"timestamp_ms":1786183916000,"timestamp_seconds":1786183916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0db99e0"} 
[2026-08-08 15:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:43: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-08-08 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 15:43: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-08-08 15:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263082240001,"66":14396,"101":206,"83":41984,"24":6,"16":11550558628347904,"45":1864208801356906496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263082240001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:43:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11550558628347904,"km_value":11550558628347.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356906496,"description":"Unknown IO ID 45"} 
[2026-08-08 15:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263082240001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864208801356906496}} 
[2026-08-08 15:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":153029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:43:08] local.INFO: GPS data processed {"connection_id":153029,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:43:08] local.INFO: Acknowledgment sent {"connection_id":153029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:43:10] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:43:10] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:43:10] local.INFO: IMEI packet received {"connection_id":153030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":153030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:43:11] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:43:11] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:43:11] local.INFO: Packet analysis {"connection_id":153030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:43:11] local.INFO: Extracted packet for processing {"connection_id":153030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:43:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:43:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":153030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:43:11] local.INFO: GPS data processed {"connection_id":153030,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:43:11] local.INFO: Acknowledgment sent {"connection_id":153030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:43:39] local.INFO: TCP Data received {"connection_id":153029,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dc6cd0012d198300071fee98003a00e829..."} 
[2026-08-08 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dc6cd0012d198300071fee98003a00e829..."} 
[2026-08-08 15:43:39] local.INFO: Processing buffer {"connection_id":153029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dc6cd0012d198300071fee98003a00e829..."} 
[2026-08-08 15:43:39] local.INFO: Packet analysis {"connection_id":153029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:43:39] local.INFO: Extracted packet for processing {"connection_id":153029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119533208,"longitude_deg":75.6646656,"latitude_deg":11.9533208,"altitude":58,"angle":232,"satellites":41,"speed":18,"hex_longitude":"2d198300","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-08 15:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263096064001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551817053765632,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838805684707098624,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786183970000,"timestamp_ms":1786183970000,"timestamp_seconds":1786183970,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dc6cd0"} 
[2026-08-08 15:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:43: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-08-08 15:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 15:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263096064001,"66":13222,"102":206,"83":41984,"24":18,"16":11551817053765632,"45":1838805684707098624},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263096064001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551817053765632,"km_value":11551817053765.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838805684707098624,"description":"Unknown IO ID 45"} 
[2026-08-08 15:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263096064001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838805684707098624}} 
[2026-08-08 15:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":153029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:43:39] local.INFO: GPS data processed {"connection_id":153029,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:43:39] local.INFO: Acknowledgment sent {"connection_id":153029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:43:42] local.INFO: TCP Data received {"connection_id":153030,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:43:42] local.INFO: Processing buffer {"connection_id":153030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0d87148012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 15:43:42] local.INFO: Packet analysis {"connection_id":153030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:43:42] local.INFO: Extracted packet for processing {"connection_id":153030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0d8"} 
[2026-08-08 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457262952448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786183709000,"timestamp_ms":1786183709000,"timestamp_seconds":1786183709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0d87148"} 
[2026-08-08 15:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 15:43: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-08-08 15:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:43: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-08-08 15:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457262952448001,"66":25756,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457262952448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:43:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457262952448001,"power":25756,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":153030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:43:42] local.INFO: GPS data processed {"connection_id":153030,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:43:42] local.INFO: Acknowledgment sent {"connection_id":153030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:44:04] local.INFO: TCP Data received {"connection_id":153032,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:04] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:04] local.INFO: IMEI packet received {"connection_id":153032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":153032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:44:07] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:44:07] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:44:07] local.INFO: IMEI packet received {"connection_id":153031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":153031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:44:08] local.INFO: TCP Data received {"connection_id":153032,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:08] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:08] local.INFO: IMEI packet received {"connection_id":153032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":153032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:44:09] local.INFO: TCP Data received {"connection_id":153032,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:09] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:44:09] local.INFO: IMEI packet received {"connection_id":153032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":153032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:44:11] local.INFO: TCP Data received {"connection_id":153032,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:11] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:11] local.INFO: Packet analysis {"connection_id":153032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:44:11] local.INFO: Extracted packet for processing {"connection_id":153032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":153032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:44:11] local.INFO: GPS data processed {"connection_id":153032,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:44:11] local.INFO: Acknowledgment sent {"connection_id":153032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:44:12] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:44:12] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:44:12] local.INFO: IMEI packet received {"connection_id":153031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":153031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:44:14] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dc7888012d197e40071febe0003a00fc29..."} 
[2026-08-08 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dc7888012d197e40071febe0003a00fc29..."} 
[2026-08-08 15:44:14] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dc7888012d197e40071febe0003a00fc29..."} 
[2026-08-08 15:44:14] local.INFO: Packet analysis {"connection_id":153031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:44:14] local.INFO: Extracted packet for processing {"connection_id":153031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119532512,"longitude_deg":75.664544,"latitude_deg":11.9532512,"altitude":58,"angle":252,"satellites":41,"speed":18,"hex_longitude":"2d197e40","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-08-08 15:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263096320001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551885773242368,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497795584,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786183973000,"timestamp_ms":1786183973000,"timestamp_seconds":1786183973,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dc7888"} 
[2026-08-08 15:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 15:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263096320001,"66":12667,"102":206,"83":41984,"24":18,"16":11551885773242368,"45":1838313103497795584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263096320001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:44:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551885773242368,"km_value":11551885773242.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497795584,"description":"Unknown IO ID 45"} 
[2026-08-08 15:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263096320001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838313103497795584}} 
[2026-08-08 15:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":153031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:44:14] local.INFO: GPS data processed {"connection_id":153031,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:44:14] local.INFO: Acknowledgment sent {"connection_id":153031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:44:16] local.INFO: TCP Data received {"connection_id":153032,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:16] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:16] local.INFO: Packet analysis {"connection_id":153032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:44:16] local.INFO: Extracted packet for processing {"connection_id":153032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:44:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:44:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":153032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:44:16] local.INFO: GPS data processed {"connection_id":153032,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:44:16] local.INFO: Acknowledgment sent {"connection_id":153032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:44:17] local.INFO: TCP Data received {"connection_id":153031,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dc8058012d197a40071feb70003a010e2b..."} 
[2026-08-08 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dc8058012d197a40071feb70003a010e2b..."} 
[2026-08-08 15:44:17] local.INFO: Processing buffer {"connection_id":153031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dc8058012d197a40071feb70003a010e2b..."} 
[2026-08-08 15:44:17] local.INFO: Packet analysis {"connection_id":153031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:44:17] local.INFO: Extracted packet for processing {"connection_id":153031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756644416,"raw_latitude":119532400,"longitude_deg":75.6644416,"latitude_deg":11.95324,"altitude":58,"angle":270,"satellites":43,"speed":21,"hex_longitude":"2d197a40","hex_latitude":"071feb70","is_valid_coordinates":true} 
[2026-08-08 15:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263097088001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11551933017882624,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358241792,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786183975000,"timestamp_ms":1786183975000,"timestamp_seconds":1786183975,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dc8058"} 
[2026-08-08 15:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 15:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263097088001,"66":13167,"102":206,"83":41984,"24":21,"16":11551933017882624,"45":1836976097358241792},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263097088001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11551933017882624,"km_value":11551933017882.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358241792,"description":"Unknown IO ID 45"} 
[2026-08-08 15:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263097088001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1836976097358241792}} 
[2026-08-08 15:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":153031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:44:17] local.INFO: GPS data processed {"connection_id":153031,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:44:17] local.INFO: Acknowledgment sent {"connection_id":153031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:44:47] local.INFO: TCP Data received {"connection_id":153032,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:47] local.INFO: Processing buffer {"connection_id":153032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:44:47] local.INFO: Packet analysis {"connection_id":153032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:44:47] local.INFO: Extracted packet for processing {"connection_id":153032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:44:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":153032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:44:47] local.INFO: GPS data processed {"connection_id":153032,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:44:47] local.INFO: Acknowledgment sent {"connection_id":153032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:02] local.INFO: TCP Data received {"connection_id":150580,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:02] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:02] local.INFO: IMEI packet received {"connection_id":150580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":150580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:45:05] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:45:05] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:45:05] local.INFO: IMEI packet received {"connection_id":151544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":151544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:45:05] local.INFO: TCP Data received {"connection_id":150580,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:05] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:05] local.INFO: IMEI packet received {"connection_id":150580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":150580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:45:06] local.INFO: TCP Data received {"connection_id":150580,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dc9f98012d196c00071fecc8003b011a2a..."} 
[2026-08-08 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dc9f98012d196c00071fecc8003b011a2a..."} 
[2026-08-08 15:45:06] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dc9f98012d196c00071fecc8003b011a2a..."} 
[2026-08-08 15:45:06] local.INFO: Packet analysis {"connection_id":150580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:45:06] local.INFO: Extracted packet for processing {"connection_id":150580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756640768,"raw_latitude":119532744,"longitude_deg":75.6640768,"latitude_deg":11.9532744,"altitude":59,"angle":282,"satellites":42,"speed":13,"hex_longitude":"2d196c00","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-08-08 15:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263097600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552104816574464,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835850197451370496,"note":"Value kept but may cause issues"} 
[2026-08-08 15: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-08-08 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786183983000,"timestamp_ms":1786183983000,"timestamp_seconds":1786183983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dc9f98"} 
[2026-08-08 15:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:45: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-08-08 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-08 15:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263097600001,"66":13102,"102":206,"83":41984,"24":13,"16":11552104816574464,"45":1835850197451370496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263097600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552104816574464,"km_value":11552104816574.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835850197451370496,"description":"Unknown IO ID 45"} 
[2026-08-08 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263097600001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1835850197451370496}} 
[2026-08-08 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":150580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:45:06] local.INFO: GPS data processed {"connection_id":150580,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:45:06] local.INFO: Acknowledgment sent {"connection_id":150580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:07] local.INFO: TCP Data received {"connection_id":150580,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dcf1a0012d196840071fed78003c01172a..."} 
[2026-08-08 15:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dcf1a0012d196840071fed78003c01172a..."} 
[2026-08-08 15:45:07] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dcf1a0012d196840071fed78003c01172a..."} 
[2026-08-08 15:45:07] local.INFO: Packet analysis {"connection_id":150580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:45:07] local.INFO: Extracted packet for processing {"connection_id":150580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dc"} 
[2026-08-08 15:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532920,"longitude_deg":75.6639808,"latitude_deg":11.953292,"altitude":60,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-08 15:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263099648001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552156356182016,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831839179033331712,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786184004000,"timestamp_ms":1786184004000,"timestamp_seconds":1786184004,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dcf1a0"} 
[2026-08-08 15:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:45: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-08-08 15:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263099648001,"66":13091,"102":206,"83":41984,"24":0,"16":11552156356182016,"45":1831839179033331712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263099648001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552156356182016,"km_value":11552156356182.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831839179033331712,"description":"Unknown IO ID 45"} 
[2026-08-08 15:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263099648001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831839179033331712}} 
[2026-08-08 15:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":150580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:45:07] local.INFO: GPS data processed {"connection_id":150580,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:45:07] local.INFO: Acknowledgment sent {"connection_id":150580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:10] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:45:10] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:45:10] local.INFO: IMEI packet received {"connection_id":151544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":151544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:45:11] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:11] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:11] local.INFO: Packet analysis {"connection_id":151544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:11] local.INFO: Extracted packet for processing {"connection_id":151544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15: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-08-08 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:45:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":151544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:45:11] local.INFO: GPS data processed {"connection_id":151544,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:45:11] local.INFO: Acknowledgment sent {"connection_id":151544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:15] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:15] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:15] local.INFO: Packet analysis {"connection_id":151544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:15] local.INFO: Extracted packet for processing {"connection_id":151544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:45:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":151544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:45:15] local.INFO: GPS data processed {"connection_id":151544,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:45:15] local.INFO: Acknowledgment sent {"connection_id":151544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:38] local.INFO: TCP Data received {"connection_id":150580,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd43a8012d196840071fed78003c01172a..."} 
[2026-08-08 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd43a8012d196840071fed78003c01172a..."} 
[2026-08-08 15:45:38] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd43a8012d196840071fed78003c01172a..."} 
[2026-08-08 15:45:38] local.INFO: Packet analysis {"connection_id":150580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:38] local.INFO: Extracted packet for processing {"connection_id":150580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532920,"longitude_deg":75.6639808,"latitude_deg":11.953292,"altitude":60,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-08 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263105024001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552156356182016,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870711808,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786184025000,"timestamp_ms":1786184025000,"timestamp_seconds":1786184025,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd43a8"} 
[2026-08-08 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:45: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-08-08 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 15:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263105024001,"66":13015,"102":206,"83":41984,"24":0,"16":11552156356182016,"45":1830783647870711808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263105024001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:45:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552156356182016,"km_value":11552156356182.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870711808,"description":"Unknown IO ID 45"} 
[2026-08-08 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263105024001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870711808}} 
[2026-08-08 15:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":150580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:45:38] local.INFO: GPS data processed {"connection_id":150580,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:45:38] local.INFO: Acknowledgment sent {"connection_id":150580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:47] local.INFO: TCP Data received {"connection_id":151544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:47] local.INFO: Processing buffer {"connection_id":151544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:45:47] local.INFO: Packet analysis {"connection_id":151544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:47] local.INFO: Extracted packet for processing {"connection_id":151544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:45: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-08-08 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:45:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":151544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:45:47] local.INFO: GPS data processed {"connection_id":151544,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:45:47] local.INFO: Acknowledgment sent {"connection_id":151544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:45:59] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:59] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:45:59] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:46:02] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:02] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:02] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:46:03] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:03] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:03] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:46:05] local.INFO: TCP Data received {"connection_id":150581,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:46:05] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:46:05] local.INFO: IMEI packet received {"connection_id":150581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":150581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:46:05] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:05] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:46:05] local.INFO: IMEI packet received {"connection_id":150330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":150330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:46:05] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0de9780012d196ac0071fecf8003c005d21..."} 
[2026-08-08 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0de9780012d196ac0071fecf8003c005d21..."} 
[2026-08-08 15:46:05] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0de9780012d196ac0071fecf8003c005d21..."} 
[2026-08-08 15:46:05] local.INFO: Packet analysis {"connection_id":150330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:46:05] local.INFO: Extracted packet for processing {"connection_id":150330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532792,"longitude_deg":75.6640448,"latitude_deg":11.9532792,"altitude":60,"angle":93,"satellites":33,"speed":2,"hex_longitude":"2d196ac0","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-08-08 15:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263127808001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552203600822272,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824100352,"note":"Value kept but may cause issues"} 
[2026-08-08 15: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-08-08 15:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786184112000,"timestamp_ms":1786184112000,"timestamp_seconds":1786184112,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0de9780"} 
[2026-08-08 15:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:46: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-08-08 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 15:46: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-08-08 15:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263127808001,"66":14048,"102":206,"83":41984,"24":2,"16":11552203600822272,"45":1831346597824100352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263127808001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552203600822272,"km_value":11552203600822.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824100352,"description":"Unknown IO ID 45"} 
[2026-08-08 15:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263127808001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1831346597824100352}} 
[2026-08-08 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":150330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:46:05] local.INFO: GPS data processed {"connection_id":150330,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:46:05] local.INFO: Acknowledgment sent {"connection_id":150330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:46:07] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0de9b68012d196b80071fec98003c007220..."} 
[2026-08-08 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0de9b68012d196b80071fec98003c007220..."} 
[2026-08-08 15:46:07] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0de9b68012d196b80071fec98003c007220..."} 
[2026-08-08 15:46:07] local.INFO: Packet analysis {"connection_id":150330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:46:07] local.INFO: Extracted packet for processing {"connection_id":150330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119532696,"longitude_deg":75.664064,"latitude_deg":11.9532696,"altitude":60,"angle":114,"satellites":32,"speed":4,"hex_longitude":"2d196b80","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-08-08 15:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263132672001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552212190756864,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312455680,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786184113000,"timestamp_ms":1786184113000,"timestamp_seconds":1786184113,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0de9b68"} 
[2026-08-08 15:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 15:46: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-08-08 15:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263132672001,"66":13972,"102":206,"83":41984,"24":4,"16":11552212190756864,"45":1831487335312455680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263132672001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552212190756864,"km_value":11552212190756.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312455680,"description":"Unknown IO ID 45"} 
[2026-08-08 15:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263132672001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1831487335312455680}} 
[2026-08-08 15:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":150330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:46:07] local.INFO: GPS data processed {"connection_id":150330,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:46:07] local.INFO: Acknowledgment sent {"connection_id":150330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:46:09] local.INFO: TCP Data received {"connection_id":150581,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:46:09] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:46:09] local.INFO: IMEI packet received {"connection_id":150581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":150581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:46:10] local.INFO: TCP Data received {"connection_id":150581,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:46:10] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:46:10] local.INFO: Packet analysis {"connection_id":150581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:46:10] local.INFO: Extracted packet for processing {"connection_id":150581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:46:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 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-08-08 15:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15: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-08-08 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-08-08 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-08-08 15:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:46:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:46:10] local.INFO: GPS data processed {"connection_id":150581,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:46:10] local.INFO: Acknowledgment sent {"connection_id":150581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:46:38] local.INFO: TCP Data received {"connection_id":150330,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dea720012d196e00071febc8003c006522..."} 
[2026-08-08 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dea720012d196e00071febc8003c006522..."} 
[2026-08-08 15:46:38] local.INFO: Processing buffer {"connection_id":150330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dea720012d196e00071febc8003c006522..."} 
[2026-08-08 15:46:38] local.INFO: Packet analysis {"connection_id":150330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:46:38] local.INFO: Extracted packet for processing {"connection_id":150330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119532488,"longitude_deg":75.664128,"latitude_deg":11.9532488,"altitude":60,"angle":101,"satellites":34,"speed":11,"hex_longitude":"2d196e00","hex_latitude":"071febc8","is_valid_coordinates":true} 
[2026-08-08 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263132928001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552246550495232,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544964096,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46: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-08-08 15:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786184116000,"timestamp_ms":1786184116000,"timestamp_seconds":1786184116,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dea720"} 
[2026-08-08 15:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:46: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-08-08 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 15:46: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-08-08 15:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263132928001,"66":14113,"102":206,"83":41984,"24":11,"16":11552246550495232,"45":1831698441544964096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263132928001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:46:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552246550495232,"km_value":11552246550495.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544964096,"description":"Unknown IO ID 45"} 
[2026-08-08 15:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263132928001,"power":14113,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1831698441544964096}} 
[2026-08-08 15:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":150330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:46:38] local.INFO: GPS data processed {"connection_id":150330,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:46:38] local.INFO: Acknowledgment sent {"connection_id":150330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:46:41] local.INFO: TCP Data received {"connection_id":150581,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:46:41] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:46:41] local.INFO: Packet analysis {"connection_id":150581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:46:41] local.INFO: Extracted packet for processing {"connection_id":150581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:46:41] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 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-08-08 15:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15: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-08-08 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-08-08 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-08-08 15:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:46: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-08-08 15:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:46:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":150581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:46:41] local.INFO: GPS data processed {"connection_id":150581,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:46:41] local.INFO: Acknowledgment sent {"connection_id":150581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:47:02] local.INFO: TCP Data received {"connection_id":150331,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:47:02] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:47:02] local.INFO: IMEI packet received {"connection_id":150331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":150331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:47:04] local.INFO: TCP Data received {"connection_id":151545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:47:04] local.INFO: Processing buffer {"connection_id":151545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:47:04] local.INFO: IMEI packet received {"connection_id":151545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":151545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:47:07] local.INFO: TCP Data received {"connection_id":150331,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:47:07] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:47:07] local.INFO: IMEI packet received {"connection_id":150331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":150331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:47:08] local.INFO: TCP Data received {"connection_id":150331,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0debaa8012d1974c0071feb18003c005923..."} 
[2026-08-08 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0debaa8012d1974c0071feb18003c005923..."} 
[2026-08-08 15:47:08] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0debaa8012d1974c0071feb18003c005923..."} 
[2026-08-08 15:47:08] local.INFO: Packet analysis {"connection_id":150331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:47:08] local.INFO: Extracted packet for processing {"connection_id":150331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0de"} 
[2026-08-08 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532312,"longitude_deg":75.6643008,"latitude_deg":11.9532312,"altitude":60,"angle":89,"satellites":35,"speed":15,"hex_longitude":"2d1974c0","hex_latitude":"071feb18","is_valid_coordinates":true} 
[2026-08-08 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263133696001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11552328154873856,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128986687488,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47: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-08-08 15:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184121000,"timestamp_ms":1786184121000,"timestamp_seconds":1786184121,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0debaa8"} 
[2026-08-08 15:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:47: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-08-08 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 15:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263133696001,"66":14113,"102":206,"83":41984,"24":15,"16":11552328154873856,"45":1832402128986687488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-08 15:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263133696001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:47:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-08 15:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11552328154873856,"km_value":11552328154873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128986687488,"description":"Unknown IO ID 45"} 
[2026-08-08 15:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263133696001,"power":14113,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1832402128986687488}} 
[2026-08-08 15:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":150331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:47:08] local.INFO: GPS data processed {"connection_id":150331,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:47:08] local.INFO: Acknowledgment sent {"connection_id":150331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:47:09] local.INFO: TCP Data received {"connection_id":151545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:47:09] local.INFO: Processing buffer {"connection_id":151545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:47:09] local.INFO: IMEI packet received {"connection_id":151545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":151545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:47:10] local.INFO: TCP Data received {"connection_id":151545,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:47:10] local.INFO: Processing buffer {"connection_id":151545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:47:10] local.INFO: Packet analysis {"connection_id":151545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:47:10] local.INFO: Extracted packet for processing {"connection_id":151545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 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-08-08 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15: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-08-08 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-08-08 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-08-08 15:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:47:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":151545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:47:10] local.INFO: GPS data processed {"connection_id":151545,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:47:10] local.INFO: Acknowledgment sent {"connection_id":151545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:47:39] local.INFO: TCP Data received {"connection_id":150331,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e03978012d19cc40071ff8e00039002629..."} 
[2026-08-08 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e03978012d19cc40071ff8e00039002629..."} 
[2026-08-08 15:47:39] local.INFO: Processing buffer {"connection_id":150331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e03978012d19cc40071ff8e00039002629..."} 
[2026-08-08 15:47:39] local.INFO: Packet analysis {"connection_id":150331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e0"} 
[2026-08-08 15:47:39] local.INFO: Extracted packet for processing {"connection_id":150331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e0"} 
[2026-08-08 15:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535840,"longitude_deg":75.6665408,"latitude_deg":11.953584,"altitude":57,"angle":38,"satellites":41,"speed":19,"hex_longitude":"2d19cc40","hex_latitude":"071ff8e0","is_valid_coordinates":true} 
[2026-08-08 15:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263159552001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553509270880256,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564333068288,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47: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-08-08 15:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184219000,"timestamp_ms":1786184219000,"timestamp_seconds":1786184219,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e03978"} 
[2026-08-08 15:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 15:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263159552001,"66":14004,"101":206,"83":41984,"24":19,"16":11553509270880256,"45":1858438564333068288},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263159552001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553509270880256,"km_value":11553509270880.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564333068288,"description":"Unknown IO ID 45"} 
[2026-08-08 15:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263159552001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1858438564333068288}} 
[2026-08-08 15:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":150331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:47:39] local.INFO: GPS data processed {"connection_id":150331,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:47:39] local.INFO: Acknowledgment sent {"connection_id":150331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:47:50] local.INFO: TCP Data received {"connection_id":151545,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:47:50] local.INFO: Processing buffer {"connection_id":151545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:47:50] local.INFO: Packet analysis {"connection_id":151545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:47:50] local.INFO: Extracted packet for processing {"connection_id":151545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:47:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":151545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:47:50] local.INFO: GPS data processed {"connection_id":151545,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:47:50] local.INFO: Acknowledgment sent {"connection_id":151545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:48:02] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:02] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:02] local.INFO: IMEI packet received {"connection_id":153033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":153033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:48:04] local.INFO: TCP Data received {"connection_id":150582,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:48:04] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:48:04] local.INFO: IMEI packet received {"connection_id":150582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":150582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:48:07] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:07] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:07] local.INFO: IMEI packet received {"connection_id":153033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":153033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:48:07] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:07] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:48:07] local.INFO: IMEI packet received {"connection_id":153033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":153033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:48:09] local.INFO: TCP Data received {"connection_id":150582,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:48:09] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:48:09] local.INFO: IMEI packet received {"connection_id":150582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":150582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:48:10] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e03d60012d19cdc0071ffa380038003429..."} 
[2026-08-08 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e03d60012d19cdc0071ffa380038003429..."} 
[2026-08-08 15:48:10] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e03d60012d19cdc0071ffa380038003429..."} 
[2026-08-08 15:48:10] local.INFO: Packet analysis {"connection_id":153033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e0"} 
[2026-08-08 15:48:10] local.INFO: Extracted packet for processing {"connection_id":153033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e0"} 
[2026-08-08 15:48:10] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119536184,"longitude_deg":75.6665792,"latitude_deg":11.9536184,"altitude":56,"angle":52,"satellites":41,"speed":21,"hex_longitude":"2d19cdc0","hex_latitude":"071ffa38","is_valid_coordinates":true} 
[2026-08-08 15:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263160064001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553535040684032,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145542524928,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184220000,"timestamp_ms":1786184220000,"timestamp_seconds":1786184220,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e03d60"} 
[2026-08-08 15:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:48: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-08-08 15:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 15:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263160064001,"66":14004,"101":206,"83":41984,"24":21,"16":11553535040684032,"45":1858931145542524928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263160064001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:48:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553535040684032,"km_value":11553535040684.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145542524928,"description":"Unknown IO ID 45"} 
[2026-08-08 15:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263160064001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1858931145542524928}} 
[2026-08-08 15:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":153033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:48:10] local.INFO: GPS data processed {"connection_id":153033,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:48:10] local.INFO: Acknowledgment sent {"connection_id":153033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:48:11] local.INFO: TCP Data received {"connection_id":150582,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:48:11] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:48:11] local.INFO: Packet analysis {"connection_id":150582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:48:11] local.INFO: Extracted packet for processing {"connection_id":150582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:48:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":150582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:48:11] local.INFO: GPS data processed {"connection_id":150582,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:48:11] local.INFO: Acknowledgment sent {"connection_id":150582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:48:12] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e04148012d19d000071ffb300038004229..."} 
[2026-08-08 15:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e04148012d19d000071ffb300038004229..."} 
[2026-08-08 15:48:12] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e04148012d19d000071ffb300038004229..."} 
[2026-08-08 15:48:12] local.INFO: Packet analysis {"connection_id":153033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e0"} 
[2026-08-08 15:48:12] local.INFO: Extracted packet for processing {"connection_id":153033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e0"} 
[2026-08-08 15:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756666368,"raw_latitude":119536432,"longitude_deg":75.6666368,"latitude_deg":11.9536432,"altitude":56,"angle":66,"satellites":41,"speed":21,"hex_longitude":"2d19d000","hex_latitude":"071ffb30","is_valid_coordinates":true} 
[2026-08-08 15:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263160320001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11553565105455104,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358007678976,"note":"Value kept but may cause issues"} 
[2026-08-08 15: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-08-08 15:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786184221000,"timestamp_ms":1786184221000,"timestamp_seconds":1786184221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e04148"} 
[2026-08-08 15:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 15:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263160320001,"66":13939,"101":206,"83":41984,"24":21,"16":11553565105455104,"45":1859353358007678976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 15:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263160320001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:48:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 15:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11553565105455104,"km_value":11553565105455.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358007678976,"description":"Unknown IO ID 45"} 
[2026-08-08 15:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263160320001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1859353358007678976}} 
[2026-08-08 15:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":153033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:48:12] local.INFO: GPS data processed {"connection_id":153033,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:48:12] local.INFO: Acknowledgment sent {"connection_id":153033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:48:42] local.INFO: TCP Data received {"connection_id":150582,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:48:42] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0dd0910012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:48:42] local.INFO: Packet analysis {"connection_id":150582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:48:42] local.INFO: Extracted packet for processing {"connection_id":150582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0dd"} 
[2026-08-08 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263029504001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184010000,"timestamp_ms":1786184010000,"timestamp_seconds":1786184010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0dd0910"} 
[2026-08-08 15:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 15:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263029504001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263029504001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:48:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263029504001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":150582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:48:42] local.INFO: GPS data processed {"connection_id":150582,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:48:42] local.INFO: Acknowledgment sent {"connection_id":150582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:48:43] local.INFO: TCP Data received {"connection_id":153033,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e12f90012d19b9c00720a660002f001627..."} 
[2026-08-08 15:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e12f90012d19b9c00720a660002f001627..."} 
[2026-08-08 15:48:43] local.INFO: Processing buffer {"connection_id":153033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e12f90012d19b9c00720a660002f001627..."} 
[2026-08-08 15:48:43] local.INFO: Packet analysis {"connection_id":153033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:48:43] local.INFO: Extracted packet for processing {"connection_id":153033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580256,"longitude_deg":75.6660672,"latitude_deg":11.9580256,"altitude":47,"angle":22,"satellites":39,"speed":23,"hex_longitude":"2d19b9c0","hex_latitude":"0720a660","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263174912001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11556000351911936,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846205202432,"note":"Value kept but may cause issues"} 
[2026-08-08 15:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786184282000,"timestamp_ms":1786184282000,"timestamp_seconds":1786184282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e12f90"} 
[2026-08-08 15:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 15:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263174912001,"66":14515,"103":206,"83":41984,"24":23,"16":11556000351911936,"45":1851049846205202432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263174912001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:48:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11556000351911936,"km_value":11556000351911.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846205202432,"description":"Unknown IO ID 45"} 
[2026-08-08 15:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263174912001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1851049846205202432}} 
[2026-08-08 15:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":153033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:48:43] local.INFO: GPS data processed {"connection_id":153033,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:48:43] local.INFO: Acknowledgment sent {"connection_id":153033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:49:02] local.INFO: TCP Data received {"connection_id":150332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:02] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:02] local.INFO: IMEI packet received {"connection_id":150332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":150332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:49:04] local.INFO: TCP Data received {"connection_id":150332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:04] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:04] local.INFO: IMEI packet received {"connection_id":150332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":150332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:49:04] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:04] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:04] local.INFO: IMEI packet received {"connection_id":153034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":153034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:49:07] local.INFO: TCP Data received {"connection_id":150332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:07] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:49:07] local.INFO: IMEI packet received {"connection_id":150332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":150332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:49:08] local.INFO: TCP Data received {"connection_id":150332,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e13378012d19ba000720a870002f000527..."} 
[2026-08-08 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e13378012d19ba000720a870002f000527..."} 
[2026-08-08 15:49:08] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e13378012d19ba000720a870002f000527..."} 
[2026-08-08 15:49:08] local.INFO: Packet analysis {"connection_id":150332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:08] local.INFO: Extracted packet for processing {"connection_id":150332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119580784,"longitude_deg":75.6660736,"latitude_deg":11.9580784,"altitude":47,"angle":5,"satellites":39,"speed":20,"hex_longitude":"2d19ba00","hex_latitude":"0720a870","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263176192001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11556026121715712,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484748288,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184283000,"timestamp_ms":1786184283000,"timestamp_seconds":1786184283,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e13378"} 
[2026-08-08 15:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:49: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-08-08 15: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":179,"data_length":795,"current_offset":136} 
[2026-08-08 15:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263176192001,"66":14483,"103":206,"83":41984,"24":20,"16":11556026121715712,"45":1853723858484748288},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263176192001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:49:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:49:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11556026121715712,"km_value":11556026121715.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484748288,"description":"Unknown IO ID 45"} 
[2026-08-08 15:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263176192001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853723858484748288}} 
[2026-08-08 15:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":150332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:49:08] local.INFO: GPS data processed {"connection_id":150332,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:49:08] local.INFO: Acknowledgment sent {"connection_id":150332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:49:08] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:08] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:08] local.INFO: IMEI packet received {"connection_id":153034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":153034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:49:09] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:09] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:49:09] local.INFO: IMEI packet received {"connection_id":153034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":153034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:49:11] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:11] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:11] local.INFO: Packet analysis {"connection_id":153034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:11] local.INFO: Extracted packet for processing {"connection_id":153034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":153034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:49:11] local.INFO: GPS data processed {"connection_id":153034,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:49:11] local.INFO: Acknowledgment sent {"connection_id":153034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:49:15] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:16] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:16] local.INFO: Packet analysis {"connection_id":153034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:16] local.INFO: Extracted packet for processing {"connection_id":153034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:49:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":153034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:49:16] local.INFO: GPS data processed {"connection_id":153034,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:49:16] local.INFO: Acknowledgment sent {"connection_id":153034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:49:39] local.INFO: TCP Data received {"connection_id":150332,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e13760012d19b9c00720aa400030016227..."} 
[2026-08-08 15:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e13760012d19b9c00720aa400030016227..."} 
[2026-08-08 15:49:39] local.INFO: Processing buffer {"connection_id":150332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e13760012d19b9c00720aa400030016227..."} 
[2026-08-08 15:49:39] local.INFO: Packet analysis {"connection_id":150332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:39] local.INFO: Extracted packet for processing {"connection_id":150332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119581248,"longitude_deg":75.6660672,"latitude_deg":11.9581248,"altitude":48,"angle":354,"satellites":39,"speed":19,"hex_longitude":"2d19b9c0","hex_latitude":"0720aa40","is_valid_coordinates":true} 
[2026-08-08 15:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263176448001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11556051891519488,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229061120,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184284000,"timestamp_ms":1786184284000,"timestamp_seconds":1786184284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e13760"} 
[2026-08-08 15:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:49: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-08-08 15: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":147,"data_length":795,"current_offset":136} 
[2026-08-08 15:49: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-08-08 15:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263176448001,"66":14483,"103":206,"83":41984,"24":19,"16":11556051891519488,"45":1853794227229061120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263176448001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:49:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11556051891519488,"km_value":11556051891519.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229061120,"description":"Unknown IO ID 45"} 
[2026-08-08 15:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263176448001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853794227229061120}} 
[2026-08-08 15:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":150332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:49:39] local.INFO: GPS data processed {"connection_id":150332,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:49:39] local.INFO: Acknowledgment sent {"connection_id":150332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:49:47] local.INFO: TCP Data received {"connection_id":153034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:47] local.INFO: Processing buffer {"connection_id":153034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:49:47] local.INFO: Packet analysis {"connection_id":153034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:47] local.INFO: Extracted packet for processing {"connection_id":153034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:49: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-08-08 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:49:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:49:47] local.INFO: GPS data processed {"connection_id":153034,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:49:47] local.INFO: Acknowledgment sent {"connection_id":153034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:50:02] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:02] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:02] local.INFO: IMEI packet received {"connection_id":153035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":153035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:50:04] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:50:04] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:50:04] local.INFO: IMEI packet received {"connection_id":150583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":150583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:50:05] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:05] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:05] local.INFO: IMEI packet received {"connection_id":153035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":153035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:50:07] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:07] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:50:07] local.INFO: IMEI packet received {"connection_id":153035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":153035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:50:07] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1fe98012d1906800720cb800031012f25..."} 
[2026-08-08 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1fe98012d1906800720cb800031012f25..."} 
[2026-08-08 15:50:07] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1fe98012d1906800720cb800031012f25..."} 
[2026-08-08 15:50:07] local.INFO: Packet analysis {"connection_id":153035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:50:07] local.INFO: Extracted packet for processing {"connection_id":153035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756614784,"raw_latitude":119589760,"longitude_deg":75.6614784,"latitude_deg":11.958976,"altitude":49,"angle":303,"satellites":37,"speed":33,"hex_longitude":"2d190680","hex_latitude":"0720cb80","is_valid_coordinates":true} 
[2026-08-08 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263188224001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11558349699022848,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809110074677862400,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50: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-08-08 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786184335000,"timestamp_ms":1786184335000,"timestamp_seconds":1786184335,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1fe98"} 
[2026-08-08 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 15:50: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-08-08 15:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263188224001,"66":14113,"103":206,"83":41984,"24":33,"16":11558349699022848,"45":1809110074677862400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263188224001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11558349699022848,"km_value":11558349699022.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809110074677862400,"description":"Unknown IO ID 45"} 
[2026-08-08 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263188224001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1809110074677862400}} 
[2026-08-08 15:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":153035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:50:08] local.INFO: GPS data processed {"connection_id":153035,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:50:08] local.INFO: Acknowledgment sent {"connection_id":153035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:50:09] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:50:09] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:50:09] local.INFO: IMEI packet received {"connection_id":150583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":150583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:50:11] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:50:11] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:50:11] local.INFO: Packet analysis {"connection_id":150583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:50:11] local.INFO: Extracted packet for processing {"connection_id":150583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:50:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:50:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":150583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:50:11] local.INFO: GPS data processed {"connection_id":150583,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:50:11] local.INFO: Acknowledgment sent {"connection_id":150583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:50:39] local.INFO: TCP Data received {"connection_id":153035,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e2d188012d18ad8007216fd0004a013e29..."} 
[2026-08-08 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e2d188012d18ad8007216fd0004a013e29..."} 
[2026-08-08 15:50:39] local.INFO: Processing buffer {"connection_id":153035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e2d188012d18ad8007216fd0004a013e29..."} 
[2026-08-08 15:50:39] local.INFO: Packet analysis {"connection_id":153035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e2"} 
[2026-08-08 15:50:39] local.INFO: Extracted packet for processing {"connection_id":153035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e2"} 
[2026-08-08 15:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631824,"longitude_deg":75.6592,"latitude_deg":11.9631824,"altitude":74,"angle":318,"satellites":41,"speed":34,"hex_longitude":"2d18ad80","hex_latitude":"07216fd0","is_valid_coordinates":true} 
[2026-08-08 15:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263201280001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11560759175675904,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636589295331328,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184389000,"timestamp_ms":1786184389000,"timestamp_seconds":1786184389,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e2d188"} 
[2026-08-08 15:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:50: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-08-08 15:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 15:50: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-08-08 15:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263201280001,"66":14102,"106":206,"83":41984,"24":34,"16":11560759175675904,"45":1783636589295331328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263201280001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11560759175675904,"km_value":11560759175675.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636589295331328,"description":"Unknown IO ID 45"} 
[2026-08-08 15:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263201280001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1783636589295331328}} 
[2026-08-08 15:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":153035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:50:39] local.INFO: GPS data processed {"connection_id":153035,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:50:39] local.INFO: Acknowledgment sent {"connection_id":153035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:50:43] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:50:43] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:50:43] local.INFO: Packet analysis {"connection_id":150583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:50:43] local.INFO: Extracted packet for processing {"connection_id":150583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:50:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":150583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:50:43] local.INFO: GPS data processed {"connection_id":150583,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:50:43] local.INFO: Acknowledgment sent {"connection_id":150583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:51:04] local.INFO: TCP Data received {"connection_id":150584,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:51:04] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:51:04] local.INFO: IMEI packet received {"connection_id":150584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":150584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:51:07] local.INFO: TCP Data received {"connection_id":151546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:07] local.INFO: Processing buffer {"connection_id":151546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:07] local.INFO: IMEI packet received {"connection_id":151546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":151546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:51:07] local.INFO: TCP Data received {"connection_id":151546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:07] local.INFO: Processing buffer {"connection_id":151546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:07] local.INFO: IMEI packet received {"connection_id":151546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":151546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:51:09] local.INFO: TCP Data received {"connection_id":150584,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:51:09] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:51:09] local.INFO: IMEI packet received {"connection_id":150584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":150584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:51:11] local.INFO: TCP Data received {"connection_id":150584,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:51:11] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:51:11] local.INFO: Packet analysis {"connection_id":150584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:51:11] local.INFO: Extracted packet for processing {"connection_id":150584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:51:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":150584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:51:11] local.INFO: GPS data processed {"connection_id":150584,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:51:11] local.INFO: Acknowledgment sent {"connection_id":150584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:51:12] local.INFO: TCP Data received {"connection_id":151546,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:12] local.INFO: Processing buffer {"connection_id":151546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:51:12] local.INFO: IMEI packet received {"connection_id":151546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":151546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:51:13] local.INFO: TCP Data received {"connection_id":151546,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e2d958012d18a84007217418004b012f25..."} 
[2026-08-08 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e2d958012d18a84007217418004b012f25..."} 
[2026-08-08 15:51:13] local.INFO: Processing buffer {"connection_id":151546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e2d958012d18a84007217418004b012f25..."} 
[2026-08-08 15:51:13] local.INFO: Packet analysis {"connection_id":151546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e2"} 
[2026-08-08 15:51:13] local.INFO: Extracted packet for processing {"connection_id":151546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e2"} 
[2026-08-08 15:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119632920,"longitude_deg":75.6590656,"latitude_deg":11.963292,"altitude":75,"angle":303,"satellites":37,"speed":34,"hex_longitude":"2d18a840","hex_latitude":"07217418","is_valid_coordinates":true} 
[2026-08-08 15:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263203584001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11560840780054528,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995316224,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786184391000,"timestamp_ms":1786184391000,"timestamp_seconds":1786184391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e2d958"} 
[2026-08-08 15:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 15:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263203584001,"66":14070,"106":206,"83":41984,"24":34,"16":11560840780054528,"45":1778218195995316224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263203584001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11560840780054528,"km_value":11560840780054.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995316224,"description":"Unknown IO ID 45"} 
[2026-08-08 15:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263203584001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1778218195995316224}} 
[2026-08-08 15:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":151546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:51:13] local.INFO: GPS data processed {"connection_id":151546,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:51:13] local.INFO: Acknowledgment sent {"connection_id":151546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:51:16] local.INFO: TCP Data received {"connection_id":151546,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e2e128012d18a1c0072176c0004b011f26..."} 
[2026-08-08 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e2e128012d18a1c0072176c0004b011f26..."} 
[2026-08-08 15:51:16] local.INFO: Processing buffer {"connection_id":151546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e2e128012d18a1c0072176c0004b011f26..."} 
[2026-08-08 15:51:16] local.INFO: Packet analysis {"connection_id":151546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e2"} 
[2026-08-08 15:51:16] local.INFO: Extracted packet for processing {"connection_id":151546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e2"} 
[2026-08-08 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119633600,"longitude_deg":75.6588992,"latitude_deg":11.96336,"altitude":75,"angle":287,"satellites":38,"speed":35,"hex_longitude":"2d18a1c0","hex_latitude":"072176c0","is_valid_coordinates":true} 
[2026-08-08 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263204096001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11560926679400448,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367865856,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786184393000,"timestamp_ms":1786184393000,"timestamp_seconds":1786184393,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e2e128"} 
[2026-08-08 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 15:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263204096001,"66":14026,"106":206,"83":41984,"24":35,"16":11560926679400448,"45":1776740452367865856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263204096001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:51:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 15:51:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11560926679400448,"km_value":11560926679400.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367865856,"description":"Unknown IO ID 45"} 
[2026-08-08 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263204096001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776740452367865856}} 
[2026-08-08 15:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":151546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:51:16] local.INFO: GPS data processed {"connection_id":151546,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:51:16] local.INFO: Acknowledgment sent {"connection_id":151546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:51:42] local.INFO: TCP Data received {"connection_id":150584,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:51:42] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:51:42] local.INFO: Packet analysis {"connection_id":150584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:51:42] local.INFO: Extracted packet for processing {"connection_id":150584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:51:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":150584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:51:42] local.INFO: GPS data processed {"connection_id":150584,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:51:42] local.INFO: Acknowledgment sent {"connection_id":150584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:52:02] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:52:02] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:52:02] local.INFO: IMEI packet received {"connection_id":153036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":153036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:52:04] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:52:04] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:52:04] local.INFO: IMEI packet received {"connection_id":151547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:52:07] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:52:07] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:52:07] local.INFO: IMEI packet received {"connection_id":153036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":153036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:52:08] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e40df0012d1819000721a1d8004e00d125..."} 
[2026-08-08 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e40df0012d1819000721a1d8004e00d125..."} 
[2026-08-08 15:52:08] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e40df0012d1819000721a1d8004e00d125..."} 
[2026-08-08 15:52:08] local.INFO: Packet analysis {"connection_id":153036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:52:08] local.INFO: Extracted packet for processing {"connection_id":153036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119644632,"longitude_deg":75.6553984,"latitude_deg":11.9644632,"altitude":78,"angle":209,"satellites":37,"speed":12,"hex_longitude":"2d181900","hex_latitude":"0721a1d8","is_valid_coordinates":true} 
[2026-08-08 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263223296001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562773515337728,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480654899200,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52: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-08-08 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184470000,"timestamp_ms":1786184470000,"timestamp_seconds":1786184470,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e40df0"} 
[2026-08-08 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:52: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-08-08 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 15:52: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-08-08 15:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263223296001,"66":13222,"107":206,"83":41984,"24":12,"16":11562773515337728,"45":1737052480654899200},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263223296001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:52:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562773515337728,"km_value":11562773515337.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480654899200,"description":"Unknown IO ID 45"} 
[2026-08-08 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263223296001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737052480654899200}} 
[2026-08-08 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":153036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:52:08] local.INFO: GPS data processed {"connection_id":153036,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:52:08] local.INFO: Acknowledgment sent {"connection_id":153036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:52:09] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:52:09] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:52:09] local.INFO: IMEI packet received {"connection_id":151547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:52:10] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:52:10] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:52:10] local.INFO: Packet analysis {"connection_id":151547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:52:10] local.INFO: Extracted packet for processing {"connection_id":151547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15: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-08-08 15:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:52:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":151547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:52:10] local.INFO: GPS data processed {"connection_id":151547,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:52:10] local.INFO: Acknowledgment sent {"connection_id":151547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:52:39] local.INFO: TCP Data received {"connection_id":153036,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e42178012d18164007219cc0004e00c128..."} 
[2026-08-08 15:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e42178012d18164007219cc0004e00c128..."} 
[2026-08-08 15:52:39] local.INFO: Processing buffer {"connection_id":153036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e42178012d18164007219cc0004e00c128..."} 
[2026-08-08 15:52:39] local.INFO: Packet analysis {"connection_id":153036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:52:39] local.INFO: Extracted packet for processing {"connection_id":153036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119643328,"longitude_deg":75.655328,"latitude_deg":11.9643328,"altitude":78,"angle":193,"satellites":40,"speed":10,"hex_longitude":"2d181640","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-08-08 15:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263224320001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562842234814464,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161957062656,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184475000,"timestamp_ms":1786184475000,"timestamp_seconds":1786184475,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e42178"} 
[2026-08-08 15:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:52: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-08-08 15:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 15:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263224320001,"66":13222,"107":206,"83":41984,"24":10,"16":11562842234814464,"45":1736419161957062656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263224320001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562842234814464,"km_value":11562842234814.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161957062656,"description":"Unknown IO ID 45"} 
[2026-08-08 15:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263224320001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1736419161957062656}} 
[2026-08-08 15:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":153036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:52:39] local.INFO: GPS data processed {"connection_id":153036,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:52:39] local.INFO: Acknowledgment sent {"connection_id":153036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:52:41] local.INFO: TCP Data received {"connection_id":151547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:52:41] local.INFO: Processing buffer {"connection_id":151547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:52:41] local.INFO: Packet analysis {"connection_id":151547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:52:41] local.INFO: Extracted packet for processing {"connection_id":151547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15: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-08-08 15:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:52:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":151547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:52:41] local.INFO: GPS data processed {"connection_id":151547,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:52:41] local.INFO: Acknowledgment sent {"connection_id":151547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:53:02] local.INFO: TCP Data received {"connection_id":150585,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:53:02] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:53:02] local.INFO: IMEI packet received {"connection_id":150585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":150585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:53:04] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:53:04] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:53:04] local.INFO: IMEI packet received {"connection_id":153037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":153037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:53:07] local.INFO: TCP Data received {"connection_id":150585,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:53:07] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:53:07] local.INFO: IMEI packet received {"connection_id":150585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":150585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:53:08] local.INFO: TCP Data received {"connection_id":150585,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e42560012d18160007219bd8004e00b027..."} 
[2026-08-08 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e42560012d18160007219bd8004e00b027..."} 
[2026-08-08 15:53:08] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e42560012d18160007219bd8004e00b027..."} 
[2026-08-08 15:53:08] local.INFO: Packet analysis {"connection_id":150585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:53:08] local.INFO: Extracted packet for processing {"connection_id":150585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119643096,"longitude_deg":75.6553216,"latitude_deg":11.9643096,"altitude":78,"angle":176,"satellites":39,"speed":8,"hex_longitude":"2d181600","hex_latitude":"07219bd8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263225600001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562855119716352,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770774528,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53: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-08-08 15:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184476000,"timestamp_ms":1786184476000,"timestamp_seconds":1786184476,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e42560"} 
[2026-08-08 15:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:53: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-08-08 15: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 15:53: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-08-08 15: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-08-08 15:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263225600001,"66":13222,"107":206,"83":41984,"24":8,"16":11562855119716352,"45":1735645105770774528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263225600001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:53:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562855119716352,"km_value":11562855119716.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770774528,"description":"Unknown IO ID 45"} 
[2026-08-08 15:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263225600001,"power":13222,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1735645105770774528}} 
[2026-08-08 15:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":150585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:53:08] local.INFO: GPS data processed {"connection_id":150585,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:53:08] local.INFO: Acknowledgment sent {"connection_id":150585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:53:09] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:53:09] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:53:09] local.INFO: IMEI packet received {"connection_id":153037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":153037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:53:11] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:53:11] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:53:11] local.INFO: Packet analysis {"connection_id":153037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:53:11] local.INFO: Extracted packet for processing {"connection_id":153037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:53: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-08-08 15:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:53:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":153037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:53:11] local.INFO: GPS data processed {"connection_id":153037,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:53:11] local.INFO: Acknowledgment sent {"connection_id":153037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:53:39] local.INFO: TCP Data received {"connection_id":150585,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e47768012d18164007219ab8004d00b024..."} 
[2026-08-08 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e47768012d18164007219ab8004d00b024..."} 
[2026-08-08 15:53:39] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e47768012d18164007219ab8004d00b024..."} 
[2026-08-08 15:53:39] local.INFO: Packet analysis {"connection_id":150585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:53:39] local.INFO: Extracted packet for processing {"connection_id":150585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263225856001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026537472,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184497000,"timestamp_ms":1786184497000,"timestamp_seconds":1786184497,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e47768"} 
[2026-08-08 15:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:53: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-08-08 15:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 15:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263225856001,"66":13102,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735574737026537472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263225856001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026537472,"description":"Unknown IO ID 45"} 
[2026-08-08 15:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263225856001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735574737026537472}} 
[2026-08-08 15:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":150585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:53:39] local.INFO: GPS data processed {"connection_id":150585,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:53:39] local.INFO: Acknowledgment sent {"connection_id":150585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:53:42] local.INFO: TCP Data received {"connection_id":153037,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:53:42] local.INFO: Processing buffer {"connection_id":153037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e1a0d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:53:42] local.INFO: Packet analysis {"connection_id":153037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:53:42] local.INFO: Extracted packet for processing {"connection_id":153037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e1"} 
[2026-08-08 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263106560001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184311000,"timestamp_ms":1786184311000,"timestamp_seconds":1786184311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e1a0d8"} 
[2026-08-08 15:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:53: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-08-08 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263106560001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263106560001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:53:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:53:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263106560001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":153037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:53:42] local.INFO: GPS data processed {"connection_id":153037,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:53:42] local.INFO: Acknowledgment sent {"connection_id":153037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:54:00] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:00] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:00] local.INFO: IMEI packet received {"connection_id":150333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":150333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:54:02] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:02] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:02] local.INFO: IMEI packet received {"connection_id":150333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":150333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:54:07] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:07] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:54:07] local.INFO: IMEI packet received {"connection_id":150333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":150333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:54:08] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e4c970012d18164007219ab8004d00b029..."} 
[2026-08-08 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e4c970012d18164007219ab8004d00b029..."} 
[2026-08-08 15:54:08] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e4c970012d18164007219ab8004d00b029..."} 
[2026-08-08 15:54:08] local.INFO: Packet analysis {"connection_id":150333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:54:08] local.INFO: Extracted packet for processing {"connection_id":150333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e4"} 
[2026-08-08 15:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":41,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263231232001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54: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-08-08 15:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184518000,"timestamp_ms":1786184518000,"timestamp_seconds":1786184518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e4c970"} 
[2026-08-08 15:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:54: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-08-08 15:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263231232001,"66":13102,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263231232001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263231232001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":150333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:54:08] local.INFO: GPS data processed {"connection_id":150333,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:54:08] local.INFO: Acknowledgment sent {"connection_id":150333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:54:09] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:09] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:09] local.INFO: IMEI packet received {"connection_id":151548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":151548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:54:10] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:10] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:10] local.INFO: IMEI packet received {"connection_id":151548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":151548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:54:15] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:15] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:54:15] local.INFO: IMEI packet received {"connection_id":151548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":151548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:54:16] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:54:16] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:54:16] local.INFO: Packet analysis {"connection_id":151548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:54:16] local.INFO: Extracted packet for processing {"connection_id":151548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:54:16] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":151548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:54:16] local.INFO: GPS data processed {"connection_id":151548,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:54:16] local.INFO: Acknowledgment sent {"connection_id":151548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:54:39] local.INFO: TCP Data received {"connection_id":150333,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e51b78012d18164007219ab8004d00b028..."} 
[2026-08-08 15:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e51b78012d18164007219ab8004d00b028..."} 
[2026-08-08 15:54:39] local.INFO: Processing buffer {"connection_id":150333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e51b78012d18164007219ab8004d00b028..."} 
[2026-08-08 15:54:39] local.INFO: Packet analysis {"connection_id":150333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e5"} 
[2026-08-08 15:54:39] local.INFO: Extracted packet for processing {"connection_id":150333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e5"} 
[2026-08-08 15:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263236608001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184539000,"timestamp_ms":1786184539000,"timestamp_seconds":1786184539,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e51b78"} 
[2026-08-08 15:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:54: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-08-08 15:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263236608001,"66":13102,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263236608001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:54:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263236608001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":150333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:54:39] local.INFO: GPS data processed {"connection_id":150333,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:54:39] local.INFO: Acknowledgment sent {"connection_id":150333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:54:47] local.INFO: TCP Data received {"connection_id":151548,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:54:47] local.INFO: Processing buffer {"connection_id":151548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:54:47] local.INFO: Packet analysis {"connection_id":151548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:54:47] local.INFO: Extracted packet for processing {"connection_id":151548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:54:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:54:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":151548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:54:47] local.INFO: GPS data processed {"connection_id":151548,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:54:47] local.INFO: Acknowledgment sent {"connection_id":151548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:55:02] local.INFO: TCP Data received {"connection_id":150334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:02] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:02] local.INFO: IMEI packet received {"connection_id":150334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":150334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:55:03] local.INFO: TCP Data received {"connection_id":150334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:03] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:03] local.INFO: IMEI packet received {"connection_id":150334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":150334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:55:04] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:55:04] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:55:04] local.INFO: IMEI packet received {"connection_id":153038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":153038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:55:07] local.INFO: TCP Data received {"connection_id":150334,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:07] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:55:07] local.INFO: IMEI packet received {"connection_id":150334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":150334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:55:08] local.INFO: TCP Data received {"connection_id":150334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e56d80012d18164007219ab8004d00b024..."} 
[2026-08-08 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e56d80012d18164007219ab8004d00b024..."} 
[2026-08-08 15:55:08] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e56d80012d18164007219ab8004d00b024..."} 
[2026-08-08 15:55:08] local.INFO: Packet analysis {"connection_id":150334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e5"} 
[2026-08-08 15:55:08] local.INFO: Extracted packet for processing {"connection_id":150334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e5"} 
[2026-08-08 15:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":36,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263241984001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55: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-08-08 15:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184560000,"timestamp_ms":1786184560000,"timestamp_seconds":1786184560,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e56d80"} 
[2026-08-08 15:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 15:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15: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-08-08 15:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263241984001,"66":13091,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263241984001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:55:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263241984001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":150334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:55:08] local.INFO: GPS data processed {"connection_id":150334,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:55:08] local.INFO: Acknowledgment sent {"connection_id":150334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:55:10] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:55:10] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:55:10] local.INFO: IMEI packet received {"connection_id":153038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":153038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:55:11] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:55:11] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:55:11] local.INFO: Packet analysis {"connection_id":153038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:55:11] local.INFO: Extracted packet for processing {"connection_id":153038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:55:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":153038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:55:11] local.INFO: GPS data processed {"connection_id":153038,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:55:11] local.INFO: Acknowledgment sent {"connection_id":153038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:55:39] local.INFO: TCP Data received {"connection_id":150334,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e5bf88012d18164007219ab8004d00b027..."} 
[2026-08-08 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e5bf88012d18164007219ab8004d00b027..."} 
[2026-08-08 15:55:39] local.INFO: Processing buffer {"connection_id":150334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e5bf88012d18164007219ab8004d00b027..."} 
[2026-08-08 15:55:39] local.INFO: Packet analysis {"connection_id":150334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e5"} 
[2026-08-08 15:55:39] local.INFO: Extracted packet for processing {"connection_id":150334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e5"} 
[2026-08-08 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263247360001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184581000,"timestamp_ms":1786184581000,"timestamp_seconds":1786184581,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e5bf88"} 
[2026-08-08 15:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15: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-08-08 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 15:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263247360001,"66":13004,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263247360001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263247360001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":150334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:55:39] local.INFO: GPS data processed {"connection_id":150334,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:55:39] local.INFO: Acknowledgment sent {"connection_id":150334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:55:42] local.INFO: TCP Data received {"connection_id":153038,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:55:42] local.INFO: Processing buffer {"connection_id":153038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:55:42] local.INFO: Packet analysis {"connection_id":153038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:55:42] local.INFO: Extracted packet for processing {"connection_id":153038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:55:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:55:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":153038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:55:42] local.INFO: GPS data processed {"connection_id":153038,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:55:42] local.INFO: Acknowledgment sent {"connection_id":153038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:56:02] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:56:02] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:56:02] local.INFO: IMEI packet received {"connection_id":150586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":150586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:56:04] local.INFO: TCP Data received {"connection_id":150335,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:56:04] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:56:04] local.INFO: IMEI packet received {"connection_id":150335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":150335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:56:06] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:56:06] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:56:06] local.INFO: IMEI packet received {"connection_id":150586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":150586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:56:07] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e61190012d18164007219ab8004d00b026..."} 
[2026-08-08 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e61190012d18164007219ab8004d00b026..."} 
[2026-08-08 15:56:07] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e61190012d18164007219ab8004d00b026..."} 
[2026-08-08 15:56:07] local.INFO: Packet analysis {"connection_id":150586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:07] local.INFO: Extracted packet for processing {"connection_id":150586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263252736001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786184602000,"timestamp_ms":1786184602000,"timestamp_seconds":1786184602,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e61190"} 
[2026-08-08 15:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 15:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263252736001,"66":12993,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263252736001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:56:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263252736001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":150586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:56:07] local.INFO: GPS data processed {"connection_id":150586,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:56:07] local.INFO: Acknowledgment sent {"connection_id":150586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:56:09] local.INFO: TCP Data received {"connection_id":150335,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:56:09] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:56:09] local.INFO: IMEI packet received {"connection_id":150335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":150335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:56:10] local.INFO: TCP Data received {"connection_id":150335,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:56:10] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:56:10] local.INFO: Packet analysis {"connection_id":150335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:10] local.INFO: Extracted packet for processing {"connection_id":150335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 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-08-08 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:56:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":150335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:56:10] local.INFO: GPS data processed {"connection_id":150335,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:56:10] local.INFO: Acknowledgment sent {"connection_id":150335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:56:38] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e66398012d18164007219ab8004d00b026..."} 
[2026-08-08 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e66398012d18164007219ab8004d00b026..."} 
[2026-08-08 15:56:38] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e66398012d18164007219ab8004d00b026..."} 
[2026-08-08 15:56:38] local.INFO: Packet analysis {"connection_id":150586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:38] local.INFO: Extracted packet for processing {"connection_id":150586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263258112001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56: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-08-08 15:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786184623000,"timestamp_ms":1786184623000,"timestamp_seconds":1786184623,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e66398"} 
[2026-08-08 15:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:56: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-08-08 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-08 15:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263258112001,"66":13004,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263258112001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263258112001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":150586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:56:38] local.INFO: GPS data processed {"connection_id":150586,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:56:38] local.INFO: Acknowledgment sent {"connection_id":150586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:56:42] local.INFO: TCP Data received {"connection_id":150335,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:56:42] local.INFO: Processing buffer {"connection_id":150335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:56:42] local.INFO: Packet analysis {"connection_id":150335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:42] local.INFO: Extracted packet for processing {"connection_id":150335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:56:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":150335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:56:42] local.INFO: GPS data processed {"connection_id":150335,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:56:42] local.INFO: Acknowledgment sent {"connection_id":150335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:57:02] local.INFO: TCP Data received {"connection_id":150587,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:57:02] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:57:02] local.INFO: IMEI packet received {"connection_id":150587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":150587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:57:04] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:57:04] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:57:04] local.INFO: IMEI packet received {"connection_id":151549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":151549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:57:07] local.INFO: TCP Data received {"connection_id":150587,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:57:07] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:57:07] local.INFO: IMEI packet received {"connection_id":150587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":150587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:57:08] local.INFO: TCP Data received {"connection_id":150587,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e6b5a0012d18164007219ab8004d00b028..."} 
[2026-08-08 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e6b5a0012d18164007219ab8004d00b028..."} 
[2026-08-08 15:57:08] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e6b5a0012d18164007219ab8004d00b028..."} 
[2026-08-08 15:57:08] local.INFO: Packet analysis {"connection_id":150587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:57:08] local.INFO: Extracted packet for processing {"connection_id":150587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:57:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263263488001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57: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-08-08 15:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184644000,"timestamp_ms":1786184644000,"timestamp_seconds":1786184644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e6b5a0"} 
[2026-08-08 15:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:57: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-08-08 15:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 15:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263263488001,"66":12950,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263263488001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263263488001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":150587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:57:08] local.INFO: GPS data processed {"connection_id":150587,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:57:08] local.INFO: Acknowledgment sent {"connection_id":150587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:57:10] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:57:10] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:57:10] local.INFO: IMEI packet received {"connection_id":151549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":151549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:57:11] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:57:11] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:57:11] local.INFO: Packet analysis {"connection_id":151549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:57:11] local.INFO: Extracted packet for processing {"connection_id":151549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:57:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":151549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:57:11] local.INFO: GPS data processed {"connection_id":151549,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:57:11] local.INFO: Acknowledgment sent {"connection_id":151549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:57:39] local.INFO: TCP Data received {"connection_id":150587,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e707a8012d18164007219ab8004d00b026..."} 
[2026-08-08 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e707a8012d18164007219ab8004d00b026..."} 
[2026-08-08 15:57:39] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e707a8012d18164007219ab8004d00b026..."} 
[2026-08-08 15:57:39] local.INFO: Packet analysis {"connection_id":150587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:57:39] local.INFO: Extracted packet for processing {"connection_id":150587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263268864001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184665000,"timestamp_ms":1786184665000,"timestamp_seconds":1786184665,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e707a8"} 
[2026-08-08 15:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:57: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-08-08 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 15:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263268864001,"66":12950,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263268864001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263268864001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":150587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:57:39] local.INFO: GPS data processed {"connection_id":150587,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:57:39] local.INFO: Acknowledgment sent {"connection_id":150587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:57:42] local.INFO: TCP Data received {"connection_id":151549,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:57:42] local.INFO: Processing buffer {"connection_id":151549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:57:42] local.INFO: Packet analysis {"connection_id":151549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:57:42] local.INFO: Extracted packet for processing {"connection_id":151549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:57:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":151549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:57:42] local.INFO: GPS data processed {"connection_id":151549,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:57:42] local.INFO: Acknowledgment sent {"connection_id":151549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:58:07] local.INFO: TCP Data received {"connection_id":150588,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:58:07] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:58:07] local.INFO: IMEI packet received {"connection_id":150588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":150588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:58:09] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:58:09] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:58:09] local.INFO: IMEI packet received {"connection_id":151550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":151550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:58:12] local.INFO: TCP Data received {"connection_id":150588,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:58:12] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:58:12] local.INFO: IMEI packet received {"connection_id":150588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":150588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:58:13] local.INFO: TCP Data received {"connection_id":150588,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e759b0012d18164007219ab8004d00b029..."} 
[2026-08-08 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e759b0012d18164007219ab8004d00b029..."} 
[2026-08-08 15:58:13] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e759b0012d18164007219ab8004d00b029..."} 
[2026-08-08 15:58:13] local.INFO: Packet analysis {"connection_id":150588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:58:13] local.INFO: Extracted packet for processing {"connection_id":150588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":41,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263274240001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786184686000,"timestamp_ms":1786184686000,"timestamp_seconds":1786184686,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e759b0"} 
[2026-08-08 15:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 15:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263274240001,"66":12972,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263274240001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:58:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263274240001,"power":12972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":150588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:58:13] local.INFO: GPS data processed {"connection_id":150588,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:58:13] local.INFO: Acknowledgment sent {"connection_id":150588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:58:14] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:58:14] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:58:14] local.INFO: IMEI packet received {"connection_id":151550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":151550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:58:15] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:58:15] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:58:15] local.INFO: Packet analysis {"connection_id":151550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:58:15] local.INFO: Extracted packet for processing {"connection_id":151550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":151550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:58:15] local.INFO: GPS data processed {"connection_id":151550,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:58:15] local.INFO: Acknowledgment sent {"connection_id":151550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:58:44] local.INFO: TCP Data received {"connection_id":150588,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e7abb8012d18164007219ab8004d00b027..."} 
[2026-08-08 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e7abb8012d18164007219ab8004d00b027..."} 
[2026-08-08 15:58:44] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e7abb8012d18164007219ab8004d00b027..."} 
[2026-08-08 15:58:44] local.INFO: Packet analysis {"connection_id":150588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:58:44] local.INFO: Extracted packet for processing {"connection_id":150588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":39,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263279616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786184707000,"timestamp_ms":1786184707000,"timestamp_seconds":1786184707,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e7abb8"} 
[2026-08-08 15:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 15: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 15:58: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-08-08 15:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263279616001,"66":12798,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263279616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:58:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263279616001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":150588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:58:44] local.INFO: GPS data processed {"connection_id":150588,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:58:44] local.INFO: Acknowledgment sent {"connection_id":150588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:58:46] local.INFO: TCP Data received {"connection_id":151550,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:58:46] local.INFO: Processing buffer {"connection_id":151550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:58:46] local.INFO: Packet analysis {"connection_id":151550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:58:46] local.INFO: Extracted packet for processing {"connection_id":151550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 15:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 15:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 15:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 15:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 15:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 15:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:58: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-08-08 15:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:58:46] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":151550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:58:46] local.INFO: GPS data processed {"connection_id":151550,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:58:46] local.INFO: Acknowledgment sent {"connection_id":151550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:59:02] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:59:02] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:59:02] local.INFO: IMEI packet received {"connection_id":150589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 15:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":150589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:59:05] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:59:05] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:59:05] local.INFO: IMEI packet received {"connection_id":150336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":150336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 15:59:07] local.INFO: TCP Data received {"connection_id":150591,"ip":"45.148.10.204","data_length":1511,"data_hex":"16030105e2010005de03030395f54c20a3ea06ff7cb6338ceabbde2071ef7b98..."} 
[2026-08-08 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":1511,"packet_hex":"16030105e2010005de03030395f54c20a3ea06ff7cb6338ceabbde2071ef7b98..."} 
[2026-08-08 15:59:07] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":1511,"buffer_hex":"16030105e2010005de03030395f54c20a3ea06ff7cb6338ceabbde2071ef7b98..."} 
[2026-08-08 15:59:07] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":150591,"buffer_length":1511,"first_bytes_hex":"16030105e2010005de03030395f54c20"} 
[2026-08-08 15:59:07] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:59:07] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 15:59:07] local.INFO: IMEI packet received {"connection_id":150589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 15:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":150589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:59:08] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e7fdc0012d18164007219ab8004d00b02a..."} 
[2026-08-08 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e7fdc0012d18164007219ab8004d00b02a..."} 
[2026-08-08 15:59:08] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e7fdc0012d18164007219ab8004d00b02a..."} 
[2026-08-08 15:59:08] local.INFO: Packet analysis {"connection_id":150589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:59:08] local.INFO: Extracted packet for processing {"connection_id":150589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e7"} 
[2026-08-08 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 15: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-08-08 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263284992001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59: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-08-08 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184728000,"timestamp_ms":1786184728000,"timestamp_seconds":1786184728,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e7fdc0"} 
[2026-08-08 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 15:59: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-08-08 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-08 15:59: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-08-08 15: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-08-08 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263284992001,"66":12504,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263284992001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:59:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:59:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263284992001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":150589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:59:08] local.INFO: GPS data processed {"connection_id":150589,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:59:08] local.INFO: Acknowledgment sent {"connection_id":150589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:59:09] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:59:09] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 15:59:09] local.INFO: IMEI packet received {"connection_id":150336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":150336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 15:59:10] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:59:10] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e638a0012cd4afc007377b10000c00ed2e..."} 
[2026-08-08 15:59:10] local.INFO: Packet analysis {"connection_id":150336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:59:10] local.INFO: Extracted packet for processing {"connection_id":150336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e6"} 
[2026-08-08 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":46,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263183616001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184612000,"timestamp_ms":1786184612000,"timestamp_seconds":1786184612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e638a0"} 
[2026-08-08 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-08-08 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 15:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263183616001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263183616001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:59:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263183616001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":150336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:59:10] local.INFO: GPS data processed {"connection_id":150336,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:59:10] local.INFO: Acknowledgment sent {"connection_id":150336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:59:38] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e84fc8012d18164007219ab8004d00b028..."} 
[2026-08-08 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e84fc8012d18164007219ab8004d00b028..."} 
[2026-08-08 15:59:38] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e84fc8012d18164007219ab8004d00b028..."} 
[2026-08-08 15:59:38] local.INFO: Packet analysis {"connection_id":150589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e8"} 
[2026-08-08 15:59:38] local.INFO: Extracted packet for processing {"connection_id":150589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e8"} 
[2026-08-08 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263290368001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59: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-08-08 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786184749000,"timestamp_ms":1786184749000,"timestamp_seconds":1786184749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e84fc8"} 
[2026-08-08 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-08-08 15:59: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-08-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 15:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 15:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263290368001,"66":12558,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263290368001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:59:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 15:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 15:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263290368001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 15:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":150589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:59:39] local.INFO: GPS data processed {"connection_id":150589,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:59:39] local.INFO: Acknowledgment sent {"connection_id":150589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 15:59:41] local.INFO: TCP Data received {"connection_id":150336,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:59:41] local.INFO: Processing buffer {"connection_id":150336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 15:59:41] local.INFO: Packet analysis {"connection_id":150336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 15:59:41] local.INFO: Extracted packet for processing {"connection_id":150336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 15:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 15:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 15:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 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-08-08 15:59: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-08-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 15:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 15:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 15:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 15:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 15:59: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-08-08 15:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 15:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 15:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 15:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 15:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 15:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 15:59:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 15:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 15:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 15:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 15:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 15:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":150336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 15:59:41] local.INFO: GPS data processed {"connection_id":150336,"processed":1,"errors":0,"total":1} 
[2026-08-08 15:59:41] local.INFO: Acknowledgment sent {"connection_id":150336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:00:02] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:00:02] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:00:02] local.INFO: IMEI packet received {"connection_id":151551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":151551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:00:04] local.INFO: TCP Data received {"connection_id":153039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:00:04] local.INFO: Processing buffer {"connection_id":153039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:00:04] local.INFO: IMEI packet received {"connection_id":153039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":153039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:00:07] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:00:07] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:00:07] local.INFO: IMEI packet received {"connection_id":151551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":151551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:00:08] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e8a1d0012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e8a1d0012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:00:08] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e8a1d0012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:00:08] local.INFO: Packet analysis {"connection_id":151551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e8"} 
[2026-08-08 16:00:08] local.INFO: Extracted packet for processing {"connection_id":151551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e8"} 
[2026-08-08 16:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263295744001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00: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-08-08 16:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184770000,"timestamp_ms":1786184770000,"timestamp_seconds":1786184770,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e8a1d0"} 
[2026-08-08 16:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:00: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-08-08 16:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3773195160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249371595401173688,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3876038657,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2595749965,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634986,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,20,159,253,45,64,154,77,42,10,66,171,39,89,1,240,172,227,224,33,4,113,205,181,22,184,40,239,50,2,41,7,106,84,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-08 16:00:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548628426765631488,"timestamp_seconds":5548628426765631.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263295744001,"66":12548,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263295744001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263295744001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":151551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:00:08] local.INFO: GPS data processed {"connection_id":151551,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:00:08] local.INFO: Acknowledgment sent {"connection_id":151551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:00:09] local.INFO: TCP Data received {"connection_id":153039,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:00:09] local.INFO: Processing buffer {"connection_id":153039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:00:09] local.INFO: IMEI packet received {"connection_id":153039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":153039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:00:11] local.INFO: TCP Data received {"connection_id":153039,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:00:11] local.INFO: Processing buffer {"connection_id":153039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:00:11] local.INFO: Packet analysis {"connection_id":153039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:00:11] local.INFO: Extracted packet for processing {"connection_id":153039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 16:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:00:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":153039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:00:11] local.INFO: GPS data processed {"connection_id":153039,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:00:11] local.INFO: Acknowledgment sent {"connection_id":153039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:00:39] local.INFO: TCP Data received {"connection_id":151551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e8f3d8012d18164007219ab8004d00b025..."} 
[2026-08-08 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e8f3d8012d18164007219ab8004d00b025..."} 
[2026-08-08 16:00:39] local.INFO: Processing buffer {"connection_id":151551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e8f3d8012d18164007219ab8004d00b025..."} 
[2026-08-08 16:00:39] local.INFO: Packet analysis {"connection_id":151551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e8"} 
[2026-08-08 16:00:39] local.INFO: Extracted packet for processing {"connection_id":151551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e8"} 
[2026-08-08 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":37,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263301120001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184791000,"timestamp_ms":1786184791000,"timestamp_seconds":1786184791,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e8f3d8"} 
[2026-08-08 16:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3773216160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184223375565,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3881414657,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2595749965,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634986,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,20,159,79,45,64,154,77,40,10,66,253,42,171,1,240,254,227,224,33,4,113,205,7,22,184,38,239,50,2,41,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-08 16:00:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548628435355566080,"timestamp_seconds":5548628435355566.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263301120001,"66":12461,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263301120001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263301120001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":151551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:00:39] local.INFO: GPS data processed {"connection_id":151551,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:00:39] local.INFO: Acknowledgment sent {"connection_id":151551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:00:42] local.INFO: TCP Data received {"connection_id":153039,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:00:42] local.INFO: Processing buffer {"connection_id":153039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:00:42] local.INFO: Packet analysis {"connection_id":153039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:00:42] local.INFO: Extracted packet for processing {"connection_id":153039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 16:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:00:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":153039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:00:42] local.INFO: GPS data processed {"connection_id":153039,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:00:42] local.INFO: Acknowledgment sent {"connection_id":153039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:01:00] local.INFO: TCP Data received {"connection_id":150337,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:00] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:00] local.INFO: IMEI packet received {"connection_id":150337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":150337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:01:02] local.INFO: TCP Data received {"connection_id":150337,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:02] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:02] local.INFO: IMEI packet received {"connection_id":150337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":150337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:01:04] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:01:04] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:01:04] local.INFO: IMEI packet received {"connection_id":150592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":150592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:01:08] local.INFO: TCP Data received {"connection_id":150337,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:08] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:01:08] local.INFO: IMEI packet received {"connection_id":150337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":150337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:01:09] local.INFO: TCP Data received {"connection_id":150337,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e945e0012d18164007219ab8004d00b028..."} 
[2026-08-08 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e945e0012d18164007219ab8004d00b028..."} 
[2026-08-08 16:01:09] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e945e0012d18164007219ab8004d00b028..."} 
[2026-08-08 16:01:09] local.INFO: Packet analysis {"connection_id":150337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e9"} 
[2026-08-08 16:01:09] local.INFO: Extracted packet for processing {"connection_id":150337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e9"} 
[2026-08-08 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263306496001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786184812000,"timestamp_ms":1786184812000,"timestamp_seconds":1786184812,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e945e0"} 
[2026-08-08 16:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:01: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-08-08 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 16:01: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-08-08 16:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263306496001,"66":12504,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263306496001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:01:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263306496001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":150337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:01:09] local.INFO: GPS data processed {"connection_id":150337,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:01:09] local.INFO: Acknowledgment sent {"connection_id":150337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:01:10] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:01:10] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:01:10] local.INFO: IMEI packet received {"connection_id":150592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":150592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:01:11] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:01:11] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:01:11] local.INFO: Packet analysis {"connection_id":150592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:01:11] local.INFO: Extracted packet for processing {"connection_id":150592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 16:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:01:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":150592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:01:11] local.INFO: GPS data processed {"connection_id":150592,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:01:11] local.INFO: Acknowledgment sent {"connection_id":150592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:01:40] local.INFO: TCP Data received {"connection_id":150337,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e997e8012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e997e8012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:01:40] local.INFO: Processing buffer {"connection_id":150337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e997e8012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:01:40] local.INFO: Packet analysis {"connection_id":150337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e9"} 
[2026-08-08 16:01:40] local.INFO: Extracted packet for processing {"connection_id":150337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e9"} 
[2026-08-08 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263311872001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786184833000,"timestamp_ms":1786184833000,"timestamp_seconds":1786184833,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e997e8"} 
[2026-08-08 16:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:01: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-08-08 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 16:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263311872001,"66":12461,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263311872001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263311872001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":150337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:01:40] local.INFO: GPS data processed {"connection_id":150337,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:01:40] local.INFO: Acknowledgment sent {"connection_id":150337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:01:43] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:01:43] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:01:43] local.INFO: Packet analysis {"connection_id":150592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:01:43] local.INFO: Extracted packet for processing {"connection_id":150592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:01:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 16:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:01:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:01:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":150592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:01:43] local.INFO: GPS data processed {"connection_id":150592,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:01:43] local.INFO: Acknowledgment sent {"connection_id":150592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:02:02] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:02] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:02] local.INFO: IMEI packet received {"connection_id":151552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":151552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:02:03] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:03] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:03] local.INFO: IMEI packet received {"connection_id":151552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":151552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:02:07] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:07] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:02:07] local.INFO: IMEI packet received {"connection_id":151552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":151552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:02:08] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0e9e9f0012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0e9e9f0012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:02:08] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0e9e9f0012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:02:08] local.INFO: Packet analysis {"connection_id":151552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0e9"} 
[2026-08-08 16:02:08] local.INFO: Extracted packet for processing {"connection_id":151552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0e9"} 
[2026-08-08 16:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263317248001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02: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-08-08 16:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786184854000,"timestamp_ms":1786184854000,"timestamp_seconds":1786184854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0e9e9f0"} 
[2026-08-08 16:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:02: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-08-08 16:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 16:02: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-08-08 16:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263317248001,"66":12461,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263317248001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:02:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263317248001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":151552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:02:08] local.INFO: GPS data processed {"connection_id":151552,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:02:08] local.INFO: Acknowledgment sent {"connection_id":151552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:02:09] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:02:09] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:02:09] local.INFO: IMEI packet received {"connection_id":150593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":150593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:02:14] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:02:14] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:02:14] local.INFO: IMEI packet received {"connection_id":150593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":150593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:02:15] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:02:15] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:02:15] local.INFO: Packet analysis {"connection_id":150593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:02:15] local.INFO: Extracted packet for processing {"connection_id":150593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 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-08-08 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":150593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:02:15] local.INFO: GPS data processed {"connection_id":150593,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:02:15] local.INFO: Acknowledgment sent {"connection_id":150593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:02:39] local.INFO: TCP Data received {"connection_id":151552,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ea3bf8012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ea3bf8012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:02:39] local.INFO: Processing buffer {"connection_id":151552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ea3bf8012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:02:39] local.INFO: Packet analysis {"connection_id":151552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:02:39] local.INFO: Extracted packet for processing {"connection_id":151552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263322624001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786184875000,"timestamp_ms":1786184875000,"timestamp_seconds":1786184875,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ea3bf8"} 
[2026-08-08 16:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:02: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-08-08 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 16:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263322624001,"66":12461,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263322624001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263322624001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":151552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:02:39] local.INFO: GPS data processed {"connection_id":151552,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:02:39] local.INFO: Acknowledgment sent {"connection_id":151552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:02:47] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:02:47] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:02:47] local.INFO: Packet analysis {"connection_id":150593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:02:47] local.INFO: Extracted packet for processing {"connection_id":150593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 16:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:02: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-08-08 16:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:02:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":150593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:02:47] local.INFO: GPS data processed {"connection_id":150593,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:02:47] local.INFO: Acknowledgment sent {"connection_id":150593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:03:02] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:02] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:02] local.INFO: IMEI packet received {"connection_id":150338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":150338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:03:04] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:03:04] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:03:04] local.INFO: IMEI packet received {"connection_id":150594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":150594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:03:06] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:06] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:06] local.INFO: IMEI packet received {"connection_id":150338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":150338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:03:07] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:07] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:03:07] local.INFO: IMEI packet received {"connection_id":150338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":150338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:03:07] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:07] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:07] local.INFO: Packet analysis {"connection_id":150338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ee"} 
[2026-08-08 16:03:07] local.INFO: Extracted packet for processing {"connection_id":150338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ee"} 
[2026-08-08 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263392512001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786185127000,"timestamp_ms":1786185127000,"timestamp_seconds":1786185127,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ee1458"} 
[2026-08-08 16:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-08 16:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2277,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263392512001,"66":4829,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263392512001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:03:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263392512001,"power":4829,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":150338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:03:07] local.INFO: GPS data processed {"connection_id":150338,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:03:07] local.INFO: Acknowledgment sent {"connection_id":150338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:03:09] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:03:09] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:03:09] local.INFO: IMEI packet received {"connection_id":150594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":150594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:03:10] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:03:10] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:03:10] local.INFO: Packet analysis {"connection_id":150594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:03:10] local.INFO: Extracted packet for processing {"connection_id":150594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 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-08-08 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:03:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":150594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:03:10] local.INFO: GPS data processed {"connection_id":150594,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:03:10] local.INFO: Acknowledgment sent {"connection_id":150594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:03:12] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.39","data_length":93,"data_hex":"00000000000000518e010000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":93,"packet_hex":"00000000000000518e010000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:12] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:12] local.INFO: Packet analysis {"connection_id":150338,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fe0ee"} 
[2026-08-08 16:03:12] local.INFO: Extracted packet for processing {"connection_id":150338,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fe0ee"} 
[2026-08-08 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-08 16:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:03:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:03:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 16:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150338,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-08 16:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150338,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-08 16:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150338,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-08 16:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 16:03:12] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 16:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":150338,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 16:03:12] local.ERROR: GPS data processing failed {"connection_id":150338,"error":"No valid data to process"} 
[2026-08-08 16:03:12] local.INFO: Acknowledgment sent {"connection_id":150338,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 16:03:42] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:03:42] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:03:42] local.INFO: Packet analysis {"connection_id":150594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:03:42] local.INFO: Extracted packet for processing {"connection_id":150594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 16:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":150594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:03:42] local.INFO: GPS data processed {"connection_id":150594,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:03:42] local.INFO: Acknowledgment sent {"connection_id":150594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:03:43] local.INFO: TCP Data received {"connection_id":150338,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:43] local.INFO: Processing buffer {"connection_id":150338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ee1458012d18164007219ab8004d00b02a..."} 
[2026-08-08 16:03:43] local.INFO: Packet analysis {"connection_id":150338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ee"} 
[2026-08-08 16:03:43] local.INFO: Extracted packet for processing {"connection_id":150338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ee"} 
[2026-08-08 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119642808,"longitude_deg":75.655328,"latitude_deg":11.9642808,"altitude":77,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d181640","hex_latitude":"07219ab8","is_valid_coordinates":true} 
[2026-08-08 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263392512001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562872299585536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105770641408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786185127000,"timestamp_ms":1786185127000,"timestamp_seconds":1786185127,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ee1458"} 
[2026-08-08 16:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":18,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-08 16:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2277,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263392512001,"66":4829,"107":206,"83":41984,"24":0,"16":11562872299585536,"45":1735645105770641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-08 16:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263392512001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:03:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-08 16:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562872299585536,"km_value":11562872299585.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105770641408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263392512001,"power":4829,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735645105770641408}} 
[2026-08-08 16:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":150338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:03:43] local.INFO: GPS data processed {"connection_id":150338,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:03:43] local.INFO: Acknowledgment sent {"connection_id":150338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:04:02] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:02] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:02] local.INFO: IMEI packet received {"connection_id":150339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":150339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:04:04] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:04:04] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:04:04] local.INFO: IMEI packet received {"connection_id":150340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":150340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:04:06] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:06] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:06] local.INFO: IMEI packet received {"connection_id":150339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":150339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:04:07] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:07] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:04:07] local.INFO: IMEI packet received {"connection_id":150339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":150339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:04:07] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef0688012d1813c007219a10004200022f..."} 
[2026-08-08 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef0688012d1813c007219a10004200022f..."} 
[2026-08-08 16:04:07] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef0688012d1813c007219a10004200022f..."} 
[2026-08-08 16:04:07] local.INFO: Packet analysis {"connection_id":150339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:07] local.INFO: Extracted packet for processing {"connection_id":150339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756552640,"raw_latitude":119642640,"longitude_deg":75.655264,"latitude_deg":11.964264,"altitude":66,"angle":2,"satellites":47,"speed":8,"hex_longitude":"2d1813c0","hex_latitude":"07219a10","is_valid_coordinates":true} 
[2026-08-08 16:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263408128001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562949608996864,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787072954368,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04: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-08-08 16:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786185189000,"timestamp_ms":1786185189000,"timestamp_seconds":1786185189,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef0688"} 
[2026-08-08 16:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-08 16:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263408128001,"66":14157,"105":206,"83":41984,"24":8,"16":11562949608996864,"45":1735011787072954368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263408128001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562949608996864,"km_value":11562949608996.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787072954368,"description":"Unknown IO ID 45"} 
[2026-08-08 16:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263408128001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1735011787072954368}} 
[2026-08-08 16:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":150339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:04:07] local.INFO: GPS data processed {"connection_id":150339,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:04:07] local.INFO: Acknowledgment sent {"connection_id":150339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:04:09] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:04:09] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:04:09] local.INFO: IMEI packet received {"connection_id":150340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":150340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:04:10] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:04:10] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ead068012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:04:10] local.INFO: Packet analysis {"connection_id":150340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:04:10] local.INFO: Extracted packet for processing {"connection_id":150340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ea"} 
[2026-08-08 16:04:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263260672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786184913000,"timestamp_ms":1786184913000,"timestamp_seconds":1786184913,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ead068"} 
[2026-08-08 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-08-08 16:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263260672001,"66":25702,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263260672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:04:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263260672001,"power":25702,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":150340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:04:10] local.INFO: GPS data processed {"connection_id":150340,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:04:10] local.INFO: Acknowledgment sent {"connection_id":150340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:04:12] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef0a70012d18140007219af80043000e2e..."} 
[2026-08-08 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef0a70012d18140007219af80043000e2e..."} 
[2026-08-08 16:04:12] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef0a70012d18140007219af80043000e2e..."} 
[2026-08-08 16:04:12] local.INFO: Packet analysis {"connection_id":150339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:12] local.INFO: Extracted packet for processing {"connection_id":150339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756552704,"raw_latitude":119642872,"longitude_deg":75.6552704,"latitude_deg":11.9642872,"altitude":67,"angle":14,"satellites":46,"speed":10,"hex_longitude":"2d181400","hex_latitude":"07219af8","is_valid_coordinates":true} 
[2026-08-08 16:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263408384001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562958198931456,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734941418328821760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786185190000,"timestamp_ms":1786185190000,"timestamp_seconds":1786185190,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef0a70"} 
[2026-08-08 16:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:04: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-08-08 16:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 16:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263408384001,"66":14157,"105":206,"83":41984,"24":10,"16":11562958198931456,"45":1734941418328821760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263408384001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:04:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562958198931456,"km_value":11562958198931.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734941418328821760,"description":"Unknown IO ID 45"} 
[2026-08-08 16:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263408384001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1734941418328821760}} 
[2026-08-08 16:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":150339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:04:12] local.INFO: GPS data processed {"connection_id":150339,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:04:12] local.INFO: Acknowledgment sent {"connection_id":150339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:04:42] local.INFO: TCP Data received {"connection_id":150340,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:04:42] local.INFO: Processing buffer {"connection_id":150340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:04:42] local.INFO: Packet analysis {"connection_id":150340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:42] local.INFO: Extracted packet for processing {"connection_id":150340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:04:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":150340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:04:42] local.INFO: GPS data processed {"connection_id":150340,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:04:42] local.INFO: Acknowledgment sent {"connection_id":150340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:04:43] local.INFO: TCP Data received {"connection_id":150339,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef1240012d18150007219d680043001a2f..."} 
[2026-08-08 16:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef1240012d18150007219d680043001a2f..."} 
[2026-08-08 16:04:43] local.INFO: Processing buffer {"connection_id":150339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef1240012d18150007219d680043001a2f..."} 
[2026-08-08 16:04:43] local.INFO: Packet analysis {"connection_id":150339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:43] local.INFO: Extracted packet for processing {"connection_id":150339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119643496,"longitude_deg":75.655296,"latitude_deg":11.9643496,"altitude":67,"angle":26,"satellites":47,"speed":15,"hex_longitude":"2d181500","hex_latitude":"07219d68","is_valid_coordinates":true} 
[2026-08-08 16:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263408640001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11562992558669824,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735011787073058816,"note":"Value kept but may cause issues"} 
[2026-08-08 16:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786185192000,"timestamp_ms":1786185192000,"timestamp_seconds":1786185192,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef1240"} 
[2026-08-08 16:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 16:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263408640001,"66":14135,"105":206,"83":41984,"24":15,"16":11562992558669824,"45":1735011787073058816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263408640001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:04:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11562992558669824,"km_value":11562992558669.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735011787073058816,"description":"Unknown IO ID 45"} 
[2026-08-08 16:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263408640001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1735011787073058816}} 
[2026-08-08 16:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":150339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:04:44] local.INFO: GPS data processed {"connection_id":150339,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:04:44] local.INFO: Acknowledgment sent {"connection_id":150339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:05:02] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:05:02] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:05:02] local.INFO: IMEI packet received {"connection_id":150595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":150595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:05:04] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:05:04] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:05:04] local.INFO: IMEI packet received {"connection_id":150596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":150596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:05:07] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:05:07] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:05:07] local.INFO: IMEI packet received {"connection_id":150595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":150595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:05:08] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef50c0012d1823800721b5f00045000c2f..."} 
[2026-08-08 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef50c0012d1823800721b5f00045000c2f..."} 
[2026-08-08 16:05:08] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef50c0012d1823800721b5f00045000c2f..."} 
[2026-08-08 16:05:08] local.INFO: Packet analysis {"connection_id":150595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:08] local.INFO: Extracted packet for processing {"connection_id":150595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649776,"longitude_deg":75.6556672,"latitude_deg":11.9649776,"altitude":69,"angle":12,"satellites":47,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b5f0","is_valid_coordinates":true} 
[2026-08-08 16:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263409152001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563344745988096,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262049929216,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185208000,"timestamp_ms":1786185208000,"timestamp_seconds":1786185208,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef50c0"} 
[2026-08-08 16:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:05: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-08-08 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-08 16:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263409152001,"66":13972,"105":206,"83":41984,"24":5,"16":11563344745988096,"45":1735293262049929216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263409152001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:05:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563344745988096,"km_value":11563344745988.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262049929216,"description":"Unknown IO ID 45"} 
[2026-08-08 16:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263409152001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1735293262049929216}} 
[2026-08-08 16:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":150595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:05:08] local.INFO: GPS data processed {"connection_id":150595,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:05:08] local.INFO: Acknowledgment sent {"connection_id":150595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:05:09] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:05:09] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:05:09] local.INFO: IMEI packet received {"connection_id":150596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":150596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:05:11] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:05:11] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:05:11] local.INFO: Packet analysis {"connection_id":150596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:11] local.INFO: Extracted packet for processing {"connection_id":150596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:05:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":150596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:05:11] local.INFO: GPS data processed {"connection_id":150596,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:05:11] local.INFO: Acknowledgment sent {"connection_id":150596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:05:39] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0efa2c8012d1822c00721b7980048000c2f..."} 
[2026-08-08 16:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0efa2c8012d1822c00721b7980048000c2f..."} 
[2026-08-08 16:05:39] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0efa2c8012d1822c00721b7980048000c2f..."} 
[2026-08-08 16:05:39] local.INFO: Packet analysis {"connection_id":150595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:39] local.INFO: Extracted packet for processing {"connection_id":150595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650200,"longitude_deg":75.655648,"latitude_deg":11.96502,"altitude":72,"angle":12,"satellites":47,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b798","is_valid_coordinates":true} 
[2026-08-08 16:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263413248001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563417760432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213841408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185229000,"timestamp_ms":1786185229000,"timestamp_seconds":1786185229,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0efa2c8"} 
[2026-08-08 16:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:05: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-08-08 16:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 16:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263413248001,"66":13243,"105":206,"83":41984,"24":2,"16":11563417760432128,"45":1739374649213841408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263413248001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:05:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563417760432128,"km_value":11563417760432.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213841408,"description":"Unknown IO ID 45"} 
[2026-08-08 16:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263413248001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739374649213841408}} 
[2026-08-08 16:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":150595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:05:39] local.INFO: GPS data processed {"connection_id":150595,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:05:39] local.INFO: Acknowledgment sent {"connection_id":150595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:05:43] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:05:43] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:05:43] local.INFO: Packet analysis {"connection_id":150596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:43] local.INFO: Extracted packet for processing {"connection_id":150596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:05:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:05:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:05:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":150596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:05:43] local.INFO: GPS data processed {"connection_id":150596,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:05:43] local.INFO: Acknowledgment sent {"connection_id":150596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:06:04] local.INFO: TCP Data received {"connection_id":150342,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:06:04] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:06:04] local.INFO: IMEI packet received {"connection_id":150342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":150342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:06:07] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:06:07] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:06:07] local.INFO: IMEI packet received {"connection_id":150341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":150341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:06:09] local.INFO: TCP Data received {"connection_id":150342,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:06:09] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:06:09] local.INFO: IMEI packet received {"connection_id":150342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":150342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:06:10] local.INFO: TCP Data received {"connection_id":150342,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:06:10] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:06:10] local.INFO: Packet analysis {"connection_id":150342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:06:10] local.INFO: Extracted packet for processing {"connection_id":150342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:06:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":150342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:06:10] local.INFO: GPS data processed {"connection_id":150342,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:06:10] local.INFO: Acknowledgment sent {"connection_id":150342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:06:12] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:06:12] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:06:12] local.INFO: IMEI packet received {"connection_id":150341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":150341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:06:13] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0eff4d0012d1823800721b8480048000c2d..."} 
[2026-08-08 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0eff4d0012d1823800721b8480048000c2d..."} 
[2026-08-08 16:06:13] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0eff4d0012d1823800721b8480048000c2d..."} 
[2026-08-08 16:06:13] local.INFO: Packet analysis {"connection_id":150341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:06:13] local.INFO: Extracted packet for processing {"connection_id":150341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263418624001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981416960,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786185250000,"timestamp_ms":1786185250000,"timestamp_seconds":1786185250,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0eff4d0"} 
[2026-08-08 16:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 16:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263418624001,"66":13135,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739163542981416960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263418624001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:06:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981416960,"description":"Unknown IO ID 45"} 
[2026-08-08 16:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263418624001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981416960}} 
[2026-08-08 16:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":150341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:06:13] local.INFO: GPS data processed {"connection_id":150341,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:06:13] local.INFO: Acknowledgment sent {"connection_id":150341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:06:42] local.INFO: TCP Data received {"connection_id":150342,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:06:42] local.INFO: Processing buffer {"connection_id":150342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:06:42] local.INFO: Packet analysis {"connection_id":150342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:06:42] local.INFO: Extracted packet for processing {"connection_id":150342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:06:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":150342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:06:42] local.INFO: GPS data processed {"connection_id":150342,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:06:42] local.INFO: Acknowledgment sent {"connection_id":150342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:06:44] local.INFO: TCP Data received {"connection_id":150341,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f046d8012d1823800721b8480048000c2d..."} 
[2026-08-08 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f046d8012d1823800721b8480048000c2d..."} 
[2026-08-08 16:06:44] local.INFO: Processing buffer {"connection_id":150341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f046d8012d1823800721b8480048000c2d..."} 
[2026-08-08 16:06:44] local.INFO: Packet analysis {"connection_id":150341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f0"} 
[2026-08-08 16:06:44] local.INFO: Extracted packet for processing {"connection_id":150341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f0"} 
[2026-08-08 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263424000001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786185271000,"timestamp_ms":1786185271000,"timestamp_seconds":1786185271,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f046d8"} 
[2026-08-08 16:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":79,"data_length":795,"current_offset":136} 
[2026-08-08 16:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263424000001,"66":13015,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263424000001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:06:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263424000001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":150341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:06:44] local.INFO: GPS data processed {"connection_id":150341,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:06:44] local.INFO: Acknowledgment sent {"connection_id":150341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:07:02] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:07:02] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:07:02] local.INFO: IMEI packet received {"connection_id":150343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":150343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:07:04] local.INFO: TCP Data received {"connection_id":153040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:07:04] local.INFO: Processing buffer {"connection_id":153040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:07:04] local.INFO: IMEI packet received {"connection_id":153040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":153040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:07:07] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:07:07] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:07:07] local.INFO: IMEI packet received {"connection_id":150343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":150343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:07:07] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f098e0012d1823800721b8480048000c2d..."} 
[2026-08-08 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f098e0012d1823800721b8480048000c2d..."} 
[2026-08-08 16:07:07] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f098e0012d1823800721b8480048000c2d..."} 
[2026-08-08 16:07:07] local.INFO: Packet analysis {"connection_id":150343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f0"} 
[2026-08-08 16:07:07] local.INFO: Extracted packet for processing {"connection_id":150343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f0"} 
[2026-08-08 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263429376001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786185292000,"timestamp_ms":1786185292000,"timestamp_seconds":1786185292,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f098e0"} 
[2026-08-08 16:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:07: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-08-08 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 16:07: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-08-08 16:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263429376001,"66":13004,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263429376001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263429376001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":150343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:07:07] local.INFO: GPS data processed {"connection_id":150343,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:07:07] local.INFO: Acknowledgment sent {"connection_id":150343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:07:09] local.INFO: TCP Data received {"connection_id":153040,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:07:09] local.INFO: Processing buffer {"connection_id":153040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:07:09] local.INFO: IMEI packet received {"connection_id":153040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":153040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:07:13] local.INFO: TCP Data received {"connection_id":153040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:07:13] local.INFO: Processing buffer {"connection_id":153040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:07:13] local.INFO: Packet analysis {"connection_id":153040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:07:13] local.INFO: Extracted packet for processing {"connection_id":153040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:07:13] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:07:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":153040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:07:13] local.INFO: GPS data processed {"connection_id":153040,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:07:13] local.INFO: Acknowledgment sent {"connection_id":153040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:07:39] local.INFO: TCP Data received {"connection_id":150343,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f0eae8012d1823800721b8480048000c2e..."} 
[2026-08-08 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f0eae8012d1823800721b8480048000c2e..."} 
[2026-08-08 16:07:39] local.INFO: Processing buffer {"connection_id":150343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f0eae8012d1823800721b8480048000c2e..."} 
[2026-08-08 16:07:39] local.INFO: Packet analysis {"connection_id":150343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f0"} 
[2026-08-08 16:07:39] local.INFO: Extracted packet for processing {"connection_id":150343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f0"} 
[2026-08-08 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263434752001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185313000,"timestamp_ms":1786185313000,"timestamp_seconds":1786185313,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f0eae8"} 
[2026-08-08 16:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:07: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-08-08 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 16:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263434752001,"66":12950,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263434752001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:07:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263434752001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":150343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:07:39] local.INFO: GPS data processed {"connection_id":150343,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:07:39] local.INFO: Acknowledgment sent {"connection_id":150343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:07:47] local.INFO: TCP Data received {"connection_id":153040,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:07:47] local.INFO: Processing buffer {"connection_id":153040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:07:47] local.INFO: Packet analysis {"connection_id":153040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:07:47] local.INFO: Extracted packet for processing {"connection_id":153040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:07:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":153040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:07:47] local.INFO: GPS data processed {"connection_id":153040,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:07:47] local.INFO: Acknowledgment sent {"connection_id":153040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:08:02] local.INFO: TCP Data received {"connection_id":150344,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:08:02] local.INFO: Processing buffer {"connection_id":150344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:08:02] local.INFO: IMEI packet received {"connection_id":150344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":150344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:08:04] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:08:04] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:08:04] local.INFO: IMEI packet received {"connection_id":150597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":150597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:08:07] local.INFO: TCP Data received {"connection_id":150344,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:08:07] local.INFO: Processing buffer {"connection_id":150344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:08:07] local.INFO: IMEI packet received {"connection_id":150344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":150344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:08:07] local.INFO: TCP Data received {"connection_id":150344,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f13cf0012d1823800721b8480048000c2e..."} 
[2026-08-08 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f13cf0012d1823800721b8480048000c2e..."} 
[2026-08-08 16:08:07] local.INFO: Processing buffer {"connection_id":150344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f13cf0012d1823800721b8480048000c2e..."} 
[2026-08-08 16:08:07] local.INFO: Packet analysis {"connection_id":150344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f1"} 
[2026-08-08 16:08:07] local.INFO: Extracted packet for processing {"connection_id":150344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f1"} 
[2026-08-08 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263440128001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786185334000,"timestamp_ms":1786185334000,"timestamp_seconds":1786185334,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f13cf0"} 
[2026-08-08 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-08-08 16:08: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-08-08 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 16:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263440128001,"66":12885,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263440128001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263440128001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":150344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:08:07] local.INFO: GPS data processed {"connection_id":150344,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:08:07] local.INFO: Acknowledgment sent {"connection_id":150344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:08:09] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:08:09] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:08:09] local.INFO: IMEI packet received {"connection_id":150597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":150597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:08:12] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:08:12] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:08:12] local.INFO: Packet analysis {"connection_id":150597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:08:12] local.INFO: Extracted packet for processing {"connection_id":150597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:08:12] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:08:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":150597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:08:12] local.INFO: GPS data processed {"connection_id":150597,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:08:12] local.INFO: Acknowledgment sent {"connection_id":150597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:08:38] local.INFO: TCP Data received {"connection_id":150344,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f18ef8012d1823800721b8480048000c2b..."} 
[2026-08-08 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f18ef8012d1823800721b8480048000c2b..."} 
[2026-08-08 16:08:38] local.INFO: Processing buffer {"connection_id":150344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f18ef8012d1823800721b8480048000c2b..."} 
[2026-08-08 16:08:38] local.INFO: Packet analysis {"connection_id":150344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f1"} 
[2026-08-08 16:08:38] local.INFO: Extracted packet for processing {"connection_id":150344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f1"} 
[2026-08-08 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263445504001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786185355000,"timestamp_ms":1786185355000,"timestamp_seconds":1786185355,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f18ef8"} 
[2026-08-08 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:08: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-08-08 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263445504001,"66":12928,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263445504001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:08:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263445504001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":150344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:08:38] local.INFO: GPS data processed {"connection_id":150344,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:08:38] local.INFO: Acknowledgment sent {"connection_id":150344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:08:44] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:08:44] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ef6830012cd4afc007377b10000c00ed2d..."} 
[2026-08-08 16:08:44] local.INFO: Packet analysis {"connection_id":150597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:08:44] local.INFO: Extracted packet for processing {"connection_id":150597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ef"} 
[2026-08-08 16:08:44] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":45,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263337728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786185214000,"timestamp_ms":1786185214000,"timestamp_seconds":1786185214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ef6830"} 
[2026-08-08 16:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263337728001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263337728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:08:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263337728001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":150597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:08:44] local.INFO: GPS data processed {"connection_id":150597,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:08:44] local.INFO: Acknowledgment sent {"connection_id":150597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:09:02] local.INFO: TCP Data received {"connection_id":153041,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:09:02] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:09:02] local.INFO: IMEI packet received {"connection_id":153041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":153041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:09:07] local.INFO: TCP Data received {"connection_id":153041,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:09:07] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:09:07] local.INFO: IMEI packet received {"connection_id":153041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":153041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:09:08] local.INFO: TCP Data received {"connection_id":153041,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f1e100012d1823800721b8480048000c2d..."} 
[2026-08-08 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f1e100012d1823800721b8480048000c2d..."} 
[2026-08-08 16:09:08] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f1e100012d1823800721b8480048000c2d..."} 
[2026-08-08 16:09:08] local.INFO: Packet analysis {"connection_id":153041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f1"} 
[2026-08-08 16:09:08] local.INFO: Extracted packet for processing {"connection_id":153041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f1"} 
[2026-08-08 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263450880001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185376000,"timestamp_ms":1786185376000,"timestamp_seconds":1786185376,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f1e100"} 
[2026-08-08 16:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:09: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-08-08 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-08 16:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263450880001,"66":12885,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263450880001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263450880001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":153041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:09:08] local.INFO: GPS data processed {"connection_id":153041,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:09:08] local.INFO: Acknowledgment sent {"connection_id":153041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:09:09] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:09:09] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:09:09] local.INFO: IMEI packet received {"connection_id":153042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":153042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:09:12] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:09:12] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:09:12] local.INFO: IMEI packet received {"connection_id":153042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":153042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:09:14] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:09:14] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:09:14] local.INFO: Packet analysis {"connection_id":153042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:09:14] local.INFO: Extracted packet for processing {"connection_id":153042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":153042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:09:14] local.INFO: GPS data processed {"connection_id":153042,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:09:14] local.INFO: Acknowledgment sent {"connection_id":153042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:09:39] local.INFO: TCP Data received {"connection_id":153041,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f23308012d1823800721b8480048000c2d..."} 
[2026-08-08 16:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f23308012d1823800721b8480048000c2d..."} 
[2026-08-08 16:09:39] local.INFO: Processing buffer {"connection_id":153041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f23308012d1823800721b8480048000c2d..."} 
[2026-08-08 16:09:39] local.INFO: Packet analysis {"connection_id":153041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f2"} 
[2026-08-08 16:09:39] local.INFO: Extracted packet for processing {"connection_id":153041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f2"} 
[2026-08-08 16:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263456256001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185397000,"timestamp_ms":1786185397000,"timestamp_seconds":1786185397,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f23308"} 
[2026-08-08 16:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:09: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-08-08 16:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 16:09: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-08-08 16:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263456256001,"66":12863,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263456256001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:09:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263456256001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":153041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:09:39] local.INFO: GPS data processed {"connection_id":153041,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:09:39] local.INFO: Acknowledgment sent {"connection_id":153041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:09:46] local.INFO: TCP Data received {"connection_id":153042,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:09:46] local.INFO: Processing buffer {"connection_id":153042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:09:46] local.INFO: Packet analysis {"connection_id":153042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:09:46] local.INFO: Extracted packet for processing {"connection_id":153042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:09:46] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:09:46] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":153042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:09:46] local.INFO: GPS data processed {"connection_id":153042,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:09:46] local.INFO: Acknowledgment sent {"connection_id":153042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:10:02] local.INFO: TCP Data received {"connection_id":150345,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:10:02] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:10:02] local.INFO: IMEI packet received {"connection_id":150345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":150345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:10:04] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:10:04] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:10:04] local.INFO: IMEI packet received {"connection_id":150598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":150598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:10:07] local.INFO: TCP Data received {"connection_id":150345,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:10:07] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:10:07] local.INFO: IMEI packet received {"connection_id":150345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":150345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:10:08] local.INFO: TCP Data received {"connection_id":150345,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f28510012d1823800721b8480048000c2c..."} 
[2026-08-08 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f28510012d1823800721b8480048000c2c..."} 
[2026-08-08 16:10:08] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f28510012d1823800721b8480048000c2c..."} 
[2026-08-08 16:10:08] local.INFO: Packet analysis {"connection_id":150345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f2"} 
[2026-08-08 16:10:08] local.INFO: Extracted packet for processing {"connection_id":150345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f2"} 
[2026-08-08 16:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263461632001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185418000,"timestamp_ms":1786185418000,"timestamp_seconds":1786185418,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f28510"} 
[2026-08-08 16:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:10: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-08-08 16:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-08 16:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263461632001,"66":12841,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263461632001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263461632001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":150345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:10:08] local.INFO: GPS data processed {"connection_id":150345,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:10:08] local.INFO: Acknowledgment sent {"connection_id":150345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:10:09] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:10:09] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:10:09] local.INFO: IMEI packet received {"connection_id":150598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":150598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:10:10] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:10:10] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:10:10] local.INFO: Packet analysis {"connection_id":150598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:10:10] local.INFO: Extracted packet for processing {"connection_id":150598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 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-08-08 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":150598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:10:10] local.INFO: GPS data processed {"connection_id":150598,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:10:10] local.INFO: Acknowledgment sent {"connection_id":150598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:10:39] local.INFO: TCP Data received {"connection_id":150345,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f2d718012d1823800721b8480048000c2c..."} 
[2026-08-08 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f2d718012d1823800721b8480048000c2c..."} 
[2026-08-08 16:10:39] local.INFO: Processing buffer {"connection_id":150345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f2d718012d1823800721b8480048000c2c..."} 
[2026-08-08 16:10:39] local.INFO: Packet analysis {"connection_id":150345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f2"} 
[2026-08-08 16:10:39] local.INFO: Extracted packet for processing {"connection_id":150345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f2"} 
[2026-08-08 16:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263467008001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185439000,"timestamp_ms":1786185439000,"timestamp_seconds":1786185439,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f2d718"} 
[2026-08-08 16:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:10: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-08-08 16:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 16:10: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-08-08 16:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263467008001,"66":12722,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263467008001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263467008001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":150345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:10:39] local.INFO: GPS data processed {"connection_id":150345,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:10:39] local.INFO: Acknowledgment sent {"connection_id":150345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:10:42] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:10:42] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:10:42] local.INFO: Packet analysis {"connection_id":150598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:10:42] local.INFO: Extracted packet for processing {"connection_id":150598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:10: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-08-08 16:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":150598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:10:42] local.INFO: GPS data processed {"connection_id":150598,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:10:42] local.INFO: Acknowledgment sent {"connection_id":150598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:11:02] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:11:02] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:11:02] local.INFO: IMEI packet received {"connection_id":153043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":153043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:11:04] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:11:04] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:11:04] local.INFO: IMEI packet received {"connection_id":151553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":151553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:11:07] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:11:07] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:11:07] local.INFO: IMEI packet received {"connection_id":153043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":153043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:11:08] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f32920012d1823800721b8480048000c2e..."} 
[2026-08-08 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f32920012d1823800721b8480048000c2e..."} 
[2026-08-08 16:11:08] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f32920012d1823800721b8480048000c2e..."} 
[2026-08-08 16:11:08] local.INFO: Packet analysis {"connection_id":153043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:08] local.INFO: Extracted packet for processing {"connection_id":153043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650376,"longitude_deg":75.6556672,"latitude_deg":11.9650376,"altitude":72,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-08-08 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263472384001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563434940301312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185460000,"timestamp_ms":1786185460000,"timestamp_seconds":1786185460,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f32920"} 
[2026-08-08 16:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:11: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-08-08 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 16:11: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-08-08 16:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263472384001,"66":12689,"105":206,"83":41984,"24":0,"16":11563434940301312,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263472384001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:11:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563434940301312,"km_value":11563434940301.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263472384001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":153043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:11:08] local.INFO: GPS data processed {"connection_id":153043,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:11:08] local.INFO: Acknowledgment sent {"connection_id":153043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:11:09] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:11:09] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:11:09] local.INFO: IMEI packet received {"connection_id":151553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":151553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:11:11] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:11:11] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:11:11] local.INFO: Packet analysis {"connection_id":151553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:11] local.INFO: Extracted packet for processing {"connection_id":151553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:11: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-08-08 16:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:11:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":151553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:11:11] local.INFO: GPS data processed {"connection_id":151553,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:11:11] local.INFO: Acknowledgment sent {"connection_id":151553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:11:39] local.INFO: TCP Data received {"connection_id":153043,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f34c48012d1822c00721b7e8004800b72e..."} 
[2026-08-08 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f34c48012d1822c00721b7e8004800b72e..."} 
[2026-08-08 16:11:39] local.INFO: Processing buffer {"connection_id":153043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f34c48012d1822c00721b7e8004800b72e..."} 
[2026-08-08 16:11:39] local.INFO: Packet analysis {"connection_id":153043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:39] local.INFO: Extracted packet for processing {"connection_id":153043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650280,"longitude_deg":75.655648,"latitude_deg":11.965028,"altitude":72,"angle":183,"satellites":46,"speed":1,"hex_longitude":"2d1822c0","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-08-08 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263477760001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563443530235904,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213995008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185469000,"timestamp_ms":1786185469000,"timestamp_seconds":1786185469,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f34c48"} 
[2026-08-08 16:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:11: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-08-08 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 16:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263477760001,"66":12602,"105":206,"83":41984,"24":1,"16":11563443530235904,"45":1739374649213995008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263477760001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563443530235904,"km_value":11563443530235.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213995008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263477760001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739374649213995008}} 
[2026-08-08 16:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":153043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:11:39] local.INFO: GPS data processed {"connection_id":153043,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:11:39] local.INFO: Acknowledgment sent {"connection_id":153043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:11:43] local.INFO: TCP Data received {"connection_id":151553,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:11:43] local.INFO: Processing buffer {"connection_id":151553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:11:43] local.INFO: Packet analysis {"connection_id":151553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:43] local.INFO: Extracted packet for processing {"connection_id":151553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:11:43] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:11: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-08-08 16:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:11:43] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:11:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":151553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:11:43] local.INFO: GPS data processed {"connection_id":151553,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:11:43] local.INFO: Acknowledgment sent {"connection_id":151553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:12:02] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:12:02] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:12:02] local.INFO: IMEI packet received {"connection_id":150599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":150599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:12:07] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:12:07] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:12:07] local.INFO: IMEI packet received {"connection_id":150599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":150599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:12:08] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f39e50012d1822c00721b738004800bd2c..."} 
[2026-08-08 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f39e50012d1822c00721b738004800bd2c..."} 
[2026-08-08 16:12:08] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f39e50012d1822c00721b738004800bd2c..."} 
[2026-08-08 16:12:08] local.INFO: Packet analysis {"connection_id":150599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:08] local.INFO: Extracted packet for processing {"connection_id":150599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650104,"longitude_deg":75.655648,"latitude_deg":11.9650104,"altitude":72,"angle":189,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b738","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263480064001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563452120170496,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981437440,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185490000,"timestamp_ms":1786185490000,"timestamp_seconds":1786185490,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f39e50"} 
[2026-08-08 16:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:12: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-08-08 16: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-08 16:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263480064001,"66":12667,"105":206,"83":41984,"24":0,"16":11563452120170496,"45":1739163542981437440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263480064001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:12:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:12:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563452120170496,"km_value":11563452120170.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981437440,"description":"Unknown IO ID 45"} 
[2026-08-08 16:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263480064001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981437440}} 
[2026-08-08 16:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":150599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:12:08] local.INFO: GPS data processed {"connection_id":150599,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:12:08] local.INFO: Acknowledgment sent {"connection_id":150599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:12:09] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:12:09] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:12:09] local.INFO: IMEI packet received {"connection_id":150600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":150600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:12:14] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:12:14] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:12:14] local.INFO: IMEI packet received {"connection_id":150600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":150600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:12:15] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:12:15] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:12:15] local.INFO: Packet analysis {"connection_id":150600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:15] local.INFO: Extracted packet for processing {"connection_id":150600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:12: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-08-08 16:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:12:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":150600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:12:15] local.INFO: GPS data processed {"connection_id":150600,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:12:15] local.INFO: Acknowledgment sent {"connection_id":150600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:12:39] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3aa08012d1822800721b5b0004a00cb2d..."} 
[2026-08-08 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3aa08012d1822800721b5b0004a00cb2d..."} 
[2026-08-08 16:12:39] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3aa08012d1822800721b5b0004a00cb2d..."} 
[2026-08-08 16:12:39] local.INFO: Packet analysis {"connection_id":150599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:39] local.INFO: Extracted packet for processing {"connection_id":150599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649712,"longitude_deg":75.6556416,"latitude_deg":11.9649712,"altitude":74,"angle":203,"satellites":45,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b5b0","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263485440001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563473595006976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981392384,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185493000,"timestamp_ms":1786185493000,"timestamp_seconds":1786185493,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3aa08"} 
[2026-08-08 16:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:12: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-08-08 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 16:12: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-08-08 16:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263485440001,"66":12645,"105":206,"83":41984,"24":2,"16":11563473595006976,"45":1739163542981392384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263485440001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:12:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563473595006976,"km_value":11563473595006.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981392384,"description":"Unknown IO ID 45"} 
[2026-08-08 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263485440001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981392384}} 
[2026-08-08 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":150599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:12:39] local.INFO: GPS data processed {"connection_id":150599,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:12:39] local.INFO: Acknowledgment sent {"connection_id":150599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:12:47] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:12:47] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:12:47] local.INFO: Packet analysis {"connection_id":150600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:47] local.INFO: Extracted packet for processing {"connection_id":150600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:12:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:12:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":150600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:12:47] local.INFO: GPS data processed {"connection_id":150600,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:12:47] local.INFO: Acknowledgment sent {"connection_id":150600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:13:03] local.INFO: TCP Data received {"connection_id":153045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:03] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:03] local.INFO: IMEI packet received {"connection_id":153045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":153045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:13:04] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:13:04] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:13:04] local.INFO: IMEI packet received {"connection_id":153044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":153044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:13:07] local.INFO: TCP Data received {"connection_id":153045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:07] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:07] local.INFO: IMEI packet received {"connection_id":153045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":153045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:13:09] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:13:09] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:13:09] local.INFO: IMEI packet received {"connection_id":153044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":153044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:13:11] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:13:11] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:13:11] local.INFO: Packet analysis {"connection_id":153044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:13:11] local.INFO: Extracted packet for processing {"connection_id":153044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:13:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":153044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:13:11] local.INFO: GPS data processed {"connection_id":153044,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:13:11] local.INFO: Acknowledgment sent {"connection_id":153044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:13:12] local.INFO: TCP Data received {"connection_id":153045,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:12] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:13:12] local.INFO: IMEI packet received {"connection_id":153045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":153045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:13:13] local.INFO: TCP Data received {"connection_id":153045,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012d1822400721b540004b00cc2f..."} 
[2026-08-08 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012d1822400721b540004b00cc2f..."} 
[2026-08-08 16:13:13] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012d1822400721b540004b00cc2f..."} 
[2026-08-08 16:13:13] local.INFO: Packet analysis {"connection_id":153045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:13:13] local.INFO: Extracted packet for processing {"connection_id":153045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649600,"longitude_deg":75.6556352,"latitude_deg":11.96496,"altitude":75,"angle":204,"satellites":47,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b540","is_valid_coordinates":true} 
[2026-08-08 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263486208001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563482184941568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237114368,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-08 16:13: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-08-08 16:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263486208001,"66":12580,"105":206,"83":41984,"24":0,"16":11563482184941568,"45":1739093174237114368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263486208001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:13:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563482184941568,"km_value":11563482184941.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237114368,"description":"Unknown IO ID 45"} 
[2026-08-08 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263486208001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237114368}} 
[2026-08-08 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":153045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:13:13] local.INFO: GPS data processed {"connection_id":153045,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:13:13] local.INFO: Acknowledgment sent {"connection_id":153045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:13:17] local.INFO: TCP Data received {"connection_id":153045,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f44e18012d1822400721b540004b00cc2d..."} 
[2026-08-08 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f44e18012d1822400721b540004b00cc2d..."} 
[2026-08-08 16:13:17] local.INFO: Processing buffer {"connection_id":153045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f44e18012d1822400721b540004b00cc2d..."} 
[2026-08-08 16:13:17] local.INFO: Packet analysis {"connection_id":153045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f4"} 
[2026-08-08 16:13:17] local.INFO: Extracted packet for processing {"connection_id":153045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f4"} 
[2026-08-08 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649600,"longitude_deg":75.6556352,"latitude_deg":11.96496,"altitude":75,"angle":204,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b540","is_valid_coordinates":true} 
[2026-08-08 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263491584001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563482184941568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492908032,"note":"Value kept but may cause issues"} 
[2026-08-08 16:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786185535000,"timestamp_ms":1786185535000,"timestamp_seconds":1786185535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f44e18"} 
[2026-08-08 16:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-08 16:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263491584001,"66":12504,"105":206,"83":41984,"24":0,"16":11563482184941568,"45":1739022805492908032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263491584001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563482184941568,"km_value":11563482184941.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492908032,"description":"Unknown IO ID 45"} 
[2026-08-08 16:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263491584001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492908032}} 
[2026-08-08 16:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":153045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:13:17] local.INFO: GPS data processed {"connection_id":153045,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:13:17] local.INFO: Acknowledgment sent {"connection_id":153045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:14:02] local.INFO: TCP Data received {"connection_id":150601,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:14:02] local.INFO: Processing buffer {"connection_id":150601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:14:02] local.INFO: IMEI packet received {"connection_id":150601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":150601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:14:04] local.INFO: TCP Data received {"connection_id":150601,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:14:04] local.INFO: Processing buffer {"connection_id":150601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:14:04] local.INFO: IMEI packet received {"connection_id":150601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":150601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:14:04] local.INFO: TCP Data received {"connection_id":150346,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:14:04] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:14:04] local.INFO: IMEI packet received {"connection_id":150346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":150346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:14:05] local.INFO: TCP Data received {"connection_id":150601,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f7d470012d1822400721b3e0004c00cd2e..."} 
[2026-08-08 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f7d470012d1822400721b3e0004c00cd2e..."} 
[2026-08-08 16:14:05] local.INFO: Processing buffer {"connection_id":150601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f7d470012d1822400721b3e0004c00cd2e..."} 
[2026-08-08 16:14:05] local.INFO: Packet analysis {"connection_id":150601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f7"} 
[2026-08-08 16:14:05] local.INFO: Extracted packet for processing {"connection_id":150601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f7"} 
[2026-08-08 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649248,"longitude_deg":75.6556352,"latitude_deg":11.9649248,"altitude":76,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-08-08 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263550720001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563499364810752,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492817920,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14: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-08-08 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786185766000,"timestamp_ms":1786185766000,"timestamp_seconds":1786185766,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f7d470"} 
[2026-08-08 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16: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-08-08 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 16:14: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-08-08 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263550720001,"66":12363,"105":206,"83":41984,"24":0,"16":11563499364810752,"45":1739022805492817920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263550720001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:14:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563499364810752,"km_value":11563499364810.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492817920,"description":"Unknown IO ID 45"} 
[2026-08-08 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263550720001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492817920}} 
[2026-08-08 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":150601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:14:05] local.INFO: GPS data processed {"connection_id":150601,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:14:05] local.INFO: Acknowledgment sent {"connection_id":150601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:14:06] local.INFO: TCP Data received {"connection_id":153044,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:06] local.INFO: Processing buffer {"connection_id":153044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:06] local.INFO: Packet analysis {"connection_id":153044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:14:06] local.INFO: Extracted packet for processing {"connection_id":153044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":153044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:14:06] local.INFO: GPS data processed {"connection_id":153044,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:14:06] local.INFO: Acknowledgment sent {"connection_id":153044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:14:09] local.INFO: TCP Data received {"connection_id":150346,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:14:09] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:14:09] local.INFO: IMEI packet received {"connection_id":150346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":150346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:14:10] local.INFO: TCP Data received {"connection_id":150346,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:10] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f3fc10012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:10] local.INFO: Packet analysis {"connection_id":150346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:14:10] local.INFO: Extracted packet for processing {"connection_id":150346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f3"} 
[2026-08-08 16:14:10] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263414784001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786185514000,"timestamp_ms":1786185514000,"timestamp_seconds":1786185514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f3fc10"} 
[2026-08-08 16:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263414784001,"66":25691,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263414784001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263414784001,"power":25691,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":150346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:14:10] local.INFO: GPS data processed {"connection_id":150346,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:14:10] local.INFO: Acknowledgment sent {"connection_id":150346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:14:36] local.INFO: TCP Data received {"connection_id":150601,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f82678012d1822400721b3e0004c00cd2e..."} 
[2026-08-08 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f82678012d1822400721b3e0004c00cd2e..."} 
[2026-08-08 16:14:36] local.INFO: Processing buffer {"connection_id":150601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f82678012d1822400721b3e0004c00cd2e..."} 
[2026-08-08 16:14:36] local.INFO: Packet analysis {"connection_id":150601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:14:36] local.INFO: Extracted packet for processing {"connection_id":150601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649248,"longitude_deg":75.6556352,"latitude_deg":11.9649248,"altitude":76,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-08-08 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263556096001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563499364810752,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492817920,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14: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-08-08 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786185787000,"timestamp_ms":1786185787000,"timestamp_seconds":1786185787,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f82678"} 
[2026-08-08 16:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:14: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-08-08 16: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":75,"data_length":795,"current_offset":136} 
[2026-08-08 16:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263556096001,"66":12341,"105":206,"83":41984,"24":0,"16":11563499364810752,"45":1739022805492817920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263556096001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:14:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563499364810752,"km_value":11563499364810.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492817920,"description":"Unknown IO ID 45"} 
[2026-08-08 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263556096001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492817920}} 
[2026-08-08 16:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":150601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:14:36] local.INFO: GPS data processed {"connection_id":150601,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:14:36] local.INFO: Acknowledgment sent {"connection_id":150601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:14:42] local.INFO: TCP Data received {"connection_id":150346,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f893d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f893d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:42] local.INFO: Processing buffer {"connection_id":150346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f893d8012cd4afc007377b10000c00ed2c..."} 
[2026-08-08 16:14:42] local.INFO: Packet analysis {"connection_id":150346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:14:42] local.INFO: Extracted packet for processing {"connection_id":150346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:14:42] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263491584001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786185815000,"timestamp_ms":1786185815000,"timestamp_seconds":1786185815,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f893d8"} 
[2026-08-08 16:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 16:14: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-08-08 16:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263491584001,"66":25647,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263491584001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:14:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263491584001,"power":25647,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":150346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:14:42] local.INFO: GPS data processed {"connection_id":150346,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:14:42] local.INFO: Acknowledgment sent {"connection_id":150346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:15:02] local.INFO: TCP Data received {"connection_id":150602,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:15:02] local.INFO: Processing buffer {"connection_id":150602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:15:02] local.INFO: IMEI packet received {"connection_id":150602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":150602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:15:07] local.INFO: TCP Data received {"connection_id":150602,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:15:07] local.INFO: Processing buffer {"connection_id":150602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:15:07] local.INFO: IMEI packet received {"connection_id":150602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":150602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:15:08] local.INFO: TCP Data received {"connection_id":150602,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f870b0012d1821000721b3d8004900db2e..."} 
[2026-08-08 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f870b0012d1821000721b3d8004900db2e..."} 
[2026-08-08 16:15:08] local.INFO: Processing buffer {"connection_id":150602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f870b0012d1821000721b3d8004900db2e..."} 
[2026-08-08 16:15:08] local.INFO: Packet analysis {"connection_id":150602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:15:08] local.INFO: Extracted packet for processing {"connection_id":150602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649240,"longitude_deg":75.6556032,"latitude_deg":11.964924,"altitude":73,"angle":219,"satellites":46,"speed":2,"hex_longitude":"2d182100","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263561472001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563516544679936,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492817920,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185806000,"timestamp_ms":1786185806000,"timestamp_seconds":1786185806,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f870b0"} 
[2026-08-08 16:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:15: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-08-08 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 16:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263561472001,"66":12287,"105":206,"83":41984,"24":2,"16":11563516544679936,"45":1739022805492817920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263561472001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:15:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563516544679936,"km_value":11563516544679.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492817920,"description":"Unknown IO ID 45"} 
[2026-08-08 16:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263561472001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739022805492817920}} 
[2026-08-08 16:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":150602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:15:08] local.INFO: GPS data processed {"connection_id":150602,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:15:08] local.INFO: Acknowledgment sent {"connection_id":150602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:15:09] local.INFO: TCP Data received {"connection_id":153046,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:15:09] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:15:09] local.INFO: IMEI packet received {"connection_id":153046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":153046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:15:12] local.INFO: TCP Data received {"connection_id":153046,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:15:12] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:15:12] local.INFO: IMEI packet received {"connection_id":153046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":153046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:15:13] local.INFO: TCP Data received {"connection_id":153046,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f8c2b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 16:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f8c2b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 16:15:13] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f8c2b8012cd4afc007377b10000c00ed2b..."} 
[2026-08-08 16:15:13] local.INFO: Packet analysis {"connection_id":153046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:15:13] local.INFO: Extracted packet for processing {"connection_id":153046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:15:13] local.INFO: GPS Element Parsed {"raw_longitude":752136128,"raw_latitude":121076496,"longitude_deg":75.2136128,"latitude_deg":12.1076496,"altitude":12,"angle":237,"satellites":43,"speed":0,"hex_longitude":"2cd4afc0","hex_latitude":"07377b10","is_valid_coordinates":true} 
[2026-08-08 16:15: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-08-08 16:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263568640001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786185827000,"timestamp_ms":1786185827000,"timestamp_seconds":1786185827,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f8c2b8"} 
[2026-08-08 16:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 16:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263568640001,"66":25680,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263568640001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:15:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263568640001,"power":25680,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":153046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:15:13] local.INFO: GPS data processed {"connection_id":153046,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:15:13] local.INFO: Acknowledgment sent {"connection_id":153046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:15:15] local.INFO: TCP Data received {"connection_id":153046,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f92460012cd4ae0007377a10000c00ed29..."} 
[2026-08-08 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f92460012cd4ae0007377a10000c00ed29..."} 
[2026-08-08 16:15:15] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f92460012cd4ae0007377a10000c00ed29..."} 
[2026-08-08 16:15:15] local.INFO: Packet analysis {"connection_id":153046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:15:15] local.INFO: Extracted packet for processing {"connection_id":153046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:15:15] local.INFO: GPS Element Parsed {"raw_longitude":752135680,"raw_latitude":121076240,"longitude_deg":75.213568,"latitude_deg":12.107624,"altitude":12,"angle":237,"satellites":41,"speed":0,"hex_longitude":"2cd4ae00","hex_latitude":"07377a10","is_valid_coordinates":true} 
[2026-08-08 16:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263571712001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121064879516348416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786185852000,"timestamp_ms":1786185852000,"timestamp_seconds":1786185852,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f92460"} 
[2026-08-08 16:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263571712001,"66":27800,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121064879516348416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263571712001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:15:15] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121064879516348416,"description":"Unknown IO ID 44"} 
[2026-08-08 16:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263571712001,"power":27800,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121064879516348416}} 
[2026-08-08 16:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":153046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:15:15] local.INFO: GPS data processed {"connection_id":153046,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:15:15] local.INFO: Acknowledgment sent {"connection_id":153046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:15:39] local.INFO: TCP Data received {"connection_id":150602,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f8c2b8012d1820000721b230004a00d32e..."} 
[2026-08-08 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f8c2b8012d1820000721b230004a00d32e..."} 
[2026-08-08 16:15:39] local.INFO: Processing buffer {"connection_id":150602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f8c2b8012d1820000721b230004a00d32e..."} 
[2026-08-08 16:15:39] local.INFO: Packet analysis {"connection_id":150602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:15:39] local.INFO: Extracted packet for processing {"connection_id":150602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f8"} 
[2026-08-08 16:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263566336001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771927552,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185827000,"timestamp_ms":1786185827000,"timestamp_seconds":1786185827,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f8c2b8"} 
[2026-08-08 16:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:15: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-08-08 16:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263566336001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738670961771927552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263566336001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771927552,"description":"Unknown IO ID 45"} 
[2026-08-08 16:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263566336001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771927552}} 
[2026-08-08 16:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":150602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:15:39] local.INFO: GPS data processed {"connection_id":150602,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:15:39] local.INFO: Acknowledgment sent {"connection_id":150602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:15:47] local.INFO: TCP Data received {"connection_id":153046,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f97668012cd4ae0007377a10000c00ed28..."} 
[2026-08-08 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f97668012cd4ae0007377a10000c00ed28..."} 
[2026-08-08 16:15:47] local.INFO: Processing buffer {"connection_id":153046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f97668012cd4ae0007377a10000c00ed28..."} 
[2026-08-08 16:15:47] local.INFO: Packet analysis {"connection_id":153046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:15:47] local.INFO: Extracted packet for processing {"connection_id":153046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":752135680,"raw_latitude":121076240,"longitude_deg":75.213568,"latitude_deg":12.107624,"altitude":12,"angle":237,"satellites":40,"speed":0,"hex_longitude":"2cd4ae00","hex_latitude":"07377a10","is_valid_coordinates":true} 
[2026-08-08 16:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263578112001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121557460725657600,"note":"Value kept but may cause issues"} 
[2026-08-08 16:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786185873000,"timestamp_ms":1786185873000,"timestamp_seconds":1786185873,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f97668"} 
[2026-08-08 16:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 16:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263578112001,"66":27995,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121557460725657600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263578112001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:15:47] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121557460725657600,"description":"Unknown IO ID 44"} 
[2026-08-08 16:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263578112001,"power":27995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121557460725657600}} 
[2026-08-08 16:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":153046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:15:47] local.INFO: GPS data processed {"connection_id":153046,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:15:47] local.INFO: Acknowledgment sent {"connection_id":153046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:16:02] local.INFO: TCP Data received {"connection_id":150347,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:16:02] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:16:02] local.INFO: IMEI packet received {"connection_id":150347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":150347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:16:03] local.INFO: TCP Data received {"connection_id":153047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:03] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:03] local.INFO: IMEI packet received {"connection_id":153047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":153047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:16:04] local.INFO: TCP Data received {"connection_id":153047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:04] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:04] local.INFO: IMEI packet received {"connection_id":153047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":153047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:16:07] local.INFO: TCP Data received {"connection_id":150347,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:16:07] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:16:07] local.INFO: IMEI packet received {"connection_id":150347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":150347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:16:08] local.INFO: TCP Data received {"connection_id":150347,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f914c0012d1820000721b230004a00d32c..."} 
[2026-08-08 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f914c0012d1820000721b230004a00d32c..."} 
[2026-08-08 16:16:08] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f914c0012d1820000721b230004a00d32c..."} 
[2026-08-08 16:16:08] local.INFO: Packet analysis {"connection_id":150347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:08] local.INFO: Extracted packet for processing {"connection_id":150347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263571712001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185848000,"timestamp_ms":1786185848000,"timestamp_seconds":1786185848,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f914c0"} 
[2026-08-08 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:16: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-08-08 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-1080863910568919039,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2236445889697867742,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468815036622,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513889607155974349,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":57751848248934400,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3017801804,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:16:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,20,159,112,45,179,73,46,10,66,38,64,76,212,1,240,75,227,224,33,4,113,205,48,34,239,2,41,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:16:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494153328623616,"timestamp_seconds":5332494153328624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263571712001,"66":12341,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263571712001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:16:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263571712001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":150347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:16:08] local.INFO: GPS data processed {"connection_id":150347,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:16:08] local.INFO: Acknowledgment sent {"connection_id":150347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:16:09] local.INFO: TCP Data received {"connection_id":153047,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:09] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:16:09] local.INFO: IMEI packet received {"connection_id":153047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":153047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:16:10] local.INFO: TCP Data received {"connection_id":153047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f9c870012cd4ae0007377a10000c00ed29..."} 
[2026-08-08 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f9c870012cd4ae0007377a10000c00ed29..."} 
[2026-08-08 16:16:10] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f9c870012cd4ae0007377a10000c00ed29..."} 
[2026-08-08 16:16:10] local.INFO: Packet analysis {"connection_id":153047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:10] local.INFO: Extracted packet for processing {"connection_id":153047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":752135680,"raw_latitude":121076240,"longitude_deg":75.213568,"latitude_deg":12.107624,"altitude":12,"angle":237,"satellites":41,"speed":0,"hex_longitude":"2cd4ae00","hex_latitude":"07377a10","is_valid_coordinates":true} 
[2026-08-08 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263583488001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546773516582912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121557460725657600,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786185894000,"timestamp_ms":1786185894000,"timestamp_seconds":1786185894,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f9c870"} 
[2026-08-08 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:16: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-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263583488001,"66":27974,"89":206,"83":43264,"24":0,"16":375546773516582912,"44":-3121557460725657600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263583488001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546773516582912,"km_value":375546773516582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121557460725657600,"description":"Unknown IO ID 44"} 
[2026-08-08 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263583488001,"power":27974,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121557460725657600}} 
[2026-08-08 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":153047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:16:10] local.INFO: GPS data processed {"connection_id":153047,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:16:10] local.INFO: Acknowledgment sent {"connection_id":153047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:16:39] local.INFO: TCP Data received {"connection_id":150347,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f966c8012d1820000721b230004a00d32d..."} 
[2026-08-08 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f966c8012d1820000721b230004a00d32d..."} 
[2026-08-08 16:16:39] local.INFO: Processing buffer {"connection_id":150347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f966c8012d1820000721b230004a00d32d..."} 
[2026-08-08 16:16:39] local.INFO: Packet analysis {"connection_id":150347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:39] local.INFO: Extracted packet for processing {"connection_id":150347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263577088001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185869000,"timestamp_ms":1786185869000,"timestamp_seconds":1786185869,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f966c8"} 
[2026-08-08 16:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:16: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-08-08 16:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 16:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263577088001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263577088001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263577088001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":150347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:16:39] local.INFO: GPS data processed {"connection_id":150347,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:16:39] local.INFO: Acknowledgment sent {"connection_id":150347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:16:42] local.INFO: TCP Data received {"connection_id":153047,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f9f368012cd4ac0007377a38000f011e2b..."} 
[2026-08-08 16:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f9f368012cd4ac0007377a38000f011e2b..."} 
[2026-08-08 16:16:42] local.INFO: Processing buffer {"connection_id":153047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f9f368012cd4ac0007377a38000f011e2b..."} 
[2026-08-08 16:16:42] local.INFO: Packet analysis {"connection_id":153047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:42] local.INFO: Extracted packet for processing {"connection_id":153047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:16:42] local.INFO: GPS Element Parsed {"raw_longitude":752135168,"raw_latitude":121076280,"longitude_deg":75.2135168,"latitude_deg":12.107628,"altitude":15,"angle":286,"satellites":43,"speed":3,"hex_longitude":"2cd4ac00","hex_latitude":"07377a38","is_valid_coordinates":true} 
[2026-08-08 16:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263588864001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546799286386688,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121557460725657600,"note":"Value kept but may cause issues"} 
[2026-08-08 16:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786185905000,"timestamp_ms":1786185905000,"timestamp_seconds":1786185905,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f9f368"} 
[2026-08-08 16:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 16:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263588864001,"66":27908,"89":206,"83":43264,"24":3,"16":375546799286386688,"44":-3121557460725657600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263588864001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:16:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546799286386688,"km_value":375546799286386.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121557460725657600,"description":"Unknown IO ID 44"} 
[2026-08-08 16:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263588864001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":3,"odometer":null,"unknown_44":-3121557460725657600}} 
[2026-08-08 16:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":153047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:16:42] local.INFO: GPS data processed {"connection_id":153047,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:16:42] local.INFO: Acknowledgment sent {"connection_id":153047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:17:02] local.INFO: TCP Data received {"connection_id":150603,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:17:02] local.INFO: Processing buffer {"connection_id":150603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:17:02] local.INFO: IMEI packet received {"connection_id":150603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":150603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:17:04] local.INFO: TCP Data received {"connection_id":150604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:17:04] local.INFO: Processing buffer {"connection_id":150604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:17:04] local.INFO: IMEI packet received {"connection_id":150604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":150604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:17:07] local.INFO: TCP Data received {"connection_id":150603,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:17:07] local.INFO: Processing buffer {"connection_id":150603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:17:07] local.INFO: IMEI packet received {"connection_id":150603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":150603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:17:08] local.INFO: TCP Data received {"connection_id":150603,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f9b8d0012d1820000721b230004a00d32b..."} 
[2026-08-08 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f9b8d0012d1820000721b230004a00d32b..."} 
[2026-08-08 16:17:08] local.INFO: Processing buffer {"connection_id":150603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f9b8d0012d1820000721b230004a00d32b..."} 
[2026-08-08 16:17:08] local.INFO: Packet analysis {"connection_id":150603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:17:08] local.INFO: Extracted packet for processing {"connection_id":150603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263582464001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185890000,"timestamp_ms":1786185890000,"timestamp_seconds":1786185890,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f9b8d0"} 
[2026-08-08 16:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:17: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-08-08 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-1080863910568919039,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2236265501071435742,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3017801804,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":76,"raw_value":57752947760562176,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513889607155974349,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:08] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,20,159,45,178,74,44,10,66,194,46,112,1,240,255,227,224,33,4,113,205,212,34,239,48,2,41,7,76,64],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:17:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494149033656320,"timestamp_seconds":5332494149033656.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263582464001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263582464001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:17:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263582464001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":150603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:17:08] local.INFO: GPS data processed {"connection_id":150603,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:17:08] local.INFO: Acknowledgment sent {"connection_id":150603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:17:10] local.INFO: TCP Data received {"connection_id":150604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:17:10] local.INFO: Processing buffer {"connection_id":150604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:17:10] local.INFO: IMEI packet received {"connection_id":150604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":150604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:17:11] local.INFO: TCP Data received {"connection_id":150604,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f9f750012cd4ab8007377a40000f01072b..."} 
[2026-08-08 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f9f750012cd4ab8007377a40000f01072b..."} 
[2026-08-08 16:17:11] local.INFO: Processing buffer {"connection_id":150604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f9f750012cd4ab8007377a40000f01072b..."} 
[2026-08-08 16:17:11] local.INFO: Packet analysis {"connection_id":150604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:17:11] local.INFO: Extracted packet for processing {"connection_id":150604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":752135040,"raw_latitude":121076288,"longitude_deg":75.213504,"latitude_deg":12.1076288,"altitude":15,"angle":263,"satellites":43,"speed":5,"hex_longitude":"2cd4ab80","hex_latitude":"07377a40","is_valid_coordinates":true} 
[2026-08-08 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263591680001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546807876321280,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122120410679068672,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786185906000,"timestamp_ms":1786185906000,"timestamp_seconds":1786185906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f9f750"} 
[2026-08-08 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263591680001,"66":27908,"89":206,"83":43264,"24":5,"16":375546807876321280,"44":-3122120410679068672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263591680001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546807876321280,"km_value":375546807876321.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122120410679068672,"description":"Unknown IO ID 44"} 
[2026-08-08 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263591680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3122120410679068672}} 
[2026-08-08 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":150604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:17:11] local.INFO: GPS data processed {"connection_id":150604,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:17:11] local.INFO: Acknowledgment sent {"connection_id":150604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:17:39] local.INFO: TCP Data received {"connection_id":150603,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fa0ad8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fa0ad8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:17:39] local.INFO: Processing buffer {"connection_id":150603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fa0ad8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:17:39] local.INFO: Packet analysis {"connection_id":150603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fa"} 
[2026-08-08 16:17:39] local.INFO: Extracted packet for processing {"connection_id":150603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fa"} 
[2026-08-08 16:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263587840001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185911000,"timestamp_ms":1786185911000,"timestamp_seconds":1786185911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fa0ad8"} 
[2026-08-08 16:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:17: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-08-08 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-1080863910568919039,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2236175306758219742,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019327402190,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3017277513,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":57752947760562176,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513889607155974349,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,20,159,102,45,178,74,10,66,44,194,1,240,227,224,33,4,113,205,2,38,34,46,239,48,41,7,76,64],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:17:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494140443721728,"timestamp_seconds":5332494140443722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263587840001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263587840001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:17:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263587840001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":150603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:17:39] local.INFO: GPS data processed {"connection_id":150603,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:17:39] local.INFO: Acknowledgment sent {"connection_id":150603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:17:42] local.INFO: TCP Data received {"connection_id":150604,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0f9fb38012cd4aac007377a10000f00f22c..."} 
[2026-08-08 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0f9fb38012cd4aac007377a10000f00f22c..."} 
[2026-08-08 16:17:42] local.INFO: Processing buffer {"connection_id":150604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0f9fb38012cd4aac007377a10000f00f22c..."} 
[2026-08-08 16:17:42] local.INFO: Packet analysis {"connection_id":150604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:17:42] local.INFO: Extracted packet for processing {"connection_id":150604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0f9"} 
[2026-08-08 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":752134848,"raw_latitude":121076240,"longitude_deg":75.2134848,"latitude_deg":12.107624,"altitude":15,"angle":242,"satellites":44,"speed":8,"hex_longitude":"2cd4aac0","hex_latitude":"07377a10","is_valid_coordinates":true} 
[2026-08-08 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263591936001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375546816466255872,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122261148167421952,"note":"Value kept but may cause issues"} 
[2026-08-08 16:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786185907000,"timestamp_ms":1786185907000,"timestamp_seconds":1786185907,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0f9fb38"} 
[2026-08-08 16:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263591936001,"66":27908,"89":206,"83":43264,"24":8,"16":375546816466255872,"44":-3122261148167421952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263591936001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:17:42] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375546816466255872,"km_value":375546816466255.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122261148167421952,"description":"Unknown IO ID 44"} 
[2026-08-08 16:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263591936001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3122261148167421952}} 
[2026-08-08 16:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":150604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:17:42] local.INFO: GPS data processed {"connection_id":150604,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:17:42] local.INFO: Acknowledgment sent {"connection_id":150604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:18:02] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:18:02] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:18:02] local.INFO: IMEI packet received {"connection_id":153048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":153048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:18:05] local.INFO: TCP Data received {"connection_id":150605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:18:05] local.INFO: Processing buffer {"connection_id":150605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:18:05] local.INFO: IMEI packet received {"connection_id":150605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":150605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:18:07] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:18:07] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:18:07] local.INFO: IMEI packet received {"connection_id":153048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":153048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:18:08] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fa5ce0012d1820000721b230004a00d32d..."} 
[2026-08-08 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fa5ce0012d1820000721b230004a00d32d..."} 
[2026-08-08 16:18:08] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fa5ce0012d1820000721b230004a00d32d..."} 
[2026-08-08 16:18:08] local.INFO: Packet analysis {"connection_id":153048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fa"} 
[2026-08-08 16:18:08] local.INFO: Extracted packet for processing {"connection_id":153048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fa"} 
[2026-08-08 16:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263593216001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185932000,"timestamp_ms":1786185932000,"timestamp_seconds":1786185932,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fa5ce0"} 
[2026-08-08 16:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:18: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-08-08 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263593216001,"66":12254,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263593216001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263593216001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":153048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:18:08] local.INFO: GPS data processed {"connection_id":153048,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:18:08] local.INFO: Acknowledgment sent {"connection_id":153048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:18:08] local.INFO: TCP Data received {"connection_id":150605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:18:08] local.INFO: Processing buffer {"connection_id":150605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:18:08] local.INFO: IMEI packet received {"connection_id":150605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":150605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:18:09] local.INFO: TCP Data received {"connection_id":150605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fb89a8012cd4280007376050001100002b..."} 
[2026-08-08 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fb89a8012cd4280007376050001100002b..."} 
[2026-08-08 16:18:09] local.INFO: Processing buffer {"connection_id":150605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fb89a8012cd4280007376050001100002b..."} 
[2026-08-08 16:18:09] local.INFO: Packet analysis {"connection_id":150605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:18:09] local.INFO: Extracted packet for processing {"connection_id":150605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":752101376,"raw_latitude":121069648,"longitude_deg":75.2101376,"latitude_deg":12.1069648,"altitude":17,"angle":0,"satellites":43,"speed":9,"hex_longitude":"2cd42800","hex_latitude":"07376050","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263617792001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375548508683370496,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159275107606712320,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18: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-08-08 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786186009000,"timestamp_ms":1786186009000,"timestamp_seconds":1786186009,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fb89a8"} 
[2026-08-08 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:18: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-08-08 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263617792001,"66":27919,"89":206,"83":43264,"24":9,"16":375548508683370496,"44":-3159275107606712320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263617792001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:18:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:18:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375548508683370496,"km_value":375548508683370.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159275107606712320,"description":"Unknown IO ID 44"} 
[2026-08-08 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263617792001,"power":27919,"unknown_89":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3159275107606712320}} 
[2026-08-08 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":150605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:18:09] local.INFO: GPS data processed {"connection_id":150605,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:18:09] local.INFO: Acknowledgment sent {"connection_id":150605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:18:38] local.INFO: TCP Data received {"connection_id":153048,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0faaee8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0faaee8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:18:38] local.INFO: Processing buffer {"connection_id":153048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0faaee8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:18:38] local.INFO: Packet analysis {"connection_id":153048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fa"} 
[2026-08-08 16:18:38] local.INFO: Extracted packet for processing {"connection_id":153048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fa"} 
[2026-08-08 16:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263598592001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18: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-08-08 16:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786185953000,"timestamp_ms":1786185953000,"timestamp_seconds":1786185953,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0faaee8"} 
[2026-08-08 16:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:18: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-08-08 16:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-08 16:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263598592001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263598592001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:18:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263598592001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":153048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:18:39] local.INFO: GPS data processed {"connection_id":153048,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:18:39] local.INFO: Acknowledgment sent {"connection_id":153048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:18:41] local.INFO: TCP Data received {"connection_id":150605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fbd3e0012cd42a4007378520000f000327..."} 
[2026-08-08 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fbd3e0012cd42a4007378520000f000327..."} 
[2026-08-08 16:18:41] local.INFO: Processing buffer {"connection_id":150605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fbd3e0012cd42a4007378520000f000327..."} 
[2026-08-08 16:18:41] local.INFO: Packet analysis {"connection_id":150605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:18:41] local.INFO: Extracted packet for processing {"connection_id":150605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":752101952,"raw_latitude":121079072,"longitude_deg":75.2101952,"latitude_deg":12.1079072,"altitude":15,"angle":3,"satellites":39,"speed":29,"hex_longitude":"2cd42a40","hex_latitude":"07378520","is_valid_coordinates":true} 
[2026-08-08 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263618304001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375548968244871168,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3159275107606573056,"note":"Value kept but may cause issues"} 
[2026-08-08 16:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786186028000,"timestamp_ms":1786186028000,"timestamp_seconds":1786186028,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fbd3e0"} 
[2026-08-08 16:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:18: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-08-08 16:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263618304001,"66":27930,"89":206,"83":43264,"24":29,"16":375548968244871168,"44":-3159275107606573056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263618304001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375548968244871168,"km_value":375548968244871.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3159275107606573056,"description":"Unknown IO ID 44"} 
[2026-08-08 16:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263618304001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3159275107606573056}} 
[2026-08-08 16:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":150605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:18:41] local.INFO: GPS data processed {"connection_id":150605,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:18:41] local.INFO: Acknowledgment sent {"connection_id":150605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:19:02] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:19:02] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:19:02] local.INFO: IMEI packet received {"connection_id":150348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":150348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:19:07] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:19:07] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:19:07] local.INFO: IMEI packet received {"connection_id":150348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":150348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:19:08] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fb00f0012d1820000721b230004a00d32d..."} 
[2026-08-08 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fb00f0012d1820000721b230004a00d32d..."} 
[2026-08-08 16:19:08] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fb00f0012d1820000721b230004a00d32d..."} 
[2026-08-08 16:19:08] local.INFO: Packet analysis {"connection_id":150348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:19:08] local.INFO: Extracted packet for processing {"connection_id":150348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263603968001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786185974000,"timestamp_ms":1786185974000,"timestamp_seconds":1786185974,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fb00f0"} 
[2026-08-08 16:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:19: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-08-08 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263603968001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263603968001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:19:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263603968001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":150348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:19:08] local.INFO: GPS data processed {"connection_id":150348,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:19:08] local.INFO: Acknowledgment sent {"connection_id":150348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:19:39] local.INFO: TCP Data received {"connection_id":150348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fb52f8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fb52f8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:19:39] local.INFO: Processing buffer {"connection_id":150348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fb52f8012d1820000721b230004a00d32c..."} 
[2026-08-08 16:19:39] local.INFO: Packet analysis {"connection_id":150348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:19:39] local.INFO: Extracted packet for processing {"connection_id":150348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263609344001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786185995000,"timestamp_ms":1786185995000,"timestamp_seconds":1786185995,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fb52f8"} 
[2026-08-08 16:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:19: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-08-08 16:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513887751729971411,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-360287970189639679,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2235823119439947744,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":74,"raw_value":59439598597570560,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4189638657,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2989490250,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:19:39] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:39] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,20,159,174,45,178,74,44,10,66,92,1,240,255,227,224,33,4,113,205,102,32,48,239,2,41,7,46],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:19:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494149033656320,"timestamp_seconds":5332494149033656.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263609344001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263609344001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263609344001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":150348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:19:39] local.INFO: GPS data processed {"connection_id":150348,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:19:39] local.INFO: Acknowledgment sent {"connection_id":150348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:19:40] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:19:40] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:19:40] local.INFO: IMEI packet received {"connection_id":151554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":151554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:19:45] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:19:45] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:19:45] local.INFO: IMEI packet received {"connection_id":151554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":151554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:19:46] local.INFO: TCP Data received {"connection_id":151554,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fbfed8012cd42bc00737a958000e000125..."} 
[2026-08-08 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fbfed8012cd42bc00737a958000e000125..."} 
[2026-08-08 16:19:46] local.INFO: Processing buffer {"connection_id":151554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fbfed8012cd42bc00737a958000e000125..."} 
[2026-08-08 16:19:46] local.INFO: Packet analysis {"connection_id":151554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:19:46] local.INFO: Extracted packet for processing {"connection_id":151554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":752102336,"raw_latitude":121088344,"longitude_deg":75.2102336,"latitude_deg":12.1088344,"altitude":14,"angle":1,"satellites":37,"speed":34,"hex_longitude":"2cd42bc0","hex_latitude":"0737a958","is_valid_coordinates":true} 
[2026-08-08 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263623168001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375549414921469952,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3158641788906561536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786186039000,"timestamp_ms":1786186039000,"timestamp_seconds":1786186039,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fbfed8"} 
[2026-08-08 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:19: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-08-08 16:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:19: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-08-08 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263623168001,"66":27800,"89":206,"83":43264,"24":34,"16":375549414921469952,"44":-3158641788906561536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-08 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263623168001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:19:46] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 16:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375549414921469952,"km_value":375549414921469.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3158641788906561536,"description":"Unknown IO ID 44"} 
[2026-08-08 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263623168001,"power":27800,"unknown_89":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3158641788906561536}} 
[2026-08-08 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":151554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:19:46] local.INFO: GPS data processed {"connection_id":151554,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:19:46] local.INFO: Acknowledgment sent {"connection_id":151554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:20:07] local.INFO: TCP Data received {"connection_id":153049,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:20:07] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:20:07] local.INFO: IMEI packet received {"connection_id":153049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":153049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:20:07] local.INFO: TCP Data received {"connection_id":150606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:07] local.INFO: Processing buffer {"connection_id":150606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:07] local.INFO: IMEI packet received {"connection_id":150606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":150606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:20:09] local.INFO: TCP Data received {"connection_id":150606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:09] local.INFO: Processing buffer {"connection_id":150606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:09] local.INFO: IMEI packet received {"connection_id":150606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":150606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:20:12] local.INFO: TCP Data received {"connection_id":153049,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:20:12] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:20:12] local.INFO: IMEI packet received {"connection_id":153049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":153049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:20:13] local.INFO: TCP Data received {"connection_id":153049,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fba500012d1820000721b230004a00d32c..."} 
[2026-08-08 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fba500012d1820000721b230004a00d32c..."} 
[2026-08-08 16:20:13] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fba500012d1820000721b230004a00d32c..."} 
[2026-08-08 16:20:13] local.INFO: Packet analysis {"connection_id":153049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:20:13] local.INFO: Extracted packet for processing {"connection_id":153049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263614720001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786186016000,"timestamp_ms":1786186016000,"timestamp_seconds":1786186016,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fba500"} 
[2026-08-08 16:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263614720001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263614720001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:20:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263614720001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":153049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:20:13] local.INFO: GPS data processed {"connection_id":153049,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:20:13] local.INFO: Acknowledgment sent {"connection_id":153049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:20:14] local.INFO: TCP Data received {"connection_id":150606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:14] local.INFO: Processing buffer {"connection_id":150606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:20:14] local.INFO: IMEI packet received {"connection_id":150606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":150606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:20:15] local.INFO: TCP Data received {"connection_id":150606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fda4b8012cd4694007385d30000d00662a..."} 
[2026-08-08 16:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fda4b8012cd4694007385d30000d00662a..."} 
[2026-08-08 16:20:15] local.INFO: Processing buffer {"connection_id":150606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fda4b8012cd4694007385d30000d00662a..."} 
[2026-08-08 16:20:15] local.INFO: Packet analysis {"connection_id":150606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:20:15] local.INFO: Extracted packet for processing {"connection_id":150606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:20:15] local.INFO: GPS Element Parsed {"raw_longitude":752118080,"raw_latitude":121134384,"longitude_deg":75.211808,"latitude_deg":12.1134384,"altitude":13,"angle":102,"satellites":42,"speed":30,"hex_longitude":"2cd46940","hex_latitude":"07385d30","is_valid_coordinates":true} 
[2026-08-08 16:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263648512001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375552344089165824,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3148719795963244544,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786186147000,"timestamp_ms":1786186147000,"timestamp_seconds":1786186147,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fda4b8"} 
[2026-08-08 16:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263648512001,"66":27930,"151":206,"83":43264,"24":30,"16":375552344089165824,"44":-3148719795963244544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-08 16:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263648512001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:20:15] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-08 16:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375552344089165824,"km_value":375552344089165.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3148719795963244544,"description":"Unknown IO ID 44"} 
[2026-08-08 16:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263648512001,"power":27930,"unknown_151":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3148719795963244544}} 
[2026-08-08 16:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":150606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:20:15] local.INFO: GPS data processed {"connection_id":150606,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:20:15] local.INFO: Acknowledgment sent {"connection_id":150606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:20:17] local.INFO: TCP Data received {"connection_id":153049,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fbf708012d1820000721b230004a00d32c..."} 
[2026-08-08 16:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fbf708012d1820000721b230004a00d32c..."} 
[2026-08-08 16:20:17] local.INFO: Processing buffer {"connection_id":153049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fbf708012d1820000721b230004a00d32c..."} 
[2026-08-08 16:20:17] local.INFO: Packet analysis {"connection_id":153049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:20:17] local.INFO: Extracted packet for processing {"connection_id":153049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fb"} 
[2026-08-08 16:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263620096001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786186037000,"timestamp_ms":1786186037000,"timestamp_seconds":1786186037,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fbf708"} 
[2026-08-08 16:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263620096001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263620096001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:20:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263620096001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":153049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:20:17] local.INFO: GPS data processed {"connection_id":153049,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:20:17] local.INFO: Acknowledgment sent {"connection_id":153049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:20:45] local.INFO: TCP Data received {"connection_id":150606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fdc3f8012cd48500073854b0000c00732a..."} 
[2026-08-08 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fdc3f8012cd48500073854b0000c00732a..."} 
[2026-08-08 16:20:45] local.INFO: Processing buffer {"connection_id":150606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fdc3f8012cd48500073854b0000c00732a..."} 
[2026-08-08 16:20:45] local.INFO: Packet analysis {"connection_id":150606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:20:45] local.INFO: Extracted packet for processing {"connection_id":150606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:20:45] local.INFO: GPS Element Parsed {"raw_longitude":752125184,"raw_latitude":121132208,"longitude_deg":75.2125184,"latitude_deg":12.1132208,"altitude":12,"angle":115,"satellites":42,"speed":39,"hex_longitude":"2cd48500","hex_latitude":"073854b0","is_valid_coordinates":true} 
[2026-08-08 16:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263653632001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375552696276484096,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3140908865359630336,"note":"Value kept but may cause issues"} 
[2026-08-08 16:20: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-08-08 16:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786186155000,"timestamp_ms":1786186155000,"timestamp_seconds":1786186155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fdc3f8"} 
[2026-08-08 16:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:20: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-08-08 16:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:20: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-08-08 16:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263653632001,"66":27995,"151":206,"83":43264,"24":39,"16":375552696276484096,"44":-3140908865359630336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-08 16:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263653632001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375552696276484096,"km_value":375552696276484.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3140908865359630336,"description":"Unknown IO ID 44"} 
[2026-08-08 16:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263653632001,"power":27995,"unknown_151":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-3140908865359630336}} 
[2026-08-08 16:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":150606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:20:45] local.INFO: GPS data processed {"connection_id":150606,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:20:45] local.INFO: Acknowledgment sent {"connection_id":150606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:21:02] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:21:02] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:21:02] local.INFO: IMEI packet received {"connection_id":151555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":151555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:21:04] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:21:04] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:21:04] local.INFO: IMEI packet received {"connection_id":151555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:21:04] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fc4910012d1820000721b230004a00d32b..."} 
[2026-08-08 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fc4910012d1820000721b230004a00d32b..."} 
[2026-08-08 16:21:04] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fc4910012d1820000721b230004a00d32b..."} 
[2026-08-08 16:21:04] local.INFO: Packet analysis {"connection_id":151555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fc"} 
[2026-08-08 16:21:04] local.INFO: Extracted packet for processing {"connection_id":151555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fc"} 
[2026-08-08 16:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263625472001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21: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-08-08 16:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786186058000,"timestamp_ms":1786186058000,"timestamp_seconds":1786186058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fc4910"} 
[2026-08-08 16:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:21: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-08-08 16:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513887751729971411,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-360287970189639679,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2235552536500299744,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":74,"raw_value":59439598597570560,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4205766657,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2989490250,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594538,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,20,159,165,45,178,74,44,10,66,82,1,240,227,224,33,4,113,205,92,32,48,239,47,2,41,7,43],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:21:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494144738689024,"timestamp_seconds":5332494144738689.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":151555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":151555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":151555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263625472001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263625472001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263625472001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":151555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:21:04] local.INFO: GPS data processed {"connection_id":151555,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:21:04] local.INFO: Acknowledgment sent {"connection_id":151555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:21:05] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:21:05] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:21:05] local.INFO: IMEI packet received {"connection_id":150349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":150349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:21:08] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:21:08] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:21:08] local.INFO: IMEI packet received {"connection_id":150349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":150349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:21:08] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fdcfb0012cd4900007385080000c006629..."} 
[2026-08-08 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fdcfb0012cd4900007385080000c006629..."} 
[2026-08-08 16:21:08] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fdcfb0012cd4900007385080000c006629..."} 
[2026-08-08 16:21:08] local.INFO: Packet analysis {"connection_id":150349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:21:08] local.INFO: Extracted packet for processing {"connection_id":150349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:21:08] local.INFO: GPS Element Parsed {"raw_longitude":752128000,"raw_latitude":121131136,"longitude_deg":75.2128,"latitude_deg":12.1131136,"altitude":12,"angle":102,"satellites":41,"speed":36,"hex_longitude":"2cd49000","hex_latitude":"07385080","is_valid_coordinates":true} 
[2026-08-08 16:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263655680001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375552842305372160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3133097934756466688,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186158000,"timestamp_ms":1786186158000,"timestamp_seconds":1786186158,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fdcfb0"} 
[2026-08-08 16:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 16:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263655680001,"66":27919,"151":206,"83":43264,"24":36,"16":375552842305372160,"44":-3133097934756466688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-08 16:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263655680001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375552842305372160,"km_value":375552842305372.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3133097934756466688,"description":"Unknown IO ID 44"} 
[2026-08-08 16:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263655680001,"power":27919,"unknown_151":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3133097934756466688}} 
[2026-08-08 16:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":150349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:21:08] local.INFO: GPS data processed {"connection_id":150349,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:21:08] local.INFO: Acknowledgment sent {"connection_id":150349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:21:40] local.INFO: TCP Data received {"connection_id":150349,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ff2b58012cd5580007387170001000062c..."} 
[2026-08-08 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ff2b58012cd5580007387170001000062c..."} 
[2026-08-08 16:21:40] local.INFO: Processing buffer {"connection_id":150349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ff2b58012cd5580007387170001000062c..."} 
[2026-08-08 16:21:40] local.INFO: Packet analysis {"connection_id":150349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:21:40] local.INFO: Extracted packet for processing {"connection_id":150349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":752179200,"raw_latitude":121139568,"longitude_deg":75.21792,"latitude_deg":12.1139568,"altitude":16,"angle":6,"satellites":44,"speed":15,"hex_longitude":"2cd55800","hex_latitude":"07387170","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263678976001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375555337681371136,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073777083412899840,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21: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-08-08 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786186247000,"timestamp_ms":1786186247000,"timestamp_seconds":1786186247,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ff2b58"} 
[2026-08-08 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-08-08 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:21: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-08-08 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-08-08 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-08-08 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263678976001,"66":28006,"150":206,"83":43264,"24":15,"16":375555337681371136,"44":-3073777083412899840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-08 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263678976001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:21:40] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 16:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375555337681371136,"km_value":375555337681371.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073777083412899840,"description":"Unknown IO ID 44"} 
[2026-08-08 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263678976001,"power":28006,"unknown_150":206,"unknown_83":43264,"ignition":15,"odometer":null,"unknown_44":-3073777083412899840}} 
[2026-08-08 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":150349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:21:40] local.INFO: GPS data processed {"connection_id":150349,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:21:40] local.INFO: Acknowledgment sent {"connection_id":150349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:21:45] local.INFO: TCP Data received {"connection_id":151555,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fc9b18012d1820000721b230004a00d32b..."} 
[2026-08-08 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fc9b18012d1820000721b230004a00d32b..."} 
[2026-08-08 16:21:45] local.INFO: Processing buffer {"connection_id":151555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fc9b18012d1820000721b230004a00d32b..."} 
[2026-08-08 16:21:45] local.INFO: Packet analysis {"connection_id":151555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fc"} 
[2026-08-08 16:21:45] local.INFO: Extracted packet for processing {"connection_id":151555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fc"} 
[2026-08-08 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263630848001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786186079000,"timestamp_ms":1786186079000,"timestamp_seconds":1786186079,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fc9b18"} 
[2026-08-08 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513887751729971411,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-360287970189639679,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2235462342187083744,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2049,"corrected_to":0} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":74,"raw_value":59440698109198336,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195246865940686,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4211142657,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2989490250,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-08 16:21:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,20,159,247,45,178,74,44,10,66,165,82,1,240,255,227,224,33,4,113,205,174,32,48,239,47,2,41,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":247,"original":2049,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:21:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494140443721728,"timestamp_seconds":5332494140443722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263630848001,"66":12298,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263630848001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:21:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263630848001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":151555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:21:45] local.INFO: GPS data processed {"connection_id":151555,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:21:45] local.INFO: Acknowledgment sent {"connection_id":151555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:22:02] local.INFO: TCP Data received {"connection_id":150607,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:22:02] local.INFO: Processing buffer {"connection_id":150607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:22:02] local.INFO: IMEI packet received {"connection_id":150607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":150607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:22:04] local.INFO: TCP Data received {"connection_id":150350,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:04] local.INFO: Processing buffer {"connection_id":150350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:04] local.INFO: IMEI packet received {"connection_id":150350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":150350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:22:05] local.INFO: TCP Data received {"connection_id":150350,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:05] local.INFO: Processing buffer {"connection_id":150350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:05] local.INFO: IMEI packet received {"connection_id":150350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":150350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:22:07] local.INFO: TCP Data received {"connection_id":150607,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:22:07] local.INFO: Processing buffer {"connection_id":150607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:22:07] local.INFO: IMEI packet received {"connection_id":150607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":150607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:22:08] local.INFO: TCP Data received {"connection_id":150607,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fced20012d1820000721b230004a00d32e..."} 
[2026-08-08 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fced20012d1820000721b230004a00d32e..."} 
[2026-08-08 16:22:08] local.INFO: Processing buffer {"connection_id":150607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fced20012d1820000721b230004a00d32e..."} 
[2026-08-08 16:22:08] local.INFO: Packet analysis {"connection_id":150607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fc"} 
[2026-08-08 16:22:08] local.INFO: Extracted packet for processing {"connection_id":150607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fc"} 
[2026-08-08 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263636224001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186100000,"timestamp_ms":1786186100000,"timestamp_seconds":1786186100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fced20"} 
[2026-08-08 16:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:22: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-08-08 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513887751729971411,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":20,"raw_value":-360287970189639679,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2235372147873867744,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":74,"raw_value":59439598597570560,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2049,"corrected_to":0} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4216518657,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2989490250,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:22:08] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,20,159,73,45,178,74,43,10,66,247,44,165,1,240,255,227,224,33,4,113,205,32,48,239,2,41,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":247,"original":2049,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:22:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332494140443721728,"timestamp_seconds":5332494140443722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263636224001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263636224001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263636224001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":150607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:22:08] local.INFO: GPS data processed {"connection_id":150607,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:22:08] local.INFO: Acknowledgment sent {"connection_id":150607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:22:10] local.INFO: TCP Data received {"connection_id":150350,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:10] local.INFO: Processing buffer {"connection_id":150350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:22:10] local.INFO: IMEI packet received {"connection_id":150350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":150350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:22:11] local.INFO: TCP Data received {"connection_id":150350,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ff2f40012cd55800073873080010015f2b..."} 
[2026-08-08 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ff2f40012cd55800073873080010015f2b..."} 
[2026-08-08 16:22:11] local.INFO: Processing buffer {"connection_id":150350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ff2f40012cd55800073873080010015f2b..."} 
[2026-08-08 16:22:11] local.INFO: Packet analysis {"connection_id":150350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:22:11] local.INFO: Extracted packet for processing {"connection_id":150350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":752179200,"raw_latitude":121139976,"longitude_deg":75.21792,"latitude_deg":12.1139976,"altitude":16,"angle":351,"satellites":43,"speed":16,"hex_longitude":"2cd55800","hex_latitude":"07387308","is_valid_coordinates":true} 
[2026-08-08 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263679232001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375555359156207616,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073706714668634112,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:11] 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-08-08 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786186248000,"timestamp_ms":1786186248000,"timestamp_seconds":1786186248,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ff2f40"} 
[2026-08-08 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263679232001,"66":27930,"150":206,"83":43264,"24":16,"16":375555359156207616,"44":-3073706714668634112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-08 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263679232001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375555359156207616,"km_value":375555359156207.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073706714668634112,"description":"Unknown IO ID 44"} 
[2026-08-08 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263679232001,"power":27930,"unknown_150":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3073706714668634112}} 
[2026-08-08 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":150350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:22:11] local.INFO: GPS data processed {"connection_id":150350,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:22:11] local.INFO: Acknowledgment sent {"connection_id":150350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:22:39] local.INFO: TCP Data received {"connection_id":150607,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fd3f28012d1820000721b230004a00d32d..."} 
[2026-08-08 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fd3f28012d1820000721b230004a00d32d..."} 
[2026-08-08 16:22:39] local.INFO: Processing buffer {"connection_id":150607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fd3f28012d1820000721b230004a00d32d..."} 
[2026-08-08 16:22:39] local.INFO: Packet analysis {"connection_id":150607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:22:39] local.INFO: Extracted packet for processing {"connection_id":150607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263641600001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786186121000,"timestamp_ms":1786186121000,"timestamp_seconds":1786186121,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fd3f28"} 
[2026-08-08 16:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:22: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-08-08 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263641600001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263641600001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:22:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:22:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263641600001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":150607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:22:39] local.INFO: GPS data processed {"connection_id":150607,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:22:39] local.INFO: Acknowledgment sent {"connection_id":150607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:22:42] local.INFO: TCP Data received {"connection_id":150350,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ff3710012cd5570007387630001001522a..."} 
[2026-08-08 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ff3710012cd5570007387630001001522a..."} 
[2026-08-08 16:22:42] local.INFO: Processing buffer {"connection_id":150350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ff3710012cd5570007387630001001522a..."} 
[2026-08-08 16:22:42] local.INFO: Packet analysis {"connection_id":150350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:22:42] local.INFO: Extracted packet for processing {"connection_id":150350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":752178944,"raw_latitude":121140784,"longitude_deg":75.2178944,"latitude_deg":12.1140784,"altitude":16,"angle":338,"satellites":42,"speed":15,"hex_longitude":"2cd55700","hex_latitude":"07387630","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263679488001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375555397810913280,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073706714668529664,"note":"Value kept but may cause issues"} 
[2026-08-08 16:22:42] 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-08-08 16:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786186250000,"timestamp_ms":1786186250000,"timestamp_seconds":1786186250,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ff3710"} 
[2026-08-08 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-08-08 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263679488001,"66":27484,"150":206,"83":43264,"24":15,"16":375555397810913280,"44":-3073706714668529664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-08 16:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263679488001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:22:42] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 16:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375555397810913280,"km_value":375555397810913.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073706714668529664,"description":"Unknown IO ID 44"} 
[2026-08-08 16:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263679488001,"power":27484,"unknown_150":206,"unknown_83":43264,"ignition":15,"odometer":null,"unknown_44":-3073706714668529664}} 
[2026-08-08 16:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":150350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:22:42] local.INFO: GPS data processed {"connection_id":150350,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:22:42] local.INFO: Acknowledgment sent {"connection_id":150350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:23:02] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:23:02] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:23:02] local.INFO: IMEI packet received {"connection_id":151556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":151556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:23:04] local.INFO: TCP Data received {"connection_id":153050,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:23:04] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:23:04] local.INFO: IMEI packet received {"connection_id":153050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":153050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:23:07] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:23:07] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:23:07] local.INFO: IMEI packet received {"connection_id":151556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":151556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:23:08] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fd9130012d1820000721b230004a00d32d..."} 
[2026-08-08 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fd9130012d1820000721b230004a00d32d..."} 
[2026-08-08 16:23:08] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fd9130012d1820000721b230004a00d32d..."} 
[2026-08-08 16:23:08] local.INFO: Packet analysis {"connection_id":151556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:23:08] local.INFO: Extracted packet for processing {"connection_id":151556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648816,"longitude_deg":75.6555776,"latitude_deg":11.9648816,"altitude":74,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-08-08 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263646976001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563542314483712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186142000,"timestamp_ms":1786186142000,"timestamp_seconds":1786186142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fd9130"} 
[2026-08-08 16:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:23: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-08-08 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263646976001,"66":12287,"105":206,"83":41984,"24":0,"16":11563542314483712,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263646976001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563542314483712,"km_value":11563542314483.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263646976001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":151556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:23:08] local.INFO: GPS data processed {"connection_id":151556,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:23:08] local.INFO: Acknowledgment sent {"connection_id":151556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:23:15] local.INFO: TCP Data received {"connection_id":153050,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:23:15] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:23:15] local.INFO: IMEI packet received {"connection_id":153050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":153050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:23:16] local.INFO: TCP Data received {"connection_id":153050,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ff71a8012cd54e0007389a28000f015c27..."} 
[2026-08-08 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ff71a8012cd54e0007389a28000f015c27..."} 
[2026-08-08 16:23:16] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ff71a8012cd54e0007389a28000f015c27..."} 
[2026-08-08 16:23:16] local.INFO: Packet analysis {"connection_id":153050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:23:16] local.INFO: Extracted packet for processing {"connection_id":153050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":752176640,"raw_latitude":121149992,"longitude_deg":75.217664,"latitude_deg":12.1149992,"altitude":15,"angle":348,"satellites":39,"speed":30,"hex_longitude":"2cd54e00","hex_latitude":"07389a28","is_valid_coordinates":true} 
[2026-08-08 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263680000001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375555857372413952,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073988189645033472,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:16] 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-08-08 16:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786186265000,"timestamp_ms":1786186265000,"timestamp_seconds":1786186265,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ff71a8"} 
[2026-08-08 16:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263680000001,"66":27767,"150":206,"83":43264,"24":30,"16":375555857372413952,"44":-3073988189645033472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-08-08 16:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263680000001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:23:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-08 16:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375555857372413952,"km_value":375555857372413.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073988189645033472,"description":"Unknown IO ID 44"} 
[2026-08-08 16:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263680000001,"power":27767,"unknown_150":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3073988189645033472}} 
[2026-08-08 16:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":153050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:23:16] local.INFO: GPS data processed {"connection_id":153050,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:23:16] local.INFO: Acknowledgment sent {"connection_id":153050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:23:39] local.INFO: TCP Data received {"connection_id":151556,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fde338012d181f400721afd0005300d62c..."} 
[2026-08-08 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fde338012d181f400721afd0005300d62c..."} 
[2026-08-08 16:23:39] local.INFO: Processing buffer {"connection_id":151556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fde338012d181f400721afd0005300d62c..."} 
[2026-08-08 16:23:39] local.INFO: Packet analysis {"connection_id":151556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:23:39] local.INFO: Extracted packet for processing {"connection_id":151556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fd"} 
[2026-08-08 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648208,"longitude_deg":75.6555584,"latitude_deg":11.9648208,"altitude":83,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-08-08 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263652352001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563576674222080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795108352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786186163000,"timestamp_ms":1786186163000,"timestamp_seconds":1786186163,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fde338"} 
[2026-08-08 16:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:23: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-08-08 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263652352001,"66":12287,"105":206,"83":41984,"24":0,"16":11563576674222080,"45":1738389486795108352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263652352001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563576674222080,"km_value":11563576674222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795108352,"description":"Unknown IO ID 45"} 
[2026-08-08 16:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263652352001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795108352}} 
[2026-08-08 16:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":151556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:23:39] local.INFO: GPS data processed {"connection_id":151556,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:23:39] local.INFO: Acknowledgment sent {"connection_id":151556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:23:47] local.INFO: TCP Data received {"connection_id":153050,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ffa088012cd54ac00738bf18000f016326..."} 
[2026-08-08 16:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ffa088012cd54ac00738bf18000f016326..."} 
[2026-08-08 16:23:47] local.INFO: Processing buffer {"connection_id":153050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ffa088012cd54ac00738bf18000f016326..."} 
[2026-08-08 16:23:47] local.INFO: Packet analysis {"connection_id":153050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:23:47] local.INFO: Extracted packet for processing {"connection_id":153050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:23:47] local.INFO: GPS Element Parsed {"raw_longitude":752175808,"raw_latitude":121159448,"longitude_deg":75.2175808,"latitude_deg":12.1159448,"altitude":15,"angle":355,"satellites":38,"speed":31,"hex_longitude":"2cd54ac0","hex_latitude":"0738bf18","is_valid_coordinates":true} 
[2026-08-08 16:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263683840001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375556321228881920,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3076521464433072128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786186277000,"timestamp_ms":1786186277000,"timestamp_seconds":1786186277,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ffa088"} 
[2026-08-08 16:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 16:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263683840001,"66":27919,"149":206,"83":43264,"24":31,"16":375556321228881920,"44":-3076521464433072128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-08 16:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263683840001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:23:47] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 16:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375556321228881920,"km_value":375556321228881.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3076521464433072128,"description":"Unknown IO ID 44"} 
[2026-08-08 16:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263683840001,"power":27919,"unknown_149":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3076521464433072128}} 
[2026-08-08 16:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":153050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:23:47] local.INFO: GPS data processed {"connection_id":153050,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:23:47] local.INFO: Acknowledgment sent {"connection_id":153050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:24:01] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:24:02] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:24:02] local.INFO: IMEI packet received {"connection_id":150351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":150351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:24:04] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:24:04] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:24:04] local.INFO: IMEI packet received {"connection_id":150352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":150352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:24:07] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:24:07] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:24:07] local.INFO: IMEI packet received {"connection_id":150351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":150351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:24:08] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fe3540012d181f400721afd0005300d62a..."} 
[2026-08-08 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fe3540012d181f400721afd0005300d62a..."} 
[2026-08-08 16:24:08] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fe3540012d181f400721afd0005300d62a..."} 
[2026-08-08 16:24:08] local.INFO: Packet analysis {"connection_id":150351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fe"} 
[2026-08-08 16:24:08] local.INFO: Extracted packet for processing {"connection_id":150351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fe"} 
[2026-08-08 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648208,"longitude_deg":75.6555584,"latitude_deg":11.9648208,"altitude":83,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-08-08 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263657728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563576674222080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562419712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186184000,"timestamp_ms":1786186184000,"timestamp_seconds":1786186184,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fe3540"} 
[2026-08-08 16:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:24: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-08-08 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263657728001,"66":12287,"105":206,"83":41984,"24":0,"16":11563576674222080,"45":1738178380562419712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263657728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:24:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:24:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563576674222080,"km_value":11563576674222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562419712,"description":"Unknown IO ID 45"} 
[2026-08-08 16:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263657728001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562419712}} 
[2026-08-08 16:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":150351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:24:08] local.INFO: GPS data processed {"connection_id":150351,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:24:08] local.INFO: Acknowledgment sent {"connection_id":150351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:24:10] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:24:10] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:24:10] local.INFO: IMEI packet received {"connection_id":150352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":150352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:24:11] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0ffcb80012cd54a400738e3e80011016528..."} 
[2026-08-08 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0ffcb80012cd54a400738e3e80011016528..."} 
[2026-08-08 16:24:11] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0ffcb80012cd54a400738e3e80011016528..."} 
[2026-08-08 16:24:11] local.INFO: Packet analysis {"connection_id":150352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:24:11] local.INFO: Extracted packet for processing {"connection_id":150352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0ff"} 
[2026-08-08 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":752175680,"raw_latitude":121168872,"longitude_deg":75.217568,"latitude_deg":12.1168872,"altitude":17,"angle":357,"satellites":40,"speed":33,"hex_longitude":"2cd54a40","hex_latitude":"0738e3e8","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263686912001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375556776495415296,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077436258104961024,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786186288000,"timestamp_ms":1786186288000,"timestamp_seconds":1786186288,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0ffcb80"} 
[2026-08-08 16:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263686912001,"66":28148,"149":206,"83":43264,"24":33,"16":375556776495415296,"44":-3077436258104961024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-08 16:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263686912001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:24:11] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 16:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375556776495415296,"km_value":375556776495415.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077436258104961024,"description":"Unknown IO ID 44"} 
[2026-08-08 16:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263686912001,"power":28148,"unknown_149":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3077436258104961024}} 
[2026-08-08 16:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":150352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:24:11] local.INFO: GPS data processed {"connection_id":150352,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:24:11] local.INFO: Acknowledgment sent {"connection_id":150352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:24:39] local.INFO: TCP Data received {"connection_id":150351,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fe8748012d181f400721afd0005300d629..."} 
[2026-08-08 16:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fe8748012d181f400721afd0005300d629..."} 
[2026-08-08 16:24:39] local.INFO: Processing buffer {"connection_id":150351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fe8748012d181f400721afd0005300d629..."} 
[2026-08-08 16:24:39] local.INFO: Packet analysis {"connection_id":150351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fe"} 
[2026-08-08 16:24:39] local.INFO: Extracted packet for processing {"connection_id":150351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fe"} 
[2026-08-08 16:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648208,"longitude_deg":75.6555584,"latitude_deg":11.9648208,"altitude":83,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-08-08 16:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263663104001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563576674222080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562419712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786186205000,"timestamp_ms":1786186205000,"timestamp_seconds":1786186205,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fe8748"} 
[2026-08-08 16:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:24: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-08-08 16:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263663104001,"66":12287,"105":206,"83":41984,"24":0,"16":11563576674222080,"45":1738178380562419712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263663104001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:24:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563576674222080,"km_value":11563576674222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562419712,"description":"Unknown IO ID 45"} 
[2026-08-08 16:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263663104001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562419712}} 
[2026-08-08 16:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":150351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:24:39] local.INFO: GPS data processed {"connection_id":150351,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:24:39] local.INFO: Acknowledgment sent {"connection_id":150351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:24:42] local.INFO: TCP Data received {"connection_id":150352,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe101cf20012cd52200073a68d0000f015f2b..."} 
[2026-08-08 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe101cf20012cd52200073a68d0000f015f2b..."} 
[2026-08-08 16:24:42] local.INFO: Processing buffer {"connection_id":150352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe101cf20012cd52200073a68d0000f015f2b..."} 
[2026-08-08 16:24:42] local.INFO: Packet analysis {"connection_id":150352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe101"} 
[2026-08-08 16:24:42] local.INFO: Extracted packet for processing {"connection_id":150352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe101"} 
[2026-08-08 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":752165376,"raw_latitude":121268432,"longitude_deg":75.2165376,"latitude_deg":12.1268432,"altitude":15,"angle":351,"satellites":43,"speed":46,"hex_longitude":"2cd52200","hex_latitude":"073a68d0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263721472001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375561659873230848,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3087147144775847936,"note":"Value kept but may cause issues"} 
[2026-08-08 16:24:42] 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-08-08 16:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786186420000,"timestamp_ms":1786186420000,"timestamp_seconds":1786186420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe101cf20"} 
[2026-08-08 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-08-08 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 16:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263721472001,"66":27865,"137":206,"83":43264,"24":46,"16":375561659873230848,"44":-3087147144775847936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-08 16:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263721472001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:24:42] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 16:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375561659873230848,"km_value":375561659873230.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3087147144775847936,"description":"Unknown IO ID 44"} 
[2026-08-08 16:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263721472001,"power":27865,"unknown_137":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3087147144775847936}} 
[2026-08-08 16:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":150352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:24:42] local.INFO: GPS data processed {"connection_id":150352,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:24:42] local.INFO: Acknowledgment sent {"connection_id":150352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:25:02] local.INFO: TCP Data received {"connection_id":150608,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:25:02] local.INFO: Processing buffer {"connection_id":150608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:25:02] local.INFO: IMEI packet received {"connection_id":150608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":150608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:25:04] local.INFO: TCP Data received {"connection_id":153051,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:25:04] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:25:04] local.INFO: IMEI packet received {"connection_id":153051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":153051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:25:07] local.INFO: TCP Data received {"connection_id":150608,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:25:07] local.INFO: Processing buffer {"connection_id":150608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:25:07] local.INFO: IMEI packet received {"connection_id":150608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":150608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:25:08] local.INFO: TCP Data received {"connection_id":150608,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe0fed950012d181f400721afd0005300d627..."} 
[2026-08-08 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe0fed950012d181f400721afd0005300d627..."} 
[2026-08-08 16:25:08] local.INFO: Processing buffer {"connection_id":150608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe0fed950012d181f400721afd0005300d627..."} 
[2026-08-08 16:25:08] local.INFO: Packet analysis {"connection_id":150608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe0fe"} 
[2026-08-08 16:25:08] local.INFO: Extracted packet for processing {"connection_id":150608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe0fe"} 
[2026-08-08 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648208,"longitude_deg":75.6555584,"latitude_deg":11.9648208,"altitude":83,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263668480001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563576674222080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562419712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186226000,"timestamp_ms":1786186226000,"timestamp_seconds":1786186226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe0fed950"} 
[2026-08-08 16:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:25: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-08-08 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263668480001,"66":12037,"105":206,"83":41984,"24":0,"16":11563576674222080,"45":1738178380562419712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263668480001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563576674222080,"km_value":11563576674222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562419712,"description":"Unknown IO ID 45"} 
[2026-08-08 16:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263668480001,"power":12037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562419712}} 
[2026-08-08 16:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":150608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:25:08] local.INFO: GPS data processed {"connection_id":150608,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:25:08] local.INFO: Acknowledgment sent {"connection_id":150608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:25:10] local.INFO: TCP Data received {"connection_id":153051,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:25:10] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:25:10] local.INFO: IMEI packet received {"connection_id":153051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":153051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:25:10] local.INFO: TCP Data received {"connection_id":153051,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe101f248012cd51c00073a8ca80011015f29..."} 
[2026-08-08 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe101f248012cd51c00073a8ca80011015f29..."} 
[2026-08-08 16:25:10] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe101f248012cd51c00073a8ca80011015f29..."} 
[2026-08-08 16:25:10] local.INFO: Packet analysis {"connection_id":153051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe101"} 
[2026-08-08 16:25:10] local.INFO: Extracted packet for processing {"connection_id":153051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe101"} 
[2026-08-08 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":752163840,"raw_latitude":121277608,"longitude_deg":75.216384,"latitude_deg":12.1277608,"altitude":17,"angle":351,"satellites":41,"speed":31,"hex_longitude":"2cd51c00","hex_latitude":"073a8ca8","is_valid_coordinates":true} 
[2026-08-08 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263723520001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375562110844796928,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088906363378020352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:10] 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-08-08 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786186429000,"timestamp_ms":1786186429000,"timestamp_seconds":1786186429,"priority":1,"record_length":96,"hex_timestamp":"0000019fe101f248"} 
[2026-08-08 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263723520001,"66":27876,"137":206,"83":43264,"24":31,"16":375562110844796928,"44":-3088906363378020352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-08 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263723520001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375562110844796928,"km_value":375562110844796.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088906363378020352,"description":"Unknown IO ID 44"} 
[2026-08-08 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263723520001,"power":27876,"unknown_137":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3088906363378020352}} 
[2026-08-08 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":153051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:25:10] local.INFO: GPS data processed {"connection_id":153051,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:25:10] local.INFO: Acknowledgment sent {"connection_id":153051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:25:39] local.INFO: TCP Data received {"connection_id":150608,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1025fa8012d181e000721ae78004c00d72b..."} 
[2026-08-08 16:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1025fa8012d181e000721ae78004c00d72b..."} 
[2026-08-08 16:25:39] local.INFO: Processing buffer {"connection_id":150608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1025fa8012d181e000721ae78004c00d72b..."} 
[2026-08-08 16:25:39] local.INFO: Packet analysis {"connection_id":150608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:25:39] local.INFO: Extracted packet for processing {"connection_id":150608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647864,"longitude_deg":75.6555264,"latitude_deg":11.9647864,"altitude":76,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-08 16:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263727616001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563602444025856,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841443328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786186457000,"timestamp_ms":1786186457000,"timestamp_seconds":1786186457,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1025fa8"} 
[2026-08-08 16:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:25: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-08-08 16:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":21,"raw_value":216172782113783809,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2233838844549195745,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2927099980,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594538,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513885140390445270,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,21,159,187,45,174,76,43,10,66,42,23,1,240,255,227,225,33,4,113,205,115,30,120,37,239,47,2,41,7,64],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:25:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613726566088704,"timestamp_seconds":5476613726566089.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263727616001,"66":12298,"105":206,"83":41984,"24":0,"16":11563602444025856,"45":1737826536841443328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263727616001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:25:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563602444025856,"km_value":11563602444025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841443328,"description":"Unknown IO ID 45"} 
[2026-08-08 16:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263727616001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841443328}} 
[2026-08-08 16:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":150608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:25:39] local.INFO: GPS data processed {"connection_id":150608,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:25:39] local.INFO: Acknowledgment sent {"connection_id":150608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:25:42] local.INFO: TCP Data received {"connection_id":153051,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1021d40012cd51780073ab108001201642a..."} 
[2026-08-08 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1021d40012cd51780073ab108001201642a..."} 
[2026-08-08 16:25:42] local.INFO: Processing buffer {"connection_id":153051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1021d40012cd51780073ab108001201642a..."} 
[2026-08-08 16:25:42] local.INFO: Packet analysis {"connection_id":153051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:25:42] local.INFO: Extracted packet for processing {"connection_id":153051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":752162688,"raw_latitude":121286920,"longitude_deg":75.2162688,"latitude_deg":12.128692,"altitude":18,"angle":356,"satellites":42,"speed":36,"hex_longitude":"2cd51780","hex_latitude":"073ab108","is_valid_coordinates":true} 
[2026-08-08 16:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263725824001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375562566111330304,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090595213235935232,"note":"Value kept but may cause issues"} 
[2026-08-08 16:25:42] 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-08-08 16:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786186440000,"timestamp_ms":1786186440000,"timestamp_seconds":1786186440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1021d40"} 
[2026-08-08 16:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 16:25: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-08-08 16:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263725824001,"66":27930,"137":206,"83":43264,"24":36,"16":375562566111330304,"44":-3090595213235935232},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-08 16:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263725824001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:25:42] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 16:25:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375562566111330304,"km_value":375562566111330.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090595213235935232,"description":"Unknown IO ID 44"} 
[2026-08-08 16:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263725824001,"power":27930,"unknown_137":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3090595213235935232}} 
[2026-08-08 16:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":153051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:25:42] local.INFO: GPS data processed {"connection_id":153051,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:25:42] local.INFO: Acknowledgment sent {"connection_id":153051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:26:08] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:08] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:08] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:26:09] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:09] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:09] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:26:12] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:26:12] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:26:12] local.INFO: IMEI packet received {"connection_id":153052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":153052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:26:15] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:15] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:26:15] local.INFO: IMEI packet received {"connection_id":151557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":151557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:26:15] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1024068012cd51900073ad470001100042a..."} 
[2026-08-08 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1024068012cd51900073ad470001100042a..."} 
[2026-08-08 16:26:15] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1024068012cd51900073ad470001100042a..."} 
[2026-08-08 16:26:15] local.INFO: Packet analysis {"connection_id":151557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:26:15] local.INFO: Extracted packet for processing {"connection_id":151557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":752163072,"raw_latitude":121295984,"longitude_deg":75.2163072,"latitude_deg":12.1295984,"altitude":17,"angle":4,"satellites":42,"speed":43,"hex_longitude":"2cd51900","hex_latitude":"073ad470","is_valid_coordinates":true} 
[2026-08-08 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263728640001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375563004197994496,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091861850628749312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26: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-08-08 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786186449000,"timestamp_ms":1786186449000,"timestamp_seconds":1786186449,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1024068"} 
[2026-08-08 16:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:26: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-08-08 16:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263728640001,"66":27919,"137":206,"83":43264,"24":43,"16":375563004197994496,"44":-3091861850628749312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-08-08 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263728640001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375563004197994496,"km_value":375563004197994.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091861850628749312,"description":"Unknown IO ID 44"} 
[2026-08-08 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263728640001,"power":27919,"unknown_137":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-3091861850628749312}} 
[2026-08-08 16:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":151557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:26:15] local.INFO: GPS data processed {"connection_id":151557,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:26:15] local.INFO: Acknowledgment sent {"connection_id":151557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:26:17] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:26:17] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:26:17] local.INFO: IMEI packet received {"connection_id":153052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":153052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:26:18] local.INFO: TCP Data received {"connection_id":153052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe102b1b0012d181e000721ae78004c00d729..."} 
[2026-08-08 16:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe102b1b0012d181e000721ae78004c00d729..."} 
[2026-08-08 16:26:18] local.INFO: Processing buffer {"connection_id":153052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe102b1b0012d181e000721ae78004c00d729..."} 
[2026-08-08 16:26:18] local.INFO: Packet analysis {"connection_id":153052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:26:18] local.INFO: Extracted packet for processing {"connection_id":153052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe102"} 
[2026-08-08 16:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647864,"longitude_deg":75.6555264,"latitude_deg":11.9647864,"altitude":76,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-08 16:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263732992001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563602444025856,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841443328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786186478000,"timestamp_ms":1786186478000,"timestamp_seconds":1786186478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe102b1b0"} 
[2026-08-08 16:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":21,"raw_value":648518346341351425,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2233748650235979745,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":76,"raw_value":60557801923018752,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3449195246865940686,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2927099980,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513885140390445270,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,21,159,13,45,174,76,43,10,66,187,1,240,255,227,225,33,4,113,205,197,30,120,40,239,47,2,41,7,64],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:26:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613726566088704,"timestamp_seconds":5476613726566089.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263732992001,"66":12287,"105":206,"83":41984,"24":0,"16":11563602444025856,"45":1737826536841443328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263732992001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:26:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563602444025856,"km_value":11563602444025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841443328,"description":"Unknown IO ID 45"} 
[2026-08-08 16:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263732992001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841443328}} 
[2026-08-08 16:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":153052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:26:18] local.INFO: GPS data processed {"connection_id":153052,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:26:18] local.INFO: Acknowledgment sent {"connection_id":153052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:26:47] local.INFO: TCP Data received {"connection_id":151557,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe103bb50012cd5bbc0073be2a8000e000e2b..."} 
[2026-08-08 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe103bb50012cd5bbc0073be2a8000e000e2b..."} 
[2026-08-08 16:26:47] local.INFO: Processing buffer {"connection_id":151557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe103bb50012cd5bbc0073be2a8000e000e2b..."} 
[2026-08-08 16:26:47] local.INFO: Packet analysis {"connection_id":151557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:26:47] local.INFO: Extracted packet for processing {"connection_id":151557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":752204736,"raw_latitude":121365160,"longitude_deg":75.2204736,"latitude_deg":12.136516,"altitude":14,"angle":14,"satellites":43,"speed":47,"hex_longitude":"2cd5bbc0","hex_latitude":"073be2a8","is_valid_coordinates":true} 
[2026-08-08 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263753728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375567243330715648,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3049148022895155200,"note":"Value kept but may cause issues"} 
[2026-08-08 16:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786186546000,"timestamp_ms":1786186546000,"timestamp_seconds":1786186546,"priority":1,"record_length":96,"hex_timestamp":"0000019fe103bb50"} 
[2026-08-08 16:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263753728001,"66":27974,"180":206,"83":43264,"24":47,"16":375567243330715648,"44":-3049148022895155200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-08 16:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263753728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375567243330715648,"km_value":375567243330715.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3049148022895155200,"description":"Unknown IO ID 44"} 
[2026-08-08 16:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263753728001,"power":27974,"unknown_180":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3049148022895155200}} 
[2026-08-08 16:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":151557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:26:47] local.INFO: GPS data processed {"connection_id":151557,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:26:47] local.INFO: Acknowledgment sent {"connection_id":151557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:27:01] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:27:02] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:27:02] local.INFO: IMEI packet received {"connection_id":150353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":150353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:27:05] local.INFO: TCP Data received {"connection_id":150609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:05] local.INFO: Processing buffer {"connection_id":150609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:05] local.INFO: IMEI packet received {"connection_id":150609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":150609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:27:05] local.INFO: TCP Data received {"connection_id":150609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:05] local.INFO: Processing buffer {"connection_id":150609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:05] local.INFO: IMEI packet received {"connection_id":150609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":150609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:27:07] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:27:07] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:27:07] local.INFO: IMEI packet received {"connection_id":150353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":150353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:27:08] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10303b8012d181e000721ae78004c00d729..."} 
[2026-08-08 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10303b8012d181e000721ae78004c00d729..."} 
[2026-08-08 16:27:08] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10303b8012d181e000721ae78004c00d729..."} 
[2026-08-08 16:27:08] local.INFO: Packet analysis {"connection_id":150353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:27:08] local.INFO: Extracted packet for processing {"connection_id":150353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647864,"longitude_deg":75.6555264,"latitude_deg":11.9647864,"altitude":76,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-08 16:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263738368001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563602444025856,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841443328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186499000,"timestamp_ms":1786186499000,"timestamp_seconds":1786186499,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10303b8"} 
[2026-08-08 16:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:27: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-08-08 16:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263738368001,"66":12287,"105":206,"83":41984,"24":0,"16":11563602444025856,"45":1737826536841443328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263738368001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:27:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563602444025856,"km_value":11563602444025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841443328,"description":"Unknown IO ID 45"} 
[2026-08-08 16:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263738368001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841443328}} 
[2026-08-08 16:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":150353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:27:08] local.INFO: GPS data processed {"connection_id":150353,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:27:08] local.INFO: Acknowledgment sent {"connection_id":150353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:27:19] local.INFO: TCP Data received {"connection_id":150609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:19] local.INFO: Processing buffer {"connection_id":150609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:27:19] local.INFO: IMEI packet received {"connection_id":150609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":150609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:27:21] local.INFO: TCP Data received {"connection_id":150609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe103da90012cd5c500073c06e0000d000e2a..."} 
[2026-08-08 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe103da90012cd5c500073c06e0000d000e2a..."} 
[2026-08-08 16:27:21] local.INFO: Processing buffer {"connection_id":150609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe103da90012cd5c500073c06e0000d000e2a..."} 
[2026-08-08 16:27:21] local.INFO: Packet analysis {"connection_id":150609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:27:21] local.INFO: Extracted packet for processing {"connection_id":150609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":752207104,"raw_latitude":121374432,"longitude_deg":75.2207104,"latitude_deg":12.1374432,"altitude":13,"angle":14,"satellites":42,"speed":48,"hex_longitude":"2cd5c500","hex_latitude":"073c06e0","is_valid_coordinates":true} 
[2026-08-08 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263755776001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375567707187183616,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3045629585683994624,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786186554000,"timestamp_ms":1786186554000,"timestamp_seconds":1786186554,"priority":1,"record_length":96,"hex_timestamp":"0000019fe103da90"} 
[2026-08-08 16:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 16:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:27: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-08-08 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263755776001,"66":27908,"180":206,"83":43264,"24":48,"16":375567707187183616,"44":-3045629585683994624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-08 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263755776001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:27:21] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-08 16:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375567707187183616,"km_value":375567707187183.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3045629585683994624,"description":"Unknown IO ID 44"} 
[2026-08-08 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263755776001,"power":27908,"unknown_180":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3045629585683994624}} 
[2026-08-08 16:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":150609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:27:21] local.INFO: GPS data processed {"connection_id":150609,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:27:21] local.INFO: Acknowledgment sent {"connection_id":150609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:27:38] local.INFO: TCP Data received {"connection_id":150353,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10355c0012d181e000721ae78004c00d728..."} 
[2026-08-08 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10355c0012d181e000721ae78004c00d728..."} 
[2026-08-08 16:27:38] local.INFO: Processing buffer {"connection_id":150353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10355c0012d181e000721ae78004c00d728..."} 
[2026-08-08 16:27:38] local.INFO: Packet analysis {"connection_id":150353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:27:38] local.INFO: Extracted packet for processing {"connection_id":150353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647864,"longitude_deg":75.6555264,"latitude_deg":11.9647864,"altitude":76,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-08 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263743744001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563602444025856,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841443328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:27: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-08-08 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786186520000,"timestamp_ms":1786186520000,"timestamp_seconds":1786186520,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10355c0"} 
[2026-08-08 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:27: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-08-08 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 16:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263743744001,"66":12298,"105":206,"83":41984,"24":0,"16":11563602444025856,"45":1737826536841443328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263743744001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563602444025856,"km_value":11563602444025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841443328,"description":"Unknown IO ID 45"} 
[2026-08-08 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263743744001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841443328}} 
[2026-08-08 16:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":150353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:27:39] local.INFO: GPS data processed {"connection_id":150353,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:27:39] local.INFO: Acknowledgment sent {"connection_id":150353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:28:04] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:04] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:04] local.INFO: IMEI packet received {"connection_id":150355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":150355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:28:04] local.INFO: TCP Data received {"connection_id":150354,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:28:04] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:28:04] local.INFO: IMEI packet received {"connection_id":150354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":150354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:28:05] local.INFO: TCP Data received {"connection_id":150354,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:28:05] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:28:05] local.INFO: IMEI packet received {"connection_id":150354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":150354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:28:07] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:07] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:07] local.INFO: IMEI packet received {"connection_id":150355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":150355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:28:12] local.INFO: TCP Data received {"connection_id":150354,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:28:12] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:28:12] local.INFO: IMEI packet received {"connection_id":150354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":150354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:28:12] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:12] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:28:12] local.INFO: IMEI packet received {"connection_id":150355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":150355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:28:13] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe103a7c8012d181e000721ae78004c00d72c..."} 
[2026-08-08 16:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe103a7c8012d181e000721ae78004c00d72c..."} 
[2026-08-08 16:28:13] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe103a7c8012d181e000721ae78004c00d72c..."} 
[2026-08-08 16:28:13] local.INFO: Packet analysis {"connection_id":150355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:28:13] local.INFO: Extracted packet for processing {"connection_id":150355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe103"} 
[2026-08-08 16:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647864,"longitude_deg":75.6555264,"latitude_deg":11.9647864,"altitude":76,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-08 16:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263749120001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563602444025856,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841443328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786186541000,"timestamp_ms":1786186541000,"timestamp_seconds":1786186541,"priority":1,"record_length":96,"hex_timestamp":"0000019fe103a7c8"} 
[2026-08-08 16:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:28: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-08-08 16:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513883662921236695,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185641,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":21,"raw_value":648518346341351425,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2233478067296331746,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":76,"raw_value":60563299481157632,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921097392334,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2927099980,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:13] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,21,159,3,45,174,76,41,10,66,177,95,1,240,227,225,33,4,113,205,187,30,120,43,239,47,2,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-08 16:28:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613713681186816,"timestamp_seconds":5476613713681187.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263749120001,"66":12287,"105":206,"83":41984,"24":0,"16":11563602444025856,"45":1737826536841443328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263749120001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:28:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563602444025856,"km_value":11563602444025.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841443328,"description":"Unknown IO ID 45"} 
[2026-08-08 16:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263749120001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841443328}} 
[2026-08-08 16:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":150355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:28:13] local.INFO: GPS data processed {"connection_id":150355,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:28:13] local.INFO: Acknowledgment sent {"connection_id":150355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:28:13] local.INFO: TCP Data received {"connection_id":150354,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1053250012cd60400073d65180019000e22..."} 
[2026-08-08 16:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1053250012cd60400073d65180019000e22..."} 
[2026-08-08 16:28:13] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe1..."} 
[2026-08-08 16:28:13] local.INFO: IMEI packet received {"connection_id":150354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":150354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:28:15] local.INFO: TCP Data received {"connection_id":150354,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1053a20012cd60740073d6b900017002324..."} 
[2026-08-08 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1053a20012cd60740073d6b900017002324..."} 
[2026-08-08 16:28:15] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1053250012cd60400073d65180019000e22..."} 
[2026-08-08 16:28:15] local.INFO: Packet analysis {"connection_id":150354,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:15] local.INFO: Extracted packet for processing {"connection_id":150354,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":752223232,"raw_latitude":121464088,"longitude_deg":75.2223232,"latitude_deg":12.1464088,"altitude":25,"angle":14,"satellites":34,"speed":35,"hex_longitude":"2cd60400","hex_latitude":"073d6518","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263777792001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375572143888400384,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3025011543616487424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786186642000,"timestamp_ms":1786186642000,"timestamp_seconds":1786186642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1053250"} 
[2026-08-08 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-08-08 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263777792001,"66":27930,"98":206,"83":43264,"24":35,"16":375572143888400384,"44":-3025011543616487424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263777792001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375572143888400384,"km_value":375572143888400.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3025011543616487424,"description":"Unknown IO ID 44"} 
[2026-08-08 16:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263777792001,"power":27930,"unknown_98":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3025011543616487424}} 
[2026-08-08 16:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":150354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:28:15] local.INFO: GPS data processed {"connection_id":150354,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:28:15] local.INFO: Acknowledgment sent {"connection_id":150354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:28:15] local.INFO: Packet analysis {"connection_id":150354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:15] local.INFO: Extracted packet for processing {"connection_id":150354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":752224064,"raw_latitude":121465744,"longitude_deg":75.2224064,"latitude_deg":12.1465744,"altitude":23,"angle":35,"satellites":36,"speed":37,"hex_longitude":"2cd60740","hex_latitude":"073d6b90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263780352001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375572234082713600,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3025293018591324160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786186644000,"timestamp_ms":1786186644000,"timestamp_seconds":1786186644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1053a20"} 
[2026-08-08 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-08-08 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:28: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-08-08 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-08-08 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-08-08 16:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263780352001,"66":27865,"98":206,"83":43264,"24":37,"16":375572234082713600,"44":-3025293018591324160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263780352001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375572234082713600,"km_value":375572234082713.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3025293018591324160,"description":"Unknown IO ID 44"} 
[2026-08-08 16:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263780352001,"power":27865,"unknown_98":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3025293018591324160}} 
[2026-08-08 16:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":150354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:28:15] local.INFO: GPS data processed {"connection_id":150354,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:28:15] local.INFO: Acknowledgment sent {"connection_id":150354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:28:44] local.INFO: TCP Data received {"connection_id":150355,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10574b8012d181c400721aba8004600b82a..."} 
[2026-08-08 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10574b8012d181c400721aba8004600b82a..."} 
[2026-08-08 16:28:44] local.INFO: Processing buffer {"connection_id":150355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10574b8012d181c400721aba8004600b82a..."} 
[2026-08-08 16:28:44] local.INFO: Packet analysis {"connection_id":150355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:44] local.INFO: Extracted packet for processing {"connection_id":150355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119647144,"longitude_deg":75.6554816,"latitude_deg":11.9647144,"altitude":70,"angle":184,"satellites":42,"speed":2,"hex_longitude":"2d181c40","hex_latitude":"0721aba8","is_valid_coordinates":true} 
[2026-08-08 16:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263781376001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563645393698816,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841443328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786186659000,"timestamp_ms":1786186659000,"timestamp_seconds":1786186659,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10574b8"} 
[2026-08-08 16:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:28: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-08-08 16:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751524117,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2161735662380253260,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3775187160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2927099980,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630167984171625,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-08 16:28:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3623955736,"corrected_to":0} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":720801797291167315,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:44] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,21,159,239,45,174,76,43,10,66,204,44,1,240,227,225,33,4,113,205,200,30,120,48,2,41,7,164],"length":577,"final_offset":707,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":3623955736,"validated":0}]} 
[2026-08-08 16:28:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613730861056000,"timestamp_seconds":5476613730861056,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263781376001,"66":13972,"105":206,"83":41984,"24":2,"16":11563645393698816,"45":1737826536841443328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263781376001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:28:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563645393698816,"km_value":11563645393698.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841443328,"description":"Unknown IO ID 45"} 
[2026-08-08 16:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263781376001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737826536841443328}} 
[2026-08-08 16:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":150355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:28:44] local.INFO: GPS data processed {"connection_id":150355,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:28:44] local.INFO: Acknowledgment sent {"connection_id":150355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:28:45] local.INFO: TCP Data received {"connection_id":150354,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10541f0012cd60c40073d70b00016003124..."} 
[2026-08-08 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10541f0012cd60c40073d70b00016003124..."} 
[2026-08-08 16:28:45] local.INFO: Processing buffer {"connection_id":150354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10541f0012cd60c40073d70b00016003124..."} 
[2026-08-08 16:28:45] local.INFO: Packet analysis {"connection_id":150354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:45] local.INFO: Extracted packet for processing {"connection_id":150354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:28:45] local.INFO: GPS Element Parsed {"raw_longitude":752225344,"raw_latitude":121467056,"longitude_deg":75.2225344,"latitude_deg":12.1467056,"altitude":22,"angle":49,"satellites":36,"speed":37,"hex_longitude":"2cd60c40","hex_latitude":"073d70b0","is_valid_coordinates":true} 
[2026-08-08 16:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263780864001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375572324277026816,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3024378224916590592,"note":"Value kept but may cause issues"} 
[2026-08-08 16:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786186646000,"timestamp_ms":1786186646000,"timestamp_seconds":1786186646,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10541f0"} 
[2026-08-08 16:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 16:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:28: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-08-08 16:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263780864001,"66":27082,"98":206,"83":43264,"24":37,"16":375572324277026816,"44":-3024378224916590592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263780864001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:28:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375572324277026816,"km_value":375572324277026.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3024378224916590592,"description":"Unknown IO ID 44"} 
[2026-08-08 16:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263780864001,"power":27082,"unknown_98":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3024378224916590592}} 
[2026-08-08 16:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":150354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:28:45] local.INFO: GPS data processed {"connection_id":150354,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:28:45] local.INFO: Acknowledgment sent {"connection_id":150354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:29:00] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:00] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:00] local.INFO: IMEI packet received {"connection_id":151558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":151558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:29:02] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:02] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:02] local.INFO: IMEI packet received {"connection_id":151558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":151558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:29:04] local.INFO: TCP Data received {"connection_id":150610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:04] local.INFO: Processing buffer {"connection_id":150610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:04] local.INFO: IMEI packet received {"connection_id":150610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":150610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:29:05] local.INFO: TCP Data received {"connection_id":150610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:05] local.INFO: Processing buffer {"connection_id":150610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:05] local.INFO: IMEI packet received {"connection_id":150610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":150610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:29:07] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:07] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:07] local.INFO: IMEI packet received {"connection_id":151558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":151558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:29:08] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10593f8012d181c800721aa900047009e29..."} 
[2026-08-08 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10593f8012d181c800721aa900047009e29..."} 
[2026-08-08 16:29:08] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10593f8012d181c800721aa900047009e29..."} 
[2026-08-08 16:29:08] local.INFO: Packet analysis {"connection_id":151558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:08] local.INFO: Extracted packet for processing {"connection_id":151558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646864,"longitude_deg":75.655488,"latitude_deg":11.9646864,"altitude":71,"angle":158,"satellites":41,"speed":3,"hex_longitude":"2d181c80","hex_latitude":"0721aa90","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263784704001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563658278600704,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632015360,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186667000,"timestamp_ms":1786186667000,"timestamp_seconds":1786186667,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10593f8"} 
[2026-08-08 16:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:29: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-08-08 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 16:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263784704001,"66":13972,"105":206,"83":41984,"24":3,"16":11563658278600704,"45":1737333955632015360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263784704001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563658278600704,"km_value":11563658278600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632015360,"description":"Unknown IO ID 45"} 
[2026-08-08 16:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263784704001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737333955632015360}} 
[2026-08-08 16:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":151558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:29:08] local.INFO: GPS data processed {"connection_id":151558,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:29:08] local.INFO: Acknowledgment sent {"connection_id":151558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:29:10] local.INFO: TCP Data received {"connection_id":150610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:10] local.INFO: Processing buffer {"connection_id":150610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:29:10] local.INFO: IMEI packet received {"connection_id":150610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":150610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:29:10] local.INFO: TCP Data received {"connection_id":150610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe105c6c0012cd63800073dd130000c00062a..."} 
[2026-08-08 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe105c6c0012cd63800073dd130000c00062a..."} 
[2026-08-08 16:29:10] local.INFO: Processing buffer {"connection_id":150610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe105c6c0012cd63800073dd130000c00062a..."} 
[2026-08-08 16:29:10] local.INFO: Packet analysis {"connection_id":150610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:10] local.INFO: Extracted packet for processing {"connection_id":150610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":752236544,"raw_latitude":121491760,"longitude_deg":75.2236544,"latitude_deg":12.149176,"altitude":12,"angle":6,"satellites":42,"speed":38,"hex_longitude":"2cd63800","hex_latitude":"073dd130","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263787776001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375573780270940160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3011782219704403968,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786186680000,"timestamp_ms":1786186680000,"timestamp_seconds":1786186680,"priority":1,"record_length":96,"hex_timestamp":"0000019fe105c6c0"} 
[2026-08-08 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-08-08 16: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-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 16:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263787776001,"66":27919,"98":206,"83":43264,"24":38,"16":375573780270940160,"44":-3011782219704403968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263787776001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:29:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375573780270940160,"km_value":375573780270940.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3011782219704403968,"description":"Unknown IO ID 44"} 
[2026-08-08 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263787776001,"power":27919,"unknown_98":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3011782219704403968}} 
[2026-08-08 16:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":150610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:29:10] local.INFO: GPS data processed {"connection_id":150610,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:29:10] local.INFO: Acknowledgment sent {"connection_id":150610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:29:39] local.INFO: TCP Data received {"connection_id":151558,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10597e0012d181cc00721aa300047008e29..."} 
[2026-08-08 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10597e0012d181cc00721aa300047008e29..."} 
[2026-08-08 16:29:39] local.INFO: Processing buffer {"connection_id":151558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10597e0012d181cc00721aa300047008e29..."} 
[2026-08-08 16:29:39] local.INFO: Packet analysis {"connection_id":151558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:39] local.INFO: Extracted packet for processing {"connection_id":151558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646768,"longitude_deg":75.6554944,"latitude_deg":11.9646768,"altitude":71,"angle":142,"satellites":41,"speed":5,"hex_longitude":"2d181cc0","hex_latitude":"0721aa30","is_valid_coordinates":true} 
[2026-08-08 16:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263786752001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11563662573568000,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376121344,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786186668000,"timestamp_ms":1786186668000,"timestamp_seconds":1786186668,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10597e0"} 
[2026-08-08 16:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:29: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-08-08 16:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 16:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263786752001,"66":13972,"105":206,"83":41984,"24":5,"16":11563662573568000,"45":1737404324376121344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263786752001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:29:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11563662573568000,"km_value":11563662573568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376121344,"description":"Unknown IO ID 45"} 
[2026-08-08 16:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263786752001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737404324376121344}} 
[2026-08-08 16:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":151558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:29:39] local.INFO: GPS data processed {"connection_id":151558,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:29:39] local.INFO: Acknowledgment sent {"connection_id":151558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:29:43] local.INFO: TCP Data received {"connection_id":150610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe105e600012cd639c0073defc0000d015f2a..."} 
[2026-08-08 16:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe105e600012cd639c0073defc0000d015f2a..."} 
[2026-08-08 16:29:43] local.INFO: Processing buffer {"connection_id":150610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe105e600012cd639c0073defc0000d015f2a..."} 
[2026-08-08 16:29:43] local.INFO: Packet analysis {"connection_id":150610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:43] local.INFO: Extracted packet for processing {"connection_id":150610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe105"} 
[2026-08-08 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":752236992,"raw_latitude":121499584,"longitude_deg":75.2236992,"latitude_deg":12.1499584,"altitude":13,"angle":351,"satellites":42,"speed":36,"hex_longitude":"2cd639c0","hex_latitude":"073defc0","is_valid_coordinates":true} 
[2026-08-08 16:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263790080001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375574162523029504,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3010656319795286016,"note":"Value kept but may cause issues"} 
[2026-08-08 16:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786186688000,"timestamp_ms":1786186688000,"timestamp_seconds":1786186688,"priority":1,"record_length":96,"hex_timestamp":"0000019fe105e600"} 
[2026-08-08 16:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263790080001,"66":27930,"98":206,"83":43264,"24":36,"16":375574162523029504,"44":-3010656319795286016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263790080001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:29:43] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375574162523029504,"km_value":375574162523029.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3010656319795286016,"description":"Unknown IO ID 44"} 
[2026-08-08 16:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263790080001,"power":27930,"unknown_98":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3010656319795286016}} 
[2026-08-08 16:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":150610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:29:43] local.INFO: GPS data processed {"connection_id":150610,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:29:43] local.INFO: Acknowledgment sent {"connection_id":150610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:29:59] local.INFO: TCP Data received {"connection_id":150356,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:59] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:29:59] local.INFO: IMEI packet received {"connection_id":150356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":150356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:30:01] local.INFO: TCP Data received {"connection_id":150356,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:01] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:01] local.INFO: IMEI packet received {"connection_id":150356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":150356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:30:02] local.INFO: TCP Data received {"connection_id":150356,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:02] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:02] local.INFO: IMEI packet received {"connection_id":150356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":150356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:30:04] local.INFO: TCP Data received {"connection_id":150357,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:04] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:04] local.INFO: IMEI packet received {"connection_id":150357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":150357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:30:07] local.INFO: TCP Data received {"connection_id":150356,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:07] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:30:07] local.INFO: IMEI packet received {"connection_id":150356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":150356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:30:10] local.INFO: TCP Data received {"connection_id":150357,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:10] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:10] local.INFO: IMEI packet received {"connection_id":150357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":150357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:30:10] local.INFO: TCP Data received {"connection_id":150357,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:10] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:30:10] local.INFO: IMEI packet received {"connection_id":150357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":150357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:30:11] local.INFO: TCP Data received {"connection_id":150357,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe106f770012cd65d80073ee1580012002e28..."} 
[2026-08-08 16:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe106f770012cd65d80073ee1580012002e28..."} 
[2026-08-08 16:30:11] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe106f770012cd65d80073ee1580012002e28..."} 
[2026-08-08 16:30:11] local.INFO: Packet analysis {"connection_id":150357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe106"} 
[2026-08-08 16:30:11] local.INFO: Extracted packet for processing {"connection_id":150357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe106"} 
[2026-08-08 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":752246144,"raw_latitude":121561432,"longitude_deg":75.2246144,"latitude_deg":12.1561432,"altitude":18,"angle":46,"satellites":40,"speed":35,"hex_longitude":"2cd65d80","hex_latitude":"073ee158","is_valid_coordinates":true} 
[2026-08-08 16:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263808768001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375577293554188288,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3002915757918734336,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786186758000,"timestamp_ms":1786186758000,"timestamp_seconds":1786186758,"priority":1,"record_length":96,"hex_timestamp":"0000019fe106f770"} 
[2026-08-08 16:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 16:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263808768001,"66":27919,"98":206,"83":43264,"24":35,"16":375577293554188288,"44":-3002915757918734336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263808768001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375577293554188288,"km_value":375577293554188.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3002915757918734336,"description":"Unknown IO ID 44"} 
[2026-08-08 16:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263808768001,"power":27919,"unknown_98":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-3002915757918734336}} 
[2026-08-08 16:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":150357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:30:11] local.INFO: GPS data processed {"connection_id":150357,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:30:11] local.INFO: Acknowledgment sent {"connection_id":150357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:30:17] local.INFO: TCP Data received {"connection_id":150356,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe106efa0012d18c34007215130004500a229..."} 
[2026-08-08 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe106efa0012d18c34007215130004500a229..."} 
[2026-08-08 16:30:17] local.INFO: Processing buffer {"connection_id":150356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe106efa0012d18c34007215130004500a229..."} 
[2026-08-08 16:30:17] local.INFO: Packet analysis {"connection_id":150356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe106"} 
[2026-08-08 16:30:17] local.INFO: Extracted packet for processing {"connection_id":150356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe106"} 
[2026-08-08 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119623984,"longitude_deg":75.6597568,"latitude_deg":11.9623984,"altitude":69,"angle":162,"satellites":41,"speed":35,"hex_longitude":"2d18c340","hex_latitude":"07215130","is_valid_coordinates":true} 
[2026-08-08 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263807232001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11566093525057536,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779414464646086656,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786186756000,"timestamp_ms":1786186756000,"timestamp_seconds":1786186756,"priority":1,"record_length":96,"hex_timestamp":"0000019fe106efa0"} 
[2026-08-08 16:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 16:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263807232001,"66":14211,"103":206,"83":41984,"24":35,"16":11566093525057536,"45":1779414464646086656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263807232001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11566093525057536,"km_value":11566093525057.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779414464646086656,"description":"Unknown IO ID 45"} 
[2026-08-08 16:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263807232001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1779414464646086656}} 
[2026-08-08 16:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":150356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:30:17] local.INFO: GPS data processed {"connection_id":150356,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:30:17] local.INFO: Acknowledgment sent {"connection_id":150356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:30:17] local.INFO: TCP Data received {"connection_id":150357,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe106ff40012cd66340073ee5480011003f27..."} 
[2026-08-08 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe106ff40012cd66340073ee5480011003f27..."} 
[2026-08-08 16:30:17] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe106ff40012cd66340073ee5480011003f27..."} 
[2026-08-08 16:30:17] local.INFO: Packet analysis {"connection_id":150357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe106"} 
[2026-08-08 16:30:17] local.INFO: Extracted packet for processing {"connection_id":150357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe106"} 
[2026-08-08 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":752247616,"raw_latitude":121562440,"longitude_deg":75.2247616,"latitude_deg":12.156244,"altitude":17,"angle":63,"satellites":39,"speed":36,"hex_longitude":"2cd66340","hex_latitude":"073ee548","is_valid_coordinates":true} 
[2026-08-08 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263810048001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375577379453534208,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3000101008150800384,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786186760000,"timestamp_ms":1786186760000,"timestamp_seconds":1786186760,"priority":1,"record_length":96,"hex_timestamp":"0000019fe106ff40"} 
[2026-08-08 16:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:30: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-08-08 16:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263810048001,"66":27974,"98":206,"83":43264,"24":36,"16":375577379453534208,"44":-3000101008150800384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263810048001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375577379453534208,"km_value":375577379453534.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3000101008150800384,"description":"Unknown IO ID 44"} 
[2026-08-08 16:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263810048001,"power":27974,"unknown_98":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3000101008150800384}} 
[2026-08-08 16:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":150357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:30:17] local.INFO: GPS data processed {"connection_id":150357,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:30:17] local.INFO: Acknowledgment sent {"connection_id":150357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:30:50] local.INFO: TCP Data received {"connection_id":150357,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1070710012cd66a80073ee7b00010004d28..."} 
[2026-08-08 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1070710012cd66a80073ee7b00010004d28..."} 
[2026-08-08 16:30:50] local.INFO: Processing buffer {"connection_id":150357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1070710012cd66a80073ee7b00010004d28..."} 
[2026-08-08 16:30:50] local.INFO: Packet analysis {"connection_id":150357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:30:50] local.INFO: Extracted packet for processing {"connection_id":150357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":752249472,"raw_latitude":121563056,"longitude_deg":75.2249472,"latitude_deg":12.1563056,"altitude":16,"angle":77,"satellites":40,"speed":39,"hex_longitude":"2cd66a80","hex_latitude":"073ee7b0","is_valid_coordinates":true} 
[2026-08-08 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263810560001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375577469647847424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2998482527034456064,"note":"Value kept but may cause issues"} 
[2026-08-08 16:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786186762000,"timestamp_ms":1786186762000,"timestamp_seconds":1786186762,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1070710"} 
[2026-08-08 16:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 16:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:30: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-08-08 16:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263810560001,"66":27865,"98":206,"83":43264,"24":39,"16":375577469647847424,"44":-2998482527034456064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263810560001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375577469647847424,"km_value":375577469647847.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2998482527034456064,"description":"Unknown IO ID 44"} 
[2026-08-08 16:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263810560001,"power":27865,"unknown_98":206,"unknown_83":43264,"ignition":39,"odometer":null,"unknown_44":-2998482527034456064}} 
[2026-08-08 16:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":150357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:30:50] local.INFO: GPS data processed {"connection_id":150357,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:30:50] local.INFO: Acknowledgment sent {"connection_id":150357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:31:01] local.INFO: TCP Data received {"connection_id":153053,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:01] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:01] local.INFO: IMEI packet received {"connection_id":153053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":153053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:31:01] local.INFO: TCP Data received {"connection_id":153053,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:01] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:01] local.INFO: IMEI packet received {"connection_id":153053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":153053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:31:04] local.INFO: TCP Data received {"connection_id":151559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:04] local.INFO: Processing buffer {"connection_id":151559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:04] local.INFO: IMEI packet received {"connection_id":151559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":151559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:31:07] local.INFO: TCP Data received {"connection_id":153053,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:07] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:31:07] local.INFO: IMEI packet received {"connection_id":153053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":153053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:31:08] local.INFO: TCP Data received {"connection_id":153053,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10793b0012d1904000720cd180034007928..."} 
[2026-08-08 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10793b0012d1904000720cd180034007928..."} 
[2026-08-08 16:31:08] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10793b0012d1904000720cd180034007928..."} 
[2026-08-08 16:31:08] local.INFO: Packet analysis {"connection_id":153053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:31:08] local.INFO: Extracted packet for processing {"connection_id":153053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756614144,"raw_latitude":119590168,"longitude_deg":75.6614144,"latitude_deg":11.9590168,"altitude":52,"angle":121,"satellites":40,"speed":34,"hex_longitude":"2d190400","hex_latitude":"0720cd18","is_valid_coordinates":true} 
[2026-08-08 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263819264001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11567987605635072,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799399187982641152,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186798000,"timestamp_ms":1786186798000,"timestamp_seconds":1786186798,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10793b0"} 
[2026-08-08 16:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:31: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-08-08 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 16:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263819264001,"66":14113,"103":206,"83":41984,"24":34,"16":11567987605635072,"45":1799399187982641152},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263819264001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:31:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11567987605635072,"km_value":11567987605635.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799399187982641152,"description":"Unknown IO ID 45"} 
[2026-08-08 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263819264001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1799399187982641152}} 
[2026-08-08 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":153053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:31:08] local.INFO: GPS data processed {"connection_id":153053,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:31:08] local.INFO: Acknowledgment sent {"connection_id":153053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:31:09] local.INFO: TCP Data received {"connection_id":151559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:09] local.INFO: Processing buffer {"connection_id":151559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:09] local.INFO: IMEI packet received {"connection_id":151559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":151559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:31:14] local.INFO: TCP Data received {"connection_id":151559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:14] local.INFO: Processing buffer {"connection_id":151559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:31:14] local.INFO: IMEI packet received {"connection_id":151559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":151559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:31:16] local.INFO: TCP Data received {"connection_id":151559,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1072268012cd68780073eea18000e005929..."} 
[2026-08-08 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1072268012cd68780073eea18000e005929..."} 
[2026-08-08 16:31:16] local.INFO: Processing buffer {"connection_id":151559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1072268012cd68780073eea18000e005929..."} 
[2026-08-08 16:31:16] local.INFO: Packet analysis {"connection_id":151559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:31:16] local.INFO: Extracted packet for processing {"connection_id":151559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":752256896,"raw_latitude":121563672,"longitude_deg":75.2256896,"latitude_deg":12.1563672,"altitude":14,"angle":89,"satellites":41,"speed":43,"hex_longitude":"2cd68780","hex_latitude":"073eea18","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263811072001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375577826130132992,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2996441833453146112,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786186769000,"timestamp_ms":1786186769000,"timestamp_seconds":1786186769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1072268"} 
[2026-08-08 16:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 16:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263811072001,"66":27908,"98":206,"83":43264,"24":43,"16":375577826130132992,"44":-2996441833453146112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263811072001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:31:16] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:31:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375577826130132992,"km_value":375577826130133.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2996441833453146112,"description":"Unknown IO ID 44"} 
[2026-08-08 16:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263811072001,"power":27908,"unknown_98":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-2996441833453146112}} 
[2026-08-08 16:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":151559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:31:16] local.INFO: GPS data processed {"connection_id":151559,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:31:16] local.INFO: Acknowledgment sent {"connection_id":151559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:31:18] local.INFO: TCP Data received {"connection_id":151559,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10741a8012cd6ac00073eea40000d005d2a..."} 
[2026-08-08 16:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10741a8012cd6ac00073eea40000d005d2a..."} 
[2026-08-08 16:31:18] local.INFO: Processing buffer {"connection_id":151559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10741a8012cd6ac00073eea40000d005d2a..."} 
[2026-08-08 16:31:18] local.INFO: Packet analysis {"connection_id":151559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:31:18] local.INFO: Extracted packet for processing {"connection_id":151559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe107"} 
[2026-08-08 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":752266240,"raw_latitude":121563712,"longitude_deg":75.226624,"latitude_deg":12.1563712,"altitude":13,"angle":93,"satellites":42,"speed":48,"hex_longitude":"2cd6ac00","hex_latitude":"073eea40","is_valid_coordinates":true} 
[2026-08-08 16:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263812864001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375578268511764480,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2988279059128379392,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786186777000,"timestamp_ms":1786186777000,"timestamp_seconds":1786186777,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10741a8"} 
[2026-08-08 16:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263812864001,"66":27908,"98":206,"83":43264,"24":48,"16":375578268511764480,"44":-2988279059128379392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,83,24,16,44]} 
[2026-08-08 16:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263812864001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:31:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 16:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375578268511764480,"km_value":375578268511764.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2988279059128379392,"description":"Unknown IO ID 44"} 
[2026-08-08 16:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263812864001,"power":27908,"unknown_98":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-2988279059128379392}} 
[2026-08-08 16:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":151559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:31:18] local.INFO: GPS data processed {"connection_id":151559,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:31:18] local.INFO: Acknowledgment sent {"connection_id":151559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:31:38] local.INFO: TCP Data received {"connection_id":153053,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1086e70012d19c7c00720a3f80027005d2a..."} 
[2026-08-08 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1086e70012d19c7c00720a3f80027005d2a..."} 
[2026-08-08 16:31:38] local.INFO: Processing buffer {"connection_id":153053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1086e70012d19c7c00720a3f80027005d2a..."} 
[2026-08-08 16:31:38] local.INFO: Packet analysis {"connection_id":153053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:31:38] local.INFO: Extracted packet for processing {"connection_id":153053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119579640,"longitude_deg":75.6664256,"latitude_deg":11.957964,"altitude":39,"angle":93,"satellites":42,"speed":16,"hex_longitude":"2d19c7c0","hex_latitude":"0720a3f8","is_valid_coordinates":true} 
[2026-08-08 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263833600001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11570513046405120,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077089136640,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31: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-08-08 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786186854000,"timestamp_ms":1786186854000,"timestamp_seconds":1786186854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1086e70"} 
[2026-08-08 16:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:31: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-08-08 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 16:31: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-08-08 16:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263833600001,"66":14254,"103":206,"83":41984,"24":16,"16":11570513046405120,"45":1855483077089136640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263833600001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11570513046405120,"km_value":11570513046405.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077089136640,"description":"Unknown IO ID 45"} 
[2026-08-08 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263833600001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1855483077089136640}} 
[2026-08-08 16:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":153053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:31:39] local.INFO: GPS data processed {"connection_id":153053,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:31:39] local.INFO: Acknowledgment sent {"connection_id":153053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:31:58] local.INFO: TCP Data received {"connection_id":151559,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1086e70012cd78f40073fb5600013003b23..."} 
[2026-08-08 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1086e70012cd78f40073fb5600013003b23..."} 
[2026-08-08 16:31:58] local.INFO: Processing buffer {"connection_id":151559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1086e70012cd78f40073fb5600013003b23..."} 
[2026-08-08 16:31:58] local.INFO: Packet analysis {"connection_id":151559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:31:58] local.INFO: Extracted packet for processing {"connection_id":151559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":752324416,"raw_latitude":121615712,"longitude_deg":75.2324416,"latitude_deg":12.1615712,"altitude":19,"angle":59,"satellites":35,"speed":34,"hex_longitude":"2cd78f40","hex_latitude":"073fb560","is_valid_coordinates":true} 
[2026-08-08 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263833344001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375582284306186240,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2918614002379505664,"note":"Value kept but may cause issues"} 
[2026-08-08 16:31:58] 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-08-08 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1786186854000,"timestamp_ms":1786186854000,"timestamp_seconds":1786186854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1086e70"} 
[2026-08-08 16:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 16:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":151559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":151559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":151559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263833344001,"66":27865,"179":206,"83":43264,"24":34,"16":375582284306186240,"44":-2918614002379505664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-08 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263833344001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375582284306186240,"km_value":375582284306186.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2918614002379505664,"description":"Unknown IO ID 44"} 
[2026-08-08 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263833344001,"power":27865,"unknown_179":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-2918614002379505664}} 
[2026-08-08 16:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":151559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:31:58] local.INFO: GPS data processed {"connection_id":151559,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:31:58] local.INFO: Acknowledgment sent {"connection_id":151559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:32:01] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:01] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:01] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:32:01] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:01] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:01] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:32:04] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:04] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:04] local.INFO: IMEI packet received {"connection_id":150359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":150359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:32:05] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:05] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:05] local.INFO: IMEI packet received {"connection_id":150359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":150359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:32:07] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:07] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:32:07] local.INFO: IMEI packet received {"connection_id":150358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":150358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:32:08] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1087640012d19ca400720a468002600452a..."} 
[2026-08-08 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1087640012d19ca400720a468002600452a..."} 
[2026-08-08 16:32:08] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1087640012d19ca400720a468002600452a..."} 
[2026-08-08 16:32:08] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:08] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119579752,"longitude_deg":75.6664896,"latitude_deg":11.9579752,"altitude":38,"angle":69,"satellites":42,"speed":10,"hex_longitude":"2d19ca40","hex_latitude":"0720a468","is_valid_coordinates":true} 
[2026-08-08 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263834624001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11570543111176192,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508158539776,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786186856000,"timestamp_ms":1786186856000,"timestamp_seconds":1786186856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1087640"} 
[2026-08-08 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:32: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-08-08 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 16:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263834624001,"66":14243,"103":206,"83":41984,"24":10,"16":11570543111176192,"45":1857664508158539776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263834624001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11570543111176192,"km_value":11570543111176.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508158539776,"description":"Unknown IO ID 45"} 
[2026-08-08 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263834624001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1857664508158539776}} 
[2026-08-08 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:32:08] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:32:08] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:32:09] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:09] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:09] local.INFO: IMEI packet received {"connection_id":150359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":150359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:32:10] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:10] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:32:10] local.INFO: IMEI packet received {"connection_id":150359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":150359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:32:11] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1087640012cd79500073fb9580015002f25..."} 
[2026-08-08 16:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1087640012cd79500073fb9580015002f25..."} 
[2026-08-08 16:32:11] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1087640012cd79500073fb9580015002f25..."} 
[2026-08-08 16:32:11] local.INFO: Packet analysis {"connection_id":150359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:11] local.INFO: Extracted packet for processing {"connection_id":150359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:11] local.INFO: GPS Element Parsed {"raw_longitude":752325888,"raw_latitude":121616728,"longitude_deg":75.2325888,"latitude_deg":12.1616728,"altitude":21,"angle":47,"satellites":37,"speed":34,"hex_longitude":"2cd79500","hex_latitude":"073fb958","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263834624001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375582370205532160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2914040034007621632,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:11] 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-08-08 16:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786186856000,"timestamp_ms":1786186856000,"timestamp_seconds":1786186856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1087640"} 
[2026-08-08 16:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 16:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263834624001,"66":27876,"179":206,"83":43264,"24":34,"16":375582370205532160,"44":-2914040034007621632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-08 16:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263834624001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:32:11] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-08 16:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375582370205532160,"km_value":375582370205532.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2914040034007621632,"description":"Unknown IO ID 44"} 
[2026-08-08 16:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263834624001,"power":27876,"unknown_179":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-2914040034007621632}} 
[2026-08-08 16:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":150359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:32:11] local.INFO: GPS data processed {"connection_id":150359,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:32:11] local.INFO: Acknowledgment sent {"connection_id":150359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:32:13] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe108a908012cd7ae40073fd288001a002b22..."} 
[2026-08-08 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe108a908012cd7ae40073fd288001a002b22..."} 
[2026-08-08 16:32:13] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe108a908012cd7ae40073fd288001a002b22..."} 
[2026-08-08 16:32:13] local.INFO: Packet analysis {"connection_id":150359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:13] local.INFO: Extracted packet for processing {"connection_id":150359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":752332352,"raw_latitude":121623176,"longitude_deg":75.2332352,"latitude_deg":12.1623176,"altitude":26,"angle":43,"satellites":34,"speed":19,"hex_longitude":"2cd7ae40","hex_latitude":"073fd288","is_valid_coordinates":true} 
[2026-08-08 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263835136001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375582808292196352,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2912421552891275264,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:13] 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-08-08 16:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786186869000,"timestamp_ms":1786186869000,"timestamp_seconds":1786186869,"priority":1,"record_length":96,"hex_timestamp":"0000019fe108a908"} 
[2026-08-08 16:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 16:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263835136001,"66":27843,"179":206,"83":43264,"24":19,"16":375582808292196352,"44":-2912421552891275264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-08 16:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263835136001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:32:13] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-08 16:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375582808292196352,"km_value":375582808292196.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2912421552891275264,"description":"Unknown IO ID 44"} 
[2026-08-08 16:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263835136001,"power":27843,"unknown_179":206,"unknown_83":43264,"ignition":19,"odometer":null,"unknown_44":-2912421552891275264}} 
[2026-08-08 16:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":150359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:32:13] local.INFO: GPS data processed {"connection_id":150359,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:32:13] local.INFO: Acknowledgment sent {"connection_id":150359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:32:39] local.INFO: TCP Data received {"connection_id":150358,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1087a28012d19cac00720a500002600312a..."} 
[2026-08-08 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1087a28012d19cac00720a500002600312a..."} 
[2026-08-08 16:32:39] local.INFO: Processing buffer {"connection_id":150358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1087a28012d19cac00720a500002600312a..."} 
[2026-08-08 16:32:39] local.INFO: Packet analysis {"connection_id":150358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:39] local.INFO: Extracted packet for processing {"connection_id":150358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe108"} 
[2026-08-08 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119579904,"longitude_deg":75.6665024,"latitude_deg":11.9579904,"altitude":38,"angle":49,"satellites":42,"speed":8,"hex_longitude":"2d19cac0","hex_latitude":"0720a500","is_valid_coordinates":true} 
[2026-08-08 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263835136001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11570551701110784,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195600345088,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786186857000,"timestamp_ms":1786186857000,"timestamp_seconds":1786186857,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1087a28"} 
[2026-08-08 16:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-08 16:32: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-08-08 16:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263835136001,"66":14211,"103":206,"83":41984,"24":8,"16":11570551701110784,"45":1858368195600345088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263835136001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11570551701110784,"km_value":11570551701110.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195600345088,"description":"Unknown IO ID 45"} 
[2026-08-08 16:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263835136001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1858368195600345088}} 
[2026-08-08 16:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":150358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:32:39] local.INFO: GPS data processed {"connection_id":150358,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:32:39] local.INFO: Acknowledgment sent {"connection_id":150358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:32:44] local.INFO: TCP Data received {"connection_id":150359,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10958d0012cd7f200074008d8002e006925..."} 
[2026-08-08 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10958d0012cd7f200074008d8002e006925..."} 
[2026-08-08 16:32:44] local.INFO: Processing buffer {"connection_id":150359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10958d0012cd7f200074008d8002e006925..."} 
[2026-08-08 16:32:44] local.INFO: Packet analysis {"connection_id":150359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe109"} 
[2026-08-08 16:32:44] local.INFO: Extracted packet for processing {"connection_id":150359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe109"} 
[2026-08-08 16:32:44] local.INFO: GPS Element Parsed {"raw_longitude":752349696,"raw_latitude":121637080,"longitude_deg":75.2349696,"latitude_deg":12.163708,"altitude":46,"angle":105,"satellites":37,"speed":22,"hex_longitude":"2cd7f200","hex_latitude":"074008d8","is_valid_coordinates":true} 
[2026-08-08 16:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263849472001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375583942163562496,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2887511017447139328,"note":"Value kept but may cause issues"} 
[2026-08-08 16:32:44] 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-08-08 16:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786186914000,"timestamp_ms":1786186914000,"timestamp_seconds":1786186914,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10958d0"} 
[2026-08-08 16:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 16:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263849472001,"66":27800,"179":206,"83":43264,"24":22,"16":375583942163562496,"44":-2887511017447139328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-08 16:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263849472001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:32:44] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-08 16:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375583942163562496,"km_value":375583942163562.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:32:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2887511017447139328,"description":"Unknown IO ID 44"} 
[2026-08-08 16:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263849472001,"power":27800,"unknown_179":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-2887511017447139328}} 
[2026-08-08 16:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":150359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:32:44] local.INFO: GPS data processed {"connection_id":150359,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:32:44] local.INFO: Acknowledgment sent {"connection_id":150359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:33:01] local.INFO: TCP Data received {"connection_id":150611,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:01] local.INFO: Processing buffer {"connection_id":150611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:01] local.INFO: IMEI packet received {"connection_id":150611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":150611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:33:02] local.INFO: TCP Data received {"connection_id":150611,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:02] local.INFO: Processing buffer {"connection_id":150611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:02] local.INFO: IMEI packet received {"connection_id":150611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":150611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:33:02] local.INFO: TCP Data received {"connection_id":150611,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:02] local.INFO: Processing buffer {"connection_id":150611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:02] local.INFO: IMEI packet received {"connection_id":150611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":150611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:33:03] local.INFO: TCP Data received {"connection_id":150611,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:03] local.INFO: Processing buffer {"connection_id":150611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:33:03] local.INFO: IMEI packet received {"connection_id":150611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":150611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:33:14] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:14] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:14] local.INFO: IMEI packet received {"connection_id":151560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":151560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:33:15] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:15] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:15] local.INFO: IMEI packet received {"connection_id":151560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":151560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:33:16] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:16] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:16] local.INFO: IMEI packet received {"connection_id":151560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":151560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:33:18] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:18] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:33:18] local.INFO: IMEI packet received {"connection_id":151560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":151560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:33:19] local.INFO: TCP Data received {"connection_id":151560,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe109c248012cd83e80073ff3d00032002826..."} 
[2026-08-08 16:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe109c248012cd83e80073ff3d00032002826..."} 
[2026-08-08 16:33:19] local.INFO: Processing buffer {"connection_id":151560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe109c248012cd83e80073ff3d00032002826..."} 
[2026-08-08 16:33:19] local.INFO: Packet analysis {"connection_id":151560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe109"} 
[2026-08-08 16:33:19] local.INFO: Extracted packet for processing {"connection_id":151560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe109"} 
[2026-08-08 16:33:19] local.INFO: GPS Element Parsed {"raw_longitude":752369280,"raw_latitude":121631696,"longitude_deg":75.236928,"latitude_deg":12.1631696,"altitude":50,"angle":40,"satellites":38,"speed":23,"hex_longitude":"2cd83e80","hex_latitude":"073ff3d0","is_valid_coordinates":true} 
[2026-08-08 16:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263856640001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375584981545648128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2865204125544337408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:33:19] 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-08-08 16:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786186941000,"timestamp_ms":1786186941000,"timestamp_seconds":1786186941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe109c248"} 
[2026-08-08 16:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:33: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-08-08 16:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263856640001,"66":27865,"179":206,"83":43264,"24":23,"16":375584981545648128,"44":-2865204125544337408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,44]} 
[2026-08-08 16:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263856640001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375584981545648128,"km_value":375584981545648.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2865204125544337408,"description":"Unknown IO ID 44"} 
[2026-08-08 16:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263856640001,"power":27865,"unknown_179":206,"unknown_83":43264,"ignition":23,"odometer":null,"unknown_44":-2865204125544337408}} 
[2026-08-08 16:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":151560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:33:19] local.INFO: GPS data processed {"connection_id":151560,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:33:19] local.INFO: Acknowledgment sent {"connection_id":151560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:34:04] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:04] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:04] local.INFO: IMEI packet received {"connection_id":153054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":153054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:34:05] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:05] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:05] local.INFO: IMEI packet received {"connection_id":153054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":153054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:34:10] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:10] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:34:10] local.INFO: IMEI packet received {"connection_id":153054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":153054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:34:11] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e010000019fe10a52d0012cd8124007402e100040000e27..."} 
[2026-08-08 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":93,"packet_hex":"00000000000000518e010000019fe10a52d0012cd8124007402e100040000e27..."} 
[2026-08-08 16:34:11] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fe10a52d0012cd8124007402e100040000e27..."} 
[2026-08-08 16:34:11] local.INFO: Packet analysis {"connection_id":153054,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fe10a"} 
[2026-08-08 16:34:11] local.INFO: Extracted packet for processing {"connection_id":153054,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fe10a"} 
[2026-08-08 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":752357952,"raw_latitude":121646608,"longitude_deg":75.2357952,"latitude_deg":12.1646608,"altitude":64,"angle":14,"satellites":39,"speed":27,"hex_longitude":"2cd81240","hex_latitude":"07402e10","is_valid_coordinates":true} 
[2026-08-08 16: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":93,"current_offset":40} 
[2026-08-08 16:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:34:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153054,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-08 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-08 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-08 16:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 16:34:11] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":153054,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 16:34:11] local.ERROR: GPS data processing failed {"connection_id":153054,"error":"No valid data to process"} 
[2026-08-08 16:34:11] local.INFO: Acknowledgment sent {"connection_id":153054,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 16:34:42] local.INFO: TCP Data received {"connection_id":153054,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10a5aa0012cd81440074033400040001b26..."} 
[2026-08-08 16:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10a5aa0012cd81440074033400040001b26..."} 
[2026-08-08 16:34:42] local.INFO: Processing buffer {"connection_id":153054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10a5aa0012cd81440074033400040001b26..."} 
[2026-08-08 16:34:42] local.INFO: Packet analysis {"connection_id":153054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10a"} 
[2026-08-08 16:34:42] local.INFO: Extracted packet for processing {"connection_id":153054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10a"} 
[2026-08-08 16:34:42] local.INFO: GPS Element Parsed {"raw_longitude":752358464,"raw_latitude":121647936,"longitude_deg":75.2358464,"latitude_deg":12.1647936,"altitude":64,"angle":27,"satellites":38,"speed":29,"hex_longitude":"2cd81440","hex_latitude":"07403340","is_valid_coordinates":true} 
[2026-08-08 16:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263866368001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375586106827079680,"note":"Value kept but may cause issues"} 
[2026-08-08 16:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2877166812050616320,"note":"Value kept but may cause issues"} 
[2026-08-08 16:34: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-08-08 16:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786186980000,"timestamp_ms":1786186980000,"timestamp_seconds":1786186980,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10a5aa0"} 
[2026-08-08 16:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16: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-08-08 16:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263866368001,"66":27930,"232":206,"83":43264,"24":29,"16":375586106827079680,"44":-2877166812050616320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263866368001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:34:42] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375586106827079680,"km_value":375586106827079.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2877166812050616320,"description":"Unknown IO ID 44"} 
[2026-08-08 16:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263866368001,"power":27930,"unknown_232":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-2877166812050616320}} 
[2026-08-08 16:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":153054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:34:42] local.INFO: GPS data processed {"connection_id":153054,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:34:42] local.INFO: Acknowledgment sent {"connection_id":153054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:35:04] local.INFO: TCP Data received {"connection_id":153055,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:35:04] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:35:04] local.INFO: IMEI packet received {"connection_id":153055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":153055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:35:10] local.INFO: TCP Data received {"connection_id":153055,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:35:10] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:35:10] local.INFO: IMEI packet received {"connection_id":153055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":153055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:35:10] local.INFO: TCP Data received {"connection_id":153055,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10b54a0012cd8d8800740c650004e006427..."} 
[2026-08-08 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10b54a0012cd8d8800740c650004e006427..."} 
[2026-08-08 16:35:10] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10b54a0012cd8d8800740c650004e006427..."} 
[2026-08-08 16:35:10] local.INFO: Packet analysis {"connection_id":153055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10b"} 
[2026-08-08 16:35:10] local.INFO: Extracted packet for processing {"connection_id":153055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10b"} 
[2026-08-08 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":752408704,"raw_latitude":121685584,"longitude_deg":75.2408704,"latitude_deg":12.1685584,"altitude":78,"angle":100,"satellites":39,"speed":43,"hex_longitude":"2cd8d880","hex_latitude":"0740c650","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263881984001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375589396772028416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2826430947488133120,"note":"Value kept but may cause issues"} 
[2026-08-08 16:35: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-08-08 16:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786187044000,"timestamp_ms":1786187044000,"timestamp_seconds":1786187044,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10b54a0"} 
[2026-08-08 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-08-08 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 16:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263881984001,"66":27995,"232":206,"83":43264,"24":43,"16":375589396772028416,"44":-2826430947488133120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263881984001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:35:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375589396772028416,"km_value":375589396772028.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2826430947488133120,"description":"Unknown IO ID 44"} 
[2026-08-08 16:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263881984001,"power":27995,"unknown_232":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-2826430947488133120}} 
[2026-08-08 16:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":153055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:35:10] local.INFO: GPS data processed {"connection_id":153055,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:35:10] local.INFO: Acknowledgment sent {"connection_id":153055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:35:41] local.INFO: TCP Data received {"connection_id":153055,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10be910012cd9098007416b900037001c21..."} 
[2026-08-08 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10be910012cd9098007416b900037001c21..."} 
[2026-08-08 16:35:41] local.INFO: Processing buffer {"connection_id":153055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10be910012cd9098007416b900037001c21..."} 
[2026-08-08 16:35:41] local.INFO: Packet analysis {"connection_id":153055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10b"} 
[2026-08-08 16:35:41] local.INFO: Extracted packet for processing {"connection_id":153055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10b"} 
[2026-08-08 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":752421248,"raw_latitude":121727888,"longitude_deg":75.2421248,"latitude_deg":12.1727888,"altitude":55,"angle":28,"satellites":33,"speed":47,"hex_longitude":"2cd90980","hex_latitude":"07416b90","is_valid_coordinates":true} 
[2026-08-08 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263892480001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375591926507765760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2808557286457159680,"note":"Value kept but may cause issues"} 
[2026-08-08 16:35: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-08-08 16:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786187082000,"timestamp_ms":1786187082000,"timestamp_seconds":1786187082,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10be910"} 
[2026-08-08 16:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:35: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-08-08 16:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263892480001,"66":27919,"232":206,"83":43264,"24":47,"16":375591926507765760,"44":-2808557286457159680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263892480001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:35:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375591926507765760,"km_value":375591926507765.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2808557286457159680,"description":"Unknown IO ID 44"} 
[2026-08-08 16:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263892480001,"power":27919,"unknown_232":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-2808557286457159680}} 
[2026-08-08 16:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":153055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:35:41] local.INFO: GPS data processed {"connection_id":153055,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:35:41] local.INFO: Acknowledgment sent {"connection_id":153055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:36:10] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:36:10] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:36:10] local.INFO: IMEI packet received {"connection_id":150361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":150361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:36:15] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:36:15] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:36:15] local.INFO: IMEI packet received {"connection_id":150361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":150361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:36:15] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10c0850012cd91e4007418980003a002022..."} 
[2026-08-08 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10c0850012cd91e4007418980003a002022..."} 
[2026-08-08 16:36:15] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10c0850012cd91e4007418980003a002022..."} 
[2026-08-08 16:36:15] local.INFO: Packet analysis {"connection_id":150361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:36:15] local.INFO: Extracted packet for processing {"connection_id":150361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":752426560,"raw_latitude":121735552,"longitude_deg":75.242656,"latitude_deg":12.1735552,"altitude":58,"angle":32,"satellites":34,"speed":47,"hex_longitude":"2cd91e40","hex_latitude":"07418980","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263892992001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375592373184364544,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2807572124038098944,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786187090000,"timestamp_ms":1786187090000,"timestamp_seconds":1786187090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10c0850"} 
[2026-08-08 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-08-08 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263892992001,"66":27908,"232":206,"83":43264,"24":47,"16":375592373184364544,"44":-2807572124038098944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263892992001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:36:15] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375592373184364544,"km_value":375592373184364.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2807572124038098944,"description":"Unknown IO ID 44"} 
[2026-08-08 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263892992001,"power":27908,"unknown_232":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-2807572124038098944}} 
[2026-08-08 16:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":150361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:36:15] local.INFO: GPS data processed {"connection_id":150361,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:36:15] local.INFO: Acknowledgment sent {"connection_id":150361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:36:17] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10c2790012cd934000741a918003b002523..."} 
[2026-08-08 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10c2790012cd934000741a918003b002523..."} 
[2026-08-08 16:36:17] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10c2790012cd934000741a918003b002523..."} 
[2026-08-08 16:36:17] local.INFO: Packet analysis {"connection_id":150361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:36:17] local.INFO: Extracted packet for processing {"connection_id":150361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":752432128,"raw_latitude":121743640,"longitude_deg":75.2432128,"latitude_deg":12.174364,"altitude":59,"angle":37,"satellites":35,"speed":47,"hex_longitude":"2cd93400","hex_latitude":"0741a918","is_valid_coordinates":true} 
[2026-08-08 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263895040001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375592845630767104,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2801731518269390848,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786187098000,"timestamp_ms":1786187098000,"timestamp_seconds":1786187098,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10c2790"} 
[2026-08-08 16:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:36: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-08-08 16:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263895040001,"66":28093,"232":206,"83":43264,"24":47,"16":375592845630767104,"44":-2801731518269390848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263895040001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:36:17] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375592845630767104,"km_value":375592845630767.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:36:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2801731518269390848,"description":"Unknown IO ID 44"} 
[2026-08-08 16:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263895040001,"power":28093,"unknown_232":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-2801731518269390848}} 
[2026-08-08 16:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":150361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:36:17] local.INFO: GPS data processed {"connection_id":150361,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:36:17] local.INFO: Acknowledgment sent {"connection_id":150361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:36:48] local.INFO: TCP Data received {"connection_id":150361,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10c46d0012cd94bc00741c478003f002c27..."} 
[2026-08-08 16:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10c46d0012cd94bc00741c478003f002c27..."} 
[2026-08-08 16:36:48] local.INFO: Processing buffer {"connection_id":150361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10c46d0012cd94bc00741c478003f002c27..."} 
[2026-08-08 16:36:48] local.INFO: Packet analysis {"connection_id":150361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:36:48] local.INFO: Extracted packet for processing {"connection_id":150361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:36:48] local.INFO: GPS Element Parsed {"raw_longitude":752438208,"raw_latitude":121750648,"longitude_deg":75.2438208,"latitude_deg":12.1750648,"altitude":63,"angle":44,"satellites":39,"speed":44,"hex_longitude":"2cd94bc0","hex_latitude":"0741c478","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263897088001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375593296602333184,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2795609437523863552,"note":"Value kept but may cause issues"} 
[2026-08-08 16:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786187106000,"timestamp_ms":1786187106000,"timestamp_seconds":1786187106,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10c46d0"} 
[2026-08-08 16:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-08 16:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263897088001,"66":27919,"232":206,"83":43264,"24":44,"16":375593296602333184,"44":-2795609437523863552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263897088001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:36:48] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375593296602333184,"km_value":375593296602333.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2795609437523863552,"description":"Unknown IO ID 44"} 
[2026-08-08 16:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263897088001,"power":27919,"unknown_232":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-2795609437523863552}} 
[2026-08-08 16:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":150361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:36:48] local.INFO: GPS data processed {"connection_id":150361,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:36:48] local.INFO: Acknowledgment sent {"connection_id":150361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:37:01] local.INFO: TCP Data received {"connection_id":153057,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:01] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:01] local.INFO: IMEI packet received {"connection_id":153057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":153057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:37:05] local.INFO: TCP Data received {"connection_id":153057,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:05] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:05] local.INFO: IMEI packet received {"connection_id":153057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":153057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:37:05] local.INFO: TCP Data received {"connection_id":153057,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:05] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:37:05] local.INFO: IMEI packet received {"connection_id":153057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":153057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:37:06] local.INFO: TCP Data received {"connection_id":153057,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10c6610012cd967400741ddc0003d003026..."} 
[2026-08-08 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10c6610012cd967400741ddc0003d003026..."} 
[2026-08-08 16:37:06] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10c6610012cd967400741ddc0003d003026..."} 
[2026-08-08 16:37:06] local.INFO: Packet analysis {"connection_id":153057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:37:06] local.INFO: Extracted packet for processing {"connection_id":153057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":752445248,"raw_latitude":121757120,"longitude_deg":75.2445248,"latitude_deg":12.175712,"altitude":61,"angle":48,"satellites":38,"speed":47,"hex_longitude":"2cd96740","hex_latitude":"0741ddc0","is_valid_coordinates":true} 
[2026-08-08 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263899136001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375593751868866560,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2788924406825191424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786187114000,"timestamp_ms":1786187114000,"timestamp_seconds":1786187114,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10c6610"} 
[2026-08-08 16:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":153057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":153057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":153057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263899136001,"66":27908,"232":206,"83":43264,"24":47,"16":375593751868866560,"44":-2788924406825191424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263899136001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375593751868866560,"km_value":375593751868866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2788924406825191424,"description":"Unknown IO ID 44"} 
[2026-08-08 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263899136001,"power":27908,"unknown_232":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-2788924406825191424}} 
[2026-08-08 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":153057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:37:06] local.INFO: GPS data processed {"connection_id":153057,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:37:06] local.INFO: Acknowledgment sent {"connection_id":153057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:37:10] local.INFO: TCP Data received {"connection_id":153057,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10c8d20012cd982c00741f4b0003d003227..."} 
[2026-08-08 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10c8d20012cd982c00741f4b0003d003227..."} 
[2026-08-08 16:37:10] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10c8d20012cd982c00741f4b0003d003227..."} 
[2026-08-08 16:37:10] local.INFO: Packet analysis {"connection_id":153057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:37:10] local.INFO: Extracted packet for processing {"connection_id":153057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10c"} 
[2026-08-08 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":752452288,"raw_latitude":121762992,"longitude_deg":75.2452288,"latitude_deg":12.1762992,"altitude":61,"angle":50,"satellites":39,"speed":35,"hex_longitude":"2cd982c0","hex_latitude":"0741f4b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263901184001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375594194250498048,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2781183844963991552,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37: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-08-08 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786187124000,"timestamp_ms":1786187124000,"timestamp_seconds":1786187124,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10c8d20"} 
[2026-08-08 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-08-08 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263901184001,"66":27995,"232":206,"83":43264,"24":35,"16":375594194250498048,"44":-2781183844963991552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-08 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263901184001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:37:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 16:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375594194250498048,"km_value":375594194250498.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2781183844963991552,"description":"Unknown IO ID 44"} 
[2026-08-08 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263901184001,"power":27995,"unknown_232":206,"unknown_83":43264,"ignition":35,"odometer":null,"unknown_44":-2781183844963991552}} 
[2026-08-08 16:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":153057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:37:10] local.INFO: GPS data processed {"connection_id":153057,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:37:10] local.INFO: Acknowledgment sent {"connection_id":153057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:37:42] local.INFO: TCP Data received {"connection_id":153057,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10dd158012cda764007428d18001e003a23..."} 
[2026-08-08 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10dd158012cda764007428d18001e003a23..."} 
[2026-08-08 16:37:42] local.INFO: Processing buffer {"connection_id":153057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10dd158012cda764007428d18001e003a23..."} 
[2026-08-08 16:37:42] local.INFO: Packet analysis {"connection_id":153057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:37:42] local.INFO: Extracted packet for processing {"connection_id":153057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":752514624,"raw_latitude":121802008,"longitude_deg":75.2514624,"latitude_deg":12.1802008,"altitude":30,"angle":58,"satellites":35,"speed":49,"hex_longitude":"2cda7640","hex_latitude":"07428d18","is_valid_coordinates":true} 
[2026-08-08 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263923200001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375597948051914752,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2713770588031469568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786187207000,"timestamp_ms":1786187207000,"timestamp_seconds":1786187207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10dd158"} 
[2026-08-08 16:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263923200001,"66":27930,"11":206,"83":43264,"24":49,"16":375597948051914752,"44":-2713770588031469568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,44]} 
[2026-08-08 16:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263923200001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:37:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 16:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375597948051914752,"km_value":375597948051914.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2713770588031469568,"description":"Unknown IO ID 44"} 
[2026-08-08 16:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263923200001,"power":27930,"unknown_11":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-2713770588031469568}} 
[2026-08-08 16:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":153057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:37:42] local.INFO: GPS data processed {"connection_id":153057,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:37:42] local.INFO: Acknowledgment sent {"connection_id":153057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:38:05] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:05] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:05] local.INFO: IMEI packet received {"connection_id":151562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:38:05] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:38:05] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:38:05] local.INFO: IMEI packet received {"connection_id":151561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:38:05] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:05] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:05] local.INFO: IMEI packet received {"connection_id":151562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:38:06] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:06] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:38:06] local.INFO: IMEI packet received {"connection_id":151562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":151562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:38:06] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:38:06] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:38:06] local.INFO: IMEI packet received {"connection_id":151561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":151561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:38:07] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10de4e0012cda89c007429bb0001c002e27..."} 
[2026-08-08 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10de4e0012cda89c007429bb0001c002e27..."} 
[2026-08-08 16:38:07] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10de4e0012cda89c007429bb0001c002e27..."} 
[2026-08-08 16:38:07] local.INFO: Packet analysis {"connection_id":151562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:07] local.INFO: Extracted packet for processing {"connection_id":151562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":752519616,"raw_latitude":121805744,"longitude_deg":75.2519616,"latitude_deg":12.1805744,"altitude":28,"angle":46,"satellites":39,"speed":50,"hex_longitude":"2cda89c0","hex_latitude":"07429bb0","is_valid_coordinates":true} 
[2026-08-08 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263924992001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375598248699625472,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2704904126263912448,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786187212000,"timestamp_ms":1786187212000,"timestamp_seconds":1786187212,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10de4e0"} 
[2026-08-08 16:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263924992001,"66":27832,"11":206,"83":43264,"24":50,"16":375598248699625472,"44":-2704904126263912448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,44]} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263924992001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375598248699625472,"km_value":375598248699625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2704904126263912448,"description":"Unknown IO ID 44"} 
[2026-08-08 16:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263924992001,"power":27832,"unknown_11":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-2704904126263912448}} 
[2026-08-08 16:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":151562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:38:07] local.INFO: GPS data processed {"connection_id":151562,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:38:07] local.INFO: Acknowledgment sent {"connection_id":151562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:38:07] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10dd928012d1a3b800720f2a8004300d529..."} 
[2026-08-08 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10dd928012d1a3b800720f2a8004300d529..."} 
[2026-08-08 16:38:07] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10dd928012d1a3b800720f2a8004300d529..."} 
[2026-08-08 16:38:07] local.INFO: Packet analysis {"connection_id":151561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:07] local.INFO: Extracted packet for processing {"connection_id":151561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756693888,"raw_latitude":119599784,"longitude_deg":75.6693888,"latitude_deg":11.9599784,"altitude":67,"angle":213,"satellites":41,"speed":17,"hex_longitude":"2d1a3b80","hex_latitude":"0720f2a8","is_valid_coordinates":true} 
[2026-08-08 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263924992001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11573532408414208,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890808186671532032,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38: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-08-08 16:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786187209000,"timestamp_ms":1786187209000,"timestamp_seconds":1786187209,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10dd928"} 
[2026-08-08 16:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:38: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-08-08 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 16:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263924992001,"66":14428,"103":206,"83":41984,"24":17,"16":11573532408414208,"45":1890808186671532032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263924992001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11573532408414208,"km_value":11573532408414.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890808186671532032,"description":"Unknown IO ID 45"} 
[2026-08-08 16:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263924992001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1890808186671532032}} 
[2026-08-08 16:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":151561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:38:07] local.INFO: GPS data processed {"connection_id":151561,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:38:07] local.INFO: Acknowledgment sent {"connection_id":151561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:38:08] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10df480012cda97c00742aaf8001c002228..."} 
[2026-08-08 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10df480012cda97c00742aaf8001c002228..."} 
[2026-08-08 16:38:08] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10df480012cda97c00742aaf8001c002228..."} 
[2026-08-08 16:38:08] local.INFO: Packet analysis {"connection_id":151562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:08] local.INFO: Extracted packet for processing {"connection_id":151562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":752523200,"raw_latitude":121809656,"longitude_deg":75.25232,"latitude_deg":12.1809656,"altitude":28,"angle":34,"satellites":40,"speed":52,"hex_longitude":"2cda97c0","hex_latitude":"0742aaf8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263926272001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375598502102695936,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2699415364217098240,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187216000,"timestamp_ms":1786187216000,"timestamp_seconds":1786187216,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10df480"} 
[2026-08-08 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-08-08 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 16:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263926272001,"66":27984,"11":206,"83":43264,"24":52,"16":375598502102695936,"44":-2699415364217098240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,44]} 
[2026-08-08 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263926272001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375598502102695936,"km_value":375598502102695.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2699415364217098240,"description":"Unknown IO ID 44"} 
[2026-08-08 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263926272001,"power":27984,"unknown_11":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-2699415364217098240}} 
[2026-08-08 16:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":151562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:38:08] local.INFO: GPS data processed {"connection_id":151562,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:38:08] local.INFO: Acknowledgment sent {"connection_id":151562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:38:12] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10de8c8012d1a37800720eb28004200c92a..."} 
[2026-08-08 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10de8c8012d1a37800720eb28004200c92a..."} 
[2026-08-08 16:38:12] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10de8c8012d1a37800720eb28004200c92a..."} 
[2026-08-08 16:38:12] local.INFO: Packet analysis {"connection_id":151561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:12] local.INFO: Extracted packet for processing {"connection_id":151561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10d"} 
[2026-08-08 16:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756692864,"raw_latitude":119597864,"longitude_deg":75.6692864,"latitude_deg":11.9597864,"altitude":66,"angle":201,"satellites":42,"speed":25,"hex_longitude":"2d1a3780","hex_latitude":"0720eb28","is_valid_coordinates":true} 
[2026-08-08 16:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263925504001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11573635487629312,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890245236717955072,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38: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-08-08 16:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187213000,"timestamp_ms":1786187213000,"timestamp_seconds":1786187213,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10de8c8"} 
[2026-08-08 16:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263925504001,"66":14461,"103":206,"83":41984,"24":25,"16":11573635487629312,"45":1890245236717955072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263925504001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:38:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11573635487629312,"km_value":11573635487629.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890245236717955072,"description":"Unknown IO ID 45"} 
[2026-08-08 16:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263925504001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1890245236717955072}} 
[2026-08-08 16:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":151561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:38:12] local.INFO: GPS data processed {"connection_id":151561,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:38:12] local.INFO: Acknowledgment sent {"connection_id":151561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:38:38] local.INFO: TCP Data received {"connection_id":151562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10ee2c8012cda75400742f8c00029003c24..."} 
[2026-08-08 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10ee2c8012cda75400742f8c00029003c24..."} 
[2026-08-08 16:38:38] local.INFO: Processing buffer {"connection_id":151562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10ee2c8012cda75400742f8c00029003c24..."} 
[2026-08-08 16:38:38] local.INFO: Packet analysis {"connection_id":151562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:38:38] local.INFO: Extracted packet for processing {"connection_id":151562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":752514368,"raw_latitude":121829568,"longitude_deg":75.2514368,"latitude_deg":12.1829568,"altitude":41,"angle":60,"satellites":36,"speed":26,"hex_longitude":"2cda7540","hex_latitude":"0742f8c0","is_valid_coordinates":true} 
[2026-08-08 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263942656001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375600718305820672,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2705818919931256832,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786187277000,"timestamp_ms":1786187277000,"timestamp_seconds":1786187277,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10ee2c8"} 
[2026-08-08 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263942656001,"66":27745,"231":206,"83":43264,"24":26,"16":375600718305820672,"44":-2705818919931256832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,44]} 
[2026-08-08 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263942656001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375600718305820672,"km_value":375600718305820.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2705818919931256832,"description":"Unknown IO ID 44"} 
[2026-08-08 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263942656001,"power":27745,"unknown_231":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-2705818919931256832}} 
[2026-08-08 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":151562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:38:38] local.INFO: GPS data processed {"connection_id":151562,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:38:38] local.INFO: Acknowledgment sent {"connection_id":151562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:38:43] local.INFO: TCP Data received {"connection_id":151561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10ef268012d19cbc00720a530003300e828..."} 
[2026-08-08 16:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10ef268012d19cbc00720a530003300e828..."} 
[2026-08-08 16:38:43] local.INFO: Processing buffer {"connection_id":151561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10ef268012d19cbc00720a530003300e828..."} 
[2026-08-08 16:38:43] local.INFO: Packet analysis {"connection_id":151561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:38:43] local.INFO: Extracted packet for processing {"connection_id":151561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119579952,"longitude_deg":75.666528,"latitude_deg":11.9579952,"altitude":51,"angle":232,"satellites":40,"speed":10,"hex_longitude":"2d19cbc0","hex_latitude":"0720a530","is_valid_coordinates":true} 
[2026-08-08 16:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263940864001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575297639972864,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861112576623927296,"note":"Value kept but may cause issues"} 
[2026-08-08 16:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786187281000,"timestamp_ms":1786187281000,"timestamp_seconds":1786187281,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10ef268"} 
[2026-08-08 16:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263940864001,"66":14483,"103":206,"83":41984,"24":10,"16":11575297639972864,"45":1861112576623927296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263940864001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:38:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575297639972864,"km_value":11575297639972.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861112576623927296,"description":"Unknown IO ID 45"} 
[2026-08-08 16:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263940864001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1861112576623927296}} 
[2026-08-08 16:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":151561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:38:43] local.INFO: GPS data processed {"connection_id":151561,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:38:43] local.INFO: Acknowledgment sent {"connection_id":151561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:39:01] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:01] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:01] local.INFO: IMEI packet received {"connection_id":150362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":150362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:39:02] local.INFO: TCP Data received {"connection_id":153058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:02] local.INFO: Processing buffer {"connection_id":153058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:02] local.INFO: IMEI packet received {"connection_id":153058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":153058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:39:04] local.INFO: TCP Data received {"connection_id":153058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:04] local.INFO: Processing buffer {"connection_id":153058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:04] local.INFO: IMEI packet received {"connection_id":153058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":153058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:39:05] local.INFO: TCP Data received {"connection_id":153058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:05] local.INFO: Processing buffer {"connection_id":153058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:05] local.INFO: IMEI packet received {"connection_id":153058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":153058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:39:05] local.INFO: TCP Data received {"connection_id":153058,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:05] local.INFO: Processing buffer {"connection_id":153058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:39:05] local.INFO: IMEI packet received {"connection_id":153058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":153058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:39:06] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:06] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:06] local.INFO: IMEI packet received {"connection_id":150362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":150362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:39:07] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:07] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:39:07] local.INFO: IMEI packet received {"connection_id":150362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":150362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:39:09] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10efa38012d19c9800720a420003300fb29..."} 
[2026-08-08 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10efa38012d19c9800720a420003300fb29..."} 
[2026-08-08 16:39:09] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10efa38012d19c9800720a420003300fb29..."} 
[2026-08-08 16:39:09] local.INFO: Packet analysis {"connection_id":150362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:39:09] local.INFO: Extracted packet for processing {"connection_id":150362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119579680,"longitude_deg":75.6664704,"latitude_deg":11.957968,"altitude":51,"angle":251,"satellites":41,"speed":12,"hex_longitude":"2d19c980","hex_latitude":"0720a420","is_valid_coordinates":true} 
[2026-08-08 16:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263943936001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575323409776640,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408065462272,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39: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-08-08 16:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786187283000,"timestamp_ms":1786187283000,"timestamp_seconds":1786187283,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10efa38"} 
[2026-08-08 16:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 16:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263943936001,"66":14428,"103":206,"83":41984,"24":12,"16":11575323409776640,"45":1858790408065462272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263943936001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:39:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575323409776640,"km_value":11575323409776.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408065462272,"description":"Unknown IO ID 45"} 
[2026-08-08 16:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263943936001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1858790408065462272}} 
[2026-08-08 16:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":150362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:39:09] local.INFO: GPS data processed {"connection_id":150362,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:39:09] local.INFO: Acknowledgment sent {"connection_id":150362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:39:12] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10efe20012d19c8800720a3d80033010729..."} 
[2026-08-08 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10efe20012d19c8800720a3d80033010729..."} 
[2026-08-08 16:39:12] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10efe20012d19c8800720a3d80033010729..."} 
[2026-08-08 16:39:12] local.INFO: Packet analysis {"connection_id":150362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:39:12] local.INFO: Extracted packet for processing {"connection_id":150362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10e"} 
[2026-08-08 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119579608,"longitude_deg":75.6664448,"latitude_deg":11.9579608,"altitude":51,"angle":263,"satellites":41,"speed":13,"hex_longitude":"2d19c880","hex_latitude":"0720a3d8","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263944448001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575340589645824,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089367793664,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39: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-08-08 16:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187284000,"timestamp_ms":1786187284000,"timestamp_seconds":1786187284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10efe20"} 
[2026-08-08 16:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263944448001,"66":14428,"103":206,"83":41984,"24":13,"16":11575340589645824,"45":1858157089367793664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263944448001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:39:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575340589645824,"km_value":11575340589645.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089367793664,"description":"Unknown IO ID 45"} 
[2026-08-08 16:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263944448001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1858157089367793664}} 
[2026-08-08 16:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":150362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:39:12] local.INFO: GPS data processed {"connection_id":150362,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:39:12] local.INFO: Acknowledgment sent {"connection_id":150362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:39:43] local.INFO: TCP Data received {"connection_id":150362,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe10f05f0012d19c5400720a4280033011a29..."} 
[2026-08-08 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe10f05f0012d19c5400720a4280033011a29..."} 
[2026-08-08 16:39:43] local.INFO: Processing buffer {"connection_id":150362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe10f05f0012d19c5400720a4280033011a29..."} 
[2026-08-08 16:39:43] local.INFO: Packet analysis {"connection_id":150362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe10f"} 
[2026-08-08 16:39:43] local.INFO: Extracted packet for processing {"connection_id":150362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe10f"} 
[2026-08-08 16:39:43] local.INFO: GPS Element Parsed {"raw_longitude":756663616,"raw_latitude":119579688,"longitude_deg":75.6663616,"latitude_deg":11.9579688,"altitude":51,"angle":282,"satellites":41,"speed":17,"hex_longitude":"2d19c540","hex_latitude":"0720a428","is_valid_coordinates":true} 
[2026-08-08 16:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263944704001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11575379244351488,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614391064576,"note":"Value kept but may cause issues"} 
[2026-08-08 16:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786187286000,"timestamp_ms":1786187286000,"timestamp_seconds":1786187286,"priority":1,"record_length":96,"hex_timestamp":"0000019fe10f05f0"} 
[2026-08-08 16:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16: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-08-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263944704001,"66":14428,"103":206,"83":41984,"24":17,"16":11575379244351488,"45":1857875614391064576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263944704001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:39:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:39:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11575379244351488,"km_value":11575379244351.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614391064576,"description":"Unknown IO ID 45"} 
[2026-08-08 16:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263944704001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1857875614391064576}} 
[2026-08-08 16:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":150362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:39:43] local.INFO: GPS data processed {"connection_id":150362,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:39:43] local.INFO: Acknowledgment sent {"connection_id":150362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:40:07] local.INFO: TCP Data received {"connection_id":153059,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:40:07] local.INFO: Processing buffer {"connection_id":153059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:40:07] local.INFO: IMEI packet received {"connection_id":153059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":153059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:40:08] local.INFO: TCP Data received {"connection_id":153059,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:40:08] local.INFO: Processing buffer {"connection_id":153059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:40:08] local.INFO: IMEI packet received {"connection_id":153059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":153059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:40:08] local.INFO: TCP Data received {"connection_id":153059,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1102ae8012d18f1c00720daa80039013e2a..."} 
[2026-08-08 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1102ae8012d18f1c00720daa80039013e2a..."} 
[2026-08-08 16:40:08] local.INFO: Processing buffer {"connection_id":153059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1102ae8012d18f1c00720daa80039013e2a..."} 
[2026-08-08 16:40:08] local.INFO: Packet analysis {"connection_id":153059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:40:08] local.INFO: Extracted packet for processing {"connection_id":153059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":119593640,"longitude_deg":75.6609472,"latitude_deg":11.959364,"altitude":57,"angle":318,"satellites":42,"speed":36,"hex_longitude":"2d18f1c0","hex_latitude":"0720daa8","is_valid_coordinates":true} 
[2026-08-08 16:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263962112001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578153793224704,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803691681376784384,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187361000,"timestamp_ms":1786187361000,"timestamp_seconds":1786187361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1102ae8"} 
[2026-08-08 16:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:40: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-08-08 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 16:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263962112001,"66":13167,"103":206,"83":41984,"24":36,"16":11578153793224704,"45":1803691681376784384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263962112001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578153793224704,"km_value":11578153793224.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803691681376784384,"description":"Unknown IO ID 45"} 
[2026-08-08 16:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263962112001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1803691681376784384}} 
[2026-08-08 16:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":153059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:40:08] local.INFO: GPS data processed {"connection_id":153059,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:40:08] local.INFO: Acknowledgment sent {"connection_id":153059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:40:12] local.INFO: TCP Data received {"connection_id":153059,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11036a0012d18ec000720e440003901492a..."} 
[2026-08-08 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11036a0012d18ec000720e440003901492a..."} 
[2026-08-08 16:40:12] local.INFO: Processing buffer {"connection_id":153059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11036a0012d18ec000720e440003901492a..."} 
[2026-08-08 16:40:12] local.INFO: Packet analysis {"connection_id":153059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:40:12] local.INFO: Extracted packet for processing {"connection_id":153059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756608000,"raw_latitude":119596096,"longitude_deg":75.6608,"latitude_deg":11.9596096,"altitude":57,"angle":329,"satellites":42,"speed":37,"hex_longitude":"2d18ec00","hex_latitude":"0720e440","is_valid_coordinates":true} 
[2026-08-08 16:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263964416001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578291232178176,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797428863146043392,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40: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-08-08 16:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187364000,"timestamp_ms":1786187364000,"timestamp_seconds":1786187364,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11036a0"} 
[2026-08-08 16:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-08 16:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263964416001,"66":13276,"103":206,"83":41984,"24":37,"16":11578291232178176,"45":1797428863146043392},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263964416001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:40:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578291232178176,"km_value":11578291232178.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797428863146043392,"description":"Unknown IO ID 45"} 
[2026-08-08 16:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263964416001,"power":13276,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1797428863146043392}} 
[2026-08-08 16:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":153059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:40:12] local.INFO: GPS data processed {"connection_id":153059,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:40:12] local.INFO: Acknowledgment sent {"connection_id":153059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:40:42] local.INFO: TCP Data received {"connection_id":153059,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1104e10012d18dec00720f6b8003c013a2b..."} 
[2026-08-08 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1104e10012d18dec00720f6b8003c013a2b..."} 
[2026-08-08 16:40:42] local.INFO: Processing buffer {"connection_id":153059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1104e10012d18dec00720f6b8003c013a2b..."} 
[2026-08-08 16:40:42] local.INFO: Packet analysis {"connection_id":153059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:40:42] local.INFO: Extracted packet for processing {"connection_id":153059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756604608,"raw_latitude":119600824,"longitude_deg":75.6604608,"latitude_deg":11.9600824,"altitude":60,"angle":314,"satellites":43,"speed":36,"hex_longitude":"2d18dec0","hex_latitude":"0720f6b8","is_valid_coordinates":true} 
[2026-08-08 16:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263965184001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578574700019712,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795810382030585856,"note":"Value kept but may cause issues"} 
[2026-08-08 16:40: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-08-08 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786187370000,"timestamp_ms":1786187370000,"timestamp_seconds":1786187370,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1104e10"} 
[2026-08-08 16:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 16:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263965184001,"66":13243,"103":206,"83":41984,"24":36,"16":11578574700019712,"45":1795810382030585856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263965184001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:40:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578574700019712,"km_value":11578574700019.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795810382030585856,"description":"Unknown IO ID 45"} 
[2026-08-08 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263965184001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1795810382030585856}} 
[2026-08-08 16:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":153059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:40:42] local.INFO: GPS data processed {"connection_id":153059,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:40:42] local.INFO: Acknowledgment sent {"connection_id":153059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:41:01] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:41:01] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:41:01] local.INFO: IMEI packet received {"connection_id":153060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":153060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:41:07] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:41:07] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:41:07] local.INFO: IMEI packet received {"connection_id":153060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":153060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:41:08] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11059c8012d18d7400720fe78003d01472b..."} 
[2026-08-08 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11059c8012d18d7400720fe78003d01472b..."} 
[2026-08-08 16:41:08] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11059c8012d18d7400720fe78003d01472b..."} 
[2026-08-08 16:41:08] local.INFO: Packet analysis {"connection_id":153060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:41:08] local.INFO: Extracted packet for processing {"connection_id":153060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119602808,"longitude_deg":75.6602688,"latitude_deg":11.9602808,"altitude":61,"angle":327,"satellites":43,"speed":34,"hex_longitude":"2d18d740","hex_latitude":"0720fe78","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263966720001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578703549038592,"note":"Value kept but may cause issues"} 
[2026-08-08 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838590380032,"note":"Value kept but may cause issues"} 
[2026-08-08 16:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187373000,"timestamp_ms":1786187373000,"timestamp_seconds":1786187373,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11059c8"} 
[2026-08-08 16:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16: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-08-08 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 16:41: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-08-08 16: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-08-08 16:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263966720001,"66":13167,"103":206,"83":41984,"24":34,"16":11578703549038592,"45":1792080838590380032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263966720001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578703549038592,"km_value":11578703549038.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838590380032,"description":"Unknown IO ID 45"} 
[2026-08-08 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263966720001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1792080838590380032}} 
[2026-08-08 16:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":153060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:41:08] local.INFO: GPS data processed {"connection_id":153060,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:41:08] local.INFO: Acknowledgment sent {"connection_id":153060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:41:38] local.INFO: TCP Data received {"connection_id":153060,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1105db0012d18d64007210148003e01532b..."} 
[2026-08-08 16:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1105db0012d18d64007210148003e01532b..."} 
[2026-08-08 16:41:38] local.INFO: Processing buffer {"connection_id":153060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1105db0012d18d64007210148003e01532b..."} 
[2026-08-08 16:41:38] local.INFO: Packet analysis {"connection_id":153060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:41:38] local.INFO: Extracted packet for processing {"connection_id":153060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe110"} 
[2026-08-08 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603528,"longitude_deg":75.6602432,"latitude_deg":11.9603528,"altitude":62,"angle":339,"satellites":43,"speed":29,"hex_longitude":"2d18d640","hex_latitude":"07210148","is_valid_coordinates":true} 
[2026-08-08 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263967488001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578742203744256,"note":"Value kept but may cause issues"} 
[2026-08-08 16:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265558016,"note":"Value kept but may cause issues"} 
[2026-08-08 16:41: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-08-08 16:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786187374000,"timestamp_ms":1786187374000,"timestamp_seconds":1786187374,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1105db0"} 
[2026-08-08 16:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-08 16:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263967488001,"66":13167,"103":206,"83":41984,"24":29,"16":11578742203744256,"45":1789969776265558016},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263967488001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:41:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578742203744256,"km_value":11578742203744.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265558016,"description":"Unknown IO ID 45"} 
[2026-08-08 16:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263967488001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1789969776265558016}} 
[2026-08-08 16:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":153060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:41:38] local.INFO: GPS data processed {"connection_id":153060,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:41:38] local.INFO: Acknowledgment sent {"connection_id":153060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:42:02] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:02] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:02] local.INFO: IMEI packet received {"connection_id":150363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":150363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:42:03] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:03] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:03] local.INFO: IMEI packet received {"connection_id":150363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":150363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:42:04] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:04] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:42:04] local.INFO: IMEI packet received {"connection_id":150363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":150363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:42:04] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe111f7d8012d18d2c007210d78003f015928..."} 
[2026-08-08 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe111f7d8012d18d2c007210d78003f015928..."} 
[2026-08-08 16:42:04] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe111f7d8012d18d2c007210d78003f015928..."} 
[2026-08-08 16:42:04] local.INFO: Packet analysis {"connection_id":150363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe111"} 
[2026-08-08 16:42:04] local.INFO: Extracted packet for processing {"connection_id":150363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe111"} 
[2026-08-08 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119606648,"longitude_deg":75.6601536,"latitude_deg":11.9606648,"altitude":63,"angle":345,"satellites":40,"speed":0,"hex_longitude":"2d18d2c0","hex_latitude":"07210d78","is_valid_coordinates":true} 
[2026-08-08 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263989248001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578901117534208,"note":"Value kept but may cause issues"} 
[2026-08-08 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871343104,"note":"Value kept but may cause issues"} 
[2026-08-08 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786187479000,"timestamp_ms":1786187479000,"timestamp_seconds":1786187479,"priority":1,"record_length":96,"hex_timestamp":"0000019fe111f7d8"} 
[2026-08-08 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:42: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-08-08 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-08 16:42: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-08-08 16:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263989248001,"66":14396,"103":206,"83":41984,"24":0,"16":11578901117534208,"45":1788703138871343104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263989248001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:42:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578901117534208,"km_value":11578901117534.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871343104,"description":"Unknown IO ID 45"} 
[2026-08-08 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263989248001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788703138871343104}} 
[2026-08-08 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":150363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:42:04] local.INFO: GPS data processed {"connection_id":150363,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:42:04] local.INFO: Acknowledgment sent {"connection_id":150363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:42:35] local.INFO: TCP Data received {"connection_id":150363,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1120f48012d18d20007211060003e014c27..."} 
[2026-08-08 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1120f48012d18d20007211060003e014c27..."} 
[2026-08-08 16:42:35] local.INFO: Processing buffer {"connection_id":150363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1120f48012d18d20007211060003e014c27..."} 
[2026-08-08 16:42:35] local.INFO: Packet analysis {"connection_id":150363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:42:35] local.INFO: Extracted packet for processing {"connection_id":150363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119607392,"longitude_deg":75.6601344,"latitude_deg":11.9607392,"altitude":62,"angle":332,"satellites":39,"speed":11,"hex_longitude":"2d18d200","hex_latitude":"07211060","is_valid_coordinates":true} 
[2026-08-08 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457263994624001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11578939772239872,"note":"Value kept but may cause issues"} 
[2026-08-08 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871343104,"note":"Value kept but may cause issues"} 
[2026-08-08 16:42: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-08-08 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786187485000,"timestamp_ms":1786187485000,"timestamp_seconds":1786187485,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1120f48"} 
[2026-08-08 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:42: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-08-08 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457263994624001,"66":14276,"103":206,"83":41984,"24":11,"16":11578939772239872,"45":1788703138871343104},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-08 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457263994624001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:42:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 16:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11578939772239872,"km_value":11578939772239.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871343104,"description":"Unknown IO ID 45"} 
[2026-08-08 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457263994624001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1788703138871343104}} 
[2026-08-08 16:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":150363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:42:35] local.INFO: GPS data processed {"connection_id":150363,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:42:35] local.INFO: Acknowledgment sent {"connection_id":150363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:43:00] local.INFO: TCP Data received {"connection_id":150364,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:00] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:00] local.INFO: IMEI packet received {"connection_id":150364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":150364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:43:01] local.INFO: TCP Data received {"connection_id":150364,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:01] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:01] local.INFO: IMEI packet received {"connection_id":150364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":150364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:43:07] local.INFO: TCP Data received {"connection_id":150364,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:07] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:43:07] local.INFO: IMEI packet received {"connection_id":150364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":150364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:43:08] local.INFO: TCP Data received {"connection_id":150364,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe112af70012d18a7c007217440004a012927..."} 
[2026-08-08 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe112af70012d18a7c007217440004a012927..."} 
[2026-08-08 16:43:08] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe112af70012d18a7c007217440004a012927..."} 
[2026-08-08 16:43:08] local.INFO: Packet analysis {"connection_id":150364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:43:08] local.INFO: Extracted packet for processing {"connection_id":150364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119632960,"longitude_deg":75.6590528,"latitude_deg":11.963296,"altitude":74,"angle":297,"satellites":39,"speed":28,"hex_longitude":"2d18a7c0","hex_latitude":"07217440","is_valid_coordinates":true} 
[2026-08-08 16:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264006144001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11580335636611072,"note":"Value kept but may cause issues"} 
[2026-08-08 16:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018664960,"note":"Value kept but may cause issues"} 
[2026-08-08 16:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187526000,"timestamp_ms":1786187526000,"timestamp_seconds":1786187526,"priority":1,"record_length":96,"hex_timestamp":"0000019fe112af70"} 
[2026-08-08 16:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:43: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-08-08 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264006144001,"66":14374,"106":206,"83":41984,"24":28,"16":11580335636611072,"45":1777936721018664960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 16:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264006144001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11580335636611072,"km_value":11580335636611.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018664960,"description":"Unknown IO ID 45"} 
[2026-08-08 16:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264006144001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1777936721018664960}} 
[2026-08-08 16:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":150364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:43:08] local.INFO: GPS data processed {"connection_id":150364,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:43:08] local.INFO: Acknowledgment sent {"connection_id":150364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:43:39] local.INFO: TCP Data received {"connection_id":150364,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe112de50012d18884007218010004c011b29..."} 
[2026-08-08 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe112de50012d18884007218010004c011b29..."} 
[2026-08-08 16:43:39] local.INFO: Processing buffer {"connection_id":150364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe112de50012d18884007218010004c011b29..."} 
[2026-08-08 16:43:39] local.INFO: Packet analysis {"connection_id":150364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:43:39] local.INFO: Extracted packet for processing {"connection_id":150364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756582464,"raw_latitude":119635984,"longitude_deg":75.6582464,"latitude_deg":11.9635984,"altitude":76,"angle":283,"satellites":41,"speed":31,"hex_longitude":"2d188840","hex_latitude":"07218010","is_valid_coordinates":true} 
[2026-08-08 16:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264006656001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11580743658504192,"note":"Value kept but may cause issues"} 
[2026-08-08 16:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714879520768,"note":"Value kept but may cause issues"} 
[2026-08-08 16:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786187538000,"timestamp_ms":1786187538000,"timestamp_seconds":1786187538,"priority":1,"record_length":96,"hex_timestamp":"0000019fe112de50"} 
[2026-08-08 16:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:43: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-08-08 16:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 16:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264006656001,"66":14157,"106":206,"83":41984,"24":31,"16":11580743658504192,"45":1776599714879520768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 16:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264006656001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11580743658504192,"km_value":11580743658504.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714879520768,"description":"Unknown IO ID 45"} 
[2026-08-08 16:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264006656001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1776599714879520768}} 
[2026-08-08 16:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":150364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:43:39] local.INFO: GPS data processed {"connection_id":150364,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:43:39] local.INFO: Acknowledgment sent {"connection_id":150364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:44:02] local.INFO: TCP Data received {"connection_id":150365,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:02] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:02] local.INFO: IMEI packet received {"connection_id":150365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":150365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:44:03] local.INFO: TCP Data received {"connection_id":150365,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:03] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:03] local.INFO: IMEI packet received {"connection_id":150365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":150365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:44:07] local.INFO: TCP Data received {"connection_id":150365,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:07] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:44:07] local.INFO: IMEI packet received {"connection_id":150365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":150365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:44:07] local.INFO: TCP Data received {"connection_id":150365,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe112edf0012d187c40072181d8004c010f2a..."} 
[2026-08-08 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe112edf0012d187c40072181d8004c010f2a..."} 
[2026-08-08 16:44:08] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe112edf0012d187c40072181d8004c010f2a..."} 
[2026-08-08 16:44:08] local.INFO: Packet analysis {"connection_id":150365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:44:08] local.INFO: Extracted packet for processing {"connection_id":150365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe112"} 
[2026-08-08 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119636440,"longitude_deg":75.6579392,"latitude_deg":11.963644,"altitude":76,"angle":271,"satellites":42,"speed":30,"hex_longitude":"2d187c40","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-08-08 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264009728001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11580893982359552,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767733253113909248,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187542000,"timestamp_ms":1786187542000,"timestamp_seconds":1786187542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe112edf0"} 
[2026-08-08 16:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:44: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-08-08 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 16:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264009728001,"66":14102,"106":206,"83":41984,"24":30,"16":11580893982359552,"45":1767733253113909248},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-08 16:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264009728001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 16:44:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11580893982359552,"km_value":11580893982359.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767733253113909248,"description":"Unknown IO ID 45"} 
[2026-08-08 16:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264009728001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1767733253113909248}} 
[2026-08-08 16:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":150365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:44:08] local.INFO: GPS data processed {"connection_id":150365,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:44:08] local.INFO: Acknowledgment sent {"connection_id":150365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:44:08] local.INFO: TCP Data received {"connection_id":150617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:08] local.INFO: Processing buffer {"connection_id":150617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:08] local.INFO: IMEI packet received {"connection_id":150617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":150617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:44:09] local.INFO: TCP Data received {"connection_id":150617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:09] local.INFO: Processing buffer {"connection_id":150617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:09] local.INFO: IMEI packet received {"connection_id":150617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":150617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:44:10] local.INFO: TCP Data received {"connection_id":150617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe113cc98012cdc854007450360005a004c27..."} 
[2026-08-08 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe113cc98012cdc854007450360005a004c27..."} 
[2026-08-08 16:44:10] local.INFO: Processing buffer {"connection_id":150617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe113cc98012cdc854007450360005a004c27..."} 
[2026-08-08 16:44:10] local.INFO: Packet analysis {"connection_id":150617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:44:10] local.INFO: Extracted packet for processing {"connection_id":150617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":752649536,"raw_latitude":121963360,"longitude_deg":75.2649536,"latitude_deg":12.196336,"altitude":90,"angle":76,"satellites":39,"speed":47,"hex_longitude":"2cdc8540","hex_latitude":"07450360","is_valid_coordinates":true} 
[2026-08-08 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-08-08 16:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264023040001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375611618932817920,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2567614706332182528,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786187599000,"timestamp_ms":1786187599000,"timestamp_seconds":1786187599,"priority":1,"record_length":96,"hex_timestamp":"0000019fe113cc98"} 
[2026-08-08 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-08-08 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 16:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 16:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264023040001,"66":27484,"125":206,"83":43264,"24":47,"16":375611618932817920,"44":-2567614706332182528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,44]} 
[2026-08-08 16:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264023040001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:44:10] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-08 16:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375611618932817920,"km_value":375611618932817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2567614706332182528,"description":"Unknown IO ID 44"} 
[2026-08-08 16:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264023040001,"power":27484,"unknown_125":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-2567614706332182528}} 
[2026-08-08 16:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":150617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:44:10] local.INFO: GPS data processed {"connection_id":150617,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:44:10] local.INFO: Acknowledgment sent {"connection_id":150617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:44:15] local.INFO: TCP Data received {"connection_id":150617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe113d468012cdc8e4007450688005a003d27..."} 
[2026-08-08 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe113d468012cdc8e4007450688005a003d27..."} 
[2026-08-08 16:44:15] local.INFO: Processing buffer {"connection_id":150617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe113d468012cdc8e4007450688005a003d27..."} 
[2026-08-08 16:44:15] local.INFO: Packet analysis {"connection_id":150617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:44:15] local.INFO: Extracted packet for processing {"connection_id":150617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":752651840,"raw_latitude":121964168,"longitude_deg":75.265184,"latitude_deg":12.1964168,"altitude":90,"angle":61,"satellites":39,"speed":48,"hex_longitude":"2cdc8e40","hex_latitude":"07450688","is_valid_coordinates":true} 
[2026-08-08 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264025344001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375611734896934912,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2556566813496090624,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786187601000,"timestamp_ms":1786187601000,"timestamp_seconds":1786187601,"priority":1,"record_length":96,"hex_timestamp":"0000019fe113d468"} 
[2026-08-08 16:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 16:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264025344001,"66":27832,"125":206,"83":43264,"24":48,"16":375611734896934912,"44":-2556566813496090624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,44]} 
[2026-08-08 16:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264025344001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:44:15] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-08 16:44:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375611734896934912,"km_value":375611734896934.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2556566813496090624,"description":"Unknown IO ID 44"} 
[2026-08-08 16:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264025344001,"power":27832,"unknown_125":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-2556566813496090624}} 
[2026-08-08 16:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":150617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:44:15] local.INFO: GPS data processed {"connection_id":150617,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:44:15] local.INFO: Acknowledgment sent {"connection_id":150617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:44:39] local.INFO: TCP Data received {"connection_id":150365,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1130d30012d186280072181e0004b011e26..."} 
[2026-08-08 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1130d30012d186280072181e0004b011e26..."} 
[2026-08-08 16:44:39] local.INFO: Processing buffer {"connection_id":150365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1130d30012d186280072181e0004b011e26..."} 
[2026-08-08 16:44:39] local.INFO: Packet analysis {"connection_id":150365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:44:39] local.INFO: Extracted packet for processing {"connection_id":150365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756572800,"raw_latitude":119636448,"longitude_deg":75.65728,"latitude_deg":11.9636448,"altitude":75,"angle":286,"satellites":38,"speed":36,"hex_longitude":"2d186280","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-08-08 16:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264010752001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581207514972160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393498112,"note":"Value kept but may cause issues"} 
[2026-08-08 16:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786187550000,"timestamp_ms":1786187550000,"timestamp_seconds":1786187550,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1130d30"} 
[2026-08-08 16:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16: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-08-08 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 16:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264010752001,"66":14135,"105":206,"83":41984,"24":36,"16":11581207514972160,"45":1764355553393498112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264010752001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:44:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581207514972160,"km_value":11581207514972.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393498112,"description":"Unknown IO ID 45"} 
[2026-08-08 16:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264010752001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1764355553393498112}} 
[2026-08-08 16:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":150365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:44:39] local.INFO: GPS data processed {"connection_id":150365,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:44:39] local.INFO: Acknowledgment sent {"connection_id":150365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:44:44] local.INFO: TCP Data received {"connection_id":150366,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:44] local.INFO: Processing buffer {"connection_id":150366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:44] local.INFO: IMEI packet received {"connection_id":150366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":150366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:44:45] local.INFO: TCP Data received {"connection_id":150366,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:45] local.INFO: Processing buffer {"connection_id":150366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:44:45] local.INFO: IMEI packet received {"connection_id":150366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":150366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:45:02] local.INFO: TCP Data received {"connection_id":150367,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:02] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:02] local.INFO: IMEI packet received {"connection_id":150367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":150367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:45:05] local.INFO: TCP Data received {"connection_id":150367,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:05] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:05] local.INFO: IMEI packet received {"connection_id":150367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":150367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:45:07] local.INFO: TCP Data received {"connection_id":150367,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:07] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:45:07] local.INFO: IMEI packet received {"connection_id":150367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":150367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:45:08] local.INFO: TCP Data received {"connection_id":150367,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11318e8012d1858c0072185d8004c012928..."} 
[2026-08-08 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11318e8012d1858c0072185d8004c012928..."} 
[2026-08-08 16:45:08] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11318e8012d1858c0072185d8004c012928..."} 
[2026-08-08 16:45:08] local.INFO: Packet analysis {"connection_id":150367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:45:08] local.INFO: Extracted packet for processing {"connection_id":150367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756570304,"raw_latitude":119637464,"longitude_deg":75.6570304,"latitude_deg":11.9637464,"altitude":76,"angle":297,"satellites":40,"speed":35,"hex_longitude":"2d1858c0","hex_latitude":"072185d8","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264012800001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581336363991040,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757107572743200768,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187553000,"timestamp_ms":1786187553000,"timestamp_seconds":1786187553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11318e8"} 
[2026-08-08 16:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:45: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-08-08 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-08 16:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264012800001,"66":14080,"105":206,"83":41984,"24":35,"16":11581336363991040,"45":1757107572743200768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264012800001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:45:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:45:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581336363991040,"km_value":11581336363991.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757107572743200768,"description":"Unknown IO ID 45"} 
[2026-08-08 16:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264012800001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1757107572743200768}} 
[2026-08-08 16:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":150367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:45:08] local.INFO: GPS data processed {"connection_id":150367,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:45:08] local.INFO: Acknowledgment sent {"connection_id":150367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:45:12] local.INFO: TCP Data received {"connection_id":150367,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11343e0012d18388007219488004d012325..."} 
[2026-08-08 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11343e0012d18388007219488004d012325..."} 
[2026-08-08 16:45:12] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11343e0012d18388007219488004d012325..."} 
[2026-08-08 16:45:12] local.INFO: Packet analysis {"connection_id":150367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:45:12] local.INFO: Extracted packet for processing {"connection_id":150367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756562048,"raw_latitude":119641224,"longitude_deg":75.6562048,"latitude_deg":11.9641224,"altitude":77,"angle":291,"satellites":37,"speed":29,"hex_longitude":"2d183880","hex_latitude":"07219488","is_valid_coordinates":true} 
[2026-08-08 16:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264013568001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581765860720640,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754363191720531968,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187564000,"timestamp_ms":1786187564000,"timestamp_seconds":1786187564,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11343e0"} 
[2026-08-08 16:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3776096160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950960,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:12] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,105,83,24,241,157,16,37,159,13,45,128,129,75,38,10,66,237,64,76,42,106,36,222,1,240,77,227,225,33,4,113,205,28,167,172,184,40,239,56,2,41,7,73,32],"length":479,"final_offset":609,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-08 16:45:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476703873636958208,"timestamp_seconds":5476703873636958.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264013568001,"66":14113,"105":206,"83":41984,"24":29,"16":11581765860720640,"45":1754363191720531968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264013568001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:45:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581765860720640,"km_value":11581765860720.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754363191720531968,"description":"Unknown IO ID 45"} 
[2026-08-08 16:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264013568001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1754363191720531968}} 
[2026-08-08 16:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":150367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:45:12] local.INFO: GPS data processed {"connection_id":150367,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:45:12] local.INFO: Acknowledgment sent {"connection_id":150367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:45:16] local.INFO: TCP Data received {"connection_id":150618,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:45:16] local.INFO: Processing buffer {"connection_id":150618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:45:16] local.INFO: IMEI packet received {"connection_id":150618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":150618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:45:20] local.INFO: TCP Data received {"connection_id":150618,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:45:20] local.INFO: Processing buffer {"connection_id":150618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:45:20] local.INFO: IMEI packet received {"connection_id":150618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":150618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:45:43] local.INFO: TCP Data received {"connection_id":150367,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1135b50012d182bc007219aa8004d013028..."} 
[2026-08-08 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1135b50012d182bc007219aa8004d013028..."} 
[2026-08-08 16:45:43] local.INFO: Processing buffer {"connection_id":150367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1135b50012d182bc007219aa8004d013028..."} 
[2026-08-08 16:45:43] local.INFO: Packet analysis {"connection_id":150367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:45:43] local.INFO: Extracted packet for processing {"connection_id":150367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119642792,"longitude_deg":75.6558784,"latitude_deg":11.9642792,"altitude":77,"angle":304,"satellites":40,"speed":16,"hex_longitude":"2d182bc0","hex_latitude":"07219aa8","is_valid_coordinates":true} 
[2026-08-08 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264016384001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581941954379776,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745285623722575872,"note":"Value kept but may cause issues"} 
[2026-08-08 16:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786187570000,"timestamp_ms":1786187570000,"timestamp_seconds":1786187570,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1135b50"} 
[2026-08-08 16:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:45: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-08-08 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 16:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264016384001,"66":14494,"105":206,"83":41984,"24":16,"16":11581941954379776,"45":1745285623722575872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264016384001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:45:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581941954379776,"km_value":11581941954379.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745285623722575872,"description":"Unknown IO ID 45"} 
[2026-08-08 16:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264016384001,"power":14494,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1745285623722575872}} 
[2026-08-08 16:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":150367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:45:43] local.INFO: GPS data processed {"connection_id":150367,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:45:43] local.INFO: Acknowledgment sent {"connection_id":150367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:46:01] local.INFO: TCP Data received {"connection_id":150619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:46:01] local.INFO: Processing buffer {"connection_id":150619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:46:01] local.INFO: IMEI packet received {"connection_id":150619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":150619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:46:07] local.INFO: TCP Data received {"connection_id":150619,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:46:07] local.INFO: Processing buffer {"connection_id":150619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:46:07] local.INFO: IMEI packet received {"connection_id":150619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":150619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:46:08] local.INFO: TCP Data received {"connection_id":150619,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1136320012d18294007219ca0004e013b27..."} 
[2026-08-08 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1136320012d18294007219ca0004e013b27..."} 
[2026-08-08 16:46:08] local.INFO: Processing buffer {"connection_id":150619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1136320012d18294007219ca0004e013b27..."} 
[2026-08-08 16:46:08] local.INFO: Packet analysis {"connection_id":150619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:46:08] local.INFO: Extracted packet for processing {"connection_id":150619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643296,"longitude_deg":75.6558144,"latitude_deg":11.9643296,"altitude":78,"angle":315,"satellites":39,"speed":14,"hex_longitude":"2d182940","hex_latitude":"07219ca0","is_valid_coordinates":true} 
[2026-08-08 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264017920001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11581980609085440,"note":"Value kept but may cause issues"} 
[2026-08-08 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769916416,"note":"Value kept but may cause issues"} 
[2026-08-08 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187572000,"timestamp_ms":1786187572000,"timestamp_seconds":1786187572,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1136320"} 
[2026-08-08 16:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:46: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-08-08 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-08 16:46:08] 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-08-08 16:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264017920001,"66":14450,"105":206,"83":41984,"24":14,"16":11581980609085440,"45":1741696817769916416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264017920001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:46:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11581980609085440,"km_value":11581980609085.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769916416,"description":"Unknown IO ID 45"} 
[2026-08-08 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264017920001,"power":14450,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1741696817769916416}} 
[2026-08-08 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":150619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:46:08] local.INFO: GPS data processed {"connection_id":150619,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:46:08] local.INFO: Acknowledgment sent {"connection_id":150619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:46:39] local.INFO: TCP Data received {"connection_id":150619,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1138e18012d181e400721a5b0004a012b27..."} 
[2026-08-08 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1138e18012d181e400721a5b0004a012b27..."} 
[2026-08-08 16:46:39] local.INFO: Processing buffer {"connection_id":150619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1138e18012d181e400721a5b0004a012b27..."} 
[2026-08-08 16:46:39] local.INFO: Packet analysis {"connection_id":150619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:46:39] local.INFO: Extracted packet for processing {"connection_id":150619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe113"} 
[2026-08-08 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645616,"longitude_deg":75.6555328,"latitude_deg":11.9645616,"altitude":74,"angle":299,"satellites":39,"speed":5,"hex_longitude":"2d181e40","hex_latitude":"0721a5b0","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264018432001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582156702744576,"note":"Value kept but may cause issues"} 
[2026-08-08 16:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328268800,"note":"Value kept but may cause issues"} 
[2026-08-08 16:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786187583000,"timestamp_ms":1786187583000,"timestamp_seconds":1786187583,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1138e18"} 
[2026-08-08 16:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:46: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-08-08 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 16:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264018432001,"66":14396,"105":206,"83":41984,"24":5,"16":11582156702744576,"45":1740993130328268800},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264018432001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:46:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582156702744576,"km_value":11582156702744.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328268800,"description":"Unknown IO ID 45"} 
[2026-08-08 16:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264018432001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740993130328268800}} 
[2026-08-08 16:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":150619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:46:39] local.INFO: GPS data processed {"connection_id":150619,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:46:39] local.INFO: Acknowledgment sent {"connection_id":150619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:47:07] local.INFO: TCP Data received {"connection_id":150621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:47:07] local.INFO: Processing buffer {"connection_id":150621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:47:07] local.INFO: IMEI packet received {"connection_id":150621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":150621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:47:11] local.INFO: TCP Data received {"connection_id":150621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:47:11] local.INFO: Processing buffer {"connection_id":150621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:47:11] local.INFO: IMEI packet received {"connection_id":150621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":150621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:47:12] local.INFO: TCP Data received {"connection_id":150621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1161e58012d1822c00721b698004b01532a..."} 
[2026-08-08 16:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1161e58012d1822c00721b698004b01532a..."} 
[2026-08-08 16:47:12] local.INFO: Processing buffer {"connection_id":150621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1161e58012d1822c00721b698004b01532a..."} 
[2026-08-08 16:47:12] local.INFO: Packet analysis {"connection_id":150621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe116"} 
[2026-08-08 16:47:12] local.INFO: Extracted packet for processing {"connection_id":150621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe116"} 
[2026-08-08 16:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-08 16:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264058880001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582444465553408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187751000,"timestamp_ms":1786187751000,"timestamp_seconds":1786187751,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1161e58"} 
[2026-08-08 16:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 16:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264058880001,"66":13080,"105":206,"83":41984,"24":0,"16":11582444465553408,"45":1739163542981351424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264058880001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582444465553408,"km_value":11582444465553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-08-08 16:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264058880001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-08-08 16:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":150621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:47:12] local.INFO: GPS data processed {"connection_id":150621,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:47:12] local.INFO: Acknowledgment sent {"connection_id":150621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:47:12] local.INFO: TCP Data received {"connection_id":150621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1167060012d1822c00721b698004b01532b..."} 
[2026-08-08 16:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1167060012d1822c00721b698004b01532b..."} 
[2026-08-08 16:47:12] local.INFO: Processing buffer {"connection_id":150621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1167060012d1822c00721b698004b01532b..."} 
[2026-08-08 16:47:12] local.INFO: Packet analysis {"connection_id":150621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe116"} 
[2026-08-08 16:47:12] local.INFO: Extracted packet for processing {"connection_id":150621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe116"} 
[2026-08-08 16:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":339,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-08 16:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264064256001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582444465553408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187772000,"timestamp_ms":1786187772000,"timestamp_seconds":1786187772,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1167060"} 
[2026-08-08 16:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 16:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264064256001,"66":13037,"105":206,"83":41984,"24":0,"16":11582444465553408,"45":1739163542981351424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264064256001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582444465553408,"km_value":11582444465553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-08-08 16:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264064256001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-08-08 16:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":150621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:47:12] local.INFO: GPS data processed {"connection_id":150621,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:47:12] local.INFO: Acknowledgment sent {"connection_id":150621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:47:43] local.INFO: TCP Data received {"connection_id":150621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe116c268012d1822c00721b698004b01532b..."} 
[2026-08-08 16:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe116c268012d1822c00721b698004b01532b..."} 
[2026-08-08 16:47:43] local.INFO: Processing buffer {"connection_id":150621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe116c268012d1822c00721b698004b01532b..."} 
[2026-08-08 16:47:43] local.INFO: Packet analysis {"connection_id":150621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe116"} 
[2026-08-08 16:47:43] local.INFO: Extracted packet for processing {"connection_id":150621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe116"} 
[2026-08-08 16:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":339,"satellites":43,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-08 16:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264069632001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582444465553408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786187793000,"timestamp_ms":1786187793000,"timestamp_seconds":1786187793,"priority":1,"record_length":96,"hex_timestamp":"0000019fe116c268"} 
[2026-08-08 16:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:47: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-08-08 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-08 16:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264069632001,"66":13015,"105":206,"83":41984,"24":0,"16":11582444465553408,"45":1739163542981351424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264069632001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:47:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:47:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582444465553408,"km_value":11582444465553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-08-08 16:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264069632001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-08-08 16:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":150621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:47:43] local.INFO: GPS data processed {"connection_id":150621,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:47:43] local.INFO: Acknowledgment sent {"connection_id":150621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:48:02] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:48:02] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:48:02] local.INFO: IMEI packet received {"connection_id":153061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":153061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:48:07] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:48:07] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:48:07] local.INFO: IMEI packet received {"connection_id":153061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":153061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:48:08] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1171470012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1171470012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:08] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1171470012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:08] local.INFO: Packet analysis {"connection_id":153061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe117"} 
[2026-08-08 16:48:08] local.INFO: Extracted packet for processing {"connection_id":153061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe117"} 
[2026-08-08 16:48:08] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-08 16:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264075008001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582444465553408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187814000,"timestamp_ms":1786187814000,"timestamp_seconds":1786187814,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1171470"} 
[2026-08-08 16:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:48: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-08-08 16:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 16:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264075008001,"66":13004,"105":206,"83":41984,"24":0,"16":11582444465553408,"45":1739163542981351424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264075008001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:48:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:48:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582444465553408,"km_value":11582444465553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-08-08 16:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264075008001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-08-08 16:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":153061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:48:08] local.INFO: GPS data processed {"connection_id":153061,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:48:08] local.INFO: Acknowledgment sent {"connection_id":153061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:48:12] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1176290012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1176290012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:12] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1176290012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:12] local.INFO: Packet analysis {"connection_id":153061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe117"} 
[2026-08-08 16:48:12] local.INFO: Extracted packet for processing {"connection_id":153061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe117"} 
[2026-08-08 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-08 16:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264080384001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582444465553408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786187834000,"timestamp_ms":1786187834000,"timestamp_seconds":1786187834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1176290"} 
[2026-08-08 16:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 16:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264080384001,"66":12819,"105":206,"83":41984,"24":0,"16":11582444465553408,"45":1739163542981351424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264080384001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:48:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582444465553408,"km_value":11582444465553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-08-08 16:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264080384001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-08-08 16:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":153061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:48:12] local.INFO: GPS data processed {"connection_id":153061,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:48:12] local.INFO: Acknowledgment sent {"connection_id":153061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:48:43] local.INFO: TCP Data received {"connection_id":153061,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1176290012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1176290012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:43] local.INFO: Processing buffer {"connection_id":153061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1176290012d1822c00721b698004b015329..."} 
[2026-08-08 16:48:43] local.INFO: Packet analysis {"connection_id":153061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe117"} 
[2026-08-08 16:48:43] local.INFO: Extracted packet for processing {"connection_id":153061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe117"} 
[2026-08-08 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649944,"longitude_deg":75.655648,"latitude_deg":11.9649944,"altitude":75,"angle":339,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b698","is_valid_coordinates":true} 
[2026-08-08 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264085504001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582444465553408,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981351424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786187834000,"timestamp_ms":1786187834000,"timestamp_seconds":1786187834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1176290"} 
[2026-08-08 16:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16: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-08-08 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":20830604958367744,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3776281160,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503776361447424,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":225,"raw_value":1524538847660614336,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063414859,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-08 16:48:43] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1342254360,"corrected_to":0} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":7205985260704681555,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429340156487095080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195106048,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84750506593296823,"note":"Value kept but may cause issues"} 
[2026-08-08 16:48:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,38,159,20,45,192,182,75,41,10,66,194,43,112,1,240,237,227,225,33,4,113,205,204,34,152,40,239,51,2,7,164,44,69,56],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":204,"original":1342254360,"validated":0}]} 
[2026-08-08 16:48:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404692463380070639,"timestamp_seconds":5404692463380070.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 16:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264085504001,"66":12819,"105":206,"83":41984,"24":0,"16":11582444465553408,"45":1739163542981351424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264085504001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:48:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:48:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582444465553408,"km_value":11582444465553.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981351424,"description":"Unknown IO ID 45"} 
[2026-08-08 16:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264085504001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981351424}} 
[2026-08-08 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":153061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:48:43] local.INFO: GPS data processed {"connection_id":153061,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:48:43] local.INFO: Acknowledgment sent {"connection_id":153061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:49:01] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:01] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:01] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:49:02] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:02] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:02] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:49:05] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:05] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:49:05] local.INFO: IMEI packet received {"connection_id":151567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":151567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:49:06] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1184138012d1823800721b7c80049010429..."} 
[2026-08-08 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1184138012d1823800721b7c80049010429..."} 
[2026-08-08 16:49:06] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1184138012d1823800721b7c80049010429..."} 
[2026-08-08 16:49:06] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:49:06] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650248,"longitude_deg":75.6556672,"latitude_deg":11.9650248,"altitude":73,"angle":260,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-08-08 16:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264099584001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582543249801216,"note":"Value kept but may cause issues"} 
[2026-08-08 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702315520,"note":"Value kept but may cause issues"} 
[2026-08-08 16:49: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-08-08 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786187891000,"timestamp_ms":1786187891000,"timestamp_seconds":1786187891,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1184138"} 
[2026-08-08 16:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-08 16:49: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-08-08 16:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264099584001,"66":14298,"105":206,"83":41984,"24":0,"16":11582543249801216,"45":1739515386702315520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264099584001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:49:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582543249801216,"km_value":11582543249801.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702315520,"description":"Unknown IO ID 45"} 
[2026-08-08 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264099584001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702315520}} 
[2026-08-08 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:49:06] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:49:06] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:49:37] local.INFO: TCP Data received {"connection_id":151567,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1184520012d1823000721b7d00049010f2b..."} 
[2026-08-08 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1184520012d1823000721b7d00049010f2b..."} 
[2026-08-08 16:49:37] local.INFO: Processing buffer {"connection_id":151567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1184520012d1823000721b7d00049010f2b..."} 
[2026-08-08 16:49:37] local.INFO: Packet analysis {"connection_id":151567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:49:37] local.INFO: Extracted packet for processing {"connection_id":151567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650256,"longitude_deg":75.6556544,"latitude_deg":11.9650256,"altitude":73,"angle":271,"satellites":43,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-08 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264100096001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582551839735808,"note":"Value kept but may cause issues"} 
[2026-08-08 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213962240,"note":"Value kept but may cause issues"} 
[2026-08-08 16:49: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-08-08 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786187892000,"timestamp_ms":1786187892000,"timestamp_seconds":1786187892,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1184520"} 
[2026-08-08 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-08 16:49: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-08-08 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264100096001,"66":14298,"105":206,"83":41984,"24":5,"16":11582551839735808,"45":1739374649213962240},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264100096001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:49:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582551839735808,"km_value":11582551839735.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213962240,"description":"Unknown IO ID 45"} 
[2026-08-08 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264100096001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213962240}} 
[2026-08-08 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":151567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:49:37] local.INFO: GPS data processed {"connection_id":151567,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:49:37] local.INFO: Acknowledgment sent {"connection_id":151567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:50:01] local.INFO: TCP Data received {"connection_id":150622,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:01] local.INFO: Processing buffer {"connection_id":150622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:01] local.INFO: IMEI packet received {"connection_id":150622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":150622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:50:01] local.INFO: TCP Data received {"connection_id":150622,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:01] local.INFO: Processing buffer {"connection_id":150622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:01] local.INFO: IMEI packet received {"connection_id":150622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":150622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:50:06] local.INFO: TCP Data received {"connection_id":150622,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:06] local.INFO: Processing buffer {"connection_id":150622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:50:06] local.INFO: IMEI packet received {"connection_id":150622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":150622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:50:07] local.INFO: TCP Data received {"connection_id":150622,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1184908012d1822800721b7e8004901202b..."} 
[2026-08-08 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1184908012d1822800721b7e8004901202b..."} 
[2026-08-08 16:50:07] local.INFO: Processing buffer {"connection_id":150622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1184908012d1822800721b7e8004901202b..."} 
[2026-08-08 16:50:07] local.INFO: Packet analysis {"connection_id":150622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:50:07] local.INFO: Extracted packet for processing {"connection_id":150622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119650280,"longitude_deg":75.6556416,"latitude_deg":11.965028,"altitude":73,"angle":288,"satellites":43,"speed":6,"hex_longitude":"2d182280","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-08-08 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264100352001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582560429670400,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725608960,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786187893000,"timestamp_ms":1786187893000,"timestamp_seconds":1786187893,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1184908"} 
[2026-08-08 16:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-08 16:50: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-08-08 16:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264100352001,"66":13646,"105":206,"83":41984,"24":6,"16":11582560429670400,"45":1739233911725608960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264100352001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582560429670400,"km_value":11582560429670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725608960,"description":"Unknown IO ID 45"} 
[2026-08-08 16:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264100352001,"power":13646,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725608960}} 
[2026-08-08 16:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":150622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:50:07] local.INFO: GPS data processed {"connection_id":150622,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:50:07] local.INFO: Acknowledgment sent {"connection_id":150622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:50:25] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:50:25] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:50:25] local.INFO: IMEI packet received {"connection_id":153063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":153063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:50:25] local.INFO: TCP Data received {"connection_id":153063,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe118ed18012ce0d14007475058006e001528..."} 
[2026-08-08 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe118ed18012ce0d14007475058006e001528..."} 
[2026-08-08 16:50:25] local.INFO: Processing buffer {"connection_id":153063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe118ed18012ce0d14007475058006e001528..."} 
[2026-08-08 16:50:25] local.INFO: Packet analysis {"connection_id":153063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:50:25] local.INFO: Extracted packet for processing {"connection_id":153063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:50:25] local.INFO: GPS Element Parsed {"raw_longitude":752931136,"raw_latitude":122114136,"longitude_deg":75.2931136,"latitude_deg":12.2114136,"altitude":110,"angle":21,"satellites":40,"speed":30,"hex_longitude":"2ce0d140","hex_latitude":"07475058","is_valid_coordinates":true} 
[2026-08-08 16:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264110848001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375628223276384256,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2247788764006242304,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786187935000,"timestamp_ms":1786187935000,"timestamp_seconds":1786187935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe118ed18"} 
[2026-08-08 16:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":153063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":153063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":153063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264110848001,"66":27919,"140":206,"83":43264,"24":30,"16":375628223276384256,"44":-2247788764006242304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,83,24,16,44]} 
[2026-08-08 16:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264110848001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:50:25] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 16:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375628223276384256,"km_value":375628223276384.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2247788764006242304,"description":"Unknown IO ID 44"} 
[2026-08-08 16:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264110848001,"power":27919,"unknown_140":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-2247788764006242304}} 
[2026-08-08 16:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":153063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:50:25] local.INFO: GPS data processed {"connection_id":153063,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:50:25] local.INFO: Acknowledgment sent {"connection_id":153063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:50:38] local.INFO: TCP Data received {"connection_id":150622,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11850d8012d1821800721b8300049012d2b..."} 
[2026-08-08 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11850d8012d1821800721b8300049012d2b..."} 
[2026-08-08 16:50:38] local.INFO: Processing buffer {"connection_id":150622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11850d8012d1821800721b8300049012d2b..."} 
[2026-08-08 16:50:38] local.INFO: Packet analysis {"connection_id":150622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:50:38] local.INFO: Extracted packet for processing {"connection_id":150622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe118"} 
[2026-08-08 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119650352,"longitude_deg":75.655616,"latitude_deg":11.9650352,"altitude":73,"angle":301,"satellites":43,"speed":4,"hex_longitude":"2d182180","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-08 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264100608001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582569019604992,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237259776,"note":"Value kept but may cause issues"} 
[2026-08-08 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786187895000,"timestamp_ms":1786187895000,"timestamp_seconds":1786187895,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11850d8"} 
[2026-08-08 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 16:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264100608001,"66":13352,"105":206,"83":41984,"24":4,"16":11582569019604992,"45":1739093174237259776},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264100608001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:50:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582569019604992,"km_value":11582569019604.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237259776,"description":"Unknown IO ID 45"} 
[2026-08-08 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264100608001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739093174237259776}} 
[2026-08-08 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":150622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:50:38] local.INFO: GPS data processed {"connection_id":150622,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:50:38] local.INFO: Acknowledgment sent {"connection_id":150622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:51:01] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:01] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:01] local.INFO: IMEI packet received {"connection_id":153064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":153064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:51:04] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:04] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:04] local.INFO: IMEI packet received {"connection_id":153064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":153064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:51:04] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:51:04] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:51:04] local.INFO: IMEI packet received {"connection_id":151568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:51:07] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:07] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:07] local.INFO: IMEI packet received {"connection_id":153064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":153064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:51:08] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe119ac80012d181ac00721b9c0004c00982b..."} 
[2026-08-08 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe119ac80012d181ac00721b9c0004c00982b..."} 
[2026-08-08 16:51:08] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe119ac80012d181ac00721b9c0004c00982b..."} 
[2026-08-08 16:51:08] local.INFO: Packet analysis {"connection_id":153064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe119"} 
[2026-08-08 16:51:08] local.INFO: Extracted packet for processing {"connection_id":153064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe119"} 
[2026-08-08 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119650752,"longitude_deg":75.6554432,"latitude_deg":11.9650752,"altitude":76,"angle":152,"satellites":43,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264118528001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582710753525760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167873024,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786187984000,"timestamp_ms":1786187984000,"timestamp_seconds":1786187984,"priority":1,"record_length":96,"hex_timestamp":"0000019fe119ac80"} 
[2026-08-08 16:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:51: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-08-08 16:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 16:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264118528001,"66":13080,"105":206,"83":41984,"24":0,"16":11582710753525760,"45":1736911743167873024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264118528001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:51:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:51:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582710753525760,"km_value":11582710753525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167873024,"description":"Unknown IO ID 45"} 
[2026-08-08 16:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264118528001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743167873024}} 
[2026-08-08 16:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":153064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:51:08] local.INFO: GPS data processed {"connection_id":153064,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:51:08] local.INFO: Acknowledgment sent {"connection_id":153064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:51:10] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:51:10] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:51:10] local.INFO: IMEI packet received {"connection_id":151568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":151568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:51:10] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe119cfa8012ce169c00747bae00074005625..."} 
[2026-08-08 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe119cfa8012ce169c00747bae00074005625..."} 
[2026-08-08 16:51:10] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe119cfa8012ce169c00747bae00074005625..."} 
[2026-08-08 16:51:10] local.INFO: Packet analysis {"connection_id":151568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe119"} 
[2026-08-08 16:51:10] local.INFO: Extracted packet for processing {"connection_id":151568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe119"} 
[2026-08-08 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":752970176,"raw_latitude":122141408,"longitude_deg":75.2970176,"latitude_deg":12.2141408,"altitude":116,"angle":86,"satellites":37,"speed":24,"hex_longitude":"2ce169c0","hex_latitude":"0747bae0","is_valid_coordinates":true} 
[2026-08-08 16:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264125184001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375630710062448640,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2206693417399040000,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786187993000,"timestamp_ms":1786187993000,"timestamp_seconds":1786187993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe119cfa8"} 
[2026-08-08 16:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264125184001,"66":27930,"140":206,"83":43264,"24":24,"16":375630710062448640,"44":-2206693417399040000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,83,24,16,44]} 
[2026-08-08 16:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264125184001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:51:10] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 16:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375630710062448640,"km_value":375630710062448.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2206693417399040000,"description":"Unknown IO ID 44"} 
[2026-08-08 16:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264125184001,"power":27930,"unknown_140":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-2206693417399040000}} 
[2026-08-08 16:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":151568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:51:10] local.INFO: GPS data processed {"connection_id":151568,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:51:10] local.INFO: Acknowledgment sent {"connection_id":151568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:51:39] local.INFO: TCP Data received {"connection_id":153064,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:51:39] local.INFO: Processing buffer {"connection_id":153064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:51:39] local.INFO: Packet analysis {"connection_id":153064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11a"} 
[2026-08-08 16:51:39] local.INFO: Extracted packet for processing {"connection_id":153064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11a"} 
[2026-08-08 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119650752,"longitude_deg":75.6554496,"latitude_deg":11.9650752,"altitude":76,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d181b00","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:51: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-08-08 16:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264141824001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582710753525760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167873024,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786188055000,"timestamp_ms":1786188055000,"timestamp_seconds":1786188055,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11ac1d8"} 
[2026-08-08 16:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 16:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 16:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264141824001,"66":3014,"105":206,"83":41984,"24":0,"16":11582710753525760,"45":1736911743167873024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264141824001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:51:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:51:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582710753525760,"km_value":11582710753525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167873024,"description":"Unknown IO ID 45"} 
[2026-08-08 16:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264141824001,"power":3014,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743167873024}} 
[2026-08-08 16:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":153064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:51:39] local.INFO: GPS data processed {"connection_id":153064,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:51:39] local.INFO: Acknowledgment sent {"connection_id":153064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:51:43] local.INFO: TCP Data received {"connection_id":151568,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe119d778012ce16e800747bbc80075004427..."} 
[2026-08-08 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe119d778012ce16e800747bbc80075004427..."} 
[2026-08-08 16:51:43] local.INFO: Processing buffer {"connection_id":151568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe119d778012ce16e800747bbc80075004427..."} 
[2026-08-08 16:51:43] local.INFO: Packet analysis {"connection_id":151568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe119"} 
[2026-08-08 16:51:43] local.INFO: Extracted packet for processing {"connection_id":151568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe119"} 
[2026-08-08 16:51:43] local.INFO: GPS Element Parsed {"raw_longitude":752971392,"raw_latitude":122141640,"longitude_deg":75.2971392,"latitude_deg":12.214164,"altitude":117,"angle":68,"satellites":39,"speed":22,"hex_longitude":"2ce16e80","hex_latitude":"0747bbc8","is_valid_coordinates":true} 
[2026-08-08 16:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264126208001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375630770191990784,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2204019405120413696,"note":"Value kept but may cause issues"} 
[2026-08-08 16:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786187995000,"timestamp_ms":1786187995000,"timestamp_seconds":1786187995,"priority":1,"record_length":96,"hex_timestamp":"0000019fe119d778"} 
[2026-08-08 16:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:51: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-08-08 16:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264126208001,"66":27876,"140":206,"83":43264,"24":22,"16":375630770191990784,"44":-2204019405120413696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,83,24,16,44]} 
[2026-08-08 16:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264126208001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:51:43] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 16:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375630770191990784,"km_value":375630770191990.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2204019405120413696,"description":"Unknown IO ID 44"} 
[2026-08-08 16:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264126208001,"power":27876,"unknown_140":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-2204019405120413696}} 
[2026-08-08 16:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":151568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:51:43] local.INFO: GPS data processed {"connection_id":151568,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:51:43] local.INFO: Acknowledgment sent {"connection_id":151568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:51:58] local.INFO: TCP Data received {"connection_id":150623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:58] local.INFO: Processing buffer {"connection_id":150623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:51:58] local.INFO: IMEI packet received {"connection_id":150623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":150623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:52:02] local.INFO: TCP Data received {"connection_id":150623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:52:02] local.INFO: Processing buffer {"connection_id":150623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:52:02] local.INFO: IMEI packet received {"connection_id":150623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":150623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:52:06] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:06] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:06] local.INFO: IMEI packet received {"connection_id":153065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":153065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:52:07] local.INFO: TCP Data received {"connection_id":150623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:52:07] local.INFO: Processing buffer {"connection_id":150623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:52:07] local.INFO: IMEI packet received {"connection_id":150623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":150623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:52:08] local.INFO: TCP Data received {"connection_id":150623,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:52:08] local.INFO: Processing buffer {"connection_id":150623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:52:08] local.INFO: Packet analysis {"connection_id":150623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11a"} 
[2026-08-08 16:52:08] local.INFO: Extracted packet for processing {"connection_id":150623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11a"} 
[2026-08-08 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119650752,"longitude_deg":75.6554496,"latitude_deg":11.9650752,"altitude":76,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d181b00","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:52: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-08-08 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264142080001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582710753525760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111912050688,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786188055000,"timestamp_ms":1786188055000,"timestamp_seconds":1786188055,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11ac1d8"} 
[2026-08-08 16:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:52: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-08-08 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-08 16:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264142080001,"66":3014,"105":206,"83":41984,"24":0,"16":11582710753525760,"45":1736982111912050688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264142080001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:52:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582710753525760,"km_value":11582710753525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111912050688,"description":"Unknown IO ID 45"} 
[2026-08-08 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264142080001,"power":3014,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736982111912050688}} 
[2026-08-08 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":150623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:52:08] local.INFO: GPS data processed {"connection_id":150623,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:52:08] local.INFO: Acknowledgment sent {"connection_id":150623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:52:10] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:10] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:10] local.INFO: IMEI packet received {"connection_id":153065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":153065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:52:14] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:14] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:52:14] local.INFO: IMEI packet received {"connection_id":153065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":153065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:52:15] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b2768012ce2364007485b380086004627..."} 
[2026-08-08 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b2768012ce2364007485b380086004627..."} 
[2026-08-08 16:52:15] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b2768012ce2364007485b380086004627..."} 
[2026-08-08 16:52:15] local.INFO: Packet analysis {"connection_id":153065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:52:15] local.INFO: Extracted packet for processing {"connection_id":153065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":753022528,"raw_latitude":122182456,"longitude_deg":75.3022528,"latitude_deg":12.2182456,"altitude":134,"angle":70,"satellites":39,"speed":45,"hex_longitude":"2ce23640","hex_latitude":"07485b38","is_valid_coordinates":true} 
[2026-08-08 16:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264146688001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375634055841972224,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2155957552837294080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786188081000,"timestamp_ms":1786188081000,"timestamp_seconds":1786188081,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b2768"} 
[2026-08-08 16:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 16:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16: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-08-08 16:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264146688001,"66":27984,"141":206,"83":43264,"24":45,"16":375634055841972224,"44":-2155957552837294080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264146688001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:52:15] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375634055841972224,"km_value":375634055841972.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2155957552837294080,"description":"Unknown IO ID 44"} 
[2026-08-08 16:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264146688001,"power":27984,"unknown_141":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-2155957552837294080}} 
[2026-08-08 16:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":153065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:52:15] local.INFO: GPS data processed {"connection_id":153065,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:52:15] local.INFO: Acknowledgment sent {"connection_id":153065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:52:16] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b42c0012ce254c0074868380087003b25..."} 
[2026-08-08 16:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b42c0012ce254c0074868380087003b25..."} 
[2026-08-08 16:52:16] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b42c0012ce254c0074868380087003b25..."} 
[2026-08-08 16:52:16] local.INFO: Packet analysis {"connection_id":153065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:52:16] local.INFO: Extracted packet for processing {"connection_id":153065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:52:16] local.INFO: GPS Element Parsed {"raw_longitude":753030336,"raw_latitude":122185784,"longitude_deg":75.3030336,"latitude_deg":12.2185784,"altitude":135,"angle":59,"satellites":37,"speed":47,"hex_longitude":"2ce254c0","hex_latitude":"07486838","is_valid_coordinates":true} 
[2026-08-08 16:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264148736001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375634459568898048,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2146457772372576256,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786188088000,"timestamp_ms":1786188088000,"timestamp_seconds":1786188088,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b42c0"} 
[2026-08-08 16:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 16:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264148736001,"66":27908,"141":206,"83":43264,"24":47,"16":375634459568898048,"44":-2146457772372576256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264148736001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:52:16] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375634459568898048,"km_value":375634459568898.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2146457772372576256,"description":"Unknown IO ID 44"} 
[2026-08-08 16:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264148736001,"power":27908,"unknown_141":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-2146457772372576256}} 
[2026-08-08 16:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":153065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:52:16] local.INFO: GPS data processed {"connection_id":153065,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:52:16] local.INFO: Acknowledgment sent {"connection_id":153065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:52:39] local.INFO: TCP Data received {"connection_id":150623,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:52:39] local.INFO: Processing buffer {"connection_id":150623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11ac1d8012d181b000721b9c0004c00982c..."} 
[2026-08-08 16:52:39] local.INFO: Packet analysis {"connection_id":150623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11a"} 
[2026-08-08 16:52:39] local.INFO: Extracted packet for processing {"connection_id":150623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11a"} 
[2026-08-08 16:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119650752,"longitude_deg":75.6554496,"latitude_deg":11.9650752,"altitude":76,"angle":152,"satellites":44,"speed":0,"hex_longitude":"2d181b00","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264142080001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582710753525760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111912050688,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786188055000,"timestamp_ms":1786188055000,"timestamp_seconds":1786188055,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11ac1d8"} 
[2026-08-08 16:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:52: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-08-08 16:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-08 16:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264142080001,"66":3014,"105":206,"83":41984,"24":0,"16":11582710753525760,"45":1736982111912050688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264142080001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:52:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582710753525760,"km_value":11582710753525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111912050688,"description":"Unknown IO ID 45"} 
[2026-08-08 16:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264142080001,"power":3014,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736982111912050688}} 
[2026-08-08 16:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":150623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:52:39] local.INFO: GPS data processed {"connection_id":150623,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:52:39] local.INFO: Acknowledgment sent {"connection_id":150623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:52:47] local.INFO: TCP Data received {"connection_id":153065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b6200012ce2730007487d080089003428..."} 
[2026-08-08 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b6200012ce2730007487d080089003428..."} 
[2026-08-08 16:52:47] local.INFO: Processing buffer {"connection_id":153065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b6200012ce2730007487d080089003428..."} 
[2026-08-08 16:52:47] local.INFO: Packet analysis {"connection_id":153065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:52:47] local.INFO: Extracted packet for processing {"connection_id":153065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":753038080,"raw_latitude":122191112,"longitude_deg":75.303808,"latitude_deg":12.2191112,"altitude":137,"angle":52,"satellites":40,"speed":46,"hex_longitude":"2ce27300","hex_latitude":"07487d08","is_valid_coordinates":true} 
[2026-08-08 16:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264150528001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375634906245496832,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2137872785582049280,"note":"Value kept but may cause issues"} 
[2026-08-08 16:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786188096000,"timestamp_ms":1786188096000,"timestamp_seconds":1786188096,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b6200"} 
[2026-08-08 16:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264150528001,"66":27974,"141":206,"83":43264,"24":46,"16":375634906245496832,"44":-2137872785582049280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264150528001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:52:47] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375634906245496832,"km_value":375634906245496.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2137872785582049280,"description":"Unknown IO ID 44"} 
[2026-08-08 16:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264150528001,"power":27974,"unknown_141":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-2137872785582049280}} 
[2026-08-08 16:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":153065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:52:47] local.INFO: GPS data processed {"connection_id":153065,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:52:47] local.INFO: Acknowledgment sent {"connection_id":153065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:53:02] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:53:02] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:53:02] local.INFO: IMEI packet received {"connection_id":151569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":151569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:53:06] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:53:06] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:53:06] local.INFO: IMEI packet received {"connection_id":151569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":151569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:53:06] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:06] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:06] local.INFO: IMEI packet received {"connection_id":150624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":150624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:53:07] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b2380012d181ac00721b9c0004c009829..."} 
[2026-08-08 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b2380012d181ac00721b9c0004c009829..."} 
[2026-08-08 16:53:07] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b2380012d181ac00721b9c0004c009829..."} 
[2026-08-08 16:53:07] local.INFO: Packet analysis {"connection_id":151569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:07] local.INFO: Extracted packet for processing {"connection_id":151569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119650752,"longitude_deg":75.6554432,"latitude_deg":11.9650752,"altitude":76,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264142080001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582710753525760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111912050688,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786188080000,"timestamp_ms":1786188080000,"timestamp_seconds":1786188080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b2380"} 
[2026-08-08 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-08 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2035,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264142080001,"66":13917,"105":206,"83":41984,"24":0,"16":11582710753525760,"45":1736982111912050688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264142080001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582710753525760,"km_value":11582710753525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111912050688,"description":"Unknown IO ID 45"} 
[2026-08-08 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264142080001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736982111912050688}} 
[2026-08-08 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":151569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:53:07] local.INFO: GPS data processed {"connection_id":151569,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:53:07] local.INFO: Acknowledgment sent {"connection_id":151569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:53:07] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:07] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:07] local.INFO: IMEI packet received {"connection_id":150624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":150624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:53:08] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:08] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:53:08] local.INFO: IMEI packet received {"connection_id":150624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":150624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:53:13] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b8140012ce29040074892c8008b003529..."} 
[2026-08-08 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b8140012ce29040074892c8008b003529..."} 
[2026-08-08 16:53:13] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b8140012ce29040074892c8008b003529..."} 
[2026-08-08 16:53:13] local.INFO: Packet analysis {"connection_id":150624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:13] local.INFO: Extracted packet for processing {"connection_id":150624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753045568,"raw_latitude":122196680,"longitude_deg":75.3045568,"latitude_deg":12.219668,"altitude":139,"angle":53,"satellites":41,"speed":45,"hex_longitude":"2ce29040","hex_latitude":"074892c8","is_valid_coordinates":true} 
[2026-08-08 16:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264152576001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375635352922095616,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2129358167535187968,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786188104000,"timestamp_ms":1786188104000,"timestamp_seconds":1786188104,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b8140"} 
[2026-08-08 16:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 16:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264152576001,"66":27876,"141":206,"83":43264,"24":45,"16":375635352922095616,"44":-2129358167535187968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264152576001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375635352922095616,"km_value":375635352922095.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2129358167535187968,"description":"Unknown IO ID 44"} 
[2026-08-08 16:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264152576001,"power":27876,"unknown_141":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-2129358167535187968}} 
[2026-08-08 16:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":150624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:53:13] local.INFO: GPS data processed {"connection_id":150624,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:53:13] local.INFO: Acknowledgment sent {"connection_id":150624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:53:13] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11ba080012ce2adc00748a808008d003629..."} 
[2026-08-08 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11ba080012ce2adc00748a808008d003629..."} 
[2026-08-08 16:53:13] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11ba080012ce2adc00748a808008d003629..."} 
[2026-08-08 16:53:13] local.INFO: Packet analysis {"connection_id":150624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:13] local.INFO: Extracted packet for processing {"connection_id":150624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753053120,"raw_latitude":122202120,"longitude_deg":75.305312,"latitude_deg":12.220212,"altitude":141,"angle":54,"satellites":41,"speed":45,"hex_longitude":"2ce2adc0","hex_latitude":"0748a808","is_valid_coordinates":true} 
[2026-08-08 16:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264154624001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375635799598694400,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2121125024464975872,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786188112000,"timestamp_ms":1786188112000,"timestamp_seconds":1786188112,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11ba080"} 
[2026-08-08 16:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 16:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264154624001,"66":27908,"141":206,"83":43264,"24":45,"16":375635799598694400,"44":-2121125024464975872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264154624001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375635799598694400,"km_value":375635799598694.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2121125024464975872,"description":"Unknown IO ID 44"} 
[2026-08-08 16:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264154624001,"power":27908,"unknown_141":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-2121125024464975872}} 
[2026-08-08 16:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":150624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:53:13] local.INFO: GPS data processed {"connection_id":150624,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:53:13] local.INFO: Acknowledgment sent {"connection_id":150624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:53:14] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11bbfc0012ce2cb800748bc48008f003a28..."} 
[2026-08-08 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11bbfc0012ce2cb800748bc48008f003a28..."} 
[2026-08-08 16:53:14] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11bbfc0012ce2cb800748bc48008f003a28..."} 
[2026-08-08 16:53:14] local.INFO: Packet analysis {"connection_id":150624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:14] local.INFO: Extracted packet for processing {"connection_id":150624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":753060736,"raw_latitude":122207304,"longitude_deg":75.3060736,"latitude_deg":12.2207304,"altitude":143,"angle":58,"satellites":40,"speed":44,"hex_longitude":"2ce2cb80","hex_latitude":"0748bc48","is_valid_coordinates":true} 
[2026-08-08 16:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264156672001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375636237685358592,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2112821512650618880,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786188120000,"timestamp_ms":1786188120000,"timestamp_seconds":1786188120,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11bbfc0"} 
[2026-08-08 16:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264156672001,"66":27930,"141":206,"83":43264,"24":44,"16":375636237685358592,"44":-2112821512650618880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264156672001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:53:14] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375636237685358592,"km_value":375636237685358.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2112821512650618880,"description":"Unknown IO ID 44"} 
[2026-08-08 16:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264156672001,"power":27930,"unknown_141":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-2112821512650618880}} 
[2026-08-08 16:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:53:14] local.INFO: GPS data processed {"connection_id":150624,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:53:14] local.INFO: Acknowledgment sent {"connection_id":150624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:53:38] local.INFO: TCP Data received {"connection_id":151569,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b7588012d181ac00721b9c0004c009828..."} 
[2026-08-08 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b7588012d181ac00721b9c0004c009828..."} 
[2026-08-08 16:53:38] local.INFO: Processing buffer {"connection_id":151569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b7588012d181ac00721b9c0004c009828..."} 
[2026-08-08 16:53:38] local.INFO: Packet analysis {"connection_id":151569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:38] local.INFO: Extracted packet for processing {"connection_id":151569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119650752,"longitude_deg":75.6554432,"latitude_deg":11.9650752,"altitude":76,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264148480001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582710753525760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167873024,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786188101000,"timestamp_ms":1786188101000,"timestamp_seconds":1786188101,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b7588"} 
[2026-08-08 16:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-08 16:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264148480001,"66":14048,"105":206,"83":41984,"24":0,"16":11582710753525760,"45":1736911743167873024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264148480001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:53:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582710753525760,"km_value":11582710753525.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167873024,"description":"Unknown IO ID 45"} 
[2026-08-08 16:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264148480001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743167873024}} 
[2026-08-08 16:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":151569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:53:38] local.INFO: GPS data processed {"connection_id":151569,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:53:38] local.INFO: Acknowledgment sent {"connection_id":151569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:53:48] local.INFO: TCP Data received {"connection_id":150624,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11be2e8012ce2ecc00748d1200091003929..."} 
[2026-08-08 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11be2e8012ce2ecc00748d1200091003929..."} 
[2026-08-08 16:53:48] local.INFO: Processing buffer {"connection_id":150624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11be2e8012ce2ecc00748d1200091003929..."} 
[2026-08-08 16:53:48] local.INFO: Packet analysis {"connection_id":150624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:48] local.INFO: Extracted packet for processing {"connection_id":150624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:53:48] local.INFO: GPS Element Parsed {"raw_longitude":753069248,"raw_latitude":122212640,"longitude_deg":75.3069248,"latitude_deg":12.221264,"altitude":145,"angle":57,"satellites":41,"speed":43,"hex_longitude":"2ce2ecc0","hex_latitude":"0748d120","is_valid_coordinates":true} 
[2026-08-08 16:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264158720001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375636714426728448,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2104447632092149760,"note":"Value kept but may cause issues"} 
[2026-08-08 16:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786188129000,"timestamp_ms":1786188129000,"timestamp_seconds":1786188129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11be2e8"} 
[2026-08-08 16:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264158720001,"66":27887,"141":206,"83":43264,"24":43,"16":375636714426728448,"44":-2104447632092149760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,83,24,16,44]} 
[2026-08-08 16:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264158720001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:53:48] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 16:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375636714426728448,"km_value":375636714426728.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:53:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2104447632092149760,"description":"Unknown IO ID 44"} 
[2026-08-08 16:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264158720001,"power":27887,"unknown_141":206,"unknown_83":43264,"ignition":43,"odometer":null,"unknown_44":-2104447632092149760}} 
[2026-08-08 16:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":150624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:53:48] local.INFO: GPS data processed {"connection_id":150624,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:53:48] local.INFO: Acknowledgment sent {"connection_id":150624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:54:02] local.INFO: TCP Data received {"connection_id":150369,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:54:02] local.INFO: Processing buffer {"connection_id":150369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:54:02] local.INFO: IMEI packet received {"connection_id":150369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":150369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:54:02] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:02] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:02] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:54:05] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:05] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:05] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:54:05] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:05] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:05] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:54:07] local.INFO: TCP Data received {"connection_id":150369,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:54:07] local.INFO: Processing buffer {"connection_id":150369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:54:07] local.INFO: IMEI packet received {"connection_id":150369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":150369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:54:08] local.INFO: TCP Data received {"connection_id":150369,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11b8140012d181d000721b9c0004700672a..."} 
[2026-08-08 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11b8140012d181d000721b9c0004700672a..."} 
[2026-08-08 16:54:08] local.INFO: Processing buffer {"connection_id":150369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11b8140012d181d000721b9c0004700672a..."} 
[2026-08-08 16:54:08] local.INFO: Packet analysis {"connection_id":150369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:54:08] local.INFO: Extracted packet for processing {"connection_id":150369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11b"} 
[2026-08-08 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119650752,"longitude_deg":75.6555008,"latitude_deg":11.9650752,"altitude":71,"angle":103,"satellites":42,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721b9c0","is_valid_coordinates":true} 
[2026-08-08 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264153856001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11582740818296832,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743167873024,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786188104000,"timestamp_ms":1786188104000,"timestamp_seconds":1786188104,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11b8140"} 
[2026-08-08 16:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:54: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-08-08 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 16:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264153856001,"66":14004,"105":206,"83":41984,"24":3,"16":11582740818296832,"45":1736911743167873024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264153856001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11582740818296832,"km_value":11582740818296.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743167873024,"description":"Unknown IO ID 45"} 
[2026-08-08 16:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264153856001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1736911743167873024}} 
[2026-08-08 16:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":150369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:54:08] local.INFO: GPS data processed {"connection_id":150369,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:54:08] local.INFO: Acknowledgment sent {"connection_id":150369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:54:10] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:10] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:54:10] local.INFO: IMEI packet received {"connection_id":151570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":151570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:54:11] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11cb5d8012ce3a1c007491ad0009e007529..."} 
[2026-08-08 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11cb5d8012ce3a1c007491ad0009e007529..."} 
[2026-08-08 16:54:11] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11cb5d8012ce3a1c007491ad0009e007529..."} 
[2026-08-08 16:54:11] local.INFO: Packet analysis {"connection_id":151570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11c"} 
[2026-08-08 16:54:11] local.INFO: Extracted packet for processing {"connection_id":151570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11c"} 
[2026-08-08 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":753115584,"raw_latitude":122231504,"longitude_deg":75.3115584,"latitude_deg":12.2231504,"altitude":158,"angle":117,"satellites":41,"speed":28,"hex_longitude":"2ce3a1c0","hex_latitude":"07491ad0","is_valid_coordinates":true} 
[2026-08-08 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264172544001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375639334356779008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2051178492742830080,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:11] 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-08-08 16:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786188183000,"timestamp_ms":1786188183000,"timestamp_seconds":1786188183,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11cb5d8"} 
[2026-08-08 16:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 16:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:54: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-08-08 16:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264172544001,"66":27908,"26":206,"83":43264,"24":28,"16":375639334356779008,"44":-2051178492742830080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 16:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264172544001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:54:11] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 16:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375639334356779008,"km_value":375639334356779.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2051178492742830080,"description":"Unknown IO ID 44"} 
[2026-08-08 16:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264172544001,"power":27908,"unknown_26":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-2051178492742830080}} 
[2026-08-08 16:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":151570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:54:11] local.INFO: GPS data processed {"connection_id":151570,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:54:11] local.INFO: Acknowledgment sent {"connection_id":151570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:54:39] local.INFO: TCP Data received {"connection_id":150369,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11d65a0012d189a0007226e80006a00e328..."} 
[2026-08-08 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11d65a0012d189a0007226e80006a00e328..."} 
[2026-08-08 16:54:39] local.INFO: Processing buffer {"connection_id":150369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11d65a0012d189a0007226e80006a00e328..."} 
[2026-08-08 16:54:39] local.INFO: Packet analysis {"connection_id":150369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:54:39] local.INFO: Extracted packet for processing {"connection_id":150369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756587008,"raw_latitude":119697024,"longitude_deg":75.6587008,"latitude_deg":11.9697024,"altitude":106,"angle":227,"satellites":40,"speed":1,"hex_longitude":"2d189a00","hex_latitude":"07226e80","is_valid_coordinates":true} 
[2026-08-08 16:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264186112001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585566906777600,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772729433966157824,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786188228000,"timestamp_ms":1786188228000,"timestamp_seconds":1786188228,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11d65a0"} 
[2026-08-08 16:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:54: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-08-08 16:54: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":248,"data_length":795,"current_offset":136} 
[2026-08-08 16:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264186112001,"66":13048,"105":206,"83":41984,"24":1,"16":11585566906777600,"45":1772729433966157824},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264186112001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:54:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585566906777600,"km_value":11585566906777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772729433966157824,"description":"Unknown IO ID 45"} 
[2026-08-08 16:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264186112001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1772729433966157824}} 
[2026-08-08 16:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":150369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:54:39] local.INFO: GPS data processed {"connection_id":150369,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:54:39] local.INFO: Acknowledgment sent {"connection_id":150369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:54:42] local.INFO: TCP Data received {"connection_id":151570,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11ce4b8012ce3bf8007490d6800a3006529..."} 
[2026-08-08 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11ce4b8012ce3bf8007490d6800a3006529..."} 
[2026-08-08 16:54:42] local.INFO: Processing buffer {"connection_id":151570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11ce4b8012ce3bf8007490d6800a3006529..."} 
[2026-08-08 16:54:42] local.INFO: Packet analysis {"connection_id":151570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11c"} 
[2026-08-08 16:54:42] local.INFO: Extracted packet for processing {"connection_id":151570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11c"} 
[2026-08-08 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":753123200,"raw_latitude":122228072,"longitude_deg":75.31232,"latitude_deg":12.2228072,"altitude":163,"angle":101,"satellites":41,"speed":24,"hex_longitude":"2ce3bf80","hex_latitude":"07490d68","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264174848001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375639729493770240,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2044141618325696512,"note":"Value kept but may cause issues"} 
[2026-08-08 16:54:42] 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-08-08 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786188195000,"timestamp_ms":1786188195000,"timestamp_seconds":1786188195,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11ce4b8"} 
[2026-08-08 16:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 16:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16: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-08-08 16:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 16:54: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-08-08 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264174848001,"66":27343,"26":206,"83":43264,"24":24,"16":375639729493770240,"44":-2044141618325696512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-08-08 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264174848001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:54:42] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 16:54:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-08-08 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375639729493770240,"km_value":375639729493770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2044141618325696512,"description":"Unknown IO ID 44"} 
[2026-08-08 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264174848001,"power":27343,"unknown_26":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-2044141618325696512}} 
[2026-08-08 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":151570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:54:42] local.INFO: GPS data processed {"connection_id":151570,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:54:42] local.INFO: Acknowledgment sent {"connection_id":151570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:55:02] local.INFO: TCP Data received {"connection_id":150370,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:55:02] local.INFO: Processing buffer {"connection_id":150370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:55:02] local.INFO: IMEI packet received {"connection_id":150370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":150370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:55:05] local.INFO: TCP Data received {"connection_id":150625,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:55:05] local.INFO: Processing buffer {"connection_id":150625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:55:05] local.INFO: IMEI packet received {"connection_id":150625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":150625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:55:05] local.INFO: TCP Data received {"connection_id":150625,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150625,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:55:05] local.INFO: Processing buffer {"connection_id":150625,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:55:05] local.INFO: IMEI packet received {"connection_id":150625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":150625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:55:06] local.INFO: TCP Data received {"connection_id":150625,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 16:55:06] local.INFO: Processing buffer {"connection_id":150625,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 16:55:06] local.INFO: IMEI packet received {"connection_id":150625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":150625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:55:07] local.INFO: TCP Data received {"connection_id":150370,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:55:07] local.INFO: Processing buffer {"connection_id":150370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:55:07] local.INFO: IMEI packet received {"connection_id":150370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":150370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:55:08] local.INFO: TCP Data received {"connection_id":150370,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11d7158012d1899c007226e00006a00cc27..."} 
[2026-08-08 16:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11d7158012d1899c007226e00006a00cc27..."} 
[2026-08-08 16:55:08] local.INFO: Processing buffer {"connection_id":150370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11d7158012d1899c007226e00006a00cc27..."} 
[2026-08-08 16:55:08] local.INFO: Packet analysis {"connection_id":150370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:55:08] local.INFO: Extracted packet for processing {"connection_id":150370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756586944,"raw_latitude":119696896,"longitude_deg":75.6586944,"latitude_deg":11.9696896,"altitude":106,"angle":204,"satellites":39,"speed":1,"hex_longitude":"2d1899c0","hex_latitude":"07226e00","is_valid_coordinates":true} 
[2026-08-08 16: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-08-08 16:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264186368001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585575496712192,"note":"Value kept but may cause issues"} 
[2026-08-08 16:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772729433966149632,"note":"Value kept but may cause issues"} 
[2026-08-08 16:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786188231000,"timestamp_ms":1786188231000,"timestamp_seconds":1786188231,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11d7158"} 
[2026-08-08 16:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:55: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-08-08 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-08 16:55: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-08-08 16: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-08-08 16:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264186368001,"66":13037,"105":206,"83":41984,"24":1,"16":11585575496712192,"45":1772729433966149632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264186368001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:55:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585575496712192,"km_value":11585575496712.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772729433966149632,"description":"Unknown IO ID 45"} 
[2026-08-08 16:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264186368001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1772729433966149632}} 
[2026-08-08 16:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":150370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:55:08] local.INFO: GPS data processed {"connection_id":150370,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:55:08] local.INFO: Acknowledgment sent {"connection_id":150370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:55:39] local.INFO: TCP Data received {"connection_id":150370,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11d7540012d1899c007226de0006b00bf29..."} 
[2026-08-08 16:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11d7540012d1899c007226de0006b00bf29..."} 
[2026-08-08 16:55:39] local.INFO: Processing buffer {"connection_id":150370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11d7540012d1899c007226de0006b00bf29..."} 
[2026-08-08 16:55:39] local.INFO: Packet analysis {"connection_id":150370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:55:39] local.INFO: Extracted packet for processing {"connection_id":150370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756586944,"raw_latitude":119696864,"longitude_deg":75.6586944,"latitude_deg":11.9696864,"altitude":107,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d1899c0","hex_latitude":"07226de0","is_valid_coordinates":true} 
[2026-08-08 16:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264187136001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585579791679488,"note":"Value kept but may cause issues"} 
[2026-08-08 16:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772659065221939200,"note":"Value kept but may cause issues"} 
[2026-08-08 16:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786188232000,"timestamp_ms":1786188232000,"timestamp_seconds":1786188232,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11d7540"} 
[2026-08-08 16:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:55: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-08-08 16: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":237,"data_length":795,"current_offset":136} 
[2026-08-08 16:55: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-08-08 16:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264187136001,"66":13037,"105":206,"83":41984,"24":0,"16":11585579791679488,"45":1772659065221939200},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264187136001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:55:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585579791679488,"km_value":11585579791679.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772659065221939200,"description":"Unknown IO ID 45"} 
[2026-08-08 16:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264187136001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772659065221939200}} 
[2026-08-08 16:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":150370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:55:39] local.INFO: GPS data processed {"connection_id":150370,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:55:39] local.INFO: Acknowledgment sent {"connection_id":150370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:56:01] local.INFO: TCP Data received {"connection_id":150626,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:56:01] local.INFO: Processing buffer {"connection_id":150626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:56:01] local.INFO: IMEI packet received {"connection_id":150626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":150626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:56:07] local.INFO: TCP Data received {"connection_id":150626,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:56:07] local.INFO: Processing buffer {"connection_id":150626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:56:07] local.INFO: IMEI packet received {"connection_id":150626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":150626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:56:08] local.INFO: TCP Data received {"connection_id":150626,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11dc748012d1899c007226db8006b00bf29..."} 
[2026-08-08 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11dc748012d1899c007226db8006b00bf29..."} 
[2026-08-08 16:56:08] local.INFO: Processing buffer {"connection_id":150626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11dc748012d1899c007226db8006b00bf29..."} 
[2026-08-08 16:56:08] local.INFO: Packet analysis {"connection_id":150626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:56:08] local.INFO: Extracted packet for processing {"connection_id":150626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11d"} 
[2026-08-08 16:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756586944,"raw_latitude":119696824,"longitude_deg":75.6586944,"latitude_deg":11.9696824,"altitude":107,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d1899c0","hex_latitude":"07226db8","is_valid_coordinates":true} 
[2026-08-08 16:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264187392001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585579791679488,"note":"Value kept but may cause issues"} 
[2026-08-08 16:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772659065221931008,"note":"Value kept but may cause issues"} 
[2026-08-08 16:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786188253000,"timestamp_ms":1786188253000,"timestamp_seconds":1786188253,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11dc748"} 
[2026-08-08 16:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:56: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-08-08 16:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-08 16:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264187392001,"66":12928,"105":206,"83":41984,"24":0,"16":11585579791679488,"45":1772659065221931008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264187392001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:56:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585579791679488,"km_value":11585579791679.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772659065221931008,"description":"Unknown IO ID 45"} 
[2026-08-08 16:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264187392001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772659065221931008}} 
[2026-08-08 16:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":150626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:56:08] local.INFO: GPS data processed {"connection_id":150626,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:56:08] local.INFO: Acknowledgment sent {"connection_id":150626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:56:39] local.INFO: TCP Data received {"connection_id":150626,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe11e1950012d1899c007226db8006b00bf28..."} 
[2026-08-08 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe11e1950012d1899c007226db8006b00bf28..."} 
[2026-08-08 16:56:39] local.INFO: Processing buffer {"connection_id":150626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe11e1950012d1899c007226db8006b00bf28..."} 
[2026-08-08 16:56:39] local.INFO: Packet analysis {"connection_id":150626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe11e"} 
[2026-08-08 16:56:39] local.INFO: Extracted packet for processing {"connection_id":150626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe11e"} 
[2026-08-08 16:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756586944,"raw_latitude":119696824,"longitude_deg":75.6586944,"latitude_deg":11.9696824,"altitude":107,"angle":191,"satellites":40,"speed":0,"hex_longitude":"2d1899c0","hex_latitude":"07226db8","is_valid_coordinates":true} 
[2026-08-08 16:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 16:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264192768001,"note":"Value kept but may cause issues"} 
[2026-08-08 16:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11585579791679488,"note":"Value kept but may cause issues"} 
[2026-08-08 16:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772659065221920768,"note":"Value kept but may cause issues"} 
[2026-08-08 16:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 16:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786188274000,"timestamp_ms":1786188274000,"timestamp_seconds":1786188274,"priority":1,"record_length":96,"hex_timestamp":"0000019fe11e1950"} 
[2026-08-08 16:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 16:56: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-08-08 16:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-08 16:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 16:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 16:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 16:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 16:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 16:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 16:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 16:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 16:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 16:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264192768001,"66":12885,"105":206,"83":41984,"24":0,"16":11585579791679488,"45":1772659065221920768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-08 16:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 16:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 16:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264192768001,"description":"Unknown IO ID 0"} 
[2026-08-08 16:56:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-08 16:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 16:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11585579791679488,"km_value":11585579791679.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 16:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772659065221920768,"description":"Unknown IO ID 45"} 
[2026-08-08 16:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264192768001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772659065221920768}} 
[2026-08-08 16:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":150626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 16:56:39] local.INFO: GPS data processed {"connection_id":150626,"processed":1,"errors":0,"total":1} 
[2026-08-08 16:56:39] local.INFO: Acknowledgment sent {"connection_id":150626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 16:57:01] local.INFO: TCP Data received {"connection_id":150627,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:57:01] local.INFO: Processing buffer {"connection_id":150627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:57:01] local.INFO: IMEI packet received {"connection_id":150627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 16:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":150627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 16:57:03] local.INFO: TCP Data received {"connection_id":150627,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:57:03] local.INFO: Processing buffer {"connection_id":150627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 16:57:03] local.INFO: IMEI packet received {"connection_id":150627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":150627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 16:57:03] local.INFO: TCP Data received {"connection_id":150627,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150627,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 16:57:03] local.INFO: Processing buffer {"connection_id":150627,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 16:57:03] local.INFO: IMEI packet received {"connection_id":150627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 16:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":150627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:00:35] local.INFO: TCP Data received {"connection_id":153071,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:00:35] local.INFO: Processing buffer {"connection_id":153071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:00:35] local.INFO: IMEI packet received {"connection_id":153071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":153071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:00:36] local.INFO: TCP Data received {"connection_id":153071,"ip":"42.106.6.39","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153071,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:00:36] local.INFO: Processing buffer {"connection_id":153071,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:00:36] local.INFO: IMEI packet received {"connection_id":153071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":153071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:02:07] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:02:07] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:02:07] local.INFO: IMEI packet received {"connection_id":151573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":151573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:02:08] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe123ab18012d18ca8007213678004500932a..."} 
[2026-08-08 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe123ab18012d18ca8007213678004500932a..."} 
[2026-08-08 17:02:08] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe123ab18012d18ca8007213678004500932a..."} 
[2026-08-08 17:02:08] local.INFO: Packet analysis {"connection_id":151573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe123"} 
[2026-08-08 17:02:08] local.INFO: Extracted packet for processing {"connection_id":151573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe123"} 
[2026-08-08 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119617144,"longitude_deg":75.6599424,"latitude_deg":11.9617144,"altitude":69,"angle":147,"satellites":42,"speed":30,"hex_longitude":"2d18ca80","hex_latitude":"07213678","is_valid_coordinates":true} 
[2026-08-08 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264291072001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11591253443477504,"note":"Value kept but may cause issues"} 
[2026-08-08 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130548736,"note":"Value kept but may cause issues"} 
[2026-08-08 17:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786188639000,"timestamp_ms":1786188639000,"timestamp_seconds":1786188639,"priority":1,"record_length":96,"hex_timestamp":"0000019fe123ab18"} 
[2026-08-08 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:02: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-08-08 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 17:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:02:08] 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-08-08 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264291072001,"66":14004,"103":206,"83":41984,"24":30,"16":11591253443477504,"45":1785606914130548736},"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-08-08 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264291072001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:02:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 17:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11591253443477504,"km_value":11591253443477.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130548736,"description":"Unknown IO ID 45"} 
[2026-08-08 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264291072001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1785606914130548736}} 
[2026-08-08 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":151573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:02:08] local.INFO: GPS data processed {"connection_id":151573,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:02:08] local.INFO: Acknowledgment sent {"connection_id":151573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:02:38] local.INFO: TCP Data received {"connection_id":151573,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe124c070012d198e800720b4a0002b005928..."} 
[2026-08-08 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe124c070012d198e800720b4a0002b005928..."} 
[2026-08-08 17:02:38] local.INFO: Processing buffer {"connection_id":151573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe124c070012d198e800720b4a0002b005928..."} 
[2026-08-08 17:02:38] local.INFO: Packet analysis {"connection_id":151573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe124"} 
[2026-08-08 17:02:38] local.INFO: Extracted packet for processing {"connection_id":151573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe124"} 
[2026-08-08 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756649600,"raw_latitude":119583904,"longitude_deg":75.66496,"latitude_deg":11.9583904,"altitude":43,"angle":89,"satellites":40,"speed":37,"hex_longitude":"2d198e80","hex_latitude":"0720b4a0","is_valid_coordinates":true} 
[2026-08-08 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264307456001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594582043131904,"note":"Value kept but may cause issues"} 
[2026-08-08 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128999417856,"note":"Value kept but may cause issues"} 
[2026-08-08 17:02: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-08-08 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786188710000,"timestamp_ms":1786188710000,"timestamp_seconds":1786188710,"priority":1,"record_length":96,"hex_timestamp":"0000019fe124c070"} 
[2026-08-08 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:02: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-08-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 17:02: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-08-08 17:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:02:38] 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-08-08 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264307456001,"66":14374,"103":206,"83":41984,"24":37,"16":11594582043131904,"45":1832402128999417856},"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-08-08 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264307456001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:02:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 17:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594582043131904,"km_value":11594582043131.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128999417856,"description":"Unknown IO ID 45"} 
[2026-08-08 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264307456001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1832402128999417856}} 
[2026-08-08 17:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":151573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:02:39] local.INFO: GPS data processed {"connection_id":151573,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:02:39] local.INFO: Acknowledgment sent {"connection_id":151573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:03:01] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:01] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:01] local.INFO: IMEI packet received {"connection_id":153072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":153072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:03:06] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:06] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:06] local.INFO: IMEI packet received {"connection_id":153072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":153072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:03:06] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:06] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:03:06] local.INFO: IMEI packet received {"connection_id":153072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":153072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:03:07] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe124dfb0012d19aa400720b170002e006625..."} 
[2026-08-08 17:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe124dfb0012d19aa400720b170002e006625..."} 
[2026-08-08 17:03:07] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe124dfb0012d19aa400720b170002e006625..."} 
[2026-08-08 17:03:07] local.INFO: Packet analysis {"connection_id":153072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe124"} 
[2026-08-08 17:03:07] local.INFO: Extracted packet for processing {"connection_id":153072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe124"} 
[2026-08-08 17:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756656704,"raw_latitude":119583088,"longitude_deg":75.6656704,"latitude_deg":11.9583088,"altitude":46,"angle":102,"satellites":37,"speed":36,"hex_longitude":"2d19aa40","hex_latitude":"0720b170","is_valid_coordinates":true} 
[2026-08-08 17:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264309760001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11594921345548288,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841550065742946304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03: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-08-08 17:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786188718000,"timestamp_ms":1786188718000,"timestamp_seconds":1786188718,"priority":1,"record_length":96,"hex_timestamp":"0000019fe124dfb0"} 
[2026-08-08 17:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:03: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-08-08 17:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 17:03: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-08-08 17:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:03:07] 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-08-08 17:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264309760001,"66":14211,"103":206,"83":41984,"24":36,"16":11594921345548288,"45":1841550065742946304},"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-08-08 17:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264309760001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:03:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 17:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11594921345548288,"km_value":11594921345548.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841550065742946304,"description":"Unknown IO ID 45"} 
[2026-08-08 17:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264309760001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1841550065742946304}} 
[2026-08-08 17:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":153072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:03:07] local.INFO: GPS data processed {"connection_id":153072,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:03:07] local.INFO: Acknowledgment sent {"connection_id":153072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:03:12] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe124e780012d19b1400720af28002e007225..."} 
[2026-08-08 17:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe124e780012d19b1400720af28002e007225..."} 
[2026-08-08 17:03:12] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe124e780012d19b1400720af28002e007225..."} 
[2026-08-08 17:03:12] local.INFO: Packet analysis {"connection_id":153072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe124"} 
[2026-08-08 17:03:12] local.INFO: Extracted packet for processing {"connection_id":153072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe124"} 
[2026-08-08 17:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756658496,"raw_latitude":119582504,"longitude_deg":75.6658496,"latitude_deg":11.9582504,"altitude":46,"angle":114,"satellites":37,"speed":35,"hex_longitude":"2d19b140","hex_latitude":"0720af28","is_valid_coordinates":true} 
[2026-08-08 17:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264311808001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11595011539861504,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849360996346458112,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03: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-08-08 17:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786188720000,"timestamp_ms":1786188720000,"timestamp_seconds":1786188720,"priority":1,"record_length":96,"hex_timestamp":"0000019fe124e780"} 
[2026-08-08 17:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 17:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:03:12] 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-08-08 17:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264311808001,"66":13906,"103":206,"83":41984,"24":35,"16":11595011539861504,"45":1849360996346458112},"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-08-08 17:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264311808001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:03:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 17:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11595011539861504,"km_value":11595011539861.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849360996346458112,"description":"Unknown IO ID 45"} 
[2026-08-08 17:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264311808001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1849360996346458112}} 
[2026-08-08 17:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":153072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:03:12] local.INFO: GPS data processed {"connection_id":153072,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:03:12] local.INFO: Acknowledgment sent {"connection_id":153072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:03:43] local.INFO: TCP Data received {"connection_id":153072,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe125b688012d19d14007201360002a008b25..."} 
[2026-08-08 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe125b688012d19d14007201360002a008b25..."} 
[2026-08-08 17:03:43] local.INFO: Processing buffer {"connection_id":153072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe125b688012d19d14007201360002a008b25..."} 
[2026-08-08 17:03:43] local.INFO: Packet analysis {"connection_id":153072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe125"} 
[2026-08-08 17:03:43] local.INFO: Extracted packet for processing {"connection_id":153072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe125"} 
[2026-08-08 17:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756666688,"raw_latitude":119542624,"longitude_deg":75.6666688,"latitude_deg":11.9542624,"altitude":42,"angle":139,"satellites":37,"speed":32,"hex_longitude":"2d19d140","hex_latitude":"07201360","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264324864001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11597163318476800,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195591542784,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786188773000,"timestamp_ms":1786188773000,"timestamp_seconds":1786188773,"priority":1,"record_length":96,"hex_timestamp":"0000019fe125b688"} 
[2026-08-08 17:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:03: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-08-08 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6977299722,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3777306160,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503776560283648,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752247128793247,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.WARNING: Large IO value detected {"io_id":224,"raw_value":12948798787557376,"note":"Value kept but may cause issues"} 
[2026-08-08 17:03:43] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,51,159,131,45,60,41,40,10,66,103,112,128,77,50,84,1,240,55,227,225,32,4,113,205,34,38,173,80,239,56,2,7,206,168,224],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-08 17:03:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026589537106329600,"timestamp_seconds":3026589537106329.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 17:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:03:43] 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-08-08 17:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264324864001,"66":14341,"101":206,"83":41984,"24":32,"16":11597163318476800,"45":1858368195591542784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264324864001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:03:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11597163318476800,"km_value":11597163318476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195591542784,"description":"Unknown IO ID 45"} 
[2026-08-08 17:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264324864001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1858368195591542784}} 
[2026-08-08 17:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":153072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:03:43] local.INFO: GPS data processed {"connection_id":153072,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:03:43] local.INFO: Acknowledgment sent {"connection_id":153072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:04:04] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:04] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:04] local.INFO: IMEI packet received {"connection_id":153073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":153073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:04:05] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:05] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:05] local.INFO: IMEI packet received {"connection_id":153073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":153073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:04:07] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:07] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:07] local.INFO: IMEI packet received {"connection_id":153073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":153073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:04:08] local.INFO: TCP Data received {"connection_id":153073,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:08] local.INFO: Processing buffer {"connection_id":153073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:04:08] local.INFO: IMEI packet received {"connection_id":153073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":153073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:05:25] local.INFO: TCP Data received {"connection_id":151576,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:05:25] local.INFO: Processing buffer {"connection_id":151576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:05:25] local.INFO: IMEI packet received {"connection_id":151576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":151576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:05:50] local.INFO: TCP Data received {"connection_id":151576,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12748e0012ce892c0074e01c00074005328..."} 
[2026-08-08 17:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12748e0012ce892c0074e01c00074005328..."} 
[2026-08-08 17:05:50] local.INFO: Processing buffer {"connection_id":151576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12748e0012ce892c0074e01c00074005328..."} 
[2026-08-08 17:05:50] local.INFO: Packet analysis {"connection_id":151576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe127"} 
[2026-08-08 17:05:50] local.INFO: Extracted packet for processing {"connection_id":151576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe127"} 
[2026-08-08 17:05:50] local.INFO: GPS Element Parsed {"raw_longitude":753439424,"raw_latitude":122552768,"longitude_deg":75.3439424,"latitude_deg":12.2552768,"altitude":116,"angle":83,"satellites":40,"speed":46,"hex_longitude":"2ce892c0","hex_latitude":"074e01c0","is_valid_coordinates":true} 
[2026-08-08 17:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264350208001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375668402695438336,"note":"Value kept but may cause issues"} 
[2026-08-08 17:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1699194034284918784,"note":"Value kept but may cause issues"} 
[2026-08-08 17:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786188876000,"timestamp_ms":1786188876000,"timestamp_seconds":1786188876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12748e0"} 
[2026-08-08 17:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:05: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-08-08 17:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264350208001,"66":27908,"241":206,"83":43520,"24":46,"16":375668402695438336,"44":-1699194034284918784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,44]} 
[2026-08-08 17:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264350208001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:05:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 17:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 17:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375668402695438336,"km_value":375668402695438.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1699194034284918784,"description":"Unknown IO ID 44"} 
[2026-08-08 17:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264350208001,"power":27908,"unknown_241":206,"unknown_83":43520,"ignition":46,"odometer":null,"unknown_44":-1699194034284918784}} 
[2026-08-08 17:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":151576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:05:50] local.INFO: GPS data processed {"connection_id":151576,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:05:50] local.INFO: Acknowledgment sent {"connection_id":151576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:06:09] local.INFO: TCP Data received {"connection_id":150632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:06:09] local.INFO: Processing buffer {"connection_id":150632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:06:09] local.INFO: IMEI packet received {"connection_id":150632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":150632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:06:11] local.INFO: TCP Data received {"connection_id":150632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:06:11] local.INFO: Processing buffer {"connection_id":150632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:06:11] local.INFO: IMEI packet received {"connection_id":150632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":150632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:06:12] local.INFO: TCP Data received {"connection_id":150632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1276050012ce8ad00074e06180075004629..."} 
[2026-08-08 17:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1276050012ce8ad00074e06180075004629..."} 
[2026-08-08 17:06:12] local.INFO: Processing buffer {"connection_id":150632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1276050012ce8ad00074e06180075004629..."} 
[2026-08-08 17:06:12] local.INFO: Packet analysis {"connection_id":150632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe127"} 
[2026-08-08 17:06:12] local.INFO: Extracted packet for processing {"connection_id":150632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe127"} 
[2026-08-08 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753446144,"raw_latitude":122553880,"longitude_deg":75.3446144,"latitude_deg":12.255388,"altitude":117,"angle":70,"satellites":41,"speed":42,"hex_longitude":"2ce8ad00","hex_latitude":"074e0618","is_valid_coordinates":true} 
[2026-08-08 17:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264352256001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375668724817985536,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1688075772704473088,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786188882000,"timestamp_ms":1786188882000,"timestamp_seconds":1786188882,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1276050"} 
[2026-08-08 17:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:06: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-08-08 17:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264352256001,"66":27713,"241":206,"83":43520,"24":42,"16":375668724817985536,"44":-1688075772704473088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,44]} 
[2026-08-08 17:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264352256001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:06:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 17:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 17:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375668724817985536,"km_value":375668724817985.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1688075772704473088,"description":"Unknown IO ID 44"} 
[2026-08-08 17:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264352256001,"power":27713,"unknown_241":206,"unknown_83":43520,"ignition":42,"odometer":null,"unknown_44":-1688075772704473088}} 
[2026-08-08 17:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":150632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:06:12] local.INFO: GPS data processed {"connection_id":150632,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:06:12] local.INFO: Acknowledgment sent {"connection_id":150632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:06:14] local.INFO: TCP Data received {"connection_id":150632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1276c08012ce8b840074e0be80073003829..."} 
[2026-08-08 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1276c08012ce8b840074e0be80073003829..."} 
[2026-08-08 17:06:15] local.INFO: Processing buffer {"connection_id":150632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1276c08012ce8b840074e0be80073003829..."} 
[2026-08-08 17:06:15] local.INFO: Packet analysis {"connection_id":150632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe127"} 
[2026-08-08 17:06:15] local.INFO: Extracted packet for processing {"connection_id":150632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe127"} 
[2026-08-08 17:06:15] local.INFO: GPS Element Parsed {"raw_longitude":753449024,"raw_latitude":122555368,"longitude_deg":75.3449024,"latitude_deg":12.2555368,"altitude":115,"angle":56,"satellites":41,"speed":43,"hex_longitude":"2ce8b840","hex_latitude":"074e0be8","is_valid_coordinates":true} 
[2026-08-08 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264353792001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375668879436808192,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1680687054565533696,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786188885000,"timestamp_ms":1786188885000,"timestamp_seconds":1786188885,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1276c08"} 
[2026-08-08 17:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 17:06: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-08-08 17:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264353792001,"66":27908,"241":206,"83":43520,"24":43,"16":375668879436808192,"44":-1680687054565533696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,44]} 
[2026-08-08 17:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264353792001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:06:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 17:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 17:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375668879436808192,"km_value":375668879436808.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1680687054565533696,"description":"Unknown IO ID 44"} 
[2026-08-08 17:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264353792001,"power":27908,"unknown_241":206,"unknown_83":43520,"ignition":43,"odometer":null,"unknown_44":-1680687054565533696}} 
[2026-08-08 17:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":150632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:06:15] local.INFO: GPS data processed {"connection_id":150632,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:06:15] local.INFO: Acknowledgment sent {"connection_id":150632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:06:45] local.INFO: TCP Data received {"connection_id":150632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1287d78012ce9c300074e5328006e001922..."} 
[2026-08-08 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1287d78012ce9c300074e5328006e001922..."} 
[2026-08-08 17:06:45] local.INFO: Processing buffer {"connection_id":150632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1287d78012ce9c300074e5328006e001922..."} 
[2026-08-08 17:06:45] local.INFO: Packet analysis {"connection_id":150632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:06:45] local.INFO: Extracted packet for processing {"connection_id":150632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":753517312,"raw_latitude":122573608,"longitude_deg":75.3517312,"latitude_deg":12.2573608,"altitude":110,"angle":25,"satellites":34,"speed":17,"hex_longitude":"2ce9c300","hex_latitude":"074e5328","is_valid_coordinates":true} 
[2026-08-08 17:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264372224001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375672371245219840,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602788854755911680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786188955000,"timestamp_ms":1786188955000,"timestamp_seconds":1786188955,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1287d78"} 
[2026-08-08 17:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 17:06: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-08-08 17:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264372224001,"66":27908,"67":206,"85":37376,"24":17,"16":375672371245219840,"44":-1602788854755911680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,44]} 
[2026-08-08 17:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264372224001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:06:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 17:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375672371245219840,"km_value":375672371245219.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:06:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602788854755911680,"description":"Unknown IO ID 44"} 
[2026-08-08 17:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264372224001,"power":27908,"unknown_67":206,"unknown_85":37376,"ignition":17,"odometer":null,"unknown_44":-1602788854755911680}} 
[2026-08-08 17:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":150632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:06:45] local.INFO: GPS data processed {"connection_id":150632,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:06:45] local.INFO: Acknowledgment sent {"connection_id":150632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:07:04] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:07:04] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:07:04] local.INFO: IMEI packet received {"connection_id":151577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":151577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:07:05] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:07:05] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:07:05] local.INFO: IMEI packet received {"connection_id":151577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":151577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:07:09] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:07:09] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 17:07:09] local.INFO: IMEI packet received {"connection_id":151577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":151577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:07:10] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1288160012ce9c380074e54c0006e000d22..."} 
[2026-08-08 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1288160012ce9c380074e54c0006e000d22..."} 
[2026-08-08 17:07:10] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe1..."} 
[2026-08-08 17:07:10] local.INFO: IMEI packet received {"connection_id":151577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":151577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:07:15] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe128a488012ce9c780074e62880070001b24..."} 
[2026-08-08 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe128a488012ce9c780074e62880070001b24..."} 
[2026-08-08 17:07:15] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1288160012ce9c380074e54c0006e000d22..."} 
[2026-08-08 17:07:15] local.INFO: Packet analysis {"connection_id":151577,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:15] local.INFO: Extracted packet for processing {"connection_id":151577,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":753517440,"raw_latitude":122574016,"longitude_deg":75.351744,"latitude_deg":12.2574016,"altitude":110,"angle":13,"satellites":34,"speed":17,"hex_longitude":"2ce9c380","hex_latitude":"074e54c0","is_valid_coordinates":true} 
[2026-08-08 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264372480001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375672392720056320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602437011034920960,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786188956000,"timestamp_ms":1786188956000,"timestamp_seconds":1786188956,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1288160"} 
[2026-08-08 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07: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-08-08 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264372480001,"66":27908,"67":206,"85":37376,"24":17,"16":375672392720056320,"44":-1602437011034920960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,44]} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264372480001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375672392720056320,"km_value":375672392720056.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602437011034920960,"description":"Unknown IO ID 44"} 
[2026-08-08 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264372480001,"power":27908,"unknown_67":206,"unknown_85":37376,"ignition":17,"odometer":null,"unknown_44":-1602437011034920960}} 
[2026-08-08 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":151577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:07:15] local.INFO: GPS data processed {"connection_id":151577,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:07:15] local.INFO: Acknowledgment sent {"connection_id":151577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:07:15] local.INFO: Packet analysis {"connection_id":151577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:15] local.INFO: Extracted packet for processing {"connection_id":151577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":753518464,"raw_latitude":122577544,"longitude_deg":75.3518464,"latitude_deg":12.2577544,"altitude":112,"angle":27,"satellites":36,"speed":15,"hex_longitude":"2ce9c780","hex_latitude":"074e6288","is_valid_coordinates":true} 
[2026-08-08 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264372736001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375672573108682752,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602296273546461184,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786188965000,"timestamp_ms":1786188965000,"timestamp_seconds":1786188965,"priority":1,"record_length":96,"hex_timestamp":"0000019fe128a488"} 
[2026-08-08 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07: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-08-08 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264372736001,"66":27767,"67":206,"85":37376,"24":15,"16":375672573108682752,"44":-1602296273546461184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,44]} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264372736001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375672573108682752,"km_value":375672573108682.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602296273546461184,"description":"Unknown IO ID 44"} 
[2026-08-08 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264372736001,"power":27767,"unknown_67":206,"unknown_85":37376,"ignition":15,"odometer":null,"unknown_44":-1602296273546461184}} 
[2026-08-08 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":151577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:07:15] local.INFO: GPS data processed {"connection_id":151577,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:07:15] local.INFO: Acknowledgment sent {"connection_id":151577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:07:15] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe128eec0012ce9d7c0074e82f00073000d25..."} 
[2026-08-08 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe128eec0012ce9d7c0074e82f00073000d25..."} 
[2026-08-08 17:07:15] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe128eec0012ce9d7c0074e82f00073000d25..."} 
[2026-08-08 17:07:15] local.INFO: Packet analysis {"connection_id":151577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:15] local.INFO: Extracted packet for processing {"connection_id":151577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":753522624,"raw_latitude":122585840,"longitude_deg":75.3522624,"latitude_deg":12.258584,"altitude":115,"angle":13,"satellites":37,"speed":28,"hex_longitude":"2ce9d7c0","hex_latitude":"074e82f0","is_valid_coordinates":true} 
[2026-08-08 17:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264375040001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375673024080248832,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1601170373638715392,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786188984000,"timestamp_ms":1786188984000,"timestamp_seconds":1786188984,"priority":1,"record_length":96,"hex_timestamp":"0000019fe128eec0"} 
[2026-08-08 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 17:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07: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-08-08 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264375040001,"66":27767,"67":206,"85":37376,"24":28,"16":375673024080248832,"44":-1601170373638715392},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,44]} 
[2026-08-08 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264375040001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375673024080248832,"km_value":375673024080248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1601170373638715392,"description":"Unknown IO ID 44"} 
[2026-08-08 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264375040001,"power":27767,"unknown_67":206,"unknown_85":37376,"ignition":28,"odometer":null,"unknown_44":-1601170373638715392}} 
[2026-08-08 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":151577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:07:15] local.INFO: GPS data processed {"connection_id":151577,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:07:15] local.INFO: Acknowledgment sent {"connection_id":151577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:07:46] local.INFO: TCP Data received {"connection_id":151577,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe128eec0012ce9d7c0074e82f00073000d25..."} 
[2026-08-08 17:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe128eec0012ce9d7c0074e82f00073000d25..."} 
[2026-08-08 17:07:46] local.INFO: Processing buffer {"connection_id":151577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe128eec0012ce9d7c0074e82f00073000d25..."} 
[2026-08-08 17:07:46] local.INFO: Packet analysis {"connection_id":151577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:46] local.INFO: Extracted packet for processing {"connection_id":151577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:07:46] local.INFO: GPS Element Parsed {"raw_longitude":753522624,"raw_latitude":122585840,"longitude_deg":75.3522624,"latitude_deg":12.258584,"altitude":115,"angle":13,"satellites":37,"speed":28,"hex_longitude":"2ce9d7c0","hex_latitude":"074e82f0","is_valid_coordinates":true} 
[2026-08-08 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264379904001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375673024080248832,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596596405265043456,"note":"Value kept but may cause issues"} 
[2026-08-08 17:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786188984000,"timestamp_ms":1786188984000,"timestamp_seconds":1786188984,"priority":1,"record_length":96,"hex_timestamp":"0000019fe128eec0"} 
[2026-08-08 17:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:07: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-08-08 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 17:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:07: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-08-08 17:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264379904001,"66":27767,"67":206,"85":37376,"24":28,"16":375673024080248832,"44":-1596596405265043456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,44]} 
[2026-08-08 17:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264379904001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:07:46] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 17:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375673024080248832,"km_value":375673024080248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596596405265043456,"description":"Unknown IO ID 44"} 
[2026-08-08 17:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264379904001,"power":27767,"unknown_67":206,"unknown_85":37376,"ignition":28,"odometer":null,"unknown_44":-1596596405265043456}} 
[2026-08-08 17:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":151577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:07:46] local.INFO: GPS data processed {"connection_id":151577,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:07:46] local.INFO: Acknowledgment sent {"connection_id":151577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:08:01] local.INFO: TCP Data received {"connection_id":150373,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:01] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:01] local.INFO: IMEI packet received {"connection_id":150373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":150373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:08:03] local.INFO: TCP Data received {"connection_id":150373,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:03] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:03] local.INFO: IMEI packet received {"connection_id":150373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":150373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:08:04] local.INFO: TCP Data received {"connection_id":150373,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:04] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:04] local.INFO: IMEI packet received {"connection_id":150373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":150373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:08:09] local.INFO: TCP Data received {"connection_id":150373,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:09] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:08:09] local.INFO: IMEI packet received {"connection_id":150373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":150373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:08:10] local.INFO: TCP Data received {"connection_id":150373,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1291da0012ce9de80074ea798006c000929..."} 
[2026-08-08 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1291da0012ce9de80074ea798006c000929..."} 
[2026-08-08 17:08:10] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1291da0012ce9de80074ea798006c000929..."} 
[2026-08-08 17:08:10] local.INFO: Packet analysis {"connection_id":150373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe129"} 
[2026-08-08 17:08:10] local.INFO: Extracted packet for processing {"connection_id":150373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe129"} 
[2026-08-08 17:08:10] local.INFO: GPS Element Parsed {"raw_longitude":753524352,"raw_latitude":122595224,"longitude_deg":75.3524352,"latitude_deg":12.2595224,"altitude":108,"angle":9,"satellites":41,"speed":34,"hex_longitude":"2ce9de80","hex_latitude":"074ea798","is_valid_coordinates":true} 
[2026-08-08 17:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264379904001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375673483641749504,"note":"Value kept but may cause issues"} 
[2026-08-08 17:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596596405265043456,"note":"Value kept but may cause issues"} 
[2026-08-08 17:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786188996000,"timestamp_ms":1786188996000,"timestamp_seconds":1786188996,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1291da0"} 
[2026-08-08 17:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 17:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264379904001,"66":27832,"67":206,"85":37376,"24":34,"16":375673483641749504,"44":-1596596405265043456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,44]} 
[2026-08-08 17:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264379904001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:08:10] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 17:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375673483641749504,"km_value":375673483641749.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596596405265043456,"description":"Unknown IO ID 44"} 
[2026-08-08 17:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264379904001,"power":27832,"unknown_67":206,"unknown_85":37376,"ignition":34,"odometer":null,"unknown_44":-1596596405265043456}} 
[2026-08-08 17:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":150373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:08:10] local.INFO: GPS data processed {"connection_id":150373,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:08:10] local.INFO: Acknowledgment sent {"connection_id":150373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:08:41] local.INFO: TCP Data received {"connection_id":150373,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12a65c0012cea3ac0074fbee00032001a2b..."} 
[2026-08-08 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12a65c0012cea3ac0074fbee00032001a2b..."} 
[2026-08-08 17:08:41] local.INFO: Processing buffer {"connection_id":150373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12a65c0012cea3ac0074fbee00032001a2b..."} 
[2026-08-08 17:08:41] local.INFO: Packet analysis {"connection_id":150373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:08:41] local.INFO: Extracted packet for processing {"connection_id":150373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753547968,"raw_latitude":122666720,"longitude_deg":75.3547968,"latitude_deg":12.266672,"altitude":50,"angle":26,"satellites":43,"speed":29,"hex_longitude":"2cea3ac0","hex_latitude":"074fbee0","is_valid_coordinates":true} 
[2026-08-08 17:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264404224001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375677310457610240,"note":"Value kept but may cause issues"} 
[2026-08-08 17:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1569082226271055872,"note":"Value kept but may cause issues"} 
[2026-08-08 17:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189080000,"timestamp_ms":1786189080000,"timestamp_seconds":1786189080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12a65c0"} 
[2026-08-08 17:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 17:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264404224001,"66":27919,"51":206,"85":37376,"24":29,"16":375677310457610240,"44":-1569082226271055872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,44]} 
[2026-08-08 17:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264404224001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:08:41] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-08 17:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375677310457610240,"km_value":375677310457610.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1569082226271055872,"description":"Unknown IO ID 44"} 
[2026-08-08 17:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264404224001,"power":27919,"unknown_51":206,"unknown_85":37376,"ignition":29,"odometer":null,"unknown_44":-1569082226271055872}} 
[2026-08-08 17:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":150373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:08:41] local.INFO: GPS data processed {"connection_id":150373,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:08:41] local.INFO: Acknowledgment sent {"connection_id":150373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:09:05] local.INFO: TCP Data received {"connection_id":150633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:09:05] local.INFO: Processing buffer {"connection_id":150633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:09:05] local.INFO: IMEI packet received {"connection_id":150633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":150633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:09:10] local.INFO: TCP Data received {"connection_id":150633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:09:10] local.INFO: Processing buffer {"connection_id":150633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:09:10] local.INFO: IMEI packet received {"connection_id":150633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":150633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:09:10] local.INFO: TCP Data received {"connection_id":150633,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12a69a8012cea3c40074fc150003200252a..."} 
[2026-08-08 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12a69a8012cea3c40074fc150003200252a..."} 
[2026-08-08 17:09:10] local.INFO: Processing buffer {"connection_id":150633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12a69a8012cea3c40074fc150003200252a..."} 
[2026-08-08 17:09:10] local.INFO: Packet analysis {"connection_id":150633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:09:10] local.INFO: Extracted packet for processing {"connection_id":150633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":753548352,"raw_latitude":122667344,"longitude_deg":75.3548352,"latitude_deg":12.2667344,"altitude":50,"angle":37,"satellites":42,"speed":29,"hex_longitude":"2cea3c40","hex_latitude":"074fc150","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264404480001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375677344817348608,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568730382549983232,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189081000,"timestamp_ms":1786189081000,"timestamp_seconds":1786189081,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12a69a8"} 
[2026-08-08 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-08-08 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 17:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264404480001,"66":27876,"51":206,"85":37376,"24":29,"16":375677344817348608,"44":-1568730382549983232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,44]} 
[2026-08-08 17:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264404480001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:09:10] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-08 17:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375677344817348608,"km_value":375677344817348.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568730382549983232,"description":"Unknown IO ID 44"} 
[2026-08-08 17:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264404480001,"power":27876,"unknown_51":206,"unknown_85":37376,"ignition":29,"odometer":null,"unknown_44":-1568730382549983232}} 
[2026-08-08 17:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":150633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:09:10] local.INFO: GPS data processed {"connection_id":150633,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:09:10] local.INFO: Acknowledgment sent {"connection_id":150633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:09:12] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:09:12] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:09:12] local.INFO: IMEI packet received {"connection_id":151579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":151579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:09:13] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1283340012d1a8dc0071fad180037008f28..."} 
[2026-08-08 17:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1283340012d1a8dc0071fad180037008f28..."} 
[2026-08-08 17:09:13] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1283340012d1a8dc0071fad180037008f28..."} 
[2026-08-08 17:09:13] local.INFO: Packet analysis {"connection_id":151579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:09:13] local.INFO: Extracted packet for processing {"connection_id":151579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119516440,"longitude_deg":75.6714944,"latitude_deg":11.951644,"altitude":55,"angle":143,"satellites":40,"speed":0,"hex_longitude":"2d1a8dc0","hex_latitude":"071fad18","is_valid_coordinates":true} 
[2026-08-08 17:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264362240001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11599942162317312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553531070464,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09: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-08-08 17:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786188936000,"timestamp_ms":1786188936000,"timestamp_seconds":1786188936,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1283340"} 
[2026-08-08 17:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:09: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-08-08 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 17:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:09:13] 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-08-08 17:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264362240001,"66":12972,"101":206,"83":41984,"24":0,"16":11599942162317312,"45":1913396553531070464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264362240001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:09:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11599942162317312,"km_value":11599942162317.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553531070464,"description":"Unknown IO ID 45"} 
[2026-08-08 17:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264362240001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913396553531070464}} 
[2026-08-08 17:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":151579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:09:13] local.INFO: GPS data processed {"connection_id":151579,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:09:13] local.INFO: Acknowledgment sent {"connection_id":151579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:09:41] local.INFO: TCP Data received {"connection_id":150633,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12a6d90012cea3e40074fc350003100322a..."} 
[2026-08-08 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12a6d90012cea3e40074fc350003100322a..."} 
[2026-08-08 17:09:41] local.INFO: Processing buffer {"connection_id":150633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12a6d90012cea3e40074fc350003100322a..."} 
[2026-08-08 17:09:41] local.INFO: Packet analysis {"connection_id":150633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:09:41] local.INFO: Extracted packet for processing {"connection_id":150633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753548864,"raw_latitude":122667856,"longitude_deg":75.3548864,"latitude_deg":12.2667856,"altitude":49,"angle":50,"satellites":42,"speed":30,"hex_longitude":"2cea3e40","hex_latitude":"074fc350","is_valid_coordinates":true} 
[2026-08-08 17:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264404736001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375677379177086976,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568308170084757504,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189082000,"timestamp_ms":1786189082000,"timestamp_seconds":1786189082,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12a6d90"} 
[2026-08-08 17:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 17:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264404736001,"66":27876,"51":206,"85":37376,"24":30,"16":375677379177086976,"44":-1568308170084757504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,44]} 
[2026-08-08 17:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264404736001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:09:41] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-08 17:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375677379177086976,"km_value":375677379177087.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568308170084757504,"description":"Unknown IO ID 44"} 
[2026-08-08 17:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264404736001,"power":27876,"unknown_51":206,"unknown_85":37376,"ignition":30,"odometer":null,"unknown_44":-1568308170084757504}} 
[2026-08-08 17:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":150633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:09:41] local.INFO: GPS data processed {"connection_id":150633,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:09:41] local.INFO: Acknowledgment sent {"connection_id":150633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:09:43] local.INFO: TCP Data received {"connection_id":151579,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1288548012d1a8dc0071fad180037008f27..."} 
[2026-08-08 17:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1288548012d1a8dc0071fad180037008f27..."} 
[2026-08-08 17:09:43] local.INFO: Processing buffer {"connection_id":151579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1288548012d1a8dc0071fad180037008f27..."} 
[2026-08-08 17:09:43] local.INFO: Packet analysis {"connection_id":151579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:09:43] local.INFO: Extracted packet for processing {"connection_id":151579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119516440,"longitude_deg":75.6714944,"latitude_deg":11.951644,"altitude":55,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d1a8dc0","hex_latitude":"071fad18","is_valid_coordinates":true} 
[2026-08-08 17:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264367616001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11599942162317312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553531070464,"note":"Value kept but may cause issues"} 
[2026-08-08 17:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786188957000,"timestamp_ms":1786188957000,"timestamp_seconds":1786188957,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1288548"} 
[2026-08-08 17:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 17:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:09:43] 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-08-08 17:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264367616001,"66":12950,"101":206,"83":41984,"24":0,"16":11599942162317312,"45":1913396553531070464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264367616001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11599942162317312,"km_value":11599942162317.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553531070464,"description":"Unknown IO ID 45"} 
[2026-08-08 17:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264367616001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913396553531070464}} 
[2026-08-08 17:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":151579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:09:44] local.INFO: GPS data processed {"connection_id":151579,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:09:44] local.INFO: Acknowledgment sent {"connection_id":151579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:10:03] local.INFO: TCP Data received {"connection_id":150635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:03] local.INFO: Processing buffer {"connection_id":150635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:03] local.INFO: IMEI packet received {"connection_id":150635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":150635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:10:04] local.INFO: TCP Data received {"connection_id":150635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:04] local.INFO: Processing buffer {"connection_id":150635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:04] local.INFO: IMEI packet received {"connection_id":150635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":150635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:10:05] local.INFO: TCP Data received {"connection_id":150634,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:05] local.INFO: Processing buffer {"connection_id":150634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:05] local.INFO: IMEI packet received {"connection_id":150634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":150634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:10:07] local.INFO: TCP Data received {"connection_id":150634,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:07] local.INFO: Processing buffer {"connection_id":150634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:07] local.INFO: IMEI packet received {"connection_id":150634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":150634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:10:09] local.INFO: TCP Data received {"connection_id":150635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:09] local.INFO: Processing buffer {"connection_id":150635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:10:09] local.INFO: IMEI packet received {"connection_id":150635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":150635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:10:10] local.INFO: TCP Data received {"connection_id":150635,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12a7560012cea43c0074fc670002f004329..."} 
[2026-08-08 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12a7560012cea43c0074fc670002f004329..."} 
[2026-08-08 17:10:10] local.INFO: Processing buffer {"connection_id":150635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12a7560012cea43c0074fc670002f004329..."} 
[2026-08-08 17:10:10] local.INFO: Packet analysis {"connection_id":150635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:10:10] local.INFO: Extracted packet for processing {"connection_id":150635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":753550272,"raw_latitude":122668656,"longitude_deg":75.3550272,"latitude_deg":12.2668656,"altitude":47,"angle":67,"satellites":41,"speed":35,"hex_longitude":"2cea43c0","hex_latitude":"074fc670","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264404992001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375677456486498304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1567745220131205120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189084000,"timestamp_ms":1786189084000,"timestamp_seconds":1786189084,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12a7560"} 
[2026-08-08 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-08-08 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":228,"data_length":795,"current_offset":136} 
[2026-08-08 17:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264404992001,"66":27908,"51":206,"85":37376,"24":35,"16":375677456486498304,"44":-1567745220131205120},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,44]} 
[2026-08-08 17:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264404992001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:10:10] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-08 17:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375677456486498304,"km_value":375677456486498.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1567745220131205120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264404992001,"power":27908,"unknown_51":206,"unknown_85":37376,"ignition":35,"odometer":null,"unknown_44":-1567745220131205120}} 
[2026-08-08 17:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":150635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:10:10] local.INFO: GPS data processed {"connection_id":150635,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:10:10] local.INFO: Acknowledgment sent {"connection_id":150635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:10:12] local.INFO: TCP Data received {"connection_id":150634,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:12] local.INFO: Processing buffer {"connection_id":150634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:10:12] local.INFO: IMEI packet received {"connection_id":150634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":150634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:10:12] local.INFO: TCP Data received {"connection_id":150634,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe128d750012d1a8dc0071fad180037008f28..."} 
[2026-08-08 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe128d750012d1a8dc0071fad180037008f28..."} 
[2026-08-08 17:10:12] local.INFO: Processing buffer {"connection_id":150634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe128d750012d1a8dc0071fad180037008f28..."} 
[2026-08-08 17:10:12] local.INFO: Packet analysis {"connection_id":150634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:10:12] local.INFO: Extracted packet for processing {"connection_id":150634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe128"} 
[2026-08-08 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119516440,"longitude_deg":75.6714944,"latitude_deg":11.951644,"altitude":55,"angle":143,"satellites":40,"speed":0,"hex_longitude":"2d1a8dc0","hex_latitude":"071fad18","is_valid_coordinates":true} 
[2026-08-08 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264372992001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11599942162317312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553531070464,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10: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-08-08 17:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786188978000,"timestamp_ms":1786188978000,"timestamp_seconds":1786188978,"priority":1,"record_length":96,"hex_timestamp":"0000019fe128d750"} 
[2026-08-08 17:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 17:10: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-08-08 17:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:10:12] 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-08-08 17:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264372992001,"66":12939,"101":206,"83":41984,"24":0,"16":11599942162317312,"45":1913396553531070464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264372992001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:10:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11599942162317312,"km_value":11599942162317.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553531070464,"description":"Unknown IO ID 45"} 
[2026-08-08 17:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264372992001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913396553531070464}} 
[2026-08-08 17:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":150634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:10:13] local.INFO: GPS data processed {"connection_id":150634,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:10:13] local.INFO: Acknowledgment sent {"connection_id":150634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:10:17] local.INFO: TCP Data received {"connection_id":150634,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1292958012d1a8dc0071fad180037008f29..."} 
[2026-08-08 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1292958012d1a8dc0071fad180037008f29..."} 
[2026-08-08 17:10:17] local.INFO: Processing buffer {"connection_id":150634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1292958012d1a8dc0071fad180037008f29..."} 
[2026-08-08 17:10:17] local.INFO: Packet analysis {"connection_id":150634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe129"} 
[2026-08-08 17:10:17] local.INFO: Extracted packet for processing {"connection_id":150634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe129"} 
[2026-08-08 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119516440,"longitude_deg":75.6714944,"latitude_deg":11.951644,"altitude":55,"angle":143,"satellites":41,"speed":0,"hex_longitude":"2d1a8dc0","hex_latitude":"071fad18","is_valid_coordinates":true} 
[2026-08-08 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264378368001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11599942162317312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553531070464,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786188999000,"timestamp_ms":1786188999000,"timestamp_seconds":1786188999,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1292958"} 
[2026-08-08 17:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-08 17:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:10:17] 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-08-08 17:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264378368001,"66":12885,"101":206,"83":41984,"24":0,"16":11599942162317312,"45":1913396553531070464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264378368001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:10:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11599942162317312,"km_value":11599942162317.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553531070464,"description":"Unknown IO ID 45"} 
[2026-08-08 17:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264378368001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913396553531070464}} 
[2026-08-08 17:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":150634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:10:17] local.INFO: GPS data processed {"connection_id":150634,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:10:17] local.INFO: Acknowledgment sent {"connection_id":150634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:10:41] local.INFO: TCP Data received {"connection_id":150635,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12a94a0012cea6500074fd340002c00452a..."} 
[2026-08-08 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12a94a0012cea6500074fd340002c00452a..."} 
[2026-08-08 17:10:41] local.INFO: Processing buffer {"connection_id":150635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12a94a0012cea6500074fd340002c00452a..."} 
[2026-08-08 17:10:41] local.INFO: Packet analysis {"connection_id":150635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:10:41] local.INFO: Extracted packet for processing {"connection_id":150635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12a"} 
[2026-08-08 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753558784,"raw_latitude":122671936,"longitude_deg":75.3558784,"latitude_deg":12.2671936,"altitude":44,"angle":69,"satellites":42,"speed":48,"hex_longitude":"2cea6500","hex_latitude":"074fd340","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264405504001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375677890278195200,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1566197107759091712,"note":"Value kept but may cause issues"} 
[2026-08-08 17:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189092000,"timestamp_ms":1786189092000,"timestamp_seconds":1786189092,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12a94a0"} 
[2026-08-08 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-08-08 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264405504001,"66":27908,"51":206,"85":37376,"24":48,"16":375677890278195200,"44":-1566197107759091712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,44]} 
[2026-08-08 17:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264405504001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:10:41] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-08 17:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375677890278195200,"km_value":375677890278195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1566197107759091712,"description":"Unknown IO ID 44"} 
[2026-08-08 17:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264405504001,"power":27908,"unknown_51":206,"unknown_85":37376,"ignition":48,"odometer":null,"unknown_44":-1566197107759091712}} 
[2026-08-08 17:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":150635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:10:41] local.INFO: GPS data processed {"connection_id":150635,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:10:41] local.INFO: Acknowledgment sent {"connection_id":150635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:11:01] local.INFO: TCP Data received {"connection_id":150636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:11:01] local.INFO: Processing buffer {"connection_id":150636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:11:01] local.INFO: IMEI packet received {"connection_id":150636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":150636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:11:04] local.INFO: TCP Data received {"connection_id":150637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:04] local.INFO: Processing buffer {"connection_id":150637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:04] local.INFO: IMEI packet received {"connection_id":150637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":150637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:11:05] local.INFO: TCP Data received {"connection_id":150637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:05] local.INFO: Processing buffer {"connection_id":150637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:05] local.INFO: IMEI packet received {"connection_id":150637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":150637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:11:06] local.INFO: TCP Data received {"connection_id":150637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:06] local.INFO: Processing buffer {"connection_id":150637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:06] local.INFO: IMEI packet received {"connection_id":150637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":150637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:11:07] local.INFO: TCP Data received {"connection_id":150636,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:11:07] local.INFO: Processing buffer {"connection_id":150636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:11:07] local.INFO: IMEI packet received {"connection_id":150636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":150636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:11:07] local.INFO: TCP Data received {"connection_id":150637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:07] local.INFO: Processing buffer {"connection_id":150637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:11:07] local.INFO: IMEI packet received {"connection_id":150637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":150637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:11:07] local.INFO: TCP Data received {"connection_id":150636,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12c1b40012d1a8dc0071fad180037008f29..."} 
[2026-08-08 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12c1b40012d1a8dc0071fad180037008f29..."} 
[2026-08-08 17:11:08] local.INFO: Processing buffer {"connection_id":150636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12c1b40012d1a8dc0071fad180037008f29..."} 
[2026-08-08 17:11:08] local.INFO: Packet analysis {"connection_id":150636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12c"} 
[2026-08-08 17:11:08] local.INFO: Extracted packet for processing {"connection_id":150636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12c"} 
[2026-08-08 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119516440,"longitude_deg":75.6714944,"latitude_deg":11.951644,"altitude":55,"angle":143,"satellites":41,"speed":0,"hex_longitude":"2d1a8dc0","hex_latitude":"071fad18","is_valid_coordinates":true} 
[2026-08-08 17:11: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-08-08 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264433152001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11599942162317312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553531070464,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11: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-08-08 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786189192000,"timestamp_ms":1786189192000,"timestamp_seconds":1786189192,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12c1b40"} 
[2026-08-08 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-08-08 17: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-08-08 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 17:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:11:08] 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-08-08 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264433152001,"66":12711,"101":206,"83":41984,"24":0,"16":11599942162317312,"45":1913396553531070464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264433152001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:11:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11599942162317312,"km_value":11599942162317.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553531070464,"description":"Unknown IO ID 45"} 
[2026-08-08 17:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264433152001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1913396553531070464}} 
[2026-08-08 17:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":150636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:11:08] local.INFO: GPS data processed {"connection_id":150636,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:11:08] local.INFO: Acknowledgment sent {"connection_id":150636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:11:42] local.INFO: TCP Data received {"connection_id":150636,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12d1d10012d1ac3c0071f91880038008e28..."} 
[2026-08-08 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12d1d10012d1ac3c0071f91880038008e28..."} 
[2026-08-08 17:11:42] local.INFO: Processing buffer {"connection_id":150636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12d1d10012d1ac3c0071f91880038008e28..."} 
[2026-08-08 17:11:42] local.INFO: Packet analysis {"connection_id":150636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:11:42] local.INFO: Extracted packet for processing {"connection_id":150636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756728768,"raw_latitude":119509384,"longitude_deg":75.6728768,"latitude_deg":11.9509384,"altitude":56,"angle":142,"satellites":40,"speed":24,"hex_longitude":"2d1ac3c0","hex_latitude":"071f9188","is_valid_coordinates":true} 
[2026-08-08 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264449792001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11600706666496000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173989806688256,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786189258000,"timestamp_ms":1786189258000,"timestamp_seconds":1786189258,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12d1d10"} 
[2026-08-08 17:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:11: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-08-08 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":15481738536943616,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3777806160,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503776628637696,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2627207227,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638521695565925,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2818649370,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84753164104310701,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-8232572286203854793,"note":"Value kept but may cause issues"} 
[2026-08-08 17:11:42] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,54,159,17,45,128,149,56,39,10,66,246,64,153,58,242,1,240,185,227,225,31,4,113,205,29,218,152,144,34,239,2,41,7,61,206,176,26],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-08 17:11:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035363976389394432,"timestamp_seconds":4035363976389394.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 17:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:11:42] 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-08-08 17:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264449792001,"66":14352,"101":206,"83":41984,"24":24,"16":11600706666496000,"45":1928173989806688256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264449792001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:11:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11600706666496000,"km_value":11600706666496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173989806688256,"description":"Unknown IO ID 45"} 
[2026-08-08 17:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264449792001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928173989806688256}} 
[2026-08-08 17:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":150636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:11:42] local.INFO: GPS data processed {"connection_id":150636,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:11:42] local.INFO: Acknowledgment sent {"connection_id":150636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:12:02] local.INFO: TCP Data received {"connection_id":150374,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:02] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:02] local.INFO: IMEI packet received {"connection_id":150374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":150374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:12:03] local.INFO: TCP Data received {"connection_id":150374,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:03] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:03] local.INFO: IMEI packet received {"connection_id":150374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":150374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:12:04] local.INFO: TCP Data received {"connection_id":150374,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:04] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:12:04] local.INFO: IMEI packet received {"connection_id":150374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":150374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:12:05] local.INFO: TCP Data received {"connection_id":150374,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12d20f8012d1ac4c0071f8f600038009e29..."} 
[2026-08-08 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12d20f8012d1ac4c0071f8f600038009e29..."} 
[2026-08-08 17:12:05] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12d20f8012d1ac4c0071f8f600038009e29..."} 
[2026-08-08 17:12:05] local.INFO: Packet analysis {"connection_id":150374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:12:05] local.INFO: Extracted packet for processing {"connection_id":150374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119508832,"longitude_deg":75.6729024,"latitude_deg":11.9508832,"altitude":56,"angle":158,"satellites":41,"speed":24,"hex_longitude":"2d1ac4c0","hex_latitude":"071f8f60","is_valid_coordinates":true} 
[2026-08-08 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264450048001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11600741026234368,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202271639552,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12: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-08-08 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786189259000,"timestamp_ms":1786189259000,"timestamp_seconds":1786189259,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12d20f8"} 
[2026-08-08 17:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:12: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-08-08 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3777813160,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503776630996992,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2582118459,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638384256612453,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2147950492,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84753167325536173,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":8,"raw_value":17170502464308224,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-8232572286203854793,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:05] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,101,83,24,241,157,16,54,159,25,45,64,147,56,40,10,66,17,128,149,39,246,1,240,185,227,225,31,4,113,205,28,234,161,152,37,239,2,41,7,60,206,80,8,26],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-08 17:12:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035381568575373312,"timestamp_seconds":4035381568575373.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 17:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:12:05] 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-08-08 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264450048001,"66":14298,"101":206,"83":41984,"24":24,"16":11600741026234368,"45":1928596202271639552},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264450048001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:12:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11600741026234368,"km_value":11600741026234.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202271639552,"description":"Unknown IO ID 45"} 
[2026-08-08 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264450048001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928596202271639552}} 
[2026-08-08 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":150374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:12:05] local.INFO: GPS data processed {"connection_id":150374,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:12:05] local.INFO: Acknowledgment sent {"connection_id":150374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:12:56] local.INFO: TCP Data received {"connection_id":150374,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12de060012d1af700071f4118003e007f27..."} 
[2026-08-08 17:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12de060012d1af700071f4118003e007f27..."} 
[2026-08-08 17:12:56] local.INFO: Processing buffer {"connection_id":150374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12de060012d1af700071f4118003e007f27..."} 
[2026-08-08 17:12:56] local.INFO: Packet analysis {"connection_id":150374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:12:56] local.INFO: Extracted packet for processing {"connection_id":150374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756741888,"raw_latitude":119488792,"longitude_deg":75.6741888,"latitude_deg":11.9488792,"altitude":62,"angle":127,"satellites":39,"speed":26,"hex_longitude":"2d1af700","hex_latitude":"071f4118","is_valid_coordinates":true} 
[2026-08-08 17:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264462592001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11602441833283584,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942388476125288448,"note":"Value kept but may cause issues"} 
[2026-08-08 17:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786189308000,"timestamp_ms":1786189308000,"timestamp_seconds":1786189308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12de060"} 
[2026-08-08 17:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:12: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-08-08 17:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-08 17:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":150374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":150374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":150374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:12:56] 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-08-08 17:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264462592001,"66":13167,"101":206,"83":41984,"24":26,"16":11602441833283584,"45":1942388476125288448},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264462592001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:12:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11602441833283584,"km_value":11602441833283.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942388476125288448,"description":"Unknown IO ID 45"} 
[2026-08-08 17:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264462592001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1942388476125288448}} 
[2026-08-08 17:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":150374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:12:56] local.INFO: GPS data processed {"connection_id":150374,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:12:56] local.INFO: Acknowledgment sent {"connection_id":150374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:13:00] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:00] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:00] local.INFO: IMEI packet received {"connection_id":153074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":153074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:13:00] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:00] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:00] local.INFO: IMEI packet received {"connection_id":153074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":153074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:13:01] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:01] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:01] local.INFO: IMEI packet received {"connection_id":153074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":153074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:13:02] local.INFO: TCP Data received {"connection_id":153074,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:02] local.INFO: Processing buffer {"connection_id":153074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:13:02] local.INFO: IMEI packet received {"connection_id":153074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":153074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:16:09] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:16:09] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:16:09] local.INFO: IMEI packet received {"connection_id":150376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":150376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:16:10] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12da5c8012ceb694007502970003c009029..."} 
[2026-08-08 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12da5c8012ceb694007502970003c009029..."} 
[2026-08-08 17:16:10] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12da5c8012ceb694007502970003c009029..."} 
[2026-08-08 17:16:10] local.INFO: Packet analysis {"connection_id":150376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:16:10] local.INFO: Extracted packet for processing {"connection_id":150376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":753625408,"raw_latitude":122694000,"longitude_deg":75.3625408,"latitude_deg":12.2694,"altitude":60,"angle":144,"satellites":41,"speed":5,"hex_longitude":"2ceb6940","hex_latitude":"07502970","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264457472001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683667009208320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483654570831933440,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189293000,"timestamp_ms":1786189293000,"timestamp_seconds":1786189293,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12da5c8"} 
[2026-08-08 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-08-08 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:16: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-08-08 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264457472001,"66":28093,"50":206,"85":37376,"24":5,"16":375683667009208320,"44":-1483654570831933440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264457472001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:16:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683667009208320,"km_value":375683667009208.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483654570831933440,"description":"Unknown IO ID 44"} 
[2026-08-08 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264457472001,"power":28093,"unknown_50":206,"unknown_85":37376,"ignition":5,"odometer":null,"unknown_44":-1483654570831933440}} 
[2026-08-08 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":150376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:16:10] local.INFO: GPS data processed {"connection_id":150376,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:16:10] local.INFO: Acknowledgment sent {"connection_id":150376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:16:25] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:16:25] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:16:25] local.INFO: IMEI packet received {"connection_id":153077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 17:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":153077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:16:30] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:16:30] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:16:30] local.INFO: IMEI packet received {"connection_id":153077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":153077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:16:31] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:16:31] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:16:31] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:16:31] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:16:31] 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-08-08 17:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:16:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:16:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:16:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:16:31] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:16:31] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:16:41] local.INFO: TCP Data received {"connection_id":150376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12df7d0012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12df7d0012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:16:41] local.INFO: Processing buffer {"connection_id":150376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12df7d0012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:16:41] local.INFO: Packet analysis {"connection_id":150376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:16:41] local.INFO: Extracted packet for processing {"connection_id":150376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12d"} 
[2026-08-08 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753625664,"raw_latitude":122694232,"longitude_deg":75.3625664,"latitude_deg":12.2694232,"altitude":61,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2ceb6a40","hex_latitude":"07502a58","is_valid_coordinates":true} 
[2026-08-08 17:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264459008001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483584202088026112,"note":"Value kept but may cause issues"} 
[2026-08-08 17:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189314000,"timestamp_ms":1786189314000,"timestamp_seconds":1786189314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12df7d0"} 
[2026-08-08 17:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-08 17:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:16: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-08-08 17:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264459008001,"66":27908,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483584202088026112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264459008001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483584202088026112,"description":"Unknown IO ID 44"} 
[2026-08-08 17:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264459008001,"power":27908,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483584202088026112}} 
[2026-08-08 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":150376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:16:41] local.INFO: GPS data processed {"connection_id":150376,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:16:41] local.INFO: Acknowledgment sent {"connection_id":150376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:17:02] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:17:02] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:17:02] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:17:02] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:17:02] 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-08-08 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:17:02] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:17:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:17:02] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:17:02] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:17:04] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:17:04] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:17:04] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:17:09] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:17:09] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:17:09] local.INFO: IMEI packet received {"connection_id":151584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":151584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:17:10] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12e1710012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12e1710012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:17:10] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12e1710012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:17:10] local.INFO: Packet analysis {"connection_id":151584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12e"} 
[2026-08-08 17:17:10] local.INFO: Extracted packet for processing {"connection_id":151584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12e"} 
[2026-08-08 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":753625664,"raw_latitude":122694232,"longitude_deg":75.3625664,"latitude_deg":12.2694232,"altitude":61,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2ceb6a40","hex_latitude":"07502a58","is_valid_coordinates":true} 
[2026-08-08 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264464384001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189322000,"timestamp_ms":1786189322000,"timestamp_seconds":1786189322,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12e1710"} 
[2026-08-08 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-08-08 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264464384001,"66":27995,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264464384001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:17:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264464384001,"power":27995,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":151584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:17:10] local.INFO: GPS data processed {"connection_id":151584,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:17:10] local.INFO: Acknowledgment sent {"connection_id":151584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:17:34] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:17:34] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:17:34] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:17:34] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:17: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":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:17:34] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:17:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:17:34] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:17:34] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:17:41] local.INFO: TCP Data received {"connection_id":151584,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12e1710012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12e1710012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:17:41] local.INFO: Processing buffer {"connection_id":151584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12e1710012ceb6a4007502a58003d008a2b..."} 
[2026-08-08 17:17:41] local.INFO: Packet analysis {"connection_id":151584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12e"} 
[2026-08-08 17:17:41] local.INFO: Extracted packet for processing {"connection_id":151584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12e"} 
[2026-08-08 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753625664,"raw_latitude":122694232,"longitude_deg":75.3625664,"latitude_deg":12.2694232,"altitude":61,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2ceb6a40","hex_latitude":"07502a58","is_valid_coordinates":true} 
[2026-08-08 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264464384001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189322000,"timestamp_ms":1786189322000,"timestamp_seconds":1786189322,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12e1710"} 
[2026-08-08 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264464384001,"66":27995,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264464384001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264464384001,"power":27995,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":151584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:17:41] local.INFO: GPS data processed {"connection_id":151584,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:17:41] local.INFO: Acknowledgment sent {"connection_id":151584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:18:03] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:03] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:03] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:18:05] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:18:05] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:18:05] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:05] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 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-08-08 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:18: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-08-08 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-08-08 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-08-08 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:18:05] 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-08-08 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:18:05] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:18:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:18:05] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:18:05] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:18:07] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:07] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:07] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:18:09] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:18:09] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:18:09] local.INFO: IMEI packet received {"connection_id":151586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":151586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:18:12] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:12] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:18:12] local.INFO: IMEI packet received {"connection_id":151585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":151585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:18:13] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe12fd078012d1b9100071ea200005e008f25..."} 
[2026-08-08 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe12fd078012d1b9100071ea200005e008f25..."} 
[2026-08-08 17:18:13] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe12fd078012d1b9100071ea200005e008f25..."} 
[2026-08-08 17:18:13] local.INFO: Packet analysis {"connection_id":151585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe12f"} 
[2026-08-08 17:18:13] local.INFO: Extracted packet for processing {"connection_id":151585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe12f"} 
[2026-08-08 17:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756781312,"raw_latitude":119448064,"longitude_deg":75.6781312,"latitude_deg":11.9448064,"altitude":94,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d1b9100","hex_latitude":"071ea200","is_valid_coordinates":true} 
[2026-08-08 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264489984001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11605697418493952,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984680091366053888,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18: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-08-08 17:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786189435000,"timestamp_ms":1786189435000,"timestamp_seconds":1786189435,"priority":1,"record_length":96,"hex_timestamp":"0000019fe12fd078"} 
[2026-08-08 17:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:18: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-08-08 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 17:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:18:13] 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-08-08 17:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264489984001,"66":13135,"101":206,"83":41984,"24":0,"16":11605697418493952,"45":1984680091366053888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264489984001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:18:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11605697418493952,"km_value":11605697418493.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984680091366053888,"description":"Unknown IO ID 45"} 
[2026-08-08 17:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264489984001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1984680091366053888}} 
[2026-08-08 17:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":151585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:18:13] local.INFO: GPS data processed {"connection_id":151585,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:18:13] local.INFO: Acknowledgment sent {"connection_id":151585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:18:14] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:18:14] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:18:14] local.INFO: IMEI packet received {"connection_id":151586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":151586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:18:15] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:18:15] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:18:15] local.INFO: Packet analysis {"connection_id":151586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:15] local.INFO: Extracted packet for processing {"connection_id":151586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:18: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-08-08 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:18:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":151586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:18:15] local.INFO: GPS data processed {"connection_id":151586,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:18:15] local.INFO: Acknowledgment sent {"connection_id":151586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:18:17] local.INFO: TCP Data received {"connection_id":151585,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1302280012d1b9100071ea200005e008f26..."} 
[2026-08-08 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1302280012d1b9100071ea200005e008f26..."} 
[2026-08-08 17:18:17] local.INFO: Processing buffer {"connection_id":151585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1302280012d1b9100071ea200005e008f26..."} 
[2026-08-08 17:18:17] local.INFO: Packet analysis {"connection_id":151585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe130"} 
[2026-08-08 17:18:17] local.INFO: Extracted packet for processing {"connection_id":151585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe130"} 
[2026-08-08 17:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756781312,"raw_latitude":119448064,"longitude_deg":75.6781312,"latitude_deg":11.9448064,"altitude":94,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d1b9100","hex_latitude":"071ea200","is_valid_coordinates":true} 
[2026-08-08 17:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264495360001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11605697418493952,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986368941225803776,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786189456000,"timestamp_ms":1786189456000,"timestamp_seconds":1786189456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1302280"} 
[2026-08-08 17:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 17:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:18:17] 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-08-08 17:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264495360001,"66":13102,"101":206,"83":41984,"24":0,"16":11605697418493952,"45":1986368941225803776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264495360001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:18:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11605697418493952,"km_value":11605697418493.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986368941225803776,"description":"Unknown IO ID 45"} 
[2026-08-08 17:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264495360001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1986368941225803776}} 
[2026-08-08 17:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":151585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:18:17] local.INFO: GPS data processed {"connection_id":151585,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:18:17] local.INFO: Acknowledgment sent {"connection_id":151585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:18:20] local.INFO: TCP Data received {"connection_id":151586,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:18:20] local.INFO: Processing buffer {"connection_id":151586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:18:20] local.INFO: Packet analysis {"connection_id":151586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:20] local.INFO: Extracted packet for processing {"connection_id":151586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 17:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:18: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-08-08 17:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:18: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-08-08 17:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":151586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:18:20] local.INFO: GPS data processed {"connection_id":151586,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:18:20] local.INFO: Acknowledgment sent {"connection_id":151586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:18:37] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:18:37] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:18:37] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:37] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:18:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 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-08-08 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:18: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-08-08 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-08-08 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-08-08 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:18:37] 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-08-08 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:18:37] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:18:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:18:37] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:18:37] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:19:02] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:19:02] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:19:02] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:19:04] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:19:04] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:19:04] local.INFO: IMEI packet received {"connection_id":151588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":151588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:19:06] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:19:06] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:19:06] local.INFO: IMEI packet received {"connection_id":151587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":151587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:19:07] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1307488012d1b9100071ea200005e008f25..."} 
[2026-08-08 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1307488012d1b9100071ea200005e008f25..."} 
[2026-08-08 17:19:07] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1307488012d1b9100071ea200005e008f25..."} 
[2026-08-08 17:19:07] local.INFO: Packet analysis {"connection_id":151587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe130"} 
[2026-08-08 17:19:07] local.INFO: Extracted packet for processing {"connection_id":151587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe130"} 
[2026-08-08 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756781312,"raw_latitude":119448064,"longitude_deg":75.6781312,"latitude_deg":11.9448064,"altitude":94,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d1b9100","hex_latitude":"071ea200","is_valid_coordinates":true} 
[2026-08-08 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264500736001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11605697418493952,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986368941225803776,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19: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-08-08 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786189477000,"timestamp_ms":1786189477000,"timestamp_seconds":1786189477,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1307488"} 
[2026-08-08 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:19: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-08-08 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 17:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:19:07] 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-08-08 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264500736001,"66":13080,"103":206,"83":41984,"24":0,"16":11605697418493952,"45":1986368941225803776},"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-08-08 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264500736001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11605697418493952,"km_value":11605697418493.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986368941225803776,"description":"Unknown IO ID 45"} 
[2026-08-08 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264500736001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1986368941225803776}} 
[2026-08-08 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":151587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:19:07] local.INFO: GPS data processed {"connection_id":151587,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:19:07] local.INFO: Acknowledgment sent {"connection_id":151587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:19:07] local.INFO: TCP Data received {"connection_id":151587,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe130c690012d1b9100071ea200005e008f23..."} 
[2026-08-08 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe130c690012d1b9100071ea200005e008f23..."} 
[2026-08-08 17:19:07] local.INFO: Processing buffer {"connection_id":151587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe130c690012d1b9100071ea200005e008f23..."} 
[2026-08-08 17:19:07] local.INFO: Packet analysis {"connection_id":151587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe130"} 
[2026-08-08 17:19:07] local.INFO: Extracted packet for processing {"connection_id":151587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe130"} 
[2026-08-08 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756781312,"raw_latitude":119448064,"longitude_deg":75.6781312,"latitude_deg":11.9448064,"altitude":94,"angle":143,"satellites":35,"speed":0,"hex_longitude":"2d1b9100","hex_latitude":"071ea200","is_valid_coordinates":true} 
[2026-08-08 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264506112001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11605697418493952,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986368941225803776,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19: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-08-08 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786189498000,"timestamp_ms":1786189498000,"timestamp_seconds":1786189498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe130c690"} 
[2026-08-08 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:19: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-08-08 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:19:07] 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-08-08 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264506112001,"66":13048,"101":206,"83":41984,"24":0,"16":11605697418493952,"45":1986368941225803776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264506112001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11605697418493952,"km_value":11605697418493.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986368941225803776,"description":"Unknown IO ID 45"} 
[2026-08-08 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264506112001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1986368941225803776}} 
[2026-08-08 17:19:07] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:19:07] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:19:07] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:07] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:19:07] 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-08-08 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:19:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:19:07] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:19:07] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":151587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:19:07] local.INFO: GPS data processed {"connection_id":151587,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:19:07] local.INFO: Acknowledgment sent {"connection_id":151587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:19:09] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:19:09] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:19:09] local.INFO: IMEI packet received {"connection_id":151588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":151588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:19:10] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:19:10] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:19:10] local.INFO: Packet analysis {"connection_id":151588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:10] local.INFO: Extracted packet for processing {"connection_id":151588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 17:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:19:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":151588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:19:10] local.INFO: GPS data processed {"connection_id":151588,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:19:10] local.INFO: Acknowledgment sent {"connection_id":151588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:19:38] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:19:38] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:19:38] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:38] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:19:38] 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-08-08 17:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:19:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:19:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:19:38] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:19:38] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:19:41] local.INFO: TCP Data received {"connection_id":151588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:19:41] local.INFO: Processing buffer {"connection_id":151588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:19:41] local.INFO: Packet analysis {"connection_id":151588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:41] local.INFO: Extracted packet for processing {"connection_id":151588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 17:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:19: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-08-08 17:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:19:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":151588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:19:41] local.INFO: GPS data processed {"connection_id":151588,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:19:41] local.INFO: Acknowledgment sent {"connection_id":151588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:20:04] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:20:04] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:20:04] local.INFO: IMEI packet received {"connection_id":153078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":153078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:20:09] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:20:09] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:20:09] local.INFO: IMEI packet received {"connection_id":153078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":153078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:20:10] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:20:10] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:20:10] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:10] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:20:10] 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-08-08 17:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:20:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:20:10] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:20:10] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:20:10] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:20:10] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:20:10] local.INFO: Packet analysis {"connection_id":153078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:10] local.INFO: Extracted packet for processing {"connection_id":153078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 17:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":153078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:20:10] local.INFO: GPS data processed {"connection_id":153078,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:20:10] local.INFO: Acknowledgment sent {"connection_id":153078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:20:41] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:20:41] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1322620012d743800062cf350001f003f08..."} 
[2026-08-08 17:20:41] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:41] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":762591232,"raw_latitude":103609168,"longitude_deg":76.2591232,"latitude_deg":10.3609168,"altitude":31,"angle":63,"satellites":8,"speed":0,"hex_longitude":"2d743800","hex_latitude":"062cf350","is_valid_coordinates":true} 
[2026-08-08 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,22,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189588000,"timestamp_ms":1786189588000,"timestamp_seconds":1786189588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1322620"} 
[2026-08-08 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 17:20: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-08-08 17:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:20:41] 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-08-08 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12385,"22":206,"79":21504,"24":0,"16":116070417432576000},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16]} 
[2026-08-08 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12385,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null}} 
[2026-08-08 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:20:41] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:20:41] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:20:41] local.INFO: TCP Data received {"connection_id":153078,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:20:41] local.INFO: Processing buffer {"connection_id":153078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:20:41] local.INFO: Packet analysis {"connection_id":153078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:41] local.INFO: Extracted packet for processing {"connection_id":153078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:20: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-08-08 17:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":153078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:20:41] local.INFO: GPS data processed {"connection_id":153078,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:20:41] local.INFO: Acknowledgment sent {"connection_id":153078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:21:04] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:21:04] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:21:04] local.INFO: IMEI packet received {"connection_id":151589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:21:09] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:21:09] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:21:09] local.INFO: IMEI packet received {"connection_id":151589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":151589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:21:10] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:21:10] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:21:10] local.INFO: Packet analysis {"connection_id":151589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:21:10] local.INFO: Extracted packet for processing {"connection_id":151589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 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-08-08 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:21: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-08-08 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:21:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":151589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:21:10] local.INFO: GPS data processed {"connection_id":151589,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:21:10] local.INFO: Acknowledgment sent {"connection_id":151589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:21:12] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:21:12] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:21:12] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:21:12] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:21:12] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 17:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 17:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:21:12] 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-08-08 17:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:21:12] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:21:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:21:12] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:21:12] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:21:41] local.INFO: TCP Data received {"connection_id":151589,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:21:41] local.INFO: Processing buffer {"connection_id":151589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:21:41] local.INFO: Packet analysis {"connection_id":151589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:21:41] local.INFO: Extracted packet for processing {"connection_id":151589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 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-08-08 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:21: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-08-08 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-08-08 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-08-08 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:21: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-08-08 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:21:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":151589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:21:41] local.INFO: GPS data processed {"connection_id":151589,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:21:41] local.INFO: Acknowledgment sent {"connection_id":151589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:21:43] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:21:43] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:21:43] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:21:43] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:21:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 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-08-08 17:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:21: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-08-08 17:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:21:43] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:21:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:21:43] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:21:43] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:22:04] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:22:04] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:22:04] local.INFO: IMEI packet received {"connection_id":150377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":150377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:22:09] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:22:09] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:22:09] local.INFO: IMEI packet received {"connection_id":150377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":150377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:22:10] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:22:10] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe132be78012ceb690007502a100041008a27..."} 
[2026-08-08 17:22:10] local.INFO: Packet analysis {"connection_id":150377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:22:10] local.INFO: Extracted packet for processing {"connection_id":150377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe132"} 
[2026-08-08 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":65,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264466432001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302727111256064,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189627000,"timestamp_ms":1786189627000,"timestamp_seconds":1786189627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe132be78"} 
[2026-08-08 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-08-08 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:22: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-08-08 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264466432001,"66":26408,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483302727111256064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264466432001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:22:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302727111256064,"description":"Unknown IO ID 44"} 
[2026-08-08 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264466432001,"power":26408,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483302727111256064}} 
[2026-08-08 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":150377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:22:10] local.INFO: GPS data processed {"connection_id":150377,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:22:10] local.INFO: Acknowledgment sent {"connection_id":150377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:22:14] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:22:14] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:22:14] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:22:14] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 17:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 17:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:22:14] 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-08-08 17:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:22:14] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:22:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:22:14] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:22:14] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:22:41] local.INFO: TCP Data received {"connection_id":150377,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe136f880012ceb690007502a10003c008a29..."} 
[2026-08-08 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe136f880012ceb690007502a10003c008a29..."} 
[2026-08-08 17:22:41] local.INFO: Processing buffer {"connection_id":150377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe136f880012ceb690007502a10003c008a29..."} 
[2026-08-08 17:22:41] local.INFO: Packet analysis {"connection_id":150377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:22:41] local.INFO: Extracted packet for processing {"connection_id":150377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":122694160,"longitude_deg":75.3625344,"latitude_deg":12.269416,"altitude":60,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2ceb6900","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483654570832162816,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189904000,"timestamp_ms":1786189904000,"timestamp_seconds":1786189904,"priority":1,"record_length":96,"hex_timestamp":"0000019fe136f880"} 
[2026-08-08 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-08-08 17:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 17:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:22: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-08-08 17:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264544512001,"66":26115,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483654570832162816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:22:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483654570832162816,"description":"Unknown IO ID 44"} 
[2026-08-08 17:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264544512001,"power":26115,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483654570832162816}} 
[2026-08-08 17:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":150377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:22:41] local.INFO: GPS data processed {"connection_id":150377,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:22:41] local.INFO: Acknowledgment sent {"connection_id":150377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:22:45] local.INFO: TCP Data received {"connection_id":153077,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:22:45] local.INFO: Processing buffer {"connection_id":153077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:22:45] local.INFO: Packet analysis {"connection_id":153077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:22:45] local.INFO: Extracted packet for processing {"connection_id":153077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 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-08-08 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:22:45] 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-08-08 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:22:45] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:22:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":153077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:22:45] local.INFO: GPS data processed {"connection_id":153077,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:22:45] local.INFO: Acknowledgment sent {"connection_id":153077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:22:52] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:52] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:52] local.INFO: IMEI packet received {"connection_id":150378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":150378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:22:53] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:53] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:53] local.INFO: IMEI packet received {"connection_id":150378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":150378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:22:58] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:58] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:22:58] local.INFO: IMEI packet received {"connection_id":150378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":150378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:22:59] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1373700012d1afc00071f2838004b016523..."} 
[2026-08-08 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1373700012d1afc00071f2838004b016523..."} 
[2026-08-08 17:22:59] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1373700012d1afc00071f2838004b016523..."} 
[2026-08-08 17:22:59] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:22:59] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756743168,"raw_latitude":119482424,"longitude_deg":75.6743168,"latitude_deg":11.9482424,"altitude":75,"angle":357,"satellites":35,"speed":28,"hex_longitude":"2d1afc00","hex_latitude":"071f2838","is_valid_coordinates":true} 
[2026-08-08 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11608136959918080,"note":"Value kept but may cause issues"} 
[2026-08-08 17:22:59] 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-08-08 17:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1786189920000,"timestamp_ms":1786189920000,"timestamp_seconds":1786189920,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1373700"} 
[2026-08-08 17:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 17:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14483,"101":206,"83":41984,"24":28,"16":11608136959918080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16]} 
[2026-08-08 17:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 17:22:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11608136959918080,"km_value":11608136959918.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:22:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null}} 
[2026-08-08 17:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:22:59] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:22:59] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:23:04] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:04] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:04] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:23:05] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:23:05] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:23:05] local.INFO: IMEI packet received {"connection_id":153079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":153079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:23:07] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:07] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:07] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:23:09] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:09] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:23:09] local.INFO: IMEI packet received {"connection_id":151590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":151590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:23:10] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1370438012ceb678007502a10003c005228..."} 
[2026-08-08 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1370438012ceb678007502a10003c005228..."} 
[2026-08-08 17:23:10] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1370438012ceb678007502a10003c005228..."} 
[2026-08-08 17:23:10] local.INFO: Packet analysis {"connection_id":151590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:23:10] local.INFO: Extracted packet for processing {"connection_id":151590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":753624960,"raw_latitude":122694160,"longitude_deg":75.362496,"latitude_deg":12.269416,"altitude":60,"angle":82,"satellites":40,"speed":0,"hex_longitude":"2ceb6780","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264615424001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483654570832162816,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189907000,"timestamp_ms":1786189907000,"timestamp_seconds":1786189907,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1370438"} 
[2026-08-08 17:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 17:23: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-08-08 17:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:23: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-08-08 17:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264615424001,"66":27484,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1483654570832162816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264615424001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:23:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483654570832162816,"description":"Unknown IO ID 44"} 
[2026-08-08 17:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264615424001,"power":27484,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483654570832162816}} 
[2026-08-08 17:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":151590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:23:10] local.INFO: GPS data processed {"connection_id":151590,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:23:10] local.INFO: Acknowledgment sent {"connection_id":151590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:23:10] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:23:10] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:23:10] local.INFO: IMEI packet received {"connection_id":153079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 17:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":153079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:23:11] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:23:11] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:23:11] local.INFO: Packet analysis {"connection_id":153079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:23:11] local.INFO: Extracted packet for processing {"connection_id":153079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:23:11] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 17:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 17:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:23: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-08-08 17:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:23:11] 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-08-08 17:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:23:11] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:23:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":153079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:23:11] local.INFO: GPS data processed {"connection_id":153079,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:23:11] local.INFO: Acknowledgment sent {"connection_id":153079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:23:30] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe137cb70012d1ab9c0071f4a70003d015f25..."} 
[2026-08-08 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe137cb70012d1ab9c0071f4a70003d015f25..."} 
[2026-08-08 17:23:30] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe137cb70012d1ab9c0071f4a70003d015f25..."} 
[2026-08-08 17:23:30] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:23:30] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756726208,"raw_latitude":119491184,"longitude_deg":75.6726208,"latitude_deg":11.9491184,"altitude":61,"angle":351,"satellites":37,"speed":19,"hex_longitude":"2d1ab9c0","hex_latitude":"071f4a70","is_valid_coordinates":true} 
[2026-08-08 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264628736001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11609266536316928,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558732161024,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786189958000,"timestamp_ms":1786189958000,"timestamp_seconds":1786189958,"priority":1,"record_length":96,"hex_timestamp":"0000019fe137cb70"} 
[2026-08-08 17:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 17:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264628736001,"66":14265,"101":206,"83":41984,"24":19,"16":11609266536316928,"45":1925992558732161024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264628736001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11609266536316928,"km_value":11609266536316.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558732161024,"description":"Unknown IO ID 45"} 
[2026-08-08 17:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264628736001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1925992558732161024}} 
[2026-08-08 17:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:23:30] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:23:30] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:23:41] local.INFO: TCP Data received {"connection_id":151590,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1375640012ceb678007502a10003c005226..."} 
[2026-08-08 17:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1375640012ceb678007502a10003c005226..."} 
[2026-08-08 17:23:41] local.INFO: Processing buffer {"connection_id":151590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1375640012ceb678007502a10003c005226..."} 
[2026-08-08 17:23:41] local.INFO: Packet analysis {"connection_id":151590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:23:41] local.INFO: Extracted packet for processing {"connection_id":151590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753624960,"raw_latitude":122694160,"longitude_deg":75.362496,"latitude_deg":12.269416,"altitude":60,"angle":82,"satellites":38,"speed":0,"hex_longitude":"2ceb6780","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264616192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484076783297228800,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189928000,"timestamp_ms":1786189928000,"timestamp_seconds":1786189928,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1375640"} 
[2026-08-08 17:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":92,"data_length":795,"current_offset":136} 
[2026-08-08 17:23: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-08-08 17: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-08-08 17:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:23: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-08-08 17:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264616192001,"66":27930,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1484076783297228800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264616192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:23:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484076783297228800,"description":"Unknown IO ID 44"} 
[2026-08-08 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264616192001,"power":27930,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1484076783297228800}} 
[2026-08-08 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":151590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:23:41] local.INFO: GPS data processed {"connection_id":151590,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:23:41] local.INFO: Acknowledgment sent {"connection_id":151590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:23:43] local.INFO: TCP Data received {"connection_id":153079,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:23:43] local.INFO: Processing buffer {"connection_id":153079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:23:43] local.INFO: Packet analysis {"connection_id":153079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:23:43] local.INFO: Extracted packet for processing {"connection_id":153079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:23:43] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 17:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:23: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-08-08 17:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:23:43] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:23:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":153079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:23:43] local.INFO: GPS data processed {"connection_id":153079,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:23:43] local.INFO: Acknowledgment sent {"connection_id":153079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:24:00] local.INFO: TCP Data received {"connection_id":150639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:24:00] local.INFO: Processing buffer {"connection_id":150639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:24:00] local.INFO: IMEI packet received {"connection_id":150639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":150639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:24:01] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe137e6c8012d1ab900071f5d10003b000225..."} 
[2026-08-08 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe137e6c8012d1ab900071f5d10003b000225..."} 
[2026-08-08 17:24:01] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe137e6c8012d1ab900071f5d10003b000225..."} 
[2026-08-08 17:24:01] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:24:01] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":756726016,"raw_latitude":119495952,"longitude_deg":75.6726016,"latitude_deg":11.9495952,"altitude":59,"angle":2,"satellites":37,"speed":30,"hex_longitude":"2d1ab900","hex_latitude":"071f5d10","is_valid_coordinates":true} 
[2026-08-08 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264629248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11609498464550912,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925781452499873792,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786189965000,"timestamp_ms":1786189965000,"timestamp_seconds":1786189965,"priority":1,"record_length":96,"hex_timestamp":"0000019fe137e6c8"} 
[2026-08-08 17:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 17:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264629248001,"66":14483,"101":206,"83":41984,"24":30,"16":11609498464550912,"45":1925781452499873792},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264629248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:24:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11609498464550912,"km_value":11609498464550.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925781452499873792,"description":"Unknown IO ID 45"} 
[2026-08-08 17:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264629248001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1925781452499873792}} 
[2026-08-08 17:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:24:01] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:24:01] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:24:05] local.INFO: TCP Data received {"connection_id":150639,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:24:05] local.INFO: Processing buffer {"connection_id":150639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:24:05] local.INFO: IMEI packet received {"connection_id":150639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 17:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":150639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:24:09] local.INFO: TCP Data received {"connection_id":150640,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:24:09] local.INFO: Processing buffer {"connection_id":150640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:24:09] local.INFO: IMEI packet received {"connection_id":150640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":150640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:24:10] local.INFO: TCP Data received {"connection_id":150639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:24:10] local.INFO: Processing buffer {"connection_id":150639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:24:10] local.INFO: Packet analysis {"connection_id":150639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:24:10] local.INFO: Extracted packet for processing {"connection_id":150639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 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-08-08 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:24: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-08-08 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-08-08 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-08-08 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:24:10] 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-08-08 17:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:24:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:24:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":150639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:24:10] local.INFO: GPS data processed {"connection_id":150639,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:24:10] local.INFO: Acknowledgment sent {"connection_id":150639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:24:14] local.INFO: TCP Data received {"connection_id":150640,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:24:14] local.INFO: Processing buffer {"connection_id":150640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:24:14] local.INFO: IMEI packet received {"connection_id":150640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":150640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:24:15] local.INFO: TCP Data received {"connection_id":150640,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe137a848012ceb678007502a10003c005228..."} 
[2026-08-08 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe137a848012ceb678007502a10003c005228..."} 
[2026-08-08 17:24:15] local.INFO: Processing buffer {"connection_id":150640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe137a848012ceb678007502a10003c005228..."} 
[2026-08-08 17:24:15] local.INFO: Packet analysis {"connection_id":150640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:24:15] local.INFO: Extracted packet for processing {"connection_id":150640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":753624960,"raw_latitude":122694160,"longitude_deg":75.362496,"latitude_deg":12.269416,"altitude":60,"angle":82,"satellites":40,"speed":0,"hex_longitude":"2ceb6780","hex_latitude":"07502a10","is_valid_coordinates":true} 
[2026-08-08 17:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683748613586944,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484076783297228800,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786189949000,"timestamp_ms":1786189949000,"timestamp_seconds":1786189949,"priority":1,"record_length":96,"hex_timestamp":"0000019fe137a848"} 
[2026-08-08 17:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 17:24: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-08-08 17:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264621568001,"66":27800,"50":206,"85":37376,"24":0,"16":375683748613586944,"44":-1484076783297228800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:24:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683748613586944,"km_value":375683748613586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484076783297228800,"description":"Unknown IO ID 44"} 
[2026-08-08 17:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264621568001,"power":27800,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1484076783297228800}} 
[2026-08-08 17:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":150640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:24:15] local.INFO: GPS data processed {"connection_id":150640,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:24:15] local.INFO: Acknowledgment sent {"connection_id":150640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:24:19] local.INFO: TCP Data received {"connection_id":150640,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe137cb70012ceb698007502b30003b002828..."} 
[2026-08-08 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe137cb70012ceb698007502b30003b002828..."} 
[2026-08-08 17:24:19] local.INFO: Processing buffer {"connection_id":150640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe137cb70012ceb698007502b30003b002828..."} 
[2026-08-08 17:24:19] local.INFO: Packet analysis {"connection_id":150640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:24:19] local.INFO: Extracted packet for processing {"connection_id":150640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe137"} 
[2026-08-08 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":753625472,"raw_latitude":122694448,"longitude_deg":75.3625472,"latitude_deg":12.2694448,"altitude":59,"angle":40,"satellites":40,"speed":2,"hex_longitude":"2ceb6980","hex_latitude":"07502b30","is_valid_coordinates":true} 
[2026-08-08 17:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264626944001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683778678358016,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484076783297228800,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786189958000,"timestamp_ms":1786189958000,"timestamp_seconds":1786189958,"priority":1,"record_length":96,"hex_timestamp":"0000019fe137cb70"} 
[2026-08-08 17:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 17:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264626944001,"66":28050,"50":206,"85":37376,"24":2,"16":375683778678358016,"44":-1484076783297228800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264626944001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:24:19] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683778678358016,"km_value":375683778678358.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484076783297228800,"description":"Unknown IO ID 44"} 
[2026-08-08 17:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264626944001,"power":28050,"unknown_50":206,"unknown_85":37376,"ignition":2,"odometer":null,"unknown_44":-1484076783297228800}} 
[2026-08-08 17:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":150640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:24:19] local.INFO: GPS data processed {"connection_id":150640,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:24:19] local.INFO: Acknowledgment sent {"connection_id":150640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:24:33] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe138cd40012d1afc80071f8cb0002f006424..."} 
[2026-08-08 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe138cd40012d1afc80071f8cb0002f006424..."} 
[2026-08-08 17:24:33] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe138cd40012d1afc80071f8cb0002f006424..."} 
[2026-08-08 17:24:33] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:24:33] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756743296,"raw_latitude":119508144,"longitude_deg":75.6743296,"latitude_deg":11.9508144,"altitude":47,"angle":100,"satellites":36,"speed":14,"hex_longitude":"2d1afc80","hex_latitude":"071f8cb0","is_valid_coordinates":true} 
[2026-08-08 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264645888001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11610718235262976,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944077325990422528,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786190024000,"timestamp_ms":1786190024000,"timestamp_seconds":1786190024,"priority":1,"record_length":96,"hex_timestamp":"0000019fe138cd40"} 
[2026-08-08 17:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 17:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264645888001,"66":14189,"101":206,"83":41984,"24":14,"16":11610718235262976,"45":1944077325990422528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264645888001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:24:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:24:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11610718235262976,"km_value":11610718235262.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944077325990422528,"description":"Unknown IO ID 45"} 
[2026-08-08 17:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264645888001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1944077325990422528}} 
[2026-08-08 17:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:24:33] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:24:33] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:24:41] local.INFO: TCP Data received {"connection_id":150639,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:24:41] local.INFO: Processing buffer {"connection_id":150639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:24:41] local.INFO: Packet analysis {"connection_id":150639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:24:41] local.INFO: Extracted packet for processing {"connection_id":150639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:24: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-08-08 17:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:24:41] 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-08-08 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:24:41] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:24:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":150639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:24:41] local.INFO: GPS data processed {"connection_id":150639,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:24:41] local.INFO: Acknowledgment sent {"connection_id":150639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:25:00] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:25:00] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:25:00] local.INFO: IMEI packet received {"connection_id":151591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":151591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:25:04] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe138d128012d1afe00071f8c28002f007023..."} 
[2026-08-08 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe138d128012d1afe00071f8c28002f007023..."} 
[2026-08-08 17:25:04] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe138d128012d1afe00071f8c28002f007023..."} 
[2026-08-08 17:25:04] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:04] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756743680,"raw_latitude":119508008,"longitude_deg":75.674368,"latitude_deg":11.9508008,"altitude":47,"angle":112,"satellites":35,"speed":14,"hex_longitude":"2d1afe00","hex_latitude":"071f8c28","is_valid_coordinates":true} 
[2026-08-08 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264646144001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11610739710099456,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944569907199651840,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25: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-08-08 17:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786190025000,"timestamp_ms":1786190025000,"timestamp_seconds":1786190025,"priority":1,"record_length":96,"hex_timestamp":"0000019fe138d128"} 
[2026-08-08 17:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 17:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264646144001,"66":14189,"101":206,"83":41984,"24":14,"16":11610739710099456,"45":1944569907199651840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264646144001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:25:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11610739710099456,"km_value":11610739710099.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944569907199651840,"description":"Unknown IO ID 45"} 
[2026-08-08 17:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264646144001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1944569907199651840}} 
[2026-08-08 17:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:25:04] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:25:04] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:25:04] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:25:04] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:25:04] local.INFO: IMEI packet received {"connection_id":153080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":153080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:25:05] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:25:05] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 17:25:05] local.INFO: IMEI packet received {"connection_id":151591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 17:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":151591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:25:07] local.INFO: TCP Data received {"connection_id":151591,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:25:07] local.INFO: Processing buffer {"connection_id":151591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13644d0012d743600062cf0e00021003f1c..."} 
[2026-08-08 17:25:07] local.INFO: Packet analysis {"connection_id":151591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:25:07] local.INFO: Extracted packet for processing {"connection_id":151591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe136"} 
[2026-08-08 17:25:07] local.INFO: GPS Element Parsed {"raw_longitude":762590720,"raw_latitude":103608544,"longitude_deg":76.259072,"latitude_deg":10.3608544,"altitude":33,"angle":63,"satellites":28,"speed":0,"hex_longitude":"2d743600","hex_latitude":"062cf0e0","is_valid_coordinates":true} 
[2026-08-08 17:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264534528001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374443533619384320,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786189858000,"timestamp_ms":1786189858000,"timestamp_seconds":1786189858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13644d0"} 
[2026-08-08 17:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":151591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":151591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":151591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 17:25:07] 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-08-08 17:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 17:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 17:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264534528001,"66":12287,"22":206,"79":21504,"24":0,"16":116070417432576000,"45":8374443533619384320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 17:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 17:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 17:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264534528001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:25:07] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 17:25:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 17:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374443533619384320,"description":"Unknown IO ID 45"} 
[2026-08-08 17:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264534528001,"power":12287,"unknown_22":206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8374443533619384320}} 
[2026-08-08 17:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":151591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:25:07] local.INFO: GPS data processed {"connection_id":151591,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:25:07] local.INFO: Acknowledgment sent {"connection_id":151591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:25:09] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:25:09] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:25:09] local.INFO: IMEI packet received {"connection_id":153080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":153080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:25:18] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13815a8012ceb698007502b70003b002927..."} 
[2026-08-08 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13815a8012ceb698007502b70003b002927..."} 
[2026-08-08 17:25:18] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13815a8012ceb698007502b70003b002927..."} 
[2026-08-08 17:25:18] local.INFO: Packet analysis {"connection_id":153080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:18] local.INFO: Extracted packet for processing {"connection_id":153080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":753625472,"raw_latitude":122694512,"longitude_deg":75.3625472,"latitude_deg":12.2694512,"altitude":59,"angle":41,"satellites":39,"speed":0,"hex_longitude":"2ceb6980","hex_latitude":"07502b70","is_valid_coordinates":true} 
[2026-08-08 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264629248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483513833343733760,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786189977000,"timestamp_ms":1786189977000,"timestamp_seconds":1786189977,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13815a8"} 
[2026-08-08 17:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 17:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264629248001,"66":27745,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483513833343733760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264629248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483513833343733760,"description":"Unknown IO ID 44"} 
[2026-08-08 17:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264629248001,"power":27745,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483513833343733760}} 
[2026-08-08 17:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":153080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:25:18] local.INFO: GPS data processed {"connection_id":153080,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:25:18] local.INFO: Acknowledgment sent {"connection_id":153080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:25:18] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:25:18] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:25:18] local.INFO: Packet analysis {"connection_id":153080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:18] local.INFO: Extracted packet for processing {"connection_id":153080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634112001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483513833343717376,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 17:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634112001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483513833343717376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634112001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:25:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483513833343717376,"description":"Unknown IO ID 44"} 
[2026-08-08 17:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634112001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483513833343717376}} 
[2026-08-08 17:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":153080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:25:18] local.INFO: GPS data processed {"connection_id":153080,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:25:18] local.INFO: Acknowledgment sent {"connection_id":153080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:25:36] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe139b7a0012d1b5640071f6cf8003c006e22..."} 
[2026-08-08 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe139b7a0012d1b5640071f6cf8003c006e22..."} 
[2026-08-08 17:25:36] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe139b7a0012d1b5640071f6cf8003c006e22..."} 
[2026-08-08 17:25:36] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe139"} 
[2026-08-08 17:25:36] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe139"} 
[2026-08-08 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119500024,"longitude_deg":75.6766272,"latitude_deg":11.9500024,"altitude":60,"angle":110,"satellites":34,"speed":10,"hex_longitude":"2d1b5640","hex_latitude":"071f6cf8","is_valid_coordinates":true} 
[2026-08-08 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264661248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11612023905320960,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180124848128,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25: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-08-08 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786190084000,"timestamp_ms":1786190084000,"timestamp_seconds":1786190084,"priority":1,"record_length":96,"hex_timestamp":"0000019fe139b7a0"} 
[2026-08-08 17:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:25: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-08-08 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-08 17:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264661248001,"66":14363,"101":206,"83":41984,"24":10,"16":11612023905320960,"45":1969621180124848128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264661248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:25:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11612023905320960,"km_value":11612023905320.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180124848128,"description":"Unknown IO ID 45"} 
[2026-08-08 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264661248001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1969621180124848128}} 
[2026-08-08 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:25:36] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:25:36] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:25:51] local.INFO: TCP Data received {"connection_id":153080,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:25:51] local.INFO: Processing buffer {"connection_id":153080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:25:51] local.INFO: Packet analysis {"connection_id":153080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:51] local.INFO: Extracted packet for processing {"connection_id":153080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:25:51] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:25: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-08-08 17:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:25:51] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":153080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:25:51] local.INFO: GPS data processed {"connection_id":153080,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:25:51] local.INFO: Acknowledgment sent {"connection_id":153080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:26:04] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:26:04] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:26:04] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:26:07] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe139bb88012d1b5780071f6cc8003c006323..."} 
[2026-08-08 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe139bb88012d1b5780071f6cc8003c006323..."} 
[2026-08-08 17:26:07] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe139bb88012d1b5780071f6cc8003c006323..."} 
[2026-08-08 17:26:07] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe139"} 
[2026-08-08 17:26:07] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe139"} 
[2026-08-08 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119499976,"longitude_deg":75.6766592,"latitude_deg":11.9499976,"altitude":60,"angle":99,"satellites":35,"speed":11,"hex_longitude":"2d1b5780","hex_latitude":"071f6cc8","is_valid_coordinates":true} 
[2026-08-08 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264661504001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11612036790222848,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286357354496,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26: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-08-08 17:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786190085000,"timestamp_ms":1786190085000,"timestamp_seconds":1786190085,"priority":1,"record_length":96,"hex_timestamp":"0000019fe139bb88"} 
[2026-08-08 17:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:26: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-08-08 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 17:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264661504001,"66":14363,"101":206,"83":41984,"24":11,"16":11612036790222848,"45":1969832286357354496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264661504001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:26:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11612036790222848,"km_value":11612036790222.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286357354496,"description":"Unknown IO ID 45"} 
[2026-08-08 17:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264661504001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1969832286357354496}} 
[2026-08-08 17:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:26:07] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:26:07] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:26:09] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:26:09] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:26:09] local.INFO: IMEI packet received {"connection_id":151592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":151592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:26:10] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:26:10] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:26:10] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:26:10] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:26:10] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:26:10] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:26:38] local.INFO: TCP Data received {"connection_id":150378,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe139c358012d1b59c0071f6cf0003d005223..."} 
[2026-08-08 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe139c358012d1b59c0071f6cf0003d005223..."} 
[2026-08-08 17:26:38] local.INFO: Processing buffer {"connection_id":150378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe139c358012d1b59c0071f6cf0003d005223..."} 
[2026-08-08 17:26:38] local.INFO: Packet analysis {"connection_id":150378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe139"} 
[2026-08-08 17:26:38] local.INFO: Extracted packet for processing {"connection_id":150378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe139"} 
[2026-08-08 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756767168,"raw_latitude":119500016,"longitude_deg":75.6767168,"latitude_deg":11.9500016,"altitude":61,"angle":82,"satellites":35,"speed":12,"hex_longitude":"2d1b59c0","hex_latitude":"071f6cf0","is_valid_coordinates":true} 
[2026-08-08 17:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264661760001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11612066854993920,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130078230528,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26: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-08-08 17:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786190087000,"timestamp_ms":1786190087000,"timestamp_seconds":1786190087,"priority":1,"record_length":96,"hex_timestamp":"0000019fe139c358"} 
[2026-08-08 17:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:26: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-08-08 17: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":27,"data_length":795,"current_offset":136} 
[2026-08-08 17:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264661760001,"66":13602,"101":206,"83":41984,"24":12,"16":11612066854993920,"45":1970184130078230528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-08 17:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264661760001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:26:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 17:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-08 17:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11612066854993920,"km_value":11612066854993.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130078230528,"description":"Unknown IO ID 45"} 
[2026-08-08 17:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264661760001,"power":13602,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1970184130078230528}} 
[2026-08-08 17:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":150378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:26:38] local.INFO: GPS data processed {"connection_id":150378,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:26:38] local.INFO: Acknowledgment sent {"connection_id":150378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:26:41] local.INFO: TCP Data received {"connection_id":151592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:26:41] local.INFO: Processing buffer {"connection_id":151592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:26:41] local.INFO: Packet analysis {"connection_id":151592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:26:41] local.INFO: Extracted packet for processing {"connection_id":151592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":151592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:26:41] local.INFO: GPS data processed {"connection_id":151592,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:26:41] local.INFO: Acknowledgment sent {"connection_id":151592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:27:04] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:27:04] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:27:04] local.INFO: IMEI packet received {"connection_id":153081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":153081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:27:09] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:27:09] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:27:09] local.INFO: IMEI packet received {"connection_id":153081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":153081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:27:10] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:27:10] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:27:10] local.INFO: Packet analysis {"connection_id":153081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:27:10] local.INFO: Extracted packet for processing {"connection_id":153081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:27:10] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:27:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":153081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:27:10] local.INFO: GPS data processed {"connection_id":153081,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:27:10] local.INFO: Acknowledgment sent {"connection_id":153081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:27:41] local.INFO: TCP Data received {"connection_id":153081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:27:41] local.INFO: Processing buffer {"connection_id":153081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:27:41] local.INFO: Packet analysis {"connection_id":153081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:27:41] local.INFO: Extracted packet for processing {"connection_id":153081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:27: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-08-08 17:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:27:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":153081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:27:41] local.INFO: GPS data processed {"connection_id":153081,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:27:41] local.INFO: Acknowledgment sent {"connection_id":153081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:28:04] local.INFO: TCP Data received {"connection_id":150641,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:28:04] local.INFO: Processing buffer {"connection_id":150641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:28:04] local.INFO: IMEI packet received {"connection_id":150641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":150641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:28:09] local.INFO: TCP Data received {"connection_id":150641,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:28:09] local.INFO: Processing buffer {"connection_id":150641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:28:09] local.INFO: IMEI packet received {"connection_id":150641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":150641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:28:10] local.INFO: TCP Data received {"connection_id":150641,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:28:10] local.INFO: Processing buffer {"connection_id":150641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1381d78012ceb680007502a18003c00ec28..."} 
[2026-08-08 17:28:10] local.INFO: Packet analysis {"connection_id":150641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:28:10] local.INFO: Extracted packet for processing {"connection_id":150641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe138"} 
[2026-08-08 17:28:10] local.INFO: GPS Element Parsed {"raw_longitude":753625088,"raw_latitude":122694168,"longitude_deg":75.3625088,"latitude_deg":12.2694168,"altitude":60,"angle":236,"satellites":40,"speed":1,"hex_longitude":"2ceb6800","hex_latitude":"07502a18","is_valid_coordinates":true} 
[2026-08-08 17:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786189979000,"timestamp_ms":1786189979000,"timestamp_seconds":1786189979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1381d78"} 
[2026-08-08 17:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":27343,"50":206,"85":37376,"24":1,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:28:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":27343,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":150641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:28:10] local.INFO: GPS data processed {"connection_id":150641,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:28:10] local.INFO: Acknowledgment sent {"connection_id":150641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:28:41] local.INFO: TCP Data received {"connection_id":150641,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:28:41] local.INFO: Processing buffer {"connection_id":150641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:28:41] local.INFO: Packet analysis {"connection_id":150641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:28:41] local.INFO: Extracted packet for processing {"connection_id":150641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:28:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":150641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:28:41] local.INFO: GPS data processed {"connection_id":150641,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:28:41] local.INFO: Acknowledgment sent {"connection_id":150641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:29:04] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:29:04] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:29:04] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:29:11] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:29:11] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:29:11] local.INFO: IMEI packet received {"connection_id":151593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":151593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:29:12] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:29:12] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:29:12] local.INFO: Packet analysis {"connection_id":151593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:29:12] local.INFO: Extracted packet for processing {"connection_id":151593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:29: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-08-08 17:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:29:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":151593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:29:12] local.INFO: GPS data processed {"connection_id":151593,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:29:12] local.INFO: Acknowledgment sent {"connection_id":151593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:29:42] local.INFO: TCP Data received {"connection_id":151593,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:29:42] local.INFO: Processing buffer {"connection_id":151593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:29:42] local.INFO: Packet analysis {"connection_id":151593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:29:42] local.INFO: Extracted packet for processing {"connection_id":151593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:29: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-08-08 17:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:29:42] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":151593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:29:42] local.INFO: GPS data processed {"connection_id":151593,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:29:42] local.INFO: Acknowledgment sent {"connection_id":151593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:30:04] local.INFO: TCP Data received {"connection_id":150379,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:30:04] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:30:04] local.INFO: IMEI packet received {"connection_id":150379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":150379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:30:09] local.INFO: TCP Data received {"connection_id":150379,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:30:09] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:30:09] local.INFO: IMEI packet received {"connection_id":150379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":150379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:30:10] local.INFO: TCP Data received {"connection_id":150379,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:30:10] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:30:10] local.INFO: Packet analysis {"connection_id":150379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:30:10] local.INFO: Extracted packet for processing {"connection_id":150379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:30:10] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:30:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":150379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:30:10] local.INFO: GPS data processed {"connection_id":150379,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:30:10] local.INFO: Acknowledgment sent {"connection_id":150379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:30:42] local.INFO: TCP Data received {"connection_id":150379,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:30:42] local.INFO: Processing buffer {"connection_id":150379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:30:42] local.INFO: Packet analysis {"connection_id":150379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:30:42] local.INFO: Extracted packet for processing {"connection_id":150379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:30: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-08-08 17:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:30:42] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":150379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:30:42] local.INFO: GPS data processed {"connection_id":150379,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:30:42] local.INFO: Acknowledgment sent {"connection_id":150379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:31:09] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:31:09] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:31:09] local.INFO: IMEI packet received {"connection_id":153082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":153082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:31:14] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:31:14] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:31:14] local.INFO: IMEI packet received {"connection_id":153082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":153082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:31:15] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:31:15] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:31:15] local.INFO: Packet analysis {"connection_id":153082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:31:15] local.INFO: Extracted packet for processing {"connection_id":153082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:31: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-08-08 17:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:31: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-08-08 17:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:31:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":153082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:31:15] local.INFO: GPS data processed {"connection_id":153082,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:31:15] local.INFO: Acknowledgment sent {"connection_id":153082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:31:20] local.INFO: TCP Data received {"connection_id":153082,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:31:20] local.INFO: Processing buffer {"connection_id":153082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:31:20] local.INFO: Packet analysis {"connection_id":153082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:31:20] local.INFO: Extracted packet for processing {"connection_id":153082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:31:20] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:31: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-08-08 17:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:31:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":153082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:31:20] local.INFO: GPS data processed {"connection_id":153082,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:31:20] local.INFO: Acknowledgment sent {"connection_id":153082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:32:04] local.INFO: TCP Data received {"connection_id":150642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:32:04] local.INFO: Processing buffer {"connection_id":150642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:32:04] local.INFO: IMEI packet received {"connection_id":150642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":150642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:32:09] local.INFO: TCP Data received {"connection_id":150642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:32:09] local.INFO: Processing buffer {"connection_id":150642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:32:09] local.INFO: IMEI packet received {"connection_id":150642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":150642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:32:10] local.INFO: TCP Data received {"connection_id":150642,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:32:10] local.INFO: Processing buffer {"connection_id":150642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:32:10] local.INFO: Packet analysis {"connection_id":150642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:32:10] local.INFO: Extracted packet for processing {"connection_id":150642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:32:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":150642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:32:10] local.INFO: GPS data processed {"connection_id":150642,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:32:10] local.INFO: Acknowledgment sent {"connection_id":150642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:32:41] local.INFO: TCP Data received {"connection_id":150642,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:32:41] local.INFO: Processing buffer {"connection_id":150642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:32:41] local.INFO: Packet analysis {"connection_id":150642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:32:41] local.INFO: Extracted packet for processing {"connection_id":150642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17: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-08-08 17:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:32: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-08-08 17:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:32:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":150642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:32:41] local.INFO: GPS data processed {"connection_id":150642,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:32:41] local.INFO: Acknowledgment sent {"connection_id":150642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:33:04] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:33:04] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:33:04] local.INFO: IMEI packet received {"connection_id":151594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":151594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:33:09] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:33:09] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:33:09] local.INFO: IMEI packet received {"connection_id":151594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":151594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:33:12] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:33:12] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe13cbd10012ceb6840075029c8003c00e725..."} 
[2026-08-08 17:33:12] local.INFO: Packet analysis {"connection_id":151594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:33:12] local.INFO: Extracted packet for processing {"connection_id":151594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe13c"} 
[2026-08-08 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":37,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264634624001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483936045808871424,"note":"Value kept but may cause issues"} 
[2026-08-08 17:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786190282000,"timestamp_ms":1786190282000,"timestamp_seconds":1786190282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe13cbd10"} 
[2026-08-08 17:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 17:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264634624001,"66":26321,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483936045808871424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264634624001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:33:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483936045808871424,"description":"Unknown IO ID 44"} 
[2026-08-08 17:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264634624001,"power":26321,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483936045808871424}} 
[2026-08-08 17:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":151594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:33:12] local.INFO: GPS data processed {"connection_id":151594,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:33:12] local.INFO: Acknowledgment sent {"connection_id":151594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:33:44] local.INFO: TCP Data received {"connection_id":151594,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:33:44] local.INFO: Processing buffer {"connection_id":151594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:33:44] local.INFO: Packet analysis {"connection_id":151594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe141"} 
[2026-08-08 17:33:44] local.INFO: Extracted packet for processing {"connection_id":151594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe141"} 
[2026-08-08 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":32,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264712192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483865677064714240,"note":"Value kept but may cause issues"} 
[2026-08-08 17:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786190583000,"timestamp_ms":1786190583000,"timestamp_seconds":1786190583,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14154d8"} 
[2026-08-08 17:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-08 17:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264712192001,"66":26039,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483865677064714240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264712192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:33:44] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483865677064714240,"description":"Unknown IO ID 44"} 
[2026-08-08 17:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264712192001,"power":26039,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483865677064714240}} 
[2026-08-08 17:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":151594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:33:44] local.INFO: GPS data processed {"connection_id":151594,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:33:44] local.INFO: Acknowledgment sent {"connection_id":151594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:34:04] local.INFO: TCP Data received {"connection_id":150643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:34:04] local.INFO: Processing buffer {"connection_id":150643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:34:04] local.INFO: IMEI packet received {"connection_id":150643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":150643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:34:09] local.INFO: TCP Data received {"connection_id":150643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:34:09] local.INFO: Processing buffer {"connection_id":150643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:34:09] local.INFO: IMEI packet received {"connection_id":150643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":150643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:34:10] local.INFO: TCP Data received {"connection_id":150643,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:34:10] local.INFO: Processing buffer {"connection_id":150643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:34:10] local.INFO: Packet analysis {"connection_id":150643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe141"} 
[2026-08-08 17:34:10] local.INFO: Extracted packet for processing {"connection_id":150643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe141"} 
[2026-08-08 17:34:10] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":32,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264712192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483865677064714240,"note":"Value kept but may cause issues"} 
[2026-08-08 17:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190583000,"timestamp_ms":1786190583000,"timestamp_seconds":1786190583,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14154d8"} 
[2026-08-08 17:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-08 17:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:34: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-08-08 17:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264712192001,"66":26039,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483865677064714240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264712192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:34:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483865677064714240,"description":"Unknown IO ID 44"} 
[2026-08-08 17:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264712192001,"power":26039,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483865677064714240}} 
[2026-08-08 17:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":150643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:34:10] local.INFO: GPS data processed {"connection_id":150643,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:34:10] local.INFO: Acknowledgment sent {"connection_id":150643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:34:41] local.INFO: TCP Data received {"connection_id":150643,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:34:41] local.INFO: Processing buffer {"connection_id":150643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14154d8012ceb6840075029c8003c00e720..."} 
[2026-08-08 17:34:41] local.INFO: Packet analysis {"connection_id":150643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe141"} 
[2026-08-08 17:34:41] local.INFO: Extracted packet for processing {"connection_id":150643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe141"} 
[2026-08-08 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":32,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264712192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483865677064714240,"note":"Value kept but may cause issues"} 
[2026-08-08 17:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190583000,"timestamp_ms":1786190583000,"timestamp_seconds":1786190583,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14154d8"} 
[2026-08-08 17:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-08 17:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:34: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-08-08 17:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264712192001,"66":26039,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483865677064714240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264712192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:34:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483865677064714240,"description":"Unknown IO ID 44"} 
[2026-08-08 17:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264712192001,"power":26039,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483865677064714240}} 
[2026-08-08 17:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":150643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:34:41] local.INFO: GPS data processed {"connection_id":150643,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:34:41] local.INFO: Acknowledgment sent {"connection_id":150643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:35:04] local.INFO: TCP Data received {"connection_id":150644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:04] local.INFO: Processing buffer {"connection_id":150644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:04] local.INFO: IMEI packet received {"connection_id":150644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":150644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:35:06] local.INFO: TCP Data received {"connection_id":150644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:06] local.INFO: Processing buffer {"connection_id":150644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:06] local.INFO: IMEI packet received {"connection_id":150644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":150644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:35:10] local.INFO: TCP Data received {"connection_id":150644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:10] local.INFO: Processing buffer {"connection_id":150644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:35:10] local.INFO: IMEI packet received {"connection_id":150644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":150644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:35:10] local.INFO: TCP Data received {"connection_id":150644,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1429cf8012ceb6840075029c8003c00e721..."} 
[2026-08-08 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1429cf8012ceb6840075029c8003c00e721..."} 
[2026-08-08 17:35:10] local.INFO: Processing buffer {"connection_id":150644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1429cf8012ceb6840075029c8003c00e721..."} 
[2026-08-08 17:35:10] local.INFO: Packet analysis {"connection_id":150644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe142"} 
[2026-08-08 17:35:10] local.INFO: Extracted packet for processing {"connection_id":150644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe142"} 
[2026-08-08 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":122694088,"longitude_deg":75.3625152,"latitude_deg":12.2694088,"altitude":60,"angle":231,"satellites":33,"speed":0,"hex_longitude":"2ceb6840","hex_latitude":"075029c8","is_valid_coordinates":true} 
[2026-08-08 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264789248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483865677064714240,"note":"Value kept but may cause issues"} 
[2026-08-08 17:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190667000,"timestamp_ms":1786190667000,"timestamp_seconds":1786190667,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1429cf8"} 
[2026-08-08 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 17:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264789248001,"66":26006,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483865677064714240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264789248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:35:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483865677064714240,"description":"Unknown IO ID 44"} 
[2026-08-08 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264789248001,"power":26006,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483865677064714240}} 
[2026-08-08 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":150644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:35:10] local.INFO: GPS data processed {"connection_id":150644,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:35:10] local.INFO: Acknowledgment sent {"connection_id":150644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:35:41] local.INFO: TCP Data received {"connection_id":150644,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe142b080012ceb6b4007502b60003c00401e..."} 
[2026-08-08 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe142b080012ceb6b4007502b60003c00401e..."} 
[2026-08-08 17:35:41] local.INFO: Processing buffer {"connection_id":150644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe142b080012ceb6b4007502b60003c00401e..."} 
[2026-08-08 17:35:41] local.INFO: Packet analysis {"connection_id":150644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe142"} 
[2026-08-08 17:35:41] local.INFO: Extracted packet for processing {"connection_id":150644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe142"} 
[2026-08-08 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":753625920,"raw_latitude":122694496,"longitude_deg":75.362592,"latitude_deg":12.2694496,"altitude":60,"angle":64,"satellites":30,"speed":0,"hex_longitude":"2ceb6b40","hex_latitude":"07502b60","is_valid_coordinates":true} 
[2026-08-08 17:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264810752001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483865677064714240,"note":"Value kept but may cause issues"} 
[2026-08-08 17:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190672000,"timestamp_ms":1786190672000,"timestamp_seconds":1786190672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe142b080"} 
[2026-08-08 17:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 17:35: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-08-08 17:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264810752001,"66":27571,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483865677064714240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264810752001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:35:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483865677064714240,"description":"Unknown IO ID 44"} 
[2026-08-08 17:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264810752001,"power":27571,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483865677064714240}} 
[2026-08-08 17:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":150644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:35:41] local.INFO: GPS data processed {"connection_id":150644,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:35:41] local.INFO: Acknowledgment sent {"connection_id":150644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:36:05] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:05] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:05] local.INFO: IMEI packet received {"connection_id":153083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":153083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:36:09] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:09] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:09] local.INFO: IMEI packet received {"connection_id":153083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":153083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:36:10] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:10] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:10] local.INFO: IMEI packet received {"connection_id":153083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":153083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:36:14] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:14] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:36:14] local.INFO: IMEI packet received {"connection_id":153083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":153083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:36:15] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1430288012ceb6b4007502b60003c004022..."} 
[2026-08-08 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1430288012ceb6b4007502b60003c004022..."} 
[2026-08-08 17:36:15] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1430288012ceb6b4007502b60003c004022..."} 
[2026-08-08 17:36:15] local.INFO: Packet analysis {"connection_id":153083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:36:15] local.INFO: Extracted packet for processing {"connection_id":153083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:36:15] local.INFO: GPS Element Parsed {"raw_longitude":753625920,"raw_latitude":122694496,"longitude_deg":75.362592,"latitude_deg":12.2694496,"altitude":60,"angle":64,"satellites":34,"speed":0,"hex_longitude":"2ceb6b40","hex_latitude":"07502b60","is_valid_coordinates":true} 
[2026-08-08 17:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264812032001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683782973325312,"note":"Value kept but may cause issues"} 
[2026-08-08 17:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483021252134477824,"note":"Value kept but may cause issues"} 
[2026-08-08 17:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786190693000,"timestamp_ms":1786190693000,"timestamp_seconds":1786190693,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1430288"} 
[2026-08-08 17:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 17:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:36: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-08-08 17:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264812032001,"66":27995,"50":206,"85":37376,"24":0,"16":375683782973325312,"44":-1483021252134477824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264812032001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:36:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683782973325312,"km_value":375683782973325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483021252134477824,"description":"Unknown IO ID 44"} 
[2026-08-08 17:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264812032001,"power":27995,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483021252134477824}} 
[2026-08-08 17:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":153083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:36:15] local.INFO: GPS data processed {"connection_id":153083,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:36:15] local.INFO: Acknowledgment sent {"connection_id":153083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:36:20] local.INFO: TCP Data received {"connection_id":153083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1431de0012ceb6d4007502c48003900f222..."} 
[2026-08-08 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1431de0012ceb6d4007502c48003900f222..."} 
[2026-08-08 17:36:20] local.INFO: Processing buffer {"connection_id":153083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1431de0012ceb6d4007502c48003900f222..."} 
[2026-08-08 17:36:20] local.INFO: Packet analysis {"connection_id":153083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:36:20] local.INFO: Extracted packet for processing {"connection_id":153083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:36:20] local.INFO: GPS Element Parsed {"raw_longitude":753626432,"raw_latitude":122694728,"longitude_deg":75.3626432,"latitude_deg":12.2694728,"altitude":57,"angle":242,"satellites":34,"speed":1,"hex_longitude":"2ceb6d40","hex_latitude":"07502c48","is_valid_coordinates":true} 
[2026-08-08 17:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264817408001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683808743129088,"note":"Value kept but may cause issues"} 
[2026-08-08 17:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483021252134477824,"note":"Value kept but may cause issues"} 
[2026-08-08 17:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786190700000,"timestamp_ms":1786190700000,"timestamp_seconds":1786190700,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1431de0"} 
[2026-08-08 17:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 17:36: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-08-08 17:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:36: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-08-08 17:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264817408001,"66":27865,"50":206,"85":37376,"24":1,"16":375683808743129088,"44":-1483021252134477824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264817408001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:36:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683808743129088,"km_value":375683808743129.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483021252134477824,"description":"Unknown IO ID 44"} 
[2026-08-08 17:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264817408001,"power":27865,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1483021252134477824}} 
[2026-08-08 17:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":153083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:36:20] local.INFO: GPS data processed {"connection_id":153083,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:36:20] local.INFO: Acknowledgment sent {"connection_id":153083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:37:04] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:37:04] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:37:04] local.INFO: IMEI packet received {"connection_id":150380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":150380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:37:09] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:37:09] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:37:09] local.INFO: IMEI packet received {"connection_id":150380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":150380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:37:10] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1432998012ceb6cc007502c38003900fe23..."} 
[2026-08-08 17:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1432998012ceb6cc007502c38003900fe23..."} 
[2026-08-08 17:37:10] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1432998012ceb6cc007502c38003900fe23..."} 
[2026-08-08 17:37:10] local.INFO: Packet analysis {"connection_id":150380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:37:10] local.INFO: Extracted packet for processing {"connection_id":150380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:37:10] local.INFO: GPS Element Parsed {"raw_longitude":753626304,"raw_latitude":122694712,"longitude_deg":75.3626304,"latitude_deg":12.2694712,"altitude":57,"angle":254,"satellites":35,"speed":0,"hex_longitude":"2ceb6cc0","hex_latitude":"07502c38","is_valid_coordinates":true} 
[2026-08-08 17:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264819200001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683813038096384,"note":"Value kept but may cause issues"} 
[2026-08-08 17:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190703000,"timestamp_ms":1786190703000,"timestamp_seconds":1786190703,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1432998"} 
[2026-08-08 17:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 17:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264819200001,"66":27658,"50":206,"85":37376,"24":0,"16":375683813038096384,"44":-1482458302180997120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264819200001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:37:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683813038096384,"km_value":375683813038096.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264819200001,"power":27658,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":150380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:37:10] local.INFO: GPS data processed {"connection_id":150380,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:37:10] local.INFO: Acknowledgment sent {"connection_id":150380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:37:43] local.INFO: TCP Data received {"connection_id":150380,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1433168012ceb6d4007502c48003900fe23..."} 
[2026-08-08 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1433168012ceb6d4007502c48003900fe23..."} 
[2026-08-08 17:37:43] local.INFO: Processing buffer {"connection_id":150380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1433168012ceb6d4007502c48003900fe23..."} 
[2026-08-08 17:37:43] local.INFO: Packet analysis {"connection_id":150380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:37:43] local.INFO: Extracted packet for processing {"connection_id":150380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":753626432,"raw_latitude":122694728,"longitude_deg":75.3626432,"latitude_deg":12.2694728,"altitude":57,"angle":254,"satellites":35,"speed":0,"hex_longitude":"2ceb6d40","hex_latitude":"07502c48","is_valid_coordinates":true} 
[2026-08-08 17:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264819968001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482599039669356544,"note":"Value kept but may cause issues"} 
[2026-08-08 17:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786190705000,"timestamp_ms":1786190705000,"timestamp_seconds":1786190705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1433168"} 
[2026-08-08 17:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 17:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:37: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-08-08 17:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264819968001,"66":27908,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482599039669356544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264819968001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:37:43] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482599039669356544,"description":"Unknown IO ID 44"} 
[2026-08-08 17:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264819968001,"power":27908,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482599039669356544}} 
[2026-08-08 17:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":150380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:37:43] local.INFO: GPS data processed {"connection_id":150380,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:37:43] local.INFO: Acknowledgment sent {"connection_id":150380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:38:04] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:38:04] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:38:04] local.INFO: IMEI packet received {"connection_id":151595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":151595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:38:09] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:38:09] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:38:09] local.INFO: IMEI packet received {"connection_id":151595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":151595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:38:10] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1434108012ceb6d4007502c48003900fe22..."} 
[2026-08-08 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1434108012ceb6d4007502c48003900fe22..."} 
[2026-08-08 17:38:10] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1434108012ceb6d4007502c48003900fe22..."} 
[2026-08-08 17:38:10] local.INFO: Packet analysis {"connection_id":151595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:38:10] local.INFO: Extracted packet for processing {"connection_id":151595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:38:10] local.INFO: GPS Element Parsed {"raw_longitude":753626432,"raw_latitude":122694728,"longitude_deg":75.3626432,"latitude_deg":12.2694728,"altitude":57,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2ceb6d40","hex_latitude":"07502c48","is_valid_coordinates":true} 
[2026-08-08 17:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264820480001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190709000,"timestamp_ms":1786190709000,"timestamp_seconds":1786190709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1434108"} 
[2026-08-08 17:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 17:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264820480001,"66":26713,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264820480001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:38:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264820480001,"power":26713,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":151595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:38:10] local.INFO: GPS data processed {"connection_id":151595,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:38:10] local.INFO: Acknowledgment sent {"connection_id":151595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:38:41] local.INFO: TCP Data received {"connection_id":151595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1438370012ceb6d4007502c48003900fe21..."} 
[2026-08-08 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1438370012ceb6d4007502c48003900fe21..."} 
[2026-08-08 17:38:41] local.INFO: Processing buffer {"connection_id":151595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1438370012ceb6d4007502c48003900fe21..."} 
[2026-08-08 17:38:41] local.INFO: Packet analysis {"connection_id":151595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:38:41] local.INFO: Extracted packet for processing {"connection_id":151595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753626432,"raw_latitude":122694728,"longitude_deg":75.3626432,"latitude_deg":12.2694728,"altitude":57,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2ceb6d40","hex_latitude":"07502c48","is_valid_coordinates":true} 
[2026-08-08 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264821504001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190726000,"timestamp_ms":1786190726000,"timestamp_seconds":1786190726,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1438370"} 
[2026-08-08 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-08-08 17:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:38: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-08-08 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264821504001,"66":26452,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264821504001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:38:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264821504001,"power":26452,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":151595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:38:41] local.INFO: GPS data processed {"connection_id":151595,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:38:41] local.INFO: Acknowledgment sent {"connection_id":151595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:39:04] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:39:04] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:39:04] local.INFO: IMEI packet received {"connection_id":153084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":153084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:39:09] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:39:09] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:39:09] local.INFO: IMEI packet received {"connection_id":153084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":153084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:39:10] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:39:10] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:39:10] local.INFO: Packet analysis {"connection_id":153084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:39:10] local.INFO: Extracted packet for processing {"connection_id":153084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":753626560,"raw_latitude":122694696,"longitude_deg":75.362656,"latitude_deg":12.2694696,"altitude":58,"angle":91,"satellites":34,"speed":1,"hex_longitude":"2ceb6dc0","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264825856001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190731000,"timestamp_ms":1786190731000,"timestamp_seconds":1786190731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14396f8"} 
[2026-08-08 17:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 17:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264825856001,"66":26484,"50":206,"85":37376,"24":1,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264825856001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:39:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264825856001,"power":26484,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":153084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:39:10] local.INFO: GPS data processed {"connection_id":153084,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:39:10] local.INFO: Acknowledgment sent {"connection_id":153084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:39:41] local.INFO: TCP Data received {"connection_id":153084,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:39:41] local.INFO: Processing buffer {"connection_id":153084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:39:41] local.INFO: Packet analysis {"connection_id":153084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:39:41] local.INFO: Extracted packet for processing {"connection_id":153084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753626560,"raw_latitude":122694696,"longitude_deg":75.362656,"latitude_deg":12.2694696,"altitude":58,"angle":91,"satellites":34,"speed":1,"hex_longitude":"2ceb6dc0","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264825856001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190731000,"timestamp_ms":1786190731000,"timestamp_seconds":1786190731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14396f8"} 
[2026-08-08 17:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 17:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:39: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-08-08 17:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264825856001,"66":26484,"50":206,"85":37376,"24":1,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264825856001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:39:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264825856001,"power":26484,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":153084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:39:41] local.INFO: GPS data processed {"connection_id":153084,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:39:41] local.INFO: Acknowledgment sent {"connection_id":153084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:40:04] local.INFO: TCP Data received {"connection_id":150645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:40:04] local.INFO: Processing buffer {"connection_id":150645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:40:04] local.INFO: IMEI packet received {"connection_id":150645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":150645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:40:09] local.INFO: TCP Data received {"connection_id":150645,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:40:09] local.INFO: Processing buffer {"connection_id":150645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:40:09] local.INFO: IMEI packet received {"connection_id":150645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:40:10] local.INFO: TCP Data received {"connection_id":150645,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:40:10] local.INFO: Processing buffer {"connection_id":150645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:40:10] local.INFO: Packet analysis {"connection_id":150645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:40:10] local.INFO: Extracted packet for processing {"connection_id":150645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":753626560,"raw_latitude":122694696,"longitude_deg":75.362656,"latitude_deg":12.2694696,"altitude":58,"angle":91,"satellites":34,"speed":1,"hex_longitude":"2ceb6dc0","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264825856001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190731000,"timestamp_ms":1786190731000,"timestamp_seconds":1786190731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14396f8"} 
[2026-08-08 17:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 17:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264825856001,"66":26484,"50":206,"85":37376,"24":1,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264825856001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264825856001,"power":26484,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":150645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:40:10] local.INFO: GPS data processed {"connection_id":150645,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:40:10] local.INFO: Acknowledgment sent {"connection_id":150645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:40:41] local.INFO: TCP Data received {"connection_id":150645,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:40:41] local.INFO: Processing buffer {"connection_id":150645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:40:41] local.INFO: Packet analysis {"connection_id":150645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:40:41] local.INFO: Extracted packet for processing {"connection_id":150645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":753626560,"raw_latitude":122694696,"longitude_deg":75.362656,"latitude_deg":12.2694696,"altitude":58,"angle":91,"satellites":34,"speed":1,"hex_longitude":"2ceb6dc0","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264825856001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786190731000,"timestamp_ms":1786190731000,"timestamp_seconds":1786190731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14396f8"} 
[2026-08-08 17:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 17:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:40: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-08-08 17:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264825856001,"66":26484,"50":206,"85":37376,"24":1,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264825856001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:40:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264825856001,"power":26484,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":150645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:40:41] local.INFO: GPS data processed {"connection_id":150645,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:40:41] local.INFO: Acknowledgment sent {"connection_id":150645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:41:04] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:41:04] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:41:04] local.INFO: IMEI packet received {"connection_id":153085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":153085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:41:09] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:41:09] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:41:09] local.INFO: IMEI packet received {"connection_id":153085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":153085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:41:10] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:41:10] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14396f8012ceb6dc007502c28003a005b22..."} 
[2026-08-08 17:41:10] local.INFO: Packet analysis {"connection_id":153085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:41:10] local.INFO: Extracted packet for processing {"connection_id":153085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe143"} 
[2026-08-08 17:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753626560,"raw_latitude":122694696,"longitude_deg":75.362656,"latitude_deg":12.2694696,"altitude":58,"angle":91,"satellites":34,"speed":1,"hex_longitude":"2ceb6dc0","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264825856001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482458302180997120,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786190731000,"timestamp_ms":1786190731000,"timestamp_seconds":1786190731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14396f8"} 
[2026-08-08 17:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-08 17:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264825856001,"66":26484,"50":206,"85":37376,"24":1,"16":375683817333063680,"44":-1482458302180997120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264825856001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:41:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482458302180997120,"description":"Unknown IO ID 44"} 
[2026-08-08 17:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264825856001,"power":26484,"unknown_50":206,"unknown_85":37376,"ignition":1,"odometer":null,"unknown_44":-1482458302180997120}} 
[2026-08-08 17:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":153085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:41:10] local.INFO: GPS data processed {"connection_id":153085,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:41:10] local.INFO: Acknowledgment sent {"connection_id":153085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:41:24] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:41:24] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:41:24] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:41:25] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:41:25] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:41:25] local.INFO: IMEI packet received {"connection_id":151596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":151596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:41:26] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1473c90012d1b8380071f7598004e00e425..."} 
[2026-08-08 17:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1473c90012d1b8380071f7598004e00e425..."} 
[2026-08-08 17:41:26] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1473c90012d1b8380071f7598004e00e425..."} 
[2026-08-08 17:41:26] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe147"} 
[2026-08-08 17:41:26] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe147"} 
[2026-08-08 17:41:26] local.INFO: GPS Element Parsed {"raw_longitude":756777856,"raw_latitude":119502232,"longitude_deg":75.6777856,"latitude_deg":11.9502232,"altitude":78,"angle":228,"satellites":37,"speed":4,"hex_longitude":"2d1b8380","hex_latitude":"071f7598","is_valid_coordinates":true} 
[2026-08-08 17:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264886272001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11617723326922752,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1983624560216856576,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786190970000,"timestamp_ms":1786190970000,"timestamp_seconds":1786190970,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1473c90"} 
[2026-08-08 17:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 17:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264886272001,"66":14004,"68":206,"28":31744,"24":4,"16":11617723326922752,"45":1983624560216856576},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-08 17:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264886272001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11617723326922752,"km_value":11617723326922.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1983624560216856576,"description":"Unknown IO ID 45"} 
[2026-08-08 17:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264886272001,"power":14004,"unknown_68":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1983624560216856576}} 
[2026-08-08 17:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:41:26] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:41:26] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:41:30] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14757e8012d1b7f80071f7318004d00ef25..."} 
[2026-08-08 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14757e8012d1b7f80071f7318004d00ef25..."} 
[2026-08-08 17:41:30] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14757e8012d1b7f80071f7318004d00ef25..."} 
[2026-08-08 17:41:30] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe147"} 
[2026-08-08 17:41:30] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe147"} 
[2026-08-08 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756776832,"raw_latitude":119501592,"longitude_deg":75.6776832,"latitude_deg":11.9501592,"altitude":77,"angle":239,"satellites":37,"speed":7,"hex_longitude":"2d1b7f80","hex_latitude":"071f7318","is_valid_coordinates":true} 
[2026-08-08 17:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264888320001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11617783456464896,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982569029054076928,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786190977000,"timestamp_ms":1786190977000,"timestamp_seconds":1786190977,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14757e8"} 
[2026-08-08 17:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 17:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264888320001,"66":14004,"68":206,"28":31744,"24":7,"16":11617783456464896,"45":1982569029054076928},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-08 17:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264888320001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:41:30] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 17:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11617783456464896,"km_value":11617783456464.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982569029054076928,"description":"Unknown IO ID 45"} 
[2026-08-08 17:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264888320001,"power":14004,"unknown_68":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1982569029054076928}} 
[2026-08-08 17:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:41:31] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:41:31] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:41:41] local.INFO: TCP Data received {"connection_id":153085,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:41:41] local.INFO: Processing buffer {"connection_id":153085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:41:41] local.INFO: Packet analysis {"connection_id":153085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:41:41] local.INFO: Extracted packet for processing {"connection_id":153085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:41: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-08-08 17:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":153085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:41:41] local.INFO: GPS data processed {"connection_id":153085,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:41:41] local.INFO: Acknowledgment sent {"connection_id":153085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:42:04] local.INFO: TCP Data received {"connection_id":150646,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:42:04] local.INFO: Processing buffer {"connection_id":150646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:42:04] local.INFO: IMEI packet received {"connection_id":150646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":150646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:42:05] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1476f58012d1b7b00071f70d0004b00fd25..."} 
[2026-08-08 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1476f58012d1b7b00071f70d0004b00fd25..."} 
[2026-08-08 17:42:05] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1476f58012d1b7b00071f70d0004b00fd25..."} 
[2026-08-08 17:42:05] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe147"} 
[2026-08-08 17:42:05] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe147"} 
[2026-08-08 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756775680,"raw_latitude":119501008,"longitude_deg":75.677568,"latitude_deg":11.9501008,"altitude":75,"angle":253,"satellites":37,"speed":7,"hex_longitude":"2d1b7b00","hex_latitude":"071f70d0","is_valid_coordinates":true} 
[2026-08-08 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264890112001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11617843586007040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981443129147070464,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786190983000,"timestamp_ms":1786190983000,"timestamp_seconds":1786190983,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1476f58"} 
[2026-08-08 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:42: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-08-08 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 17:42: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-08-08 17:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264890112001,"66":14004,"68":206,"28":31744,"24":7,"16":11617843586007040,"45":1981443129147070464},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-08 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264890112001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11617843586007040,"km_value":11617843586007.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981443129147070464,"description":"Unknown IO ID 45"} 
[2026-08-08 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264890112001,"power":14004,"unknown_68":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1981443129147070464}} 
[2026-08-08 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:42:05] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:42:05] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:42:09] local.INFO: TCP Data received {"connection_id":150646,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:42:09] local.INFO: Processing buffer {"connection_id":150646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:42:09] local.INFO: IMEI packet received {"connection_id":150646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":150646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:42:10] local.INFO: TCP Data received {"connection_id":150646,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:42:10] local.INFO: Processing buffer {"connection_id":150646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:42:10] local.INFO: Packet analysis {"connection_id":150646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:42:10] local.INFO: Extracted packet for processing {"connection_id":150646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:42:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:42:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":150646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:42:10] local.INFO: GPS data processed {"connection_id":150646,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:42:10] local.INFO: Acknowledgment sent {"connection_id":150646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:42:38] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1495f70012d1b5e40071f6e180047010c23..."} 
[2026-08-08 17:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1495f70012d1b5e40071f6e180047010c23..."} 
[2026-08-08 17:42:38] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1495f70012d1b5e40071f6e180047010c23..."} 
[2026-08-08 17:42:38] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:42:38] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756768320,"raw_latitude":119500312,"longitude_deg":75.676832,"latitude_deg":11.9500312,"altitude":71,"angle":268,"satellites":35,"speed":11,"hex_longitude":"2d1b5e40","hex_latitude":"071f6e18","is_valid_coordinates":true} 
[2026-08-08 17:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264921856001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618200068292608,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974406254729041920,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786191110000,"timestamp_ms":1786191110000,"timestamp_seconds":1786191110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1495f70"} 
[2026-08-08 17:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:42: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-08-08 17:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 17:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264921856001,"66":14396,"121":206,"28":31744,"24":11,"16":11618200068292608,"45":1974406254729041920},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264921856001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:42:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618200068292608,"km_value":11618200068292.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974406254729041920,"description":"Unknown IO ID 45"} 
[2026-08-08 17:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264921856001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1974406254729041920}} 
[2026-08-08 17:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:42:38] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:42:38] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:42:41] local.INFO: TCP Data received {"connection_id":150646,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:42:41] local.INFO: Processing buffer {"connection_id":150646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:42:41] local.INFO: Packet analysis {"connection_id":150646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:42:41] local.INFO: Extracted packet for processing {"connection_id":150646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:42:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:42: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-08-08 17:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:42:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":150646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:42:41] local.INFO: GPS data processed {"connection_id":150646,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:42:41] local.INFO: Acknowledgment sent {"connection_id":150646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:43:05] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:43:05] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:43:05] local.INFO: IMEI packet received {"connection_id":151597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":151597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:43:09] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:43:09] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:43:09] local.INFO: IMEI packet received {"connection_id":151597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":151597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:43:10] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:43:10] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:43:10] local.INFO: Packet analysis {"connection_id":151597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:43:10] local.INFO: Extracted packet for processing {"connection_id":151597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":151597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:43:10] local.INFO: GPS data processed {"connection_id":151597,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:43:10] local.INFO: Acknowledgment sent {"connection_id":151597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:43:31] local.INFO: TCP Data received {"connection_id":150381,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:31] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:31] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:43:32] local.INFO: TCP Data received {"connection_id":151596,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe149d4a0012d1b4580071f7b18003e00df28..."} 
[2026-08-08 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe149d4a0012d1b4580071f7b18003e00df28..."} 
[2026-08-08 17:43:32] local.INFO: Processing buffer {"connection_id":151596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe149d4a0012d1b4580071f7b18003e00df28..."} 
[2026-08-08 17:43:32] local.INFO: Packet analysis {"connection_id":151596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:43:32] local.INFO: Extracted packet for processing {"connection_id":151596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756761984,"raw_latitude":119503640,"longitude_deg":75.6761984,"latitude_deg":11.950364,"altitude":62,"angle":223,"satellites":40,"speed":11,"hex_longitude":"2d1b4580","hex_latitude":"071f7b18","is_valid_coordinates":true} 
[2026-08-08 17:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264931328001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618608090185728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539792963534848,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786191140000,"timestamp_ms":1786191140000,"timestamp_seconds":1786191140,"priority":1,"record_length":96,"hex_timestamp":"0000019fe149d4a0"} 
[2026-08-08 17:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 17:43: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-08-08 17:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":151596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":151596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264931328001,"66":13972,"121":206,"28":31744,"24":11,"16":11618608090185728,"45":1965539792963534848},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264931328001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:43:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618608090185728,"km_value":11618608090185.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539792963534848,"description":"Unknown IO ID 45"} 
[2026-08-08 17:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264931328001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1965539792963534848}} 
[2026-08-08 17:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":151596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:43:32] local.INFO: GPS data processed {"connection_id":151596,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:43:32] local.INFO: Acknowledgment sent {"connection_id":151596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:43:33] local.INFO: TCP Data received {"connection_id":150381,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:33] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:33] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:43:39] local.INFO: TCP Data received {"connection_id":150381,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:39] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:43:39] local.INFO: IMEI packet received {"connection_id":150381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":150381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:43:41] local.INFO: TCP Data received {"connection_id":150381,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe149e440012d1b4240071f77e8003d00eb27..."} 
[2026-08-08 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe149e440012d1b4240071f77e8003d00eb27..."} 
[2026-08-08 17:43:41] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe149e440012d1b4240071f77e8003d00eb27..."} 
[2026-08-08 17:43:41] local.INFO: Packet analysis {"connection_id":150381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:43:41] local.INFO: Extracted packet for processing {"connection_id":150381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119502824,"longitude_deg":75.6761152,"latitude_deg":11.9502824,"altitude":61,"angle":235,"satellites":39,"speed":12,"hex_longitude":"2d1b4240","hex_latitude":"071f77e8","is_valid_coordinates":true} 
[2026-08-08 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264931840001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618663924760576,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965117580498376704,"note":"Value kept but may cause issues"} 
[2026-08-08 17: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-08-08 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191144000,"timestamp_ms":1786191144000,"timestamp_seconds":1786191144,"priority":1,"record_length":96,"hex_timestamp":"0000019fe149e440"} 
[2026-08-08 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:43: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-08-08 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-08 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264931840001,"66":13961,"121":206,"28":31744,"24":12,"16":11618663924760576,"45":1965117580498376704},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264931840001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618663924760576,"km_value":11618663924760.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965117580498376704,"description":"Unknown IO ID 45"} 
[2026-08-08 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264931840001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1965117580498376704}} 
[2026-08-08 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":150381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:43:41] local.INFO: GPS data processed {"connection_id":150381,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:43:41] local.INFO: Acknowledgment sent {"connection_id":150381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:43:41] local.INFO: TCP Data received {"connection_id":151597,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:43:41] local.INFO: Processing buffer {"connection_id":151597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:43:41] local.INFO: Packet analysis {"connection_id":151597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:43:41] local.INFO: Extracted packet for processing {"connection_id":151597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:43: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-08-08 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":151597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:43:41] local.INFO: GPS data processed {"connection_id":151597,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:43:41] local.INFO: Acknowledgment sent {"connection_id":151597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:44:04] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:44:04] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:44:04] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:44:09] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:44:09] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:44:09] local.INFO: IMEI packet received {"connection_id":151598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":151598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:44:10] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:44:10] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:44:10] local.INFO: Packet analysis {"connection_id":151598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:44:10] local.INFO: Extracted packet for processing {"connection_id":151598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:44: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-08-08 17:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:44:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":151598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:44:10] local.INFO: GPS data processed {"connection_id":151598,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:44:10] local.INFO: Acknowledgment sent {"connection_id":151598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:44:12] local.INFO: TCP Data received {"connection_id":150381,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe149fbb0012d1b3cc0071f7510003c00fb27..."} 
[2026-08-08 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe149fbb0012d1b3cc0071f7510003c00fb27..."} 
[2026-08-08 17:44:12] local.INFO: Processing buffer {"connection_id":150381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe149fbb0012d1b3cc0071f7510003c00fb27..."} 
[2026-08-08 17:44:12] local.INFO: Packet analysis {"connection_id":150381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:44:12] local.INFO: Extracted packet for processing {"connection_id":150381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe149"} 
[2026-08-08 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756759744,"raw_latitude":119502096,"longitude_deg":75.6759744,"latitude_deg":11.9502096,"altitude":60,"angle":251,"satellites":39,"speed":11,"hex_longitude":"2d1b3cc0","hex_latitude":"071f7510","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264932864001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11618741234171904,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786823858176,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786191150000,"timestamp_ms":1786191150000,"timestamp_seconds":1786191150,"priority":1,"record_length":96,"hex_timestamp":"0000019fe149fbb0"} 
[2026-08-08 17:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-08 17:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264932864001,"66":14004,"121":206,"28":31744,"24":11,"16":11618741234171904,"45":1964202786823858176},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264932864001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11618741234171904,"km_value":11618741234171.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786823858176,"description":"Unknown IO ID 45"} 
[2026-08-08 17:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264932864001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1964202786823858176}} 
[2026-08-08 17:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":150381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:44:13] local.INFO: GPS data processed {"connection_id":150381,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:44:13] local.INFO: Acknowledgment sent {"connection_id":150381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:44:33] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:33] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:33] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:44:34] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:34] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:34] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:44:35] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:35] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:35] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:44:36] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:36] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:44:36] local.INFO: IMEI packet received {"connection_id":153086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":153086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:44:38] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14b18d8012d1adf00071f86800037011928..."} 
[2026-08-08 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14b18d8012d1adf00071f86800037011928..."} 
[2026-08-08 17:44:38] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14b18d8012d1adf00071f86800037011928..."} 
[2026-08-08 17:44:38] local.INFO: Packet analysis {"connection_id":153086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:44:38] local.INFO: Extracted packet for processing {"connection_id":153086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756735744,"raw_latitude":119506560,"longitude_deg":75.6735744,"latitude_deg":11.950656,"altitude":55,"angle":281,"satellites":40,"speed":17,"hex_longitude":"2d1adf00","hex_latitude":"071f8680","is_valid_coordinates":true} 
[2026-08-08 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264951040001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11619965299851264,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938940407664979968,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786191223000,"timestamp_ms":1786191223000,"timestamp_seconds":1786191223,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14b18d8"} 
[2026-08-08 17:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:44: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-08-08 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 17:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264951040001,"66":14374,"121":206,"28":31744,"24":17,"16":11619965299851264,"45":1938940407664979968},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264951040001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11619965299851264,"km_value":11619965299851.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938940407664979968,"description":"Unknown IO ID 45"} 
[2026-08-08 17:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264951040001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1938940407664979968}} 
[2026-08-08 17:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":153086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:44:38] local.INFO: GPS data processed {"connection_id":153086,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:44:38] local.INFO: Acknowledgment sent {"connection_id":153086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:44:39] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14b20a8012d1adbc0071f86600037010629..."} 
[2026-08-08 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14b20a8012d1adbc0071f86600037010629..."} 
[2026-08-08 17:44:39] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14b20a8012d1adbc0071f86600037010629..."} 
[2026-08-08 17:44:39] local.INFO: Packet analysis {"connection_id":153086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:44:39] local.INFO: Extracted packet for processing {"connection_id":153086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756734912,"raw_latitude":119506528,"longitude_deg":75.6734912,"latitude_deg":11.9506528,"altitude":55,"angle":262,"satellites":41,"speed":18,"hex_longitude":"2d1adbc0","hex_latitude":"071f8660","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264953088001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11620008249524224,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936266395386281984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44: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-08-08 17:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191225000,"timestamp_ms":1786191225000,"timestamp_seconds":1786191225,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14b20a8"} 
[2026-08-08 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-08-08 17:44: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-08-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 17:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264953088001,"66":14374,"121":206,"28":31744,"24":18,"16":11620008249524224,"45":1936266395386281984},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264953088001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:44:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:44:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11620008249524224,"km_value":11620008249524.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936266395386281984,"description":"Unknown IO ID 45"} 
[2026-08-08 17:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264953088001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1936266395386281984}} 
[2026-08-08 17:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":153086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:44:39] local.INFO: GPS data processed {"connection_id":153086,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:44:39] local.INFO: Acknowledgment sent {"connection_id":153086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:44:41] local.INFO: TCP Data received {"connection_id":151598,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:44:41] local.INFO: Processing buffer {"connection_id":151598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:44:41] local.INFO: Packet analysis {"connection_id":151598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:44:41] local.INFO: Extracted packet for processing {"connection_id":151598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:44:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":151598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:44:41] local.INFO: GPS data processed {"connection_id":151598,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:44:41] local.INFO: Acknowledgment sent {"connection_id":151598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:45:04] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:45:04] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:45:04] local.INFO: IMEI packet received {"connection_id":151599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":151599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:45:09] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:45:09] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:45:09] local.INFO: IMEI packet received {"connection_id":151599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":151599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:45:10] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:45:10] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:45:10] local.INFO: Packet analysis {"connection_id":151599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:45:10] local.INFO: Extracted packet for processing {"connection_id":151599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:45:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:45: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-08-08 17:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:45:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":151599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:45:10] local.INFO: GPS data processed {"connection_id":151599,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:45:10] local.INFO: Acknowledgment sent {"connection_id":151599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:45:12] local.INFO: TCP Data received {"connection_id":153086,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14ba190012d1aa380071f9918003701232a..."} 
[2026-08-08 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14ba190012d1aa380071f9918003701232a..."} 
[2026-08-08 17:45:12] local.INFO: Processing buffer {"connection_id":153086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14ba190012d1aa380071f9918003701232a..."} 
[2026-08-08 17:45:12] local.INFO: Packet analysis {"connection_id":153086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:45:12] local.INFO: Extracted packet for processing {"connection_id":153086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756720512,"raw_latitude":119511320,"longitude_deg":75.6720512,"latitude_deg":11.951132,"altitude":55,"angle":291,"satellites":42,"speed":24,"hex_longitude":"2d1aa380","hex_latitude":"071f9918","is_valid_coordinates":true} 
[2026-08-08 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264960256001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11620819998343168,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924655552598007808,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786191258000,"timestamp_ms":1786191258000,"timestamp_seconds":1786191258,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14ba190"} 
[2026-08-08 17:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 17:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264960256001,"66":14483,"121":206,"28":31744,"24":24,"16":11620819998343168,"45":1924655552598007808},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264960256001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11620819998343168,"km_value":11620819998343.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924655552598007808,"description":"Unknown IO ID 45"} 
[2026-08-08 17:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264960256001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1924655552598007808}} 
[2026-08-08 17:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":153086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:45:12] local.INFO: GPS data processed {"connection_id":153086,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:45:12] local.INFO: Acknowledgment sent {"connection_id":153086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:45:32] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:32] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:32] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:45:33] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:33] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:33] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:45:38] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:38] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:45:38] local.INFO: IMEI packet received {"connection_id":151600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":151600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:45:41] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14ba960012d1a9f00071f9ba8003801332a..."} 
[2026-08-08 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14ba960012d1a9f00071f9ba8003801332a..."} 
[2026-08-08 17:45:41] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14ba960012d1a9f00071f9ba8003801332a..."} 
[2026-08-08 17:45:41] local.INFO: Packet analysis {"connection_id":151600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:45:41] local.INFO: Extracted packet for processing {"connection_id":151600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14b"} 
[2026-08-08 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756719360,"raw_latitude":119511976,"longitude_deg":75.671936,"latitude_deg":11.9511976,"altitude":56,"angle":307,"satellites":42,"speed":26,"hex_longitude":"2d1a9f00","hex_latitude":"071f9ba8","is_valid_coordinates":true} 
[2026-08-08 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264962048001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11620884422852608,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919518634273216512,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45: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-08-08 17:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191260000,"timestamp_ms":1786191260000,"timestamp_seconds":1786191260,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14ba960"} 
[2026-08-08 17:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:45: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-08-08 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 17:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264962048001,"66":14080,"121":206,"28":31744,"24":26,"16":11620884422852608,"45":1919518634273216512},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264962048001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11620884422852608,"km_value":11620884422852.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919518634273216512,"description":"Unknown IO ID 45"} 
[2026-08-08 17:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264962048001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1919518634273216512}} 
[2026-08-08 17:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":151600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:45:41] local.INFO: GPS data processed {"connection_id":151600,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:45:41] local.INFO: Acknowledgment sent {"connection_id":151600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:45:41] local.INFO: TCP Data received {"connection_id":151599,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:45:41] local.INFO: Processing buffer {"connection_id":151599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:45:41] local.INFO: Packet analysis {"connection_id":151599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:45:41] local.INFO: Extracted packet for processing {"connection_id":151599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":151599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:45:41] local.INFO: GPS data processed {"connection_id":151599,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:45:41] local.INFO: Acknowledgment sent {"connection_id":151599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:46:04] local.INFO: TCP Data received {"connection_id":150647,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:46:04] local.INFO: Processing buffer {"connection_id":150647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:46:04] local.INFO: IMEI packet received {"connection_id":150647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":150647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:46:09] local.INFO: TCP Data received {"connection_id":150647,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:46:09] local.INFO: Processing buffer {"connection_id":150647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:46:09] local.INFO: IMEI packet received {"connection_id":150647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":150647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:46:10] local.INFO: TCP Data received {"connection_id":150647,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:46:10] local.INFO: Processing buffer {"connection_id":150647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1482ec0012ceb6c8007502c28003d006024..."} 
[2026-08-08 17:46:10] local.INFO: Packet analysis {"connection_id":150647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:46:10] local.INFO: Extracted packet for processing {"connection_id":150647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe148"} 
[2026-08-08 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":61,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264827136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317564692649984,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191032000,"timestamp_ms":1786191032000,"timestamp_seconds":1786191032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1482ec0"} 
[2026-08-08 17:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 17:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264827136001,"66":26136,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482317564692649984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264827136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:46:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317564692649984,"description":"Unknown IO ID 44"} 
[2026-08-08 17:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264827136001,"power":26136,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482317564692649984}} 
[2026-08-08 17:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:46:10] local.INFO: GPS data processed {"connection_id":150647,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:46:10] local.INFO: Acknowledgment sent {"connection_id":150647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:46:14] local.INFO: TCP Data received {"connection_id":151600,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cab30012d19e700071fff98002c014129..."} 
[2026-08-08 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cab30012d19e700071fff98002c014129..."} 
[2026-08-08 17:46:14] local.INFO: Processing buffer {"connection_id":151600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cab30012d19e700071fff98002c014129..."} 
[2026-08-08 17:46:14] local.INFO: Packet analysis {"connection_id":151600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:46:14] local.INFO: Extracted packet for processing {"connection_id":151600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756672256,"raw_latitude":119537560,"longitude_deg":75.6672256,"latitude_deg":11.953756,"altitude":44,"angle":321,"satellites":41,"speed":24,"hex_longitude":"2d19e700","hex_latitude":"071fff98","is_valid_coordinates":true} 
[2026-08-08 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264979200001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11623577367347200,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867023551123279872,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786191326000,"timestamp_ms":1786191326000,"timestamp_seconds":1786191326,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cab30"} 
[2026-08-08 17:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 17:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264979200001,"66":14374,"121":206,"28":31744,"24":24,"16":11623577367347200,"45":1867023551123279872},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264979200001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:46:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11623577367347200,"km_value":11623577367347.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867023551123279872,"description":"Unknown IO ID 45"} 
[2026-08-08 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264979200001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1867023551123279872}} 
[2026-08-08 17:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":151600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:46:14] local.INFO: GPS data processed {"connection_id":151600,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:46:14] local.INFO: Acknowledgment sent {"connection_id":151600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:46:32] local.INFO: TCP Data received {"connection_id":150648,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:32] local.INFO: Processing buffer {"connection_id":150648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:32] local.INFO: IMEI packet received {"connection_id":150648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":150648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:46:33] local.INFO: TCP Data received {"connection_id":150648,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:33] local.INFO: Processing buffer {"connection_id":150648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:33] local.INFO: IMEI packet received {"connection_id":150648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":150648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:46:38] local.INFO: TCP Data received {"connection_id":150648,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:38] local.INFO: Processing buffer {"connection_id":150648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:46:38] local.INFO: IMEI packet received {"connection_id":150648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":150648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:46:39] local.INFO: TCP Data received {"connection_id":150648,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc2a0012d19e040072008e8002b012128..."} 
[2026-08-08 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc2a0012d19e040072008e8002b012128..."} 
[2026-08-08 17:46:39] local.INFO: Processing buffer {"connection_id":150648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc2a0012d19e040072008e8002b012128..."} 
[2026-08-08 17:46:39] local.INFO: Packet analysis {"connection_id":150648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:46:39] local.INFO: Extracted packet for processing {"connection_id":150648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756670528,"raw_latitude":119539944,"longitude_deg":75.6670528,"latitude_deg":11.9539944,"altitude":43,"angle":289,"satellites":40,"speed":10,"hex_longitude":"2d19e040","hex_latitude":"072008e8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264979456001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11623723396235264,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866460601169975296,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191332000,"timestamp_ms":1786191332000,"timestamp_seconds":1786191332,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc2a0"} 
[2026-08-08 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-08-08 17:46: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-08-08 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-08 17:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264979456001,"66":14428,"121":206,"28":31744,"24":10,"16":11623723396235264,"45":1866460601169975296},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264979456001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:46:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11623723396235264,"km_value":11623723396235.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866460601169975296,"description":"Unknown IO ID 45"} 
[2026-08-08 17:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264979456001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1866460601169975296}} 
[2026-08-08 17:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":150648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:46:39] local.INFO: GPS data processed {"connection_id":150648,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:46:39] local.INFO: Acknowledgment sent {"connection_id":150648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:46:41] local.INFO: TCP Data received {"connection_id":150647,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:46:41] local.INFO: Processing buffer {"connection_id":150647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:46:41] local.INFO: Packet analysis {"connection_id":150647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:46:41] local.INFO: Extracted packet for processing {"connection_id":150647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:46:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 17:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:46:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":150647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:46:41] local.INFO: GPS data processed {"connection_id":150647,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:46:41] local.INFO: Acknowledgment sent {"connection_id":150647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:47:04] local.INFO: TCP Data received {"connection_id":150382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:47:04] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:47:04] local.INFO: IMEI packet received {"connection_id":150382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":150382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:47:09] local.INFO: TCP Data received {"connection_id":150382,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:47:09] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:47:09] local.INFO: IMEI packet received {"connection_id":150382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":150382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:47:10] local.INFO: TCP Data received {"connection_id":150382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:47:10] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:47:10] local.INFO: Packet analysis {"connection_id":150382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:47:10] local.INFO: Extracted packet for processing {"connection_id":150382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":150382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:47:10] local.INFO: GPS data processed {"connection_id":150382,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:47:10] local.INFO: Acknowledgment sent {"connection_id":150382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:47:11] local.INFO: TCP Data received {"connection_id":150648,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14d7268012d199c40071ff0680035011426..."} 
[2026-08-08 17:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14d7268012d199c40071ff0680035011426..."} 
[2026-08-08 17:47:11] local.INFO: Processing buffer {"connection_id":150648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14d7268012d199c40071ff0680035011426..."} 
[2026-08-08 17:47:11] local.INFO: Packet analysis {"connection_id":150648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:47:11] local.INFO: Extracted packet for processing {"connection_id":150648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756653120,"raw_latitude":119533672,"longitude_deg":75.665312,"latitude_deg":11.9533672,"altitude":53,"angle":276,"satellites":38,"speed":16,"hex_longitude":"2d199c40","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-08 17:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264992000001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11624689763876864,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771590002688,"note":"Value kept but may cause issues"} 
[2026-08-08 17: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-08-08 17:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191377000,"timestamp_ms":1786191377000,"timestamp_seconds":1786191377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14d7268"} 
[2026-08-08 17:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 17:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264992000001,"66":14548,"121":206,"28":31744,"24":16,"16":11624689763876864,"45":1846264771590002688},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264992000001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11624689763876864,"km_value":11624689763876.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771590002688,"description":"Unknown IO ID 45"} 
[2026-08-08 17:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264992000001,"power":14548,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846264771590002688}} 
[2026-08-08 17:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":150648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:47:11] local.INFO: GPS data processed {"connection_id":150648,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:47:11] local.INFO: Acknowledgment sent {"connection_id":150648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:47:32] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:32] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:32] local.INFO: IMEI packet received {"connection_id":150383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":150383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:47:33] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:33] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:33] local.INFO: IMEI packet received {"connection_id":150383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":150383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:47:38] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:38] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:47:38] local.INFO: IMEI packet received {"connection_id":150383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":150383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:47:39] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14da148012d198780071ff1580038010528..."} 
[2026-08-08 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14da148012d198780071ff1580038010528..."} 
[2026-08-08 17:47:39] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14da148012d198780071ff1580038010528..."} 
[2026-08-08 17:47:39] local.INFO: Packet analysis {"connection_id":150383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:47:39] local.INFO: Extracted packet for processing {"connection_id":150383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119533912,"longitude_deg":75.6647808,"latitude_deg":11.9533912,"altitude":56,"angle":261,"satellites":40,"speed":20,"hex_longitude":"2d198780","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-08 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264992512001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11624947461914624,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845420346659858432,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191389000,"timestamp_ms":1786191389000,"timestamp_seconds":1786191389,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14da148"} 
[2026-08-08 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:47: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-08-08 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 17:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264992512001,"66":14070,"121":206,"28":31744,"24":20,"16":11624947461914624,"45":1845420346659858432},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264992512001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11624947461914624,"km_value":11624947461914.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845420346659858432,"description":"Unknown IO ID 45"} 
[2026-08-08 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264992512001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1845420346659858432}} 
[2026-08-08 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":150383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:47:39] local.INFO: GPS data processed {"connection_id":150383,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:47:39] local.INFO: Acknowledgment sent {"connection_id":150383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:47:41] local.INFO: TCP Data received {"connection_id":150382,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:47:41] local.INFO: Processing buffer {"connection_id":150382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:47:41] local.INFO: Packet analysis {"connection_id":150382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:47:41] local.INFO: Extracted packet for processing {"connection_id":150382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 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-08-08 17: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-08-08 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:47:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":150382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:47:41] local.INFO: GPS data processed {"connection_id":150382,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:47:41] local.INFO: Acknowledgment sent {"connection_id":150382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:48:05] local.INFO: TCP Data received {"connection_id":150384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:48:05] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:48:05] local.INFO: IMEI packet received {"connection_id":150384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":150384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:48:09] local.INFO: TCP Data received {"connection_id":150384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:48:09] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:48:09] local.INFO: IMEI packet received {"connection_id":150384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":150384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:48:10] local.INFO: TCP Data received {"connection_id":150384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:48:10] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:48:10] local.INFO: Packet analysis {"connection_id":150384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:48:10] local.INFO: Extracted packet for processing {"connection_id":150384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 17:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:48: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-08-08 17:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:48:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":150384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:48:10] local.INFO: GPS data processed {"connection_id":150384,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:48:10] local.INFO: Acknowledgment sent {"connection_id":150384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:48:11] local.INFO: TCP Data received {"connection_id":150383,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14da918012d198380071fefe0003800ef28..."} 
[2026-08-08 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14da918012d198380071fefe0003800ef28..."} 
[2026-08-08 17:48:11] local.INFO: Processing buffer {"connection_id":150383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14da918012d198380071fefe0003800ef28..."} 
[2026-08-08 17:48:11] local.INFO: Packet analysis {"connection_id":150383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:48:11] local.INFO: Extracted packet for processing {"connection_id":150383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756646784,"raw_latitude":119533536,"longitude_deg":75.6646784,"latitude_deg":11.9533536,"altitude":56,"angle":239,"satellites":40,"speed":20,"hex_longitude":"2d198380","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-08-08 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264995584001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11624994706554880,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740893173760,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191391000,"timestamp_ms":1786191391000,"timestamp_seconds":1786191391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14da918"} 
[2026-08-08 17:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:48: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-08-08 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 17:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264995584001,"66":14102,"121":206,"28":31744,"24":20,"16":11624994706554880,"45":1839579740893173760},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264995584001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11624994706554880,"km_value":11624994706554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740893173760,"description":"Unknown IO ID 45"} 
[2026-08-08 17:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264995584001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1839579740893173760}} 
[2026-08-08 17:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":150383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:48:11] local.INFO: GPS data processed {"connection_id":150383,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:48:11] local.INFO: Acknowledgment sent {"connection_id":150383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:48:33] local.INFO: TCP Data received {"connection_id":150385,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:33] local.INFO: Processing buffer {"connection_id":150385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:33] local.INFO: IMEI packet received {"connection_id":150385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":150385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:48:35] local.INFO: TCP Data received {"connection_id":150385,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:35] local.INFO: Processing buffer {"connection_id":150385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:35] local.INFO: IMEI packet received {"connection_id":150385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":150385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:48:38] local.INFO: TCP Data received {"connection_id":150385,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:38] local.INFO: Processing buffer {"connection_id":150385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:48:38] local.INFO: IMEI packet received {"connection_id":150385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":150385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:48:39] local.INFO: TCP Data received {"connection_id":150385,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14db8b8012d197e00071fec28003600fb28..."} 
[2026-08-08 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14db8b8012d197e00071fec28003600fb28..."} 
[2026-08-08 17:48:39] local.INFO: Processing buffer {"connection_id":150385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14db8b8012d197e00071fec28003600fb28..."} 
[2026-08-08 17:48:39] local.INFO: Packet analysis {"connection_id":150385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:48:39] local.INFO: Extracted packet for processing {"connection_id":150385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532584,"longitude_deg":75.6645376,"latitude_deg":11.9532584,"altitude":54,"angle":251,"satellites":40,"speed":16,"hex_longitude":"2d197e00","hex_latitude":"071fec28","is_valid_coordinates":true} 
[2026-08-08 17:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264996096001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625080605900800,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838453840986234880,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191395000,"timestamp_ms":1786191395000,"timestamp_seconds":1786191395,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14db8b8"} 
[2026-08-08 17:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 17:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264996096001,"66":14004,"121":206,"28":31744,"24":16,"16":11625080605900800,"45":1838453840986234880},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264996096001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:48:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625080605900800,"km_value":11625080605900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838453840986234880,"description":"Unknown IO ID 45"} 
[2026-08-08 17:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264996096001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1838453840986234880}} 
[2026-08-08 17:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":150385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:48:39] local.INFO: GPS data processed {"connection_id":150385,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:48:39] local.INFO: Acknowledgment sent {"connection_id":150385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:48:41] local.INFO: TCP Data received {"connection_id":150384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:48:41] local.INFO: Processing buffer {"connection_id":150384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:48:41] local.INFO: Packet analysis {"connection_id":150384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:48:41] local.INFO: Extracted packet for processing {"connection_id":150384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 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-08-08 17: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-08-08 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:48:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":150384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:48:41] local.INFO: GPS data processed {"connection_id":150384,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:48:41] local.INFO: Acknowledgment sent {"connection_id":150384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:49:04] local.INFO: TCP Data received {"connection_id":150649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:49:04] local.INFO: Processing buffer {"connection_id":150649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:49:04] local.INFO: IMEI packet received {"connection_id":150649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":150649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:49:09] local.INFO: TCP Data received {"connection_id":150649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:49:09] local.INFO: Processing buffer {"connection_id":150649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:49:09] local.INFO: IMEI packet received {"connection_id":150649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":150649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:49:10] local.INFO: TCP Data received {"connection_id":150649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:49:10] local.INFO: Processing buffer {"connection_id":150649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:49:10] local.INFO: Packet analysis {"connection_id":150649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:49:10] local.INFO: Extracted packet for processing {"connection_id":150649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 17:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:49: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-08-08 17:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":150649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:49:10] local.INFO: GPS data processed {"connection_id":150649,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:49:10] local.INFO: Acknowledgment sent {"connection_id":150649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:49:10] local.INFO: TCP Data received {"connection_id":150385,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14dc088012d197b00071feba00036010829..."} 
[2026-08-08 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14dc088012d197b00071feba00036010829..."} 
[2026-08-08 17:49:10] local.INFO: Processing buffer {"connection_id":150385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14dc088012d197b00071feba00036010829..."} 
[2026-08-08 17:49:10] local.INFO: Packet analysis {"connection_id":150385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:49:10] local.INFO: Extracted packet for processing {"connection_id":150385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756644608,"raw_latitude":119532448,"longitude_deg":75.6644608,"latitude_deg":11.9532448,"altitude":54,"angle":264,"satellites":41,"speed":16,"hex_longitude":"2d197b00","hex_latitude":"071feba0","is_valid_coordinates":true} 
[2026-08-08 17:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264997120001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625114965639168,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614082560,"note":"Value kept but may cause issues"} 
[2026-08-08 17: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-08-08 17:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191397000,"timestamp_ms":1786191397000,"timestamp_seconds":1786191397,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14dc088"} 
[2026-08-08 17:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":180,"data_length":795,"current_offset":136} 
[2026-08-08 17:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264997120001,"66":14070,"121":206,"28":31744,"24":16,"16":11625114965639168,"45":1836905728614082560},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264997120001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625114965639168,"km_value":11625114965639.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614082560,"description":"Unknown IO ID 45"} 
[2026-08-08 17:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264997120001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1836905728614082560}} 
[2026-08-08 17:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":150385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:49:10] local.INFO: GPS data processed {"connection_id":150385,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:49:10] local.INFO: Acknowledgment sent {"connection_id":150385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:49:39] local.INFO: TCP Data received {"connection_id":151601,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:39] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:39] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:49:39] local.INFO: TCP Data received {"connection_id":151601,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:39] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:39] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:49:41] local.INFO: TCP Data received {"connection_id":150649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:49:41] local.INFO: Processing buffer {"connection_id":150649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:49:41] local.INFO: Packet analysis {"connection_id":150649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:49:41] local.INFO: Extracted packet for processing {"connection_id":150649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 17:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:49:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":150649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:49:41] local.INFO: GPS data processed {"connection_id":150649,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:49:41] local.INFO: Acknowledgment sent {"connection_id":150649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:49:43] local.INFO: TCP Data received {"connection_id":151601,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:43] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:49:43] local.INFO: IMEI packet received {"connection_id":151601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":151601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:49:45] local.INFO: TCP Data received {"connection_id":151601,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14def68012d196e80071fec600031011327..."} 
[2026-08-08 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14def68012d196e80071fec600031011327..."} 
[2026-08-08 17:49:45] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14def68012d196e80071fec600031011327..."} 
[2026-08-08 17:49:45] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:49:45] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14d"} 
[2026-08-08 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119532640,"longitude_deg":75.6641408,"latitude_deg":11.953264,"altitude":49,"angle":275,"satellites":39,"speed":5,"hex_longitude":"2d196e80","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-08-08 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264997632001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625269584461824,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836061303683915776,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786191409000,"timestamp_ms":1786191409000,"timestamp_seconds":1786191409,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14def68"} 
[2026-08-08 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 17:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264997632001,"66":13276,"121":206,"28":31744,"24":5,"16":11625269584461824,"45":1836061303683915776},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264997632001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:49:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:49:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625269584461824,"km_value":11625269584461.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836061303683915776,"description":"Unknown IO ID 45"} 
[2026-08-08 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264997632001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1836061303683915776}} 
[2026-08-08 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:49:45] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:49:45] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:49:49] local.INFO: TCP Data received {"connection_id":151601,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14e02f0012d196b40071feda00031011f28..."} 
[2026-08-08 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14e02f0012d196b40071feda00031011f28..."} 
[2026-08-08 17:49:49] local.INFO: Processing buffer {"connection_id":151601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14e02f0012d196b40071feda00031011f28..."} 
[2026-08-08 17:49:49] local.INFO: Packet analysis {"connection_id":151601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:49:49] local.INFO: Extracted packet for processing {"connection_id":151601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532960,"longitude_deg":75.6640576,"latitude_deg":11.953296,"altitude":49,"angle":287,"satellites":40,"speed":9,"hex_longitude":"2d196b40","hex_latitude":"071feda0","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265000704001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625312534134784,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866475081728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786191414000,"timestamp_ms":1786191414000,"timestamp_seconds":1786191414,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14e02f0"} 
[2026-08-08 17:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:49: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-08-08 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-08 17:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265000704001,"66":13222,"121":206,"28":31744,"24":9,"16":11625312534134784,"45":1832542866475081728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265000704001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:49:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625312534134784,"km_value":11625312534134.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866475081728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265000704001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1832542866475081728}} 
[2026-08-08 17:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":151601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:49:49] local.INFO: GPS data processed {"connection_id":151601,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:49:49] local.INFO: Acknowledgment sent {"connection_id":151601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:50:04] local.INFO: TCP Data received {"connection_id":150650,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:50:04] local.INFO: Processing buffer {"connection_id":150650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:50:04] local.INFO: IMEI packet received {"connection_id":150650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":150650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:50:09] local.INFO: TCP Data received {"connection_id":150650,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:50:09] local.INFO: Processing buffer {"connection_id":150650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:50:09] local.INFO: IMEI packet received {"connection_id":150650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":150650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:50:10] local.INFO: TCP Data received {"connection_id":150650,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:50:10] local.INFO: Processing buffer {"connection_id":150650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:50:10] local.INFO: Packet analysis {"connection_id":150650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:50:10] local.INFO: Extracted packet for processing {"connection_id":150650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 17:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:50:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":150650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:50:10] local.INFO: GPS data processed {"connection_id":150650,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:50:10] local.INFO: Acknowledgment sent {"connection_id":150650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:50:33] local.INFO: TCP Data received {"connection_id":153087,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:50:33] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:50:33] local.INFO: IMEI packet received {"connection_id":153087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":153087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:50:38] local.INFO: TCP Data received {"connection_id":153087,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:50:38] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:50:38] local.INFO: IMEI packet received {"connection_id":153087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":153087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:50:40] local.INFO: TCP Data received {"connection_id":153087,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14e54f8012d196940071fee780032011a29..."} 
[2026-08-08 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14e54f8012d196940071fee780032011a29..."} 
[2026-08-08 17:50:40] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14e54f8012d196940071fee780032011a29..."} 
[2026-08-08 17:50:40] local.INFO: Packet analysis {"connection_id":153087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:50:40] local.INFO: Extracted packet for processing {"connection_id":153087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533176,"longitude_deg":75.6640064,"latitude_deg":11.9533176,"altitude":50,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-08-08 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265001984001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625338303938560,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800854016,"note":"Value kept but may cause issues"} 
[2026-08-08 17: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-08-08 17:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786191435000,"timestamp_ms":1786191435000,"timestamp_seconds":1786191435,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14e54f8"} 
[2026-08-08 17:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:50: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-08-08 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 17:50: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-08-08 17:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265001984001,"66":13156,"121":206,"28":31744,"24":0,"16":11625338303938560,"45":1831628072800854016},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265001984001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:50:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625338303938560,"km_value":11625338303938.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800854016,"description":"Unknown IO ID 45"} 
[2026-08-08 17:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265001984001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800854016}} 
[2026-08-08 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":153087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:50:40] local.INFO: GPS data processed {"connection_id":153087,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:50:40] local.INFO: Acknowledgment sent {"connection_id":153087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:50:41] local.INFO: TCP Data received {"connection_id":150650,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:50:41] local.INFO: Processing buffer {"connection_id":150650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14cc688012ceb6c8007502c280045006024..."} 
[2026-08-08 17:50:41] local.INFO: Packet analysis {"connection_id":150650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:50:41] local.INFO: Extracted packet for processing {"connection_id":150650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14c"} 
[2026-08-08 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":69,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264904192001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191333000,"timestamp_ms":1786191333000,"timestamp_seconds":1786191333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14cc688"} 
[2026-08-08 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-08-08 17: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-08-08 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264904192001,"66":25973,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264904192001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:50:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264904192001,"power":25973,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":150650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:50:41] local.INFO: GPS data processed {"connection_id":150650,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:50:41] local.INFO: Acknowledgment sent {"connection_id":150650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:51:09] local.INFO: TCP Data received {"connection_id":150651,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:51:09] local.INFO: Processing buffer {"connection_id":150651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:51:09] local.INFO: IMEI packet received {"connection_id":150651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":150651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:51:11] local.INFO: TCP Data received {"connection_id":153087,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14ea700012d196780071fee100035011a29..."} 
[2026-08-08 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14ea700012d196780071fee100035011a29..."} 
[2026-08-08 17:51:11] local.INFO: Processing buffer {"connection_id":153087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14ea700012d196780071fee100035011a29..."} 
[2026-08-08 17:51:11] local.INFO: Packet analysis {"connection_id":153087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:51:11] local.INFO: Extracted packet for processing {"connection_id":153087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265007360001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847488000,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191456000,"timestamp_ms":1786191456000,"timestamp_seconds":1786191456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14ea700"} 
[2026-08-08 17:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:51: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-08-08 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-08 17:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265007360001,"66":13135,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1831065122847488000},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265007360001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:51:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847488000,"description":"Unknown IO ID 45"} 
[2026-08-08 17:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265007360001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831065122847488000}} 
[2026-08-08 17:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":153087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:51:11] local.INFO: GPS data processed {"connection_id":153087,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:51:11] local.INFO: Acknowledgment sent {"connection_id":153087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:51:12] local.INFO: TCP Data received {"connection_id":150651,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:51:12] local.INFO: Processing buffer {"connection_id":150651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:51:12] local.INFO: IMEI packet received {"connection_id":150651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":150651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:51:13] local.INFO: TCP Data received {"connection_id":150651,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:13] local.INFO: Processing buffer {"connection_id":150651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:13] local.INFO: Packet analysis {"connection_id":150651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:51:13] local.INFO: Extracted packet for processing {"connection_id":150651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 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-08-08 17:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":150651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:51:13] local.INFO: GPS data processed {"connection_id":150651,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:51:13] local.INFO: Acknowledgment sent {"connection_id":150651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:51:14] local.INFO: TCP Data received {"connection_id":150651,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:14] local.INFO: Processing buffer {"connection_id":150651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:14] local.INFO: Packet analysis {"connection_id":150651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:51:14] local.INFO: Extracted packet for processing {"connection_id":150651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:51: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-08-08 17:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:51:14] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":150651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:51:14] local.INFO: GPS data processed {"connection_id":150651,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:51:14] local.INFO: Acknowledgment sent {"connection_id":150651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:51:33] local.INFO: TCP Data received {"connection_id":150386,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:51:33] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:51:33] local.INFO: IMEI packet received {"connection_id":150386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":150386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:51:38] local.INFO: TCP Data received {"connection_id":150386,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:51:38] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:51:38] local.INFO: IMEI packet received {"connection_id":150386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":150386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:51:40] local.INFO: TCP Data received {"connection_id":150386,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14ef908012d196780071fee100035011a29..."} 
[2026-08-08 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14ef908012d196780071fee100035011a29..."} 
[2026-08-08 17:51:40] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14ef908012d196780071fee100035011a29..."} 
[2026-08-08 17:51:40] local.INFO: Packet analysis {"connection_id":150386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:51:40] local.INFO: Extracted packet for processing {"connection_id":150386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14e"} 
[2026-08-08 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265012736001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17: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-08-08 17:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786191477000,"timestamp_ms":1786191477000,"timestamp_seconds":1786191477,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14ef908"} 
[2026-08-08 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-08-08 17:51: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-08-08 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 17:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265012736001,"66":13102,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265012736001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:51:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265012736001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":150386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:51:40] local.INFO: GPS data processed {"connection_id":150386,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:51:40] local.INFO: Acknowledgment sent {"connection_id":150386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:51:46] local.INFO: TCP Data received {"connection_id":150651,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:46] local.INFO: Processing buffer {"connection_id":150651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:51:46] local.INFO: Packet analysis {"connection_id":150651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:51:46] local.INFO: Extracted packet for processing {"connection_id":150651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:51: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-08-08 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:51: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-08-08 17:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:51:46] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":150651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:51:46] local.INFO: GPS data processed {"connection_id":150651,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:51:46] local.INFO: Acknowledgment sent {"connection_id":150651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:52:04] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:52:04] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:52:04] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:52:09] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:52:09] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:52:09] local.INFO: IMEI packet received {"connection_id":151602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:52:10] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:52:10] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:52:10] local.INFO: Packet analysis {"connection_id":151602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:52:10] local.INFO: Extracted packet for processing {"connection_id":151602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:52: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-08-08 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:52:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":151602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:52:10] local.INFO: GPS data processed {"connection_id":151602,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:52:10] local.INFO: Acknowledgment sent {"connection_id":151602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:52:11] local.INFO: TCP Data received {"connection_id":150386,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14f4b10012d196780071fee100035011a25..."} 
[2026-08-08 17:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14f4b10012d196780071fee100035011a25..."} 
[2026-08-08 17:52:11] local.INFO: Processing buffer {"connection_id":150386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14f4b10012d196780071fee100035011a25..."} 
[2026-08-08 17:52:11] local.INFO: Packet analysis {"connection_id":150386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14f"} 
[2026-08-08 17:52:11] local.INFO: Extracted packet for processing {"connection_id":150386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14f"} 
[2026-08-08 17:52:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265018112001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191498000,"timestamp_ms":1786191498000,"timestamp_seconds":1786191498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14f4b10"} 
[2026-08-08 17:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 17:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265018112001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265018112001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:52:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265018112001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":150386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:52:11] local.INFO: GPS data processed {"connection_id":150386,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:52:11] local.INFO: Acknowledgment sent {"connection_id":150386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:52:33] local.INFO: TCP Data received {"connection_id":150652,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:52:33] local.INFO: Processing buffer {"connection_id":150652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:52:33] local.INFO: IMEI packet received {"connection_id":150652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":150652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:52:38] local.INFO: TCP Data received {"connection_id":150652,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:52:38] local.INFO: Processing buffer {"connection_id":150652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:52:38] local.INFO: IMEI packet received {"connection_id":150652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":150652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:52:39] local.INFO: TCP Data received {"connection_id":150652,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14f9d18012d196780071fee100035011a25..."} 
[2026-08-08 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14f9d18012d196780071fee100035011a25..."} 
[2026-08-08 17:52:39] local.INFO: Processing buffer {"connection_id":150652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14f9d18012d196780071fee100035011a25..."} 
[2026-08-08 17:52:39] local.INFO: Packet analysis {"connection_id":150652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14f"} 
[2026-08-08 17:52:39] local.INFO: Extracted packet for processing {"connection_id":150652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14f"} 
[2026-08-08 17:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265023488001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191519000,"timestamp_ms":1786191519000,"timestamp_seconds":1786191519,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14f9d18"} 
[2026-08-08 17:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 17:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265023488001,"66":13091,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265023488001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265023488001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":150652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:52:39] local.INFO: GPS data processed {"connection_id":150652,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:52:39] local.INFO: Acknowledgment sent {"connection_id":150652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:52:44] local.INFO: TCP Data received {"connection_id":151602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:52:44] local.INFO: Processing buffer {"connection_id":151602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:52:44] local.INFO: Packet analysis {"connection_id":151602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:52:44] local.INFO: Extracted packet for processing {"connection_id":151602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:52:44] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:52:44] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:52:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":151602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:52:44] local.INFO: GPS data processed {"connection_id":151602,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:52:44] local.INFO: Acknowledgment sent {"connection_id":151602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:53:04] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:53:04] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:53:04] local.INFO: IMEI packet received {"connection_id":151603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:53:09] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:53:09] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:53:09] local.INFO: IMEI packet received {"connection_id":151603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":151603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:53:10] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:53:10] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:53:10] local.INFO: Packet analysis {"connection_id":151603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:53:10] local.INFO: Extracted packet for processing {"connection_id":151603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:53: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-08-08 17:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:53:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":151603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:53:10] local.INFO: GPS data processed {"connection_id":151603,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:53:10] local.INFO: Acknowledgment sent {"connection_id":151603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:53:11] local.INFO: TCP Data received {"connection_id":150652,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe14fef20012d196780071fee100035011a28..."} 
[2026-08-08 17:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe14fef20012d196780071fee100035011a28..."} 
[2026-08-08 17:53:11] local.INFO: Processing buffer {"connection_id":150652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe14fef20012d196780071fee100035011a28..."} 
[2026-08-08 17:53:11] local.INFO: Packet analysis {"connection_id":150652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe14f"} 
[2026-08-08 17:53:11] local.INFO: Extracted packet for processing {"connection_id":150652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe14f"} 
[2026-08-08 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265028864001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191540000,"timestamp_ms":1786191540000,"timestamp_seconds":1786191540,"priority":1,"record_length":96,"hex_timestamp":"0000019fe14fef20"} 
[2026-08-08 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-08-08 17:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-08 17:53: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-08-08 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-08-08 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-08-08 17:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265028864001,"66":13080,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265028864001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:53:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265028864001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":150652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:53:11] local.INFO: GPS data processed {"connection_id":150652,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:53:11] local.INFO: Acknowledgment sent {"connection_id":150652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:53:33] local.INFO: TCP Data received {"connection_id":153088,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:53:33] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:53:33] local.INFO: IMEI packet received {"connection_id":153088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":153088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:53:38] local.INFO: TCP Data received {"connection_id":153088,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:53:38] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:53:38] local.INFO: IMEI packet received {"connection_id":153088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":153088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:53:40] local.INFO: TCP Data received {"connection_id":153088,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1504128012d196780071fee100035011a29..."} 
[2026-08-08 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1504128012d196780071fee100035011a29..."} 
[2026-08-08 17:53:40] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1504128012d196780071fee100035011a29..."} 
[2026-08-08 17:53:40] local.INFO: Packet analysis {"connection_id":153088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe150"} 
[2026-08-08 17:53:40] local.INFO: Extracted packet for processing {"connection_id":153088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe150"} 
[2026-08-08 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265034240001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53: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-08-08 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786191561000,"timestamp_ms":1786191561000,"timestamp_seconds":1786191561,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1504128"} 
[2026-08-08 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-08-08 17:53: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-08-08 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-08 17:53: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-08-08 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-08-08 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-08-08 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265034240001,"66":13004,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265034240001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:53:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:53:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265034240001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":153088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:53:40] local.INFO: GPS data processed {"connection_id":153088,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:53:40] local.INFO: Acknowledgment sent {"connection_id":153088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:53:42] local.INFO: TCP Data received {"connection_id":151603,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:53:42] local.INFO: Processing buffer {"connection_id":151603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:53:42] local.INFO: Packet analysis {"connection_id":151603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:53:42] local.INFO: Extracted packet for processing {"connection_id":151603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:53: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-08-08 17:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:53:42] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":151603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:53:42] local.INFO: GPS data processed {"connection_id":151603,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:53:42] local.INFO: Acknowledgment sent {"connection_id":151603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:54:04] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:54:04] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:54:04] local.INFO: IMEI packet received {"connection_id":153089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":153089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:54:09] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:54:09] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:54:09] local.INFO: IMEI packet received {"connection_id":153089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":153089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:54:10] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:54:10] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:54:10] local.INFO: Packet analysis {"connection_id":153089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:54:10] local.INFO: Extracted packet for processing {"connection_id":153089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:54: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-08-08 17:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":153089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:54:10] local.INFO: GPS data processed {"connection_id":153089,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:54:10] local.INFO: Acknowledgment sent {"connection_id":153089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:54:11] local.INFO: TCP Data received {"connection_id":153088,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1509330012d196780071fee100035011a27..."} 
[2026-08-08 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1509330012d196780071fee100035011a27..."} 
[2026-08-08 17:54:11] local.INFO: Processing buffer {"connection_id":153088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1509330012d196780071fee100035011a27..."} 
[2026-08-08 17:54:11] local.INFO: Packet analysis {"connection_id":153088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe150"} 
[2026-08-08 17:54:11] local.INFO: Extracted packet for processing {"connection_id":153088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe150"} 
[2026-08-08 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265039616001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191582000,"timestamp_ms":1786191582000,"timestamp_seconds":1786191582,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1509330"} 
[2026-08-08 17:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:54: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-08-08 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 17:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265039616001,"66":13004,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265039616001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:54:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265039616001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":153088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:54:11] local.INFO: GPS data processed {"connection_id":153088,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:54:11] local.INFO: Acknowledgment sent {"connection_id":153088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:54:33] local.INFO: TCP Data received {"connection_id":150653,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:54:33] local.INFO: Processing buffer {"connection_id":150653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:54:33] local.INFO: IMEI packet received {"connection_id":150653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":150653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:54:38] local.INFO: TCP Data received {"connection_id":150653,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:54:38] local.INFO: Processing buffer {"connection_id":150653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:54:38] local.INFO: IMEI packet received {"connection_id":150653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":150653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:54:40] local.INFO: TCP Data received {"connection_id":150653,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe150e538012d196780071fee100035011a29..."} 
[2026-08-08 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe150e538012d196780071fee100035011a29..."} 
[2026-08-08 17:54:40] local.INFO: Processing buffer {"connection_id":150653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe150e538012d196780071fee100035011a29..."} 
[2026-08-08 17:54:40] local.INFO: Packet analysis {"connection_id":150653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe150"} 
[2026-08-08 17:54:40] local.INFO: Extracted packet for processing {"connection_id":150653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe150"} 
[2026-08-08 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265044992001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786191603000,"timestamp_ms":1786191603000,"timestamp_seconds":1786191603,"priority":1,"record_length":96,"hex_timestamp":"0000019fe150e538"} 
[2026-08-08 17:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:54: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-08-08 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 17:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265044992001,"66":12972,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265044992001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:54:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265044992001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":150653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:54:40] local.INFO: GPS data processed {"connection_id":150653,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:54:40] local.INFO: Acknowledgment sent {"connection_id":150653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:54:43] local.INFO: TCP Data received {"connection_id":153089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:54:43] local.INFO: Processing buffer {"connection_id":153089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:54:43] local.INFO: Packet analysis {"connection_id":153089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:54:43] local.INFO: Extracted packet for processing {"connection_id":153089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:54:43] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:54: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-08-08 17:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:54:43] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":153089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:54:44] local.INFO: GPS data processed {"connection_id":153089,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:54:44] local.INFO: Acknowledgment sent {"connection_id":153089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:55:04] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:55:04] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:55:04] local.INFO: IMEI packet received {"connection_id":151604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":151604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:55:09] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:55:09] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:55:09] local.INFO: IMEI packet received {"connection_id":151604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":151604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:55:10] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:55:10] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:55:10] local.INFO: Packet analysis {"connection_id":151604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:55:10] local.INFO: Extracted packet for processing {"connection_id":151604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:55: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-08-08 17:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:55:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":151604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:55:10] local.INFO: GPS data processed {"connection_id":151604,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:55:10] local.INFO: Acknowledgment sent {"connection_id":151604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:55:12] local.INFO: TCP Data received {"connection_id":150653,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1513740012d196780071fee100035011a29..."} 
[2026-08-08 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1513740012d196780071fee100035011a29..."} 
[2026-08-08 17:55:12] local.INFO: Processing buffer {"connection_id":150653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1513740012d196780071fee100035011a29..."} 
[2026-08-08 17:55:12] local.INFO: Packet analysis {"connection_id":150653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:55:12] local.INFO: Extracted packet for processing {"connection_id":150653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265050368001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17: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-08-08 17:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786191624000,"timestamp_ms":1786191624000,"timestamp_seconds":1786191624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1513740"} 
[2026-08-08 17:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-08 17:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265050368001,"66":12950,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265050368001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265050368001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":150653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:55:12] local.INFO: GPS data processed {"connection_id":150653,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:55:12] local.INFO: Acknowledgment sent {"connection_id":150653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:55:35] local.INFO: TCP Data received {"connection_id":151605,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:35] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:35] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:55:38] local.INFO: TCP Data received {"connection_id":151605,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:38] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:38] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:55:41] local.INFO: TCP Data received {"connection_id":151604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:55:41] local.INFO: Processing buffer {"connection_id":151604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1515e50012ceb6c8007502c280041006024..."} 
[2026-08-08 17:55:41] local.INFO: Packet analysis {"connection_id":151604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:55:41] local.INFO: Extracted packet for processing {"connection_id":151604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe151"} 
[2026-08-08 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":36,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457264981248001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191634000,"timestamp_ms":1786191634000,"timestamp_seconds":1786191634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1515e50"} 
[2026-08-08 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17: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-08-08 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 17:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457264981248001,"66":25875,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457264981248001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:55:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457264981248001,"power":25875,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":151604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:55:41] local.INFO: GPS data processed {"connection_id":151604,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:55:41] local.INFO: Acknowledgment sent {"connection_id":151604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:55:43] local.INFO: TCP Data received {"connection_id":151605,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:43] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:55:43] local.INFO: IMEI packet received {"connection_id":151605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":151605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:55:45] local.INFO: TCP Data received {"connection_id":151605,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe154bd98012d196780071fee100035011a28..."} 
[2026-08-08 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe154bd98012d196780071fee100035011a28..."} 
[2026-08-08 17:55:45] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe154bd98012d196780071fee100035011a28..."} 
[2026-08-08 17:55:45] local.INFO: Packet analysis {"connection_id":151605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe154"} 
[2026-08-08 17:55:45] local.INFO: Extracted packet for processing {"connection_id":151605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe154"} 
[2026-08-08 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265109504001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786191855000,"timestamp_ms":1786191855000,"timestamp_seconds":1786191855,"priority":1,"record_length":96,"hex_timestamp":"0000019fe154bd98"} 
[2026-08-08 17:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 17:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265109504001,"66":12776,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265109504001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:55:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265109504001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":151605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:55:45] local.INFO: GPS data processed {"connection_id":151605,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:55:45] local.INFO: Acknowledgment sent {"connection_id":151605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:55:49] local.INFO: TCP Data received {"connection_id":151605,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1550fa0012d196780071fee100035011a28..."} 
[2026-08-08 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1550fa0012d196780071fee100035011a28..."} 
[2026-08-08 17:55:49] local.INFO: Processing buffer {"connection_id":151605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1550fa0012d196780071fee100035011a28..."} 
[2026-08-08 17:55:49] local.INFO: Packet analysis {"connection_id":151605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:55:49] local.INFO: Extracted packet for processing {"connection_id":151605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265114880001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786191876000,"timestamp_ms":1786191876000,"timestamp_seconds":1786191876,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1550fa0"} 
[2026-08-08 17:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 17:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265114880001,"66":12776,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265114880001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:55:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:55:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265114880001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":151605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:55:49] local.INFO: GPS data processed {"connection_id":151605,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:55:49] local.INFO: Acknowledgment sent {"connection_id":151605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:56:09] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:56:09] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:56:09] local.INFO: IMEI packet received {"connection_id":153090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":153090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:56:13] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:56:13] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:56:13] local.INFO: IMEI packet received {"connection_id":153090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":153090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:56:14] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:56:14] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:56:14] local.INFO: Packet analysis {"connection_id":153090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:56:14] local.INFO: Extracted packet for processing {"connection_id":153090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 17:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:56: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-08-08 17:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:56:14] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":153090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:56:14] local.INFO: GPS data processed {"connection_id":153090,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:56:14] local.INFO: Acknowledgment sent {"connection_id":153090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:56:33] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:56:33] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:56:33] local.INFO: IMEI packet received {"connection_id":150387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":150387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:56:38] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:56:38] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:56:38] local.INFO: IMEI packet received {"connection_id":150387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":150387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:56:39] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15561a8012d196780071fee100035011a28..."} 
[2026-08-08 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15561a8012d196780071fee100035011a28..."} 
[2026-08-08 17:56:39] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15561a8012d196780071fee100035011a28..."} 
[2026-08-08 17:56:39] local.INFO: Packet analysis {"connection_id":150387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:56:39] local.INFO: Extracted packet for processing {"connection_id":150387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265120256001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191897000,"timestamp_ms":1786191897000,"timestamp_seconds":1786191897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15561a8"} 
[2026-08-08 17:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 17:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265120256001,"66":12232,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265120256001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:56:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265120256001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":150387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:56:39] local.INFO: GPS data processed {"connection_id":150387,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:56:39] local.INFO: Acknowledgment sent {"connection_id":150387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:56:45] local.INFO: TCP Data received {"connection_id":153090,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:56:45] local.INFO: Processing buffer {"connection_id":153090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:56:45] local.INFO: Packet analysis {"connection_id":153090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:56:45] local.INFO: Extracted packet for processing {"connection_id":153090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 17:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:56: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-08-08 17:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:56:45] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:56:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":153090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:56:45] local.INFO: GPS data processed {"connection_id":153090,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:56:45] local.INFO: Acknowledgment sent {"connection_id":153090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:57:04] local.INFO: TCP Data received {"connection_id":150654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:57:04] local.INFO: Processing buffer {"connection_id":150654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:57:04] local.INFO: IMEI packet received {"connection_id":150654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":150654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:57:09] local.INFO: TCP Data received {"connection_id":150654,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:57:09] local.INFO: Processing buffer {"connection_id":150654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:57:09] local.INFO: IMEI packet received {"connection_id":150654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":150654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:57:10] local.INFO: TCP Data received {"connection_id":150654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:57:10] local.INFO: Processing buffer {"connection_id":150654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:57:10] local.INFO: Packet analysis {"connection_id":150654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:57:10] local.INFO: Extracted packet for processing {"connection_id":150654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 17:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:57: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-08-08 17:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:57:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":150654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:57:10] local.INFO: GPS data processed {"connection_id":150654,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:57:10] local.INFO: Acknowledgment sent {"connection_id":150654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:57:13] local.INFO: TCP Data received {"connection_id":150387,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155b3b0012d196780071fee100035011a28..."} 
[2026-08-08 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155b3b0012d196780071fee100035011a28..."} 
[2026-08-08 17:57:13] local.INFO: Processing buffer {"connection_id":150387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155b3b0012d196780071fee100035011a28..."} 
[2026-08-08 17:57:13] local.INFO: Packet analysis {"connection_id":150387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:57:13] local.INFO: Extracted packet for processing {"connection_id":150387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265125632001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786191918000,"timestamp_ms":1786191918000,"timestamp_seconds":1786191918,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155b3b0"} 
[2026-08-08 17:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 17:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265125632001,"66":12722,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265125632001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:57:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265125632001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":150387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:57:13] local.INFO: GPS data processed {"connection_id":150387,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:57:13] local.INFO: Acknowledgment sent {"connection_id":150387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:57:33] local.INFO: TCP Data received {"connection_id":153091,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:57:33] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:57:33] local.INFO: IMEI packet received {"connection_id":153091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":153091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:57:38] local.INFO: TCP Data received {"connection_id":153091,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:57:38] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:57:38] local.INFO: IMEI packet received {"connection_id":153091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":153091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:57:39] local.INFO: TCP Data received {"connection_id":153091,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15605b8012d196780071fee100035011a26..."} 
[2026-08-08 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15605b8012d196780071fee100035011a26..."} 
[2026-08-08 17:57:39] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15605b8012d196780071fee100035011a26..."} 
[2026-08-08 17:57:39] local.INFO: Packet analysis {"connection_id":153091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:57:39] local.INFO: Extracted packet for processing {"connection_id":153091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265131008001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786191939000,"timestamp_ms":1786191939000,"timestamp_seconds":1786191939,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15605b8"} 
[2026-08-08 17:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-08 17:57: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-08-08 17: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-08-08 17:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265131008001,"66":12722,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265131008001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:57:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265131008001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":153091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:57:39] local.INFO: GPS data processed {"connection_id":153091,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:57:39] local.INFO: Acknowledgment sent {"connection_id":153091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:57:45] local.INFO: TCP Data received {"connection_id":150654,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:57:45] local.INFO: Processing buffer {"connection_id":150654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:57:45] local.INFO: Packet analysis {"connection_id":150654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:57:45] local.INFO: Extracted packet for processing {"connection_id":150654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 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-08-08 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:57: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-08-08 17:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:57:46] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":150654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:57:46] local.INFO: GPS data processed {"connection_id":150654,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:57:46] local.INFO: Acknowledgment sent {"connection_id":150654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:58:04] local.INFO: TCP Data received {"connection_id":150388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:58:04] local.INFO: Processing buffer {"connection_id":150388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:58:04] local.INFO: IMEI packet received {"connection_id":150388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":150388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:58:09] local.INFO: TCP Data received {"connection_id":150388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:58:09] local.INFO: Processing buffer {"connection_id":150388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:58:09] local.INFO: IMEI packet received {"connection_id":150388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":150388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:58:10] local.INFO: TCP Data received {"connection_id":150388,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:58:10] local.INFO: Processing buffer {"connection_id":150388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:58:10] local.INFO: Packet analysis {"connection_id":150388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:58:10] local.INFO: Extracted packet for processing {"connection_id":150388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:58:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 17:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:58: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-08-08 17:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:58:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":150388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:58:10] local.INFO: GPS data processed {"connection_id":150388,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:58:10] local.INFO: Acknowledgment sent {"connection_id":150388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:58:11] local.INFO: TCP Data received {"connection_id":153091,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15657c0012d196780071fee100035011a26..."} 
[2026-08-08 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15657c0012d196780071fee100035011a26..."} 
[2026-08-08 17:58:11] local.INFO: Processing buffer {"connection_id":153091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15657c0012d196780071fee100035011a26..."} 
[2026-08-08 17:58:11] local.INFO: Packet analysis {"connection_id":153091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:58:11] local.INFO: Extracted packet for processing {"connection_id":153091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265136384001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786191960000,"timestamp_ms":1786191960000,"timestamp_seconds":1786191960,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15657c0"} 
[2026-08-08 17:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:58: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-08-08 17: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":178,"data_length":795,"current_offset":136} 
[2026-08-08 17:58: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-08-08 17:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265136384001,"66":12711,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265136384001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:58:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265136384001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":153091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:58:11] local.INFO: GPS data processed {"connection_id":153091,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:58:11] local.INFO: Acknowledgment sent {"connection_id":153091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:58:33] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:58:33] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:58:33] local.INFO: IMEI packet received {"connection_id":151606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":151606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:58:38] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:58:38] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:58:38] local.INFO: IMEI packet received {"connection_id":151606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":151606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:58:40] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe156a9c8012d196780071fee100035011a26..."} 
[2026-08-08 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe156a9c8012d196780071fee100035011a26..."} 
[2026-08-08 17:58:40] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe156a9c8012d196780071fee100035011a26..."} 
[2026-08-08 17:58:40] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:58:40] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265141760001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786191981000,"timestamp_ms":1786191981000,"timestamp_seconds":1786191981,"priority":1,"record_length":96,"hex_timestamp":"0000019fe156a9c8"} 
[2026-08-08 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-08-08 17:58: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-08-08 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 17:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265141760001,"66":12711,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265141760001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:58:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265141760001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:58:40] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:58:40] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:58:41] local.INFO: TCP Data received {"connection_id":150388,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:58:41] local.INFO: Processing buffer {"connection_id":150388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:58:41] local.INFO: Packet analysis {"connection_id":150388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:58:41] local.INFO: Extracted packet for processing {"connection_id":150388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 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-08-08 17:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:58: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-08-08 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-08-08 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-08-08 17:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17: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-08-08 17:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:58:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":150388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:58:41] local.INFO: GPS data processed {"connection_id":150388,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:58:41] local.INFO: Acknowledgment sent {"connection_id":150388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:59:04] local.INFO: TCP Data received {"connection_id":150389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:59:04] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:59:04] local.INFO: IMEI packet received {"connection_id":150389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 17:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":150389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:59:09] local.INFO: TCP Data received {"connection_id":150389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:59:09] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 17:59:09] local.INFO: IMEI packet received {"connection_id":150389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":150389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:59:10] local.INFO: TCP Data received {"connection_id":150389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:59:10] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:59:10] local.INFO: Packet analysis {"connection_id":150389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:59:10] local.INFO: Extracted packet for processing {"connection_id":150389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:59:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 17:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 17:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 17:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 17:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:59: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-08-08 17:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 17:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:59: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-08-08 17:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:59:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":150389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:59:10] local.INFO: GPS data processed {"connection_id":150389,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:59:10] local.INFO: Acknowledgment sent {"connection_id":150389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:59:12] local.INFO: TCP Data received {"connection_id":151606,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe156fbd0012d196780071fee100035011a26..."} 
[2026-08-08 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe156fbd0012d196780071fee100035011a26..."} 
[2026-08-08 17:59:12] local.INFO: Processing buffer {"connection_id":151606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe156fbd0012d196780071fee100035011a26..."} 
[2026-08-08 17:59:12] local.INFO: Packet analysis {"connection_id":151606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:59:12] local.INFO: Extracted packet for processing {"connection_id":151606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe156"} 
[2026-08-08 17:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 17: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-08-08 17:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265147136001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786192002000,"timestamp_ms":1786192002000,"timestamp_seconds":1786192002,"priority":1,"record_length":96,"hex_timestamp":"0000019fe156fbd0"} 
[2026-08-08 17:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 17:59: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-08-08 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 17:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 17: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-08-08 17:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 17:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265147136001,"66":12613,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265147136001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:59:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265147136001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":151606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:59:12] local.INFO: GPS data processed {"connection_id":151606,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:59:12] local.INFO: Acknowledgment sent {"connection_id":151606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:59:33] local.INFO: TCP Data received {"connection_id":150390,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:59:33] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:59:33] local.INFO: IMEI packet received {"connection_id":150390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 17:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":150390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 17:59:38] local.INFO: TCP Data received {"connection_id":150390,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:59:38] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 17:59:38] local.INFO: IMEI packet received {"connection_id":150390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 17:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":150390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 17:59:40] local.INFO: TCP Data received {"connection_id":150390,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1574dd8012d196780071fee100035011a26..."} 
[2026-08-08 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1574dd8012d196780071fee100035011a26..."} 
[2026-08-08 17:59:40] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1574dd8012d196780071fee100035011a26..."} 
[2026-08-08 17:59:40] local.INFO: Packet analysis {"connection_id":150390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe157"} 
[2026-08-08 17:59:40] local.INFO: Extracted packet for processing {"connection_id":150390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe157"} 
[2026-08-08 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265152512001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59: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-08-08 17:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192023000,"timestamp_ms":1786192023000,"timestamp_seconds":1786192023,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1574dd8"} 
[2026-08-08 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-08-08 17:59: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-08-08 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-08 17:59: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-08-08 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-08-08 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-08-08 17:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 17:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 17:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 17:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265152512001,"66":11928,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 17:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 17:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 17:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265152512001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:59:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 17:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 17:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 17:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265152512001,"power":11928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 17:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":150390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:59:40] local.INFO: GPS data processed {"connection_id":150390,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:59:40] local.INFO: Acknowledgment sent {"connection_id":150390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 17:59:41] local.INFO: TCP Data received {"connection_id":150389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:59:41] local.INFO: Processing buffer {"connection_id":150389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 17:59:41] local.INFO: Packet analysis {"connection_id":150389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:59:41] local.INFO: Extracted packet for processing {"connection_id":150389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 17:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 17:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 17:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 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-08-08 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 17:59: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-08-08 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-08-08 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-08-08 17:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 17:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 17:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 17:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 17:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 17:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 17:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 17:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 17:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 17:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 17:59:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 17:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 17:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 17:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 17:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 17:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":150389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 17:59:41] local.INFO: GPS data processed {"connection_id":150389,"processed":1,"errors":0,"total":1} 
[2026-08-08 17:59:41] local.INFO: Acknowledgment sent {"connection_id":150389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:00:04] local.INFO: TCP Data received {"connection_id":150655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:00:04] local.INFO: Processing buffer {"connection_id":150655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:00:04] local.INFO: IMEI packet received {"connection_id":150655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":150655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:00:10] local.INFO: TCP Data received {"connection_id":150655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:00:10] local.INFO: Processing buffer {"connection_id":150655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:00:10] local.INFO: IMEI packet received {"connection_id":150655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":150655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:00:11] local.INFO: TCP Data received {"connection_id":150390,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1579fe0012d196780071fee100035011a25..."} 
[2026-08-08 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1579fe0012d196780071fee100035011a25..."} 
[2026-08-08 18:00:11] local.INFO: Processing buffer {"connection_id":150390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1579fe0012d196780071fee100035011a25..."} 
[2026-08-08 18:00:11] local.INFO: Packet analysis {"connection_id":150390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe157"} 
[2026-08-08 18:00:11] local.INFO: Extracted packet for processing {"connection_id":150390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe157"} 
[2026-08-08 18:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265157888001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192044000,"timestamp_ms":1786192044000,"timestamp_seconds":1786192044,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1579fe0"} 
[2026-08-08 18:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:00: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-08-08 18: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 18:00:11] 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-08-08 18:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265157888001,"66":12678,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265157888001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265157888001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":150390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:00:11] local.INFO: GPS data processed {"connection_id":150390,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:00:11] local.INFO: Acknowledgment sent {"connection_id":150390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:00:15] local.INFO: TCP Data received {"connection_id":150655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 18:00:15] local.INFO: Processing buffer {"connection_id":150655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 18:00:15] local.INFO: Packet analysis {"connection_id":150655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 18:00:15] local.INFO: Extracted packet for processing {"connection_id":150655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 18:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 18:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:00: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-08-08 18:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:00:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:00:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":150655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:00:15] local.INFO: GPS data processed {"connection_id":150655,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:00:15] local.INFO: Acknowledgment sent {"connection_id":150655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:00:38] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:00:38] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:00:38] local.INFO: IMEI packet received {"connection_id":150391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":150391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:00:43] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:00:43] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:00:43] local.INFO: IMEI packet received {"connection_id":150391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":150391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:00:45] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe157f1e8012d196780071fee100035011a27..."} 
[2026-08-08 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe157f1e8012d196780071fee100035011a27..."} 
[2026-08-08 18:00:45] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe157f1e8012d196780071fee100035011a27..."} 
[2026-08-08 18:00:45] local.INFO: Packet analysis {"connection_id":150391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe157"} 
[2026-08-08 18:00:45] local.INFO: Extracted packet for processing {"connection_id":150391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe157"} 
[2026-08-08 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265163264001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786192065000,"timestamp_ms":1786192065000,"timestamp_seconds":1786192065,"priority":1,"record_length":96,"hex_timestamp":"0000019fe157f1e8"} 
[2026-08-08 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265163264001,"66":12667,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265163264001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265163264001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":150391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:00:45] local.INFO: GPS data processed {"connection_id":150391,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:00:45] local.INFO: Acknowledgment sent {"connection_id":150391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:00:46] local.INFO: TCP Data received {"connection_id":150655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 18:00:46] local.INFO: Processing buffer {"connection_id":150655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe155f618012ceb6c8007502c28003c006022..."} 
[2026-08-08 18:00:46] local.INFO: Packet analysis {"connection_id":150655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 18:00:46] local.INFO: Extracted packet for processing {"connection_id":150655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe155"} 
[2026-08-08 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":60,"angle":96,"satellites":34,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265058304001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786191935000,"timestamp_ms":1786191935000,"timestamp_seconds":1786191935,"priority":1,"record_length":96,"hex_timestamp":"0000019fe155f618"} 
[2026-08-08 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 18:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:00: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-08-08 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265058304001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265058304001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:00:46] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:00:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265058304001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":150655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:00:46] local.INFO: GPS data processed {"connection_id":150655,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:00:46] local.INFO: Acknowledgment sent {"connection_id":150655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:00:50] local.INFO: TCP Data received {"connection_id":150391,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15843f0012d196780071fee100035011a27..."} 
[2026-08-08 18:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15843f0012d196780071fee100035011a27..."} 
[2026-08-08 18:00:50] local.INFO: Processing buffer {"connection_id":150391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15843f0012d196780071fee100035011a27..."} 
[2026-08-08 18:00:50] local.INFO: Packet analysis {"connection_id":150391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe158"} 
[2026-08-08 18:00:50] local.INFO: Extracted packet for processing {"connection_id":150391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe158"} 
[2026-08-08 18:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265168640001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786192086000,"timestamp_ms":1786192086000,"timestamp_seconds":1786192086,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15843f0"} 
[2026-08-08 18:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 18:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265168640001,"66":12667,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265168640001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:00:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:00:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265168640001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":150391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:00:50] local.INFO: GPS data processed {"connection_id":150391,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:00:50] local.INFO: Acknowledgment sent {"connection_id":150391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:01:09] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:01:09] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:01:09] local.INFO: IMEI packet received {"connection_id":150392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":150392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:01:14] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:01:14] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:01:14] local.INFO: IMEI packet received {"connection_id":150392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":150392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:01:17] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:17] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:17] local.INFO: Packet analysis {"connection_id":150392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:01:17] local.INFO: Extracted packet for processing {"connection_id":150392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:01:17] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":150392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:01:17] local.INFO: GPS data processed {"connection_id":150392,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:01:17] local.INFO: Acknowledgment sent {"connection_id":150392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:01:18] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:18] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:18] local.INFO: Packet analysis {"connection_id":150392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:01:18] local.INFO: Extracted packet for processing {"connection_id":150392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:01:18] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:01:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":150392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:01:18] local.INFO: GPS data processed {"connection_id":150392,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:01:18] local.INFO: Acknowledgment sent {"connection_id":150392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:01:32] local.INFO: TCP Data received {"connection_id":151607,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:32] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:32] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:01:33] local.INFO: TCP Data received {"connection_id":151607,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:33] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:33] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:01:39] local.INFO: TCP Data received {"connection_id":151607,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:39] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:01:39] local.INFO: IMEI packet received {"connection_id":151607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":151607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:01:40] local.INFO: TCP Data received {"connection_id":151607,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15895f8012d196780071fee100035011a24..."} 
[2026-08-08 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15895f8012d196780071fee100035011a24..."} 
[2026-08-08 18:01:40] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15895f8012d196780071fee100035011a24..."} 
[2026-08-08 18:01:40] local.INFO: Packet analysis {"connection_id":151607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe158"} 
[2026-08-08 18:01:40] local.INFO: Extracted packet for processing {"connection_id":151607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe158"} 
[2026-08-08 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265174016001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01: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-08-08 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192107000,"timestamp_ms":1786192107000,"timestamp_seconds":1786192107,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15895f8"} 
[2026-08-08 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-08-08 18:01: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-08-08 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 18:01: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-08-08 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-08-08 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-08-08 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265174016001,"66":12667,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265174016001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:01:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265174016001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":151607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:01:41] local.INFO: GPS data processed {"connection_id":151607,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:01:41] local.INFO: Acknowledgment sent {"connection_id":151607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:01:49] local.INFO: TCP Data received {"connection_id":150392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:49] local.INFO: Processing buffer {"connection_id":150392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:01:49] local.INFO: Packet analysis {"connection_id":150392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:01:49] local.INFO: Extracted packet for processing {"connection_id":150392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:01:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":150392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:01:49] local.INFO: GPS data processed {"connection_id":150392,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:01:49] local.INFO: Acknowledgment sent {"connection_id":150392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:02:04] local.INFO: TCP Data received {"connection_id":150656,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:02:04] local.INFO: Processing buffer {"connection_id":150656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:02:04] local.INFO: IMEI packet received {"connection_id":150656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":150656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:02:09] local.INFO: TCP Data received {"connection_id":150656,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:02:09] local.INFO: Processing buffer {"connection_id":150656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:02:09] local.INFO: IMEI packet received {"connection_id":150656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":150656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:02:10] local.INFO: TCP Data received {"connection_id":150656,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:02:10] local.INFO: Processing buffer {"connection_id":150656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:02:10] local.INFO: Packet analysis {"connection_id":150656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:02:10] local.INFO: Extracted packet for processing {"connection_id":150656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:02:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:02: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-08-08 18:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:02:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":150656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:02:10] local.INFO: GPS data processed {"connection_id":150656,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:02:10] local.INFO: Acknowledgment sent {"connection_id":150656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:02:16] local.INFO: TCP Data received {"connection_id":151607,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe158e800012d196780071fee100035011a27..."} 
[2026-08-08 18:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe158e800012d196780071fee100035011a27..."} 
[2026-08-08 18:02:16] local.INFO: Processing buffer {"connection_id":151607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe158e800012d196780071fee100035011a27..."} 
[2026-08-08 18:02:16] local.INFO: Packet analysis {"connection_id":151607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe158"} 
[2026-08-08 18:02:16] local.INFO: Extracted packet for processing {"connection_id":151607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe158"} 
[2026-08-08 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265179392001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786192128000,"timestamp_ms":1786192128000,"timestamp_seconds":1786192128,"priority":1,"record_length":96,"hex_timestamp":"0000019fe158e800"} 
[2026-08-08 18:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:02: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-08-08 18: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":123,"data_length":795,"current_offset":136} 
[2026-08-08 18:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265179392001,"66":12602,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265179392001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:02:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:02:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265179392001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":151607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:02:16] local.INFO: GPS data processed {"connection_id":151607,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:02:16] local.INFO: Acknowledgment sent {"connection_id":151607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:02:33] local.INFO: TCP Data received {"connection_id":153092,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:02:33] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:02:33] local.INFO: IMEI packet received {"connection_id":153092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":153092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:02:35] local.INFO: TCP Data received {"connection_id":153092,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:02:35] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:02:35] local.INFO: IMEI packet received {"connection_id":153092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":153092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:02:36] local.INFO: TCP Data received {"connection_id":153092,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1593a08012d196780071fee100035011a25..."} 
[2026-08-08 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1593a08012d196780071fee100035011a25..."} 
[2026-08-08 18:02:36] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1593a08012d196780071fee100035011a25..."} 
[2026-08-08 18:02:36] local.INFO: Packet analysis {"connection_id":153092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe159"} 
[2026-08-08 18:02:36] local.INFO: Extracted packet for processing {"connection_id":153092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe159"} 
[2026-08-08 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265184768001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786192149000,"timestamp_ms":1786192149000,"timestamp_seconds":1786192149,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1593a08"} 
[2026-08-08 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-08-08 18:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":58,"data_length":795,"current_offset":136} 
[2026-08-08 18:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265184768001,"66":12613,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265184768001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265184768001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":153092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:02:36] local.INFO: GPS data processed {"connection_id":153092,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:02:36] local.INFO: Acknowledgment sent {"connection_id":153092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:02:41] local.INFO: TCP Data received {"connection_id":150656,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:02:41] local.INFO: Processing buffer {"connection_id":150656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:02:41] local.INFO: Packet analysis {"connection_id":150656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:02:41] local.INFO: Extracted packet for processing {"connection_id":150656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:02: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-08-08 18:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:02:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":150656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:02:41] local.INFO: GPS data processed {"connection_id":150656,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:02:41] local.INFO: Acknowledgment sent {"connection_id":150656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:03:04] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:03:04] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:03:04] local.INFO: IMEI packet received {"connection_id":153093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":153093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:03:08] local.INFO: TCP Data received {"connection_id":153092,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1598c10012d196780071fee100035011a24..."} 
[2026-08-08 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1598c10012d196780071fee100035011a24..."} 
[2026-08-08 18:03:08] local.INFO: Processing buffer {"connection_id":153092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1598c10012d196780071fee100035011a24..."} 
[2026-08-08 18:03:08] local.INFO: Packet analysis {"connection_id":153092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe159"} 
[2026-08-08 18:03:08] local.INFO: Extracted packet for processing {"connection_id":153092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe159"} 
[2026-08-08 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265190144001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03: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-08-08 18:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786192170000,"timestamp_ms":1786192170000,"timestamp_seconds":1786192170,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1598c10"} 
[2026-08-08 18:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-08 18:03: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-08-08 18:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265190144001,"66":12548,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265190144001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:03:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265190144001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":153092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:03:08] local.INFO: GPS data processed {"connection_id":153092,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:03:08] local.INFO: Acknowledgment sent {"connection_id":153092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:03:09] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:03:09] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:03:09] local.INFO: IMEI packet received {"connection_id":153093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":153093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:03:10] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:03:10] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:03:10] local.INFO: Packet analysis {"connection_id":153093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:03:10] local.INFO: Extracted packet for processing {"connection_id":153093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 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-08-08 18:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:03: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-08-08 18:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:03:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":153093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:03:10] local.INFO: GPS data processed {"connection_id":153093,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:03:10] local.INFO: Acknowledgment sent {"connection_id":153093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:03:33] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:03:33] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:03:33] local.INFO: IMEI packet received {"connection_id":151608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":151608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:03:39] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:03:39] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:03:39] local.INFO: IMEI packet received {"connection_id":151608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":151608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:03:40] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe159de18012d196780071fee100035011a23..."} 
[2026-08-08 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe159de18012d196780071fee100035011a23..."} 
[2026-08-08 18:03:40] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe159de18012d196780071fee100035011a23..."} 
[2026-08-08 18:03:40] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe159"} 
[2026-08-08 18:03:40] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe159"} 
[2026-08-08 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265195520001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03: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-08-08 18:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192191000,"timestamp_ms":1786192191000,"timestamp_seconds":1786192191,"priority":1,"record_length":96,"hex_timestamp":"0000019fe159de18"} 
[2026-08-08 18:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18: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":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3780616160,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184205549773,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:40] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,77,159,58,45,128,238,53,37,10,66,232,39,149,1,240,123,225,31,4,113,205,103,239,49,2,41,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 18:03:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362700908036096,"timestamp_seconds":3819362700908036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265195520001,"66":12591,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265195520001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:03:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265195520001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:03:40] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:03:40] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:03:41] local.INFO: TCP Data received {"connection_id":153093,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:03:41] local.INFO: Processing buffer {"connection_id":153093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:03:41] local.INFO: Packet analysis {"connection_id":153093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:03:41] local.INFO: Extracted packet for processing {"connection_id":153093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 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-08-08 18:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:03: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-08-08 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-08-08 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-08-08 18:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":153093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:03:41] local.INFO: GPS data processed {"connection_id":153093,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:03:41] local.INFO: Acknowledgment sent {"connection_id":153093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:04:04] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:04:04] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:04:04] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:04:09] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:04:09] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:04:09] local.INFO: IMEI packet received {"connection_id":151609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":151609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:04:10] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:04:10] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:04:10] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:10] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 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-08-08 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:04:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:04:10] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:04:10] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:04:11] local.INFO: TCP Data received {"connection_id":151608,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a3020012d196780071fee100035011a26..."} 
[2026-08-08 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a3020012d196780071fee100035011a26..."} 
[2026-08-08 18:04:11] local.INFO: Processing buffer {"connection_id":151608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a3020012d196780071fee100035011a26..."} 
[2026-08-08 18:04:11] local.INFO: Packet analysis {"connection_id":151608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:11] local.INFO: Extracted packet for processing {"connection_id":151608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265200896001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192212000,"timestamp_ms":1786192212000,"timestamp_seconds":1786192212,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a3020"} 
[2026-08-08 18:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:04: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-08-08 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 18:04: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-08-08 18:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265200896001,"66":12591,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265200896001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:04:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265200896001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":151608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:04:11] local.INFO: GPS data processed {"connection_id":151608,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:04:11] local.INFO: Acknowledgment sent {"connection_id":151608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:04:33] local.INFO: TCP Data received {"connection_id":151610,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:04:33] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:04:33] local.INFO: IMEI packet received {"connection_id":151610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":151610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:04:39] local.INFO: TCP Data received {"connection_id":151610,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:04:39] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:04:39] local.INFO: IMEI packet received {"connection_id":151610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":151610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:04:40] local.INFO: TCP Data received {"connection_id":151610,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8228012d196780071fee100035011a26..."} 
[2026-08-08 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8228012d196780071fee100035011a26..."} 
[2026-08-08 18:04:40] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8228012d196780071fee100035011a26..."} 
[2026-08-08 18:04:40] local.INFO: Packet analysis {"connection_id":151610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:40] local.INFO: Extracted packet for processing {"connection_id":151610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265206272001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04: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-08-08 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192233000,"timestamp_ms":1786192233000,"timestamp_seconds":1786192233,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8228"} 
[2026-08-08 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-08-08 18:04: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-08-08 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265206272001,"66":12580,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265206272001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:04:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265206272001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":151610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:04:41] local.INFO: GPS data processed {"connection_id":151610,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:04:41] local.INFO: Acknowledgment sent {"connection_id":151610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:04:41] local.INFO: TCP Data received {"connection_id":151609,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:04:41] local.INFO: Processing buffer {"connection_id":151609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:04:41] local.INFO: Packet analysis {"connection_id":151609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:41] local.INFO: Extracted packet for processing {"connection_id":151609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:04: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-08-08 18:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:04:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":151609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:04:41] local.INFO: GPS data processed {"connection_id":151609,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:04:41] local.INFO: Acknowledgment sent {"connection_id":151609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:05:09] local.INFO: TCP Data received {"connection_id":150657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:05:09] local.INFO: Processing buffer {"connection_id":150657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:05:09] local.INFO: IMEI packet received {"connection_id":150657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":150657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:05:12] local.INFO: TCP Data received {"connection_id":151610,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15ad430012d196780071fee100035011a22..."} 
[2026-08-08 18:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15ad430012d196780071fee100035011a22..."} 
[2026-08-08 18:05:12] local.INFO: Processing buffer {"connection_id":151610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15ad430012d196780071fee100035011a22..."} 
[2026-08-08 18:05:12] local.INFO: Packet analysis {"connection_id":151610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:05:12] local.INFO: Extracted packet for processing {"connection_id":151610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265211648001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786192254000,"timestamp_ms":1786192254000,"timestamp_seconds":1786192254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15ad430"} 
[2026-08-08 18:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:05: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-08-08 18: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-08 18:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265211648001,"66":12548,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265211648001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:05:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265211648001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":151610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:05:12] local.INFO: GPS data processed {"connection_id":151610,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:05:12] local.INFO: Acknowledgment sent {"connection_id":151610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:05:14] local.INFO: TCP Data received {"connection_id":150657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:05:14] local.INFO: Processing buffer {"connection_id":150657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:05:14] local.INFO: IMEI packet received {"connection_id":150657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":150657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:05:15] local.INFO: TCP Data received {"connection_id":150657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:05:15] local.INFO: Processing buffer {"connection_id":150657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:05:15] local.INFO: Packet analysis {"connection_id":150657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:05:15] local.INFO: Extracted packet for processing {"connection_id":150657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18: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":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:05: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-08-08 18:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:05:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":150657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:05:15] local.INFO: GPS data processed {"connection_id":150657,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:05:15] local.INFO: Acknowledgment sent {"connection_id":150657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:05:33] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:05:33] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:05:33] local.INFO: IMEI packet received {"connection_id":150393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":150393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:05:33] local.INFO: TCP Data received {"connection_id":150657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:05:33] local.INFO: Processing buffer {"connection_id":150657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:05:33] local.INFO: Packet analysis {"connection_id":150657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:05:33] local.INFO: Extracted packet for processing {"connection_id":150657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:05:33] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:05:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":150657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:05:33] local.INFO: GPS data processed {"connection_id":150657,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:05:33] local.INFO: Acknowledgment sent {"connection_id":150657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:05:39] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:05:39] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:05:39] local.INFO: IMEI packet received {"connection_id":150393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":150393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:05:40] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15b2638012d196780071fee100035011a26..."} 
[2026-08-08 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15b2638012d196780071fee100035011a26..."} 
[2026-08-08 18:05:40] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15b2638012d196780071fee100035011a26..."} 
[2026-08-08 18:05:40] local.INFO: Packet analysis {"connection_id":150393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15b"} 
[2026-08-08 18:05:40] local.INFO: Extracted packet for processing {"connection_id":150393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15b"} 
[2026-08-08 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265217024001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05: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-08-08 18:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192275000,"timestamp_ms":1786192275000,"timestamp_seconds":1786192275,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15b2638"} 
[2026-08-08 18:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18: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":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3780700160,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-08 18:05:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,77,159,130,45,128,238,53,38,10,66,48,222,1,240,47,225,31,4,113,205,58,103,37,239,49,2,41,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 18:05:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362692318101504,"timestamp_seconds":3819362692318101.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265217024001,"66":12558,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265217024001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:05:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265217024001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":150393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:05:40] local.INFO: GPS data processed {"connection_id":150393,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:05:40] local.INFO: Acknowledgment sent {"connection_id":150393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:06:04] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:06:04] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:06:04] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:06:09] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:06:09] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:06:09] local.INFO: IMEI packet received {"connection_id":151611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":151611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:06:10] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:06:10] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15a8de0012ceb6c8007502c280041006023..."} 
[2026-08-08 18:06:10] local.INFO: Packet analysis {"connection_id":151611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:06:10] local.INFO: Extracted packet for processing {"connection_id":151611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15a"} 
[2026-08-08 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":35,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192236000,"timestamp_ms":1786192236000,"timestamp_seconds":1786192236,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15a8de0"} 
[2026-08-08 18:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:06: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-08-08 18:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265135360001,"66":25756,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:06:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265135360001,"power":25756,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":151611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:06:10] local.INFO: GPS data processed {"connection_id":151611,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:06:10] local.INFO: Acknowledgment sent {"connection_id":151611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:06:12] local.INFO: TCP Data received {"connection_id":150393,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15b7840012d196780071fee100035011a25..."} 
[2026-08-08 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15b7840012d196780071fee100035011a25..."} 
[2026-08-08 18:06:12] local.INFO: Processing buffer {"connection_id":150393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15b7840012d196780071fee100035011a25..."} 
[2026-08-08 18:06:12] local.INFO: Packet analysis {"connection_id":150393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15b"} 
[2026-08-08 18:06:12] local.INFO: Extracted packet for processing {"connection_id":150393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15b"} 
[2026-08-08 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265222400001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786192296000,"timestamp_ms":1786192296000,"timestamp_seconds":1786192296,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15b7840"} 
[2026-08-08 18:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:06: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-08-08 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3780721160,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742405697531408,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,77,159,212,45,128,238,53,34,10,66,130,38,48,1,240,47,225,31,4,113,205,140,103,36,239,49,2,41,7,231,91,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 18:06:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362709497970688,"timestamp_seconds":3819362709497970.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265222400001,"66":12515,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265222400001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265222400001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":150393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:06:12] local.INFO: GPS data processed {"connection_id":150393,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:06:12] local.INFO: Acknowledgment sent {"connection_id":150393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:06:33] local.INFO: TCP Data received {"connection_id":150658,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:06:33] local.INFO: Processing buffer {"connection_id":150658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:06:33] local.INFO: IMEI packet received {"connection_id":150658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":150658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:06:38] local.INFO: TCP Data received {"connection_id":150658,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:06:38] local.INFO: Processing buffer {"connection_id":150658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:06:38] local.INFO: IMEI packet received {"connection_id":150658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":150658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:06:40] local.INFO: TCP Data received {"connection_id":150658,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15bca48012d196780071fee100035011a25..."} 
[2026-08-08 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15bca48012d196780071fee100035011a25..."} 
[2026-08-08 18:06:40] local.INFO: Processing buffer {"connection_id":150658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15bca48012d196780071fee100035011a25..."} 
[2026-08-08 18:06:40] local.INFO: Packet analysis {"connection_id":150658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15b"} 
[2026-08-08 18:06:40] local.INFO: Extracted packet for processing {"connection_id":150658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15b"} 
[2026-08-08 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265227776001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06: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-08-08 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192317000,"timestamp_ms":1786192317000,"timestamp_seconds":1786192317,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15bca48"} 
[2026-08-08 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-08-08 18: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-08-08 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-08 18:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265227776001,"66":12515,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265227776001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:06:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:06:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265227776001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":150658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:06:40] local.INFO: GPS data processed {"connection_id":150658,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:06:40] local.INFO: Acknowledgment sent {"connection_id":150658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:06:41] local.INFO: TCP Data received {"connection_id":151611,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:06:41] local.INFO: Processing buffer {"connection_id":151611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:06:41] local.INFO: Packet analysis {"connection_id":151611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:06:41] local.INFO: Extracted packet for processing {"connection_id":151611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265212416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786192537000,"timestamp_ms":1786192537000,"timestamp_seconds":1786192537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15f25a8"} 
[2026-08-08 18:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18: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":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:06: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-08-08 18:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265212416001,"66":25680,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265212416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265212416001,"power":25680,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":151611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:06:41] local.INFO: GPS data processed {"connection_id":151611,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:06:41] local.INFO: Acknowledgment sent {"connection_id":151611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:07:04] local.INFO: TCP Data received {"connection_id":150659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:07:04] local.INFO: Processing buffer {"connection_id":150659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:07:04] local.INFO: IMEI packet received {"connection_id":150659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":150659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:07:09] local.INFO: TCP Data received {"connection_id":150659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:07:09] local.INFO: Processing buffer {"connection_id":150659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:07:09] local.INFO: IMEI packet received {"connection_id":150659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":150659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:07:10] local.INFO: TCP Data received {"connection_id":150659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:07:10] local.INFO: Processing buffer {"connection_id":150659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:07:10] local.INFO: Packet analysis {"connection_id":150659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:10] local.INFO: Extracted packet for processing {"connection_id":150659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265212416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192537000,"timestamp_ms":1786192537000,"timestamp_seconds":1786192537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15f25a8"} 
[2026-08-08 18:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:07: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-08-08 18:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265212416001,"66":25680,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265212416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:07:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265212416001,"power":25680,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":150659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:07:10] local.INFO: GPS data processed {"connection_id":150659,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:07:10] local.INFO: Acknowledgment sent {"connection_id":150659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:07:11] local.INFO: TCP Data received {"connection_id":150658,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15f50a0012d196780071fee100035011a28..."} 
[2026-08-08 18:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15f50a0012d196780071fee100035011a28..."} 
[2026-08-08 18:07:11] local.INFO: Processing buffer {"connection_id":150658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15f50a0012d196780071fee100035011a28..."} 
[2026-08-08 18:07:11] local.INFO: Packet analysis {"connection_id":150658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:11] local.INFO: Extracted packet for processing {"connection_id":150658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265286912001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192548000,"timestamp_ms":1786192548000,"timestamp_seconds":1786192548,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15f50a0"} 
[2026-08-08 18:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":227,"data_length":795,"current_offset":136} 
[2026-08-08 18:07: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-08-08 18:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265286912001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265286912001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:07:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265286912001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":150658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:07:11] local.INFO: GPS data processed {"connection_id":150658,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:07:11] local.INFO: Acknowledgment sent {"connection_id":150658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:07:33] local.INFO: TCP Data received {"connection_id":150394,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:07:33] local.INFO: Processing buffer {"connection_id":150394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:07:33] local.INFO: IMEI packet received {"connection_id":150394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":150394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:07:38] local.INFO: TCP Data received {"connection_id":150394,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:07:38] local.INFO: Processing buffer {"connection_id":150394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:07:38] local.INFO: IMEI packet received {"connection_id":150394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":150394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:07:39] local.INFO: TCP Data received {"connection_id":150394,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15fa2a8012d196780071fee100035011a27..."} 
[2026-08-08 18:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15fa2a8012d196780071fee100035011a27..."} 
[2026-08-08 18:07:39] local.INFO: Processing buffer {"connection_id":150394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15fa2a8012d196780071fee100035011a27..."} 
[2026-08-08 18:07:39] local.INFO: Packet analysis {"connection_id":150394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:39] local.INFO: Extracted packet for processing {"connection_id":150394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265292288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786192569000,"timestamp_ms":1786192569000,"timestamp_seconds":1786192569,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15fa2a8"} 
[2026-08-08 18:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265292288001,"66":12504,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265292288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265292288001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":150394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:07:39] local.INFO: GPS data processed {"connection_id":150394,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:07:39] local.INFO: Acknowledgment sent {"connection_id":150394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:07:41] local.INFO: TCP Data received {"connection_id":150659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:07:41] local.INFO: Processing buffer {"connection_id":150659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:07:41] local.INFO: Packet analysis {"connection_id":150659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:41] local.INFO: Extracted packet for processing {"connection_id":150659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265212416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786192537000,"timestamp_ms":1786192537000,"timestamp_seconds":1786192537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15f25a8"} 
[2026-08-08 18:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:07: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-08-08 18:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:07: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-08-08 18:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265212416001,"66":25680,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265212416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:07:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265212416001,"power":25680,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":150659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:07:41] local.INFO: GPS data processed {"connection_id":150659,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:07:41] local.INFO: Acknowledgment sent {"connection_id":150659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:08:04] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:08:04] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:08:04] local.INFO: IMEI packet received {"connection_id":151612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":151612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:08:09] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:08:09] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:08:09] local.INFO: IMEI packet received {"connection_id":151612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":151612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:08:10] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:08:10] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:08:10] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:08:10] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265212416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192537000,"timestamp_ms":1786192537000,"timestamp_seconds":1786192537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15f25a8"} 
[2026-08-08 18:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265212416001,"66":25680,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265212416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:08:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265212416001,"power":25680,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:08:10] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:08:10] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:08:11] local.INFO: TCP Data received {"connection_id":150394,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15ff4b0012d196780071fee100035011a28..."} 
[2026-08-08 18:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15ff4b0012d196780071fee100035011a28..."} 
[2026-08-08 18:08:11] local.INFO: Processing buffer {"connection_id":150394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15ff4b0012d196780071fee100035011a28..."} 
[2026-08-08 18:08:11] local.INFO: Packet analysis {"connection_id":150394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:08:11] local.INFO: Extracted packet for processing {"connection_id":150394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265297664001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192590000,"timestamp_ms":1786192590000,"timestamp_seconds":1786192590,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15ff4b0"} 
[2026-08-08 18:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:08: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-08-08 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 18:08: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-08-08 18:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265297664001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265297664001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:08:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265297664001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":150394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:08:11] local.INFO: GPS data processed {"connection_id":150394,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:08:11] local.INFO: Acknowledgment sent {"connection_id":150394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:08:33] local.INFO: TCP Data received {"connection_id":150660,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:08:33] local.INFO: Processing buffer {"connection_id":150660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:08:33] local.INFO: IMEI packet received {"connection_id":150660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":150660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:08:38] local.INFO: TCP Data received {"connection_id":150660,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:08:38] local.INFO: Processing buffer {"connection_id":150660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:08:38] local.INFO: IMEI packet received {"connection_id":150660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":150660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:08:40] local.INFO: TCP Data received {"connection_id":150660,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16046b8012d196780071fee100035011a27..."} 
[2026-08-08 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16046b8012d196780071fee100035011a27..."} 
[2026-08-08 18:08:40] local.INFO: Processing buffer {"connection_id":150660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16046b8012d196780071fee100035011a27..."} 
[2026-08-08 18:08:40] local.INFO: Packet analysis {"connection_id":150660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe160"} 
[2026-08-08 18:08:40] local.INFO: Extracted packet for processing {"connection_id":150660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe160"} 
[2026-08-08 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265303040001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08: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-08-08 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192611000,"timestamp_ms":1786192611000,"timestamp_seconds":1786192611,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16046b8"} 
[2026-08-08 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:08: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-08-08 18:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265303040001,"66":12504,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265303040001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:08:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265303040001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":150660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:08:40] local.INFO: GPS data processed {"connection_id":150660,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:08:40] local.INFO: Acknowledgment sent {"connection_id":150660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:08:41] local.INFO: TCP Data received {"connection_id":151612,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:08:41] local.INFO: Processing buffer {"connection_id":151612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe15f25a8012ceb6c8007502c280041006027..."} 
[2026-08-08 18:08:41] local.INFO: Packet analysis {"connection_id":151612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:08:41] local.INFO: Extracted packet for processing {"connection_id":151612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe15f"} 
[2026-08-08 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":39,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265212416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786192537000,"timestamp_ms":1786192537000,"timestamp_seconds":1786192537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe15f25a8"} 
[2026-08-08 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-08-08 18: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-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 18:08: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-08-08 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-08-08 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-08-08 18:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265212416001,"66":25680,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265212416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:08:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265212416001,"power":25680,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":151612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:08:41] local.INFO: GPS data processed {"connection_id":151612,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:08:41] local.INFO: Acknowledgment sent {"connection_id":151612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:09:05] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:05] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:05] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:09:09] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:09] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:09] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:09:11] local.INFO: TCP Data received {"connection_id":150660,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16098c0012d196780071fee100035011a28..."} 
[2026-08-08 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16098c0012d196780071fee100035011a28..."} 
[2026-08-08 18:09:11] local.INFO: Processing buffer {"connection_id":150660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16098c0012d196780071fee100035011a28..."} 
[2026-08-08 18:09:11] local.INFO: Packet analysis {"connection_id":150660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe160"} 
[2026-08-08 18:09:11] local.INFO: Extracted packet for processing {"connection_id":150660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe160"} 
[2026-08-08 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265308416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192632000,"timestamp_ms":1786192632000,"timestamp_seconds":1786192632,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16098c0"} 
[2026-08-08 18:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 18:09: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-08-08 18:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265308416001,"66":12504,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265308416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:09:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265308416001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":150660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:09:12] local.INFO: GPS data processed {"connection_id":150660,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:09:12] local.INFO: Acknowledgment sent {"connection_id":150660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:09:14] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:14] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:09:14] local.INFO: IMEI packet received {"connection_id":151613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":151613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:09:15] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe161b5e8012ceb6c8007502c280041006026..."} 
[2026-08-08 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe161b5e8012ceb6c8007502c280041006026..."} 
[2026-08-08 18:09:15] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe161b5e8012ceb6c8007502c280041006026..."} 
[2026-08-08 18:09:15] local.INFO: Packet analysis {"connection_id":151613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:09:15] local.INFO: Extracted packet for processing {"connection_id":151613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":753626240,"raw_latitude":122694696,"longitude_deg":75.362624,"latitude_deg":12.2694696,"altitude":65,"angle":96,"satellites":38,"speed":0,"hex_longitude":"2ceb6c80","hex_latitude":"07502c28","is_valid_coordinates":true} 
[2026-08-08 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265289472001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786192705000,"timestamp_ms":1786192705000,"timestamp_seconds":1786192705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe161b5e8"} 
[2026-08-08 18:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18: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":80,"data_length":795,"current_offset":136} 
[2026-08-08 18:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265289472001,"66":25702,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265289472001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:09:15] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265289472001,"power":25702,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":151613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:09:15] local.INFO: GPS data processed {"connection_id":151613,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:09:15] local.INFO: Acknowledgment sent {"connection_id":151613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:09:20] local.INFO: TCP Data received {"connection_id":151613,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe161bdb8012ceb6980075029780041010525..."} 
[2026-08-08 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe161bdb8012ceb6980075029780041010525..."} 
[2026-08-08 18:09:20] local.INFO: Processing buffer {"connection_id":151613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe161bdb8012ceb6980075029780041010525..."} 
[2026-08-08 18:09:20] local.INFO: Packet analysis {"connection_id":151613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:09:20] local.INFO: Extracted packet for processing {"connection_id":151613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":753625472,"raw_latitude":122694008,"longitude_deg":75.3625472,"latitude_deg":12.2694008,"altitude":65,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2ceb6980","hex_latitude":"07502978","is_valid_coordinates":true} 
[2026-08-08 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265332480001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482669408413538304,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786192707000,"timestamp_ms":1786192707000,"timestamp_seconds":1786192707,"priority":1,"record_length":96,"hex_timestamp":"0000019fe161bdb8"} 
[2026-08-08 18:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 18:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265332480001,"66":21375,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1482669408413538304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265332480001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:09:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482669408413538304,"description":"Unknown IO ID 44"} 
[2026-08-08 18:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265332480001,"power":21375,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482669408413538304}} 
[2026-08-08 18:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":151613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:09:20] local.INFO: GPS data processed {"connection_id":151613,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:09:20] local.INFO: Acknowledgment sent {"connection_id":151613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:09:33] local.INFO: TCP Data received {"connection_id":153094,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:33] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:33] local.INFO: IMEI packet received {"connection_id":153094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":153094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:09:35] local.INFO: TCP Data received {"connection_id":153094,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:35] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:35] local.INFO: IMEI packet received {"connection_id":153094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":153094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:09:39] local.INFO: TCP Data received {"connection_id":153094,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:39] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:09:39] local.INFO: IMEI packet received {"connection_id":153094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":153094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:09:40] local.INFO: TCP Data received {"connection_id":153094,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe160eac8012d196780071fee100035011a29..."} 
[2026-08-08 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe160eac8012d196780071fee100035011a29..."} 
[2026-08-08 18:09:40] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe160eac8012d196780071fee100035011a29..."} 
[2026-08-08 18:09:40] local.INFO: Packet analysis {"connection_id":153094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe160"} 
[2026-08-08 18:09:40] local.INFO: Extracted packet for processing {"connection_id":153094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe160"} 
[2026-08-08 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265313792001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:09: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-08-08 18:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192653000,"timestamp_ms":1786192653000,"timestamp_seconds":1786192653,"priority":1,"record_length":96,"hex_timestamp":"0000019fe160eac8"} 
[2026-08-08 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-08-08 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-08 18:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265313792001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265313792001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:09:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265313792001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":153094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:09:40] local.INFO: GPS data processed {"connection_id":153094,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:09:40] local.INFO: Acknowledgment sent {"connection_id":153094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:10:04] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:04] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:04] local.INFO: IMEI packet received {"connection_id":153095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":153095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:10:06] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:06] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:06] local.INFO: IMEI packet received {"connection_id":153095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":153095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:10:07] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:07] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:10:07] local.INFO: IMEI packet received {"connection_id":153095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":153095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:10:08] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1620fc0012ceb6980075029780041010524..."} 
[2026-08-08 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1620fc0012ceb6980075029780041010524..."} 
[2026-08-08 18:10:08] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1620fc0012ceb6980075029780041010524..."} 
[2026-08-08 18:10:08] local.INFO: Packet analysis {"connection_id":153095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:10:08] local.INFO: Extracted packet for processing {"connection_id":153095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":753625472,"raw_latitude":122694008,"longitude_deg":75.3625472,"latitude_deg":12.2694008,"altitude":65,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2ceb6980","hex_latitude":"07502978","is_valid_coordinates":true} 
[2026-08-08 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265332992001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483513833343846400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786192728000,"timestamp_ms":1786192728000,"timestamp_seconds":1786192728,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1620fc0"} 
[2026-08-08 18:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":83,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-08 18:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265332992001,"66":27658,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1483513833343846400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265332992001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:10:08] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483513833343846400,"description":"Unknown IO ID 44"} 
[2026-08-08 18:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265332992001,"power":27658,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483513833343846400}} 
[2026-08-08 18:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":153095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:10:08] local.INFO: GPS data processed {"connection_id":153095,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:10:08] local.INFO: Acknowledgment sent {"connection_id":153095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:10:11] local.INFO: TCP Data received {"connection_id":153094,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1613cd0012d196780071fee100035011a2a..."} 
[2026-08-08 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1613cd0012d196780071fee100035011a2a..."} 
[2026-08-08 18:10:11] local.INFO: Processing buffer {"connection_id":153094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1613cd0012d196780071fee100035011a2a..."} 
[2026-08-08 18:10:11] local.INFO: Packet analysis {"connection_id":153094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:10:11] local.INFO: Extracted packet for processing {"connection_id":153094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265319168001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192674000,"timestamp_ms":1786192674000,"timestamp_seconds":1786192674,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1613cd0"} 
[2026-08-08 18:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:10: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-08-08 18:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265319168001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265319168001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265319168001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":153094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:10:11] local.INFO: GPS data processed {"connection_id":153094,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:10:11] local.INFO: Acknowledgment sent {"connection_id":153094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:10:38] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:38] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:38] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:10:39] local.INFO: TCP Data received {"connection_id":153095,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16261c8012ceb6980075029780041010526..."} 
[2026-08-08 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16261c8012ceb6980075029780041010526..."} 
[2026-08-08 18:10:39] local.INFO: Processing buffer {"connection_id":153095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16261c8012ceb6980075029780041010526..."} 
[2026-08-08 18:10:39] local.INFO: Packet analysis {"connection_id":153095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:10:39] local.INFO: Extracted packet for processing {"connection_id":153095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:10:39] local.INFO: GPS Element Parsed {"raw_longitude":753625472,"raw_latitude":122694008,"longitude_deg":75.3625472,"latitude_deg":12.2694008,"altitude":65,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2ceb6980","hex_latitude":"07502978","is_valid_coordinates":true} 
[2026-08-08 18:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265338368001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375683817333063680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483513833343846400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786192749000,"timestamp_ms":1786192749000,"timestamp_seconds":1786192749,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16261c8"} 
[2026-08-08 18:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 18:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265338368001,"66":27865,"50":206,"85":37376,"24":0,"16":375683817333063680,"44":-1483513833343846400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265338368001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:10:39] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375683817333063680,"km_value":375683817333063.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483513833343846400,"description":"Unknown IO ID 44"} 
[2026-08-08 18:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265338368001,"power":27865,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1483513833343846400}} 
[2026-08-08 18:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":153095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:10:39] local.INFO: GPS data processed {"connection_id":153095,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:10:39] local.INFO: Acknowledgment sent {"connection_id":153095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:10:39] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:39] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:39] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:10:43] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:43] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:10:43] local.INFO: IMEI packet received {"connection_id":151614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":151614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:10:45] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1618ed8012d196780071fee100035011a28..."} 
[2026-08-08 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1618ed8012d196780071fee100035011a28..."} 
[2026-08-08 18:10:45] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1618ed8012d196780071fee100035011a28..."} 
[2026-08-08 18:10:45] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:10:45] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265324544001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786192695000,"timestamp_ms":1786192695000,"timestamp_seconds":1786192695,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1618ed8"} 
[2026-08-08 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-08-08 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265324544001,"66":12439,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265324544001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:10:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265324544001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:10:45] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:10:45] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:10:49] local.INFO: TCP Data received {"connection_id":151614,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe161e0e0012d196780071fee100035011a24..."} 
[2026-08-08 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe161e0e0012d196780071fee100035011a24..."} 
[2026-08-08 18:10:49] local.INFO: Processing buffer {"connection_id":151614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe161e0e0012d196780071fee100035011a24..."} 
[2026-08-08 18:10:49] local.INFO: Packet analysis {"connection_id":151614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:10:49] local.INFO: Extracted packet for processing {"connection_id":151614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe161"} 
[2026-08-08 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265329920001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786192716000,"timestamp_ms":1786192716000,"timestamp_seconds":1786192716,"priority":1,"record_length":96,"hex_timestamp":"0000019fe161e0e0"} 
[2026-08-08 18:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 18:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265329920001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265329920001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:10:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:10:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265329920001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":151614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:10:49] local.INFO: GPS data processed {"connection_id":151614,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:10:49] local.INFO: Acknowledgment sent {"connection_id":151614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:11:04] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:04] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:04] local.INFO: IMEI packet received {"connection_id":153096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":153096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:11:07] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:07] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:07] local.INFO: IMEI packet received {"connection_id":153096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":153096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:11:09] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:09] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:11:09] local.INFO: IMEI packet received {"connection_id":153096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":153096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:11:10] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1632ce8012ceb6ec007500cb0003e00ad28..."} 
[2026-08-08 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1632ce8012ceb6ec007500cb0003e00ad28..."} 
[2026-08-08 18:11:10] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1632ce8012ceb6ec007500cb0003e00ad28..."} 
[2026-08-08 18:11:10] local.INFO: Packet analysis {"connection_id":153096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:11:10] local.INFO: Extracted packet for processing {"connection_id":153096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":753626816,"raw_latitude":122686640,"longitude_deg":75.3626816,"latitude_deg":12.268664,"altitude":62,"angle":173,"satellites":40,"speed":15,"hex_longitude":"2ceb6ec0","hex_latitude":"07500cb0","is_valid_coordinates":true} 
[2026-08-08 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265351680001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375684246829793280,"note":"Value kept but may cause issues"} 
[2026-08-08 18:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482599039669633024,"note":"Value kept but may cause issues"} 
[2026-08-08 18:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192801000,"timestamp_ms":1786192801000,"timestamp_seconds":1786192801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1632ce8"} 
[2026-08-08 18:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265351680001,"66":27767,"50":206,"85":37376,"24":15,"16":375684246829793280,"44":-1482599039669633024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265351680001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375684246829793280,"km_value":375684246829793.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482599039669633024,"description":"Unknown IO ID 44"} 
[2026-08-08 18:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265351680001,"power":27767,"unknown_50":206,"unknown_85":37376,"ignition":15,"odometer":null,"unknown_44":-1482599039669633024}} 
[2026-08-08 18:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":153096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:11:10] local.INFO: GPS data processed {"connection_id":153096,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:11:10] local.INFO: Acknowledgment sent {"connection_id":153096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:11:33] local.INFO: TCP Data received {"connection_id":150661,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:11:33] local.INFO: Processing buffer {"connection_id":150661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:11:33] local.INFO: IMEI packet received {"connection_id":150661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":150661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:11:38] local.INFO: TCP Data received {"connection_id":150661,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:11:38] local.INFO: Processing buffer {"connection_id":150661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:11:38] local.INFO: IMEI packet received {"connection_id":150661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":150661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:11:39] local.INFO: TCP Data received {"connection_id":150661,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16232e8012d196780071fee100035011a28..."} 
[2026-08-08 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16232e8012d196780071fee100035011a28..."} 
[2026-08-08 18:11:39] local.INFO: Processing buffer {"connection_id":150661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16232e8012d196780071fee100035011a28..."} 
[2026-08-08 18:11:39] local.INFO: Packet analysis {"connection_id":150661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:11:39] local.INFO: Extracted packet for processing {"connection_id":150661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265335296001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786192737000,"timestamp_ms":1786192737000,"timestamp_seconds":1786192737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16232e8"} 
[2026-08-08 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-08-08 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265335296001,"66":12232,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265335296001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:11:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265335296001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":150661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:11:39] local.INFO: GPS data processed {"connection_id":150661,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:11:39] local.INFO: Acknowledgment sent {"connection_id":150661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:12:00] local.INFO: TCP Data received {"connection_id":153096,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1636f50012ceb70c0074fe8c0003e00b525..."} 
[2026-08-08 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1636f50012ceb70c0074fe8c0003e00b525..."} 
[2026-08-08 18:12:00] local.INFO: Processing buffer {"connection_id":153096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1636f50012ceb70c0074fe8c0003e00b525..."} 
[2026-08-08 18:12:00] local.INFO: Packet analysis {"connection_id":153096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:12:00] local.INFO: Extracted packet for processing {"connection_id":153096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":753627328,"raw_latitude":122677440,"longitude_deg":75.3627328,"latitude_deg":12.267744,"altitude":62,"angle":181,"satellites":37,"speed":29,"hex_longitude":"2ceb70c0","hex_latitude":"074fe8c0","is_valid_coordinates":true} 
[2026-08-08 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265357056001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375684697801359360,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482036089718001664,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1786192818000,"timestamp_ms":1786192818000,"timestamp_seconds":1786192818,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1636f50"} 
[2026-08-08 18:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 18:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":153096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":153096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":153096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265357056001,"66":27876,"50":206,"85":37376,"24":29,"16":375684697801359360,"44":-1482036089718001664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265357056001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:12:00] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375684697801359360,"km_value":375684697801359.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482036089718001664,"description":"Unknown IO ID 44"} 
[2026-08-08 18:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265357056001,"power":27876,"unknown_50":206,"unknown_85":37376,"ignition":29,"odometer":null,"unknown_44":-1482036089718001664}} 
[2026-08-08 18:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":153096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:12:00] local.INFO: GPS data processed {"connection_id":153096,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:12:00] local.INFO: Acknowledgment sent {"connection_id":153096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:12:04] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:12:04] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:12:04] local.INFO: IMEI packet received {"connection_id":151615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":151615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:12:10] local.INFO: TCP Data received {"connection_id":150661,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16284f0012d196780071fee100035011a28..."} 
[2026-08-08 18:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16284f0012d196780071fee100035011a28..."} 
[2026-08-08 18:12:10] local.INFO: Processing buffer {"connection_id":150661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16284f0012d196780071fee100035011a28..."} 
[2026-08-08 18:12:10] local.INFO: Packet analysis {"connection_id":150661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:12:10] local.INFO: Extracted packet for processing {"connection_id":150661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:12:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265340672001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192758000,"timestamp_ms":1786192758000,"timestamp_seconds":1786192758,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16284f0"} 
[2026-08-08 18:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:12: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-08-08 18:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 18:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265340672001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265340672001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:12:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265340672001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":150661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:12:10] local.INFO: GPS data processed {"connection_id":150661,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:12:10] local.INFO: Acknowledgment sent {"connection_id":150661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:12:11] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:12:11] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:12:11] local.INFO: IMEI packet received {"connection_id":151615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":151615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:12:12] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1639a48012ceb7300074fc418003b00ab26..."} 
[2026-08-08 18:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1639a48012ceb7300074fc418003b00ab26..."} 
[2026-08-08 18:12:12] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1639a48012ceb7300074fc418003b00ab26..."} 
[2026-08-08 18:12:12] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:12:12] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753627904,"raw_latitude":122668056,"longitude_deg":75.3627904,"latitude_deg":12.2668056,"altitude":59,"angle":171,"satellites":38,"speed":38,"hex_longitude":"2ceb7300","hex_latitude":"074fc418","is_valid_coordinates":true} 
[2026-08-08 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265361408001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375685153067892736,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481473139766935552,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786192829000,"timestamp_ms":1786192829000,"timestamp_seconds":1786192829,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1639a48"} 
[2026-08-08 18:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 18:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265361408001,"66":27745,"50":206,"85":37376,"24":38,"16":375685153067892736,"44":-1481473139766935552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265361408001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:12:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375685153067892736,"km_value":375685153067892.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481473139766935552,"description":"Unknown IO ID 44"} 
[2026-08-08 18:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265361408001,"power":27745,"unknown_50":206,"unknown_85":37376,"ignition":38,"odometer":null,"unknown_44":-1481473139766935552}} 
[2026-08-08 18:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:12:12] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:12:12] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:12:33] local.INFO: TCP Data received {"connection_id":150395,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:12:33] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:12:33] local.INFO: IMEI packet received {"connection_id":150395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":150395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:12:38] local.INFO: TCP Data received {"connection_id":150395,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:12:38] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:12:38] local.INFO: IMEI packet received {"connection_id":150395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":150395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:12:39] local.INFO: TCP Data received {"connection_id":150395,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe162d6f8012d196780071fee100035011a29..."} 
[2026-08-08 18:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe162d6f8012d196780071fee100035011a29..."} 
[2026-08-08 18:12:39] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe162d6f8012d196780071fee100035011a29..."} 
[2026-08-08 18:12:39] local.INFO: Packet analysis {"connection_id":150395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:12:39] local.INFO: Extracted packet for processing {"connection_id":150395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe162"} 
[2026-08-08 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265346048001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12: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-08-08 18:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786192779000,"timestamp_ms":1786192779000,"timestamp_seconds":1786192779,"priority":1,"record_length":96,"hex_timestamp":"0000019fe162d6f8"} 
[2026-08-08 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-08-08 18:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265346048001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265346048001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:12:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265346048001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":150395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:12:39] local.INFO: GPS data processed {"connection_id":150395,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:12:39] local.INFO: Acknowledgment sent {"connection_id":150395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:12:43] local.INFO: TCP Data received {"connection_id":151615,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe163c158012ceb79c0074f9e98003a00aa26..."} 
[2026-08-08 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe163c158012ceb79c0074f9e98003a00aa26..."} 
[2026-08-08 18:12:43] local.INFO: Processing buffer {"connection_id":151615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe163c158012ceb79c0074f9e98003a00aa26..."} 
[2026-08-08 18:12:43] local.INFO: Packet analysis {"connection_id":151615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:12:43] local.INFO: Extracted packet for processing {"connection_id":151615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:12:43] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":122658456,"longitude_deg":75.3629632,"latitude_deg":12.2658456,"altitude":58,"angle":170,"satellites":38,"speed":37,"hex_longitude":"2ceb79c0","hex_latitude":"074f9e98","is_valid_coordinates":true} 
[2026-08-08 18:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265364224001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375685625514295296,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480839821071738880,"note":"Value kept but may cause issues"} 
[2026-08-08 18:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786192839000,"timestamp_ms":1786192839000,"timestamp_seconds":1786192839,"priority":1,"record_length":96,"hex_timestamp":"0000019fe163c158"} 
[2026-08-08 18:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265364224001,"66":27876,"50":206,"85":37376,"24":37,"16":375685625514295296,"44":-1480839821071738880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-08-08 18:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265364224001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:12:43] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 18:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-08-08 18:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375685625514295296,"km_value":375685625514295.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480839821071738880,"description":"Unknown IO ID 44"} 
[2026-08-08 18:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265364224001,"power":27876,"unknown_50":206,"unknown_85":37376,"ignition":37,"odometer":null,"unknown_44":-1480839821071738880}} 
[2026-08-08 18:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":151615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:12:43] local.INFO: GPS data processed {"connection_id":151615,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:12:43] local.INFO: Acknowledgment sent {"connection_id":151615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:13:04] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:04] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:04] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:13:05] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:05] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:05] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:13:09] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:09] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:13:09] local.INFO: IMEI packet received {"connection_id":151616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":151616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:13:10] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16528b8012cebe5c0074e9e48003a009726..."} 
[2026-08-08 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16528b8012cebe5c0074e9e48003a009726..."} 
[2026-08-08 18:13:10] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16528b8012cebe5c0074e9e48003a009726..."} 
[2026-08-08 18:13:10] local.INFO: Packet analysis {"connection_id":151616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:13:10] local.INFO: Extracted packet for processing {"connection_id":151616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":753657280,"raw_latitude":122592840,"longitude_deg":75.365728,"latitude_deg":12.259284,"altitude":58,"angle":151,"satellites":38,"speed":37,"hex_longitude":"2cebe5c0","hex_latitude":"074e9e48","is_valid_coordinates":true} 
[2026-08-08 18:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265388032001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375689155977412608,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450581261092308992,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:10] 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-08-08 18:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786192931000,"timestamp_ms":1786192931000,"timestamp_seconds":1786192931,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16528b8"} 
[2026-08-08 18:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265388032001,"66":27908,"195":206,"83":43520,"24":37,"16":375689155977412608,"44":-1450581261092308992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-08 18:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265388032001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:13:10] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 18:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375689155977412608,"km_value":375689155977412.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450581261092308992,"description":"Unknown IO ID 44"} 
[2026-08-08 18:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265388032001,"power":27908,"unknown_195":206,"unknown_83":43520,"ignition":37,"odometer":null,"unknown_44":-1450581261092308992}} 
[2026-08-08 18:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":151616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:13:10] local.INFO: GPS data processed {"connection_id":151616,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:13:10] local.INFO: Acknowledgment sent {"connection_id":151616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:13:11] local.INFO: TCP Data received {"connection_id":150395,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1632900012d196780071fee100035011a28..."} 
[2026-08-08 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1632900012d196780071fee100035011a28..."} 
[2026-08-08 18:13:11] local.INFO: Processing buffer {"connection_id":150395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1632900012d196780071fee100035011a28..."} 
[2026-08-08 18:13:11] local.INFO: Packet analysis {"connection_id":150395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:13:11] local.INFO: Extracted packet for processing {"connection_id":150395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265351424001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192800000,"timestamp_ms":1786192800000,"timestamp_seconds":1786192800,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1632900"} 
[2026-08-08 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:13: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-08-08 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265351424001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265351424001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:13:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265351424001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":150395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:13:11] local.INFO: GPS data processed {"connection_id":150395,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:13:11] local.INFO: Acknowledgment sent {"connection_id":150395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:13:33] local.INFO: TCP Data received {"connection_id":150396,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:13:33] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:13:33] local.INFO: IMEI packet received {"connection_id":150396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":150396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:13:38] local.INFO: TCP Data received {"connection_id":150396,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:13:38] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:13:38] local.INFO: IMEI packet received {"connection_id":150396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":150396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:13:40] local.INFO: TCP Data received {"connection_id":150396,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1637b08012d196780071fee100035011a28..."} 
[2026-08-08 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1637b08012d196780071fee100035011a28..."} 
[2026-08-08 18:13:40] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1637b08012d196780071fee100035011a28..."} 
[2026-08-08 18:13:40] local.INFO: Packet analysis {"connection_id":150396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:13:40] local.INFO: Extracted packet for processing {"connection_id":150396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265356800001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13: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-08-08 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192821000,"timestamp_ms":1786192821000,"timestamp_seconds":1786192821,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1637b08"} 
[2026-08-08 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-08-08 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:13: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-08-08 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-08-08 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-08-08 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265356800001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265356800001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265356800001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":150396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:13:40] local.INFO: GPS data processed {"connection_id":150396,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:13:40] local.INFO: Acknowledgment sent {"connection_id":150396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:13:40] local.INFO: TCP Data received {"connection_id":151616,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16528b8012cebe5c0074e9e48003a009726..."} 
[2026-08-08 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16528b8012cebe5c0074e9e48003a009726..."} 
[2026-08-08 18:13:40] local.INFO: Processing buffer {"connection_id":151616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16528b8012cebe5c0074e9e48003a009726..."} 
[2026-08-08 18:13:40] local.INFO: Packet analysis {"connection_id":151616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:13:40] local.INFO: Extracted packet for processing {"connection_id":151616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":753657280,"raw_latitude":122592840,"longitude_deg":75.365728,"latitude_deg":12.259284,"altitude":58,"angle":151,"satellites":38,"speed":37,"hex_longitude":"2cebe5c0","hex_latitude":"074e9e48","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265390336001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375689155977412608,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1448540567513446400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:13: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-08-08 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192931000,"timestamp_ms":1786192931000,"timestamp_seconds":1786192931,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16528b8"} 
[2026-08-08 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-08-08 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:13: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-08-08 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-08-08 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-08-08 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265390336001,"66":27908,"195":206,"83":43520,"24":37,"16":375689155977412608,"44":-1448540567513446400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-08 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265390336001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375689155977412608,"km_value":375689155977412.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1448540567513446400,"description":"Unknown IO ID 44"} 
[2026-08-08 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265390336001,"power":27908,"unknown_195":206,"unknown_83":43520,"ignition":37,"odometer":null,"unknown_44":-1448540567513446400}} 
[2026-08-08 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":151616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:13:40] local.INFO: GPS data processed {"connection_id":151616,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:13:40] local.INFO: Acknowledgment sent {"connection_id":151616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:14:05] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:05] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:05] local.INFO: IMEI packet received {"connection_id":153097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":153097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:14:05] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:05] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:05] local.INFO: IMEI packet received {"connection_id":153097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":153097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:14:09] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:09] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:09] local.INFO: IMEI packet received {"connection_id":153097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":153097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:14:11] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:11] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:14:11] local.INFO: IMEI packet received {"connection_id":153097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":153097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:14:11] local.INFO: TCP Data received {"connection_id":150396,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe163cd10012d196780071fee100035011a27..."} 
[2026-08-08 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe163cd10012d196780071fee100035011a27..."} 
[2026-08-08 18:14:11] local.INFO: Processing buffer {"connection_id":150396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe163cd10012d196780071fee100035011a27..."} 
[2026-08-08 18:14:11] local.INFO: Packet analysis {"connection_id":150396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:14:11] local.INFO: Extracted packet for processing {"connection_id":150396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe163"} 
[2026-08-08 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265362176001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192842000,"timestamp_ms":1786192842000,"timestamp_seconds":1786192842,"priority":1,"record_length":96,"hex_timestamp":"0000019fe163cd10"} 
[2026-08-08 18:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:14: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-08-08 18:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265362176001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265362176001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:14:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265362176001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":150396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:14:11] local.INFO: GPS data processed {"connection_id":150396,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:14:11] local.INFO: Acknowledgment sent {"connection_id":150396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:14:12] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1665198012cec7dc0074e3de00043006125..."} 
[2026-08-08 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1665198012cec7dc0074e3de00043006125..."} 
[2026-08-08 18:14:12] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1665198012cec7dc0074e3de00043006125..."} 
[2026-08-08 18:14:12] local.INFO: Packet analysis {"connection_id":153097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:14:12] local.INFO: Extracted packet for processing {"connection_id":153097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:14:12] local.INFO: GPS Element Parsed {"raw_longitude":753696192,"raw_latitude":122568160,"longitude_deg":75.3696192,"latitude_deg":12.256816,"altitude":67,"angle":97,"satellites":37,"speed":35,"hex_longitude":"2cec7dc0","hex_latitude":"074e3de0","is_valid_coordinates":true} 
[2026-08-08 18:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265406720001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375691698598051840,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416452420174807040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:12] 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-08-08 18:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786193007000,"timestamp_ms":1786193007000,"timestamp_seconds":1786193007,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1665198"} 
[2026-08-08 18:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 18:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265406720001,"66":27908,"195":206,"83":43520,"24":35,"16":375691698598051840,"44":-1416452420174807040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-08 18:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265406720001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:14:12] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 18:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375691698598051840,"km_value":375691698598051.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416452420174807040,"description":"Unknown IO ID 44"} 
[2026-08-08 18:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265406720001,"power":27908,"unknown_195":206,"unknown_83":43520,"ignition":35,"odometer":null,"unknown_44":-1416452420174807040}} 
[2026-08-08 18:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":153097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:14:12] local.INFO: GPS data processed {"connection_id":153097,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:14:12] local.INFO: Acknowledgment sent {"connection_id":153097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:14:15] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1665198012cec7dc0074e3de00043006125..."} 
[2026-08-08 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1665198012cec7dc0074e3de00043006125..."} 
[2026-08-08 18:14:15] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1665198012cec7dc0074e3de00043006125..."} 
[2026-08-08 18:14:15] local.INFO: Packet analysis {"connection_id":153097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:14:15] local.INFO: Extracted packet for processing {"connection_id":153097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":753696192,"raw_latitude":122568160,"longitude_deg":75.3696192,"latitude_deg":12.256816,"altitude":67,"angle":97,"satellites":37,"speed":35,"hex_longitude":"2cec7dc0","hex_latitude":"074e3de0","is_valid_coordinates":true} 
[2026-08-08 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265409792001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375691698598051840,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1405756371059744768,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:15] 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-08-08 18:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786193007000,"timestamp_ms":1786193007000,"timestamp_seconds":1786193007,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1665198"} 
[2026-08-08 18:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265409792001,"66":27908,"195":206,"83":43520,"24":35,"16":375691698598051840,"44":-1405756371059744768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-08 18:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265409792001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375691698598051840,"km_value":375691698598051.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1405756371059744768,"description":"Unknown IO ID 44"} 
[2026-08-08 18:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265409792001,"power":27908,"unknown_195":206,"unknown_83":43520,"ignition":35,"odometer":null,"unknown_44":-1405756371059744768}} 
[2026-08-08 18:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":153097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:14:15] local.INFO: GPS data processed {"connection_id":153097,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:14:15] local.INFO: Acknowledgment sent {"connection_id":153097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:14:33] local.INFO: TCP Data received {"connection_id":150662,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:14:33] local.INFO: Processing buffer {"connection_id":150662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:14:33] local.INFO: IMEI packet received {"connection_id":150662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":150662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:14:38] local.INFO: TCP Data received {"connection_id":150662,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:14:38] local.INFO: Processing buffer {"connection_id":150662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:14:38] local.INFO: IMEI packet received {"connection_id":150662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":150662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:14:40] local.INFO: TCP Data received {"connection_id":150662,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1641f18012d196780071fee100035011a27..."} 
[2026-08-08 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1641f18012d196780071fee100035011a27..."} 
[2026-08-08 18:14:40] local.INFO: Processing buffer {"connection_id":150662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1641f18012d196780071fee100035011a27..."} 
[2026-08-08 18:14:40] local.INFO: Packet analysis {"connection_id":150662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe164"} 
[2026-08-08 18:14:40] local.INFO: Extracted packet for processing {"connection_id":150662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe164"} 
[2026-08-08 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265367552001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14: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-08-08 18:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192863000,"timestamp_ms":1786192863000,"timestamp_seconds":1786192863,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1641f18"} 
[2026-08-08 18:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:14: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-08-08 18: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-08-08 18:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265367552001,"66":12211,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265367552001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:14:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:14:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265367552001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":150662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:14:40] local.INFO: GPS data processed {"connection_id":150662,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:14:40] local.INFO: Acknowledgment sent {"connection_id":150662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:14:47] local.INFO: TCP Data received {"connection_id":153097,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1666908012cec9480074e38c80042006f25..."} 
[2026-08-08 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1666908012cec9480074e38c80042006f25..."} 
[2026-08-08 18:14:47] local.INFO: Processing buffer {"connection_id":153097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1666908012cec9480074e38c80042006f25..."} 
[2026-08-08 18:14:47] local.INFO: Packet analysis {"connection_id":153097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:14:47] local.INFO: Extracted packet for processing {"connection_id":153097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":753702016,"raw_latitude":122566856,"longitude_deg":75.3702016,"latitude_deg":12.2566856,"altitude":66,"angle":111,"satellites":37,"speed":40,"hex_longitude":"2cec9480","hex_latitude":"074e38c8","is_valid_coordinates":true} 
[2026-08-08 18:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265409792001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375691982065893376,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1405756371059744768,"note":"Value kept but may cause issues"} 
[2026-08-08 18:14:47] 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-08-08 18:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786193013000,"timestamp_ms":1786193013000,"timestamp_seconds":1786193013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1666908"} 
[2026-08-08 18:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265409792001,"66":27767,"195":206,"83":43520,"24":40,"16":375691982065893376,"44":-1405756371059744768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-08-08 18:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265409792001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:14:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 18:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375691982065893376,"km_value":375691982065893.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1405756371059744768,"description":"Unknown IO ID 44"} 
[2026-08-08 18:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265409792001,"power":27767,"unknown_195":206,"unknown_83":43520,"ignition":40,"odometer":null,"unknown_44":-1405756371059744768}} 
[2026-08-08 18:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":153097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:14:47] local.INFO: GPS data processed {"connection_id":153097,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:14:47] local.INFO: Acknowledgment sent {"connection_id":153097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:15:00] local.INFO: TCP Data received {"connection_id":150663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:00] local.INFO: Processing buffer {"connection_id":150663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:00] local.INFO: IMEI packet received {"connection_id":150663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":150663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:15:01] local.INFO: TCP Data received {"connection_id":150663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:01] local.INFO: Processing buffer {"connection_id":150663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:01] local.INFO: IMEI packet received {"connection_id":150663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":150663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:15:02] local.INFO: TCP Data received {"connection_id":150663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:02] local.INFO: Processing buffer {"connection_id":150663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:02] local.INFO: IMEI packet received {"connection_id":150663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":150663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:15:03] local.INFO: TCP Data received {"connection_id":150663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:03] local.INFO: Processing buffer {"connection_id":150663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:15:03] local.INFO: IMEI packet received {"connection_id":150663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":150663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:15:11] local.INFO: TCP Data received {"connection_id":150662,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1647120012d196780071fee100035011a28..."} 
[2026-08-08 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1647120012d196780071fee100035011a28..."} 
[2026-08-08 18:15:11] local.INFO: Processing buffer {"connection_id":150662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1647120012d196780071fee100035011a28..."} 
[2026-08-08 18:15:11] local.INFO: Packet analysis {"connection_id":150662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe164"} 
[2026-08-08 18:15:11] local.INFO: Extracted packet for processing {"connection_id":150662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe164"} 
[2026-08-08 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265372928001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192884000,"timestamp_ms":1786192884000,"timestamp_seconds":1786192884,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1647120"} 
[2026-08-08 18:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 18:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265372928001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265372928001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265372928001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":150662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:15:11] local.INFO: GPS data processed {"connection_id":150662,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:15:11] local.INFO: Acknowledgment sent {"connection_id":150662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:15:33] local.INFO: TCP Data received {"connection_id":150664,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:15:33] local.INFO: Processing buffer {"connection_id":150664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:15:33] local.INFO: IMEI packet received {"connection_id":150664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":150664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:15:38] local.INFO: TCP Data received {"connection_id":150664,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:15:38] local.INFO: Processing buffer {"connection_id":150664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:15:38] local.INFO: IMEI packet received {"connection_id":150664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":150664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:15:40] local.INFO: TCP Data received {"connection_id":150664,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe164c328012d196780071fee100035011a27..."} 
[2026-08-08 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe164c328012d196780071fee100035011a27..."} 
[2026-08-08 18:15:40] local.INFO: Processing buffer {"connection_id":150664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe164c328012d196780071fee100035011a27..."} 
[2026-08-08 18:15:40] local.INFO: Packet analysis {"connection_id":150664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe164"} 
[2026-08-08 18:15:40] local.INFO: Extracted packet for processing {"connection_id":150664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe164"} 
[2026-08-08 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265378304001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:15: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-08-08 18:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786192905000,"timestamp_ms":1786192905000,"timestamp_seconds":1786192905,"priority":1,"record_length":96,"hex_timestamp":"0000019fe164c328"} 
[2026-08-08 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-08-08 18:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:15: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-08-08 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-08-08 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-08-08 18:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265378304001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265378304001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:15:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265378304001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":150664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:15:40] local.INFO: GPS data processed {"connection_id":150664,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:15:40] local.INFO: Acknowledgment sent {"connection_id":150664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:16:11] local.INFO: TCP Data received {"connection_id":150664,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1651530012d196780071fee100035011a28..."} 
[2026-08-08 18:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1651530012d196780071fee100035011a28..."} 
[2026-08-08 18:16:11] local.INFO: Processing buffer {"connection_id":150664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1651530012d196780071fee100035011a28..."} 
[2026-08-08 18:16:11] local.INFO: Packet analysis {"connection_id":150664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:16:11] local.INFO: Extracted packet for processing {"connection_id":150664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265383680001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192926000,"timestamp_ms":1786192926000,"timestamp_seconds":1786192926,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1651530"} 
[2026-08-08 18:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:16: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-08-08 18:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265383680001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265383680001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:16:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265383680001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":150664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:16:12] local.INFO: GPS data processed {"connection_id":150664,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:16:12] local.INFO: Acknowledgment sent {"connection_id":150664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:16:33] local.INFO: TCP Data received {"connection_id":151617,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:33] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:33] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:16:35] local.INFO: TCP Data received {"connection_id":151617,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:35] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:35] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:16:38] local.INFO: TCP Data received {"connection_id":151617,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:38] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:16:38] local.INFO: IMEI packet received {"connection_id":151617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":151617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:16:39] local.INFO: TCP Data received {"connection_id":151617,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1656738012d196780071fee100035011a28..."} 
[2026-08-08 18:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1656738012d196780071fee100035011a28..."} 
[2026-08-08 18:16:39] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1656738012d196780071fee100035011a28..."} 
[2026-08-08 18:16:39] local.INFO: Packet analysis {"connection_id":151617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:16:39] local.INFO: Extracted packet for processing {"connection_id":151617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265389056001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786192947000,"timestamp_ms":1786192947000,"timestamp_seconds":1786192947,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1656738"} 
[2026-08-08 18:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265389056001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265389056001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265389056001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":151617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:16:39] local.INFO: GPS data processed {"connection_id":151617,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:16:39] local.INFO: Acknowledgment sent {"connection_id":151617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:17:11] local.INFO: TCP Data received {"connection_id":151617,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe165b940012d196780071fee100035011a27..."} 
[2026-08-08 18:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe165b940012d196780071fee100035011a27..."} 
[2026-08-08 18:17:11] local.INFO: Processing buffer {"connection_id":151617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe165b940012d196780071fee100035011a27..."} 
[2026-08-08 18:17:11] local.INFO: Packet analysis {"connection_id":151617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:17:11] local.INFO: Extracted packet for processing {"connection_id":151617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe165"} 
[2026-08-08 18:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265394432001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786192968000,"timestamp_ms":1786192968000,"timestamp_seconds":1786192968,"priority":1,"record_length":96,"hex_timestamp":"0000019fe165b940"} 
[2026-08-08 18:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:17: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-08-08 18: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-08-08 18:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265394432001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265394432001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:17:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265394432001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":151617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:17:11] local.INFO: GPS data processed {"connection_id":151617,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:17:11] local.INFO: Acknowledgment sent {"connection_id":151617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:17:39] local.INFO: TCP Data received {"connection_id":150667,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:39] local.INFO: Processing buffer {"connection_id":150667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:39] local.INFO: IMEI packet received {"connection_id":150667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":150667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:17:39] local.INFO: TCP Data received {"connection_id":150667,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:39] local.INFO: Processing buffer {"connection_id":150667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:39] local.INFO: IMEI packet received {"connection_id":150667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":150667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:17:43] local.INFO: TCP Data received {"connection_id":150667,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:43] local.INFO: Processing buffer {"connection_id":150667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:17:43] local.INFO: IMEI packet received {"connection_id":150667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":150667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:17:45] local.INFO: TCP Data received {"connection_id":150667,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1660b48012d196780071fee100035011a28..."} 
[2026-08-08 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1660b48012d196780071fee100035011a28..."} 
[2026-08-08 18:17:45] local.INFO: Processing buffer {"connection_id":150667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1660b48012d196780071fee100035011a28..."} 
[2026-08-08 18:17:45] local.INFO: Packet analysis {"connection_id":150667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:17:45] local.INFO: Extracted packet for processing {"connection_id":150667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265399808001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786192989000,"timestamp_ms":1786192989000,"timestamp_seconds":1786192989,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1660b48"} 
[2026-08-08 18:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265399808001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265399808001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:17:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265399808001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":150667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:17:45] local.INFO: GPS data processed {"connection_id":150667,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:17:45] local.INFO: Acknowledgment sent {"connection_id":150667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:17:49] local.INFO: TCP Data received {"connection_id":150667,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1665d50012d196780071fee100035011a27..."} 
[2026-08-08 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1665d50012d196780071fee100035011a27..."} 
[2026-08-08 18:17:49] local.INFO: Processing buffer {"connection_id":150667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1665d50012d196780071fee100035011a27..."} 
[2026-08-08 18:17:49] local.INFO: Packet analysis {"connection_id":150667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:17:49] local.INFO: Extracted packet for processing {"connection_id":150667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265405184001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786193010000,"timestamp_ms":1786193010000,"timestamp_seconds":1786193010,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1665d50"} 
[2026-08-08 18:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265405184001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265405184001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:17:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265405184001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":150667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:17:49] local.INFO: GPS data processed {"connection_id":150667,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:17:49] local.INFO: Acknowledgment sent {"connection_id":150667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:18:33] local.INFO: TCP Data received {"connection_id":153098,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:18:33] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:18:33] local.INFO: IMEI packet received {"connection_id":153098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":153098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:18:38] local.INFO: TCP Data received {"connection_id":153098,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:18:38] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:18:38] local.INFO: IMEI packet received {"connection_id":153098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":153098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:18:40] local.INFO: TCP Data received {"connection_id":153098,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe166af58012d196780071fee100035011a29..."} 
[2026-08-08 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe166af58012d196780071fee100035011a29..."} 
[2026-08-08 18:18:40] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe166af58012d196780071fee100035011a29..."} 
[2026-08-08 18:18:40] local.INFO: Packet analysis {"connection_id":153098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:18:40] local.INFO: Extracted packet for processing {"connection_id":153098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe166"} 
[2026-08-08 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265410560001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:18: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-08-08 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193031000,"timestamp_ms":1786193031000,"timestamp_seconds":1786193031,"priority":1,"record_length":96,"hex_timestamp":"0000019fe166af58"} 
[2026-08-08 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-08-08 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 18:18: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-08-08 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-08-08 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-08-08 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265410560001,"66":12461,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265410560001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:18:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265410560001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":153098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:18:40] local.INFO: GPS data processed {"connection_id":153098,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:18:40] local.INFO: Acknowledgment sent {"connection_id":153098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:19:11] local.INFO: TCP Data received {"connection_id":153098,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16a35b0012d196780071fee100035011a25..."} 
[2026-08-08 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16a35b0012d196780071fee100035011a25..."} 
[2026-08-08 18:19:11] local.INFO: Processing buffer {"connection_id":153098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16a35b0012d196780071fee100035011a25..."} 
[2026-08-08 18:19:11] local.INFO: Packet analysis {"connection_id":153098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16a"} 
[2026-08-08 18:19:11] local.INFO: Extracted packet for processing {"connection_id":153098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16a"} 
[2026-08-08 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265469696001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786193262000,"timestamp_ms":1786193262000,"timestamp_seconds":1786193262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16a35b0"} 
[2026-08-08 18:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:19: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-08-08 18:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265469696001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265469696001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:19:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265469696001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":153098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:19:11] local.INFO: GPS data processed {"connection_id":153098,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:19:11] local.INFO: Acknowledgment sent {"connection_id":153098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:19:34] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:19:34] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:19:34] local.INFO: IMEI packet received {"connection_id":150398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":150398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:19:38] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:19:38] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:19:38] local.INFO: IMEI packet received {"connection_id":150398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":150398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:19:40] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16a87b8012d196780071fee100035011a26..."} 
[2026-08-08 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16a87b8012d196780071fee100035011a26..."} 
[2026-08-08 18:19:40] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16a87b8012d196780071fee100035011a26..."} 
[2026-08-08 18:19:40] local.INFO: Packet analysis {"connection_id":150398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16a"} 
[2026-08-08 18:19:40] local.INFO: Extracted packet for processing {"connection_id":150398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16a"} 
[2026-08-08 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265475072001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:19: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-08-08 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193283000,"timestamp_ms":1786193283000,"timestamp_seconds":1786193283,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16a87b8"} 
[2026-08-08 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-08-08 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:19: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-08-08 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-08-08 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-08-08 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265475072001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265475072001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:19:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265475072001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":150398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:19:40] local.INFO: GPS data processed {"connection_id":150398,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:19:40] local.INFO: Acknowledgment sent {"connection_id":150398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:20:04] local.INFO: TCP Data received {"connection_id":150669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:20:04] local.INFO: Processing buffer {"connection_id":150669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:20:04] local.INFO: IMEI packet received {"connection_id":150669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":150669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:20:12] local.INFO: TCP Data received {"connection_id":150398,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16ad9c0012d196780071fee100035011a28..."} 
[2026-08-08 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16ad9c0012d196780071fee100035011a28..."} 
[2026-08-08 18:20:12] local.INFO: Processing buffer {"connection_id":150398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16ad9c0012d196780071fee100035011a28..."} 
[2026-08-08 18:20:12] local.INFO: Packet analysis {"connection_id":150398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16a"} 
[2026-08-08 18:20:12] local.INFO: Extracted packet for processing {"connection_id":150398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16a"} 
[2026-08-08 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265480448001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786193304000,"timestamp_ms":1786193304000,"timestamp_seconds":1786193304,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16ad9c0"} 
[2026-08-08 18:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265480448001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265480448001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:20:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265480448001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":150398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:20:12] local.INFO: GPS data processed {"connection_id":150398,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:20:12] local.INFO: Acknowledgment sent {"connection_id":150398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:20:12] local.INFO: TCP Data received {"connection_id":150669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:20:12] local.INFO: Processing buffer {"connection_id":150669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:20:12] local.INFO: IMEI packet received {"connection_id":150669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":150669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:20:13] local.INFO: TCP Data received {"connection_id":150669,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16b4338012cee4200074bc668006b009d23..."} 
[2026-08-08 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16b4338012cee4200074bc668006b009d23..."} 
[2026-08-08 18:20:13] local.INFO: Processing buffer {"connection_id":150669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16b4338012cee4200074bc668006b009d23..."} 
[2026-08-08 18:20:13] local.INFO: Packet analysis {"connection_id":150669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:20:13] local.INFO: Extracted packet for processing {"connection_id":150669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753811968,"raw_latitude":122406504,"longitude_deg":75.3811968,"latitude_deg":12.2406504,"altitude":107,"angle":157,"satellites":35,"speed":43,"hex_longitude":"2cee4200","hex_latitude":"074bc668","is_valid_coordinates":true} 
[2026-08-08 18:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265490944001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375703114621124608,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1280148162741934080,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786193331000,"timestamp_ms":1786193331000,"timestamp_seconds":1786193331,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16b4338"} 
[2026-08-08 18:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-08 18:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265490944001,"66":27908,"194":206,"83":43520,"24":43,"16":375703114621124608,"44":-1280148162741934080},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-08 18:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265490944001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:20:13] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 18:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375703114621124608,"km_value":375703114621124.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1280148162741934080,"description":"Unknown IO ID 44"} 
[2026-08-08 18:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265490944001,"power":27908,"unknown_194":206,"unknown_83":43520,"ignition":43,"odometer":null,"unknown_44":-1280148162741934080}} 
[2026-08-08 18:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":150669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:20:13] local.INFO: GPS data processed {"connection_id":150669,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:20:13] local.INFO: Acknowledgment sent {"connection_id":150669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:20:33] local.INFO: TCP Data received {"connection_id":150670,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:20:33] local.INFO: Processing buffer {"connection_id":150670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:20:33] local.INFO: IMEI packet received {"connection_id":150670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":150670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:20:38] local.INFO: TCP Data received {"connection_id":150670,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:20:38] local.INFO: Processing buffer {"connection_id":150670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:20:38] local.INFO: IMEI packet received {"connection_id":150670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":150670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:20:39] local.INFO: TCP Data received {"connection_id":150670,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16b2bc8012d196780071fee100035011a27..."} 
[2026-08-08 18:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16b2bc8012d196780071fee100035011a27..."} 
[2026-08-08 18:20:39] local.INFO: Processing buffer {"connection_id":150670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16b2bc8012d196780071fee100035011a27..."} 
[2026-08-08 18:20:39] local.INFO: Packet analysis {"connection_id":150670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:20:39] local.INFO: Extracted packet for processing {"connection_id":150670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265485824001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193325000,"timestamp_ms":1786193325000,"timestamp_seconds":1786193325,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16b2bc8"} 
[2026-08-08 18:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265485824001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265485824001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:20:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265485824001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":150670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:20:39] local.INFO: GPS data processed {"connection_id":150670,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:20:39] local.INFO: Acknowledgment sent {"connection_id":150670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:20:44] local.INFO: TCP Data received {"connection_id":150669,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16b52d8012cee49c0074bba80006e00911d..."} 
[2026-08-08 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16b52d8012cee49c0074bba80006e00911d..."} 
[2026-08-08 18:20:44] local.INFO: Processing buffer {"connection_id":150669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16b52d8012cee49c0074bba80006e00911d..."} 
[2026-08-08 18:20:44] local.INFO: Packet analysis {"connection_id":150669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:20:44] local.INFO: Extracted packet for processing {"connection_id":150669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:20:44] local.INFO: GPS Element Parsed {"raw_longitude":753813952,"raw_latitude":122403456,"longitude_deg":75.3813952,"latitude_deg":12.2403456,"altitude":110,"angle":145,"satellites":29,"speed":29,"hex_longitude":"2cee49c0","hex_latitude":"074bba80","is_valid_coordinates":true} 
[2026-08-08 18:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265492736001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375703290714783744,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1278459312883734528,"note":"Value kept but may cause issues"} 
[2026-08-08 18:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786193335000,"timestamp_ms":1786193335000,"timestamp_seconds":1786193335,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16b52d8"} 
[2026-08-08 18:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265492736001,"66":27713,"194":206,"83":43520,"24":29,"16":375703290714783744,"44":-1278459312883734528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-08 18:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265492736001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:20:44] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 18:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375703290714783744,"km_value":375703290714783.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1278459312883734528,"description":"Unknown IO ID 44"} 
[2026-08-08 18:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265492736001,"power":27713,"unknown_194":206,"unknown_83":43520,"ignition":29,"odometer":null,"unknown_44":-1278459312883734528}} 
[2026-08-08 18:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":150669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:20:44] local.INFO: GPS data processed {"connection_id":150669,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:20:44] local.INFO: Acknowledgment sent {"connection_id":150669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:21:03] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:03] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:03] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:21:04] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:04] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:04] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:21:06] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:06] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:06] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:21:07] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:07] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:21:07] local.INFO: IMEI packet received {"connection_id":151618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":151618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:21:08] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16b9d10012cee5a00074ba0a80079008522..."} 
[2026-08-08 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16b9d10012cee5a00074ba0a80079008522..."} 
[2026-08-08 18:21:08] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16b9d10012cee5a00074ba0a80079008522..."} 
[2026-08-08 18:21:08] local.INFO: Packet analysis {"connection_id":151618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:21:08] local.INFO: Extracted packet for processing {"connection_id":151618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":753818112,"raw_latitude":122396840,"longitude_deg":75.3818112,"latitude_deg":12.239684,"altitude":121,"angle":133,"satellites":34,"speed":13,"hex_longitude":"2cee5a00","hex_latitude":"074ba0a8","is_valid_coordinates":true} 
[2026-08-08 18:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265493760001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375703668671905792,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1276277881815007232,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786193354000,"timestamp_ms":1786193354000,"timestamp_seconds":1786193354,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16b9d10"} 
[2026-08-08 18:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 18:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265493760001,"66":27821,"194":206,"83":43520,"24":13,"16":375703668671905792,"44":-1276277881815007232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-08 18:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265493760001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375703668671905792,"km_value":375703668671905.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1276277881815007232,"description":"Unknown IO ID 44"} 
[2026-08-08 18:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265493760001,"power":27821,"unknown_194":206,"unknown_83":43520,"ignition":13,"odometer":null,"unknown_44":-1276277881815007232}} 
[2026-08-08 18:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":151618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:21:08] local.INFO: GPS data processed {"connection_id":151618,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:21:08] local.INFO: Acknowledgment sent {"connection_id":151618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:21:10] local.INFO: TCP Data received {"connection_id":150670,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16b7dd0012d196780071fee100035011a25..."} 
[2026-08-08 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16b7dd0012d196780071fee100035011a25..."} 
[2026-08-08 18:21:10] local.INFO: Processing buffer {"connection_id":150670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16b7dd0012d196780071fee100035011a25..."} 
[2026-08-08 18:21:10] local.INFO: Packet analysis {"connection_id":150670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:21:10] local.INFO: Extracted packet for processing {"connection_id":150670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265491200001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193346000,"timestamp_ms":1786193346000,"timestamp_seconds":1786193346,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16b7dd0"} 
[2026-08-08 18:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:21: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-08-08 18:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265491200001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265491200001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:21:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:21:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265491200001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":150670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:21:11] local.INFO: GPS data processed {"connection_id":150670,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:21:11] local.INFO: Acknowledgment sent {"connection_id":150670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:21:33] local.INFO: TCP Data received {"connection_id":150671,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:21:33] local.INFO: Processing buffer {"connection_id":150671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:21:33] local.INFO: IMEI packet received {"connection_id":150671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":150671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:21:38] local.INFO: TCP Data received {"connection_id":150671,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:21:38] local.INFO: Processing buffer {"connection_id":150671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:21:38] local.INFO: IMEI packet received {"connection_id":150671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":150671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:21:39] local.INFO: TCP Data received {"connection_id":150671,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16bcfd8012d196780071fee100035011a28..."} 
[2026-08-08 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16bcfd8012d196780071fee100035011a28..."} 
[2026-08-08 18:21:39] local.INFO: Processing buffer {"connection_id":150671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16bcfd8012d196780071fee100035011a28..."} 
[2026-08-08 18:21:39] local.INFO: Packet analysis {"connection_id":150671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:21:39] local.INFO: Extracted packet for processing {"connection_id":150671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16b"} 
[2026-08-08 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265496576001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21: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-08-08 18:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193367000,"timestamp_ms":1786193367000,"timestamp_seconds":1786193367,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16bcfd8"} 
[2026-08-08 18:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265496576001,"66":12439,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265496576001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265496576001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:21:39] local.INFO: TCP Data received {"connection_id":151618,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16d1be0012ceed400074b3418009f005425..."} 
[2026-08-08 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16d1be0012ceed400074b3418009f005425..."} 
[2026-08-08 18:21:39] local.INFO: Processing buffer {"connection_id":151618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16d1be0012ceed400074b3418009f005425..."} 
[2026-08-08 18:21:39] local.INFO: Packet analysis {"connection_id":151618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:21:39] local.INFO: Extracted packet for processing {"connection_id":151618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":753849344,"raw_latitude":122369048,"longitude_deg":75.3849344,"latitude_deg":12.2369048,"altitude":159,"angle":84,"satellites":37,"speed":44,"hex_longitude":"2ceed400","hex_latitude":"074b3418","is_valid_coordinates":true} 
[2026-08-08 18:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265521664001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375706018019016704,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1246652640524806144,"note":"Value kept but may cause issues"} 
[2026-08-08 18:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193452000,"timestamp_ms":1786193452000,"timestamp_seconds":1786193452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16d1be0"} 
[2026-08-08 18:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 18:21: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-08-08 18:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265521664001,"66":27843,"47":206,"83":43520,"24":44,"16":375706018019016704,"44":-1246652640524806144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-08-08 18:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265521664001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375706018019016704,"km_value":375706018019016.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:21:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1246652640524806144,"description":"Unknown IO ID 44"} 
[2026-08-08 18:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265521664001,"power":27843,"unknown_47":206,"unknown_83":43520,"ignition":44,"odometer":null,"unknown_44":-1246652640524806144}} 
[2026-08-08 18:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":151618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:21:39] local.INFO: GPS data processed {"connection_id":151618,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:21:39] local.INFO: Acknowledgment sent {"connection_id":151618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":150671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:21:39] local.INFO: GPS data processed {"connection_id":150671,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:21:39] local.INFO: Acknowledgment sent {"connection_id":150671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:22:10] local.INFO: TCP Data received {"connection_id":150671,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16c21e0012d196780071fee100035011a26..."} 
[2026-08-08 18:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16c21e0012d196780071fee100035011a26..."} 
[2026-08-08 18:22:10] local.INFO: Processing buffer {"connection_id":150671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16c21e0012d196780071fee100035011a26..."} 
[2026-08-08 18:22:10] local.INFO: Packet analysis {"connection_id":150671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16c"} 
[2026-08-08 18:22:10] local.INFO: Extracted packet for processing {"connection_id":150671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16c"} 
[2026-08-08 18:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265501952001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193388000,"timestamp_ms":1786193388000,"timestamp_seconds":1786193388,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16c21e0"} 
[2026-08-08 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-08-08 18:22: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-08-08 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 18:22: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-08-08 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-08-08 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-08-08 18:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265501952001,"66":12439,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265501952001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:22:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265501952001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":150671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:22:10] local.INFO: GPS data processed {"connection_id":150671,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:22:10] local.INFO: Acknowledgment sent {"connection_id":150671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:22:12] local.INFO: TCP Data received {"connection_id":150399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:22:12] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:22:12] local.INFO: IMEI packet received {"connection_id":150399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":150399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:22:13] local.INFO: TCP Data received {"connection_id":150399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:22:13] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:22:13] local.INFO: IMEI packet received {"connection_id":150399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":150399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:22:14] local.INFO: TCP Data received {"connection_id":150399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16d23b0012ceedc40074b35e8009e004925..."} 
[2026-08-08 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16d23b0012ceedc40074b35e8009e004925..."} 
[2026-08-08 18:22:14] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16d23b0012ceedc40074b35e8009e004925..."} 
[2026-08-08 18:22:14] local.INFO: Packet analysis {"connection_id":150399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:22:14] local.INFO: Extracted packet for processing {"connection_id":150399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":753851456,"raw_latitude":122369512,"longitude_deg":75.3851456,"latitude_deg":12.2369512,"altitude":158,"angle":73,"satellites":37,"speed":42,"hex_longitude":"2ceedc40","hex_latitude":"074b35e8","is_valid_coordinates":true} 
[2026-08-08 18:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265523712001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375706121098231808,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1237363966293567488,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786193454000,"timestamp_ms":1786193454000,"timestamp_seconds":1786193454,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16d23b0"} 
[2026-08-08 18:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 18:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265523712001,"66":27800,"47":206,"83":43520,"24":42,"16":375706121098231808,"44":-1237363966293567488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265523712001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375706121098231808,"km_value":375706121098231.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1237363966293567488,"description":"Unknown IO ID 44"} 
[2026-08-08 18:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265523712001,"power":27800,"unknown_47":206,"unknown_83":43520,"ignition":42,"odometer":null,"unknown_44":-1237363966293567488}} 
[2026-08-08 18:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":150399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:22:14] local.INFO: GPS data processed {"connection_id":150399,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:22:14] local.INFO: Acknowledgment sent {"connection_id":150399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:22:14] local.INFO: TCP Data received {"connection_id":150399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16d3738012ceeef80074b39e800a1005425..."} 
[2026-08-08 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16d3738012ceeef80074b39e800a1005425..."} 
[2026-08-08 18:22:14] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16d3738012ceeef80074b39e800a1005425..."} 
[2026-08-08 18:22:14] local.INFO: Packet analysis {"connection_id":150399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:22:14] local.INFO: Extracted packet for processing {"connection_id":150399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":753856384,"raw_latitude":122370536,"longitude_deg":75.3856384,"latitude_deg":12.2370536,"altitude":161,"angle":84,"satellites":37,"speed":34,"hex_longitude":"2ceeef80","hex_latitude":"074b39e8","is_valid_coordinates":true} 
[2026-08-08 18:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265524224001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375706361616400384,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1235041797735585792,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786193459000,"timestamp_ms":1786193459000,"timestamp_seconds":1786193459,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16d3738"} 
[2026-08-08 18:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 18:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265524224001,"66":27919,"47":206,"83":43520,"24":34,"16":375706361616400384,"44":-1235041797735585792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-08-08 18:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265524224001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375706361616400384,"km_value":375706361616400.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1235041797735585792,"description":"Unknown IO ID 44"} 
[2026-08-08 18:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265524224001,"power":27919,"unknown_47":206,"unknown_83":43520,"ignition":34,"odometer":null,"unknown_44":-1235041797735585792}} 
[2026-08-08 18:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":150399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:22:14] local.INFO: GPS data processed {"connection_id":150399,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:22:14] local.INFO: Acknowledgment sent {"connection_id":150399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:22:33] local.INFO: TCP Data received {"connection_id":153099,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:22:33] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:22:33] local.INFO: IMEI packet received {"connection_id":153099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":153099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:22:38] local.INFO: TCP Data received {"connection_id":153099,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:22:38] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:22:38] local.INFO: IMEI packet received {"connection_id":153099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":153099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:22:40] local.INFO: TCP Data received {"connection_id":153099,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16c73e8012d196780071fee100035011a27..."} 
[2026-08-08 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16c73e8012d196780071fee100035011a27..."} 
[2026-08-08 18:22:40] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16c73e8012d196780071fee100035011a27..."} 
[2026-08-08 18:22:40] local.INFO: Packet analysis {"connection_id":153099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16c"} 
[2026-08-08 18:22:40] local.INFO: Extracted packet for processing {"connection_id":153099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16c"} 
[2026-08-08 18:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265507328001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193409000,"timestamp_ms":1786193409000,"timestamp_seconds":1786193409,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16c73e8"} 
[2026-08-08 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-08-08 18:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-08 18:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265507328001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265507328001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:22:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:22:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265507328001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":153099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:22:40] local.INFO: GPS data processed {"connection_id":153099,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:22:40] local.INFO: Acknowledgment sent {"connection_id":153099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:22:45] local.INFO: TCP Data received {"connection_id":150399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16d4ea8012ceeffc0074b395000a7006026..."} 
[2026-08-08 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16d4ea8012ceeffc0074b395000a7006026..."} 
[2026-08-08 18:22:45] local.INFO: Processing buffer {"connection_id":150399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16d4ea8012ceeffc0074b395000a7006026..."} 
[2026-08-08 18:22:45] local.INFO: Packet analysis {"connection_id":150399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:22:45] local.INFO: Extracted packet for processing {"connection_id":150399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":753860544,"raw_latitude":122370384,"longitude_deg":75.3860544,"latitude_deg":12.2370384,"altitude":167,"angle":96,"satellites":38,"speed":19,"hex_longitude":"2ceeffc0","hex_latitude":"074b3950","is_valid_coordinates":true} 
[2026-08-08 18:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265525504001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375706559184896000,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1229623404433643520,"note":"Value kept but may cause issues"} 
[2026-08-08 18:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786193465000,"timestamp_ms":1786193465000,"timestamp_seconds":1786193465,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16d4ea8"} 
[2026-08-08 18:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265525504001,"66":27767,"47":206,"83":43520,"24":19,"16":375706559184896000,"44":-1229623404433643520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-08-08 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265525504001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:22:45] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-08 18:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375706559184896000,"km_value":375706559184896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1229623404433643520,"description":"Unknown IO ID 44"} 
[2026-08-08 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265525504001,"power":27767,"unknown_47":206,"unknown_83":43520,"ignition":19,"odometer":null,"unknown_44":-1229623404433643520}} 
[2026-08-08 18:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":150399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:22:45] local.INFO: GPS data processed {"connection_id":150399,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:22:45] local.INFO: Acknowledgment sent {"connection_id":150399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:23:04] local.INFO: TCP Data received {"connection_id":150672,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:04] local.INFO: Processing buffer {"connection_id":150672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:04] local.INFO: IMEI packet received {"connection_id":150672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":150672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:23:07] local.INFO: TCP Data received {"connection_id":150672,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:07] local.INFO: Processing buffer {"connection_id":150672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:07] local.INFO: IMEI packet received {"connection_id":150672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":150672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:23:08] local.INFO: TCP Data received {"connection_id":150672,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:08] local.INFO: Processing buffer {"connection_id":150672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:08] local.INFO: IMEI packet received {"connection_id":150672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":150672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:23:09] local.INFO: TCP Data received {"connection_id":150672,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:09] local.INFO: Processing buffer {"connection_id":150672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:23:09] local.INFO: IMEI packet received {"connection_id":150672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":150672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:23:10] local.INFO: TCP Data received {"connection_id":150672,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16e6fb8012cefc3c0074a9860006a005f25..."} 
[2026-08-08 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16e6fb8012cefc3c0074a9860006a005f25..."} 
[2026-08-08 18:23:10] local.INFO: Processing buffer {"connection_id":150672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16e6fb8012cefc3c0074a9860006a005f25..."} 
[2026-08-08 18:23:10] local.INFO: Packet analysis {"connection_id":150672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:23:10] local.INFO: Extracted packet for processing {"connection_id":150672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:23:10] local.INFO: GPS Element Parsed {"raw_longitude":753910720,"raw_latitude":122329184,"longitude_deg":75.391072,"latitude_deg":12.2329184,"altitude":106,"angle":95,"satellites":37,"speed":39,"hex_longitude":"2cefc3c0","hex_latitude":"074a9860","is_valid_coordinates":true} 
[2026-08-08 18:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265545472001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375709780410368000,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1172061771706800128,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193539000,"timestamp_ms":1786193539000,"timestamp_seconds":1786193539,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16e6fb8"} 
[2026-08-08 18:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265545472001,"66":27876,"49":206,"83":43520,"24":39,"16":375709780410368000,"44":-1172061771706800128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 18:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265545472001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:23:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 18:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375709780410368000,"km_value":375709780410368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1172061771706800128,"description":"Unknown IO ID 44"} 
[2026-08-08 18:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265545472001,"power":27876,"unknown_49":206,"unknown_83":43520,"ignition":39,"odometer":null,"unknown_44":-1172061771706800128}} 
[2026-08-08 18:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":150672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:23:10] local.INFO: GPS data processed {"connection_id":150672,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:23:10] local.INFO: Acknowledgment sent {"connection_id":150672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:23:11] local.INFO: TCP Data received {"connection_id":153099,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16cc5f0012d196780071fee100035011a27..."} 
[2026-08-08 18:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16cc5f0012d196780071fee100035011a27..."} 
[2026-08-08 18:23:11] local.INFO: Processing buffer {"connection_id":153099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16cc5f0012d196780071fee100035011a27..."} 
[2026-08-08 18:23:11] local.INFO: Packet analysis {"connection_id":153099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16c"} 
[2026-08-08 18:23:11] local.INFO: Extracted packet for processing {"connection_id":153099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16c"} 
[2026-08-08 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265512704001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786193430000,"timestamp_ms":1786193430000,"timestamp_seconds":1786193430,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16cc5f0"} 
[2026-08-08 18:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265512704001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265512704001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:23:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265512704001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":153099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:23:12] local.INFO: GPS data processed {"connection_id":153099,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:23:12] local.INFO: Acknowledgment sent {"connection_id":153099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:23:33] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:33] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:33] local.INFO: IMEI packet received {"connection_id":150400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":150400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:23:36] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:36] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:36] local.INFO: IMEI packet received {"connection_id":150400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:23:38] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:38] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:23:38] local.INFO: IMEI packet received {"connection_id":150400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":150400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:23:39] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16d17f8012d196780071fee100035011a28..."} 
[2026-08-08 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16d17f8012d196780071fee100035011a28..."} 
[2026-08-08 18:23:39] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16d17f8012d196780071fee100035011a28..."} 
[2026-08-08 18:23:39] local.INFO: Packet analysis {"connection_id":150400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:23:39] local.INFO: Extracted packet for processing {"connection_id":150400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265518080001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193451000,"timestamp_ms":1786193451000,"timestamp_seconds":1786193451,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16d17f8"} 
[2026-08-08 18:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265518080001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265518080001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:23:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265518080001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":150400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:23:39] local.INFO: GPS data processed {"connection_id":150400,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:23:39] local.INFO: Acknowledgment sent {"connection_id":150400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:23:41] local.INFO: TCP Data received {"connection_id":150672,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16e92e0012cefe740074a96380066006722..."} 
[2026-08-08 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16e92e0012cefe740074a96380066006722..."} 
[2026-08-08 18:23:41] local.INFO: Processing buffer {"connection_id":150672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16e92e0012cefe740074a96380066006722..."} 
[2026-08-08 18:23:41] local.INFO: Packet analysis {"connection_id":150672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:23:41] local.INFO: Extracted packet for processing {"connection_id":150672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753919808,"raw_latitude":122328632,"longitude_deg":75.3919808,"latitude_deg":12.2328632,"altitude":102,"angle":103,"satellites":34,"speed":36,"hex_longitude":"2cefe740","hex_latitude":"074a9638","is_valid_coordinates":true} 
[2026-08-08 18:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265545984001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375710209907097600,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1169880340637392896,"note":"Value kept but may cause issues"} 
[2026-08-08 18:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786193548000,"timestamp_ms":1786193548000,"timestamp_seconds":1786193548,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16e92e0"} 
[2026-08-08 18:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 18:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265545984001,"66":27908,"49":206,"83":43520,"24":36,"16":375710209907097600,"44":-1169880340637392896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 18:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265545984001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:23:41] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 18:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375710209907097600,"km_value":375710209907097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1169880340637392896,"description":"Unknown IO ID 44"} 
[2026-08-08 18:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265545984001,"power":27908,"unknown_49":206,"unknown_83":43520,"ignition":36,"odometer":null,"unknown_44":-1169880340637392896}} 
[2026-08-08 18:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":150672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:23:41] local.INFO: GPS data processed {"connection_id":150672,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:23:41] local.INFO: Acknowledgment sent {"connection_id":150672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:24:06] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:06] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:06] local.INFO: IMEI packet received {"connection_id":150673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":150673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:24:07] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:07] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:07] local.INFO: IMEI packet received {"connection_id":150673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":150673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:24:09] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:10] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:10] local.INFO: IMEI packet received {"connection_id":150673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":150673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:24:10] local.INFO: TCP Data received {"connection_id":150400,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16d6a00012d196780071fee100035011a28..."} 
[2026-08-08 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16d6a00012d196780071fee100035011a28..."} 
[2026-08-08 18:24:10] local.INFO: Processing buffer {"connection_id":150400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16d6a00012d196780071fee100035011a28..."} 
[2026-08-08 18:24:10] local.INFO: Packet analysis {"connection_id":150400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:24:10] local.INFO: Extracted packet for processing {"connection_id":150400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265523456001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193472000,"timestamp_ms":1786193472000,"timestamp_seconds":1786193472,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16d6a00"} 
[2026-08-08 18:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265523456001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265523456001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:24:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265523456001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":150400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:24:10] local.INFO: GPS data processed {"connection_id":150400,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:24:10] local.INFO: Acknowledgment sent {"connection_id":150400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:24:14] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:14] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:24:14] local.INFO: IMEI packet received {"connection_id":150673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":150673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:24:15] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16e9ab0012cefee00074a93b00066007624..."} 
[2026-08-08 18:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16e9ab0012cefee00074a93b00066007624..."} 
[2026-08-08 18:24:15] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16e9ab0012cefee00074a93b00066007624..."} 
[2026-08-08 18:24:15] local.INFO: Packet analysis {"connection_id":150673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:24:15] local.INFO: Extracted packet for processing {"connection_id":150673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:24:15] local.INFO: GPS Element Parsed {"raw_longitude":753921536,"raw_latitude":122327984,"longitude_deg":75.3921536,"latitude_deg":12.2327984,"altitude":102,"angle":118,"satellites":36,"speed":35,"hex_longitude":"2cefee00","hex_latitude":"074a93b0","is_valid_coordinates":true} 
[2026-08-08 18:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265548288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375710295806443520,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1159887978964305920,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786193550000,"timestamp_ms":1786193550000,"timestamp_seconds":1786193550,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16e9ab0"} 
[2026-08-08 18:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265548288001,"66":27767,"143":206,"83":43520,"24":35,"16":375710295806443520,"44":-1159887978964305920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-08-08 18:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265548288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:24:15] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-08 18:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375710295806443520,"km_value":375710295806443.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1159887978964305920,"description":"Unknown IO ID 44"} 
[2026-08-08 18:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265548288001,"power":27767,"unknown_143":206,"unknown_83":43520,"ignition":35,"odometer":null,"unknown_44":-1159887978964305920}} 
[2026-08-08 18:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":150673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:24:15] local.INFO: GPS data processed {"connection_id":150673,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:24:15] local.INFO: Acknowledgment sent {"connection_id":150673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:24:16] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16ea280012ceff380074a8fa80065008726..."} 
[2026-08-08 18:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16ea280012ceff380074a8fa80065008726..."} 
[2026-08-08 18:24:16] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16ea280012ceff380074a8fa80065008726..."} 
[2026-08-08 18:24:16] local.INFO: Packet analysis {"connection_id":150673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:24:16] local.INFO: Extracted packet for processing {"connection_id":150673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":753922944,"raw_latitude":122326952,"longitude_deg":75.3922944,"latitude_deg":12.2326952,"altitude":101,"angle":135,"satellites":38,"speed":34,"hex_longitude":"2ceff380","hex_latitude":"074a8fa8","is_valid_coordinates":true} 
[2026-08-08 18:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265548800001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375710381705789440,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1157988022871674880,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786193552000,"timestamp_ms":1786193552000,"timestamp_seconds":1786193552,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16ea280"} 
[2026-08-08 18:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 18:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265548800001,"66":27517,"143":206,"83":43520,"24":34,"16":375710381705789440,"44":-1157988022871674880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-08-08 18:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265548800001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:24:16] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-08 18:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375710381705789440,"km_value":375710381705789.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1157988022871674880,"description":"Unknown IO ID 44"} 
[2026-08-08 18:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265548800001,"power":27517,"unknown_143":206,"unknown_83":43520,"ignition":34,"odometer":null,"unknown_44":-1157988022871674880}} 
[2026-08-08 18:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":150673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:24:16] local.INFO: GPS data processed {"connection_id":150673,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:24:16] local.INFO: Acknowledgment sent {"connection_id":150673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:24:39] local.INFO: TCP Data received {"connection_id":150674,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:39] local.INFO: Processing buffer {"connection_id":150674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:39] local.INFO: IMEI packet received {"connection_id":150674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":150674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:24:40] local.INFO: TCP Data received {"connection_id":150674,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:40] local.INFO: Processing buffer {"connection_id":150674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:40] local.INFO: IMEI packet received {"connection_id":150674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":150674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:24:43] local.INFO: TCP Data received {"connection_id":150674,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:43] local.INFO: Processing buffer {"connection_id":150674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:24:43] local.INFO: IMEI packet received {"connection_id":150674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":150674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:24:45] local.INFO: TCP Data received {"connection_id":150674,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16dbc08012d196780071fee100035011a24..."} 
[2026-08-08 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16dbc08012d196780071fee100035011a24..."} 
[2026-08-08 18:24:45] local.INFO: Processing buffer {"connection_id":150674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16dbc08012d196780071fee100035011a24..."} 
[2026-08-08 18:24:45] local.INFO: Packet analysis {"connection_id":150674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:24:45] local.INFO: Extracted packet for processing {"connection_id":150674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16d"} 
[2026-08-08 18:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265528832001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786193493000,"timestamp_ms":1786193493000,"timestamp_seconds":1786193493,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16dbc08"} 
[2026-08-08 18:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265528832001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265528832001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:24:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265528832001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":150674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:24:45] local.INFO: GPS data processed {"connection_id":150674,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:24:45] local.INFO: Acknowledgment sent {"connection_id":150674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:24:47] local.INFO: TCP Data received {"connection_id":150673,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16fdb00012cf07e8007496c68005500a126..."} 
[2026-08-08 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16fdb00012cf07e8007496c68005500a126..."} 
[2026-08-08 18:24:47] local.INFO: Processing buffer {"connection_id":150673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16fdb00012cf07e8007496c68005500a126..."} 
[2026-08-08 18:24:47] local.INFO: Packet analysis {"connection_id":150673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:24:47] local.INFO: Extracted packet for processing {"connection_id":150673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":753958528,"raw_latitude":122252392,"longitude_deg":75.3958528,"latitude_deg":12.2252392,"altitude":85,"angle":161,"satellites":38,"speed":40,"hex_longitude":"2cf07e80","hex_latitude":"07496c68","is_valid_coordinates":true} 
[2026-08-08 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265567744001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375714431859949568,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1121185169683988480,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786193632000,"timestamp_ms":1786193632000,"timestamp_seconds":1786193632,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16fdb00"} 
[2026-08-08 18:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265567744001,"66":27865,"49":206,"83":43520,"24":40,"16":375714431859949568,"44":-1121185169683988480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 18:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265567744001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:24:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 18:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375714431859949568,"km_value":375714431859949.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1121185169683988480,"description":"Unknown IO ID 44"} 
[2026-08-08 18:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265567744001,"power":27865,"unknown_49":206,"unknown_83":43520,"ignition":40,"odometer":null,"unknown_44":-1121185169683988480}} 
[2026-08-08 18:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":150673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:24:47] local.INFO: GPS data processed {"connection_id":150673,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:24:47] local.INFO: Acknowledgment sent {"connection_id":150673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:24:49] local.INFO: TCP Data received {"connection_id":150674,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16e0e10012d196780071fee100035011a25..."} 
[2026-08-08 18:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16e0e10012d196780071fee100035011a25..."} 
[2026-08-08 18:24:49] local.INFO: Processing buffer {"connection_id":150674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16e0e10012d196780071fee100035011a25..."} 
[2026-08-08 18:24:49] local.INFO: Packet analysis {"connection_id":150674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:24:49] local.INFO: Extracted packet for processing {"connection_id":150674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265534208001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786193514000,"timestamp_ms":1786193514000,"timestamp_seconds":1786193514,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16e0e10"} 
[2026-08-08 18:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265534208001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265534208001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:24:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:24:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265534208001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":150674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:24:49] local.INFO: GPS data processed {"connection_id":150674,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:24:49] local.INFO: Acknowledgment sent {"connection_id":150674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:25:04] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:25:04] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:25:04] local.INFO: IMEI packet received {"connection_id":153100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":153100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:25:07] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:25:07] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:25:07] local.INFO: IMEI packet received {"connection_id":153100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":153100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:25:08] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16ff270012cf086c0074959080059009528..."} 
[2026-08-08 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16ff270012cf086c0074959080059009528..."} 
[2026-08-08 18:25:08] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16ff270012cf086c0074959080059009528..."} 
[2026-08-08 18:25:08] local.INFO: Packet analysis {"connection_id":153100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:25:08] local.INFO: Extracted packet for processing {"connection_id":153100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":753960640,"raw_latitude":122247432,"longitude_deg":75.396064,"latitude_deg":12.2247432,"altitude":89,"angle":149,"satellites":40,"speed":30,"hex_longitude":"2cf086c0","hex_latitude":"07495908","is_valid_coordinates":true} 
[2026-08-08 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265569792001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375714693852954624,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1117314888756336640,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786193638000,"timestamp_ms":1786193638000,"timestamp_seconds":1786193638,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16ff270"} 
[2026-08-08 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265569792001,"66":27930,"49":206,"83":43520,"24":30,"16":375714693852954624,"44":-1117314888756336640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265569792001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375714693852954624,"km_value":375714693852954.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:25:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1117314888756336640,"description":"Unknown IO ID 44"} 
[2026-08-08 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265569792001,"power":27930,"unknown_49":206,"unknown_83":43520,"ignition":30,"odometer":null,"unknown_44":-1117314888756336640}} 
[2026-08-08 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":153100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:25:08] local.INFO: GPS data processed {"connection_id":153100,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:25:08] local.INFO: Acknowledgment sent {"connection_id":153100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:25:09] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1700210012cf08e4007494ff8005b008927..."} 
[2026-08-08 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1700210012cf08e4007494ff8005b008927..."} 
[2026-08-08 18:25:09] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1700210012cf08e4007494ff8005b008927..."} 
[2026-08-08 18:25:09] local.INFO: Packet analysis {"connection_id":153100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:25:09] local.INFO: Extracted packet for processing {"connection_id":153100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":753962560,"raw_latitude":122245112,"longitude_deg":75.396256,"latitude_deg":12.2245112,"altitude":91,"angle":137,"satellites":39,"speed":30,"hex_longitude":"2cf08e40","hex_latitude":"07494ff8","is_valid_coordinates":true} 
[2026-08-08 18:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265571328001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375714839881842688,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1114992720199743488,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786193642000,"timestamp_ms":1786193642000,"timestamp_seconds":1786193642,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1700210"} 
[2026-08-08 18:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 18:25: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-08-08 18:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265571328001,"66":27908,"49":206,"83":43520,"24":30,"16":375714839881842688,"44":-1114992720199743488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 18:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265571328001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:25:09] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 18:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375714839881842688,"km_value":375714839881842.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1114992720199743488,"description":"Unknown IO ID 44"} 
[2026-08-08 18:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265571328001,"power":27908,"unknown_49":206,"unknown_83":43520,"ignition":30,"odometer":null,"unknown_44":-1114992720199743488}} 
[2026-08-08 18:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":153100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:25:09] local.INFO: GPS data processed {"connection_id":153100,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:25:09] local.INFO: Acknowledgment sent {"connection_id":153100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:25:33] local.INFO: TCP Data received {"connection_id":150675,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:25:33] local.INFO: Processing buffer {"connection_id":150675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:25:33] local.INFO: IMEI packet received {"connection_id":150675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":150675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:25:38] local.INFO: TCP Data received {"connection_id":150675,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:25:38] local.INFO: Processing buffer {"connection_id":150675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:25:38] local.INFO: IMEI packet received {"connection_id":150675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":150675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:25:40] local.INFO: TCP Data received {"connection_id":153100,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1701d68012cf09c80074942f0005f007d27..."} 
[2026-08-08 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1701d68012cf09c80074942f0005f007d27..."} 
[2026-08-08 18:25:40] local.INFO: Processing buffer {"connection_id":153100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1701d68012cf09c80074942f0005f007d27..."} 
[2026-08-08 18:25:40] local.INFO: Packet analysis {"connection_id":153100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:25:40] local.INFO: Extracted packet for processing {"connection_id":153100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":753966208,"raw_latitude":122241776,"longitude_deg":75.3966208,"latitude_deg":12.2241776,"altitude":95,"angle":125,"satellites":39,"speed":27,"hex_longitude":"2cf09c80","hex_latitude":"074942f0","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265572352001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375715076105043968,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1112881657875007488,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193649000,"timestamp_ms":1786193649000,"timestamp_seconds":1786193649,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1701d68"} 
[2026-08-08 18:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:25: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-08-08 18: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-08-08 18:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265572352001,"66":27865,"49":206,"83":43520,"24":27,"16":375715076105043968,"44":-1112881657875007488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265572352001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375715076105043968,"km_value":375715076105043.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1112881657875007488,"description":"Unknown IO ID 44"} 
[2026-08-08 18:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265572352001,"power":27865,"unknown_49":206,"unknown_83":43520,"ignition":27,"odometer":null,"unknown_44":-1112881657875007488}} 
[2026-08-08 18:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":153100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:25:40] local.INFO: GPS data processed {"connection_id":153100,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:25:40] local.INFO: Acknowledgment sent {"connection_id":153100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:25:40] local.INFO: TCP Data received {"connection_id":150675,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16e6018012d196780071fee100035011a24..."} 
[2026-08-08 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16e6018012d196780071fee100035011a24..."} 
[2026-08-08 18:25:40] local.INFO: Processing buffer {"connection_id":150675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16e6018012d196780071fee100035011a24..."} 
[2026-08-08 18:25:40] local.INFO: Packet analysis {"connection_id":150675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:25:40] local.INFO: Extracted packet for processing {"connection_id":150675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265539584001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:25: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-08-08 18:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193535000,"timestamp_ms":1786193535000,"timestamp_seconds":1786193535,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16e6018"} 
[2026-08-08 18:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265539584001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265539584001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265539584001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":150675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:25:41] local.INFO: GPS data processed {"connection_id":150675,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:25:41] local.INFO: Acknowledgment sent {"connection_id":150675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:26:04] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:04] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:04] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:26:05] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:05] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:05] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:26:11] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:11] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:26:11] local.INFO: IMEI packet received {"connection_id":151619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":151619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:26:12] local.INFO: TCP Data received {"connection_id":150675,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16eb220012d196780071fee100035011a26..."} 
[2026-08-08 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16eb220012d196780071fee100035011a26..."} 
[2026-08-08 18:26:12] local.INFO: Processing buffer {"connection_id":150675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16eb220012d196780071fee100035011a26..."} 
[2026-08-08 18:26:12] local.INFO: Packet analysis {"connection_id":150675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:26:12] local.INFO: Extracted packet for processing {"connection_id":150675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16e"} 
[2026-08-08 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265544960001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786193556000,"timestamp_ms":1786193556000,"timestamp_seconds":1786193556,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16eb220"} 
[2026-08-08 18:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265544960001,"66":12298,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265544960001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265544960001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:26:12] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1704860012cf0bb0007492ff80060008428..."} 
[2026-08-08 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1704860012cf0bb0007492ff80060008428..."} 
[2026-08-08 18:26:12] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1704860012cf0bb0007492ff80060008428..."} 
[2026-08-08 18:26:12] local.INFO: Packet analysis {"connection_id":151619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:26:12] local.INFO: Extracted packet for processing {"connection_id":151619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753974016,"raw_latitude":122236920,"longitude_deg":75.3974016,"latitude_deg":12.223692,"altitude":96,"angle":132,"satellites":40,"speed":40,"hex_longitude":"2cf0bb00","hex_latitude":"07492ff8","is_valid_coordinates":true} 
[2026-08-08 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265574144001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375715518486675456,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1108870639457734656,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786193660000,"timestamp_ms":1786193660000,"timestamp_seconds":1786193660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1704860"} 
[2026-08-08 18:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265574144001,"66":27876,"5":206,"83":43520,"24":40,"16":375715518486675456,"44":-1108870639457734656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,44]} 
[2026-08-08 18:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265574144001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375715518486675456,"km_value":375715518486675.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1108870639457734656,"description":"Unknown IO ID 44"} 
[2026-08-08 18:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265574144001,"power":27876,"unknown_5":206,"unknown_83":43520,"ignition":40,"odometer":null,"unknown_44":-1108870639457734656}} 
[2026-08-08 18:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":151619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:26:12] local.INFO: GPS data processed {"connection_id":151619,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:26:12] local.INFO: Acknowledgment sent {"connection_id":151619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":150675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:26:12] local.INFO: GPS data processed {"connection_id":150675,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:26:12] local.INFO: Acknowledgment sent {"connection_id":150675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:26:33] local.INFO: TCP Data received {"connection_id":150401,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:26:33] local.INFO: Processing buffer {"connection_id":150401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:26:33] local.INFO: IMEI packet received {"connection_id":150401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":150401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:26:38] local.INFO: TCP Data received {"connection_id":150401,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:26:38] local.INFO: Processing buffer {"connection_id":150401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:26:38] local.INFO: IMEI packet received {"connection_id":150401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":150401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:26:39] local.INFO: TCP Data received {"connection_id":150401,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16f0428012d196780071fee100035011a27..."} 
[2026-08-08 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16f0428012d196780071fee100035011a27..."} 
[2026-08-08 18:26:39] local.INFO: Processing buffer {"connection_id":150401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16f0428012d196780071fee100035011a27..."} 
[2026-08-08 18:26:39] local.INFO: Packet analysis {"connection_id":150401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:26:39] local.INFO: Extracted packet for processing {"connection_id":150401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265550336001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193577000,"timestamp_ms":1786193577000,"timestamp_seconds":1786193577,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16f0428"} 
[2026-08-08 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-08-08 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2203258677401675417,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390635033887002,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":79418824385888256,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979445424160974,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862951,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,77,159,96,45,128,238,53,36,10,66,14,37,188,1,240,140,225,31,4,113,205,23,103,40,239,48,2,41,7,39],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 18:26:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362709497970688,"timestamp_seconds":3819362709497970.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 18:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265550336001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265550336001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:26:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265550336001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":150401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:26:39] local.INFO: GPS data processed {"connection_id":150401,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:26:39] local.INFO: Acknowledgment sent {"connection_id":150401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:26:43] local.INFO: TCP Data received {"connection_id":151619,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1719080012cf1b000074821180043006f28..."} 
[2026-08-08 18:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1719080012cf1b000074821180043006f28..."} 
[2026-08-08 18:26:43] local.INFO: Processing buffer {"connection_id":151619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1719080012cf1b000074821180043006f28..."} 
[2026-08-08 18:26:43] local.INFO: Packet analysis {"connection_id":151619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:26:43] local.INFO: Extracted packet for processing {"connection_id":151619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:26:43] local.INFO: GPS Element Parsed {"raw_longitude":754036736,"raw_latitude":122167576,"longitude_deg":75.4036736,"latitude_deg":12.2167576,"altitude":67,"angle":111,"satellites":40,"speed":46,"hex_longitude":"2cf1b000","hex_latitude":"07482118","is_valid_coordinates":true} 
[2026-08-08 18:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265596416001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375720096921812992,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1040824063856154624,"note":"Value kept but may cause issues"} 
[2026-08-08 18:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786193744000,"timestamp_ms":1786193744000,"timestamp_seconds":1786193744,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1719080"} 
[2026-08-08 18:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 18:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265596416001,"66":27876,"5":206,"83":43520,"24":46,"16":375720096921812992,"44":-1040824063856154624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,44]} 
[2026-08-08 18:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265596416001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375720096921812992,"km_value":375720096921813.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:26:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1040824063856154624,"description":"Unknown IO ID 44"} 
[2026-08-08 18:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265596416001,"power":27876,"unknown_5":206,"unknown_83":43520,"ignition":46,"odometer":null,"unknown_44":-1040824063856154624}} 
[2026-08-08 18:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":151619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:26:43] local.INFO: GPS data processed {"connection_id":151619,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:26:43] local.INFO: Acknowledgment sent {"connection_id":151619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:27:04] local.INFO: TCP Data received {"connection_id":150402,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:27:04] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:27:04] local.INFO: IMEI packet received {"connection_id":150402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":150402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:27:09] local.INFO: TCP Data received {"connection_id":150402,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:27:09] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:27:09] local.INFO: IMEI packet received {"connection_id":150402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":150402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:27:10] local.INFO: TCP Data received {"connection_id":150402,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe171afc0012cf1d340074814300047007127..."} 
[2026-08-08 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe171afc0012cf1d340074814300047007127..."} 
[2026-08-08 18:27:10] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe171afc0012cf1d340074814300047007127..."} 
[2026-08-08 18:27:10] local.INFO: Packet analysis {"connection_id":150402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:27:10] local.INFO: Extracted packet for processing {"connection_id":150402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":754045760,"raw_latitude":122164272,"longitude_deg":75.404576,"latitude_deg":12.2164272,"altitude":71,"angle":113,"satellites":39,"speed":45,"hex_longitude":"2cf1d340","hex_latitude":"07481430","is_valid_coordinates":true} 
[2026-08-08 18:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265598464001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375720552188346368,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1031324283392944128,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193752000,"timestamp_ms":1786193752000,"timestamp_seconds":1786193752,"priority":1,"record_length":96,"hex_timestamp":"0000019fe171afc0"} 
[2026-08-08 18:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 18:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265598464001,"66":27832,"5":206,"83":43520,"24":45,"16":375720552188346368,"44":-1031324283392944128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,44]} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265598464001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375720552188346368,"km_value":375720552188346.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1031324283392944128,"description":"Unknown IO ID 44"} 
[2026-08-08 18:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265598464001,"power":27832,"unknown_5":206,"unknown_83":43520,"ignition":45,"odometer":null,"unknown_44":-1031324283392944128}} 
[2026-08-08 18:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":150402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:27:10] local.INFO: GPS data processed {"connection_id":150402,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:27:10] local.INFO: Acknowledgment sent {"connection_id":150402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:27:10] local.INFO: TCP Data received {"connection_id":150401,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16f5630012d196780071fee100035011a25..."} 
[2026-08-08 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16f5630012d196780071fee100035011a25..."} 
[2026-08-08 18:27:10] local.INFO: Processing buffer {"connection_id":150401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16f5630012d196780071fee100035011a25..."} 
[2026-08-08 18:27:10] local.INFO: Packet analysis {"connection_id":150401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:27:10] local.INFO: Extracted packet for processing {"connection_id":150401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265555712001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193598000,"timestamp_ms":1786193598000,"timestamp_seconds":1786193598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16f5630"} 
[2026-08-08 18:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:27: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-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:27: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-08-08 18:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265555712001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265555712001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265555712001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":150401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:27:10] local.INFO: GPS data processed {"connection_id":150401,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:27:10] local.INFO: Acknowledgment sent {"connection_id":150401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:27:33] local.INFO: TCP Data received {"connection_id":151620,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:27:33] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:27:33] local.INFO: IMEI packet received {"connection_id":151620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":151620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:27:38] local.INFO: TCP Data received {"connection_id":151620,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:27:38] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:27:38] local.INFO: IMEI packet received {"connection_id":151620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":151620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:27:40] local.INFO: TCP Data received {"connection_id":151620,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16fa838012d196780071fee100035011a29..."} 
[2026-08-08 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16fa838012d196780071fee100035011a29..."} 
[2026-08-08 18:27:40] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16fa838012d196780071fee100035011a29..."} 
[2026-08-08 18:27:40] local.INFO: Packet analysis {"connection_id":151620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:27:40] local.INFO: Extracted packet for processing {"connection_id":151620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265561088001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27: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-08-08 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193619000,"timestamp_ms":1786193619000,"timestamp_seconds":1786193619,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16fa838"} 
[2026-08-08 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-08-08 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265561088001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265561088001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:27:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:27:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265561088001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":151620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:27:40] local.INFO: GPS data processed {"connection_id":151620,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:27:40] local.INFO: Acknowledgment sent {"connection_id":151620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:27:41] local.INFO: TCP Data received {"connection_id":150402,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe171dab8012cf1f640074808500054006728..."} 
[2026-08-08 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe171dab8012cf1f640074808500054006728..."} 
[2026-08-08 18:27:41] local.INFO: Processing buffer {"connection_id":150402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe171dab8012cf1f640074808500054006728..."} 
[2026-08-08 18:27:41] local.INFO: Packet analysis {"connection_id":150402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:27:41] local.INFO: Extracted packet for processing {"connection_id":150402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":754054720,"raw_latitude":122161232,"longitude_deg":75.405472,"latitude_deg":12.2161232,"altitude":84,"angle":103,"satellites":40,"speed":21,"hex_longitude":"2cf1f640","hex_latitude":"07480850","is_valid_coordinates":true} 
[2026-08-08 18:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265600512001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375721003159912448,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1021402290464739328,"note":"Value kept but may cause issues"} 
[2026-08-08 18:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786193763000,"timestamp_ms":1786193763000,"timestamp_seconds":1786193763,"priority":1,"record_length":96,"hex_timestamp":"0000019fe171dab8"} 
[2026-08-08 18:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 18:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265600512001,"66":27876,"5":206,"83":43520,"24":21,"16":375721003159912448,"44":-1021402290464739328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,44]} 
[2026-08-08 18:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265600512001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:27:41] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-08 18:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375721003159912448,"km_value":375721003159912.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1021402290464739328,"description":"Unknown IO ID 44"} 
[2026-08-08 18:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265600512001,"power":27876,"unknown_5":206,"unknown_83":43520,"ignition":21,"odometer":null,"unknown_44":-1021402290464739328}} 
[2026-08-08 18:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":150402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:27:41] local.INFO: GPS data processed {"connection_id":150402,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:27:41] local.INFO: Acknowledgment sent {"connection_id":150402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:28:04] local.INFO: TCP Data received {"connection_id":150676,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:28:04] local.INFO: Processing buffer {"connection_id":150676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:28:04] local.INFO: IMEI packet received {"connection_id":150676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":150676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:28:09] local.INFO: TCP Data received {"connection_id":150676,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:28:09] local.INFO: Processing buffer {"connection_id":150676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:28:09] local.INFO: IMEI packet received {"connection_id":150676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":150676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:28:10] local.INFO: TCP Data received {"connection_id":150676,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe172f3f8012cf292c00747a850006a008e26..."} 
[2026-08-08 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe172f3f8012cf292c00747a850006a008e26..."} 
[2026-08-08 18:28:10] local.INFO: Processing buffer {"connection_id":150676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe172f3f8012cf292c00747a850006a008e26..."} 
[2026-08-08 18:28:10] local.INFO: Packet analysis {"connection_id":150676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe172"} 
[2026-08-08 18:28:10] local.INFO: Extracted packet for processing {"connection_id":150676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe172"} 
[2026-08-08 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":754094784,"raw_latitude":122136656,"longitude_deg":75.4094784,"latitude_deg":12.2136656,"altitude":106,"angle":142,"satellites":38,"speed":33,"hex_longitude":"2cf292c0","hex_latitude":"0747a850","is_valid_coordinates":true} 
[2026-08-08 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265621248001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375723635974864896,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-968414626105655296,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786193835000,"timestamp_ms":1786193835000,"timestamp_seconds":1786193835,"priority":1,"record_length":96,"hex_timestamp":"0000019fe172f3f8"} 
[2026-08-08 18:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 18:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265621248001,"66":27745,"5":206,"83":43520,"24":33,"16":375723635974864896,"44":-968414626105655296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,44]} 
[2026-08-08 18:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265621248001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:28:10] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-08 18:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375723635974864896,"km_value":375723635974864.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-968414626105655296,"description":"Unknown IO ID 44"} 
[2026-08-08 18:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265621248001,"power":27745,"unknown_5":206,"unknown_83":43520,"ignition":33,"odometer":null,"unknown_44":-968414626105655296}} 
[2026-08-08 18:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":150676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:28:10] local.INFO: GPS data processed {"connection_id":150676,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:28:10] local.INFO: Acknowledgment sent {"connection_id":150676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:28:11] local.INFO: TCP Data received {"connection_id":151620,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe16ffa40012d196780071fee100035011a29..."} 
[2026-08-08 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe16ffa40012d196780071fee100035011a29..."} 
[2026-08-08 18:28:11] local.INFO: Processing buffer {"connection_id":151620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe16ffa40012d196780071fee100035011a29..."} 
[2026-08-08 18:28:11] local.INFO: Packet analysis {"connection_id":151620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:28:11] local.INFO: Extracted packet for processing {"connection_id":151620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe16f"} 
[2026-08-08 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265566464001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786193640000,"timestamp_ms":1786193640000,"timestamp_seconds":1786193640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe16ffa40"} 
[2026-08-08 18:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265566464001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265566464001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265566464001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":151620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:28:11] local.INFO: GPS data processed {"connection_id":151620,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:28:11] local.INFO: Acknowledgment sent {"connection_id":151620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:28:33] local.INFO: TCP Data received {"connection_id":151621,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:28:33] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:28:33] local.INFO: IMEI packet received {"connection_id":151621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":151621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:28:38] local.INFO: TCP Data received {"connection_id":151621,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:28:38] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:28:38] local.INFO: IMEI packet received {"connection_id":151621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":151621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:28:40] local.INFO: TCP Data received {"connection_id":151621,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1704c48012d196780071fee100035011a26..."} 
[2026-08-08 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1704c48012d196780071fee100035011a26..."} 
[2026-08-08 18:28:40] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1704c48012d196780071fee100035011a26..."} 
[2026-08-08 18:28:40] local.INFO: Packet analysis {"connection_id":151621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:28:40] local.INFO: Extracted packet for processing {"connection_id":151621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265571840001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28: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-08-08 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786193661000,"timestamp_ms":1786193661000,"timestamp_seconds":1786193661,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1704c48"} 
[2026-08-08 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-08-08 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265571840001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265571840001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:28:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:28:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265571840001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":151621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:28:40] local.INFO: GPS data processed {"connection_id":151621,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:28:40] local.INFO: Acknowledgment sent {"connection_id":151621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:28:41] local.INFO: TCP Data received {"connection_id":150676,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe172ffb0012cf29a800747a0c0006b008226..."} 
[2026-08-08 18:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe172ffb0012cf29a800747a0c0006b008226..."} 
[2026-08-08 18:28:41] local.INFO: Processing buffer {"connection_id":150676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe172ffb0012cf29a800747a0c0006b008226..."} 
[2026-08-08 18:28:41] local.INFO: Packet analysis {"connection_id":150676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe172"} 
[2026-08-08 18:28:41] local.INFO: Extracted packet for processing {"connection_id":150676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe172"} 
[2026-08-08 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":754096768,"raw_latitude":122134720,"longitude_deg":75.4096768,"latitude_deg":12.213472,"altitude":107,"angle":130,"satellites":38,"speed":37,"hex_longitude":"2cf29a80","hex_latitude":"0747a0c0","is_valid_coordinates":true} 
[2026-08-08 18:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265621760001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375723769118851072,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-967499832431718400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786193838000,"timestamp_ms":1786193838000,"timestamp_seconds":1786193838,"priority":1,"record_length":96,"hex_timestamp":"0000019fe172ffb0"} 
[2026-08-08 18:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:28: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-08-08 18:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265621760001,"66":27713,"3":206,"83":43520,"24":37,"16":375723769118851072,"44":-967499832431718400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-08 18:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265621760001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:28:41] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-08 18:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375723769118851072,"km_value":375723769118851.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-967499832431718400,"description":"Unknown IO ID 44"} 
[2026-08-08 18:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265621760001,"power":27713,"unknown_3":206,"unknown_83":43520,"ignition":37,"odometer":null,"unknown_44":-967499832431718400}} 
[2026-08-08 18:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":150676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:28:41] local.INFO: GPS data processed {"connection_id":150676,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:28:41] local.INFO: Acknowledgment sent {"connection_id":150676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:29:04] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:04] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:04] local.INFO: IMEI packet received {"connection_id":153101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":153101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:29:05] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:05] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:05] local.INFO: IMEI packet received {"connection_id":153101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":153101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:29:05] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:05] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:05] local.INFO: IMEI packet received {"connection_id":153101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":153101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:29:06] local.INFO: TCP Data received {"connection_id":153101,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:06] local.INFO: Processing buffer {"connection_id":153101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:29:06] local.INFO: IMEI packet received {"connection_id":153101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":153101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:29:11] local.INFO: TCP Data received {"connection_id":151621,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1709e50012d196780071fee100035011a25..."} 
[2026-08-08 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1709e50012d196780071fee100035011a25..."} 
[2026-08-08 18:29:11] local.INFO: Processing buffer {"connection_id":151621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1709e50012d196780071fee100035011a25..."} 
[2026-08-08 18:29:11] local.INFO: Packet analysis {"connection_id":151621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:29:11] local.INFO: Extracted packet for processing {"connection_id":151621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265577216001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786193682000,"timestamp_ms":1786193682000,"timestamp_seconds":1786193682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1709e50"} 
[2026-08-08 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265577216001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265577216001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:29:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265577216001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":151621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:29:11] local.INFO: GPS data processed {"connection_id":151621,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:29:11] local.INFO: Acknowledgment sent {"connection_id":151621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:29:32] local.INFO: TCP Data received {"connection_id":150677,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:32] local.INFO: Processing buffer {"connection_id":150677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:32] local.INFO: IMEI packet received {"connection_id":150677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":150677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:29:33] local.INFO: TCP Data received {"connection_id":150677,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:33] local.INFO: Processing buffer {"connection_id":150677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:33] local.INFO: IMEI packet received {"connection_id":150677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":150677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:29:38] local.INFO: TCP Data received {"connection_id":150677,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:38] local.INFO: Processing buffer {"connection_id":150677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:29:38] local.INFO: IMEI packet received {"connection_id":150677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":150677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:29:39] local.INFO: TCP Data received {"connection_id":150677,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe170f058012d196780071fee100035011a28..."} 
[2026-08-08 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe170f058012d196780071fee100035011a28..."} 
[2026-08-08 18:29:39] local.INFO: Processing buffer {"connection_id":150677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe170f058012d196780071fee100035011a28..."} 
[2026-08-08 18:29:39] local.INFO: Packet analysis {"connection_id":150677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:29:39] local.INFO: Extracted packet for processing {"connection_id":150677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe170"} 
[2026-08-08 18:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265582592001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193703000,"timestamp_ms":1786193703000,"timestamp_seconds":1786193703,"priority":1,"record_length":96,"hex_timestamp":"0000019fe170f058"} 
[2026-08-08 18:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265582592001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265582592001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:29:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265582592001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":150677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:29:39] local.INFO: GPS data processed {"connection_id":150677,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:29:39] local.INFO: Acknowledgment sent {"connection_id":150677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:30:11] local.INFO: TCP Data received {"connection_id":150677,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1714260012d196780071fee100035011a25..."} 
[2026-08-08 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1714260012d196780071fee100035011a25..."} 
[2026-08-08 18:30:11] local.INFO: Processing buffer {"connection_id":150677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1714260012d196780071fee100035011a25..."} 
[2026-08-08 18:30:11] local.INFO: Packet analysis {"connection_id":150677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:30:11] local.INFO: Extracted packet for processing {"connection_id":150677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe171"} 
[2026-08-08 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265587968001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786193724000,"timestamp_ms":1786193724000,"timestamp_seconds":1786193724,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1714260"} 
[2026-08-08 18:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265587968001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265587968001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265587968001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":150677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:30:11] local.INFO: GPS data processed {"connection_id":150677,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:30:11] local.INFO: Acknowledgment sent {"connection_id":150677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:30:33] local.INFO: TCP Data received {"connection_id":150404,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:33] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:33] local.INFO: IMEI packet received {"connection_id":150404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":150404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:30:35] local.INFO: TCP Data received {"connection_id":150404,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:35] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:35] local.INFO: IMEI packet received {"connection_id":150404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":150404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:30:38] local.INFO: TCP Data received {"connection_id":150404,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:38] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:30:38] local.INFO: IMEI packet received {"connection_id":150404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":150404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:30:39] local.INFO: TCP Data received {"connection_id":150404,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe174c8b8012d196780071fee100035011a25..."} 
[2026-08-08 18:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe174c8b8012d196780071fee100035011a25..."} 
[2026-08-08 18:30:39] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe174c8b8012d196780071fee100035011a25..."} 
[2026-08-08 18:30:39] local.INFO: Packet analysis {"connection_id":150404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe174"} 
[2026-08-08 18:30:39] local.INFO: Extracted packet for processing {"connection_id":150404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe174"} 
[2026-08-08 18:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265647104001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786193955000,"timestamp_ms":1786193955000,"timestamp_seconds":1786193955,"priority":1,"record_length":96,"hex_timestamp":"0000019fe174c8b8"} 
[2026-08-08 18:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265647104001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265647104001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:30:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265647104001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":150404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:30:39] local.INFO: GPS data processed {"connection_id":150404,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:30:39] local.INFO: Acknowledgment sent {"connection_id":150404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:31:11] local.INFO: TCP Data received {"connection_id":150404,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1751ac0012d196780071fee100035011a26..."} 
[2026-08-08 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1751ac0012d196780071fee100035011a26..."} 
[2026-08-08 18:31:11] local.INFO: Processing buffer {"connection_id":150404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1751ac0012d196780071fee100035011a26..."} 
[2026-08-08 18:31:11] local.INFO: Packet analysis {"connection_id":150404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe175"} 
[2026-08-08 18:31:11] local.INFO: Extracted packet for processing {"connection_id":150404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe175"} 
[2026-08-08 18:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265652480001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786193976000,"timestamp_ms":1786193976000,"timestamp_seconds":1786193976,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1751ac0"} 
[2026-08-08 18:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265652480001,"66":12428,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265652480001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:31:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265652480001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":150404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:31:11] local.INFO: GPS data processed {"connection_id":150404,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:31:11] local.INFO: Acknowledgment sent {"connection_id":150404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:31:39] local.INFO: TCP Data received {"connection_id":150679,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:39] local.INFO: Processing buffer {"connection_id":150679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:39] local.INFO: IMEI packet received {"connection_id":150679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":150679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:31:39] local.INFO: TCP Data received {"connection_id":150679,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:39] local.INFO: Processing buffer {"connection_id":150679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:39] local.INFO: IMEI packet received {"connection_id":150679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":150679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:31:43] local.INFO: TCP Data received {"connection_id":150679,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:43] local.INFO: Processing buffer {"connection_id":150679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:31:43] local.INFO: IMEI packet received {"connection_id":150679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":150679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:31:45] local.INFO: TCP Data received {"connection_id":150679,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1756cc8012d196780071fee100035011a22..."} 
[2026-08-08 18:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1756cc8012d196780071fee100035011a22..."} 
[2026-08-08 18:31:45] local.INFO: Processing buffer {"connection_id":150679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1756cc8012d196780071fee100035011a22..."} 
[2026-08-08 18:31:45] local.INFO: Packet analysis {"connection_id":150679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe175"} 
[2026-08-08 18:31:45] local.INFO: Extracted packet for processing {"connection_id":150679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe175"} 
[2026-08-08 18:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265657856001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786193997000,"timestamp_ms":1786193997000,"timestamp_seconds":1786193997,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1756cc8"} 
[2026-08-08 18:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-08 18:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265657856001,"66":11787,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265657856001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:31:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:31:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265657856001,"power":11787,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":150679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:31:45] local.INFO: GPS data processed {"connection_id":150679,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:31:45] local.INFO: Acknowledgment sent {"connection_id":150679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:31:49] local.INFO: TCP Data received {"connection_id":150679,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe175bed0012d196780071fee100035011a22..."} 
[2026-08-08 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe175bed0012d196780071fee100035011a22..."} 
[2026-08-08 18:31:49] local.INFO: Processing buffer {"connection_id":150679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe175bed0012d196780071fee100035011a22..."} 
[2026-08-08 18:31:49] local.INFO: Packet analysis {"connection_id":150679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe175"} 
[2026-08-08 18:31:49] local.INFO: Extracted packet for processing {"connection_id":150679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe175"} 
[2026-08-08 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265663232001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786194018000,"timestamp_ms":1786194018000,"timestamp_seconds":1786194018,"priority":1,"record_length":96,"hex_timestamp":"0000019fe175bed0"} 
[2026-08-08 18:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3782443160,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2810246167479192064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":47105,"corrected_to":0} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6926128108097426151,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":103,"raw_value":-9221366604686674687,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":41,"raw_value":5563071439709405184,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-08 18:31:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,77,159,26,45,128,238,53,38,10,66,200,37,118,1,240,225,31,4,113,205,210,103,39,239,48,2,41,92,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":200,"original":47105,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 18:31:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362692318101504,"timestamp_seconds":3819362692318101.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265663232001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265663232001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:31:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:31:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265663232001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":150679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:31:49] local.INFO: GPS data processed {"connection_id":150679,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:31:49] local.INFO: Acknowledgment sent {"connection_id":150679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:32:33] local.INFO: TCP Data received {"connection_id":153102,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:32:33] local.INFO: Processing buffer {"connection_id":153102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:32:33] local.INFO: IMEI packet received {"connection_id":153102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":153102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:32:38] local.INFO: TCP Data received {"connection_id":153102,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:32:38] local.INFO: Processing buffer {"connection_id":153102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:32:38] local.INFO: IMEI packet received {"connection_id":153102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":153102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:32:39] local.INFO: TCP Data received {"connection_id":153102,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17610d8012d196780071fee100035011a24..."} 
[2026-08-08 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17610d8012d196780071fee100035011a24..."} 
[2026-08-08 18:32:39] local.INFO: Processing buffer {"connection_id":153102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17610d8012d196780071fee100035011a24..."} 
[2026-08-08 18:32:39] local.INFO: Packet analysis {"connection_id":153102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe176"} 
[2026-08-08 18:32:39] local.INFO: Extracted packet for processing {"connection_id":153102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe176"} 
[2026-08-08 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265668608001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194039000,"timestamp_ms":1786194039000,"timestamp_seconds":1786194039,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17610d8"} 
[2026-08-08 18:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265668608001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265668608001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:32:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265668608001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":153102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:32:39] local.INFO: GPS data processed {"connection_id":153102,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:32:39] local.INFO: Acknowledgment sent {"connection_id":153102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:32:41] local.INFO: TCP Data received {"connection_id":153102,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17662e0012d196780071fee100035011a26..."} 
[2026-08-08 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17662e0012d196780071fee100035011a26..."} 
[2026-08-08 18:32:41] local.INFO: Processing buffer {"connection_id":153102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17662e0012d196780071fee100035011a26..."} 
[2026-08-08 18:32:41] local.INFO: Packet analysis {"connection_id":153102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe176"} 
[2026-08-08 18:32:41] local.INFO: Extracted packet for processing {"connection_id":153102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe176"} 
[2026-08-08 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265673984001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786194060000,"timestamp_ms":1786194060000,"timestamp_seconds":1786194060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17662e0"} 
[2026-08-08 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-08-08 18:32: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-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:32: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-08-08 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-08-08 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-08-08 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265673984001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265673984001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:32:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265673984001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":153102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:32:41] local.INFO: GPS data processed {"connection_id":153102,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:32:41] local.INFO: Acknowledgment sent {"connection_id":153102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:33:14] local.INFO: TCP Data received {"connection_id":153102,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe176b4e8012d196780071fee100035011a20..."} 
[2026-08-08 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe176b4e8012d196780071fee100035011a20..."} 
[2026-08-08 18:33:14] local.INFO: Processing buffer {"connection_id":153102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe176b4e8012d196780071fee100035011a20..."} 
[2026-08-08 18:33:14] local.INFO: Packet analysis {"connection_id":153102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe176"} 
[2026-08-08 18:33:14] local.INFO: Extracted packet for processing {"connection_id":153102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe176"} 
[2026-08-08 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265679360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786194081000,"timestamp_ms":1786194081000,"timestamp_seconds":1786194081,"priority":1,"record_length":96,"hex_timestamp":"0000019fe176b4e8"} 
[2026-08-08 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265679360001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265679360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265679360001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":153102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:33:14] local.INFO: GPS data processed {"connection_id":153102,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:33:14] local.INFO: Acknowledgment sent {"connection_id":153102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:33:33] local.INFO: TCP Data received {"connection_id":150680,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:33:33] local.INFO: Processing buffer {"connection_id":150680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:33:33] local.INFO: IMEI packet received {"connection_id":150680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":150680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:33:38] local.INFO: TCP Data received {"connection_id":150680,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:33:38] local.INFO: Processing buffer {"connection_id":150680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:33:38] local.INFO: IMEI packet received {"connection_id":150680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":150680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:33:40] local.INFO: TCP Data received {"connection_id":150680,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17706f0012d196780071fee100035011a23..."} 
[2026-08-08 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17706f0012d196780071fee100035011a23..."} 
[2026-08-08 18:33:40] local.INFO: Processing buffer {"connection_id":150680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17706f0012d196780071fee100035011a23..."} 
[2026-08-08 18:33:40] local.INFO: Packet analysis {"connection_id":150680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:33:40] local.INFO: Extracted packet for processing {"connection_id":150680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265684736001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:33: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-08-08 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194102000,"timestamp_ms":1786194102000,"timestamp_seconds":1786194102,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17706f0"} 
[2026-08-08 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-08-08 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265684736001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265684736001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:33:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265684736001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":150680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:33:40] local.INFO: GPS data processed {"connection_id":150680,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:33:40] local.INFO: Acknowledgment sent {"connection_id":150680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:34:09] local.INFO: TCP Data received {"connection_id":153103,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:34:09] local.INFO: Processing buffer {"connection_id":153103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:34:09] local.INFO: IMEI packet received {"connection_id":153103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":153103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:34:10] local.INFO: TCP Data received {"connection_id":153103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1784358012cf6c78007471298002a004327..."} 
[2026-08-08 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1784358012cf6c78007471298002a004327..."} 
[2026-08-08 18:34:10] local.INFO: Processing buffer {"connection_id":153103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1784358012cf6c78007471298002a004327..."} 
[2026-08-08 18:34:10] local.INFO: Packet analysis {"connection_id":153103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:34:10] local.INFO: Extracted packet for processing {"connection_id":153103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":754370432,"raw_latitude":122098328,"longitude_deg":75.4370432,"latitude_deg":12.2098328,"altitude":42,"angle":67,"satellites":39,"speed":27,"hex_longitude":"2cf6c780","hex_latitude":"07471298","is_valid_coordinates":true} 
[2026-08-08 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265710592001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375739780756930560,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-665195707454365696,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194183000,"timestamp_ms":1786194183000,"timestamp_seconds":1786194183,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1784358"} 
[2026-08-08 18:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:34: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-08-08 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-08 18:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265710592001,"66":27430,"88":206,"83":43520,"24":27,"16":375739780756930560,"44":-665195707454365696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265710592001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:34:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375739780756930560,"km_value":375739780756930.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-665195707454365696,"description":"Unknown IO ID 44"} 
[2026-08-08 18:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265710592001,"power":27430,"unknown_88":206,"unknown_83":43520,"ignition":27,"odometer":null,"unknown_44":-665195707454365696}} 
[2026-08-08 18:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":153103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:34:10] local.INFO: GPS data processed {"connection_id":153103,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:34:10] local.INFO: Acknowledgment sent {"connection_id":153103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:34:12] local.INFO: TCP Data received {"connection_id":150680,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17758f8012d196780071fee100035011a23..."} 
[2026-08-08 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17758f8012d196780071fee100035011a23..."} 
[2026-08-08 18:34:12] local.INFO: Processing buffer {"connection_id":150680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17758f8012d196780071fee100035011a23..."} 
[2026-08-08 18:34:12] local.INFO: Packet analysis {"connection_id":150680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:34:12] local.INFO: Extracted packet for processing {"connection_id":150680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265690112001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786194123000,"timestamp_ms":1786194123000,"timestamp_seconds":1786194123,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17758f8"} 
[2026-08-08 18:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265690112001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265690112001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:34:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265690112001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":150680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:34:12] local.INFO: GPS data processed {"connection_id":150680,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:34:12] local.INFO: Acknowledgment sent {"connection_id":150680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:34:33] local.INFO: TCP Data received {"connection_id":153104,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:34:33] local.INFO: Processing buffer {"connection_id":153104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:34:33] local.INFO: IMEI packet received {"connection_id":153104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":153104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:34:38] local.INFO: TCP Data received {"connection_id":153104,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:34:38] local.INFO: Processing buffer {"connection_id":153104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:34:38] local.INFO: IMEI packet received {"connection_id":153104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":153104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:34:40] local.INFO: TCP Data received {"connection_id":153104,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe177ab00012d196780071fee100035011a24..."} 
[2026-08-08 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe177ab00012d196780071fee100035011a24..."} 
[2026-08-08 18:34:40] local.INFO: Processing buffer {"connection_id":153104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe177ab00012d196780071fee100035011a24..."} 
[2026-08-08 18:34:40] local.INFO: Packet analysis {"connection_id":153104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:34:40] local.INFO: Extracted packet for processing {"connection_id":153104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265695488001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194144000,"timestamp_ms":1786194144000,"timestamp_seconds":1786194144,"priority":1,"record_length":96,"hex_timestamp":"0000019fe177ab00"} 
[2026-08-08 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-08-08 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265695488001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265695488001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:34:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265695488001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":153104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:34:40] local.INFO: GPS data processed {"connection_id":153104,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:34:40] local.INFO: Acknowledgment sent {"connection_id":153104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:34:41] local.INFO: TCP Data received {"connection_id":153103,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17902c0012cf75b40074726b00031008b26..."} 
[2026-08-08 18:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17902c0012cf75b40074726b00031008b26..."} 
[2026-08-08 18:34:41] local.INFO: Processing buffer {"connection_id":153103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17902c0012cf75b40074726b00031008b26..."} 
[2026-08-08 18:34:41] local.INFO: Packet analysis {"connection_id":153103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:34:41] local.INFO: Extracted packet for processing {"connection_id":153103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:34:41] local.INFO: GPS Element Parsed {"raw_longitude":754408256,"raw_latitude":122103472,"longitude_deg":75.4408256,"latitude_deg":12.2103472,"altitude":49,"angle":139,"satellites":38,"speed":29,"hex_longitude":"2cf75b40","hex_latitude":"074726b0","is_valid_coordinates":true} 
[2026-08-08 18:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265722880001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375741636182802432,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-624170729597159424,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786194232000,"timestamp_ms":1786194232000,"timestamp_seconds":1786194232,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17902c0"} 
[2026-08-08 18:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:34: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-08-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265722880001,"66":27974,"88":206,"83":43520,"24":29,"16":375741636182802432,"44":-624170729597159424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265722880001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:34:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375741636182802432,"km_value":375741636182802.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-624170729597159424,"description":"Unknown IO ID 44"} 
[2026-08-08 18:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265722880001,"power":27974,"unknown_88":206,"unknown_83":43520,"ignition":29,"odometer":null,"unknown_44":-624170729597159424}} 
[2026-08-08 18:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":153103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:34:41] local.INFO: GPS data processed {"connection_id":153103,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:34:41] local.INFO: Acknowledgment sent {"connection_id":153103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:34:52] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:52] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:52] local.INFO: IMEI packet received {"connection_id":150407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":150407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:34:52] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:52] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:52] local.INFO: IMEI packet received {"connection_id":150407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":150407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:34:56] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:56] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:34:56] local.INFO: IMEI packet received {"connection_id":150407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":150407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:34:58] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":327,"data_hex":"000000000000013b8e04000000000000b7980100000000000000000000000000..."} 
[2026-08-08 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":327,"packet_hex":"000000000000013b8e04000000000000b7980100000000000000000000000000..."} 
[2026-08-08 18:34:58] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":327,"buffer_hex":"000000000000013b8e04000000000000b7980100000000000000000000000000..."} 
[2026-08-08 18:34:58] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000000000000"} 
[2026-08-08 18:34:58] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000000000000"} 
[2026-08-08 18:34: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-08-08 18:34: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":327,"current_offset":40} 
[2026-08-08 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 18:34:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 18:34:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":4,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":0,"avl_records_expected":4,"crc_valid":false} 
[2026-08-08 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 18:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 18:34:58] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 18:34:58] local.ERROR: GPS data processing failed {"connection_id":150407,"error":"No valid data to process"} 
[2026-08-08 18:34:58] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":0,"records_expected":4,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 18:35:04] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:04] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:04] local.INFO: IMEI packet received {"connection_id":153105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":153105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:35:04] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:04] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:04] local.INFO: IMEI packet received {"connection_id":153105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":153105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:35:08] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:08] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:35:08] local.INFO: IMEI packet received {"connection_id":153105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":153105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:35:08] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17906a8012cf75c80074724280031009825..."} 
[2026-08-08 18:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17906a8012cf75c80074724280031009825..."} 
[2026-08-08 18:35:08] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17906a8012cf75c80074724280031009825..."} 
[2026-08-08 18:35:08] local.INFO: Packet analysis {"connection_id":153105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:35:08] local.INFO: Extracted packet for processing {"connection_id":153105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:35:08] local.INFO: GPS Element Parsed {"raw_longitude":754408576,"raw_latitude":122102824,"longitude_deg":75.4408576,"latitude_deg":12.2102824,"altitude":49,"angle":152,"satellites":37,"speed":29,"hex_longitude":"2cf75c80","hex_latitude":"07472428","is_valid_coordinates":true} 
[2026-08-08 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265723392001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375741670542540800,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-622833723458015232,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786194233000,"timestamp_ms":1786194233000,"timestamp_seconds":1786194233,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17906a8"} 
[2026-08-08 18:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265723392001,"66":27843,"88":206,"83":43520,"24":29,"16":375741670542540800,"44":-622833723458015232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265723392001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375741670542540800,"km_value":375741670542540.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-622833723458015232,"description":"Unknown IO ID 44"} 
[2026-08-08 18:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265723392001,"power":27843,"unknown_88":206,"unknown_83":43520,"ignition":29,"odometer":null,"unknown_44":-622833723458015232}} 
[2026-08-08 18:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":153105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:35:08] local.INFO: GPS data processed {"connection_id":153105,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:35:08] local.INFO: Acknowledgment sent {"connection_id":153105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:35:11] local.INFO: TCP Data received {"connection_id":153104,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe177fd08012d196780071fee100035011a25..."} 
[2026-08-08 18:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe177fd08012d196780071fee100035011a25..."} 
[2026-08-08 18:35:11] local.INFO: Processing buffer {"connection_id":153104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe177fd08012d196780071fee100035011a25..."} 
[2026-08-08 18:35:11] local.INFO: Packet analysis {"connection_id":153104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:35:11] local.INFO: Extracted packet for processing {"connection_id":153104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe177"} 
[2026-08-08 18:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265700864001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194165000,"timestamp_ms":1786194165000,"timestamp_seconds":1786194165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe177fd08"} 
[2026-08-08 18:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:35: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-08-08 18:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265700864001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265700864001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:35:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265700864001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":153104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:35:11] local.INFO: GPS data processed {"connection_id":153104,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:35:11] local.INFO: Acknowledgment sent {"connection_id":153104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:35:30] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":171,"data_hex":"000000000000009f8e020000019fe17a0490012d743940062cf4100020001a09..."} 
[2026-08-08 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":171,"packet_hex":"000000000000009f8e020000019fe17a0490012d743940062cf4100020001a09..."} 
[2026-08-08 18:35:30] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019fe17a0490012d743940062cf4100020001a09..."} 
[2026-08-08 18:35:30] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019fe17a"} 
[2026-08-08 18:35:30] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019fe17a"} 
[2026-08-08 18:35:30] local.INFO: GPS Element Parsed {"raw_longitude":762591552,"raw_latitude":103609360,"longitude_deg":76.2591552,"latitude_deg":10.360936,"altitude":32,"angle":26,"satellites":9,"speed":4,"hex_longitude":"2d743940","hex_latitude":"062cf410","is_valid_coordinates":true} 
[2026-08-08 18:35:30] 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":171,"current_offset":40} 
[2026-08-08 18:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070417432576000,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 18:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786194298000,"timestamp_ms":1786194298000,"timestamp_seconds":1786194298,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17a0490"} 
[2026-08-08 18:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:35: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-08-08 18:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":138,"data_length":171,"current_offset":136} 
[2026-08-08 18:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1645,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:35:30] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-08 18:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11515,"21":206,"79":21504,"24":4,"16":116070417432576000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16]} 
[2026-08-08 18:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070417432576000,"km_value":116070417432576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:35:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11515,"unknown_21":206,"unknown_79":21504,"ignition":4,"odometer":null}} 
[2026-08-08 18:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:35:30] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:35:30] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:35:33] local.INFO: TCP Data received {"connection_id":150681,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:35:33] local.INFO: Processing buffer {"connection_id":150681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:35:33] local.INFO: IMEI packet received {"connection_id":150681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":150681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:35:38] local.INFO: TCP Data received {"connection_id":150681,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:35:38] local.INFO: Processing buffer {"connection_id":150681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:35:38] local.INFO: IMEI packet received {"connection_id":150681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":150681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:35:39] local.INFO: TCP Data received {"connection_id":153105,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe179cde0012cf7e0400746ddd80030007a24..."} 
[2026-08-08 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe179cde0012cf7e0400746ddd80030007a24..."} 
[2026-08-08 18:35:39] local.INFO: Processing buffer {"connection_id":153105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe179cde0012cf7e0400746ddd80030007a24..."} 
[2026-08-08 18:35:39] local.INFO: Packet analysis {"connection_id":153105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:35:39] local.INFO: Extracted packet for processing {"connection_id":153105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":754442304,"raw_latitude":122084824,"longitude_deg":75.4442304,"latitude_deg":12.2084824,"altitude":48,"angle":122,"satellites":36,"speed":34,"hex_longitude":"2cf7e040","hex_latitude":"0746ddd8","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265736192001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375743860975861760,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-587227138908725248,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194284000,"timestamp_ms":1786194284000,"timestamp_seconds":1786194284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe179cde0"} 
[2026-08-08 18:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265736192001,"66":27865,"88":206,"83":43520,"24":34,"16":375743860975861760,"44":-587227138908725248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265736192001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:35:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:35:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375743860975861760,"km_value":375743860975861.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:35:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-587227138908725248,"description":"Unknown IO ID 44"} 
[2026-08-08 18:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265736192001,"power":27865,"unknown_88":206,"unknown_83":43520,"ignition":34,"odometer":null,"unknown_44":-587227138908725248}} 
[2026-08-08 18:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":153105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:35:39] local.INFO: GPS data processed {"connection_id":153105,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:35:39] local.INFO: Acknowledgment sent {"connection_id":153105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:35:40] local.INFO: TCP Data received {"connection_id":150681,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1784f10012d196780071fee100035011a22..."} 
[2026-08-08 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1784f10012d196780071fee100035011a22..."} 
[2026-08-08 18:35:40] local.INFO: Processing buffer {"connection_id":150681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1784f10012d196780071fee100035011a22..."} 
[2026-08-08 18:35:40] local.INFO: Packet analysis {"connection_id":150681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:35:40] local.INFO: Extracted packet for processing {"connection_id":150681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265706240001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:35: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-08-08 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194186000,"timestamp_ms":1786194186000,"timestamp_seconds":1786194186,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1784f10"} 
[2026-08-08 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:35: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-08-08 18: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-08-08 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265706240001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265706240001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:35:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265706240001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":150681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:35:40] local.INFO: GPS data processed {"connection_id":150681,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:35:40] local.INFO: Acknowledgment sent {"connection_id":150681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:36:02] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019fe17a1818012d743840062cf540002500070a..."} 
[2026-08-08 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":93,"packet_hex":"00000000000000518e010000019fe17a1818012d743840062cf540002500070a..."} 
[2026-08-08 18:36:02] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fe17a1818012d743840062cf540002500070a..."} 
[2026-08-08 18:36:02] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fe17a"} 
[2026-08-08 18:36:02] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fe17a"} 
[2026-08-08 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":762591296,"raw_latitude":103609664,"longitude_deg":76.2591296,"latitude_deg":10.3609664,"altitude":37,"angle":7,"satellites":10,"speed":1,"hex_longitude":"2d743840","hex_latitude":"062cf540","is_valid_coordinates":true} 
[2026-08-08 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-08 18:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:36:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:36:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 18:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-08 18:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 18:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 18:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 18:36:02] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 18:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 18:36:02] local.ERROR: GPS data processing failed {"connection_id":150407,"error":"No valid data to process"} 
[2026-08-08 18:36:02] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 18:36:05] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:36:05] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:36:05] local.INFO: IMEI packet received {"connection_id":150408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":150408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:36:09] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:36:09] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:36:09] local.INFO: IMEI packet received {"connection_id":150408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":150408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:36:12] local.INFO: TCP Data received {"connection_id":150681,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe178a118012d196780071fee100035011a24..."} 
[2026-08-08 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe178a118012d196780071fee100035011a24..."} 
[2026-08-08 18:36:12] local.INFO: Processing buffer {"connection_id":150681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe178a118012d196780071fee100035011a24..."} 
[2026-08-08 18:36:12] local.INFO: Packet analysis {"connection_id":150681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:36:12] local.INFO: Extracted packet for processing {"connection_id":150681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265711616001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786194207000,"timestamp_ms":1786194207000,"timestamp_seconds":1786194207,"priority":1,"record_length":96,"hex_timestamp":"0000019fe178a118"} 
[2026-08-08 18:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265711616001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265711616001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:36:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265711616001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":150681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:36:12] local.INFO: GPS data processed {"connection_id":150681,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:36:12] local.INFO: Acknowledgment sent {"connection_id":150681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:36:14] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe179d1c8012cf7e2800746db900030008725..."} 
[2026-08-08 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe179d1c8012cf7e2800746db900030008725..."} 
[2026-08-08 18:36:14] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe179d1c8012cf7e2800746db900030008725..."} 
[2026-08-08 18:36:14] local.INFO: Packet analysis {"connection_id":150408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:36:14] local.INFO: Extracted packet for processing {"connection_id":150408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":754442880,"raw_latitude":122084240,"longitude_deg":75.444288,"latitude_deg":12.208424,"altitude":48,"angle":135,"satellites":37,"speed":33,"hex_longitude":"2cf7e280","hex_latitude":"0746db90","is_valid_coordinates":true} 
[2026-08-08 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265736704001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375743899630567424,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-585397551560271872,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786194285000,"timestamp_ms":1786194285000,"timestamp_seconds":1786194285,"priority":1,"record_length":96,"hex_timestamp":"0000019fe179d1c8"} 
[2026-08-08 18:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265736704001,"66":27984,"88":206,"83":43520,"24":33,"16":375743899630567424,"44":-585397551560271872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265736704001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375743899630567424,"km_value":375743899630567.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-585397551560271872,"description":"Unknown IO ID 44"} 
[2026-08-08 18:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265736704001,"power":27984,"unknown_88":206,"unknown_83":43520,"ignition":33,"odometer":null,"unknown_44":-585397551560271872}} 
[2026-08-08 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":150408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:36:14] local.INFO: GPS data processed {"connection_id":150408,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:36:14] local.INFO: Acknowledgment sent {"connection_id":150408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:36:33] local.INFO: TCP Data received {"connection_id":151622,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:36:33] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:36:33] local.INFO: IMEI packet received {"connection_id":151622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":151622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:36:33] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":93,"data_hex":"00000000000000518e010000019fe17a6638012d743900062cf5b8002400070b..."} 
[2026-08-08 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":93,"packet_hex":"00000000000000518e010000019fe17a6638012d743900062cf5b8002400070b..."} 
[2026-08-08 18:36:33] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fe17a6638012d743900062cf5b8002400070b..."} 
[2026-08-08 18:36:33] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fe17a"} 
[2026-08-08 18:36:33] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fe17a"} 
[2026-08-08 18:36:33] local.INFO: GPS Element Parsed {"raw_longitude":762591488,"raw_latitude":103609784,"longitude_deg":76.2591488,"latitude_deg":10.3609784,"altitude":36,"angle":7,"satellites":11,"speed":0,"hex_longitude":"2d743900","hex_latitude":"062cf5b8","is_valid_coordinates":true} 
[2026-08-08 18:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-08 18:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:36:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:36:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 18:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-08 18:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 18:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 18:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 18:36:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 18:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 18:36:33] local.ERROR: GPS data processing failed {"connection_id":150407,"error":"No valid data to process"} 
[2026-08-08 18:36:33] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 18:36:38] local.INFO: TCP Data received {"connection_id":151622,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:36:38] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:36:38] local.INFO: IMEI packet received {"connection_id":151622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":151622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:36:40] local.INFO: TCP Data received {"connection_id":151622,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe178f320012d196780071fee100035011a21..."} 
[2026-08-08 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe178f320012d196780071fee100035011a21..."} 
[2026-08-08 18:36:40] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe178f320012d196780071fee100035011a21..."} 
[2026-08-08 18:36:40] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:36:40] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe178"} 
[2026-08-08 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265716992001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36: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-08-08 18:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194228000,"timestamp_ms":1786194228000,"timestamp_seconds":1786194228,"priority":1,"record_length":96,"hex_timestamp":"0000019fe178f320"} 
[2026-08-08 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-08-08 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265716992001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265716992001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:36:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:36:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265716992001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:36:40] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:36:40] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:36:45] local.INFO: TCP Data received {"connection_id":150408,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe179f108012cf7efc00746c9780034009327..."} 
[2026-08-08 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe179f108012cf7efc00746c9780034009327..."} 
[2026-08-08 18:36:45] local.INFO: Processing buffer {"connection_id":150408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe179f108012cf7efc00746c9780034009327..."} 
[2026-08-08 18:36:45] local.INFO: Packet analysis {"connection_id":150408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:36:45] local.INFO: Extracted packet for processing {"connection_id":150408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":754446272,"raw_latitude":122079608,"longitude_deg":75.4446272,"latitude_deg":12.2079608,"altitude":52,"angle":147,"satellites":39,"speed":23,"hex_longitude":"2cf7efc0","hex_latitude":"0746c978","is_valid_coordinates":true} 
[2026-08-08 18:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265736960001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375744174508474368,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-584764232862822400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786194293000,"timestamp_ms":1786194293000,"timestamp_seconds":1786194293,"priority":1,"record_length":96,"hex_timestamp":"0000019fe179f108"} 
[2026-08-08 18:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 18:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265736960001,"66":27865,"88":206,"83":43520,"24":23,"16":375744174508474368,"44":-584764232862822400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265736960001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375744174508474368,"km_value":375744174508474.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-584764232862822400,"description":"Unknown IO ID 44"} 
[2026-08-08 18:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265736960001,"power":27865,"unknown_88":206,"unknown_83":43520,"ignition":23,"odometer":null,"unknown_44":-584764232862822400}} 
[2026-08-08 18:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":150408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:36:45] local.INFO: GPS data processed {"connection_id":150408,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:36:45] local.INFO: Acknowledgment sent {"connection_id":150408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:37:04] local.INFO: TCP Data received {"connection_id":150682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:37:04] local.INFO: Processing buffer {"connection_id":150682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:37:04] local.INFO: IMEI packet received {"connection_id":150682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":150682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:37:05] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17b8360012d7418c0062cf3c8001e009b0e..."} 
[2026-08-08 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17b8360012d7418c0062cf3c8001e009b0e..."} 
[2026-08-08 18:37:05] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17b8360012d7418c0062cf3c8001e009b0e..."} 
[2026-08-08 18:37:05] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:37:05] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762583232,"raw_latitude":103609288,"longitude_deg":76.2583232,"latitude_deg":10.3609288,"altitude":30,"angle":155,"satellites":14,"speed":5,"hex_longitude":"2d7418c0","hex_latitude":"062cf3c8","is_valid_coordinates":true} 
[2026-08-08 18:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265765120001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116070997253160960,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8365647440597237760,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786194396000,"timestamp_ms":1786194396000,"timestamp_seconds":1786194396,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17b8360"} 
[2026-08-08 18:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 18:37: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-08-08 18:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265765120001,"66":13135,"21":206,"79":21504,"24":5,"16":116070997253160960,"45":8365647440597237760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 18:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265765120001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116070997253160960,"km_value":116070997253160.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8365647440597237760,"description":"Unknown IO ID 45"} 
[2026-08-08 18:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265765120001,"power":13135,"unknown_21":206,"unknown_79":21504,"ignition":5,"odometer":null,"unknown_45":8365647440597237760}} 
[2026-08-08 18:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:37:05] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:37:05] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:37:09] local.INFO: TCP Data received {"connection_id":150682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:37:10] local.INFO: Processing buffer {"connection_id":150682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:37:10] local.INFO: IMEI packet received {"connection_id":150682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":150682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:37:11] local.INFO: TCP Data received {"connection_id":150682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17a2ba0012cf802800746a9000037009827..."} 
[2026-08-08 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17a2ba0012cf802800746a9000037009827..."} 
[2026-08-08 18:37:11] local.INFO: Processing buffer {"connection_id":150682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17a2ba0012cf802800746a9000037009827..."} 
[2026-08-08 18:37:11] local.INFO: Packet analysis {"connection_id":150682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:37:11] local.INFO: Extracted packet for processing {"connection_id":150682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":754451072,"raw_latitude":122071296,"longitude_deg":75.4451072,"latitude_deg":12.2071296,"altitude":55,"angle":152,"satellites":39,"speed":30,"hex_longitude":"2cf80280","hex_latitude":"0746a900","is_valid_coordinates":true} 
[2026-08-08 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265739008001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375744638364942336,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-581034689422592000,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194308000,"timestamp_ms":1786194308000,"timestamp_seconds":1786194308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17a2ba0"} 
[2026-08-08 18:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265739008001,"66":27908,"88":206,"83":43520,"24":30,"16":375744638364942336,"44":-581034689422592000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,83,24,16,44]} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265739008001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375744638364942336,"km_value":375744638364942.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-581034689422592000,"description":"Unknown IO ID 44"} 
[2026-08-08 18:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265739008001,"power":27908,"unknown_88":206,"unknown_83":43520,"ignition":30,"odometer":null,"unknown_44":-581034689422592000}} 
[2026-08-08 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":150682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:37:11] local.INFO: GPS data processed {"connection_id":150682,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:37:11] local.INFO: Acknowledgment sent {"connection_id":150682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:37:11] local.INFO: TCP Data received {"connection_id":151622,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1794528012d196780071fee100035011a22..."} 
[2026-08-08 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1794528012d196780071fee100035011a22..."} 
[2026-08-08 18:37:11] local.INFO: Processing buffer {"connection_id":151622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1794528012d196780071fee100035011a22..."} 
[2026-08-08 18:37:11] local.INFO: Packet analysis {"connection_id":151622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:37:11] local.INFO: Extracted packet for processing {"connection_id":151622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265722368001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194249000,"timestamp_ms":1786194249000,"timestamp_seconds":1786194249,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1794528"} 
[2026-08-08 18:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:37: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-08-08 18:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265722368001,"66":11721,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265722368001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265722368001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":151622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:37:11] local.INFO: GPS data processed {"connection_id":151622,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:37:11] local.INFO: Acknowledgment sent {"connection_id":151622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:37:33] local.INFO: TCP Data received {"connection_id":151623,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:33] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:33] local.INFO: IMEI packet received {"connection_id":151623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":151623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:37:35] local.INFO: TCP Data received {"connection_id":151623,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:35] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:35] local.INFO: IMEI packet received {"connection_id":151623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":151623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:37:38] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17b8f18012d741900062cf258001d00830e..."} 
[2026-08-08 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17b8f18012d741900062cf258001d00830e..."} 
[2026-08-08 18:37:38] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17b8f18012d741900062cf258001d00830e..."} 
[2026-08-08 18:37:38] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:37:38] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":762583296,"raw_latitude":103608920,"longitude_deg":76.2583296,"latitude_deg":10.360892,"altitude":29,"angle":131,"satellites":14,"speed":6,"hex_longitude":"2d741900","hex_latitude":"062cf258","is_valid_coordinates":true} 
[2026-08-08 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265765376001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116071018727997440,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8365647440597207040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786194399000,"timestamp_ms":1786194399000,"timestamp_seconds":1786194399,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17b8f18"} 
[2026-08-08 18:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-08 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265765376001,"66":13319,"21":206,"79":21504,"24":6,"16":116071018727997440,"45":8365647440597207040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265765376001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116071018727997440,"km_value":116071018727997.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8365647440597207040,"description":"Unknown IO ID 45"} 
[2026-08-08 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265765376001,"power":13319,"unknown_21":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":8365647440597207040}} 
[2026-08-08 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:37:38] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:37:38] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:37:39] local.INFO: TCP Data received {"connection_id":151623,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:39] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:37:39] local.INFO: IMEI packet received {"connection_id":151623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":151623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:37:40] local.INFO: TCP Data received {"connection_id":151623,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1799730012d196780071fee100035011a25..."} 
[2026-08-08 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1799730012d196780071fee100035011a25..."} 
[2026-08-08 18:37:40] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1799730012d196780071fee100035011a25..."} 
[2026-08-08 18:37:40] local.INFO: Packet analysis {"connection_id":151623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:37:40] local.INFO: Extracted packet for processing {"connection_id":151623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265727744001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37: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-08-08 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194270000,"timestamp_ms":1786194270000,"timestamp_seconds":1786194270,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1799730"} 
[2026-08-08 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-08-08 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 18:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265727744001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265727744001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:37:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:37:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265727744001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":151623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:37:40] local.INFO: GPS data processed {"connection_id":151623,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:37:40] local.INFO: Acknowledgment sent {"connection_id":151623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:37:42] local.INFO: TCP Data received {"connection_id":150682,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17bbdf8012cf808800745cc58006400ba20..."} 
[2026-08-08 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17bbdf8012cf808800745cc58006400ba20..."} 
[2026-08-08 18:37:42] local.INFO: Processing buffer {"connection_id":150682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17bbdf8012cf808800745cc58006400ba20..."} 
[2026-08-08 18:37:42] local.INFO: Packet analysis {"connection_id":150682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:37:42] local.INFO: Extracted packet for processing {"connection_id":150682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":754452608,"raw_latitude":122014808,"longitude_deg":75.4452608,"latitude_deg":12.2014808,"altitude":100,"angle":186,"satellites":32,"speed":37,"hex_longitude":"2cf80880","hex_latitude":"0745cc58","is_valid_coordinates":true} 
[2026-08-08 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265766912001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375747464453423104,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-573223758833184768,"note":"Value kept but may cause issues"} 
[2026-08-08 18:37:42] 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-08-08 18:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786194411000,"timestamp_ms":1786194411000,"timestamp_seconds":1786194411,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17bbdf8"} 
[2026-08-08 18:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265766912001,"66":27876,"93":206,"83":43520,"24":37,"16":375747464453423104,"44":-573223758833184768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-08-08 18:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265766912001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:37:42] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-08 18:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375747464453423104,"km_value":375747464453423.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-573223758833184768,"description":"Unknown IO ID 44"} 
[2026-08-08 18:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265766912001,"power":27876,"unknown_93":206,"unknown_83":43520,"ignition":37,"odometer":null,"unknown_44":-573223758833184768}} 
[2026-08-08 18:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":150682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:37:42] local.INFO: GPS data processed {"connection_id":150682,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:37:42] local.INFO: Acknowledgment sent {"connection_id":150682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:04] local.INFO: TCP Data received {"connection_id":150409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:38:04] local.INFO: Processing buffer {"connection_id":150409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:38:04] local.INFO: IMEI packet received {"connection_id":150409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":150409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:38:10] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17bdd38012d742940062ce2a8001000770e..."} 
[2026-08-08 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17bdd38012d742940062ce2a8001000770e..."} 
[2026-08-08 18:38:10] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17bdd38012d742940062ce2a8001000770e..."} 
[2026-08-08 18:38:10] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:10] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":762587456,"raw_latitude":103604904,"longitude_deg":76.2587456,"latitude_deg":10.3604904,"altitude":16,"angle":119,"satellites":14,"speed":10,"hex_longitude":"2d742940","hex_latitude":"062ce2a8","is_valid_coordinates":true} 
[2026-08-08 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265766144001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116071297900871680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8365717809341290496,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194419000,"timestamp_ms":1786194419000,"timestamp_seconds":1786194419,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17bdd38"} 
[2026-08-08 18:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":93,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3782955160,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5244443060806156294,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-218424444471800576,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3860136142,"corrected_to":0} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3221630203,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57955348107906900,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,21,79,24,241,157,16,93,159,131,45,192,243,30,14,10,66,127,244,31,123,1,240,35,227,225,44,4,113,205,8,88,26,136,13,239,52,2,156,6,32,181],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3860136142,"validated":0}]} 
[2026-08-08 18:38:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089814323253084160,"timestamp_seconds":2089814323253084.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265766144001,"66":13406,"21":206,"79":21504,"24":10,"16":116071297900871680,"45":8365717809341290496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 18:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265766144001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116071297900871680,"km_value":116071297900871.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8365717809341290496,"description":"Unknown IO ID 45"} 
[2026-08-08 18:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265766144001,"power":13406,"unknown_21":206,"unknown_79":21504,"ignition":10,"odometer":null,"unknown_45":8365717809341290496}} 
[2026-08-08 18:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:10] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:10] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:12] local.INFO: TCP Data received {"connection_id":151623,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe179e938012d196780071fee100035011a24..."} 
[2026-08-08 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe179e938012d196780071fee100035011a24..."} 
[2026-08-08 18:38:12] local.INFO: Processing buffer {"connection_id":151623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe179e938012d196780071fee100035011a24..."} 
[2026-08-08 18:38:12] local.INFO: Packet analysis {"connection_id":151623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:38:12] local.INFO: Extracted packet for processing {"connection_id":151623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe179"} 
[2026-08-08 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265733120001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786194291000,"timestamp_ms":1786194291000,"timestamp_seconds":1786194291,"priority":1,"record_length":96,"hex_timestamp":"0000019fe179e938"} 
[2026-08-08 18:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265733120001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265733120001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265733120001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":151623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:12] local.INFO: GPS data processed {"connection_id":151623,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:12] local.INFO: Acknowledgment sent {"connection_id":151623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:24] local.INFO: TCP Data received {"connection_id":150409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:38:24] local.INFO: Processing buffer {"connection_id":150409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:38:24] local.INFO: IMEI packet received {"connection_id":150409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":150409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:38:25] local.INFO: TCP Data received {"connection_id":150409,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17bd180012cf807c00745bc70006a00ad26..."} 
[2026-08-08 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17bd180012cf807c00745bc70006a00ad26..."} 
[2026-08-08 18:38:25] local.INFO: Processing buffer {"connection_id":150409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17bd180012cf807c00745bc70006a00ad26..."} 
[2026-08-08 18:38:25] local.INFO: Packet analysis {"connection_id":150409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:25] local.INFO: Extracted packet for processing {"connection_id":150409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":754452416,"raw_latitude":122010736,"longitude_deg":75.4452416,"latitude_deg":12.2010736,"altitude":106,"angle":173,"satellites":38,"speed":27,"hex_longitude":"2cf807c0","hex_latitude":"0745bc70","is_valid_coordinates":true} 
[2026-08-08 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265769216001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375747662021918720,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-574068183765592064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:25] 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-08-08 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786194416000,"timestamp_ms":1786194416000,"timestamp_seconds":1786194416,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17bd180"} 
[2026-08-08 18:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 18:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265769216001,"66":27865,"93":206,"83":43520,"24":27,"16":375747662021918720,"44":-574068183765592064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265769216001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375747662021918720,"km_value":375747662021918.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-574068183765592064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265769216001,"power":27865,"unknown_93":206,"unknown_83":43520,"ignition":27,"odometer":null,"unknown_44":-574068183765592064}} 
[2026-08-08 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":150409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:25] local.INFO: GPS data processed {"connection_id":150409,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:25] local.INFO: Acknowledgment sent {"connection_id":150409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:25] local.INFO: TCP Data received {"connection_id":150409,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17be8f0012cf80ac00745af98006d00a127..."} 
[2026-08-08 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17be8f0012cf80ac00745af98006d00a127..."} 
[2026-08-08 18:38:25] local.INFO: Processing buffer {"connection_id":150409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17be8f0012cf80ac00745af98006d00a127..."} 
[2026-08-08 18:38:25] local.INFO: Packet analysis {"connection_id":150409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:25] local.INFO: Extracted packet for processing {"connection_id":150409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":754453184,"raw_latitude":122007448,"longitude_deg":75.4453184,"latitude_deg":12.2007448,"altitude":109,"angle":161,"satellites":39,"speed":19,"hex_longitude":"2cf80ac0","hex_latitude":"0745af98","is_valid_coordinates":true} 
[2026-08-08 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265770496001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375747825230675968,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-574279289999167488,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:25] 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-08-08 18:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786194422000,"timestamp_ms":1786194422000,"timestamp_seconds":1786194422,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17be8f0"} 
[2026-08-08 18:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265770496001,"66":27745,"93":206,"83":43520,"24":19,"16":375747825230675968,"44":-574279289999167488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,44]} 
[2026-08-08 18:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265770496001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375747825230675968,"km_value":375747825230675.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-574279289999167488,"description":"Unknown IO ID 44"} 
[2026-08-08 18:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265770496001,"power":27745,"unknown_93":206,"unknown_83":43520,"ignition":19,"odometer":null,"unknown_44":-574279289999167488}} 
[2026-08-08 18:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":150409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:25] local.INFO: GPS data processed {"connection_id":150409,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:25] local.INFO: Acknowledgment sent {"connection_id":150409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:38] local.INFO: TCP Data received {"connection_id":150410,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:38] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:38] local.INFO: IMEI packet received {"connection_id":150410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":150410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:38:39] local.INFO: TCP Data received {"connection_id":150410,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:39] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:39] local.INFO: IMEI packet received {"connection_id":150410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":150410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:38:42] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17bf4a8012d742fc0062ce020000b006b0e..."} 
[2026-08-08 18:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17bf4a8012d742fc0062ce020000b006b0e..."} 
[2026-08-08 18:38:42] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17bf4a8012d742fc0062ce020000b006b0e..."} 
[2026-08-08 18:38:42] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:42] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:38:42] local.INFO: GPS Element Parsed {"raw_longitude":762589120,"raw_latitude":103604256,"longitude_deg":76.258912,"latitude_deg":10.3604256,"altitude":11,"angle":107,"satellites":14,"speed":13,"hex_longitude":"2d742fc0","hex_latitude":"062ce020","is_valid_coordinates":true} 
[2026-08-08 18:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265771264001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116071383800217600,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8370291777711810560,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786194425000,"timestamp_ms":1786194425000,"timestamp_seconds":1786194425,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17bf4a8"} 
[2026-08-08 18:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 18:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265771264001,"66":13472,"21":206,"79":21504,"24":13,"16":116071383800217600,"45":8370291777711810560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 18:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265771264001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:42] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 18:38:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116071383800217600,"km_value":116071383800217.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8370291777711810560,"description":"Unknown IO ID 45"} 
[2026-08-08 18:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265771264001,"power":13472,"unknown_21":206,"unknown_79":21504,"ignition":13,"odometer":null,"unknown_45":8370291777711810560}} 
[2026-08-08 18:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:42] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:42] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:43] local.INFO: TCP Data received {"connection_id":150410,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:43] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:38:43] local.INFO: IMEI packet received {"connection_id":150410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":150410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:38:44] local.INFO: TCP Data received {"connection_id":150410,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17a3b40012d196780071fee100035011a24..."} 
[2026-08-08 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17a3b40012d196780071fee100035011a24..."} 
[2026-08-08 18:38:44] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17a3b40012d196780071fee100035011a24..."} 
[2026-08-08 18:38:44] local.INFO: Packet analysis {"connection_id":150410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:38:44] local.INFO: Extracted packet for processing {"connection_id":150410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265738496001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786194312000,"timestamp_ms":1786194312000,"timestamp_seconds":1786194312,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17a3b40"} 
[2026-08-08 18:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:38: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-08-08 18:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265738496001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265738496001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265738496001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":150410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:45] local.INFO: GPS data processed {"connection_id":150410,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:45] local.INFO: Acknowledgment sent {"connection_id":150410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:38:49] local.INFO: TCP Data received {"connection_id":150410,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17a8d48012d196780071fee100035011a24..."} 
[2026-08-08 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17a8d48012d196780071fee100035011a24..."} 
[2026-08-08 18:38:49] local.INFO: Processing buffer {"connection_id":150410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17a8d48012d196780071fee100035011a24..."} 
[2026-08-08 18:38:49] local.INFO: Packet analysis {"connection_id":150410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:38:49] local.INFO: Extracted packet for processing {"connection_id":150410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265743872001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786194333000,"timestamp_ms":1786194333000,"timestamp_seconds":1786194333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17a8d48"} 
[2026-08-08 18:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265743872001,"66":12406,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265743872001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:38:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265743872001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":150410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:38:49] local.INFO: GPS data processed {"connection_id":150410,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:38:49] local.INFO: Acknowledgment sent {"connection_id":150410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:39:04] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:39:04] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:39:04] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:39:09] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:39:09] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:39:09] local.INFO: IMEI packet received {"connection_id":151624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":151624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:39:10] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17cf678012cf8b60007456be8006a004b23..."} 
[2026-08-08 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17cf678012cf8b60007456be8006a004b23..."} 
[2026-08-08 18:39:10] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17cf678012cf8b60007456be8006a004b23..."} 
[2026-08-08 18:39:10] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:39:10] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":754497024,"raw_latitude":121990120,"longitude_deg":75.4497024,"latitude_deg":12.199012,"altitude":106,"angle":75,"satellites":35,"speed":44,"hex_longitude":"2cf8b600","hex_latitude":"07456be8","is_valid_coordinates":true} 
[2026-08-08 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265788160001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375750625549352960,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-532198780986832896,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194491000,"timestamp_ms":1786194491000,"timestamp_seconds":1786194491,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17cf678"} 
[2026-08-08 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:39: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-08-08 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 18:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265788160001,"66":27865,"91":206,"83":43520,"24":44,"16":375750625549352960,"44":-532198780986832896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,83,24,16,44]} 
[2026-08-08 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265788160001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375750625549352960,"km_value":375750625549352.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-532198780986832896,"description":"Unknown IO ID 44"} 
[2026-08-08 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265788160001,"power":27865,"unknown_91":206,"unknown_83":43520,"ignition":44,"odometer":null,"unknown_44":-532198780986832896}} 
[2026-08-08 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:39:10] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:39:10] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:39:13] local.INFO: TCP Data received {"connection_id":150407,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17c46b0012d7451c0062cd820000c00650e..."} 
[2026-08-08 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17c46b0012d7451c0062cd820000c00650e..."} 
[2026-08-08 18:39:13] local.INFO: Processing buffer {"connection_id":150407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17c46b0012d7451c0062cd820000c00650e..."} 
[2026-08-08 18:39:13] local.INFO: Packet analysis {"connection_id":150407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:39:13] local.INFO: Extracted packet for processing {"connection_id":150407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:39:13] local.INFO: GPS Element Parsed {"raw_longitude":762597824,"raw_latitude":103602208,"longitude_deg":76.2597824,"latitude_deg":10.3602208,"altitude":12,"angle":101,"satellites":14,"speed":18,"hex_longitude":"2d7451c0","hex_latitude":"062cd820","is_valid_coordinates":true} 
[2026-08-08 18:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265772800001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116071826181849088,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8372121365060263936,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786194446000,"timestamp_ms":1786194446000,"timestamp_seconds":1786194446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17c46b0"} 
[2026-08-08 18:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:39:13] 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-08-08 18:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-08 18:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265772800001,"66":13406,"21":206,"79":21504,"24":18,"16":116071826181849088,"45":8372121365060263936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-08-08 18:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265772800001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:39:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 18:39:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116071826181849088,"km_value":116071826181849.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8372121365060263936,"description":"Unknown IO ID 45"} 
[2026-08-08 18:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265772800001,"power":13406,"unknown_21":206,"unknown_79":21504,"ignition":18,"odometer":null,"unknown_45":8372121365060263936}} 
[2026-08-08 18:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":150407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:39:13] local.INFO: GPS data processed {"connection_id":150407,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:39:13] local.INFO: Acknowledgment sent {"connection_id":150407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:39:31] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:39:31] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:39:31] local.INFO: IMEI packet received {"connection_id":153106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":153106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:39:33] local.INFO: TCP Data received {"connection_id":150683,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:39:33] local.INFO: Processing buffer {"connection_id":150683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:39:33] local.INFO: IMEI packet received {"connection_id":150683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":150683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:39:36] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:39:36] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:39:36] local.INFO: IMEI packet received {"connection_id":153106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":153106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:39:37] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17c94d0012d746c80062cd4180009005e0f..."} 
[2026-08-08 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17c94d0012d746c80062cd4180009005e0f..."} 
[2026-08-08 18:39:37] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17c94d0012d746c80062cd4180009005e0f..."} 
[2026-08-08 18:39:37] local.INFO: Packet analysis {"connection_id":153106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:39:37] local.INFO: Extracted packet for processing {"connection_id":153106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":762604672,"raw_latitude":103601176,"longitude_deg":76.2604672,"latitude_deg":10.3601176,"altitude":9,"angle":94,"satellites":15,"speed":16,"hex_longitude":"2d746c80","hex_latitude":"062cd418","is_valid_coordinates":true} 
[2026-08-08 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265778176001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116072156894330880,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8381691514267901952,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786194466000,"timestamp_ms":1786194466000,"timestamp_seconds":1786194466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17c94d0"} 
[2026-08-08 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265778176001,"66":13276,"22":206,"79":21504,"24":16,"16":116072156894330880,"45":8381691514267901952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,79,24,16,45]} 
[2026-08-08 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265778176001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116072156894330880,"km_value":116072156894330.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8381691514267901952,"description":"Unknown IO ID 45"} 
[2026-08-08 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265778176001,"power":13276,"unknown_22":206,"unknown_79":21504,"ignition":16,"odometer":null,"unknown_45":8381691514267901952}} 
[2026-08-08 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":153106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:39:37] local.INFO: GPS data processed {"connection_id":153106,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:39:37] local.INFO: Acknowledgment sent {"connection_id":153106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:39:38] local.INFO: TCP Data received {"connection_id":150683,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:39:38] local.INFO: Processing buffer {"connection_id":150683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:39:38] local.INFO: IMEI packet received {"connection_id":150683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":150683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:39:40] local.INFO: TCP Data received {"connection_id":150683,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17adf50012d196780071fee100035011a24..."} 
[2026-08-08 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17adf50012d196780071fee100035011a24..."} 
[2026-08-08 18:39:40] local.INFO: Processing buffer {"connection_id":150683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17adf50012d196780071fee100035011a24..."} 
[2026-08-08 18:39:40] local.INFO: Packet analysis {"connection_id":150683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:39:40] local.INFO: Extracted packet for processing {"connection_id":150683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17a"} 
[2026-08-08 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265749248001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194354000,"timestamp_ms":1786194354000,"timestamp_seconds":1786194354,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17adf50"} 
[2026-08-08 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-08-08 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265749248001,"66":11928,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265749248001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:39:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265749248001,"power":11928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":150683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:39:40] local.INFO: GPS data processed {"connection_id":150683,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:39:40] local.INFO: Acknowledgment sent {"connection_id":150683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:39:41] local.INFO: TCP Data received {"connection_id":151624,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17d0230012cf8c28007456d700069005b24..."} 
[2026-08-08 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17d0230012cf8c28007456d700069005b24..."} 
[2026-08-08 18:39:41] local.INFO: Processing buffer {"connection_id":151624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17d0230012cf8c28007456d700069005b24..."} 
[2026-08-08 18:39:41] local.INFO: Packet analysis {"connection_id":151624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:39:41] local.INFO: Extracted packet for processing {"connection_id":151624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:39:41] local.INFO: GPS Element Parsed {"raw_longitude":754500224,"raw_latitude":121990512,"longitude_deg":75.4500224,"latitude_deg":12.1990512,"altitude":105,"angle":91,"satellites":36,"speed":41,"hex_longitude":"2cf8c280","hex_latitude":"07456d70","is_valid_coordinates":true} 
[2026-08-08 18:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265789696001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375750780168175616,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-525232275312613376,"note":"Value kept but may cause issues"} 
[2026-08-08 18:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786194494000,"timestamp_ms":1786194494000,"timestamp_seconds":1786194494,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17d0230"} 
[2026-08-08 18:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:39: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-08-08 18:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265789696001,"66":27919,"91":206,"83":43520,"24":41,"16":375750780168175616,"44":-525232275312613376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,83,24,16,44]} 
[2026-08-08 18:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265789696001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:39:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375750780168175616,"km_value":375750780168175.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-525232275312613376,"description":"Unknown IO ID 44"} 
[2026-08-08 18:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265789696001,"power":27919,"unknown_91":206,"unknown_83":43520,"ignition":41,"odometer":null,"unknown_44":-525232275312613376}} 
[2026-08-08 18:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":151624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:39:41] local.INFO: GPS data processed {"connection_id":151624,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:39:41] local.INFO: Acknowledgment sent {"connection_id":151624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:04] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:04] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:04] local.INFO: IMEI packet received {"connection_id":150411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":150411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:40:08] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17e7548012d74d740062c5680000b00ba11..."} 
[2026-08-08 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17e7548012d74d740062c5680000b00ba11..."} 
[2026-08-08 18:40:08] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17e7548012d74d740062c5680000b00ba11..."} 
[2026-08-08 18:40:08] local.INFO: Packet analysis {"connection_id":153106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17e"} 
[2026-08-08 18:40:08] local.INFO: Extracted packet for processing {"connection_id":153106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17e"} 
[2026-08-08 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":762632000,"raw_latitude":103569024,"longitude_deg":76.2632,"latitude_deg":10.3569024,"altitude":11,"angle":186,"satellites":17,"speed":36,"hex_longitude":"2d74d740","hex_latitude":"062c5680","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265811968001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116075244975816704,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8419620267373623296,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786194589000,"timestamp_ms":1786194589000,"timestamp_seconds":1786194589,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17e7548"} 
[2026-08-08 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-08-08 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:40:08] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265811968001,"66":13646,"132":206,"79":21504,"24":36,"16":116075244975816704,"45":8419620267373623296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,79,24,16,45]} 
[2026-08-08 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265811968001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116075244975816704,"km_value":116075244975816.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8419620267373623296,"description":"Unknown IO ID 45"} 
[2026-08-08 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265811968001,"power":13646,"unknown_132":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":8419620267373623296}} 
[2026-08-08 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:08] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:08] local.INFO: IMEI packet received {"connection_id":150411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":150411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":153106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:08] local.INFO: GPS data processed {"connection_id":153106,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:08] local.INFO: Acknowledgment sent {"connection_id":153106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:09] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:09] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:40:09] local.INFO: IMEI packet received {"connection_id":150411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:40:09] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17d0a00012cf8ca4007456bf00067006a23..."} 
[2026-08-08 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17d0a00012cf8ca4007456bf00067006a23..."} 
[2026-08-08 18:40:10] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17d0a00012cf8ca4007456bf00067006a23..."} 
[2026-08-08 18:40:10] local.INFO: Packet analysis {"connection_id":150411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:40:10] local.INFO: Extracted packet for processing {"connection_id":150411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":754502208,"raw_latitude":121990128,"longitude_deg":75.4502208,"latitude_deg":12.1990128,"altitude":103,"angle":106,"satellites":35,"speed":40,"hex_longitude":"2cf8ca40","hex_latitude":"07456bf0","is_valid_coordinates":true} 
[2026-08-08 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265790464001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375750874657456128,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-521713838103629824,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194496000,"timestamp_ms":1786194496000,"timestamp_seconds":1786194496,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17d0a00"} 
[2026-08-08 18:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:40: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-08-08 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265790464001,"66":27865,"91":206,"83":43520,"24":40,"16":375750874657456128,"44":-521713838103629824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,83,24,16,44]} 
[2026-08-08 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265790464001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375750874657456128,"km_value":375750874657456.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-521713838103629824,"description":"Unknown IO ID 44"} 
[2026-08-08 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265790464001,"power":27865,"unknown_91":206,"unknown_83":43520,"ignition":40,"odometer":null,"unknown_44":-521713838103629824}} 
[2026-08-08 18:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":150411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:10] local.INFO: GPS data processed {"connection_id":150411,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:10] local.INFO: Acknowledgment sent {"connection_id":150411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:11] local.INFO: TCP Data received {"connection_id":150683,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17b3158012d196780071fee100035011a22..."} 
[2026-08-08 18:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17b3158012d196780071fee100035011a22..."} 
[2026-08-08 18:40:11] local.INFO: Processing buffer {"connection_id":150683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17b3158012d196780071fee100035011a22..."} 
[2026-08-08 18:40:11] local.INFO: Packet analysis {"connection_id":150683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:40:11] local.INFO: Extracted packet for processing {"connection_id":150683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265754624001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194375000,"timestamp_ms":1786194375000,"timestamp_seconds":1786194375,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17b3158"} 
[2026-08-08 18:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:11] 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-08-08 18:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265754624001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265754624001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265754624001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":150683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:12] local.INFO: GPS data processed {"connection_id":150683,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:12] local.INFO: Acknowledgment sent {"connection_id":150683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:15] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17d2170012cf8e000074564700069005a1f..."} 
[2026-08-08 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17d2170012cf8e000074564700069005a1f..."} 
[2026-08-08 18:40:15] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17d2170012cf8e000074564700069005a1f..."} 
[2026-08-08 18:40:15] local.INFO: Packet analysis {"connection_id":150411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:40:15] local.INFO: Extracted packet for processing {"connection_id":150411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:40:15] local.INFO: GPS Element Parsed {"raw_longitude":754507776,"raw_latitude":121988208,"longitude_deg":75.4507776,"latitude_deg":12.1988208,"altitude":105,"angle":90,"satellites":31,"speed":38,"hex_longitude":"2cf8e000","hex_latitude":"07456470","is_valid_coordinates":true} 
[2026-08-08 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265790976001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375751158125297664,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-519532407034220544,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786194502000,"timestamp_ms":1786194502000,"timestamp_seconds":1786194502,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17d2170"} 
[2026-08-08 18:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:40: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-08-08 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265790976001,"66":27974,"91":206,"83":43520,"24":38,"16":375751158125297664,"44":-519532407034220544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,83,24,16,44]} 
[2026-08-08 18:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265790976001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375751158125297664,"km_value":375751158125297.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-519532407034220544,"description":"Unknown IO ID 44"} 
[2026-08-08 18:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265790976001,"power":27974,"unknown_91":206,"unknown_83":43520,"ignition":38,"odometer":null,"unknown_44":-519532407034220544}} 
[2026-08-08 18:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":150411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:15] local.INFO: GPS data processed {"connection_id":150411,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:15] local.INFO: Acknowledgment sent {"connection_id":150411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:33] local.INFO: TCP Data received {"connection_id":150684,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:40:33] local.INFO: Processing buffer {"connection_id":150684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:40:33] local.INFO: IMEI packet received {"connection_id":150684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":150684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:40:38] local.INFO: TCP Data received {"connection_id":150684,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:40:38] local.INFO: Processing buffer {"connection_id":150684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:40:38] local.INFO: IMEI packet received {"connection_id":150684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":150684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:40:39] local.INFO: TCP Data received {"connection_id":150684,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17b8360012d196780071fee100035011a20..."} 
[2026-08-08 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17b8360012d196780071fee100035011a20..."} 
[2026-08-08 18:40:39] local.INFO: Processing buffer {"connection_id":150684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17b8360012d196780071fee100035011a20..."} 
[2026-08-08 18:40:39] local.INFO: Packet analysis {"connection_id":150684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:40:39] local.INFO: Extracted packet for processing {"connection_id":150684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265760000001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194396000,"timestamp_ms":1786194396000,"timestamp_seconds":1786194396,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17b8360"} 
[2026-08-08 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-08-08 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265760000001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265760000001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265760000001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":150684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:39] local.INFO: GPS data processed {"connection_id":150684,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:39] local.INFO: Acknowledgment sent {"connection_id":150684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:42] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17e9c58012d74d480062c3248000600bb11..."} 
[2026-08-08 18:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17e9c58012d74d480062c3248000600bb11..."} 
[2026-08-08 18:40:42] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17e9c58012d74d480062c3248000600bb11..."} 
[2026-08-08 18:40:42] local.INFO: Packet analysis {"connection_id":153106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17e"} 
[2026-08-08 18:40:42] local.INFO: Extracted packet for processing {"connection_id":153106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17e"} 
[2026-08-08 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":762631296,"raw_latitude":103559752,"longitude_deg":76.2631296,"latitude_deg":10.3559752,"altitude":6,"angle":187,"satellites":17,"speed":36,"hex_longitude":"2d74d480","hex_latitude":"062c3248","is_valid_coordinates":true} 
[2026-08-08 18:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265814784001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116075695947382784,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8419268423650279424,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786194599000,"timestamp_ms":1786194599000,"timestamp_seconds":1786194599,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17e9c58"} 
[2026-08-08 18:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265814784001,"66":13646,"132":206,"79":21504,"24":36,"16":116075695947382784,"45":8419268423650279424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,79,24,16,45]} 
[2026-08-08 18:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265814784001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:42] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-08 18:40:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116075695947382784,"km_value":116075695947382.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8419268423650279424,"description":"Unknown IO ID 45"} 
[2026-08-08 18:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265814784001,"power":13646,"unknown_132":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":8419268423650279424}} 
[2026-08-08 18:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":153106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:42] local.INFO: GPS data processed {"connection_id":153106,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:42] local.INFO: Acknowledgment sent {"connection_id":153106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:40:46] local.INFO: TCP Data received {"connection_id":150411,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17d2940012cf8e740074565500069004e20..."} 
[2026-08-08 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17d2940012cf8e740074565500069004e20..."} 
[2026-08-08 18:40:46] local.INFO: Processing buffer {"connection_id":150411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17d2940012cf8e740074565500069004e20..."} 
[2026-08-08 18:40:46] local.INFO: Packet analysis {"connection_id":150411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:40:46] local.INFO: Extracted packet for processing {"connection_id":150411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":754509632,"raw_latitude":121988432,"longitude_deg":75.4509632,"latitude_deg":12.1988432,"altitude":105,"angle":78,"satellites":32,"speed":35,"hex_longitude":"2cf8e740","hex_latitude":"07456550","is_valid_coordinates":true} 
[2026-08-08 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265792512001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375751248319610880,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-513410326291255296,"note":"Value kept but may cause issues"} 
[2026-08-08 18:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786194504000,"timestamp_ms":1786194504000,"timestamp_seconds":1786194504,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17d2940"} 
[2026-08-08 18:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265792512001,"66":27832,"91":206,"83":43520,"24":35,"16":375751248319610880,"44":-513410326291255296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,83,24,16,44]} 
[2026-08-08 18:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265792512001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:40:46] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375751248319610880,"km_value":375751248319610.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-513410326291255296,"description":"Unknown IO ID 44"} 
[2026-08-08 18:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265792512001,"power":27832,"unknown_91":206,"unknown_83":43520,"ignition":35,"odometer":null,"unknown_44":-513410326291255296}} 
[2026-08-08 18:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":150411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:40:46] local.INFO: GPS data processed {"connection_id":150411,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:40:46] local.INFO: Acknowledgment sent {"connection_id":150411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:41:04] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:04] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:04] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:41:04] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:04] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:04] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:41:09] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:09] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:41:09] local.INFO: IMEI packet received {"connection_id":151625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":151625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:41:11] local.INFO: TCP Data received {"connection_id":150684,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17bd568012d196780071fee100035011a22..."} 
[2026-08-08 18:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17bd568012d196780071fee100035011a22..."} 
[2026-08-08 18:41:11] local.INFO: Processing buffer {"connection_id":150684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17bd568012d196780071fee100035011a22..."} 
[2026-08-08 18:41:11] local.INFO: Packet analysis {"connection_id":150684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:41:11] local.INFO: Extracted packet for processing {"connection_id":150684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17b"} 
[2026-08-08 18:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265765376001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194417000,"timestamp_ms":1786194417000,"timestamp_seconds":1786194417,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17bd568"} 
[2026-08-08 18:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:41: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-08-08 18:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265765376001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265765376001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:41:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265765376001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":150684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:41:11] local.INFO: GPS data processed {"connection_id":150684,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:41:11] local.INFO: Acknowledgment sent {"connection_id":150684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:41:16] local.INFO: TCP Data received {"connection_id":153106,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17eb3c8012d74cf80062c1de8000900c611..."} 
[2026-08-08 18:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17eb3c8012d74cf80062c1de8000900c611..."} 
[2026-08-08 18:41:16] local.INFO: Processing buffer {"connection_id":153106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17eb3c8012d74cf80062c1de8000900c611..."} 
[2026-08-08 18:41:16] local.INFO: Packet analysis {"connection_id":153106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17e"} 
[2026-08-08 18:41:16] local.INFO: Extracted packet for processing {"connection_id":153106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17e"} 
[2026-08-08 18:41:16] local.INFO: GPS Element Parsed {"raw_longitude":762630016,"raw_latitude":103554536,"longitude_deg":76.2630016,"latitude_deg":10.3554536,"altitude":9,"angle":198,"satellites":17,"speed":35,"hex_longitude":"2d74cf80","hex_latitude":"062c1de8","is_valid_coordinates":true} 
[2026-08-08 18:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265817344001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116075957940387840,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8418494367461951488,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786194605000,"timestamp_ms":1786194605000,"timestamp_seconds":1786194605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17eb3c8"} 
[2026-08-08 18:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 18:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265817344001,"66":13526,"132":206,"79":21504,"24":35,"16":116075957940387840,"45":8418494367461951488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,79,24,16,45]} 
[2026-08-08 18:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265817344001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:41:16] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-08 18:41:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116075957940387840,"km_value":116075957940387.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8418494367461951488,"description":"Unknown IO ID 45"} 
[2026-08-08 18:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265817344001,"power":13526,"unknown_132":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8418494367461951488}} 
[2026-08-08 18:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":153106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:41:16] local.INFO: GPS data processed {"connection_id":153106,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:41:16] local.INFO: Acknowledgment sent {"connection_id":153106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:41:21] local.INFO: TCP Data received {"connection_id":151625,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17d5820012cf903c007456bd00074005b23..."} 
[2026-08-08 18:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17d5820012cf903c007456bd00074005b23..."} 
[2026-08-08 18:41:21] local.INFO: Processing buffer {"connection_id":151625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17d5820012cf903c007456bd00074005b23..."} 
[2026-08-08 18:41:21] local.INFO: Packet analysis {"connection_id":151625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:41:21] local.INFO: Extracted packet for processing {"connection_id":151625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:41:21] local.INFO: GPS Element Parsed {"raw_longitude":754516928,"raw_latitude":121990096,"longitude_deg":75.4516928,"latitude_deg":12.1990096,"altitude":116,"angle":91,"satellites":35,"speed":13,"hex_longitude":"2cf903c0","hex_latitude":"07456bd0","is_valid_coordinates":true} 
[2026-08-08 18:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265793024001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375751604801896448,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-511369632710045696,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786194516000,"timestamp_ms":1786194516000,"timestamp_seconds":1786194516,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17d5820"} 
[2026-08-08 18:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-08 18:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":151625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":151625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":151625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265793024001,"66":27908,"114":206,"83":43520,"24":13,"16":375751604801896448,"44":-511369632710045696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,83,24,16,44]} 
[2026-08-08 18:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265793024001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:41:21] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-08 18:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375751604801896448,"km_value":375751604801896.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-511369632710045696,"description":"Unknown IO ID 44"} 
[2026-08-08 18:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265793024001,"power":27908,"unknown_114":206,"unknown_83":43520,"ignition":13,"odometer":null,"unknown_44":-511369632710045696}} 
[2026-08-08 18:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":151625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:41:21] local.INFO: GPS data processed {"connection_id":151625,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:41:21] local.INFO: Acknowledgment sent {"connection_id":151625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:41:33] local.INFO: TCP Data received {"connection_id":150412,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:41:33] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:41:33] local.INFO: IMEI packet received {"connection_id":150412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":150412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:41:38] local.INFO: TCP Data received {"connection_id":150413,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:41:38] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:41:38] local.INFO: IMEI packet received {"connection_id":150413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":150413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:41:38] local.INFO: TCP Data received {"connection_id":150412,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:41:38] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:41:38] local.INFO: IMEI packet received {"connection_id":150412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":150412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:41:39] local.INFO: TCP Data received {"connection_id":150412,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17c2770012d196780071fee100035011a24..."} 
[2026-08-08 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17c2770012d196780071fee100035011a24..."} 
[2026-08-08 18:41:39] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17c2770012d196780071fee100035011a24..."} 
[2026-08-08 18:41:39] local.INFO: Packet analysis {"connection_id":150412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:41:39] local.INFO: Extracted packet for processing {"connection_id":150412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265770752001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194438000,"timestamp_ms":1786194438000,"timestamp_seconds":1786194438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17c2770"} 
[2026-08-08 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-08-08 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265770752001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265770752001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:41:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265770752001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":150412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:41:39] local.INFO: GPS data processed {"connection_id":150412,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:41:39] local.INFO: Acknowledgment sent {"connection_id":150412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:41:52] local.INFO: TCP Data received {"connection_id":150413,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:41:52] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:41:52] local.INFO: IMEI packet received {"connection_id":150413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":150413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:42:03] local.INFO: TCP Data received {"connection_id":150413,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17fb980012d74db00062b3fd80001008a12..."} 
[2026-08-08 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17fb980012d74db00062b3fd80001008a12..."} 
[2026-08-08 18:42:03] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17fb980012d74db00062b3fd80001008a12..."} 
[2026-08-08 18:42:03] local.INFO: Packet analysis {"connection_id":150413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:03] local.INFO: Extracted packet for processing {"connection_id":150413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762632960,"raw_latitude":103497688,"longitude_deg":76.263296,"latitude_deg":10.3497688,"altitude":1,"angle":138,"satellites":18,"speed":29,"hex_longitude":"2d74db00","hex_latitude":"062b3fd8","is_valid_coordinates":true} 
[2026-08-08 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265835520001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116078814093639680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8419338792376502272,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786194672000,"timestamp_ms":1786194672000,"timestamp_seconds":1786194672,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17fb980"} 
[2026-08-08 18:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 18:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":150413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":150413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":150413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265835520001,"66":13537,"157":206,"79":21504,"24":29,"16":116078814093639680,"45":8419338792376502272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265835520001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116078814093639680,"km_value":116078814093639.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8419338792376502272,"description":"Unknown IO ID 45"} 
[2026-08-08 18:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265835520001,"power":13537,"unknown_157":206,"unknown_79":21504,"ignition":29,"odometer":null,"unknown_45":8419338792376502272}} 
[2026-08-08 18:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":150413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:03] local.INFO: GPS data processed {"connection_id":150413,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:03] local.INFO: Acknowledgment sent {"connection_id":150413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:42:03] local.INFO: TCP Data received {"connection_id":150413,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17fc150012d74df80062b3ca80002007c12..."} 
[2026-08-08 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17fc150012d74df80062b3ca80002007c12..."} 
[2026-08-08 18:42:03] local.INFO: Processing buffer {"connection_id":150413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17fc150012d74df80062b3ca80002007c12..."} 
[2026-08-08 18:42:03] local.INFO: Packet analysis {"connection_id":150413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:03] local.INFO: Extracted packet for processing {"connection_id":150413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762634112,"raw_latitude":103496872,"longitude_deg":76.2634112,"latitude_deg":10.3496872,"altitude":2,"angle":124,"satellites":18,"speed":28,"hex_longitude":"2d74df80","hex_latitude":"062b3ca8","is_valid_coordinates":true} 
[2026-08-08 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265836032001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116078878518149120,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8420323954794682368,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1786194674000,"timestamp_ms":1786194674000,"timestamp_seconds":1786194674,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17fc150"} 
[2026-08-08 18:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-08 18:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":150413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":150413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":150413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265836032001,"66":13037,"157":206,"79":21504,"24":28,"16":116078878518149120,"45":8420323954794682368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 18:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265836032001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116078878518149120,"km_value":116078878518149.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8420323954794682368,"description":"Unknown IO ID 45"} 
[2026-08-08 18:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265836032001,"power":13037,"unknown_157":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8420323954794682368}} 
[2026-08-08 18:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":150413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:03] local.INFO: GPS data processed {"connection_id":150413,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:03] local.INFO: Acknowledgment sent {"connection_id":150413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:42:07] local.INFO: TCP Data received {"connection_id":150414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:07] local.INFO: Processing buffer {"connection_id":150414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:07] local.INFO: IMEI packet received {"connection_id":150414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":150414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:42:09] local.INFO: TCP Data received {"connection_id":150414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:09] local.INFO: Processing buffer {"connection_id":150414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:09] local.INFO: IMEI packet received {"connection_id":150414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":150414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:42:10] local.INFO: TCP Data received {"connection_id":150412,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17c7978012d196780071fee100035011a24..."} 
[2026-08-08 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17c7978012d196780071fee100035011a24..."} 
[2026-08-08 18:42:10] local.INFO: Processing buffer {"connection_id":150412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17c7978012d196780071fee100035011a24..."} 
[2026-08-08 18:42:10] local.INFO: Packet analysis {"connection_id":150412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:42:10] local.INFO: Extracted packet for processing {"connection_id":150412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265776128001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194459000,"timestamp_ms":1786194459000,"timestamp_seconds":1786194459,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17c7978"} 
[2026-08-08 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42: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-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:42: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-08-08 18:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265776128001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265776128001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265776128001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":150412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:11] local.INFO: GPS data processed {"connection_id":150412,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:11] local.INFO: Acknowledgment sent {"connection_id":150412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:42:14] local.INFO: TCP Data received {"connection_id":150414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:14] local.INFO: Processing buffer {"connection_id":150414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:42:14] local.INFO: IMEI packet received {"connection_id":150414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":150414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:42:15] local.INFO: TCP Data received {"connection_id":150414,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17f7ee8012cfad18007454c180085009f26..."} 
[2026-08-08 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17f7ee8012cfad18007454c180085009f26..."} 
[2026-08-08 18:42:15] local.INFO: Processing buffer {"connection_id":150414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17f7ee8012cfad18007454c180085009f26..."} 
[2026-08-08 18:42:15] local.INFO: Packet analysis {"connection_id":150414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:15] local.INFO: Extracted packet for processing {"connection_id":150414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":754635136,"raw_latitude":121981976,"longitude_deg":75.4635136,"latitude_deg":12.1981976,"altitude":133,"angle":159,"satellites":38,"speed":40,"hex_longitude":"2cfad180","hex_latitude":"07454c18","is_valid_coordinates":true} 
[2026-08-08 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265829120001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375757518971863040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-377809756260452352,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786194657000,"timestamp_ms":1786194657000,"timestamp_seconds":1786194657,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17f7ee8"} 
[2026-08-08 18:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42: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-08-08 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 18:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265829120001,"66":27876,"113":206,"83":43520,"24":40,"16":375757518971863040,"44":-377809756260452352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,83,24,16,44]} 
[2026-08-08 18:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265829120001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 18:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375757518971863040,"km_value":375757518971863.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-377809756260452352,"description":"Unknown IO ID 44"} 
[2026-08-08 18:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265829120001,"power":27876,"unknown_113":206,"unknown_83":43520,"ignition":40,"odometer":null,"unknown_44":-377809756260452352}} 
[2026-08-08 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":150414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:15] local.INFO: GPS data processed {"connection_id":150414,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:15] local.INFO: Acknowledgment sent {"connection_id":150414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:42:31] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:42:31] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:42:31] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:42:33] local.INFO: TCP Data received {"connection_id":153107,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:42:33] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:42:33] local.INFO: IMEI packet received {"connection_id":153107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":153107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:42:36] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:42:36] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:42:36] local.INFO: IMEI packet received {"connection_id":151626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":151626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:42:36] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17fc920012d74e540062b3ab80003006c12..."} 
[2026-08-08 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17fc920012d74e540062b3ab80003006c12..."} 
[2026-08-08 18:42:36] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17fc920012d74e540062b3ab80003006c12..."} 
[2026-08-08 18:42:36] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:36] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":762635584,"raw_latitude":103496376,"longitude_deg":76.2635584,"latitude_deg":10.3496376,"altitude":3,"angle":108,"satellites":18,"speed":32,"hex_longitude":"2d74e540","hex_latitude":"062b3ab8","is_valid_coordinates":true} 
[2026-08-08 18:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265836544001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116078951532593152,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8421590592189671424,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786194676000,"timestamp_ms":1786194676000,"timestamp_seconds":1786194676,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17fc920"} 
[2026-08-08 18:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-08 18:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265836544001,"66":12906,"157":206,"79":21504,"24":32,"16":116078951532593152,"45":8421590592189671424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 18:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265836544001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 18:42:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116078951532593152,"km_value":116078951532593.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8421590592189671424,"description":"Unknown IO ID 45"} 
[2026-08-08 18:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265836544001,"power":12906,"unknown_157":206,"unknown_79":21504,"ignition":32,"odometer":null,"unknown_45":8421590592189671424}} 
[2026-08-08 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:37] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:37] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:42:38] local.INFO: TCP Data received {"connection_id":153107,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:42:38] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:42:38] local.INFO: IMEI packet received {"connection_id":153107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":153107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:42:40] local.INFO: TCP Data received {"connection_id":153107,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17ccb80012d196780071fee100035011a25..."} 
[2026-08-08 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17ccb80012d196780071fee100035011a25..."} 
[2026-08-08 18:42:40] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17ccb80012d196780071fee100035011a25..."} 
[2026-08-08 18:42:40] local.INFO: Packet analysis {"connection_id":153107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:42:40] local.INFO: Extracted packet for processing {"connection_id":153107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17c"} 
[2026-08-08 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265781504001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194480000,"timestamp_ms":1786194480000,"timestamp_seconds":1786194480,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17ccb80"} 
[2026-08-08 18:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265781504001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265781504001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265781504001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":153107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:40] local.INFO: GPS data processed {"connection_id":153107,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:40] local.INFO: Acknowledgment sent {"connection_id":153107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:42:46] local.INFO: TCP Data received {"connection_id":150414,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17fa5f8012cfadd80074528c8007d00a622..."} 
[2026-08-08 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17fa5f8012cfadd80074528c8007d00a622..."} 
[2026-08-08 18:42:46] local.INFO: Processing buffer {"connection_id":150414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17fa5f8012cfadd80074528c8007d00a622..."} 
[2026-08-08 18:42:46] local.INFO: Packet analysis {"connection_id":150414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:46] local.INFO: Extracted packet for processing {"connection_id":150414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:42:46] local.INFO: GPS Element Parsed {"raw_longitude":754638208,"raw_latitude":121972936,"longitude_deg":75.4638208,"latitude_deg":12.1972936,"altitude":125,"angle":166,"satellites":34,"speed":40,"hex_longitude":"2cfadd80","hex_latitude":"074528c8","is_valid_coordinates":true} 
[2026-08-08 18:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265832192001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375757978533363712,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-373376525379299328,"note":"Value kept but may cause issues"} 
[2026-08-08 18:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786194667000,"timestamp_ms":1786194667000,"timestamp_seconds":1786194667,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17fa5f8"} 
[2026-08-08 18:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 18:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265832192001,"66":27745,"113":206,"83":43520,"24":40,"16":375757978533363712,"44":-373376525379299328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,83,24,16,44]} 
[2026-08-08 18:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265832192001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:42:46] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 18:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375757978533363712,"km_value":375757978533363.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-373376525379299328,"description":"Unknown IO ID 44"} 
[2026-08-08 18:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265832192001,"power":27745,"unknown_113":206,"unknown_83":43520,"ignition":40,"odometer":null,"unknown_44":-373376525379299328}} 
[2026-08-08 18:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":150414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:42:46] local.INFO: GPS data processed {"connection_id":150414,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:42:46] local.INFO: Acknowledgment sent {"connection_id":150414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:04] local.INFO: TCP Data received {"connection_id":150685,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:43:04] local.INFO: Processing buffer {"connection_id":150685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:43:04] local.INFO: IMEI packet received {"connection_id":150685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":150685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:43:08] local.INFO: TCP Data received {"connection_id":151626,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe180f9d0012d754400062a4740000500b612..."} 
[2026-08-08 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe180f9d0012d754400062a4740000500b612..."} 
[2026-08-08 18:43:08] local.INFO: Processing buffer {"connection_id":151626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe180f9d0012d754400062a4740000500b612..."} 
[2026-08-08 18:43:08] local.INFO: Packet analysis {"connection_id":151626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe180"} 
[2026-08-08 18:43:08] local.INFO: Extracted packet for processing {"connection_id":151626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe180"} 
[2026-08-08 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":762659840,"raw_latitude":103434048,"longitude_deg":76.265984,"latitude_deg":10.3434048,"altitude":5,"angle":182,"satellites":18,"speed":43,"hex_longitude":"2d754400","hex_latitude":"062a4740","is_valid_coordinates":true} 
[2026-08-08 18:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265854720001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116082615139696640,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8450019564823914496,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786194754000,"timestamp_ms":1786194754000,"timestamp_seconds":1786194754,"priority":1,"record_length":96,"hex_timestamp":"0000019fe180f9d0"} 
[2026-08-08 18:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-08 18:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265854720001,"66":13656,"203":206,"79":21504,"24":43,"16":116082615139696640,"45":8450019564823914496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,79,24,16,45]} 
[2026-08-08 18:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265854720001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116082615139696640,"km_value":116082615139696.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8450019564823914496,"description":"Unknown IO ID 45"} 
[2026-08-08 18:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265854720001,"power":13656,"mnc":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":8450019564823914496}} 
[2026-08-08 18:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":151626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:08] local.INFO: GPS data processed {"connection_id":151626,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:08] local.INFO: Acknowledgment sent {"connection_id":151626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:09] local.INFO: TCP Data received {"connection_id":150685,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:43:09] local.INFO: Processing buffer {"connection_id":150685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:43:09] local.INFO: IMEI packet received {"connection_id":150685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":150685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:43:10] local.INFO: TCP Data received {"connection_id":150685,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17fb1b0012cfadf4007451e28007d00b221..."} 
[2026-08-08 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17fb1b0012cfadf4007451e28007d00b221..."} 
[2026-08-08 18:43:10] local.INFO: Processing buffer {"connection_id":150685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17fb1b0012cfadf4007451e28007d00b221..."} 
[2026-08-08 18:43:10] local.INFO: Packet analysis {"connection_id":150685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:43:10] local.INFO: Extracted packet for processing {"connection_id":150685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17f"} 
[2026-08-08 18:43:10] local.INFO: GPS Element Parsed {"raw_longitude":754638656,"raw_latitude":121970216,"longitude_deg":75.4638656,"latitude_deg":12.1970216,"altitude":125,"angle":178,"satellites":33,"speed":32,"hex_longitude":"2cfadf40","hex_latitude":"07451e28","is_valid_coordinates":true} 
[2026-08-08 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265834752001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375758111677349888,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-369998825661085696,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194670000,"timestamp_ms":1786194670000,"timestamp_seconds":1786194670,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17fb1b0"} 
[2026-08-08 18:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43: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-08-08 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265834752001,"66":27713,"113":206,"83":43520,"24":32,"16":375758111677349888,"44":-369998825661085696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,83,24,16,44]} 
[2026-08-08 18:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265834752001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 18:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375758111677349888,"km_value":375758111677349.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-369998825661085696,"description":"Unknown IO ID 44"} 
[2026-08-08 18:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265834752001,"power":27713,"unknown_113":206,"unknown_83":43520,"ignition":32,"odometer":null,"unknown_44":-369998825661085696}} 
[2026-08-08 18:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":150685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:10] local.INFO: GPS data processed {"connection_id":150685,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:10] local.INFO: Acknowledgment sent {"connection_id":150685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:11] local.INFO: TCP Data received {"connection_id":153107,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe17d1d88012d196780071fee100035011a26..."} 
[2026-08-08 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe17d1d88012d196780071fee100035011a26..."} 
[2026-08-08 18:43:11] local.INFO: Processing buffer {"connection_id":153107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe17d1d88012d196780071fee100035011a26..."} 
[2026-08-08 18:43:11] local.INFO: Packet analysis {"connection_id":153107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:43:11] local.INFO: Extracted packet for processing {"connection_id":153107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe17d"} 
[2026-08-08 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265786880001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194501000,"timestamp_ms":1786194501000,"timestamp_seconds":1786194501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe17d1d88"} 
[2026-08-08 18:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265786880001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265786880001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265786880001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":153107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:11] local.INFO: GPS data processed {"connection_id":153107,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:11] local.INFO: Acknowledgment sent {"connection_id":153107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:31] local.INFO: TCP Data received {"connection_id":150686,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:43:31] local.INFO: Processing buffer {"connection_id":150686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:43:31] local.INFO: IMEI packet received {"connection_id":150686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":150686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:43:36] local.INFO: TCP Data received {"connection_id":150686,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:43:36] local.INFO: Processing buffer {"connection_id":150686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:43:36] local.INFO: IMEI packet received {"connection_id":150686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":150686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:43:37] local.INFO: TCP Data received {"connection_id":150686,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18120e0012d754300062a2258000400b011..."} 
[2026-08-08 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18120e0012d754300062a2258000400b011..."} 
[2026-08-08 18:43:37] local.INFO: Processing buffer {"connection_id":150686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18120e0012d754300062a2258000400b011..."} 
[2026-08-08 18:43:37] local.INFO: Packet analysis {"connection_id":150686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:43:37] local.INFO: Extracted packet for processing {"connection_id":150686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":762659584,"raw_latitude":103424600,"longitude_deg":76.2659584,"latitude_deg":10.34246,"altitude":4,"angle":176,"satellites":17,"speed":29,"hex_longitude":"2d754300","hex_latitude":"062a2258","is_valid_coordinates":true} 
[2026-08-08 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265857024001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116083074701197312,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449878827333009408,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786194764000,"timestamp_ms":1786194764000,"timestamp_seconds":1786194764,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18120e0"} 
[2026-08-08 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43: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-08-08 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 18:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265857024001,"66":13189,"201":206,"79":21504,"24":29,"16":116083074701197312,"45":8449878827333009408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265857024001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116083074701197312,"km_value":116083074701197.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449878827333009408,"description":"Unknown IO ID 45"} 
[2026-08-08 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265857024001,"power":13189,"unknown_201":206,"unknown_79":21504,"ignition":29,"odometer":null,"unknown_45":8449878827333009408}} 
[2026-08-08 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":150686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:37] local.INFO: GPS data processed {"connection_id":150686,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:37] local.INFO: Acknowledgment sent {"connection_id":150686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:38] local.INFO: TCP Data received {"connection_id":151627,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:43:38] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:43:38] local.INFO: IMEI packet received {"connection_id":151627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":151627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:43:41] local.INFO: TCP Data received {"connection_id":150685,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18128b0012cfb5e8007440520005700bd25..."} 
[2026-08-08 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18128b0012cfb5e8007440520005700bd25..."} 
[2026-08-08 18:43:41] local.INFO: Processing buffer {"connection_id":150685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18128b0012cfb5e8007440520005700bd25..."} 
[2026-08-08 18:43:41] local.INFO: Packet analysis {"connection_id":150685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:43:41] local.INFO: Extracted packet for processing {"connection_id":150685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":754671232,"raw_latitude":121898272,"longitude_deg":75.4671232,"latitude_deg":12.1898272,"altitude":87,"angle":189,"satellites":37,"speed":39,"hex_longitude":"2cfb5e80","hex_latitude":"07440520","is_valid_coordinates":true} 
[2026-08-08 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265858304001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375762161831510016,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-331929335078686720,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786194766000,"timestamp_ms":1786194766000,"timestamp_seconds":1786194766,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18128b0"} 
[2026-08-08 18:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43: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-08-08 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 18:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265858304001,"66":27821,"250":206,"83":43520,"24":39,"16":375762161831510016,"44":-331929335078686720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,83,24,16,44]} 
[2026-08-08 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265858304001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-08 18:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375762161831510016,"km_value":375762161831510.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-331929335078686720,"description":"Unknown IO ID 44"} 
[2026-08-08 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265858304001,"power":27821,"unknown_250":206,"unknown_83":43520,"ignition":39,"odometer":null,"unknown_44":-331929335078686720}} 
[2026-08-08 18:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":150685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:41] local.INFO: GPS data processed {"connection_id":150685,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:41] local.INFO: Acknowledgment sent {"connection_id":150685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:43] local.INFO: TCP Data received {"connection_id":151627,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:43:43] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:43:43] local.INFO: IMEI packet received {"connection_id":151627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":151627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:43:44] local.INFO: TCP Data received {"connection_id":151627,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe180a3e0012d196780071fee100035011a23..."} 
[2026-08-08 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe180a3e0012d196780071fee100035011a23..."} 
[2026-08-08 18:43:44] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe180a3e0012d196780071fee100035011a23..."} 
[2026-08-08 18:43:44] local.INFO: Packet analysis {"connection_id":151627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe180"} 
[2026-08-08 18:43:44] local.INFO: Extracted packet for processing {"connection_id":151627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe180"} 
[2026-08-08 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265846016001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786194732000,"timestamp_ms":1786194732000,"timestamp_seconds":1786194732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe180a3e0"} 
[2026-08-08 18:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":151627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":151627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":151627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265846016001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265846016001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265846016001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":151627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:45] local.INFO: GPS data processed {"connection_id":151627,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:45] local.INFO: Acknowledgment sent {"connection_id":151627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:43:49] local.INFO: TCP Data received {"connection_id":151627,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe180f5e8012d196780071fee100035011a27..."} 
[2026-08-08 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe180f5e8012d196780071fee100035011a27..."} 
[2026-08-08 18:43:49] local.INFO: Processing buffer {"connection_id":151627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe180f5e8012d196780071fee100035011a27..."} 
[2026-08-08 18:43:49] local.INFO: Packet analysis {"connection_id":151627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe180"} 
[2026-08-08 18:43:49] local.INFO: Extracted packet for processing {"connection_id":151627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe180"} 
[2026-08-08 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265851392001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786194753000,"timestamp_ms":1786194753000,"timestamp_seconds":1786194753,"priority":1,"record_length":96,"hex_timestamp":"0000019fe180f5e8"} 
[2026-08-08 18:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:43: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-08-08 18:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265851392001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265851392001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:43:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:43:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265851392001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":151627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:43:50] local.INFO: GPS data processed {"connection_id":151627,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:43:50] local.INFO: Acknowledgment sent {"connection_id":151627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:44:02] local.INFO: TCP Data received {"connection_id":150687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:02] local.INFO: Processing buffer {"connection_id":150687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:02] local.INFO: IMEI packet received {"connection_id":150687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":150687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:44:03] local.INFO: TCP Data received {"connection_id":150687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:03] local.INFO: Processing buffer {"connection_id":150687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:03] local.INFO: IMEI packet received {"connection_id":150687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":150687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:44:04] local.INFO: TCP Data received {"connection_id":150687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:04] local.INFO: Processing buffer {"connection_id":150687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:04] local.INFO: IMEI packet received {"connection_id":150687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":150687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:44:04] local.INFO: TCP Data received {"connection_id":150687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:04] local.INFO: Processing buffer {"connection_id":150687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:44:04] local.INFO: IMEI packet received {"connection_id":150687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":150687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:44:08] local.INFO: TCP Data received {"connection_id":150686,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1814408012d754440062a15d8000300a311..."} 
[2026-08-08 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1814408012d754440062a15d8000300a311..."} 
[2026-08-08 18:44:08] local.INFO: Processing buffer {"connection_id":150686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1814408012d754440062a15d8000300a311..."} 
[2026-08-08 18:44:08] local.INFO: Packet analysis {"connection_id":150686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:44:08] local.INFO: Extracted packet for processing {"connection_id":150686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":762659904,"raw_latitude":103421400,"longitude_deg":76.2659904,"latitude_deg":10.34214,"altitude":3,"angle":163,"satellites":17,"speed":6,"hex_longitude":"2d754440","hex_latitude":"062a15d8","is_valid_coordinates":true} 
[2026-08-08 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265859584001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116083229320019968,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449597352353880064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786194773000,"timestamp_ms":1786194773000,"timestamp_seconds":1786194773,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1814408"} 
[2026-08-08 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-08 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265859584001,"66":12961,"201":206,"79":21504,"24":6,"16":116083229320019968,"45":8449597352353880064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265859584001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116083229320019968,"km_value":116083229320019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449597352353880064,"description":"Unknown IO ID 45"} 
[2026-08-08 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265859584001,"power":12961,"unknown_201":206,"unknown_79":21504,"ignition":6,"odometer":null,"unknown_45":8449597352353880064}} 
[2026-08-08 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":150686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:44:08] local.INFO: GPS data processed {"connection_id":150686,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:44:08] local.INFO: Acknowledgment sent {"connection_id":150686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:44:31] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:44:31] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:44:31] local.INFO: IMEI packet received {"connection_id":153108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":153108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:44:33] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:44:33] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:44:33] local.INFO: IMEI packet received {"connection_id":150415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":150415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:44:35] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:44:35] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:44:35] local.INFO: IMEI packet received {"connection_id":150415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":150415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:44:35] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:44:35] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:44:35] local.INFO: IMEI packet received {"connection_id":153108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":153108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:44:36] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18147f0012d196780071fee100035011a27..."} 
[2026-08-08 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18147f0012d196780071fee100035011a27..."} 
[2026-08-08 18:44:36] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18147f0012d196780071fee100035011a27..."} 
[2026-08-08 18:44:36] local.INFO: Packet analysis {"connection_id":150415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:44:36] local.INFO: Extracted packet for processing {"connection_id":150415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265856768001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44: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-08-08 18:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786194774000,"timestamp_ms":1786194774000,"timestamp_seconds":1786194774,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18147f0"} 
[2026-08-08 18:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:44: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-08-08 18:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265856768001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265856768001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265856768001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:44:36] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1827c88012d760500062a1cd80000009813..."} 
[2026-08-08 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1827c88012d760500062a1cd80000009813..."} 
[2026-08-08 18:44:36] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1827c88012d760500062a1cd80000009813..."} 
[2026-08-08 18:44:36] local.INFO: Packet analysis {"connection_id":153108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:44:36] local.INFO: Extracted packet for processing {"connection_id":153108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":762709248,"raw_latitude":103423192,"longitude_deg":76.2709248,"latitude_deg":10.3423192,"altitude":0,"angle":152,"satellites":19,"speed":46,"hex_longitude":"2d760500","hex_latitude":"062a1cd8","is_valid_coordinates":true} 
[2026-08-08 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265881600001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116085896494710784,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8502233172999192576,"note":"Value kept but may cause issues"} 
[2026-08-08 18:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786194853000,"timestamp_ms":1786194853000,"timestamp_seconds":1786194853,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1827c88"} 
[2026-08-08 18:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 18:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265881600001,"66":13526,"201":206,"79":21504,"24":46,"16":116085896494710784,"45":8502233172999192576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 18:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265881600001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116085896494710784,"km_value":116085896494710.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8502233172999192576,"description":"Unknown IO ID 45"} 
[2026-08-08 18:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265881600001,"power":13526,"unknown_201":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8502233172999192576}} 
[2026-08-08 18:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":153108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:44:36] local.INFO: GPS data processed {"connection_id":153108,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:44:36] local.INFO: Acknowledgment sent {"connection_id":153108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":150415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:44:36] local.INFO: GPS data processed {"connection_id":150415,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:44:36] local.INFO: Acknowledgment sent {"connection_id":150415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:45:07] local.INFO: TCP Data received {"connection_id":153108,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe182a780012d7612c00629fc080000009a13..."} 
[2026-08-08 18:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe182a780012d7612c00629fc080000009a13..."} 
[2026-08-08 18:45:07] local.INFO: Processing buffer {"connection_id":153108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe182a780012d7612c00629fc080000009a13..."} 
[2026-08-08 18:45:07] local.INFO: Packet analysis {"connection_id":153108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:45:07] local.INFO: Extracted packet for processing {"connection_id":153108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:45:07] local.INFO: GPS Element Parsed {"raw_longitude":762712768,"raw_latitude":103414792,"longitude_deg":76.2712768,"latitude_deg":10.3414792,"altitude":0,"angle":154,"satellites":19,"speed":12,"hex_longitude":"2d7612c0","hex_latitude":"0629fc08","is_valid_coordinates":true} 
[2026-08-08 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265882368001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116086338876342272,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8504203497835386880,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786194864000,"timestamp_ms":1786194864000,"timestamp_seconds":1786194864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe182a780"} 
[2026-08-08 18:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:45: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-08-08 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-08 18:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":153108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":153108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":153108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265882368001,"66":13537,"201":206,"79":21504,"24":12,"16":116086338876342272,"45":8504203497835386880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 18:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265882368001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:45:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 18:45:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116086338876342272,"km_value":116086338876342.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8504203497835386880,"description":"Unknown IO ID 45"} 
[2026-08-08 18:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265882368001,"power":13537,"unknown_201":206,"unknown_79":21504,"ignition":12,"odometer":null,"unknown_45":8504203497835386880}} 
[2026-08-08 18:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":153108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:45:07] local.INFO: GPS data processed {"connection_id":153108,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:45:07] local.INFO: Acknowledgment sent {"connection_id":153108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:45:08] local.INFO: TCP Data received {"connection_id":150415,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18199f8012d196780071fee100035011a26..."} 
[2026-08-08 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18199f8012d196780071fee100035011a26..."} 
[2026-08-08 18:45:08] local.INFO: Processing buffer {"connection_id":150415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18199f8012d196780071fee100035011a26..."} 
[2026-08-08 18:45:08] local.INFO: Packet analysis {"connection_id":150415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:45:08] local.INFO: Extracted packet for processing {"connection_id":150415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265862144001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45: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-08-08 18:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786194795000,"timestamp_ms":1786194795000,"timestamp_seconds":1786194795,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18199f8"} 
[2026-08-08 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-08-08 18:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:45: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-08-08 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-08-08 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-08-08 18:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265862144001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265862144001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265862144001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":150415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:45:08] local.INFO: GPS data processed {"connection_id":150415,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:45:08] local.INFO: Acknowledgment sent {"connection_id":150415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:45:33] local.INFO: TCP Data received {"connection_id":150689,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:45:33] local.INFO: Processing buffer {"connection_id":150689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:45:33] local.INFO: IMEI packet received {"connection_id":150689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":150689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:45:39] local.INFO: TCP Data received {"connection_id":150689,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:45:39] local.INFO: Processing buffer {"connection_id":150689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:45:39] local.INFO: IMEI packet received {"connection_id":150689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":150689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:45:40] local.INFO: TCP Data received {"connection_id":150689,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe181ec00012d196780071fee100035011a26..."} 
[2026-08-08 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe181ec00012d196780071fee100035011a26..."} 
[2026-08-08 18:45:40] local.INFO: Processing buffer {"connection_id":150689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe181ec00012d196780071fee100035011a26..."} 
[2026-08-08 18:45:40] local.INFO: Packet analysis {"connection_id":150689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:45:40] local.INFO: Extracted packet for processing {"connection_id":150689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe181"} 
[2026-08-08 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265867520001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194816000,"timestamp_ms":1786194816000,"timestamp_seconds":1786194816,"priority":1,"record_length":96,"hex_timestamp":"0000019fe181ec00"} 
[2026-08-08 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265867520001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265867520001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:45:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:45:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265867520001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":150689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:45:40] local.INFO: GPS data processed {"connection_id":150689,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:45:40] local.INFO: Acknowledgment sent {"connection_id":150689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:45:41] local.INFO: TCP Data received {"connection_id":150416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:45:41] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:45:41] local.INFO: IMEI packet received {"connection_id":150416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":150416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:45:47] local.INFO: TCP Data received {"connection_id":150416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:45:47] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:45:47] local.INFO: IMEI packet received {"connection_id":150416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":150416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:45:48] local.INFO: TCP Data received {"connection_id":150416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe182ce90012d761ac00629ea800000008c13..."} 
[2026-08-08 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe182ce90012d761ac00629ea800000008c13..."} 
[2026-08-08 18:45:48] local.INFO: Processing buffer {"connection_id":150416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe182ce90012d761ac00629ea800000008c13..."} 
[2026-08-08 18:45:48] local.INFO: Packet analysis {"connection_id":150416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:45:48] local.INFO: Extracted packet for processing {"connection_id":150416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:45:48] local.INFO: GPS Element Parsed {"raw_longitude":762714816,"raw_latitude":103410304,"longitude_deg":76.2714816,"latitude_deg":10.3410304,"altitude":0,"angle":140,"satellites":19,"speed":25,"hex_longitude":"2d761ac0","hex_latitude":"0629ea80","is_valid_coordinates":true} 
[2026-08-08 18:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265885184001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116086579394510848,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8508073778763008000,"note":"Value kept but may cause issues"} 
[2026-08-08 18:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786194874000,"timestamp_ms":1786194874000,"timestamp_seconds":1786194874,"priority":1,"record_length":96,"hex_timestamp":"0000019fe182ce90"} 
[2026-08-08 18:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-08 18:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265885184001,"66":13515,"201":206,"79":21504,"24":25,"16":116086579394510848,"45":8508073778763008000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-08-08 18:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265885184001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116086579394510848,"km_value":116086579394510.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8508073778763008000,"description":"Unknown IO ID 45"} 
[2026-08-08 18:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265885184001,"power":13515,"unknown_201":206,"unknown_79":21504,"ignition":25,"odometer":null,"unknown_45":8508073778763008000}} 
[2026-08-08 18:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":150416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:45:48] local.INFO: GPS data processed {"connection_id":150416,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:45:48] local.INFO: Acknowledgment sent {"connection_id":150416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:46:11] local.INFO: TCP Data received {"connection_id":150689,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1823e08012d196780071fee100035011a27..."} 
[2026-08-08 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1823e08012d196780071fee100035011a27..."} 
[2026-08-08 18:46:11] local.INFO: Processing buffer {"connection_id":150689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1823e08012d196780071fee100035011a27..."} 
[2026-08-08 18:46:11] local.INFO: Packet analysis {"connection_id":150689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:46:11] local.INFO: Extracted packet for processing {"connection_id":150689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265872896001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194837000,"timestamp_ms":1786194837000,"timestamp_seconds":1786194837,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1823e08"} 
[2026-08-08 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265872896001,"66":11928,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265872896001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:46:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265872896001,"power":11928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":150689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:46:11] local.INFO: GPS data processed {"connection_id":150689,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:46:11] local.INFO: Acknowledgment sent {"connection_id":150689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:46:31] local.INFO: TCP Data received {"connection_id":150417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:46:31] local.INFO: Processing buffer {"connection_id":150417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:46:31] local.INFO: IMEI packet received {"connection_id":150417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":150417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:46:33] local.INFO: TCP Data received {"connection_id":150690,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:46:33] local.INFO: Processing buffer {"connection_id":150690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:46:33] local.INFO: IMEI packet received {"connection_id":150690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":150690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:46:36] local.INFO: TCP Data received {"connection_id":150417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:46:36] local.INFO: Processing buffer {"connection_id":150417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:46:36] local.INFO: IMEI packet received {"connection_id":150417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:46:38] local.INFO: TCP Data received {"connection_id":150690,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:46:38] local.INFO: Processing buffer {"connection_id":150690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:46:38] local.INFO: IMEI packet received {"connection_id":150690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":150690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:46:39] local.INFO: TCP Data received {"connection_id":150690,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1829010012d196780071fee100035011a26..."} 
[2026-08-08 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1829010012d196780071fee100035011a26..."} 
[2026-08-08 18:46:39] local.INFO: Processing buffer {"connection_id":150690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1829010012d196780071fee100035011a26..."} 
[2026-08-08 18:46:39] local.INFO: Packet analysis {"connection_id":150690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:46:39] local.INFO: Extracted packet for processing {"connection_id":150690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265878272001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194858000,"timestamp_ms":1786194858000,"timestamp_seconds":1786194858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1829010"} 
[2026-08-08 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 18:46:39] 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-08-08 18: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-08-08 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265878272001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265878272001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265878272001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":150690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:46:39] local.INFO: GPS data processed {"connection_id":150690,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:46:39] local.INFO: Acknowledgment sent {"connection_id":150690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:46:39] local.INFO: TCP Data received {"connection_id":150417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1843208012d76fe800629f1380012004e14..."} 
[2026-08-08 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1843208012d76fe800629f1380012004e14..."} 
[2026-08-08 18:46:39] local.INFO: Processing buffer {"connection_id":150417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1843208012d76fe800629f1380012004e14..."} 
[2026-08-08 18:46:39] local.INFO: Packet analysis {"connection_id":150417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:46:39] local.INFO: Extracted packet for processing {"connection_id":150417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":762773120,"raw_latitude":103412024,"longitude_deg":76.277312,"latitude_deg":10.3412024,"altitude":18,"angle":78,"satellites":20,"speed":0,"hex_longitude":"2d76fe80","hex_latitude":"0629f138","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265905920001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116089512857174016,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8571124173545224192,"note":"Value kept but may cause issues"} 
[2026-08-08 18:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194965000,"timestamp_ms":1786194965000,"timestamp_seconds":1786194965,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1843208"} 
[2026-08-08 18:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-08 18:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265905920001,"66":13678,"199":206,"79":21504,"24":0,"16":116089512857174016,"45":8571124173545224192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-08 18:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265905920001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116089512857174016,"km_value":116089512857174.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8571124173545224192,"description":"Unknown IO ID 45"} 
[2026-08-08 18:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265905920001,"power":13678,"trip_odometer":0.206,"unknown_79":21504,"ignition":0,"odometer":null,"unknown_45":8571124173545224192}} 
[2026-08-08 18:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":150417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:46:39] local.INFO: GPS data processed {"connection_id":150417,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:46:39] local.INFO: Acknowledgment sent {"connection_id":150417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:47:11] local.INFO: TCP Data received {"connection_id":150690,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe182e218012d196780071fee100035011a26..."} 
[2026-08-08 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe182e218012d196780071fee100035011a26..."} 
[2026-08-08 18:47:11] local.INFO: Processing buffer {"connection_id":150690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe182e218012d196780071fee100035011a26..."} 
[2026-08-08 18:47:11] local.INFO: Packet analysis {"connection_id":150690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:47:11] local.INFO: Extracted packet for processing {"connection_id":150690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe182"} 
[2026-08-08 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265883648001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194879000,"timestamp_ms":1786194879000,"timestamp_seconds":1786194879,"priority":1,"record_length":96,"hex_timestamp":"0000019fe182e218"} 
[2026-08-08 18:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265883648001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265883648001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265883648001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:47:11] local.INFO: TCP Data received {"connection_id":150417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1845d00012d770c400629f5700016003614..."} 
[2026-08-08 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1845d00012d770c400629f5700016003614..."} 
[2026-08-08 18:47:11] local.INFO: Processing buffer {"connection_id":150417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1845d00012d770c400629f5700016003614..."} 
[2026-08-08 18:47:11] local.INFO: Packet analysis {"connection_id":150417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:47:11] local.INFO: Extracted packet for processing {"connection_id":150417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":762776640,"raw_latitude":103413104,"longitude_deg":76.277664,"latitude_deg":10.3413104,"altitude":22,"angle":54,"satellites":20,"speed":17,"hex_longitude":"2d770c40","hex_latitude":"0629f570","is_valid_coordinates":true} 
[2026-08-08 18:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265911040001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116089688950833152,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8574431504521836544,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194976000,"timestamp_ms":1786194976000,"timestamp_seconds":1786194976,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1845d00"} 
[2026-08-08 18:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 18:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265911040001,"66":13646,"199":206,"79":21504,"24":17,"16":116089688950833152,"45":8574431504521836544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-08 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265911040001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:47:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116089688950833152,"km_value":116089688950833.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8574431504521836544,"description":"Unknown IO ID 45"} 
[2026-08-08 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265911040001,"power":13646,"trip_odometer":0.206,"unknown_79":21504,"ignition":17,"odometer":null,"unknown_45":8574431504521836544}} 
[2026-08-08 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":150690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:47:11] local.INFO: GPS data processed {"connection_id":150690,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:47:11] local.INFO: Acknowledgment sent {"connection_id":150690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":150417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:47:11] local.INFO: GPS data processed {"connection_id":150417,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:47:11] local.INFO: Acknowledgment sent {"connection_id":150417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:47:33] local.INFO: TCP Data received {"connection_id":153109,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:47:33] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:47:33] local.INFO: IMEI packet received {"connection_id":153109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":153109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:47:33] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:33] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:33] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:47:36] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:36] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:36] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:47:37] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:37] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:37] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:47:37] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:37] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:47:37] local.INFO: IMEI packet received {"connection_id":151629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":151629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:47:38] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1854b48012d778a00062a27080022007a15..."} 
[2026-08-08 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1854b48012d778a00062a27080022007a15..."} 
[2026-08-08 18:47:38] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1854b48012d778a00062a27080022007a15..."} 
[2026-08-08 18:47:38] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:47:38] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762808832,"raw_latitude":103425800,"longitude_deg":76.2808832,"latitude_deg":10.34258,"altitude":34,"angle":122,"satellites":21,"speed":46,"hex_longitude":"2d778a00","hex_latitude":"062a2708","is_valid_coordinates":true} 
[2026-08-08 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265929472001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116091694700560384,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613697263776499712,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786195037000,"timestamp_ms":1786195037000,"timestamp_seconds":1786195037,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1854b48"} 
[2026-08-08 18:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 18:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265929472001,"66":13646,"199":206,"79":21504,"24":46,"16":116091694700560384,"45":8613697263776499712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-08-08 18:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265929472001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:47:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116091694700560384,"km_value":116091694700560.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613697263776499712,"description":"Unknown IO ID 45"} 
[2026-08-08 18:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265929472001,"power":13646,"trip_odometer":0.206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8613697263776499712}} 
[2026-08-08 18:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:47:38] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:47:38] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:47:38] local.INFO: TCP Data received {"connection_id":153109,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:47:38] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:47:38] local.INFO: IMEI packet received {"connection_id":153109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":153109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:47:40] local.INFO: TCP Data received {"connection_id":153109,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1833420012d196780071fee100035011a24..."} 
[2026-08-08 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1833420012d196780071fee100035011a24..."} 
[2026-08-08 18:47:40] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1833420012d196780071fee100035011a24..."} 
[2026-08-08 18:47:40] local.INFO: Packet analysis {"connection_id":153109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe183"} 
[2026-08-08 18:47:40] local.INFO: Extracted packet for processing {"connection_id":153109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe183"} 
[2026-08-08 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265889024001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47: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-08-08 18:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786194900000,"timestamp_ms":1786194900000,"timestamp_seconds":1786194900,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1833420"} 
[2026-08-08 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-08-08 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265889024001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265889024001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:47:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265889024001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":153109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:47:40] local.INFO: GPS data processed {"connection_id":153109,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:47:40] local.INFO: Acknowledgment sent {"connection_id":153109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:47:42] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1856a88012d77a7c0062a10c80020008115..."} 
[2026-08-08 18:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1856a88012d77a7c0062a10c80020008115..."} 
[2026-08-08 18:47:42] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1856a88012d77a7c0062a10c80020008115..."} 
[2026-08-08 18:47:42] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:47:42] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762816448,"raw_latitude":103420104,"longitude_deg":76.2816448,"latitude_deg":10.3420104,"altitude":32,"angle":129,"satellites":21,"speed":43,"hex_longitude":"2d77a7c0","hex_latitude":"062a10c8","is_valid_coordinates":true} 
[2026-08-08 18:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265929472001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116092149967093760,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613697263776499712,"note":"Value kept but may cause issues"} 
[2026-08-08 18:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786195045000,"timestamp_ms":1786195045000,"timestamp_seconds":1786195045,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1856a88"} 
[2026-08-08 18:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 18:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265929472001,"66":13580,"197":206,"79":21504,"24":43,"16":116092149967093760,"45":8613697263776499712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 18:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265929472001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:47:42] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 18:47:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116092149967093760,"km_value":116092149967093.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613697263776499712,"description":"Unknown IO ID 45"} 
[2026-08-08 18:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265929472001,"power":13580,"unknown_197":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":8613697263776499712}} 
[2026-08-08 18:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:47:42] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:47:42] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:48:11] local.INFO: TCP Data received {"connection_id":153109,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1838628012d196780071fee100035011a26..."} 
[2026-08-08 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1838628012d196780071fee100035011a26..."} 
[2026-08-08 18:48:11] local.INFO: Processing buffer {"connection_id":153109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1838628012d196780071fee100035011a26..."} 
[2026-08-08 18:48:11] local.INFO: Packet analysis {"connection_id":153109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe183"} 
[2026-08-08 18:48:11] local.INFO: Extracted packet for processing {"connection_id":153109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe183"} 
[2026-08-08 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265894400001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786194921000,"timestamp_ms":1786194921000,"timestamp_seconds":1786194921,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1838628"} 
[2026-08-08 18:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265894400001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265894400001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:48:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265894400001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":153109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:48:11] local.INFO: GPS data processed {"connection_id":153109,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:48:11] local.INFO: Acknowledgment sent {"connection_id":153109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:48:14] local.INFO: TCP Data received {"connection_id":151629,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18585e0012d77bd40062a00380023007615..."} 
[2026-08-08 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18585e0012d77bd40062a00380023007615..."} 
[2026-08-08 18:48:14] local.INFO: Processing buffer {"connection_id":151629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18585e0012d77bd40062a00380023007615..."} 
[2026-08-08 18:48:14] local.INFO: Packet analysis {"connection_id":151629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:48:14] local.INFO: Extracted packet for processing {"connection_id":151629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:48:14] local.INFO: GPS Element Parsed {"raw_longitude":762821952,"raw_latitude":103415864,"longitude_deg":76.2821952,"latitude_deg":10.3415864,"altitude":35,"angle":118,"satellites":21,"speed":35,"hex_longitude":"2d77bd40","hex_latitude":"062a0038","is_valid_coordinates":true} 
[2026-08-08 18:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265931520001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116092484974542848,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622071144332183552,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786195052000,"timestamp_ms":1786195052000,"timestamp_seconds":1786195052,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18585e0"} 
[2026-08-08 18:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751619183,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147560823,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3783593160,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7174218813238411264,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2233487361,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549789895,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3771138254,"corrected_to":0} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2147887674,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":52,"raw_value":7566273739277520463,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3945160051824525347,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.WARNING: Large IO value detected {"io_id":84,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,197,79,24,241,157,16,113,159,75,45,39,34,21,10,66,199,112,44,64,1,240,214,227,225,42,4,205,36,85,88,239,52,2,156,6,38,28,119,84],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3771138254,"validated":0}]} 
[2026-08-08 18:48:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305984936410808320,"timestamp_seconds":2305984936410808.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265931520001,"66":13602,"197":206,"79":21504,"24":35,"16":116092484974542848,"45":8622071144332183552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 18:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265931520001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:48:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 18:48:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116092484974542848,"km_value":116092484974542.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622071144332183552,"description":"Unknown IO ID 45"} 
[2026-08-08 18:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265931520001,"power":13602,"unknown_197":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8622071144332183552}} 
[2026-08-08 18:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":151629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:48:14] local.INFO: GPS data processed {"connection_id":151629,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:48:14] local.INFO: Acknowledgment sent {"connection_id":151629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:48:31] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:31] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:31] local.INFO: IMEI packet received {"connection_id":153110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":153110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:48:32] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:32] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:32] local.INFO: IMEI packet received {"connection_id":153110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":153110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:48:33] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:48:33] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:48:33] local.INFO: IMEI packet received {"connection_id":150418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":150418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:48:38] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:48:38] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:48:38] local.INFO: IMEI packet received {"connection_id":150418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":150418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:48:39] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe183d830012d196780071fee100035011a27..."} 
[2026-08-08 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe183d830012d196780071fee100035011a27..."} 
[2026-08-08 18:48:39] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe183d830012d196780071fee100035011a27..."} 
[2026-08-08 18:48:39] local.INFO: Packet analysis {"connection_id":150418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe183"} 
[2026-08-08 18:48:39] local.INFO: Extracted packet for processing {"connection_id":150418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe183"} 
[2026-08-08 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265899776001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786194942000,"timestamp_ms":1786194942000,"timestamp_seconds":1786194942,"priority":1,"record_length":96,"hex_timestamp":"0000019fe183d830"} 
[2026-08-08 18:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265899776001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265899776001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:48:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265899776001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":150418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:48:39] local.INFO: GPS data processed {"connection_id":150418,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:48:39] local.INFO: Acknowledgment sent {"connection_id":150418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:48:59] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:59] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:48:59] local.INFO: IMEI packet received {"connection_id":153110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":153110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:49:09] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:49:09] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:49:09] local.INFO: IMEI packet received {"connection_id":153111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":153111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:49:10] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe185d400012cfb07c00740f858002e00e928..."} 
[2026-08-08 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe185d400012cfb07c00740f858002e00e928..."} 
[2026-08-08 18:49:10] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe185d400012cfb07c00740f858002e00e928..."} 
[2026-08-08 18:49:10] local.INFO: Packet analysis {"connection_id":153111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:10] local.INFO: Extracted packet for processing {"connection_id":153111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:10] local.INFO: GPS Element Parsed {"raw_longitude":754649024,"raw_latitude":121698392,"longitude_deg":75.4649024,"latitude_deg":12.1698392,"altitude":46,"angle":233,"satellites":40,"speed":14,"hex_longitude":"2cfb07c0","hex_latitude":"0740f858","is_valid_coordinates":true} 
[2026-08-08 18:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265934080001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375773217077329920,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-355080651965001728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195072000,"timestamp_ms":1786195072000,"timestamp_seconds":1786195072,"priority":1,"record_length":96,"hex_timestamp":"0000019fe185d400"} 
[2026-08-08 18:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49: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-08-08 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 18:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265934080001,"66":28006,"161":206,"83":43520,"24":14,"16":375773217077329920,"44":-355080651965001728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,83,24,16,44]} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265934080001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375773217077329920,"km_value":375773217077329.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-355080651965001728,"description":"Unknown IO ID 44"} 
[2026-08-08 18:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265934080001,"power":28006,"unknown_161":206,"unknown_83":43520,"ignition":14,"odometer":null,"unknown_44":-355080651965001728}} 
[2026-08-08 18:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":153111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:10] local.INFO: GPS data processed {"connection_id":153111,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:10] local.INFO: Acknowledgment sent {"connection_id":153111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:10] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1858db0012d77c4400629fd980023006a15..."} 
[2026-08-08 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1858db0012d77c4400629fd980023006a15..."} 
[2026-08-08 18:49:10] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1858db0012d77c4400629fd980023006a15..."} 
[2026-08-08 18:49:10] local.INFO: Packet analysis {"connection_id":153110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:10] local.INFO: Extracted packet for processing {"connection_id":153110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:10] local.INFO: GPS Element Parsed {"raw_longitude":762823744,"raw_latitude":103415192,"longitude_deg":76.2823744,"latitude_deg":10.3415192,"altitude":35,"angle":106,"satellites":21,"speed":37,"hex_longitude":"2d77c440","hex_latitude":"0629fd98","is_valid_coordinates":true} 
[2026-08-08 18:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265933312001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116092575168856064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8628122856330377216,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195054000,"timestamp_ms":1786195054000,"timestamp_seconds":1786195054,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1858db0"} 
[2026-08-08 18:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49: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-08-08 18: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-08 18:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265933312001,"66":13406,"197":206,"79":21504,"24":37,"16":116092575168856064,"45":8628122856330377216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265933312001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116092575168856064,"km_value":116092575168856.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8628122856330377216,"description":"Unknown IO ID 45"} 
[2026-08-08 18:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265933312001,"power":13406,"unknown_197":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":8628122856330377216}} 
[2026-08-08 18:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":153110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:10] local.INFO: GPS data processed {"connection_id":153110,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:10] local.INFO: Acknowledgment sent {"connection_id":153110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:10] local.INFO: TCP Data received {"connection_id":150418,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1842a38012d196780071fee100035011a25..."} 
[2026-08-08 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1842a38012d196780071fee100035011a25..."} 
[2026-08-08 18:49:10] local.INFO: Processing buffer {"connection_id":150418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1842a38012d196780071fee100035011a25..."} 
[2026-08-08 18:49:10] local.INFO: Packet analysis {"connection_id":150418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:49:10] local.INFO: Extracted packet for processing {"connection_id":150418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:49:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265905152001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786194963000,"timestamp_ms":1786194963000,"timestamp_seconds":1786194963,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1842a38"} 
[2026-08-08 18:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49: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-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:49: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-08-08 18:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265905152001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265905152001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265905152001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":150418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:10] local.INFO: GPS data processed {"connection_id":150418,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:10] local.INFO: Acknowledgment sent {"connection_id":150418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:11] local.INFO: TCP Data received {"connection_id":153110,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1859580012d77cb400629fd600022005915..."} 
[2026-08-08 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1859580012d77cb400629fd600022005915..."} 
[2026-08-08 18:49:11] local.INFO: Processing buffer {"connection_id":153110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1859580012d77cb400629fd600022005915..."} 
[2026-08-08 18:49:11] local.INFO: Packet analysis {"connection_id":153110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:11] local.INFO: Extracted packet for processing {"connection_id":153110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":762825536,"raw_latitude":103415136,"longitude_deg":76.2825536,"latitude_deg":10.3415136,"altitude":34,"angle":89,"satellites":21,"speed":37,"hex_longitude":"2d77cb40","hex_latitude":"0629fd60","is_valid_coordinates":true} 
[2026-08-08 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265933824001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116092661068201984,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8630093181167179776,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195056000,"timestamp_ms":1786195056000,"timestamp_seconds":1786195056,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1859580"} 
[2026-08-08 18:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-08 18:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265933824001,"66":13559,"197":206,"79":21504,"24":37,"16":116092661068201984,"45":8630093181167179776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-08-08 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265933824001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 18:49:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116092661068201984,"km_value":116092661068201.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8630093181167179776,"description":"Unknown IO ID 45"} 
[2026-08-08 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265933824001,"power":13559,"unknown_197":206,"unknown_79":21504,"ignition":37,"odometer":null,"unknown_45":8630093181167179776}} 
[2026-08-08 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":153110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:11] local.INFO: GPS data processed {"connection_id":153110,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:11] local.INFO: Acknowledgment sent {"connection_id":153110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:31] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:49:31] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:49:31] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:49:36] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:49:36] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:49:36] local.INFO: IMEI packet received {"connection_id":151630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":151630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:49:38] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1871838012d7929c00629eff0002b006015..."} 
[2026-08-08 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1871838012d7929c00629eff0002b006015..."} 
[2026-08-08 18:49:38] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1871838012d7929c00629eff0002b006015..."} 
[2026-08-08 18:49:38] local.INFO: Packet analysis {"connection_id":151630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:49:38] local.INFO: Extracted packet for processing {"connection_id":151630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":762915264,"raw_latitude":103411696,"longitude_deg":76.2915264,"latitude_deg":10.3411696,"altitude":43,"angle":96,"satellites":21,"speed":19,"hex_longitude":"2d7929c0","hex_latitude":"0629eff0","is_valid_coordinates":true} 
[2026-08-08 18:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265957888001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116097029049942016,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8726287254457171968,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786195155000,"timestamp_ms":1786195155000,"timestamp_seconds":1786195155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1871838"} 
[2026-08-08 18:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-08 18:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265957888001,"66":13515,"207":206,"79":21504,"24":19,"16":116097029049942016,"45":8726287254457171968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 18:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265957888001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 18:49:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116097029049942016,"km_value":116097029049942.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8726287254457171968,"description":"Unknown IO ID 45"} 
[2026-08-08 18:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265957888001,"power":13515,"unknown_207":206,"unknown_79":21504,"ignition":19,"odometer":null,"unknown_45":8726287254457171968}} 
[2026-08-08 18:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":151630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:38] local.INFO: GPS data processed {"connection_id":151630,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:38] local.INFO: Acknowledgment sent {"connection_id":151630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:38] local.INFO: TCP Data received {"connection_id":151631,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:49:38] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:49:38] local.INFO: IMEI packet received {"connection_id":151631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":151631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:49:41] local.INFO: TCP Data received {"connection_id":153111,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe185e788012cfaff000740f3b0002d00f628..."} 
[2026-08-08 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe185e788012cfaff000740f3b0002d00f628..."} 
[2026-08-08 18:49:41] local.INFO: Processing buffer {"connection_id":153111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe185e788012cfaff000740f3b0002d00f628..."} 
[2026-08-08 18:49:41] local.INFO: Packet analysis {"connection_id":153111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:41] local.INFO: Extracted packet for processing {"connection_id":153111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:49:41] local.INFO: GPS Element Parsed {"raw_longitude":754646784,"raw_latitude":121697200,"longitude_deg":75.4646784,"latitude_deg":12.16972,"altitude":45,"angle":246,"satellites":40,"speed":25,"hex_longitude":"2cfaff00","hex_latitude":"0740f3b0","is_valid_coordinates":true} 
[2026-08-08 18:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265938432001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375773341631381504,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-358106507965343744,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195077000,"timestamp_ms":1786195077000,"timestamp_seconds":1786195077,"priority":1,"record_length":96,"hex_timestamp":"0000019fe185e788"} 
[2026-08-08 18:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49: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-08-08 18: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 18:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265938432001,"66":27865,"161":206,"83":43520,"24":25,"16":375773341631381504,"44":-358106507965343744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,83,24,16,44]} 
[2026-08-08 18:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265938432001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-08 18:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375773341631381504,"km_value":375773341631381.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-358106507965343744,"description":"Unknown IO ID 44"} 
[2026-08-08 18:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265938432001,"power":27865,"unknown_161":206,"unknown_83":43520,"ignition":25,"odometer":null,"unknown_44":-358106507965343744}} 
[2026-08-08 18:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":153111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:41] local.INFO: GPS data processed {"connection_id":153111,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:41] local.INFO: Acknowledgment sent {"connection_id":153111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:43] local.INFO: TCP Data received {"connection_id":151631,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:49:43] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:49:43] local.INFO: IMEI packet received {"connection_id":151631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":151631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:49:45] local.INFO: TCP Data received {"connection_id":151631,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1847c40012d196780071fee100035011a21..."} 
[2026-08-08 18:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1847c40012d196780071fee100035011a21..."} 
[2026-08-08 18:49:45] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1847c40012d196780071fee100035011a21..."} 
[2026-08-08 18:49:45] local.INFO: Packet analysis {"connection_id":151631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:49:45] local.INFO: Extracted packet for processing {"connection_id":151631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265910528001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786194984000,"timestamp_ms":1786194984000,"timestamp_seconds":1786194984,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1847c40"} 
[2026-08-08 18:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265910528001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265910528001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:49:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265910528001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":151631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:45] local.INFO: GPS data processed {"connection_id":151631,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:45] local.INFO: Acknowledgment sent {"connection_id":151631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:49:49] local.INFO: TCP Data received {"connection_id":151631,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe184ce48012d196780071fee100035011a25..."} 
[2026-08-08 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe184ce48012d196780071fee100035011a25..."} 
[2026-08-08 18:49:49] local.INFO: Processing buffer {"connection_id":151631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe184ce48012d196780071fee100035011a25..."} 
[2026-08-08 18:49:49] local.INFO: Packet analysis {"connection_id":151631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:49:49] local.INFO: Extracted packet for processing {"connection_id":151631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe184"} 
[2026-08-08 18:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265915904001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786195005000,"timestamp_ms":1786195005000,"timestamp_seconds":1786195005,"priority":1,"record_length":96,"hex_timestamp":"0000019fe184ce48"} 
[2026-08-08 18:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:49: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-08-08 18: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-08-08 18:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265915904001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265915904001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:49:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265915904001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":151631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:49:49] local.INFO: GPS data processed {"connection_id":151631,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:49:49] local.INFO: Acknowledgment sent {"connection_id":151631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:50:04] local.INFO: TCP Data received {"connection_id":150693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:50:04] local.INFO: Processing buffer {"connection_id":150693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:50:04] local.INFO: IMEI packet received {"connection_id":150693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":150693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:50:07] local.INFO: TCP Data received {"connection_id":150693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:50:07] local.INFO: Processing buffer {"connection_id":150693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:50:07] local.INFO: IMEI packet received {"connection_id":150693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":150693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:50:08] local.INFO: TCP Data received {"connection_id":150693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe186f510012cfa950007409558002600e427..."} 
[2026-08-08 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe186f510012cfa950007409558002600e427..."} 
[2026-08-08 18:50:08] local.INFO: Processing buffer {"connection_id":150693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe186f510012cfa950007409558002600e427..."} 
[2026-08-08 18:50:08] local.INFO: Packet analysis {"connection_id":150693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:50:08] local.INFO: Extracted packet for processing {"connection_id":150693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":754619648,"raw_latitude":121673048,"longitude_deg":75.4619648,"latitude_deg":12.1673048,"altitude":38,"angle":228,"satellites":39,"speed":26,"hex_longitude":"2cfa9500","hex_latitude":"07409558","is_valid_coordinates":true} 
[2026-08-08 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265953792001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375775386035814400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-381820774758346752,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786195146000,"timestamp_ms":1786195146000,"timestamp_seconds":1786195146,"priority":1,"record_length":96,"hex_timestamp":"0000019fe186f510"} 
[2026-08-08 18:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265953792001,"66":27767,"163":206,"83":43520,"24":26,"16":375775386035814400,"44":-381820774758346752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265953792001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:50:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375775386035814400,"km_value":375775386035814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-381820774758346752,"description":"Unknown IO ID 44"} 
[2026-08-08 18:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265953792001,"power":27767,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-381820774758346752}} 
[2026-08-08 18:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":150693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:50:08] local.INFO: GPS data processed {"connection_id":150693,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:50:08] local.INFO: Acknowledgment sent {"connection_id":150693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:50:09] local.INFO: TCP Data received {"connection_id":151630,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1872008012d792e000629ee80002c007615..."} 
[2026-08-08 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1872008012d792e000629ee80002c007615..."} 
[2026-08-08 18:50:09] local.INFO: Processing buffer {"connection_id":151630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1872008012d792e000629ee80002c007615..."} 
[2026-08-08 18:50:09] local.INFO: Packet analysis {"connection_id":151630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:50:09] local.INFO: Extracted packet for processing {"connection_id":151630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762916352,"raw_latitude":103411328,"longitude_deg":76.2916352,"latitude_deg":10.3411328,"altitude":44,"angle":118,"satellites":21,"speed":22,"hex_longitude":"2d792e00","hex_latitude":"0629ee80","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265959680001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116097080589549568,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8730720485340344320,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786195157000,"timestamp_ms":1786195157000,"timestamp_seconds":1786195157,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1872008"} 
[2026-08-08 18:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-08 18:50: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-08-08 18: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-08-08 18:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265959680001,"66":13374,"207":206,"79":21504,"24":22,"16":116097080589549568,"45":8730720485340344320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 18:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265959680001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:50:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 18:50:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116097080589549568,"km_value":116097080589549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8730720485340344320,"description":"Unknown IO ID 45"} 
[2026-08-08 18:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265959680001,"power":13374,"unknown_207":206,"unknown_79":21504,"ignition":22,"odometer":null,"unknown_45":8730720485340344320}} 
[2026-08-08 18:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":151630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:50:09] local.INFO: GPS data processed {"connection_id":151630,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:50:09] local.INFO: Acknowledgment sent {"connection_id":151630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:50:31] local.INFO: TCP Data received {"connection_id":150694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:31] local.INFO: Processing buffer {"connection_id":150694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:31] local.INFO: IMEI packet received {"connection_id":150694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":150694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:50:33] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:50:33] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:50:33] local.INFO: IMEI packet received {"connection_id":150419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":150419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:50:33] local.INFO: TCP Data received {"connection_id":150694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:33] local.INFO: Processing buffer {"connection_id":150694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:33] local.INFO: IMEI packet received {"connection_id":150694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":150694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:50:34] local.INFO: TCP Data received {"connection_id":150694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:34] local.INFO: Processing buffer {"connection_id":150694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:34] local.INFO: IMEI packet received {"connection_id":150694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":150694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:50:36] local.INFO: TCP Data received {"connection_id":150694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:36] local.INFO: Processing buffer {"connection_id":150694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:50:36] local.INFO: IMEI packet received {"connection_id":150694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:50:38] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:50:38] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:50:38] local.INFO: IMEI packet received {"connection_id":150419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":150419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:50:39] local.INFO: TCP Data received {"connection_id":150693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe186fce0012cfa9180074091c0002700d827..."} 
[2026-08-08 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe186fce0012cfa9180074091c0002700d827..."} 
[2026-08-08 18:50:39] local.INFO: Processing buffer {"connection_id":150693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe186fce0012cfa9180074091c0002700d827..."} 
[2026-08-08 18:50:39] local.INFO: Packet analysis {"connection_id":150693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:50:39] local.INFO: Extracted packet for processing {"connection_id":150693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":754618752,"raw_latitude":121672128,"longitude_deg":75.4618752,"latitude_deg":12.1672128,"altitude":39,"angle":216,"satellites":39,"speed":23,"hex_longitude":"2cfa9180","hex_latitude":"074091c0","is_valid_coordinates":true} 
[2026-08-08 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265957376001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375775446165356544,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-390405761549379584,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195148000,"timestamp_ms":1786195148000,"timestamp_seconds":1786195148,"priority":1,"record_length":96,"hex_timestamp":"0000019fe186fce0"} 
[2026-08-08 18:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 18:50: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-08-08 18:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265957376001,"66":27865,"163":206,"83":43520,"24":23,"16":375775446165356544,"44":-390405761549379584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265957376001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375775446165356544,"km_value":375775446165356.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-390405761549379584,"description":"Unknown IO ID 44"} 
[2026-08-08 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265957376001,"power":27865,"unknown_163":206,"unknown_83":43520,"ignition":23,"odometer":null,"unknown_44":-390405761549379584}} 
[2026-08-08 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":150693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:50:39] local.INFO: GPS data processed {"connection_id":150693,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:50:39] local.INFO: Acknowledgment sent {"connection_id":150693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:50:39] local.INFO: TCP Data received {"connection_id":150694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18727d8012d7932000629eb58002c008515..."} 
[2026-08-08 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18727d8012d7932000629eb58002c008515..."} 
[2026-08-08 18:50:39] local.INFO: Processing buffer {"connection_id":150694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18727d8012d7932000629eb58002c008515..."} 
[2026-08-08 18:50:39] local.INFO: Packet analysis {"connection_id":150694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:50:39] local.INFO: Extracted packet for processing {"connection_id":150694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":762917376,"raw_latitude":103410520,"longitude_deg":76.2917376,"latitude_deg":10.341052,"altitude":44,"angle":133,"satellites":21,"speed":27,"hex_longitude":"2d793200","hex_latitude":"0629eb58","is_valid_coordinates":true} 
[2026-08-08 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265960192001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116097145014059008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731916753991270400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195159000,"timestamp_ms":1786195159000,"timestamp_seconds":1786195159,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18727d8"} 
[2026-08-08 18:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 18:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265960192001,"66":13428,"207":206,"79":21504,"24":27,"16":116097145014059008,"45":8731916753991270400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265960192001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116097145014059008,"km_value":116097145014059.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731916753991270400,"description":"Unknown IO ID 45"} 
[2026-08-08 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265960192001,"power":13428,"unknown_207":206,"unknown_79":21504,"ignition":27,"odometer":null,"unknown_45":8731916753991270400}} 
[2026-08-08 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":150694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:50:39] local.INFO: GPS data processed {"connection_id":150694,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:50:39] local.INFO: Acknowledgment sent {"connection_id":150694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:50:39] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1852050012d196780071fee100035011a24..."} 
[2026-08-08 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1852050012d196780071fee100035011a24..."} 
[2026-08-08 18:50:39] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1852050012d196780071fee100035011a24..."} 
[2026-08-08 18:50:39] local.INFO: Packet analysis {"connection_id":150419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:50:39] local.INFO: Extracted packet for processing {"connection_id":150419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265921280001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195026000,"timestamp_ms":1786195026000,"timestamp_seconds":1786195026,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1852050"} 
[2026-08-08 18:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265921280001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265921280001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265921280001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":150419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:50:39] local.INFO: GPS data processed {"connection_id":150419,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:50:39] local.INFO: Acknowledgment sent {"connection_id":150419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:04] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:51:04] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:51:04] local.INFO: IMEI packet received {"connection_id":151632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":151632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:51:09] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:51:09] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:51:09] local.INFO: IMEI packet received {"connection_id":151632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":151632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:51:10] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1874ee8012cfa82c0074080f8002700d328..."} 
[2026-08-08 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1874ee8012cfa82c0074080f8002700d328..."} 
[2026-08-08 18:51:10] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1874ee8012cfa82c0074080f8002700d328..."} 
[2026-08-08 18:51:10] local.INFO: Packet analysis {"connection_id":151632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:51:10] local.INFO: Extracted packet for processing {"connection_id":151632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":754614976,"raw_latitude":121667832,"longitude_deg":75.4614976,"latitude_deg":12.1667832,"altitude":39,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2cfa82c0","hex_latitude":"074080f8","is_valid_coordinates":true} 
[2026-08-08 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265957888001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375775729633198080,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-391390923968102400,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195169000,"timestamp_ms":1786195169000,"timestamp_seconds":1786195169,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1874ee8"} 
[2026-08-08 18:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51: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-08-08 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265957888001,"66":28050,"163":206,"83":43520,"24":0,"16":375775729633198080,"44":-391390923968102400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265957888001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375775729633198080,"km_value":375775729633198.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-391390923968102400,"description":"Unknown IO ID 44"} 
[2026-08-08 18:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265957888001,"power":28050,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-391390923968102400}} 
[2026-08-08 18:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":151632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:10] local.INFO: GPS data processed {"connection_id":151632,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:10] local.INFO: Acknowledgment sent {"connection_id":151632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:11] local.INFO: TCP Data received {"connection_id":150694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1876e28012d7949000629d0080029008d15..."} 
[2026-08-08 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1876e28012d7949000629d0080029008d15..."} 
[2026-08-08 18:51:11] local.INFO: Processing buffer {"connection_id":150694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1876e28012d7949000629d0080029008d15..."} 
[2026-08-08 18:51:11] local.INFO: Packet analysis {"connection_id":150694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:51:11] local.INFO: Extracted packet for processing {"connection_id":150694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":762923264,"raw_latitude":103403528,"longitude_deg":76.2923264,"latitude_deg":10.3403528,"altitude":41,"angle":141,"satellites":21,"speed":23,"hex_longitude":"2d794900","hex_latitude":"0629d008","is_valid_coordinates":true} 
[2026-08-08 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265960704001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116097587395690496,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8733042653897906176,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195177000,"timestamp_ms":1786195177000,"timestamp_seconds":1786195177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1876e28"} 
[2026-08-08 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265960704001,"66":13276,"207":206,"79":21504,"24":23,"16":116097587395690496,"45":8733042653897906176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265960704001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116097587395690496,"km_value":116097587395690.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8733042653897906176,"description":"Unknown IO ID 45"} 
[2026-08-08 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265960704001,"power":13276,"unknown_207":206,"unknown_79":21504,"ignition":23,"odometer":null,"unknown_45":8733042653897906176}} 
[2026-08-08 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":150694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:11] local.INFO: GPS data processed {"connection_id":150694,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:11] local.INFO: Acknowledgment sent {"connection_id":150694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:11] local.INFO: TCP Data received {"connection_id":150419,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1857258012d196780071fee100035011a25..."} 
[2026-08-08 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1857258012d196780071fee100035011a25..."} 
[2026-08-08 18:51:11] local.INFO: Processing buffer {"connection_id":150419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1857258012d196780071fee100035011a25..."} 
[2026-08-08 18:51:11] local.INFO: Packet analysis {"connection_id":150419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:51:11] local.INFO: Extracted packet for processing {"connection_id":150419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265926656001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195047000,"timestamp_ms":1786195047000,"timestamp_seconds":1786195047,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1857258"} 
[2026-08-08 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265926656001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265926656001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265926656001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":150419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:11] local.INFO: GPS data processed {"connection_id":150419,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:11] local.INFO: Acknowledgment sent {"connection_id":150419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:31] local.INFO: TCP Data received {"connection_id":150695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:31] local.INFO: Processing buffer {"connection_id":150695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:31] local.INFO: IMEI packet received {"connection_id":150695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":150695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:51:32] local.INFO: TCP Data received {"connection_id":150695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:32] local.INFO: Processing buffer {"connection_id":150695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:32] local.INFO: IMEI packet received {"connection_id":150695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":150695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:51:35] local.INFO: TCP Data received {"connection_id":153112,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:35] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:35] local.INFO: IMEI packet received {"connection_id":153112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":153112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:51:37] local.INFO: TCP Data received {"connection_id":150695,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:37] local.INFO: Processing buffer {"connection_id":150695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:51:37] local.INFO: IMEI packet received {"connection_id":150695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":150695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:51:39] local.INFO: TCP Data received {"connection_id":150695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe188e140012d7a620006294e700023006c15..."} 
[2026-08-08 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe188e140012d7a620006294e700023006c15..."} 
[2026-08-08 18:51:39] local.INFO: Processing buffer {"connection_id":150695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe188e140012d7a620006294e700023006c15..."} 
[2026-08-08 18:51:39] local.INFO: Packet analysis {"connection_id":150695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe188"} 
[2026-08-08 18:51:39] local.INFO: Extracted packet for processing {"connection_id":150695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe188"} 
[2026-08-08 18:51:39] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":103370352,"longitude_deg":76.29952,"latitude_deg":10.3370352,"altitude":35,"angle":108,"satellites":21,"speed":40,"hex_longitude":"2d7a6200","hex_latitude":"06294e70","is_valid_coordinates":true} 
[2026-08-08 18:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265986816001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116101517290766336,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808548316391182336,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195272000,"timestamp_ms":1786195272000,"timestamp_seconds":1786195272,"priority":1,"record_length":96,"hex_timestamp":"0000019fe188e140"} 
[2026-08-08 18:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51: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-08-08 18:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265986816001,"66":12765,"243":206,"79":21504,"24":40,"16":116101517290766336,"45":8808548316391182336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 18:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265986816001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:39] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 18:51:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116101517290766336,"km_value":116101517290766.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808548316391182336,"description":"Unknown IO ID 45"} 
[2026-08-08 18:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265986816001,"power":12765,"unknown_243":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8808548316391182336}} 
[2026-08-08 18:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":150695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:39] local.INFO: GPS data processed {"connection_id":150695,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:39] local.INFO: Acknowledgment sent {"connection_id":150695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:39] local.INFO: TCP Data received {"connection_id":153112,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:39] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:39] local.INFO: IMEI packet received {"connection_id":153112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":153112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:51:41] local.INFO: TCP Data received {"connection_id":151632,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18756b8012cfa814007407fd8002700f028..."} 
[2026-08-08 18:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18756b8012cfa814007407fd8002700f028..."} 
[2026-08-08 18:51:41] local.INFO: Processing buffer {"connection_id":151632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18756b8012cfa814007407fd8002700f028..."} 
[2026-08-08 18:51:41] local.INFO: Packet analysis {"connection_id":151632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:51:41] local.INFO: Extracted packet for processing {"connection_id":151632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:51:41] local.INFO: GPS Element Parsed {"raw_longitude":754614592,"raw_latitude":121667544,"longitude_deg":75.4614592,"latitude_deg":12.1667544,"altitude":39,"angle":240,"satellites":40,"speed":10,"hex_longitude":"2cfa8140","hex_latitude":"07407fd8","is_valid_coordinates":true} 
[2026-08-08 18:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265963264001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375775751108034560,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-395542679875684352,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195171000,"timestamp_ms":1786195171000,"timestamp_seconds":1786195171,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18756b8"} 
[2026-08-08 18:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51: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-08-08 18:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265963264001,"66":27767,"163":206,"83":43520,"24":10,"16":375775751108034560,"44":-395542679875684352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265963264001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375775751108034560,"km_value":375775751108034.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-395542679875684352,"description":"Unknown IO ID 44"} 
[2026-08-08 18:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265963264001,"power":27767,"unknown_163":206,"unknown_83":43520,"ignition":10,"odometer":null,"unknown_44":-395542679875684352}} 
[2026-08-08 18:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":151632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:41] local.INFO: GPS data processed {"connection_id":151632,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:41] local.INFO: Acknowledgment sent {"connection_id":151632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:43] local.INFO: TCP Data received {"connection_id":153112,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:43] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:51:43] local.INFO: IMEI packet received {"connection_id":153112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":153112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:51:45] local.INFO: TCP Data received {"connection_id":153112,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe185c460012d196780071fee100035011a25..."} 
[2026-08-08 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe185c460012d196780071fee100035011a25..."} 
[2026-08-08 18:51:45] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe185c460012d196780071fee100035011a25..."} 
[2026-08-08 18:51:45] local.INFO: Packet analysis {"connection_id":153112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:51:45] local.INFO: Extracted packet for processing {"connection_id":153112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe185"} 
[2026-08-08 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265932032001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786195068000,"timestamp_ms":1786195068000,"timestamp_seconds":1786195068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe185c460"} 
[2026-08-08 18:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265932032001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265932032001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265932032001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":153112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:45] local.INFO: GPS data processed {"connection_id":153112,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:45] local.INFO: Acknowledgment sent {"connection_id":153112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:51:49] local.INFO: TCP Data received {"connection_id":153112,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1861668012d196780071fee100035011a21..."} 
[2026-08-08 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1861668012d196780071fee100035011a21..."} 
[2026-08-08 18:51:49] local.INFO: Processing buffer {"connection_id":153112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1861668012d196780071fee100035011a21..."} 
[2026-08-08 18:51:49] local.INFO: Packet analysis {"connection_id":153112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:51:49] local.INFO: Extracted packet for processing {"connection_id":153112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265937408001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786195089000,"timestamp_ms":1786195089000,"timestamp_seconds":1786195089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1861668"} 
[2026-08-08 18:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265937408001,"66":12385,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265937408001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:51:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265937408001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":153112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:51:49] local.INFO: GPS data processed {"connection_id":153112,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:51:49] local.INFO: Acknowledgment sent {"connection_id":153112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:52:04] local.INFO: TCP Data received {"connection_id":150420,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:52:04] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:52:04] local.INFO: IMEI packet received {"connection_id":150420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":150420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:52:09] local.INFO: TCP Data received {"connection_id":150420,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:52:09] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:52:09] local.INFO: IMEI packet received {"connection_id":150420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":150420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:52:10] local.INFO: TCP Data received {"connection_id":150420,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1875e88012cfa7ec007407da8002800df29..."} 
[2026-08-08 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1875e88012cfa7ec007407da8002800df29..."} 
[2026-08-08 18:52:10] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1875e88012cfa7ec007407da8002800df29..."} 
[2026-08-08 18:52:10] local.INFO: Packet analysis {"connection_id":150420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:52:10] local.INFO: Extracted packet for processing {"connection_id":150420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":754613952,"raw_latitude":121666984,"longitude_deg":75.4613952,"latitude_deg":12.1666984,"altitude":40,"angle":223,"satellites":41,"speed":16,"hex_longitude":"2cfa7ec0","hex_latitude":"07407da8","is_valid_coordinates":true} 
[2026-08-08 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265963776001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375775794057707520,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-395964892340824064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195173000,"timestamp_ms":1786195173000,"timestamp_seconds":1786195173,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1875e88"} 
[2026-08-08 18:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:52: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-08-08 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 18:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265963776001,"66":27974,"163":206,"83":43520,"24":16,"16":375775794057707520,"44":-395964892340824064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265963776001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375775794057707520,"km_value":375775794057707.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-395964892340824064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265963776001,"power":27974,"unknown_163":206,"unknown_83":43520,"ignition":16,"odometer":null,"unknown_44":-395964892340824064}} 
[2026-08-08 18:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":150420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:52:10] local.INFO: GPS data processed {"connection_id":150420,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:52:10] local.INFO: Acknowledgment sent {"connection_id":150420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:52:10] local.INFO: TCP Data received {"connection_id":150695,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1890468012d7a8340062941d80024006e15..."} 
[2026-08-08 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1890468012d7a8340062941d80024006e15..."} 
[2026-08-08 18:52:10] local.INFO: Processing buffer {"connection_id":150695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1890468012d7a8340062941d80024006e15..."} 
[2026-08-08 18:52:10] local.INFO: Packet analysis {"connection_id":150695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:52:10] local.INFO: Extracted packet for processing {"connection_id":150695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763003712,"raw_latitude":103367128,"longitude_deg":76.3003712,"latitude_deg":10.3367128,"altitude":36,"angle":110,"satellites":21,"speed":39,"hex_longitude":"2d7a8340","hex_latitude":"062941d8","is_valid_coordinates":true} 
[2026-08-08 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265989632001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116101951082463232,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611046807662592,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195281000,"timestamp_ms":1786195281000,"timestamp_seconds":1786195281,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1890468"} 
[2026-08-08 18:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:52: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-08-08 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-08 18:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265989632001,"66":13189,"243":206,"79":21504,"24":39,"16":116101951082463232,"45":8818611046807662592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 18:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265989632001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116101951082463232,"km_value":116101951082463.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611046807662592,"description":"Unknown IO ID 45"} 
[2026-08-08 18:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265989632001,"power":13189,"unknown_243":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":8818611046807662592}} 
[2026-08-08 18:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":150695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:52:11] local.INFO: GPS data processed {"connection_id":150695,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:52:11] local.INFO: Acknowledgment sent {"connection_id":150695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:52:33] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:52:33] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:52:33] local.INFO: IMEI packet received {"connection_id":150421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":150421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:52:36] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:52:36] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:52:36] local.INFO: IMEI packet received {"connection_id":151633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":151633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:52:39] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:52:39] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:52:39] local.INFO: IMEI packet received {"connection_id":150421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":150421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:52:39] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:52:39] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:52:39] local.INFO: IMEI packet received {"connection_id":151633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":151633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:52:40] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1866870012d196780071fee100035011a24..."} 
[2026-08-08 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1866870012d196780071fee100035011a24..."} 
[2026-08-08 18:52:40] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1866870012d196780071fee100035011a24..."} 
[2026-08-08 18:52:40] local.INFO: Packet analysis {"connection_id":150421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:52:40] local.INFO: Extracted packet for processing {"connection_id":150421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265942784001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52: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-08-08 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195110000,"timestamp_ms":1786195110000,"timestamp_seconds":1786195110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1866870"} 
[2026-08-08 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-08-08 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:52: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-08-08 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265942784001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265942784001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265942784001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:52:40] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1892790012d7aa540062937600024006a15..."} 
[2026-08-08 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1892790012d7aa540062937600024006a15..."} 
[2026-08-08 18:52:40] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1892790012d7aa540062937600024006a15..."} 
[2026-08-08 18:52:40] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:52:40] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763012416,"raw_latitude":103364448,"longitude_deg":76.3012416,"latitude_deg":10.3364448,"altitude":36,"angle":106,"satellites":21,"speed":40,"hex_longitude":"2d7aa540","hex_latitude":"06293760","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265991936001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116102384874160128,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827970089782466560,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195290000,"timestamp_ms":1786195290000,"timestamp_seconds":1786195290,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1892790"} 
[2026-08-08 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-08-08 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-08 18:52: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-08-08 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265991936001,"66":13363,"243":206,"79":21504,"24":40,"16":116102384874160128,"45":8827970089782466560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265991936001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116102384874160128,"km_value":116102384874160.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827970089782466560,"description":"Unknown IO ID 45"} 
[2026-08-08 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265991936001,"power":13363,"unknown_243":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8827970089782466560}} 
[2026-08-08 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:52:40] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:52:40] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":150421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:52:40] local.INFO: GPS data processed {"connection_id":150421,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:52:40] local.INFO: Acknowledgment sent {"connection_id":150421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:52:41] local.INFO: TCP Data received {"connection_id":150420,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:52:41] local.INFO: Processing buffer {"connection_id":150420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:52:41] local.INFO: Packet analysis {"connection_id":150420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:52:41] local.INFO: Extracted packet for processing {"connection_id":150420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:52: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-08-08 18:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18: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-08-08 18:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":150420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:52:41] local.INFO: GPS data processed {"connection_id":150420,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:52:41] local.INFO: Acknowledgment sent {"connection_id":150420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:52:42] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1894ab8012d7aca00062930580025006115..."} 
[2026-08-08 18:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1894ab8012d7aca00062930580025006115..."} 
[2026-08-08 18:52:42] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1894ab8012d7aca00062930580025006115..."} 
[2026-08-08 18:52:42] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:52:42] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":103362648,"longitude_deg":76.3021824,"latitude_deg":10.3362648,"altitude":37,"angle":97,"satellites":21,"speed":40,"hex_longitude":"2d7aca00","hex_latitude":"06293058","is_valid_coordinates":true} 
[2026-08-08 18:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265994240001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116102844435660800,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837540238989942784,"note":"Value kept but may cause issues"} 
[2026-08-08 18:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786195299000,"timestamp_ms":1786195299000,"timestamp_seconds":1786195299,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1894ab8"} 
[2026-08-08 18:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-08 18:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265994240001,"66":12526,"243":206,"79":21504,"24":40,"16":116102844435660800,"45":8837540238989942784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 18:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265994240001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:52:42] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 18:52:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116102844435660800,"km_value":116102844435660.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837540238989942784,"description":"Unknown IO ID 45"} 
[2026-08-08 18:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265994240001,"power":12526,"unknown_243":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8837540238989942784}} 
[2026-08-08 18:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:52:42] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:52:42] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:53:09] local.INFO: TCP Data received {"connection_id":150696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:53:09] local.INFO: Processing buffer {"connection_id":150696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:53:09] local.INFO: IMEI packet received {"connection_id":150696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":150696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:53:12] local.INFO: TCP Data received {"connection_id":150421,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe186ba78012d196780071fee100035011a11..."} 
[2026-08-08 18:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe186ba78012d196780071fee100035011a11..."} 
[2026-08-08 18:53:12] local.INFO: Processing buffer {"connection_id":150421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe186ba78012d196780071fee100035011a11..."} 
[2026-08-08 18:53:12] local.INFO: Packet analysis {"connection_id":150421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:53:12] local.INFO: Extracted packet for processing {"connection_id":150421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe186"} 
[2026-08-08 18:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":17,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265948160001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786195131000,"timestamp_ms":1786195131000,"timestamp_seconds":1786195131,"priority":1,"record_length":96,"hex_timestamp":"0000019fe186ba78"} 
[2026-08-08 18:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265948160001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265948160001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:53:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265948160001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":150421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:53:12] local.INFO: GPS data processed {"connection_id":150421,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:53:12] local.INFO: Acknowledgment sent {"connection_id":150421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:53:14] local.INFO: TCP Data received {"connection_id":150696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:53:14] local.INFO: Processing buffer {"connection_id":150696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:53:14] local.INFO: IMEI packet received {"connection_id":150696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":150696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:53:14] local.INFO: TCP Data received {"connection_id":151633,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1896de0012d7aee8006292be80022006215..."} 
[2026-08-08 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1896de0012d7aee8006292be80022006215..."} 
[2026-08-08 18:53:15] local.INFO: Processing buffer {"connection_id":151633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1896de0012d7aee8006292be80022006215..."} 
[2026-08-08 18:53:15] local.INFO: Packet analysis {"connection_id":151633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:53:15] local.INFO: Extracted packet for processing {"connection_id":151633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763031168,"raw_latitude":103361512,"longitude_deg":76.3031168,"latitude_deg":10.3361512,"altitude":34,"angle":98,"satellites":21,"speed":40,"hex_longitude":"2d7aee80","hex_latitude":"06292be8","is_valid_coordinates":true} 
[2026-08-08 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265996544001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116103291112259584,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884444383598592,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786195308000,"timestamp_ms":1786195308000,"timestamp_seconds":1786195308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1896de0"} 
[2026-08-08 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 18:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265996544001,"66":13243,"243":206,"79":21504,"24":40,"16":116103291112259584,"45":8847884444383598592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265996544001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116103291112259584,"km_value":116103291112259.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884444383598592,"description":"Unknown IO ID 45"} 
[2026-08-08 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265996544001,"power":13243,"unknown_243":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8847884444383598592}} 
[2026-08-08 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":151633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:53:15] local.INFO: GPS data processed {"connection_id":151633,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:53:15] local.INFO: Acknowledgment sent {"connection_id":151633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:53:15] local.INFO: TCP Data received {"connection_id":150696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:53:15] local.INFO: Processing buffer {"connection_id":150696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:53:15] local.INFO: Packet analysis {"connection_id":150696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:53:15] local.INFO: Extracted packet for processing {"connection_id":150696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:53: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-08-08 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:53: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-08-08 18:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:53: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-08-08 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":150696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:53:15] local.INFO: GPS data processed {"connection_id":150696,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:53:15] local.INFO: Acknowledgment sent {"connection_id":150696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:53:20] local.INFO: TCP Data received {"connection_id":150696,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:53:20] local.INFO: Processing buffer {"connection_id":150696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:53:20] local.INFO: Packet analysis {"connection_id":150696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:53:20] local.INFO: Extracted packet for processing {"connection_id":150696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:53: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-08-08 18:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:53:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":150696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:53:20] local.INFO: GPS data processed {"connection_id":150696,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:53:20] local.INFO: Acknowledgment sent {"connection_id":150696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:53:31] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:31] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:31] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:53:32] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:32] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:32] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:53:33] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:53:33] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:53:33] local.INFO: IMEI packet received {"connection_id":150422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":150422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:53:37] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:37] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:53:37] local.INFO: IMEI packet received {"connection_id":151634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":151634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:53:38] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:53:38] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:53:38] local.INFO: IMEI packet received {"connection_id":150422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":150422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:53:38] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1898168012d7b02c0062926600022006f15..."} 
[2026-08-08 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1898168012d7b02c0062926600022006f15..."} 
[2026-08-08 18:53:38] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1898168012d7b02c0062926600022006f15..."} 
[2026-08-08 18:53:38] local.INFO: Packet analysis {"connection_id":151634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:53:38] local.INFO: Extracted packet for processing {"connection_id":151634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe189"} 
[2026-08-08 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763036352,"raw_latitude":103360096,"longitude_deg":76.3036352,"latitude_deg":10.3360096,"altitude":34,"angle":111,"satellites":21,"speed":44,"hex_longitude":"2d7b02c0","hex_latitude":"06292660","is_valid_coordinates":true} 
[2026-08-08 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265998848001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116103548810297344,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858158281033246720,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786195313000,"timestamp_ms":1786195313000,"timestamp_seconds":1786195313,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1898168"} 
[2026-08-08 18:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 18:53: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-08-08 18:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265998848001,"66":13341,"243":206,"79":21504,"24":44,"16":116103548810297344,"45":8858158281033246720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-08-08 18:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265998848001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:53:38] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-08 18:53:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116103548810297344,"km_value":116103548810297.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858158281033246720,"description":"Unknown IO ID 45"} 
[2026-08-08 18:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265998848001,"power":13341,"unknown_243":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":8858158281033246720}} 
[2026-08-08 18:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":151634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:53:38] local.INFO: GPS data processed {"connection_id":151634,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:53:38] local.INFO: Acknowledgment sent {"connection_id":151634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:53:40] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1871068012d196780071fee100035011a1f..."} 
[2026-08-08 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1871068012d196780071fee100035011a1f..."} 
[2026-08-08 18:53:40] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1871068012d196780071fee100035011a1f..."} 
[2026-08-08 18:53:40] local.INFO: Packet analysis {"connection_id":150422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:53:40] local.INFO: Extracted packet for processing {"connection_id":150422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265953536001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:53: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-08-08 18:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195153000,"timestamp_ms":1786195153000,"timestamp_seconds":1786195153,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1871068"} 
[2026-08-08 18:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265953536001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265953536001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:53:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:53:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265953536001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":150422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:53:40] local.INFO: GPS data processed {"connection_id":150422,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:53:40] local.INFO: Acknowledgment sent {"connection_id":150422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:04] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:54:04] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:54:04] local.INFO: IMEI packet received {"connection_id":151635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":151635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:54:09] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:54:09] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:54:09] local.INFO: IMEI packet received {"connection_id":151635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":151635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:54:10] local.INFO: TCP Data received {"connection_id":151634,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18b5240012d7c2400062871180023005415..."} 
[2026-08-08 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18b5240012d7c2400062871180023005415..."} 
[2026-08-08 18:54:10] local.INFO: Processing buffer {"connection_id":151634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18b5240012d7c2400062871180023005415..."} 
[2026-08-08 18:54:10] local.INFO: Packet analysis {"connection_id":151634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:54:10] local.INFO: Extracted packet for processing {"connection_id":151634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":103313688,"longitude_deg":76.31104,"latitude_deg":10.3313688,"altitude":35,"angle":84,"satellites":21,"speed":43,"hex_longitude":"2d7c2400","hex_latitude":"06287118","is_valid_coordinates":true} 
[2026-08-08 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266028032001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116108118655500288,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934719474685986816,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195432000,"timestamp_ms":1786195432000,"timestamp_seconds":1786195432,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18b5240"} 
[2026-08-08 18:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:54: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-08-08 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:54: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-08-08 18:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266028032001,"66":11917,"242":206,"79":21504,"24":43,"16":116108118655500288,"45":8934719474685986816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266028032001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116108118655500288,"km_value":116108118655500.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934719474685986816,"description":"Unknown IO ID 45"} 
[2026-08-08 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266028032001,"power":11917,"unknown_242":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":8934719474685986816}} 
[2026-08-08 18:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":151634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:10] local.INFO: GPS data processed {"connection_id":151634,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:10] local.INFO: Acknowledgment sent {"connection_id":151634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:10] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:10] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:10] local.INFO: Packet analysis {"connection_id":151635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:10] local.INFO: Extracted packet for processing {"connection_id":151635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:54: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-08-08 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:54: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-08-08 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":151635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:10] local.INFO: GPS data processed {"connection_id":151635,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:10] local.INFO: Acknowledgment sent {"connection_id":151635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:11] local.INFO: TCP Data received {"connection_id":150422,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1875e88012d196780071fee100035011a23..."} 
[2026-08-08 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1875e88012d196780071fee100035011a23..."} 
[2026-08-08 18:54:11] local.INFO: Processing buffer {"connection_id":150422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1875e88012d196780071fee100035011a23..."} 
[2026-08-08 18:54:11] local.INFO: Packet analysis {"connection_id":150422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:11] local.INFO: Extracted packet for processing {"connection_id":150422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265959168001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195173000,"timestamp_ms":1786195173000,"timestamp_seconds":1786195173,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1875e88"} 
[2026-08-08 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265959168001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265959168001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265959168001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":150422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:11] local.INFO: GPS data processed {"connection_id":150422,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:11] local.INFO: Acknowledgment sent {"connection_id":150422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:14] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:14] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:14] local.INFO: Packet analysis {"connection_id":151635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:14] local.INFO: Extracted packet for processing {"connection_id":151635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:54: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-08-08 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:54: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-08-08 18:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":151635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:15] local.INFO: GPS data processed {"connection_id":151635,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:15] local.INFO: Acknowledgment sent {"connection_id":151635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:32] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:54:32] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:54:32] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:54:33] local.INFO: TCP Data received {"connection_id":151637,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:54:33] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:54:33] local.INFO: IMEI packet received {"connection_id":151637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":151637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:54:34] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:54:34] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:54:34] local.INFO: IMEI packet received {"connection_id":151636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":151636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:54:38] local.INFO: TCP Data received {"connection_id":151637,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:54:38] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:54:38] local.INFO: IMEI packet received {"connection_id":151637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":151637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:54:40] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18b7180012d7c4880062874a80022005515..."} 
[2026-08-08 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18b7180012d7c4880062874a80022005515..."} 
[2026-08-08 18:54:40] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18b7180012d7c4880062874a80022005515..."} 
[2026-08-08 18:54:40] local.INFO: Packet analysis {"connection_id":151636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:54:40] local.INFO: Extracted packet for processing {"connection_id":151636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763119744,"raw_latitude":103314600,"longitude_deg":76.3119744,"latitude_deg":10.33146,"altitude":34,"angle":85,"satellites":21,"speed":47,"hex_longitude":"2d7c4880","hex_latitude":"062874a8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266030592001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116108565332099072,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274786312951808,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195440000,"timestamp_ms":1786195440000,"timestamp_seconds":1786195440,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18b7180"} 
[2026-08-08 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-08-08 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 18:54: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-08-08 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-08-08 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-08-08 18:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266030592001,"66":12613,"242":206,"79":21504,"24":47,"16":116108565332099072,"45":8945274786312951808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266030592001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116108565332099072,"km_value":116108565332099.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274786312951808,"description":"Unknown IO ID 45"} 
[2026-08-08 18:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266030592001,"power":12613,"unknown_242":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":8945274786312951808}} 
[2026-08-08 18:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":151636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:40] local.INFO: GPS data processed {"connection_id":151636,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:40] local.INFO: Acknowledgment sent {"connection_id":151636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:40] local.INFO: TCP Data received {"connection_id":151637,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe187b090012d196780071fee100035011a25..."} 
[2026-08-08 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe187b090012d196780071fee100035011a25..."} 
[2026-08-08 18:54:40] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe187b090012d196780071fee100035011a25..."} 
[2026-08-08 18:54:40] local.INFO: Packet analysis {"connection_id":151637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:40] local.INFO: Extracted packet for processing {"connection_id":151637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195194000,"timestamp_ms":1786195194000,"timestamp_seconds":1786195194,"priority":1,"record_length":96,"hex_timestamp":"0000019fe187b090"} 
[2026-08-08 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-08-08 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":151637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:40] local.INFO: GPS data processed {"connection_id":151637,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:40] local.INFO: Acknowledgment sent {"connection_id":151637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:45] local.INFO: TCP Data received {"connection_id":151636,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18b90c0012d7c6dc0062876c80020005915..."} 
[2026-08-08 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18b90c0012d7c6dc0062876c80020005915..."} 
[2026-08-08 18:54:45] local.INFO: Processing buffer {"connection_id":151636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18b90c0012d7c6dc0062876c80020005915..."} 
[2026-08-08 18:54:45] local.INFO: Packet analysis {"connection_id":151636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:54:45] local.INFO: Extracted packet for processing {"connection_id":151636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763129280,"raw_latitude":103315144,"longitude_deg":76.312928,"latitude_deg":10.3315144,"altitude":32,"angle":89,"satellites":21,"speed":46,"hex_longitude":"2d7c6dc0","hex_latitude":"062876c8","is_valid_coordinates":true} 
[2026-08-08 18:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266032640001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116109020598632448,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955548622963124224,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786195448000,"timestamp_ms":1786195448000,"timestamp_seconds":1786195448,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18b90c0"} 
[2026-08-08 18:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-08 18:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266032640001,"66":12526,"242":206,"79":21504,"24":46,"16":116109020598632448,"45":8955548622963124224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-08 18:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266032640001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116109020598632448,"km_value":116109020598632.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955548622963124224,"description":"Unknown IO ID 45"} 
[2026-08-08 18:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266032640001,"power":12526,"unknown_242":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8955548622963124224}} 
[2026-08-08 18:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":151636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:45] local.INFO: GPS data processed {"connection_id":151636,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:45] local.INFO: Acknowledgment sent {"connection_id":151636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:54:46] local.INFO: TCP Data received {"connection_id":151635,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:46] local.INFO: Processing buffer {"connection_id":151635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:54:46] local.INFO: Packet analysis {"connection_id":151635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:46] local.INFO: Extracted packet for processing {"connection_id":151635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:54:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":151635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:54:46] local.INFO: GPS data processed {"connection_id":151635,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:54:46] local.INFO: Acknowledgment sent {"connection_id":151635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:55:04] local.INFO: TCP Data received {"connection_id":150423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:55:04] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:55:04] local.INFO: IMEI packet received {"connection_id":150423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":150423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:55:09] local.INFO: TCP Data received {"connection_id":150423,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:55:09] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:55:09] local.INFO: IMEI packet received {"connection_id":150423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":150423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:55:10] local.INFO: TCP Data received {"connection_id":150423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:55:10] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1878d68012cfa6a0007406848002800db28..."} 
[2026-08-08 18:55:10] local.INFO: Packet analysis {"connection_id":150423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:55:10] local.INFO: Extracted packet for processing {"connection_id":150423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe187"} 
[2026-08-08 18:55:10] local.INFO: GPS Element Parsed {"raw_longitude":754608640,"raw_latitude":121661512,"longitude_deg":75.460864,"latitude_deg":12.1661512,"altitude":40,"angle":219,"satellites":40,"speed":26,"hex_longitude":"2cfa6a00","hex_latitude":"07406848","is_valid_coordinates":true} 
[2026-08-08 18:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265964288001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396668579782744064,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195185000,"timestamp_ms":1786195185000,"timestamp_seconds":1786195185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1878d68"} 
[2026-08-08 18:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:55: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-08-08 18:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 18:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265964288001,"66":27919,"163":206,"83":43520,"24":26,"16":375776159129927680,"44":-396668579782744064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265964288001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:55:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396668579782744064,"description":"Unknown IO ID 44"} 
[2026-08-08 18:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265964288001,"power":27919,"unknown_163":206,"unknown_83":43520,"ignition":26,"odometer":null,"unknown_44":-396668579782744064}} 
[2026-08-08 18:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":150423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:55:10] local.INFO: GPS data processed {"connection_id":150423,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:55:10] local.INFO: Acknowledgment sent {"connection_id":150423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:55:12] local.INFO: TCP Data received {"connection_id":151637,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18b36e8012d196780071fee100035011a24..."} 
[2026-08-08 18:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18b36e8012d196780071fee100035011a24..."} 
[2026-08-08 18:55:12] local.INFO: Processing buffer {"connection_id":151637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18b36e8012d196780071fee100035011a24..."} 
[2026-08-08 18:55:12] local.INFO: Packet analysis {"connection_id":151637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:55:12] local.INFO: Extracted packet for processing {"connection_id":151637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266023424001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786195425000,"timestamp_ms":1786195425000,"timestamp_seconds":1786195425,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18b36e8"} 
[2026-08-08 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-08-08 18:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266023424001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266023424001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266023424001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":151637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:55:12] local.INFO: GPS data processed {"connection_id":151637,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:55:12] local.INFO: Acknowledgment sent {"connection_id":151637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:55:32] local.INFO: TCP Data received {"connection_id":150697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:55:32] local.INFO: Processing buffer {"connection_id":150697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:55:32] local.INFO: IMEI packet received {"connection_id":150697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":150697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:55:33] local.INFO: TCP Data received {"connection_id":153113,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:55:33] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:55:33] local.INFO: IMEI packet received {"connection_id":153113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":153113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:55:36] local.INFO: TCP Data received {"connection_id":150697,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:55:36] local.INFO: Processing buffer {"connection_id":150697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:55:36] local.INFO: IMEI packet received {"connection_id":150697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":150697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:55:37] local.INFO: TCP Data received {"connection_id":150697,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18bb000012d7c91c006287848001f005815..."} 
[2026-08-08 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18bb000012d7c91c006287848001f005815..."} 
[2026-08-08 18:55:37] local.INFO: Processing buffer {"connection_id":150697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18bb000012d7c91c006287848001f005815..."} 
[2026-08-08 18:55:37] local.INFO: Packet analysis {"connection_id":150697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:55:37] local.INFO: Extracted packet for processing {"connection_id":150697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763138496,"raw_latitude":103315528,"longitude_deg":76.3138496,"latitude_deg":10.3315528,"altitude":31,"angle":88,"satellites":21,"speed":46,"hex_longitude":"2d7c91c0","hex_latitude":"06287848","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266034688001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116109462980263936,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966033565845735424,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786195456000,"timestamp_ms":1786195456000,"timestamp_seconds":1786195456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18bb000"} 
[2026-08-08 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-08-08 18:55: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-08-08 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 18:55: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-08-08 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-08-08 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-08-08 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266034688001,"66":12504,"242":206,"79":21504,"24":46,"16":116109462980263936,"45":8966033565845735424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-08-08 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266034688001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:55:37] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-08 18:55:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116109462980263936,"km_value":116109462980263.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966033565845735424,"description":"Unknown IO ID 45"} 
[2026-08-08 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266034688001,"power":12504,"unknown_242":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8966033565845735424}} 
[2026-08-08 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":150697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:55:37] local.INFO: GPS data processed {"connection_id":150697,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:55:37] local.INFO: Acknowledgment sent {"connection_id":150697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:55:38] local.INFO: TCP Data received {"connection_id":153113,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:55:38] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:55:38] local.INFO: IMEI packet received {"connection_id":153113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":153113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:55:40] local.INFO: TCP Data received {"connection_id":153113,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18b88f0012d196780071fee100035011a25..."} 
[2026-08-08 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18b88f0012d196780071fee100035011a25..."} 
[2026-08-08 18:55:40] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18b88f0012d196780071fee100035011a25..."} 
[2026-08-08 18:55:40] local.INFO: Packet analysis {"connection_id":153113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:55:40] local.INFO: Extracted packet for processing {"connection_id":153113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266028800001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18: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-08-08 18:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195446000,"timestamp_ms":1786195446000,"timestamp_seconds":1786195446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18b88f0"} 
[2026-08-08 18:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266028800001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266028800001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:55:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266028800001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":153113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:55:40] local.INFO: GPS data processed {"connection_id":153113,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:55:40] local.INFO: Acknowledgment sent {"connection_id":153113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:55:41] local.INFO: TCP Data received {"connection_id":150423,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:55:41] local.INFO: Processing buffer {"connection_id":150423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:55:41] local.INFO: Packet analysis {"connection_id":150423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:55:41] local.INFO: Extracted packet for processing {"connection_id":150423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":150423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:55:41] local.INFO: GPS data processed {"connection_id":150423,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:55:41] local.INFO: Acknowledgment sent {"connection_id":150423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:56:04] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:56:04] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:56:04] local.INFO: IMEI packet received {"connection_id":151638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":151638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:56:08] local.INFO: TCP Data received {"connection_id":150697,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18d4640012d7ddf4006283418001b008f14..."} 
[2026-08-08 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18d4640012d7ddf4006283418001b008f14..."} 
[2026-08-08 18:56:08] local.INFO: Processing buffer {"connection_id":150697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18d4640012d7ddf4006283418001b008f14..."} 
[2026-08-08 18:56:08] local.INFO: Packet analysis {"connection_id":150697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:56:08] local.INFO: Extracted packet for processing {"connection_id":150697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763223872,"raw_latitude":103298072,"longitude_deg":76.3223872,"latitude_deg":10.3298072,"altitude":27,"angle":143,"satellites":20,"speed":14,"hex_longitude":"2d7ddf40","hex_latitude":"06283418","is_valid_coordinates":true} 
[2026-08-08 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266063104001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116113680638148608,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069827463503486976,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786195560000,"timestamp_ms":1786195560000,"timestamp_seconds":1786195560,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18d4640"} 
[2026-08-08 18:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:56: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-08-08 18:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 18:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266063104001,"66":12461,"91":206,"79":21504,"24":14,"16":116113680638148608,"45":9069827463503486976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 18:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266063104001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:56:08] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:56:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116113680638148608,"km_value":116113680638148.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069827463503486976,"description":"Unknown IO ID 45"} 
[2026-08-08 18:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266063104001,"power":12461,"unknown_91":206,"unknown_79":21504,"ignition":14,"odometer":null,"unknown_45":9069827463503486976}} 
[2026-08-08 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":150697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:56:08] local.INFO: GPS data processed {"connection_id":150697,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:56:08] local.INFO: Acknowledgment sent {"connection_id":150697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:56:09] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:56:09] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:56:09] local.INFO: IMEI packet received {"connection_id":151638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":151638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:56:10] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:56:10] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:56:10] local.INFO: Packet analysis {"connection_id":151638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:56:10] local.INFO: Extracted packet for processing {"connection_id":151638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:56: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-08-08 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:56:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":151638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:56:10] local.INFO: GPS data processed {"connection_id":151638,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:56:10] local.INFO: Acknowledgment sent {"connection_id":151638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:56:12] local.INFO: TCP Data received {"connection_id":153113,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18bdaf8012d196780071fee100035011a25..."} 
[2026-08-08 18:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18bdaf8012d196780071fee100035011a25..."} 
[2026-08-08 18:56:12] local.INFO: Processing buffer {"connection_id":153113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18bdaf8012d196780071fee100035011a25..."} 
[2026-08-08 18:56:12] local.INFO: Packet analysis {"connection_id":153113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:56:12] local.INFO: Extracted packet for processing {"connection_id":153113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18b"} 
[2026-08-08 18:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266034176001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786195467000,"timestamp_ms":1786195467000,"timestamp_seconds":1786195467,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18bdaf8"} 
[2026-08-08 18:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266034176001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266034176001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:56:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266034176001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":153113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:56:12] local.INFO: GPS data processed {"connection_id":153113,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:56:12] local.INFO: Acknowledgment sent {"connection_id":153113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:56:31] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:56:31] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:56:31] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:56:33] local.INFO: TCP Data received {"connection_id":150698,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:56:33] local.INFO: Processing buffer {"connection_id":150698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:56:33] local.INFO: IMEI packet received {"connection_id":150698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":150698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:56:36] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:56:36] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:56:36] local.INFO: IMEI packet received {"connection_id":151639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":151639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:56:38] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18d4a28012d7ddfc006283290001b00a214..."} 
[2026-08-08 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18d4a28012d7ddfc006283290001b00a214..."} 
[2026-08-08 18:56:38] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18d4a28012d7ddfc006283290001b00a214..."} 
[2026-08-08 18:56:38] local.INFO: Packet analysis {"connection_id":151639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:56:38] local.INFO: Extracted packet for processing {"connection_id":151639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763224000,"raw_latitude":103297680,"longitude_deg":76.3224,"latitude_deg":10.329768,"altitude":27,"angle":162,"satellites":20,"speed":15,"hex_longitude":"2d7ddfc0","hex_latitude":"06283290","is_valid_coordinates":true} 
[2026-08-08 18:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266063360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116113702112985088,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070038569735952384,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786195561000,"timestamp_ms":1786195561000,"timestamp_seconds":1786195561,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18d4a28"} 
[2026-08-08 18:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:56: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-08-08 18:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:56: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-08-08 18:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266063360001,"66":12461,"91":206,"79":21504,"24":15,"16":116113702112985088,"45":9070038569735952384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 18:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266063360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:56:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:56:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116113702112985088,"km_value":116113702112985.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070038569735952384,"description":"Unknown IO ID 45"} 
[2026-08-08 18:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266063360001,"power":12461,"unknown_91":206,"unknown_79":21504,"ignition":15,"odometer":null,"unknown_45":9070038569735952384}} 
[2026-08-08 18:56:38] local.INFO: TCP Data received {"connection_id":150698,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:56:38] local.INFO: Processing buffer {"connection_id":150698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:56:38] local.INFO: IMEI packet received {"connection_id":150698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":150698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":151639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:56:38] local.INFO: GPS data processed {"connection_id":151639,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:56:38] local.INFO: Acknowledgment sent {"connection_id":151639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:56:40] local.INFO: TCP Data received {"connection_id":150698,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2d00012d196780071fee100035011a25..."} 
[2026-08-08 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2d00012d196780071fee100035011a25..."} 
[2026-08-08 18:56:40] local.INFO: Processing buffer {"connection_id":150698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2d00012d196780071fee100035011a25..."} 
[2026-08-08 18:56:40] local.INFO: Packet analysis {"connection_id":150698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:56:40] local.INFO: Extracted packet for processing {"connection_id":150698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266039552001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56: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-08-08 18:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195488000,"timestamp_ms":1786195488000,"timestamp_seconds":1786195488,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2d00"} 
[2026-08-08 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-08-08 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266039552001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266039552001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:56:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:56:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266039552001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":150698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:56:40] local.INFO: GPS data processed {"connection_id":150698,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:56:40] local.INFO: Acknowledgment sent {"connection_id":150698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:56:41] local.INFO: TCP Data received {"connection_id":151638,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:56:41] local.INFO: Processing buffer {"connection_id":151638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:56:41] local.INFO: Packet analysis {"connection_id":151638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:56:41] local.INFO: Extracted packet for processing {"connection_id":151638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:56:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:56: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-08-08 18:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:56:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":151638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:56:41] local.INFO: GPS data processed {"connection_id":151638,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:56:41] local.INFO: Acknowledgment sent {"connection_id":151638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:04] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:57:04] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:57:04] local.INFO: IMEI packet received {"connection_id":153114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":153114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:57:09] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:57:09] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:57:09] local.INFO: IMEI packet received {"connection_id":153114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":153114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:57:10] local.INFO: TCP Data received {"connection_id":151639,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18d51f8012d7ddfc006282f08001a00af14..."} 
[2026-08-08 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18d51f8012d7ddfc006282f08001a00af14..."} 
[2026-08-08 18:57:10] local.INFO: Processing buffer {"connection_id":151639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18d51f8012d7ddfc006282f08001a00af14..."} 
[2026-08-08 18:57:10] local.INFO: Packet analysis {"connection_id":151639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:10] local.INFO: Extracted packet for processing {"connection_id":151639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763224000,"raw_latitude":103296776,"longitude_deg":76.3224,"latitude_deg":10.3296776,"altitude":26,"angle":175,"satellites":20,"speed":16,"hex_longitude":"2d7ddfc0","hex_latitude":"06282f08","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266063616001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116113745062658048,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070179307224207360,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195563000,"timestamp_ms":1786195563000,"timestamp_seconds":1786195563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18d51f8"} 
[2026-08-08 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-08-08 18:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 18:57: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-08-08 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-08-08 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-08-08 18:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266063616001,"66":12385,"91":206,"79":21504,"24":16,"16":116113745062658048,"45":9070179307224207360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 18:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266063616001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:57:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116113745062658048,"km_value":116113745062658.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070179307224207360,"description":"Unknown IO ID 45"} 
[2026-08-08 18:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266063616001,"power":12385,"unknown_91":206,"unknown_79":21504,"ignition":16,"odometer":null,"unknown_45":9070179307224207360}} 
[2026-08-08 18:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":151639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:10] local.INFO: GPS data processed {"connection_id":151639,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:10] local.INFO: Acknowledgment sent {"connection_id":151639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:11] local.INFO: TCP Data received {"connection_id":150698,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c7f08012d196780071fee100035011a27..."} 
[2026-08-08 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c7f08012d196780071fee100035011a27..."} 
[2026-08-08 18:57:11] local.INFO: Processing buffer {"connection_id":150698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c7f08012d196780071fee100035011a27..."} 
[2026-08-08 18:57:11] local.INFO: Packet analysis {"connection_id":150698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:11] local.INFO: Extracted packet for processing {"connection_id":150698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044928001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195509000,"timestamp_ms":1786195509000,"timestamp_seconds":1786195509,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c7f08"} 
[2026-08-08 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-08-08 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044928001,"66":12298,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044928001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044928001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":150698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:12] local.INFO: GPS data processed {"connection_id":150698,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:12] local.INFO: Acknowledgment sent {"connection_id":150698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:13] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:57:13] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:57:13] local.INFO: Packet analysis {"connection_id":153114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:13] local.INFO: Extracted packet for processing {"connection_id":153114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:57: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-08-08 18:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":153114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:13] local.INFO: GPS data processed {"connection_id":153114,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:13] local.INFO: Acknowledgment sent {"connection_id":153114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:34] local.INFO: TCP Data received {"connection_id":150424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:34] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:34] local.INFO: IMEI packet received {"connection_id":150424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":150424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:57:36] local.INFO: TCP Data received {"connection_id":150424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:36] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:36] local.INFO: IMEI packet received {"connection_id":150424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":150424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:57:38] local.INFO: TCP Data received {"connection_id":153115,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:57:38] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:57:38] local.INFO: IMEI packet received {"connection_id":153115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":153115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:57:42] local.INFO: TCP Data received {"connection_id":150424,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:42] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:57:42] local.INFO: IMEI packet received {"connection_id":150424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":150424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:57:43] local.INFO: TCP Data received {"connection_id":150424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18d9460012d7de380062809c8001900aa16..."} 
[2026-08-08 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18d9460012d7de380062809c8001900aa16..."} 
[2026-08-08 18:57:43] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18d9460012d7de380062809c8001900aa16..."} 
[2026-08-08 18:57:43] local.INFO: Packet analysis {"connection_id":150424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:43] local.INFO: Extracted packet for processing {"connection_id":150424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763224960,"raw_latitude":103287240,"longitude_deg":76.322496,"latitude_deg":10.328724,"altitude":25,"angle":170,"satellites":22,"speed":40,"hex_longitude":"2d7de380","hex_latitude":"062809c8","is_valid_coordinates":true} 
[2026-08-08 18:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266064128001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116114208919126016,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070179307223975936,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786195580000,"timestamp_ms":1786195580000,"timestamp_seconds":1786195580,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18d9460"} 
[2026-08-08 18:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266064128001,"66":12026,"91":206,"79":21504,"24":40,"16":116114208919126016,"45":9070179307223975936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266064128001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116114208919126016,"km_value":116114208919126.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070179307223975936,"description":"Unknown IO ID 45"} 
[2026-08-08 18:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266064128001,"power":12026,"unknown_91":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":9070179307223975936}} 
[2026-08-08 18:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":150424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":610999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:43] local.INFO: GPS data processed {"connection_id":150424,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:43] local.INFO: Acknowledgment sent {"connection_id":150424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:43] local.INFO: TCP Data received {"connection_id":150424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18db788012d7de9000627e490001400ad16..."} 
[2026-08-08 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18db788012d7de9000627e490001400ad16..."} 
[2026-08-08 18:57:43] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18db788012d7de9000627e490001400ad16..."} 
[2026-08-08 18:57:43] local.INFO: Packet analysis {"connection_id":150424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:43] local.INFO: Extracted packet for processing {"connection_id":150424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763226368,"raw_latitude":103277712,"longitude_deg":76.3226368,"latitude_deg":10.3277712,"altitude":20,"angle":173,"satellites":22,"speed":41,"hex_longitude":"2d7de900","hex_latitude":"0627e490","is_valid_coordinates":true} 
[2026-08-08 18:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266068480001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116114677070561280,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071234838384199680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786195589000,"timestamp_ms":1786195589000,"timestamp_seconds":1786195589,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18db788"} 
[2026-08-08 18:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266068480001,"66":12645,"91":206,"79":21504,"24":41,"16":116114677070561280,"45":9071234838384199680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 18:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266068480001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116114677070561280,"km_value":116114677070561.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071234838384199680,"description":"Unknown IO ID 45"} 
[2026-08-08 18:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266068480001,"power":12645,"unknown_91":206,"unknown_79":21504,"ignition":41,"odometer":null,"unknown_45":9071234838384199680}} 
[2026-08-08 18:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":150424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:43] local.INFO: GPS data processed {"connection_id":150424,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:43] local.INFO: Acknowledgment sent {"connection_id":150424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:44] local.INFO: TCP Data received {"connection_id":153115,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:57:44] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:57:44] local.INFO: IMEI packet received {"connection_id":153115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":153115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:57:45] local.INFO: TCP Data received {"connection_id":153115,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18cd110012d196780071fee100035011a24..."} 
[2026-08-08 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18cd110012d196780071fee100035011a24..."} 
[2026-08-08 18:57:45] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18cd110012d196780071fee100035011a24..."} 
[2026-08-08 18:57:45] local.INFO: Packet analysis {"connection_id":153115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:45] local.INFO: Extracted packet for processing {"connection_id":153115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266050304001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786195530000,"timestamp_ms":1786195530000,"timestamp_seconds":1786195530,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18cd110"} 
[2026-08-08 18:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2194870606272587417,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390635033887002,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":53,"raw_value":79417724874260480,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450333902,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2335631361,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:45] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,77,159,45,128,238,53,37,10,66,218,136,1,240,75,225,31,4,113,205,228,103,36,239,48,2,41,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 18:57:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362713792937984,"timestamp_seconds":3819362713792938.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 18:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266050304001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266050304001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266050304001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":153115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:45] local.INFO: GPS data processed {"connection_id":153115,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:45] local.INFO: Acknowledgment sent {"connection_id":153115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:48] local.INFO: TCP Data received {"connection_id":153114,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:57:48] local.INFO: Processing buffer {"connection_id":153114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:57:48] local.INFO: Packet analysis {"connection_id":153114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:48] local.INFO: Extracted packet for processing {"connection_id":153114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:57: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-08-08 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":153114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:48] local.INFO: GPS data processed {"connection_id":153114,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:48] local.INFO: Acknowledgment sent {"connection_id":153114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:57:49] local.INFO: TCP Data received {"connection_id":153115,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18d2318012d196780071fee100035011a25..."} 
[2026-08-08 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18d2318012d196780071fee100035011a25..."} 
[2026-08-08 18:57:49] local.INFO: Processing buffer {"connection_id":153115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18d2318012d196780071fee100035011a25..."} 
[2026-08-08 18:57:49] local.INFO: Packet analysis {"connection_id":153115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:49] local.INFO: Extracted packet for processing {"connection_id":153115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266055680001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786195551000,"timestamp_ms":1786195551000,"timestamp_seconds":1786195551,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18d2318"} 
[2026-08-08 18:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266055680001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266055680001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:57:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:57:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266055680001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":153115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:57:49] local.INFO: GPS data processed {"connection_id":153115,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:57:49] local.INFO: Acknowledgment sent {"connection_id":153115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:58:09] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:58:09] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:58:09] local.INFO: IMEI packet received {"connection_id":151640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":151640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:58:14] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:58:14] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:58:14] local.INFO: IMEI packet received {"connection_id":151640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":151640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:58:15] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:58:15] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:58:15] local.INFO: Packet analysis {"connection_id":151640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:58:15] local.INFO: Extracted packet for processing {"connection_id":151640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:58:15] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:58: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-08-08 18:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:58:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":151640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:58:15] local.INFO: GPS data processed {"connection_id":151640,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:58:15] local.INFO: Acknowledgment sent {"connection_id":151640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:58:16] local.INFO: TCP Data received {"connection_id":150424,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f0390012d7e974006267b000011009918..."} 
[2026-08-08 18:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f0390012d7e974006267b000011009918..."} 
[2026-08-08 18:58:16] local.INFO: Processing buffer {"connection_id":150424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f0390012d7e974006267b000011009918..."} 
[2026-08-08 18:58:16] local.INFO: Packet analysis {"connection_id":150424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:58:16] local.INFO: Extracted packet for processing {"connection_id":150424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763270976,"raw_latitude":103185152,"longitude_deg":76.3270976,"latitude_deg":10.3185152,"altitude":17,"angle":153,"satellites":24,"speed":55,"hex_longitude":"2d7e9740","hex_latitude":"06267b00","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266090752001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116119654937657344,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116833784587339776,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786195674000,"timestamp_ms":1786195674000,"timestamp_seconds":1786195674,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f0390"} 
[2026-08-08 18:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 18:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266090752001,"66":12287,"52":206,"79":21504,"24":55,"16":116119654937657344,"45":9116833784587339776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-08 18:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266090752001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:58:16] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 18:58:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116119654937657344,"km_value":116119654937657.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116833784587339776,"description":"Unknown IO ID 45"} 
[2026-08-08 18:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266090752001,"power":12287,"unknown_52":206,"unknown_79":21504,"ignition":55,"odometer":null,"unknown_45":9116833784587339776}} 
[2026-08-08 18:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":150424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:58:16] local.INFO: GPS data processed {"connection_id":150424,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:58:16] local.INFO: Acknowledgment sent {"connection_id":150424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:58:19] local.INFO: TCP Data received {"connection_id":151640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:58:19] local.INFO: Processing buffer {"connection_id":151640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:58:19] local.INFO: Packet analysis {"connection_id":151640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:58:19] local.INFO: Extracted packet for processing {"connection_id":151640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:58:19] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 18:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:58: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-08-08 18:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:58:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:58:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":151640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:58:19] local.INFO: GPS data processed {"connection_id":151640,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:58:19] local.INFO: Acknowledgment sent {"connection_id":151640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:58:31] local.INFO: TCP Data received {"connection_id":150699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:31] local.INFO: Processing buffer {"connection_id":150699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:31] local.INFO: IMEI packet received {"connection_id":150699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":150699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:58:31] local.INFO: TCP Data received {"connection_id":150699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:31] local.INFO: Processing buffer {"connection_id":150699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:31] local.INFO: IMEI packet received {"connection_id":150699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":150699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:58:33] local.INFO: TCP Data received {"connection_id":150700,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:58:33] local.INFO: Processing buffer {"connection_id":150700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:58:33] local.INFO: IMEI packet received {"connection_id":150700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":150700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:58:35] local.INFO: TCP Data received {"connection_id":150700,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:58:35] local.INFO: Processing buffer {"connection_id":150700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:58:35] local.INFO: IMEI packet received {"connection_id":150700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":150700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:58:36] local.INFO: TCP Data received {"connection_id":150700,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18d7520012d196780071fee100035011a26..."} 
[2026-08-08 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18d7520012d196780071fee100035011a26..."} 
[2026-08-08 18:58:36] local.INFO: Processing buffer {"connection_id":150700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18d7520012d196780071fee100035011a26..."} 
[2026-08-08 18:58:36] local.INFO: Packet analysis {"connection_id":150700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:58:36] local.INFO: Extracted packet for processing {"connection_id":150700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266061056001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58: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-08-08 18:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786195572000,"timestamp_ms":1786195572000,"timestamp_seconds":1786195572,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18d7520"} 
[2026-08-08 18:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 18:58: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-08-08 18:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266061056001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266061056001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:58:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266061056001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":150700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:58:36] local.INFO: GPS data processed {"connection_id":150700,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:58:36] local.INFO: Acknowledgment sent {"connection_id":150700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:58:36] local.INFO: TCP Data received {"connection_id":150699,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:36] local.INFO: Processing buffer {"connection_id":150699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:58:36] local.INFO: IMEI packet received {"connection_id":150699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":150699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:58:38] local.INFO: TCP Data received {"connection_id":150699,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f1ee8012d7eaa00062658980011009719..."} 
[2026-08-08 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f1ee8012d7eaa00062658980011009719..."} 
[2026-08-08 18:58:38] local.INFO: Processing buffer {"connection_id":150699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f1ee8012d7eaa00062658980011009719..."} 
[2026-08-08 18:58:38] local.INFO: Packet analysis {"connection_id":150699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:58:38] local.INFO: Extracted packet for processing {"connection_id":150699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":103176344,"longitude_deg":76.3275776,"latitude_deg":10.3176344,"altitude":17,"angle":151,"satellites":25,"speed":57,"hex_longitude":"2d7eaa00","hex_latitude":"06265898","is_valid_coordinates":true} 
[2026-08-08 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266092544001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116120140268961792,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121829965421805568,"note":"Value kept but may cause issues"} 
[2026-08-08 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786195681000,"timestamp_ms":1786195681000,"timestamp_seconds":1786195681,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f1ee8"} 
[2026-08-08 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 18:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266092544001,"66":12058,"52":206,"79":21504,"24":57,"16":116120140268961792,"45":9121829965421805568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-08 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266092544001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116120140268961792,"km_value":116120140268961.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121829965421805568,"description":"Unknown IO ID 45"} 
[2026-08-08 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266092544001,"power":12058,"unknown_52":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":9121829965421805568}} 
[2026-08-08 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":150699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:58:38] local.INFO: GPS data processed {"connection_id":150699,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:58:38] local.INFO: Acknowledgment sent {"connection_id":150699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:04] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:59:04] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:59:04] local.INFO: IMEI packet received {"connection_id":153116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":153116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:59:08] local.INFO: TCP Data received {"connection_id":150700,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18dc728012d196780071fee100035011a22..."} 
[2026-08-08 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18dc728012d196780071fee100035011a22..."} 
[2026-08-08 18:59:08] local.INFO: Processing buffer {"connection_id":150700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18dc728012d196780071fee100035011a22..."} 
[2026-08-08 18:59:08] local.INFO: Packet analysis {"connection_id":150700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:59:08] local.INFO: Extracted packet for processing {"connection_id":150700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18d"} 
[2026-08-08 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 18: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-08-08 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266066432001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59: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-08-08 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786195593000,"timestamp_ms":1786195593000,"timestamp_seconds":1786195593,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18dc728"} 
[2026-08-08 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 18:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18: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-08-08 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266066432001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266066432001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266066432001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":150700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:08] local.INFO: GPS data processed {"connection_id":150700,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:08] local.INFO: Acknowledgment sent {"connection_id":150700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:09] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:59:09] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 18:59:09] local.INFO: IMEI packet received {"connection_id":153116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 18:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":153116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:59:10] local.INFO: TCP Data received {"connection_id":150699,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f3a40012d7ebcc0062636800010009619..."} 
[2026-08-08 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f3a40012d7ebcc0062636800010009619..."} 
[2026-08-08 18:59:10] local.INFO: Processing buffer {"connection_id":150699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f3a40012d7ebcc0062636800010009619..."} 
[2026-08-08 18:59:10] local.INFO: Packet analysis {"connection_id":150699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:59:10] local.INFO: Extracted packet for processing {"connection_id":150699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763280576,"raw_latitude":103167616,"longitude_deg":76.3280576,"latitude_deg":10.3167616,"altitude":16,"angle":150,"satellites":25,"speed":56,"hex_longitude":"2d7ebcc0","hex_latitude":"06263680","is_valid_coordinates":true} 
[2026-08-08 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266094336001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116120621305298944,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107621232875520,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195688000,"timestamp_ms":1786195688000,"timestamp_seconds":1786195688,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f3a40"} 
[2026-08-08 18:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:59: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-08-08 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 18:59: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-08-08 18:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266094336001,"66":12624,"52":206,"79":21504,"24":56,"16":116120621305298944,"45":9127107621232875520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266094336001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116120621305298944,"km_value":116120621305298.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107621232875520,"description":"Unknown IO ID 45"} 
[2026-08-08 18:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266094336001,"power":12624,"unknown_52":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":9127107621232875520}} 
[2026-08-08 18:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":150699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:10] local.INFO: GPS data processed {"connection_id":150699,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:10] local.INFO: Acknowledgment sent {"connection_id":150699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:10] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:59:10] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:59:10] local.INFO: Packet analysis {"connection_id":153116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:59:10] local.INFO: Extracted packet for processing {"connection_id":153116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:59:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":153116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:10] local.INFO: GPS data processed {"connection_id":153116,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:10] local.INFO: Acknowledgment sent {"connection_id":153116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:33] local.INFO: TCP Data received {"connection_id":150701,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:59:33] local.INFO: Processing buffer {"connection_id":150701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:59:33] local.INFO: IMEI packet received {"connection_id":150701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":150701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:59:33] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:59:33] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:59:33] local.INFO: IMEI packet received {"connection_id":153117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":153117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 18:59:34] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:59:34] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 18:59:34] local.INFO: IMEI packet received {"connection_id":153117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":153117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:59:37] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f5598012d7ecf00062615680011009619..."} 
[2026-08-08 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f5598012d7ecf00062615680011009619..."} 
[2026-08-08 18:59:37] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f5598012d7ecf00062615680011009619..."} 
[2026-08-08 18:59:37] local.INFO: Packet analysis {"connection_id":153117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:59:37] local.INFO: Extracted packet for processing {"connection_id":153117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763285248,"raw_latitude":103159144,"longitude_deg":76.3285248,"latitude_deg":10.3159144,"altitude":17,"angle":150,"satellites":25,"speed":54,"hex_longitude":"2d7ecf00","hex_latitude":"06261568","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266096128001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116121089456734208,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132385277043965952,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786195695000,"timestamp_ms":1786195695000,"timestamp_seconds":1786195695,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f5598"} 
[2026-08-08 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-08-08 18:59: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-08-08 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":80,"data_length":795,"current_offset":136} 
[2026-08-08 18:59:37] 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-08-08 18:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266096128001,"66":12624,"52":206,"79":21504,"24":54,"16":116121089456734208,"45":9132385277043965952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-08 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266096128001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:37] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 18:59:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116121089456734208,"km_value":116121089456734.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132385277043965952,"description":"Unknown IO ID 45"} 
[2026-08-08 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266096128001,"power":12624,"unknown_52":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":9132385277043965952}} 
[2026-08-08 18:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":153117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:38] local.INFO: GPS data processed {"connection_id":153117,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:38] local.INFO: Acknowledgment sent {"connection_id":153117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:38] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f70f0012d7ee0400625f5580011009619..."} 
[2026-08-08 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f70f0012d7ee0400625f5580011009619..."} 
[2026-08-08 18:59:38] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f70f0012d7ee0400625f5580011009619..."} 
[2026-08-08 18:59:38] local.INFO: Packet analysis {"connection_id":153117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:59:38] local.INFO: Extracted packet for processing {"connection_id":153117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 18:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763289664,"raw_latitude":103150936,"longitude_deg":76.3289664,"latitude_deg":10.3150936,"altitude":17,"angle":150,"satellites":25,"speed":52,"hex_longitude":"2d7ee040","hex_latitude":"0625f558","is_valid_coordinates":true} 
[2026-08-08 18:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266097920001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116121540428300288,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137522195366766592,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786195702000,"timestamp_ms":1786195702000,"timestamp_seconds":1786195702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f70f0"} 
[2026-08-08 18:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 18: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-08 18:59:38] 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-08-08 18:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 18:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 18:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 18:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266097920001,"66":12461,"52":206,"79":21504,"24":52,"16":116121540428300288,"45":9137522195366766592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-08-08 18:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 18:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 18:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266097920001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:38] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-08 18:59:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 18:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116121540428300288,"km_value":116121540428300.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137522195366766592,"description":"Unknown IO ID 45"} 
[2026-08-08 18:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266097920001,"power":12461,"unknown_52":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":9137522195366766592}} 
[2026-08-08 18:59:38] local.INFO: TCP Data received {"connection_id":150701,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:59:38] local.INFO: Processing buffer {"connection_id":150701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 18:59:38] local.INFO: IMEI packet received {"connection_id":150701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 18:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":150701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 18:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":153117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:38] local.INFO: GPS data processed {"connection_id":153117,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:38] local.INFO: Acknowledgment sent {"connection_id":153117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:40] local.INFO: TCP Data received {"connection_id":150701,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18e1930012d196780071fee100035011a23..."} 
[2026-08-08 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18e1930012d196780071fee100035011a23..."} 
[2026-08-08 18:59:40] local.INFO: Processing buffer {"connection_id":150701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18e1930012d196780071fee100035011a23..."} 
[2026-08-08 18:59:40] local.INFO: Packet analysis {"connection_id":150701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18e"} 
[2026-08-08 18:59:40] local.INFO: Extracted packet for processing {"connection_id":150701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18e"} 
[2026-08-08 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266071808001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59: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-08-08 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786195614000,"timestamp_ms":1786195614000,"timestamp_seconds":1786195614,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18e1930"} 
[2026-08-08 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-08-08 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 18:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 18:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266071808001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266071808001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 18:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266071808001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":150701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:40] local.INFO: GPS data processed {"connection_id":150701,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:40] local.INFO: Acknowledgment sent {"connection_id":150701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 18:59:41] local.INFO: TCP Data received {"connection_id":153116,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:59:41] local.INFO: Processing buffer {"connection_id":153116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 18:59:41] local.INFO: Packet analysis {"connection_id":153116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:59:41] local.INFO: Extracted packet for processing {"connection_id":153116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 18:59:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 18:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 18:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 18:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 18:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 18:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 18: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-08-08 18:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 18:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 18:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 18:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 18:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 18:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 18:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 18:59: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-08-08 18:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 18:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 18:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 18:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 18:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 18:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 18:59:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 18:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 18:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 18:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 18:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 18:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":153116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 18:59:41] local.INFO: GPS data processed {"connection_id":153116,"processed":1,"errors":0,"total":1} 
[2026-08-08 18:59:41] local.INFO: Acknowledgment sent {"connection_id":153116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:00:04] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:00:04] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:00:04] local.INFO: IMEI packet received {"connection_id":151641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":151641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:00:09] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:00:09] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:00:09] local.INFO: IMEI packet received {"connection_id":151641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":151641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:00:10] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 19:00:10] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18c2918012cfa4cc007404e58002a00d728..."} 
[2026-08-08 19:00:10] local.INFO: Packet analysis {"connection_id":151641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 19:00:10] local.INFO: Extracted packet for processing {"connection_id":151641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18c"} 
[2026-08-08 19:00:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457265967360001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-402509185550891008,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195487000,"timestamp_ms":1786195487000,"timestamp_seconds":1786195487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18c2918"} 
[2026-08-08 19:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 19:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:00: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-08-08 19:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457265967360001,"66":26408,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-402509185550891008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457265967360001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:00:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-402509185550891008,"description":"Unknown IO ID 44"} 
[2026-08-08 19:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457265967360001,"power":26408,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-402509185550891008}} 
[2026-08-08 19:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":151641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:00:10] local.INFO: GPS data processed {"connection_id":151641,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:00:10] local.INFO: Acknowledgment sent {"connection_id":151641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:00:11] local.INFO: TCP Data received {"connection_id":150701,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18e6b38012d196780071fee100035011a26..."} 
[2026-08-08 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18e6b38012d196780071fee100035011a26..."} 
[2026-08-08 19:00:11] local.INFO: Processing buffer {"connection_id":150701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18e6b38012d196780071fee100035011a26..."} 
[2026-08-08 19:00:11] local.INFO: Packet analysis {"connection_id":150701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18e"} 
[2026-08-08 19:00:11] local.INFO: Extracted packet for processing {"connection_id":150701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18e"} 
[2026-08-08 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266077184001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195635000,"timestamp_ms":1786195635000,"timestamp_seconds":1786195635,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18e6b38"} 
[2026-08-08 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-08-08 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266077184001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266077184001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:00:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266077184001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":150701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:00:11] local.INFO: GPS data processed {"connection_id":150701,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:00:11] local.INFO: Acknowledgment sent {"connection_id":150701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:00:13] local.INFO: TCP Data received {"connection_id":153117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190d468012d7fe68006244a00001600981e..."} 
[2026-08-08 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190d468012d7fe68006244a00001600981e..."} 
[2026-08-08 19:00:13] local.INFO: Processing buffer {"connection_id":153117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190d468012d7fe68006244a00001600981e..."} 
[2026-08-08 19:00:13] local.INFO: Packet analysis {"connection_id":153117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:00:13] local.INFO: Extracted packet for processing {"connection_id":153117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763356800,"raw_latitude":103041536,"longitude_deg":76.33568,"latitude_deg":10.3041536,"altitude":22,"angle":152,"satellites":30,"speed":59,"hex_longitude":"2d7fe680","hex_latitude":"06244a00","is_valid_coordinates":true} 
[2026-08-08 19:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121216001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116127746656043008,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211057533004650496,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786195793000,"timestamp_ms":1786195793000,"timestamp_seconds":1786195793,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190d468"} 
[2026-08-08 19:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:00: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-08-08 19:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 19:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121216001,"66":12189,"91":206,"79":21504,"24":59,"16":116127746656043008,"45":9211057533004650496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 19:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121216001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:00:13] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 19:00:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116127746656043008,"km_value":116127746656043.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211057533004650496,"description":"Unknown IO ID 45"} 
[2026-08-08 19:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121216001,"power":12189,"unknown_91":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":9211057533004650496}} 
[2026-08-08 19:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":153117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:00:13] local.INFO: GPS data processed {"connection_id":153117,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:00:13] local.INFO: Acknowledgment sent {"connection_id":153117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:00:32] local.INFO: TCP Data received {"connection_id":150425,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:00:32] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:00:32] local.INFO: IMEI packet received {"connection_id":150425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":150425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:00:33] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:00:33] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:00:33] local.INFO: IMEI packet received {"connection_id":150426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":150426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:00:36] local.INFO: TCP Data received {"connection_id":150425,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:00:36] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:00:36] local.INFO: IMEI packet received {"connection_id":150425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:00:36] local.INFO: TCP Data received {"connection_id":150425,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190efc0012d7ff94006242698001800981e..."} 
[2026-08-08 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190efc0012d7ff94006242698001800981e..."} 
[2026-08-08 19:00:36] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190efc0012d7ff94006242698001800981e..."} 
[2026-08-08 19:00:36] local.INFO: Packet analysis {"connection_id":150425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:00:36] local.INFO: Extracted packet for processing {"connection_id":150425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763361600,"raw_latitude":103032472,"longitude_deg":76.33616,"latitude_deg":10.3032472,"altitude":24,"angle":152,"satellites":30,"speed":56,"hex_longitude":"2d7ff940","hex_latitude":"06242698","is_valid_coordinates":true} 
[2026-08-08 19:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266123008001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116128240577282048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216194451327287296,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786195800000,"timestamp_ms":1786195800000,"timestamp_seconds":1786195800,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190efc0"} 
[2026-08-08 19:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:00: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-08-08 19:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 19:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266123008001,"66":12298,"91":206,"79":21504,"24":56,"16":116128240577282048,"45":9216194451327287296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-08 19:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266123008001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116128240577282048,"km_value":116128240577282.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216194451327287296,"description":"Unknown IO ID 45"} 
[2026-08-08 19:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266123008001,"power":12298,"unknown_91":206,"unknown_79":21504,"ignition":56,"odometer":null,"unknown_45":9216194451327287296}} 
[2026-08-08 19:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":150425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:00:36] local.INFO: GPS data processed {"connection_id":150425,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:00:36] local.INFO: Acknowledgment sent {"connection_id":150425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:00:38] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:00:38] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:00:38] local.INFO: IMEI packet received {"connection_id":150426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":150426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:00:39] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18ebd40012d196780071fee100035011a24..."} 
[2026-08-08 19:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18ebd40012d196780071fee100035011a24..."} 
[2026-08-08 19:00:39] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18ebd40012d196780071fee100035011a24..."} 
[2026-08-08 19:00:39] local.INFO: Packet analysis {"connection_id":150426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18e"} 
[2026-08-08 19:00:39] local.INFO: Extracted packet for processing {"connection_id":150426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18e"} 
[2026-08-08 19:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266082560001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195656000,"timestamp_ms":1786195656000,"timestamp_seconds":1786195656,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18ebd40"} 
[2026-08-08 19:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 19:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266082560001,"66":11450,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266082560001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:00:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:00:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266082560001,"power":11450,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":150426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:00:40] local.INFO: GPS data processed {"connection_id":150426,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:00:40] local.INFO: Acknowledgment sent {"connection_id":150426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:00:41] local.INFO: TCP Data received {"connection_id":151641,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:00:41] local.INFO: Processing buffer {"connection_id":151641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:00:41] local.INFO: Packet analysis {"connection_id":151641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:00:41] local.INFO: Extracted packet for processing {"connection_id":151641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:00:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":151641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:00:41] local.INFO: GPS data processed {"connection_id":151641,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:00:41] local.INFO: Acknowledgment sent {"connection_id":151641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:04] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:01:04] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:01:04] local.INFO: IMEI packet received {"connection_id":153118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":153118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:01:09] local.INFO: TCP Data received {"connection_id":150425,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1910b18012d800ac006240528001b00991e..."} 
[2026-08-08 19:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1910b18012d800ac006240528001b00991e..."} 
[2026-08-08 19:01:09] local.INFO: Processing buffer {"connection_id":150425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1910b18012d800ac006240528001b00991e..."} 
[2026-08-08 19:01:09] local.INFO: Packet analysis {"connection_id":150425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:01:09] local.INFO: Extracted packet for processing {"connection_id":150425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763366080,"raw_latitude":103023912,"longitude_deg":76.336608,"latitude_deg":10.3023912,"altitude":27,"angle":153,"satellites":30,"speed":54,"hex_longitude":"2d800ac0","hex_latitude":"06240528","is_valid_coordinates":true} 
[2026-08-08 19:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266124800001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116128708728717312,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221472107138291712,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786195807000,"timestamp_ms":1786195807000,"timestamp_seconds":1786195807,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1910b18"} 
[2026-08-08 19:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:01: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-08-08 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6052864288387760640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186012,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2193199863994417302,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":442779036223602832,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972243734757582,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2424463361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2951217175,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1448804558,"corrected_to":0} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060310,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2412838912,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":25,"raw_value":40563183894659072,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":143,"raw_value":6773413839565225985,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.WARNING: Large IO value detected {"io_id":26,"raw_value":16325548649873412,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:09] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,91,79,24,241,157,16,146,159,212,45,128,74,22,30,10,66,145,185,64,109,23,1,240,174,227,144,225,36,4,113,205,54,103,152,176,29,239,48,2,156,6,25,143,26],"length":534,"final_offset":664,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1448804558,"validated":0}]} 
[2026-08-08 19:01:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729549511530381312,"timestamp_seconds":1729549511530381.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266124800001,"66":12287,"112":206,"79":21504,"24":54,"16":116128708728717312,"45":9221472107138291712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-08-08 19:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266124800001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 19:01:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116128708728717312,"km_value":116128708728717.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221472107138291712,"description":"Unknown IO ID 45"} 
[2026-08-08 19:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266124800001,"power":12287,"unknown_112":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":9221472107138291712}} 
[2026-08-08 19:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":150425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:09] local.INFO: GPS data processed {"connection_id":150425,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:09] local.INFO: Acknowledgment sent {"connection_id":150425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:09] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:01:09] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:01:09] local.INFO: IMEI packet received {"connection_id":153118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":153118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:01:10] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:01:10] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:01:10] local.INFO: Packet analysis {"connection_id":153118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:01:10] local.INFO: Extracted packet for processing {"connection_id":153118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":153118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:10] local.INFO: GPS data processed {"connection_id":153118,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:10] local.INFO: Acknowledgment sent {"connection_id":153118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:11] local.INFO: TCP Data received {"connection_id":150426,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f0f48012d196780071fee100035011a25..."} 
[2026-08-08 19:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f0f48012d196780071fee100035011a25..."} 
[2026-08-08 19:01:11] local.INFO: Processing buffer {"connection_id":150426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f0f48012d196780071fee100035011a25..."} 
[2026-08-08 19:01:11] local.INFO: Packet analysis {"connection_id":150426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 19:01:11] local.INFO: Extracted packet for processing {"connection_id":150426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266087936001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195677000,"timestamp_ms":1786195677000,"timestamp_seconds":1786195677,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f0f48"} 
[2026-08-08 19:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266087936001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266087936001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266087936001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":150426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:11] local.INFO: GPS data processed {"connection_id":150426,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:11] local.INFO: Acknowledgment sent {"connection_id":150426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:31] local.INFO: TCP Data received {"connection_id":150702,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:31] local.INFO: Processing buffer {"connection_id":150702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:31] local.INFO: IMEI packet received {"connection_id":150702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":150702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:01:33] local.INFO: TCP Data received {"connection_id":150703,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:01:33] local.INFO: Processing buffer {"connection_id":150703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:01:33] local.INFO: IMEI packet received {"connection_id":150703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":150703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:01:35] local.INFO: TCP Data received {"connection_id":150702,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:35] local.INFO: Processing buffer {"connection_id":150702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:35] local.INFO: IMEI packet received {"connection_id":150702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":150702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:01:36] local.INFO: TCP Data received {"connection_id":150702,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:36] local.INFO: Processing buffer {"connection_id":150702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:01:36] local.INFO: IMEI packet received {"connection_id":150702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":150702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:01:37] local.INFO: TCP Data received {"connection_id":150702,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1922070012d7ff6800622a690001400cc1f..."} 
[2026-08-08 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1922070012d7ff6800622a690001400cc1f..."} 
[2026-08-08 19:01:37] local.INFO: Processing buffer {"connection_id":150702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1922070012d7ff6800622a690001400cc1f..."} 
[2026-08-08 19:01:37] local.INFO: Packet analysis {"connection_id":150702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:01:37] local.INFO: Extracted packet for processing {"connection_id":150702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763360896,"raw_latitude":102934160,"longitude_deg":76.3360896,"latitude_deg":10.293416,"altitude":20,"angle":204,"satellites":31,"speed":51,"hex_longitude":"2d7ff680","hex_latitude":"0622a690","is_valid_coordinates":true} 
[2026-08-08 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266142720001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116133201264508928,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221401685664282624,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786195878000,"timestamp_ms":1786195878000,"timestamp_seconds":1786195878,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1922070"} 
[2026-08-08 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:01: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-08-08 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266142720001,"66":12189,"118":206,"79":21504,"24":51,"16":116133201264508928,"45":-9221401685664282624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-08-08 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266142720001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 19:01:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116133201264508928,"km_value":116133201264508.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221401685664282624,"description":"Unknown IO ID 45"} 
[2026-08-08 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266142720001,"power":12189,"unknown_118":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-9221401685664282624}} 
[2026-08-08 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":150702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:37] local.INFO: GPS data processed {"connection_id":150702,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:37] local.INFO: Acknowledgment sent {"connection_id":150702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:38] local.INFO: TCP Data received {"connection_id":150703,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:01:38] local.INFO: Processing buffer {"connection_id":150703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:01:38] local.INFO: IMEI packet received {"connection_id":150703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":150703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:01:39] local.INFO: TCP Data received {"connection_id":150703,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18f6150012d196780071fee100035011a27..."} 
[2026-08-08 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18f6150012d196780071fee100035011a27..."} 
[2026-08-08 19:01:39] local.INFO: Processing buffer {"connection_id":150703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18f6150012d196780071fee100035011a27..."} 
[2026-08-08 19:01:39] local.INFO: Packet analysis {"connection_id":150703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 19:01:39] local.INFO: Extracted packet for processing {"connection_id":150703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266093312001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195698000,"timestamp_ms":1786195698000,"timestamp_seconds":1786195698,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18f6150"} 
[2026-08-08 19:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266093312001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266093312001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266093312001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":150703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:40] local.INFO: GPS data processed {"connection_id":150703,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:40] local.INFO: Acknowledgment sent {"connection_id":150703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:41] local.INFO: TCP Data received {"connection_id":153118,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:01:41] local.INFO: Processing buffer {"connection_id":153118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:01:41] local.INFO: Packet analysis {"connection_id":153118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:01:41] local.INFO: Extracted packet for processing {"connection_id":153118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:01:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:01: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-08-08 19:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":153118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:41] local.INFO: GPS data processed {"connection_id":153118,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:41] local.INFO: Acknowledgment sent {"connection_id":153118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:01:42] local.INFO: TCP Data received {"connection_id":150702,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19237e0012d7fecc0062289f8001100c01f..."} 
[2026-08-08 19:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19237e0012d7fecc0062289f8001100c01f..."} 
[2026-08-08 19:01:42] local.INFO: Processing buffer {"connection_id":150702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19237e0012d7fecc0062289f8001100c01f..."} 
[2026-08-08 19:01:42] local.INFO: Packet analysis {"connection_id":150702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:01:42] local.INFO: Extracted packet for processing {"connection_id":150702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763358400,"raw_latitude":102926840,"longitude_deg":76.33584,"latitude_deg":10.292684,"altitude":17,"angle":192,"satellites":31,"speed":51,"hex_longitude":"2d7fecc0","hex_latitude":"062289f8","is_valid_coordinates":true} 
[2026-08-08 19:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266144768001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116133579221630976,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220698050927169536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786195884000,"timestamp_ms":1786195884000,"timestamp_seconds":1786195884,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19237e0"} 
[2026-08-08 19:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 19:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266144768001,"66":12287,"118":206,"79":21504,"24":51,"16":116133579221630976,"45":9220698050927169536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-08-08 19:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266144768001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:01:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 19:01:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116133579221630976,"km_value":116133579221630.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220698050927169536,"description":"Unknown IO ID 45"} 
[2026-08-08 19:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266144768001,"power":12287,"unknown_118":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":9220698050927169536}} 
[2026-08-08 19:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":150702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:01:42] local.INFO: GPS data processed {"connection_id":150702,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:01:42] local.INFO: Acknowledgment sent {"connection_id":150702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:04] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:02:04] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:02:04] local.INFO: IMEI packet received {"connection_id":151642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":151642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:02:09] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:02:09] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:02:09] local.INFO: IMEI packet received {"connection_id":151642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":151642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:02:10] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:02:10] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:02:10] local.INFO: Packet analysis {"connection_id":151642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:02:10] local.INFO: Extracted packet for processing {"connection_id":151642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":151642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:10] local.INFO: GPS data processed {"connection_id":151642,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:10] local.INFO: Acknowledgment sent {"connection_id":151642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:11] local.INFO: TCP Data received {"connection_id":150703,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe18fb358012d196780071fee100035011a28..."} 
[2026-08-08 19:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe18fb358012d196780071fee100035011a28..."} 
[2026-08-08 19:02:11] local.INFO: Processing buffer {"connection_id":150703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe18fb358012d196780071fee100035011a28..."} 
[2026-08-08 19:02:11] local.INFO: Packet analysis {"connection_id":150703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 19:02:11] local.INFO: Extracted packet for processing {"connection_id":150703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe18f"} 
[2026-08-08 19:02:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266098688001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195719000,"timestamp_ms":1786195719000,"timestamp_seconds":1786195719,"priority":1,"record_length":96,"hex_timestamp":"0000019fe18fb358"} 
[2026-08-08 19:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266098688001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266098688001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266098688001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":150703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:11] local.INFO: GPS data processed {"connection_id":150703,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:11] local.INFO: Acknowledgment sent {"connection_id":150703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:13] local.INFO: TCP Data received {"connection_id":150702,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1924f50012d7fea0006226bc8000d00b31e..."} 
[2026-08-08 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1924f50012d7fea0006226bc8000d00b31e..."} 
[2026-08-08 19:02:13] local.INFO: Processing buffer {"connection_id":150702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1924f50012d7fea0006226bc8000d00b31e..."} 
[2026-08-08 19:02:13] local.INFO: Packet analysis {"connection_id":150702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:13] local.INFO: Extracted packet for processing {"connection_id":150702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763357696,"raw_latitude":102919112,"longitude_deg":76.3357696,"latitude_deg":10.2919112,"altitude":13,"angle":179,"satellites":30,"speed":50,"hex_longitude":"2d7fea00","hex_latitude":"06226bc8","is_valid_coordinates":true} 
[2026-08-08 19:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266146304001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116133952883785728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217953669902366720,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786195890000,"timestamp_ms":1786195890000,"timestamp_seconds":1786195890,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1924f50"} 
[2026-08-08 19:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266146304001,"66":12200,"118":206,"79":21504,"24":50,"16":116133952883785728,"45":9217953669902366720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-08-08 19:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266146304001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 19:02:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116133952883785728,"km_value":116133952883785.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217953669902366720,"description":"Unknown IO ID 45"} 
[2026-08-08 19:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266146304001,"power":12200,"unknown_118":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9217953669902366720}} 
[2026-08-08 19:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":150702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:13] local.INFO: GPS data processed {"connection_id":150702,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:13] local.INFO: Acknowledgment sent {"connection_id":150702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:32] local.INFO: TCP Data received {"connection_id":150704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:32] local.INFO: Processing buffer {"connection_id":150704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:32] local.INFO: IMEI packet received {"connection_id":150704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":150704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:02:33] local.INFO: TCP Data received {"connection_id":150705,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:02:33] local.INFO: Processing buffer {"connection_id":150705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:02:33] local.INFO: IMEI packet received {"connection_id":150705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":150705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:02:33] local.INFO: TCP Data received {"connection_id":150704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:33] local.INFO: Processing buffer {"connection_id":150704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:33] local.INFO: IMEI packet received {"connection_id":150704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":150704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:02:36] local.INFO: TCP Data received {"connection_id":150704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:36] local.INFO: Processing buffer {"connection_id":150704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:02:36] local.INFO: IMEI packet received {"connection_id":150704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:02:38] local.INFO: TCP Data received {"connection_id":150705,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:02:38] local.INFO: Processing buffer {"connection_id":150705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:02:38] local.INFO: IMEI packet received {"connection_id":150705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":150705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:02:39] local.INFO: TCP Data received {"connection_id":150705,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1900560012d196780071fee100035011a24..."} 
[2026-08-08 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1900560012d196780071fee100035011a24..."} 
[2026-08-08 19:02:39] local.INFO: Processing buffer {"connection_id":150705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1900560012d196780071fee100035011a24..."} 
[2026-08-08 19:02:39] local.INFO: Packet analysis {"connection_id":150705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:02:39] local.INFO: Extracted packet for processing {"connection_id":150705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266104064001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195740000,"timestamp_ms":1786195740000,"timestamp_seconds":1786195740,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1900560"} 
[2026-08-08 19:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266104064001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266104064001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266104064001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":150705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:39] local.INFO: GPS data processed {"connection_id":150705,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:39] local.INFO: Acknowledgment sent {"connection_id":150705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:41] local.INFO: TCP Data received {"connection_id":151642,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:02:41] local.INFO: Processing buffer {"connection_id":151642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:02:41] local.INFO: Packet analysis {"connection_id":151642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:02:41] local.INFO: Extracted packet for processing {"connection_id":151642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":151642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:41] local.INFO: GPS data processed {"connection_id":151642,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:41] local.INFO: Acknowledgment sent {"connection_id":151642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:45] local.INFO: TCP Data received {"connection_id":150704,"ip":"42.106.6.40","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fe1..."} 
[2026-08-08 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150704,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fe1..."} 
[2026-08-08 19:02:45] local.INFO: Processing buffer {"connection_id":150704,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fe1..."} 
[2026-08-08 19:02:45] local.INFO: IMEI packet received {"connection_id":150704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":150704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:02:51] local.INFO: TCP Data received {"connection_id":150704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1928600012d7ff70006222da0000c009d20..."} 
[2026-08-08 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1928600012d7ff70006222da0000c009d20..."} 
[2026-08-08 19:02:51] local.INFO: Processing buffer {"connection_id":150704,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1926aa8012d7fed8006224af8000b00a820..."} 
[2026-08-08 19:02:51] local.INFO: Packet analysis {"connection_id":150704,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:51] local.INFO: Extracted packet for processing {"connection_id":150704,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763358592,"raw_latitude":102910712,"longitude_deg":76.3358592,"latitude_deg":10.2910712,"altitude":11,"angle":168,"satellites":32,"speed":43,"hex_longitude":"2d7fed80","hex_latitude":"06224af8","is_valid_coordinates":true} 
[2026-08-08 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266147840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116134365200646144,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217179613714434048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786195897000,"timestamp_ms":1786195897000,"timestamp_seconds":1786195897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1926aa8"} 
[2026-08-08 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:51] 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-08-08 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266147840001,"66":11634,"118":206,"79":21504,"24":43,"16":116134365200646144,"45":9217179613714434048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,79,24,16,45]} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266147840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116134365200646144,"km_value":116134365200646.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217179613714434048,"description":"Unknown IO ID 45"} 
[2026-08-08 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266147840001,"power":11634,"unknown_118":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":9217179613714434048}} 
[2026-08-08 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":150704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:51] local.INFO: GPS data processed {"connection_id":150704,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:51] local.INFO: Acknowledgment sent {"connection_id":150704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:51] local.INFO: Packet analysis {"connection_id":150704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:51] local.INFO: Extracted packet for processing {"connection_id":150704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763361024,"raw_latitude":102903200,"longitude_deg":76.3361024,"latitude_deg":10.29032,"altitude":12,"angle":157,"satellites":32,"speed":44,"hex_longitude":"2d7ff700","hex_latitude":"06222da0","is_valid_coordinates":true} 
[2026-08-08 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266149632001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116134747452735488,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9218164776130770944,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786195904000,"timestamp_ms":1786195904000,"timestamp_seconds":1786195904,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1928600"} 
[2026-08-08 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266149632001,"66":12135,"147":206,"79":21504,"24":44,"16":116134747452735488,"45":9218164776130770944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-08 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266149632001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116134747452735488,"km_value":116134747452735.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9218164776130770944,"description":"Unknown IO ID 45"} 
[2026-08-08 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266149632001,"power":12135,"unknown_147":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":9218164776130770944}} 
[2026-08-08 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":150704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:51] local.INFO: GPS data processed {"connection_id":150704,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:51] local.INFO: Acknowledgment sent {"connection_id":150704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:02:52] local.INFO: TCP Data received {"connection_id":150704,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe192a158012d80064006221300000e009120..."} 
[2026-08-08 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe192a158012d80064006221300000e009120..."} 
[2026-08-08 19:02:52] local.INFO: Processing buffer {"connection_id":150704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe192a158012d80064006221300000e009120..."} 
[2026-08-08 19:02:52] local.INFO: Packet analysis {"connection_id":150704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:52] local.INFO: Extracted packet for processing {"connection_id":150704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763364928,"raw_latitude":102896384,"longitude_deg":76.3364928,"latitude_deg":10.2896384,"altitude":14,"angle":145,"satellites":32,"speed":46,"hex_longitude":"2d800640","hex_latitude":"06221300","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266151424001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116135125409857536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220838788407599104,"note":"Value kept but may cause issues"} 
[2026-08-08 19:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786195911000,"timestamp_ms":1786195911000,"timestamp_seconds":1786195911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe192a158"} 
[2026-08-08 19:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 19:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266151424001,"66":12178,"147":206,"79":21504,"24":46,"16":116135125409857536,"45":9220838788407599104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-08-08 19:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266151424001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:02:52] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-08 19:02:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116135125409857536,"km_value":116135125409857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220838788407599104,"description":"Unknown IO ID 45"} 
[2026-08-08 19:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266151424001,"power":12178,"unknown_147":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":9220838788407599104}} 
[2026-08-08 19:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":150704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:02:52] local.INFO: GPS data processed {"connection_id":150704,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:02:52] local.INFO: Acknowledgment sent {"connection_id":150704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:03:09] local.INFO: TCP Data received {"connection_id":150427,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:03:09] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:03:09] local.INFO: IMEI packet received {"connection_id":150427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":150427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:03:10] local.INFO: TCP Data received {"connection_id":150705,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1905768012d196780071fee100035011a25..."} 
[2026-08-08 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1905768012d196780071fee100035011a25..."} 
[2026-08-08 19:03:10] local.INFO: Processing buffer {"connection_id":150705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1905768012d196780071fee100035011a25..."} 
[2026-08-08 19:03:10] local.INFO: Packet analysis {"connection_id":150705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:10] local.INFO: Extracted packet for processing {"connection_id":150705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266109440001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19: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-08-08 19:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195761000,"timestamp_ms":1786195761000,"timestamp_seconds":1786195761,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1905768"} 
[2026-08-08 19:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:03: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-08-08 19:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:03: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-08-08 19:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266109440001,"66":12298,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266109440001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:03:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266109440001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":150705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:03:10] local.INFO: GPS data processed {"connection_id":150705,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:03:10] local.INFO: Acknowledgment sent {"connection_id":150705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:03:14] local.INFO: TCP Data received {"connection_id":150427,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:03:14] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:03:14] local.INFO: IMEI packet received {"connection_id":150427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":150427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:03:15] local.INFO: TCP Data received {"connection_id":150427,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:03:15] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:03:15] local.INFO: Packet analysis {"connection_id":150427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:15] local.INFO: Extracted packet for processing {"connection_id":150427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:15] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:03:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":150427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:03:15] local.INFO: GPS data processed {"connection_id":150427,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:03:15] local.INFO: Acknowledgment sent {"connection_id":150427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:03:20] local.INFO: TCP Data received {"connection_id":150427,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:03:20] local.INFO: Processing buffer {"connection_id":150427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:03:20] local.INFO: Packet analysis {"connection_id":150427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:20] local.INFO: Extracted packet for processing {"connection_id":150427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:03: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-08-08 19:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:03:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":150427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:03:20] local.INFO: GPS data processed {"connection_id":150427,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:03:20] local.INFO: Acknowledgment sent {"connection_id":150427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:03:34] local.INFO: TCP Data received {"connection_id":151643,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:03:34] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:03:34] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:03:38] local.INFO: TCP Data received {"connection_id":153119,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:03:38] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:03:38] local.INFO: IMEI packet received {"connection_id":153119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":153119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:03:43] local.INFO: TCP Data received {"connection_id":153119,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:03:43] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:03:43] local.INFO: IMEI packet received {"connection_id":153119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":153119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:03:44] local.INFO: TCP Data received {"connection_id":151643,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:03:44] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:03:44] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:03:44] local.INFO: TCP Data received {"connection_id":153119,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190a970012d196780071fee100035011a24..."} 
[2026-08-08 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190a970012d196780071fee100035011a24..."} 
[2026-08-08 19:03:44] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190a970012d196780071fee100035011a24..."} 
[2026-08-08 19:03:44] local.INFO: Packet analysis {"connection_id":153119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:44] local.INFO: Extracted packet for processing {"connection_id":153119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266114816001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786195782000,"timestamp_ms":1786195782000,"timestamp_seconds":1786195782,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190a970"} 
[2026-08-08 19:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2193788274513995417,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390635033887002,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":53,"raw_value":79417724874260480,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2400143361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3120614887,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:44] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,77,159,5,45,128,238,53,36,10,66,179,40,97,1,240,225,31,4,113,205,189,103,239,44,2,41,7,35],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:03:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362705203003392,"timestamp_seconds":3819362705203003.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266114816001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266114816001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:03:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266114816001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:03:45] local.INFO: TCP Data received {"connection_id":151643,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":153119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:03:45] local.INFO: GPS data processed {"connection_id":153119,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:03:45] local.INFO: Acknowledgment sent {"connection_id":153119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151643,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:03:45] local.INFO: Processing buffer {"connection_id":151643,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:03:45] local.INFO: IMEI packet received {"connection_id":151643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":151643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:03:49] local.INFO: TCP Data received {"connection_id":153119,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190fb78012d196780071fee100035011a24..."} 
[2026-08-08 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190fb78012d196780071fee100035011a24..."} 
[2026-08-08 19:03:49] local.INFO: Processing buffer {"connection_id":153119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190fb78012d196780071fee100035011a24..."} 
[2026-08-08 19:03:49] local.INFO: Packet analysis {"connection_id":153119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:49] local.INFO: Extracted packet for processing {"connection_id":153119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266120192001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786195803000,"timestamp_ms":1786195803000,"timestamp_seconds":1786195803,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190fb78"} 
[2026-08-08 19:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266120192001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266120192001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:03:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266120192001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":153119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:03:49] local.INFO: GPS data processed {"connection_id":153119,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:03:49] local.INFO: Acknowledgment sent {"connection_id":153119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:04:04] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:04:04] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:04:04] local.INFO: IMEI packet received {"connection_id":151644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":151644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:04:09] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:04:09] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:04:09] local.INFO: IMEI packet received {"connection_id":151644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":151644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:04:10] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:04:10] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:04:10] local.INFO: Packet analysis {"connection_id":151644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:04:10] local.INFO: Extracted packet for processing {"connection_id":151644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":151644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:04:10] local.INFO: GPS data processed {"connection_id":151644,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:04:10] local.INFO: Acknowledgment sent {"connection_id":151644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:04:33] local.INFO: TCP Data received {"connection_id":150706,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:33] local.INFO: Processing buffer {"connection_id":150706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:33] local.INFO: IMEI packet received {"connection_id":150706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":150706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:04:34] local.INFO: TCP Data received {"connection_id":150706,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:34] local.INFO: Processing buffer {"connection_id":150706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:34] local.INFO: IMEI packet received {"connection_id":150706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":150706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:04:38] local.INFO: TCP Data received {"connection_id":150706,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:38] local.INFO: Processing buffer {"connection_id":150706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:04:38] local.INFO: IMEI packet received {"connection_id":150706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":150706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:04:39] local.INFO: TCP Data received {"connection_id":150706,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1914d80012d196780071fee100035011a26..."} 
[2026-08-08 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1914d80012d196780071fee100035011a26..."} 
[2026-08-08 19:04:39] local.INFO: Processing buffer {"connection_id":150706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1914d80012d196780071fee100035011a26..."} 
[2026-08-08 19:04:39] local.INFO: Packet analysis {"connection_id":150706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:04:39] local.INFO: Extracted packet for processing {"connection_id":150706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266125568001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195824000,"timestamp_ms":1786195824000,"timestamp_seconds":1786195824,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1914d80"} 
[2026-08-08 19:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266125568001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266125568001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:04:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266125568001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":150706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:04:39] local.INFO: GPS data processed {"connection_id":150706,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:04:39] local.INFO: Acknowledgment sent {"connection_id":150706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:04:41] local.INFO: TCP Data received {"connection_id":151644,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:04:41] local.INFO: Processing buffer {"connection_id":151644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:04:41] local.INFO: Packet analysis {"connection_id":151644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:04:41] local.INFO: Extracted packet for processing {"connection_id":151644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:04:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:04: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-08-08 19:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":151644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:04:41] local.INFO: GPS data processed {"connection_id":151644,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:04:41] local.INFO: Acknowledgment sent {"connection_id":151644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:04:44] local.INFO: TCP Data received {"connection_id":150706,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1919f88012d196780071fee100035011a22..."} 
[2026-08-08 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1919f88012d196780071fee100035011a22..."} 
[2026-08-08 19:04:44] local.INFO: Processing buffer {"connection_id":150706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1919f88012d196780071fee100035011a22..."} 
[2026-08-08 19:04:44] local.INFO: Packet analysis {"connection_id":150706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:04:44] local.INFO: Extracted packet for processing {"connection_id":150706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266130944001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786195845000,"timestamp_ms":1786195845000,"timestamp_seconds":1786195845,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1919f88"} 
[2026-08-08 19:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266130944001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266130944001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:04:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266130944001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":150706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:04:44] local.INFO: GPS data processed {"connection_id":150706,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:04:44] local.INFO: Acknowledgment sent {"connection_id":150706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:05:04] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:05:04] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:05:04] local.INFO: IMEI packet received {"connection_id":153120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":153120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:05:09] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:05:09] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:05:09] local.INFO: IMEI packet received {"connection_id":153120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":153120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:05:10] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:05:10] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe190c0e0012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:05:10] local.INFO: Packet analysis {"connection_id":153120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:05:10] local.INFO: Extracted packet for processing {"connection_id":153120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe190"} 
[2026-08-08 19:05:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266044672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786195788000,"timestamp_ms":1786195788000,"timestamp_seconds":1786195788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe190c0e0"} 
[2026-08-08 19:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 19:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266044672001,"66":26115,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266044672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266044672001,"power":26115,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":153120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:05:10] local.INFO: GPS data processed {"connection_id":153120,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:05:10] local.INFO: Acknowledgment sent {"connection_id":153120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:05:15] local.INFO: TCP Data received {"connection_id":150706,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe191f190012d196780071fee100035011a25..."} 
[2026-08-08 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe191f190012d196780071fee100035011a25..."} 
[2026-08-08 19:05:15] local.INFO: Processing buffer {"connection_id":150706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe191f190012d196780071fee100035011a25..."} 
[2026-08-08 19:05:15] local.INFO: Packet analysis {"connection_id":150706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:05:15] local.INFO: Extracted packet for processing {"connection_id":150706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe191"} 
[2026-08-08 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266136320001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786195866000,"timestamp_ms":1786195866000,"timestamp_seconds":1786195866,"priority":1,"record_length":96,"hex_timestamp":"0000019fe191f190"} 
[2026-08-08 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:05: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-08-08 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266136320001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266136320001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:05:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266136320001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":150706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:05:16] local.INFO: GPS data processed {"connection_id":150706,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:05:16] local.INFO: Acknowledgment sent {"connection_id":150706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:05:33] local.INFO: TCP Data received {"connection_id":153122,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:33] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:33] local.INFO: IMEI packet received {"connection_id":153122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":153122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:05:35] local.INFO: TCP Data received {"connection_id":153122,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:35] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:35] local.INFO: IMEI packet received {"connection_id":153122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":153122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:05:38] local.INFO: TCP Data received {"connection_id":153122,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:38] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:05:38] local.INFO: IMEI packet received {"connection_id":153122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":153122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:05:39] local.INFO: TCP Data received {"connection_id":153122,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1924398012d196780071fee100035011a28..."} 
[2026-08-08 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1924398012d196780071fee100035011a28..."} 
[2026-08-08 19:05:39] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1924398012d196780071fee100035011a28..."} 
[2026-08-08 19:05:39] local.INFO: Packet analysis {"connection_id":153122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:05:39] local.INFO: Extracted packet for processing {"connection_id":153122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266141696001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195887000,"timestamp_ms":1786195887000,"timestamp_seconds":1786195887,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1924398"} 
[2026-08-08 19:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266141696001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266141696001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:05:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266141696001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":153122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:05:39] local.INFO: GPS data processed {"connection_id":153122,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:05:39] local.INFO: Acknowledgment sent {"connection_id":153122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:05:43] local.INFO: TCP Data received {"connection_id":153120,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:05:43] local.INFO: Processing buffer {"connection_id":153120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:05:43] local.INFO: Packet analysis {"connection_id":153120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:05:43] local.INFO: Extracted packet for processing {"connection_id":153120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:05:43] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:05: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-08-08 19:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:05: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-08-08 19:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:05:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:05:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":153120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:05:43] local.INFO: GPS data processed {"connection_id":153120,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:05:43] local.INFO: Acknowledgment sent {"connection_id":153120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:05:44] local.INFO: TCP Data received {"connection_id":153122,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19295a0012d196780071fee100035011a28..."} 
[2026-08-08 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19295a0012d196780071fee100035011a28..."} 
[2026-08-08 19:05:44] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19295a0012d196780071fee100035011a28..."} 
[2026-08-08 19:05:44] local.INFO: Packet analysis {"connection_id":153122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:05:44] local.INFO: Extracted packet for processing {"connection_id":153122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266147072001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786195908000,"timestamp_ms":1786195908000,"timestamp_seconds":1786195908,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19295a0"} 
[2026-08-08 19:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266147072001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266147072001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:05:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:05:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266147072001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":153122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:05:44] local.INFO: GPS data processed {"connection_id":153122,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:05:44] local.INFO: Acknowledgment sent {"connection_id":153122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:06:04] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:06:04] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:06:04] local.INFO: IMEI packet received {"connection_id":153123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":153123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:06:09] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:06:09] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:06:09] local.INFO: IMEI packet received {"connection_id":153123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":153123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:06:10] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:06:10] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:06:10] local.INFO: Packet analysis {"connection_id":153123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:06:10] local.INFO: Extracted packet for processing {"connection_id":153123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:06:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:06: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-08-08 19:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:06:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":153123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:06:10] local.INFO: GPS data processed {"connection_id":153123,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:06:10] local.INFO: Acknowledgment sent {"connection_id":153123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:06:15] local.INFO: TCP Data received {"connection_id":153122,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe192e7a8012d196780071fee100035011a27..."} 
[2026-08-08 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe192e7a8012d196780071fee100035011a27..."} 
[2026-08-08 19:06:15] local.INFO: Processing buffer {"connection_id":153122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe192e7a8012d196780071fee100035011a27..."} 
[2026-08-08 19:06:15] local.INFO: Packet analysis {"connection_id":153122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:06:15] local.INFO: Extracted packet for processing {"connection_id":153122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe192"} 
[2026-08-08 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266152448001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786195929000,"timestamp_ms":1786195929000,"timestamp_seconds":1786195929,"priority":1,"record_length":96,"hex_timestamp":"0000019fe192e7a8"} 
[2026-08-08 19:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266152448001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266152448001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:06:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266152448001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":153122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:06:16] local.INFO: GPS data processed {"connection_id":153122,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:06:16] local.INFO: Acknowledgment sent {"connection_id":153122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:06:33] local.INFO: TCP Data received {"connection_id":151646,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:06:33] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:06:33] local.INFO: IMEI packet received {"connection_id":151646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":151646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:06:38] local.INFO: TCP Data received {"connection_id":151646,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:06:38] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:06:38] local.INFO: IMEI packet received {"connection_id":151646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":151646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:06:39] local.INFO: TCP Data received {"connection_id":151646,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19339b0012d196780071fee100035011a27..."} 
[2026-08-08 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19339b0012d196780071fee100035011a27..."} 
[2026-08-08 19:06:39] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19339b0012d196780071fee100035011a27..."} 
[2026-08-08 19:06:39] local.INFO: Packet analysis {"connection_id":151646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe193"} 
[2026-08-08 19:06:39] local.INFO: Extracted packet for processing {"connection_id":151646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe193"} 
[2026-08-08 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266157824001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06: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-08-08 19:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195950000,"timestamp_ms":1786195950000,"timestamp_seconds":1786195950,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19339b0"} 
[2026-08-08 19:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 19:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266157824001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266157824001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:06:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:06:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266157824001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":151646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:06:39] local.INFO: GPS data processed {"connection_id":151646,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:06:39] local.INFO: Acknowledgment sent {"connection_id":151646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:06:42] local.INFO: TCP Data received {"connection_id":153123,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:06:42] local.INFO: Processing buffer {"connection_id":153123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:06:42] local.INFO: Packet analysis {"connection_id":153123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:06:42] local.INFO: Extracted packet for processing {"connection_id":153123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:06: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-08-08 19: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-08-08 19:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:06:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":153123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:06:42] local.INFO: GPS data processed {"connection_id":153123,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:06:42] local.INFO: Acknowledgment sent {"connection_id":153123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:07:04] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:07:04] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:07:04] local.INFO: IMEI packet received {"connection_id":153124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":153124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:07:09] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:07:09] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:07:09] local.INFO: IMEI packet received {"connection_id":153124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":153124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:07:10] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:07:10] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:07:10] local.INFO: Packet analysis {"connection_id":153124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:07:10] local.INFO: Extracted packet for processing {"connection_id":153124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:07:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 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-08-08 19:07: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-08-08 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:07: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-08-08 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-08-08 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-08-08 19:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:07:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":153124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:07:10] local.INFO: GPS data processed {"connection_id":153124,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:07:10] local.INFO: Acknowledgment sent {"connection_id":153124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:07:11] local.INFO: TCP Data received {"connection_id":151646,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1938bb8012d196780071fee100035011a26..."} 
[2026-08-08 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1938bb8012d196780071fee100035011a26..."} 
[2026-08-08 19:07:11] local.INFO: Processing buffer {"connection_id":151646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1938bb8012d196780071fee100035011a26..."} 
[2026-08-08 19:07:11] local.INFO: Packet analysis {"connection_id":151646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe193"} 
[2026-08-08 19:07:11] local.INFO: Extracted packet for processing {"connection_id":151646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe193"} 
[2026-08-08 19:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266163200001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786195971000,"timestamp_ms":1786195971000,"timestamp_seconds":1786195971,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1938bb8"} 
[2026-08-08 19:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-08 19:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266163200001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266163200001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:07:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266163200001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":151646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:07:11] local.INFO: GPS data processed {"connection_id":151646,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:07:11] local.INFO: Acknowledgment sent {"connection_id":151646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:07:33] local.INFO: TCP Data received {"connection_id":153126,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:07:33] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:07:33] local.INFO: IMEI packet received {"connection_id":153126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":153126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:07:38] local.INFO: TCP Data received {"connection_id":153126,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:07:38] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:07:38] local.INFO: IMEI packet received {"connection_id":153126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":153126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:07:39] local.INFO: TCP Data received {"connection_id":153126,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe193ddc0012d196780071fee100035011a29..."} 
[2026-08-08 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe193ddc0012d196780071fee100035011a29..."} 
[2026-08-08 19:07:39] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe193ddc0012d196780071fee100035011a29..."} 
[2026-08-08 19:07:39] local.INFO: Packet analysis {"connection_id":153126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe193"} 
[2026-08-08 19:07:39] local.INFO: Extracted packet for processing {"connection_id":153126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe193"} 
[2026-08-08 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266168576001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786195992000,"timestamp_ms":1786195992000,"timestamp_seconds":1786195992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe193ddc0"} 
[2026-08-08 19:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 19:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266168576001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266168576001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:07:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266168576001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":153126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:07:40] local.INFO: GPS data processed {"connection_id":153126,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:07:40] local.INFO: Acknowledgment sent {"connection_id":153126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:07:41] local.INFO: TCP Data received {"connection_id":153124,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:07:41] local.INFO: Processing buffer {"connection_id":153124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:07:41] local.INFO: Packet analysis {"connection_id":153124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:07:41] local.INFO: Extracted packet for processing {"connection_id":153124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 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-08-08 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:07:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":153124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:07:41] local.INFO: GPS data processed {"connection_id":153124,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:07:41] local.INFO: Acknowledgment sent {"connection_id":153124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:08:04] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:08:04] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:08:04] local.INFO: IMEI packet received {"connection_id":153127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":153127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:08:09] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:08:09] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:08:09] local.INFO: IMEI packet received {"connection_id":153127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":153127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:08:10] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:08:10] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:08:10] local.INFO: Packet analysis {"connection_id":153127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:08:10] local.INFO: Extracted packet for processing {"connection_id":153127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:08:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:08: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-08-08 19:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:08: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-08-08 19:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:08: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-08-08 19:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:08:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":153127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:08:10] local.INFO: GPS data processed {"connection_id":153127,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:08:10] local.INFO: Acknowledgment sent {"connection_id":153127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:08:11] local.INFO: TCP Data received {"connection_id":153126,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1942fc8012d196780071fee100035011a27..."} 
[2026-08-08 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1942fc8012d196780071fee100035011a27..."} 
[2026-08-08 19:08:11] local.INFO: Processing buffer {"connection_id":153126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1942fc8012d196780071fee100035011a27..."} 
[2026-08-08 19:08:11] local.INFO: Packet analysis {"connection_id":153126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe194"} 
[2026-08-08 19:08:11] local.INFO: Extracted packet for processing {"connection_id":153126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe194"} 
[2026-08-08 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266173952001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196013000,"timestamp_ms":1786196013000,"timestamp_seconds":1786196013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1942fc8"} 
[2026-08-08 19:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266173952001,"66":12374,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266173952001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:08:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266173952001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":153126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:08:11] local.INFO: GPS data processed {"connection_id":153126,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:08:11] local.INFO: Acknowledgment sent {"connection_id":153126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:08:33] local.INFO: TCP Data received {"connection_id":150709,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:08:33] local.INFO: Processing buffer {"connection_id":150709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:08:33] local.INFO: IMEI packet received {"connection_id":150709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":150709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:08:38] local.INFO: TCP Data received {"connection_id":150709,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:08:38] local.INFO: Processing buffer {"connection_id":150709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:08:38] local.INFO: IMEI packet received {"connection_id":150709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":150709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:08:40] local.INFO: TCP Data received {"connection_id":150709,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19481d0012d196780071fee100035011a25..."} 
[2026-08-08 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19481d0012d196780071fee100035011a25..."} 
[2026-08-08 19:08:40] local.INFO: Processing buffer {"connection_id":150709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19481d0012d196780071fee100035011a25..."} 
[2026-08-08 19:08:40] local.INFO: Packet analysis {"connection_id":150709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe194"} 
[2026-08-08 19:08:40] local.INFO: Extracted packet for processing {"connection_id":150709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe194"} 
[2026-08-08 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266179328001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08: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-08-08 19:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786196034000,"timestamp_ms":1786196034000,"timestamp_seconds":1786196034,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19481d0"} 
[2026-08-08 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-08-08 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 19:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266179328001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266179328001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:08:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266179328001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":150709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:08:40] local.INFO: GPS data processed {"connection_id":150709,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:08:40] local.INFO: Acknowledgment sent {"connection_id":150709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:08:41] local.INFO: TCP Data received {"connection_id":153127,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:08:41] local.INFO: Processing buffer {"connection_id":153127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:08:41] local.INFO: Packet analysis {"connection_id":153127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:08:41] local.INFO: Extracted packet for processing {"connection_id":153127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:08: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-08-08 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:08: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-08-08 19:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:08:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":153127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:08:41] local.INFO: GPS data processed {"connection_id":153127,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:08:41] local.INFO: Acknowledgment sent {"connection_id":153127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:08:46] local.INFO: TCP Data received {"connection_id":150708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:08:46] local.INFO: Processing buffer {"connection_id":150708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:08:46] local.INFO: IMEI packet received {"connection_id":150708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":150708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:08:47] local.INFO: TCP Data received {"connection_id":150708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe198b020012d829b40061e2910001600831f..."} 
[2026-08-08 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe198b020012d829b40061e2910001600831f..."} 
[2026-08-08 19:08:47] local.INFO: Processing buffer {"connection_id":150708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe198b020012d829b40061e2910001600831f..."} 
[2026-08-08 19:08:47] local.INFO: Packet analysis {"connection_id":150708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:08:47] local.INFO: Extracted packet for processing {"connection_id":150708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763534144,"raw_latitude":102639888,"longitude_deg":76.3534144,"latitude_deg":10.2639888,"altitude":22,"angle":131,"satellites":31,"speed":18,"hex_longitude":"2d829b40","hex_latitude":"061e2910","is_valid_coordinates":true} 
[2026-08-08 19:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266249728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116150613061926912,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383600552560640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786196308000,"timestamp_ms":1786196308000,"timestamp_seconds":1786196308,"priority":1,"record_length":96,"hex_timestamp":"0000019fe198b020"} 
[2026-08-08 19:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 19:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266249728001,"66":12319,"157":206,"79":21504,"24":18,"16":116150613061926912,"45":-9042383600552560640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 19:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266249728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:08:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 19:08:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116150613061926912,"km_value":116150613061926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383600552560640,"description":"Unknown IO ID 45"} 
[2026-08-08 19:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266249728001,"power":12319,"unknown_157":206,"unknown_79":21504,"ignition":18,"odometer":null,"unknown_45":-9042383600552560640}} 
[2026-08-08 19:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":150708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:08:47] local.INFO: GPS data processed {"connection_id":150708,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:08:47] local.INFO: Acknowledgment sent {"connection_id":150708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:04] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:09:04] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:09:04] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:09:09] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:09:09] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:09:09] local.INFO: IMEI packet received {"connection_id":151647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":151647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:09:10] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:09:10] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:09:10] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:09:10] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:09:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:09: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-08-08 19:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:09: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-08-08 19:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:10] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:10] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:11] local.INFO: TCP Data received {"connection_id":150709,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1980828012d196780071fee100035011a28..."} 
[2026-08-08 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1980828012d196780071fee100035011a28..."} 
[2026-08-08 19:09:11] local.INFO: Processing buffer {"connection_id":150709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1980828012d196780071fee100035011a28..."} 
[2026-08-08 19:09:11] local.INFO: Packet analysis {"connection_id":150709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:11] local.INFO: Extracted packet for processing {"connection_id":150709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266238464001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19: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-08-08 19:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196265000,"timestamp_ms":1786196265000,"timestamp_seconds":1786196265,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1980828"} 
[2026-08-08 19:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266238464001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266238464001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266238464001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":150709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:12] local.INFO: GPS data processed {"connection_id":150709,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:12] local.INFO: Acknowledgment sent {"connection_id":150709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:35] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:35] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:35] local.INFO: IMEI packet received {"connection_id":153128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":153128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:09:36] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:36] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:36] local.INFO: IMEI packet received {"connection_id":153128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":153128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:09:38] local.INFO: TCP Data received {"connection_id":153129,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:09:38] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:09:38] local.INFO: IMEI packet received {"connection_id":153129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":153129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:09:41] local.INFO: TCP Data received {"connection_id":151647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:09:41] local.INFO: Processing buffer {"connection_id":151647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:09:41] local.INFO: Packet analysis {"connection_id":151647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:09:41] local.INFO: Extracted packet for processing {"connection_id":151647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:09: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-08-08 19:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":151647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:41] local.INFO: GPS data processed {"connection_id":151647,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:41] local.INFO: Acknowledgment sent {"connection_id":151647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:42] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:42] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:09:42] local.INFO: IMEI packet received {"connection_id":153128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":153128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:09:43] local.INFO: TCP Data received {"connection_id":153129,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:09:43] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:09:43] local.INFO: IMEI packet received {"connection_id":153129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":153129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:09:43] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe198bbd8012d829e80061e25a00017008e20..."} 
[2026-08-08 19:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe198bbd8012d829e80061e25a00017008e20..."} 
[2026-08-08 19:09:43] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe198bbd8012d829e80061e25a00017008e20..."} 
[2026-08-08 19:09:43] local.INFO: Packet analysis {"connection_id":153128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:43] local.INFO: Extracted packet for processing {"connection_id":153128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":102639008,"longitude_deg":76.3534976,"latitude_deg":10.2639008,"altitude":23,"angle":142,"satellites":32,"speed":13,"hex_longitude":"2d829e80","hex_latitude":"061e25a0","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266254848001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116150673191469056,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035557832368779264,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786196311000,"timestamp_ms":1786196311000,"timestamp_seconds":1786196311,"priority":1,"record_length":96,"hex_timestamp":"0000019fe198bbd8"} 
[2026-08-08 19:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 19:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266254848001,"66":12156,"157":206,"79":21504,"24":13,"16":116150673191469056,"45":-9035557832368779264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266254848001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116150673191469056,"km_value":116150673191469.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035557832368779264,"description":"Unknown IO ID 45"} 
[2026-08-08 19:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266254848001,"power":12156,"unknown_157":206,"unknown_79":21504,"ignition":13,"odometer":null,"unknown_45":-9035557832368779264}} 
[2026-08-08 19:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":153128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:43] local.INFO: GPS data processed {"connection_id":153128,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:43] local.INFO: Acknowledgment sent {"connection_id":153128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:43] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe198cf60012d82a480061e1ea00018008120..."} 
[2026-08-08 19:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe198cf60012d82a480061e1ea00018008120..."} 
[2026-08-08 19:09:43] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe198cf60012d82a480061e1ea00018008120..."} 
[2026-08-08 19:09:43] local.INFO: Packet analysis {"connection_id":153128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:43] local.INFO: Extracted packet for processing {"connection_id":153128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763536512,"raw_latitude":102637216,"longitude_deg":76.3536512,"latitude_deg":10.2637216,"altitude":24,"angle":129,"satellites":32,"speed":25,"hex_longitude":"2d82a480","hex_latitude":"061e1ea0","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266255616001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116150784860618752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643038694694912,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786196316000,"timestamp_ms":1786196316000,"timestamp_seconds":1786196316,"priority":1,"record_length":96,"hex_timestamp":"0000019fe198cf60"} 
[2026-08-08 19:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266255616001,"66":12156,"157":206,"79":21504,"24":25,"16":116150784860618752,"45":-9034643038694694912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 19:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266255616001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116150784860618752,"km_value":116150784860618.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643038694694912,"description":"Unknown IO ID 45"} 
[2026-08-08 19:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266255616001,"power":12156,"unknown_157":206,"unknown_79":21504,"ignition":25,"odometer":null,"unknown_45":-9034643038694694912}} 
[2026-08-08 19:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":153128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:44] local.INFO: GPS data processed {"connection_id":153128,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:44] local.INFO: Acknowledgment sent {"connection_id":153128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:44] local.INFO: TCP Data received {"connection_id":153129,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1985a30012d196780071fee100035011a28..."} 
[2026-08-08 19:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1985a30012d196780071fee100035011a28..."} 
[2026-08-08 19:09:44] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1985a30012d196780071fee100035011a28..."} 
[2026-08-08 19:09:44] local.INFO: Packet analysis {"connection_id":153129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:44] local.INFO: Extracted packet for processing {"connection_id":153129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266243840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786196286000,"timestamp_ms":1786196286000,"timestamp_seconds":1786196286,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1985a30"} 
[2026-08-08 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-08-08 19:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266243840001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266243840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:09:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266243840001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":153129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:44] local.INFO: GPS data processed {"connection_id":153129,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:44] local.INFO: Acknowledgment sent {"connection_id":153129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:09:49] local.INFO: TCP Data received {"connection_id":153129,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe198ac38012d196780071fee100035011a27..."} 
[2026-08-08 19:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe198ac38012d196780071fee100035011a27..."} 
[2026-08-08 19:09:49] local.INFO: Processing buffer {"connection_id":153129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe198ac38012d196780071fee100035011a27..."} 
[2026-08-08 19:09:49] local.INFO: Packet analysis {"connection_id":153129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:49] local.INFO: Extracted packet for processing {"connection_id":153129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266249216001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786196307000,"timestamp_ms":1786196307000,"timestamp_seconds":1786196307,"priority":1,"record_length":96,"hex_timestamp":"0000019fe198ac38"} 
[2026-08-08 19:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":153129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":153129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266249216001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266249216001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:09:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266249216001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":153129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:09:49] local.INFO: GPS data processed {"connection_id":153129,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:09:49] local.INFO: Acknowledgment sent {"connection_id":153129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:10:04] local.INFO: TCP Data received {"connection_id":150428,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:10:04] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:10:04] local.INFO: IMEI packet received {"connection_id":150428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":150428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:10:09] local.INFO: TCP Data received {"connection_id":150428,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:10:09] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:10:09] local.INFO: IMEI packet received {"connection_id":150428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":150428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:10:10] local.INFO: TCP Data received {"connection_id":150428,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:10:10] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19558a8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:10:10] local.INFO: Packet analysis {"connection_id":150428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:10:10] local.INFO: Extracted packet for processing {"connection_id":150428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe195"} 
[2026-08-08 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266121728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196089000,"timestamp_ms":1786196089000,"timestamp_seconds":1786196089,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19558a8"} 
[2026-08-08 19:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:10: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-08-08 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 19:10: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-08-08 19:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266121728001,"66":25962,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266121728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:10:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266121728001,"power":25962,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":150428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:10:10] local.INFO: GPS data processed {"connection_id":150428,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:10:10] local.INFO: Acknowledgment sent {"connection_id":150428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:10:15] local.INFO: TCP Data received {"connection_id":153128,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe198fe40012d82c380061e09b80016007a21..."} 
[2026-08-08 19:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe198fe40012d82c380061e09b80016007a21..."} 
[2026-08-08 19:10:15] local.INFO: Processing buffer {"connection_id":153128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe198fe40012d82c380061e09b80016007a21..."} 
[2026-08-08 19:10:15] local.INFO: Packet analysis {"connection_id":153128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:10:15] local.INFO: Extracted packet for processing {"connection_id":153128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763544448,"raw_latitude":102631864,"longitude_deg":76.3544448,"latitude_deg":10.2631864,"altitude":22,"angle":122,"satellites":33,"speed":35,"hex_longitude":"2d82c380","hex_latitude":"061e09b8","is_valid_coordinates":true} 
[2026-08-08 19:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266256896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116151244422119424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032954188834889728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786196328000,"timestamp_ms":1786196328000,"timestamp_seconds":1786196328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe198fe40"} 
[2026-08-08 19:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266256896001,"66":12232,"157":206,"79":21504,"24":35,"16":116151244422119424,"45":-9032954188834889728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-08-08 19:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266256896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:10:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 19:10:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116151244422119424,"km_value":116151244422119.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032954188834889728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266256896001,"power":12232,"unknown_157":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":-9032954188834889728}} 
[2026-08-08 19:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":153128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:10:15] local.INFO: GPS data processed {"connection_id":153128,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:10:15] local.INFO: Acknowledgment sent {"connection_id":153128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:10:30] local.INFO: TCP Data received {"connection_id":150429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:30] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:30] local.INFO: IMEI packet received {"connection_id":150429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":150429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:10:31] local.INFO: TCP Data received {"connection_id":150429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:31] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:31] local.INFO: IMEI packet received {"connection_id":150429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":150429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:10:33] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:10:33] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:10:33] local.INFO: IMEI packet received {"connection_id":150430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":150430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:10:38] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:10:38] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:10:38] local.INFO: IMEI packet received {"connection_id":150430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":150430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:10:40] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe198fe40012d196780071fee100035011a27..."} 
[2026-08-08 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe198fe40012d196780071fee100035011a27..."} 
[2026-08-08 19:10:40] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe198fe40012d196780071fee100035011a27..."} 
[2026-08-08 19:10:40] local.INFO: Packet analysis {"connection_id":150430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:10:40] local.INFO: Extracted packet for processing {"connection_id":150430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe198"} 
[2026-08-08 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266254592001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10: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-08-08 19:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786196328000,"timestamp_ms":1786196328000,"timestamp_seconds":1786196328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe198fe40"} 
[2026-08-08 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-08-08 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266254592001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266254592001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:10:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:10:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266254592001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":150430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:10:40] local.INFO: GPS data processed {"connection_id":150430,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:10:40] local.INFO: Acknowledgment sent {"connection_id":150430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:10:43] local.INFO: TCP Data received {"connection_id":150428,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:10:43] local.INFO: Processing buffer {"connection_id":150428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:10:43] local.INFO: Packet analysis {"connection_id":150428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:10:43] local.INFO: Extracted packet for processing {"connection_id":150428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:10:43] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:10: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-08-08 19:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:10:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":150428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:10:43] local.INFO: GPS data processed {"connection_id":150428,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:10:43] local.INFO: Acknowledgment sent {"connection_id":150428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:10:46] local.INFO: TCP Data received {"connection_id":150429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:46] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:10:46] local.INFO: IMEI packet received {"connection_id":150429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":150429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:10:52] local.INFO: TCP Data received {"connection_id":150429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19a4a48012d843dc0061d5588000f007820..."} 
[2026-08-08 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19a4a48012d843dc0061d5588000f007820..."} 
[2026-08-08 19:10:52] local.INFO: Processing buffer {"connection_id":150429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19a4a48012d843dc0061d5588000f007820..."} 
[2026-08-08 19:10:52] local.INFO: Packet analysis {"connection_id":150429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:10:52] local.INFO: Extracted packet for processing {"connection_id":150429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763641280,"raw_latitude":102585736,"longitude_deg":76.364128,"latitude_deg":10.2585736,"altitude":15,"angle":120,"satellites":32,"speed":50,"hex_longitude":"2d843dc0","hex_latitude":"061d5588","is_valid_coordinates":true} 
[2026-08-08 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266279680001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116156381203005440,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8927893653789782016,"note":"Value kept but may cause issues"} 
[2026-08-08 19:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786196413000,"timestamp_ms":1786196413000,"timestamp_seconds":1786196413,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19a4a48"} 
[2026-08-08 19:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 19:10:52] 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-08-08 19:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266279680001,"66":12004,"117":206,"79":21504,"24":50,"16":116156381203005440,"45":-8927893653789782016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 19:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266279680001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:10:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 19:10:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116156381203005440,"km_value":116156381203005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8927893653789782016,"description":"Unknown IO ID 45"} 
[2026-08-08 19:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266279680001,"power":12004,"unknown_117":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-8927893653789782016}} 
[2026-08-08 19:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":150429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:10:52] local.INFO: GPS data processed {"connection_id":150429,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:10:52] local.INFO: Acknowledgment sent {"connection_id":150429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:11:04] local.INFO: TCP Data received {"connection_id":150710,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:11:04] local.INFO: Processing buffer {"connection_id":150710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:11:04] local.INFO: IMEI packet received {"connection_id":150710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":150710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:11:09] local.INFO: TCP Data received {"connection_id":150710,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:11:09] local.INFO: Processing buffer {"connection_id":150710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:11:09] local.INFO: IMEI packet received {"connection_id":150710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":150710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:11:10] local.INFO: TCP Data received {"connection_id":150710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:11:10] local.INFO: Processing buffer {"connection_id":150710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:11:10] local.INFO: Packet analysis {"connection_id":150710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:10] local.INFO: Extracted packet for processing {"connection_id":150710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:11: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-08-08 19:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:11:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":150710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:11:10] local.INFO: GPS data processed {"connection_id":150710,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:11:10] local.INFO: Acknowledgment sent {"connection_id":150710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:11:11] local.INFO: TCP Data received {"connection_id":150430,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1995048012d196780071fee100035011a26..."} 
[2026-08-08 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1995048012d196780071fee100035011a26..."} 
[2026-08-08 19:11:11] local.INFO: Processing buffer {"connection_id":150430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1995048012d196780071fee100035011a26..."} 
[2026-08-08 19:11:11] local.INFO: Packet analysis {"connection_id":150430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:11] local.INFO: Extracted packet for processing {"connection_id":150430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266259968001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196349000,"timestamp_ms":1786196349000,"timestamp_seconds":1786196349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1995048"} 
[2026-08-08 19:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266259968001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266259968001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:11:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266259968001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":150430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:11:11] local.INFO: GPS data processed {"connection_id":150430,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:11:11] local.INFO: Acknowledgment sent {"connection_id":150430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:11:31] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:11:31] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:11:31] local.INFO: IMEI packet received {"connection_id":151648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":151648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:11:32] local.INFO: TCP Data received {"connection_id":150711,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:32] local.INFO: Processing buffer {"connection_id":150711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:32] local.INFO: IMEI packet received {"connection_id":150711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":150711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:11:33] local.INFO: TCP Data received {"connection_id":150711,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:33] local.INFO: Processing buffer {"connection_id":150711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:33] local.INFO: IMEI packet received {"connection_id":150711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":150711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:11:34] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:11:34] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:11:34] local.INFO: IMEI packet received {"connection_id":151648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":151648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:11:35] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19a65a0012d845980061d40700010008620..."} 
[2026-08-08 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19a65a0012d845980061d40700010008620..."} 
[2026-08-08 19:11:35] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19a65a0012d845980061d40700010008620..."} 
[2026-08-08 19:11:35] local.INFO: Packet analysis {"connection_id":151648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:11:35] local.INFO: Extracted packet for processing {"connection_id":151648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763648384,"raw_latitude":102580336,"longitude_deg":76.3648384,"latitude_deg":10.2580336,"altitude":16,"angle":134,"satellites":32,"speed":50,"hex_longitude":"2d845980","hex_latitude":"061d4070","is_valid_coordinates":true} 
[2026-08-08 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266281728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116156810699735040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8917760554629232640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786196420000,"timestamp_ms":1786196420000,"timestamp_seconds":1786196420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19a65a0"} 
[2026-08-08 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":151648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":151648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":151648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266281728001,"66":12037,"117":206,"79":21504,"24":50,"16":116156810699735040,"45":-8917760554629232640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-08-08 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266281728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:11:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 19:11:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116156810699735040,"km_value":116156810699735.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8917760554629232640,"description":"Unknown IO ID 45"} 
[2026-08-08 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266281728001,"power":12037,"unknown_117":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-8917760554629232640}} 
[2026-08-08 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":151648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:11:35] local.INFO: GPS data processed {"connection_id":151648,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:11:35] local.INFO: Acknowledgment sent {"connection_id":151648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:11:38] local.INFO: TCP Data received {"connection_id":150711,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:38] local.INFO: Processing buffer {"connection_id":150711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:11:38] local.INFO: IMEI packet received {"connection_id":150711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":150711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:11:39] local.INFO: TCP Data received {"connection_id":150711,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199a250012d196780071fee100035011a27..."} 
[2026-08-08 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199a250012d196780071fee100035011a27..."} 
[2026-08-08 19:11:39] local.INFO: Processing buffer {"connection_id":150711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199a250012d196780071fee100035011a27..."} 
[2026-08-08 19:11:39] local.INFO: Packet analysis {"connection_id":150711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:39] local.INFO: Extracted packet for processing {"connection_id":150711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266265344001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786196370000,"timestamp_ms":1786196370000,"timestamp_seconds":1786196370,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199a250"} 
[2026-08-08 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-08-08 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266265344001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266265344001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266265344001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":150711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:11:39] local.INFO: GPS data processed {"connection_id":150711,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:11:39] local.INFO: Acknowledgment sent {"connection_id":150711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:11:41] local.INFO: TCP Data received {"connection_id":150710,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:11:41] local.INFO: Processing buffer {"connection_id":150710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:11:41] local.INFO: Packet analysis {"connection_id":150710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:41] local.INFO: Extracted packet for processing {"connection_id":150710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:11:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:11: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-08-08 19:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:11:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":150710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:11:41] local.INFO: GPS data processed {"connection_id":150710,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:11:41] local.INFO: Acknowledgment sent {"connection_id":150710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:12:04] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:12:04] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:12:04] local.INFO: IMEI packet received {"connection_id":153130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":153130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:12:06] local.INFO: TCP Data received {"connection_id":151648,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19ba208012d850740061bcda0001a009f21..."} 
[2026-08-08 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19ba208012d850740061bcda0001a009f21..."} 
[2026-08-08 19:12:06] local.INFO: Processing buffer {"connection_id":151648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19ba208012d850740061bcda0001a009f21..."} 
[2026-08-08 19:12:06] local.INFO: Packet analysis {"connection_id":151648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:12:06] local.INFO: Extracted packet for processing {"connection_id":151648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763692864,"raw_latitude":102485408,"longitude_deg":76.3692864,"latitude_deg":10.2485408,"altitude":26,"angle":159,"satellites":33,"speed":44,"hex_longitude":"2d850740","hex_latitude":"061bcda0","is_valid_coordinates":true} 
[2026-08-08 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266302208001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116161908825915392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8865195102751973376,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786196501000,"timestamp_ms":1786196501000,"timestamp_seconds":1786196501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19ba208"} 
[2026-08-08 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:12: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-08-08 19: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":151648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":151648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":151648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266302208001,"66":12298,"79":21504,"24":44,"16":116161908825915392,"45":-8865195102751973376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-08-08 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266302208001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116161908825915392,"km_value":116161908825915.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8865195102751973376,"description":"Unknown IO ID 45"} 
[2026-08-08 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266302208001,"power":12298,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-8865195102751973376}} 
[2026-08-08 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":151648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:12:06] local.INFO: GPS data processed {"connection_id":151648,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:12:06] local.INFO: Acknowledgment sent {"connection_id":151648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:12:09] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:12:09] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:12:09] local.INFO: IMEI packet received {"connection_id":153130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":153130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:12:10] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:12:10] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:12:10] local.INFO: Packet analysis {"connection_id":153130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:12:10] local.INFO: Extracted packet for processing {"connection_id":153130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 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-08-08 19: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-08-08 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:12:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":153130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:12:10] local.INFO: GPS data processed {"connection_id":153130,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:12:10] local.INFO: Acknowledgment sent {"connection_id":153130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:12:11] local.INFO: TCP Data received {"connection_id":150711,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f458012d196780071fee100035011a24..."} 
[2026-08-08 19:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f458012d196780071fee100035011a24..."} 
[2026-08-08 19:12:11] local.INFO: Processing buffer {"connection_id":150711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f458012d196780071fee100035011a24..."} 
[2026-08-08 19:12:11] local.INFO: Packet analysis {"connection_id":150711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:12:11] local.INFO: Extracted packet for processing {"connection_id":150711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266270720001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196391000,"timestamp_ms":1786196391000,"timestamp_seconds":1786196391,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f458"} 
[2026-08-08 19:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266270720001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266270720001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:12:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266270720001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":150711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:12:11] local.INFO: GPS data processed {"connection_id":150711,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:12:11] local.INFO: Acknowledgment sent {"connection_id":150711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:12:31] local.INFO: TCP Data received {"connection_id":150431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:12:31] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:12:31] local.INFO: IMEI packet received {"connection_id":150431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":150431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:12:33] local.INFO: TCP Data received {"connection_id":153131,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:33] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:33] local.INFO: IMEI packet received {"connection_id":153131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":153131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:12:35] local.INFO: TCP Data received {"connection_id":150431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:12:35] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:12:35] local.INFO: IMEI packet received {"connection_id":150431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":150431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:12:35] local.INFO: TCP Data received {"connection_id":153131,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:35] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:35] local.INFO: IMEI packet received {"connection_id":153131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":153131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:12:36] local.INFO: TCP Data received {"connection_id":150431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19bc148012d8515c0061bacb0001d009b21..."} 
[2026-08-08 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19bc148012d8515c0061bacb0001d009b21..."} 
[2026-08-08 19:12:36] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19bc148012d8515c0061bacb0001d009b21..."} 
[2026-08-08 19:12:36] local.INFO: Packet analysis {"connection_id":150431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:12:36] local.INFO: Extracted packet for processing {"connection_id":150431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763696576,"raw_latitude":102476976,"longitude_deg":76.3696576,"latitude_deg":10.2476976,"altitude":29,"angle":155,"satellites":33,"speed":45,"hex_longitude":"2d8515c0","hex_latitude":"061bacb0","is_valid_coordinates":true} 
[2026-08-08 19:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266304256001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116162355502514176,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8861043346847719424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786196509000,"timestamp_ms":1786196509000,"timestamp_seconds":1786196509,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19bc148"} 
[2026-08-08 19:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":79,"raw_value":6052864288354206208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186012,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2190189091919919971,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2228011014,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":440434362036977824,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":14355223812898820,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832593,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3397122376341586126,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2603919361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1952383182,"corrected_to":0} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":25,"raw_value":43383431186350080,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221625979,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4194356596,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2927755264,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.WARNING: Large IO value detected {"io_id":174,"raw_value":1873497444986126337,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,79,24,241,157,16,176,159,130,45,128,239,26,33,10,66,103,20,28,175,80,1,240,37,227,225,4,113,205,55,25,188,32,46,95,2,156,6,174],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1952383182,"validated":0}]} 
[2026-08-08 19:12:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873672409071747072,"timestamp_seconds":1873672409071747.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266304256001,"66":12135,"115":206,"79":21504,"24":45,"16":116162355502514176,"45":-8861043346847719424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 19:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266304256001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:12:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 19:12:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116162355502514176,"km_value":116162355502514.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8861043346847719424,"description":"Unknown IO ID 45"} 
[2026-08-08 19:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266304256001,"power":12135,"unknown_115":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":-8861043346847719424}} 
[2026-08-08 19:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":150431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:12:36] local.INFO: GPS data processed {"connection_id":150431,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:12:36] local.INFO: Acknowledgment sent {"connection_id":150431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:12:38] local.INFO: TCP Data received {"connection_id":153131,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:38] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:12:38] local.INFO: IMEI packet received {"connection_id":153131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":153131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:12:40] local.INFO: TCP Data received {"connection_id":153131,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19a4660012d196780071fee100035011a24..."} 
[2026-08-08 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19a4660012d196780071fee100035011a24..."} 
[2026-08-08 19:12:40] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19a4660012d196780071fee100035011a24..."} 
[2026-08-08 19:12:40] local.INFO: Packet analysis {"connection_id":153131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:12:40] local.INFO: Extracted packet for processing {"connection_id":153131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266276096001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786196412000,"timestamp_ms":1786196412000,"timestamp_seconds":1786196412,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19a4660"} 
[2026-08-08 19:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266276096001,"66":12363,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266276096001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266276096001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":153131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:12:40] local.INFO: GPS data processed {"connection_id":153131,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:12:40] local.INFO: Acknowledgment sent {"connection_id":153131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:12:41] local.INFO: TCP Data received {"connection_id":153130,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:12:41] local.INFO: Processing buffer {"connection_id":153130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:12:41] local.INFO: Packet analysis {"connection_id":153130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:12:41] local.INFO: Extracted packet for processing {"connection_id":153130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:12:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:12: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-08-08 19:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:12:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":153130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:12:41] local.INFO: GPS data processed {"connection_id":153130,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:12:41] local.INFO: Acknowledgment sent {"connection_id":153130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:13:04] local.INFO: TCP Data received {"connection_id":150712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:13:04] local.INFO: Processing buffer {"connection_id":150712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:13:04] local.INFO: IMEI packet received {"connection_id":150712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":150712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:13:07] local.INFO: TCP Data received {"connection_id":150431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19be470012d852880061b8b78001d009321..."} 
[2026-08-08 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19be470012d852880061b8b78001d009321..."} 
[2026-08-08 19:13:07] local.INFO: Processing buffer {"connection_id":150431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19be470012d852880061b8b78001d009321..."} 
[2026-08-08 19:13:07] local.INFO: Packet analysis {"connection_id":150431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:13:07] local.INFO: Extracted packet for processing {"connection_id":150431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763701376,"raw_latitude":102468472,"longitude_deg":76.3701376,"latitude_deg":10.2468472,"altitude":29,"angle":147,"satellites":33,"speed":44,"hex_longitude":"2d852880","hex_latitude":"061b8b78","is_valid_coordinates":true} 
[2026-08-08 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266306304001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116162827948916736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8856961959687573504,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786196518000,"timestamp_ms":1786196518000,"timestamp_seconds":1786196518,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19be470"} 
[2026-08-08 19:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:13: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-08-08 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 19:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266306304001,"66":12156,"115":206,"79":21504,"24":44,"16":116162827948916736,"45":-8856961959687573504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 19:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266306304001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116162827948916736,"km_value":116162827948916.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8856961959687573504,"description":"Unknown IO ID 45"} 
[2026-08-08 19:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266306304001,"power":12156,"unknown_115":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-8856961959687573504}} 
[2026-08-08 19:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":150431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:13:07] local.INFO: GPS data processed {"connection_id":150431,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:13:07] local.INFO: Acknowledgment sent {"connection_id":150431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:13:09] local.INFO: TCP Data received {"connection_id":150712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:13:09] local.INFO: Processing buffer {"connection_id":150712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:13:09] local.INFO: IMEI packet received {"connection_id":150712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":150712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:13:10] local.INFO: TCP Data received {"connection_id":150712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:13:10] local.INFO: Processing buffer {"connection_id":150712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:13:10] local.INFO: Packet analysis {"connection_id":150712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:13:10] local.INFO: Extracted packet for processing {"connection_id":150712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:13:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:13:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":150712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:13:10] local.INFO: GPS data processed {"connection_id":150712,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:13:10] local.INFO: Acknowledgment sent {"connection_id":150712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:13:11] local.INFO: TCP Data received {"connection_id":153131,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19a9868012d196780071fee100035011a24..."} 
[2026-08-08 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19a9868012d196780071fee100035011a24..."} 
[2026-08-08 19:13:11] local.INFO: Processing buffer {"connection_id":153131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19a9868012d196780071fee100035011a24..."} 
[2026-08-08 19:13:11] local.INFO: Packet analysis {"connection_id":153131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:13:11] local.INFO: Extracted packet for processing {"connection_id":153131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266281472001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196433000,"timestamp_ms":1786196433000,"timestamp_seconds":1786196433,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19a9868"} 
[2026-08-08 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-08-08 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-08 19:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266281472001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266281472001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:13:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266281472001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":153131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:13:11] local.INFO: GPS data processed {"connection_id":153131,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:13:11] local.INFO: Acknowledgment sent {"connection_id":153131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:13:31] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:31] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:31] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:13:32] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:32] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:32] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:13:33] local.INFO: TCP Data received {"connection_id":151650,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:13:33] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:13:33] local.INFO: IMEI packet received {"connection_id":151650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":151650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:13:36] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:36] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:13:36] local.INFO: IMEI packet received {"connection_id":151649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":151649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:13:37] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19c0798012d853e40061b6b78001f008e21..."} 
[2026-08-08 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19c0798012d853e40061b6b78001f008e21..."} 
[2026-08-08 19:13:37] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19c0798012d853e40061b6b78001f008e21..."} 
[2026-08-08 19:13:37] local.INFO: Packet analysis {"connection_id":151649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:13:37] local.INFO: Extracted packet for processing {"connection_id":151649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763706944,"raw_latitude":102460280,"longitude_deg":76.3706944,"latitude_deg":10.246028,"altitude":31,"angle":142,"satellites":33,"speed":42,"hex_longitude":"2d853e40","hex_latitude":"061b6b78","is_valid_coordinates":true} 
[2026-08-08 19:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266308608001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116163304690286592,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8851684303876425728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786196527000,"timestamp_ms":1786196527000,"timestamp_seconds":1786196527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19c0798"} 
[2026-08-08 19:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266308608001,"66":12037,"115":206,"79":21504,"24":42,"16":116163304690286592,"45":-8851684303876425728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 19:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266308608001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:13:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 19:13:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116163304690286592,"km_value":116163304690286.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8851684303876425728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266308608001,"power":12037,"unknown_115":206,"unknown_79":21504,"ignition":42,"odometer":null,"unknown_45":-8851684303876425728}} 
[2026-08-08 19:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":151649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:13:37] local.INFO: GPS data processed {"connection_id":151649,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:13:37] local.INFO: Acknowledgment sent {"connection_id":151649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:13:38] local.INFO: TCP Data received {"connection_id":151650,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:13:38] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:13:38] local.INFO: IMEI packet received {"connection_id":151650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":151650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:13:40] local.INFO: TCP Data received {"connection_id":151650,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19aea70012d196780071fee100035011a29..."} 
[2026-08-08 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19aea70012d196780071fee100035011a29..."} 
[2026-08-08 19:13:40] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19aea70012d196780071fee100035011a29..."} 
[2026-08-08 19:13:40] local.INFO: Packet analysis {"connection_id":151650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:13:40] local.INFO: Extracted packet for processing {"connection_id":151650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19a"} 
[2026-08-08 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266286848001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13: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-08-08 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786196454000,"timestamp_ms":1786196454000,"timestamp_seconds":1786196454,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19aea70"} 
[2026-08-08 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-08-08 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266286848001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266286848001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:13:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266286848001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":151650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:13:40] local.INFO: GPS data processed {"connection_id":151650,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:13:40] local.INFO: Acknowledgment sent {"connection_id":151650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:13:41] local.INFO: TCP Data received {"connection_id":150712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:13:41] local.INFO: Processing buffer {"connection_id":150712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:13:41] local.INFO: Packet analysis {"connection_id":150712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:13:41] local.INFO: Extracted packet for processing {"connection_id":150712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:13:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 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-08-08 19: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-08-08 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:13: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-08-08 19:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:13:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":150712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:13:41] local.INFO: GPS data processed {"connection_id":150712,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:13:41] local.INFO: Acknowledgment sent {"connection_id":150712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:14:04] local.INFO: TCP Data received {"connection_id":150432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:14:04] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:14:04] local.INFO: IMEI packet received {"connection_id":150432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":150432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:14:09] local.INFO: TCP Data received {"connection_id":150432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:14:09] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:14:09] local.INFO: IMEI packet received {"connection_id":150432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":150432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:14:10] local.INFO: TCP Data received {"connection_id":150432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:14:10] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:14:10] local.INFO: Packet analysis {"connection_id":150432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:14:10] local.INFO: Extracted packet for processing {"connection_id":150432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:14:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":150432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:14:10] local.INFO: GPS data processed {"connection_id":150432,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:14:10] local.INFO: Acknowledgment sent {"connection_id":150432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:14:12] local.INFO: TCP Data received {"connection_id":151650,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19b3c78012d196780071fee100035011a27..."} 
[2026-08-08 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19b3c78012d196780071fee100035011a27..."} 
[2026-08-08 19:14:12] local.INFO: Processing buffer {"connection_id":151650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19b3c78012d196780071fee100035011a27..."} 
[2026-08-08 19:14:12] local.INFO: Packet analysis {"connection_id":151650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:14:12] local.INFO: Extracted packet for processing {"connection_id":151650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266292224001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786196475000,"timestamp_ms":1786196475000,"timestamp_seconds":1786196475,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19b3c78"} 
[2026-08-08 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-08-08 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266292224001,"66":12341,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266292224001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:14:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266292224001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":151650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:14:12] local.INFO: GPS data processed {"connection_id":151650,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:14:12] local.INFO: Acknowledgment sent {"connection_id":151650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:14:14] local.INFO: TCP Data received {"connection_id":151649,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19c2ac0012d855580061b4f900020008a21..."} 
[2026-08-08 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19c2ac0012d855580061b4f900020008a21..."} 
[2026-08-08 19:14:14] local.INFO: Processing buffer {"connection_id":151649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19c2ac0012d855580061b4f900020008a21..."} 
[2026-08-08 19:14:14] local.INFO: Packet analysis {"connection_id":151649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:14:14] local.INFO: Extracted packet for processing {"connection_id":151649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:14:14] local.INFO: GPS Element Parsed {"raw_longitude":763712896,"raw_latitude":102453136,"longitude_deg":76.3712896,"latitude_deg":10.2453136,"altitude":32,"angle":138,"satellites":33,"speed":41,"hex_longitude":"2d855580","hex_latitude":"061b4f90","is_valid_coordinates":true} 
[2026-08-08 19:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266310912001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116163751366885376,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8845562223135066112,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786196536000,"timestamp_ms":1786196536000,"timestamp_seconds":1786196536,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19c2ac0"} 
[2026-08-08 19:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4251398048405521408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3785052160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2230878214,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2609039361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4020240410,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8385421917281320984,"corrected_to":0} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147884052,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526245,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2949054464,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2032592379982159137,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194824960,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,115,79,24,241,157,16,177,159,228,45,128,139,29,33,10,66,193,192,172,162,64,1,240,227,176,225,27,4,113,205,54,103,233,72,239,47,2,156,6,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8385421917281320984,"validated":0}]} 
[2026-08-08 19:14:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233941687563583488,"timestamp_seconds":2233941687563583.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266310912001,"66":11895,"115":206,"79":21504,"24":41,"16":116163751366885376,"45":-8845562223135066112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-08-08 19:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266310912001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:14:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 19:14:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-08-08 19:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116163751366885376,"km_value":116163751366885.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8845562223135066112,"description":"Unknown IO ID 45"} 
[2026-08-08 19:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266310912001,"power":11895,"unknown_115":206,"unknown_79":21504,"ignition":41,"odometer":null,"unknown_45":-8845562223135066112}} 
[2026-08-08 19:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":151649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:14:14] local.INFO: GPS data processed {"connection_id":151649,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:14:14] local.INFO: Acknowledgment sent {"connection_id":151649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:14:31] local.INFO: TCP Data received {"connection_id":150713,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:14:31] local.INFO: Processing buffer {"connection_id":150713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:14:31] local.INFO: IMEI packet received {"connection_id":150713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":150713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:14:33] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:14:33] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:14:33] local.INFO: IMEI packet received {"connection_id":150433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":150433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:14:36] local.INFO: TCP Data received {"connection_id":150713,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:14:36] local.INFO: Processing buffer {"connection_id":150713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:14:36] local.INFO: IMEI packet received {"connection_id":150713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":150713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:14:37] local.INFO: TCP Data received {"connection_id":150713,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19dfb98012d85ac400619d618002800b823..."} 
[2026-08-08 19:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19dfb98012d85ac400619d618002800b823..."} 
[2026-08-08 19:14:37] local.INFO: Processing buffer {"connection_id":150713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19dfb98012d85ac400619d618002800b823..."} 
[2026-08-08 19:14:37] local.INFO: Packet analysis {"connection_id":150713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:14:37] local.INFO: Extracted packet for processing {"connection_id":150713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763735104,"raw_latitude":102356504,"longitude_deg":76.3735104,"latitude_deg":10.2356504,"altitude":40,"angle":184,"satellites":35,"speed":48,"hex_longitude":"2d85ac40","hex_latitude":"0619d618","is_valid_coordinates":true} 
[2026-08-08 19:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266341376001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116168703464177664,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8814318500744263680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786196655000,"timestamp_ms":1786196655000,"timestamp_seconds":1786196655,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19dfb98"} 
[2026-08-08 19:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:14: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-08-08 19:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-08 19:14: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-08-08 19:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266341376001,"66":11895,"133":206,"79":46592,"24":48,"16":116168703464177664,"45":-8814318500744263680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266341376001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:14:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:14:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116168703464177664,"km_value":116168703464177.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8814318500744263680,"description":"Unknown IO ID 45"} 
[2026-08-08 19:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266341376001,"power":11895,"unknown_133":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8814318500744263680}} 
[2026-08-08 19:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":150713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:14:37] local.INFO: GPS data processed {"connection_id":150713,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:14:37] local.INFO: Acknowledgment sent {"connection_id":150713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:14:38] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:14:38] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:14:38] local.INFO: IMEI packet received {"connection_id":150433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":150433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:14:40] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19b8e80012d196780071fee100035011a28..."} 
[2026-08-08 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19b8e80012d196780071fee100035011a28..."} 
[2026-08-08 19:14:40] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19b8e80012d196780071fee100035011a28..."} 
[2026-08-08 19:14:40] local.INFO: Packet analysis {"connection_id":150433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:14:40] local.INFO: Extracted packet for processing {"connection_id":150433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266297600001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14: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-08-08 19:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786196496000,"timestamp_ms":1786196496000,"timestamp_seconds":1786196496,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19b8e80"} 
[2026-08-08 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-08-08 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-08 19:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266297600001,"66":12298,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266297600001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:14:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:14:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266297600001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":150433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:14:40] local.INFO: GPS data processed {"connection_id":150433,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:14:40] local.INFO: Acknowledgment sent {"connection_id":150433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:14:41] local.INFO: TCP Data received {"connection_id":150432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:14:41] local.INFO: Processing buffer {"connection_id":150432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:14:41] local.INFO: Packet analysis {"connection_id":150432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:14:41] local.INFO: Extracted packet for processing {"connection_id":150432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:14:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 19:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:14: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-08-08 19:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:14:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":150432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:14:41] local.INFO: GPS data processed {"connection_id":150432,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:14:41] local.INFO: Acknowledgment sent {"connection_id":150432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:04] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:15:04] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:15:04] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:15:08] local.INFO: TCP Data received {"connection_id":150713,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e16f0012d85a9000619b318002600b923..."} 
[2026-08-08 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e16f0012d85a9000619b318002600b923..."} 
[2026-08-08 19:15:08] local.INFO: Processing buffer {"connection_id":150713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e16f0012d85a9000619b318002600b923..."} 
[2026-08-08 19:15:08] local.INFO: Packet analysis {"connection_id":150713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:08] local.INFO: Extracted packet for processing {"connection_id":150713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763734272,"raw_latitude":102347544,"longitude_deg":76.3734272,"latitude_deg":10.2347544,"altitude":38,"angle":185,"satellites":35,"speed":53,"hex_longitude":"2d85a900","hex_latitude":"0619b318","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266343680001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116169137255874560,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8814599975723460608,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786196662000,"timestamp_ms":1786196662000,"timestamp_seconds":1786196662,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e16f0"} 
[2026-08-08 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-08-08 19:15: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-08-08 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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266343680001,"66":12058,"133":206,"79":46592,"24":53,"16":116169137255874560,"45":-8814599975723460608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266343680001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116169137255874560,"km_value":116169137255874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8814599975723460608,"description":"Unknown IO ID 45"} 
[2026-08-08 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266343680001,"power":12058,"unknown_133":206,"unknown_79":46592,"ignition":53,"odometer":null,"unknown_45":-8814599975723460608}} 
[2026-08-08 19:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":150713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:08] local.INFO: GPS data processed {"connection_id":150713,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:08] local.INFO: Acknowledgment sent {"connection_id":150713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:09] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:15:09] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:15:09] local.INFO: IMEI packet received {"connection_id":151651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":151651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:15:10] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:15:10] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe199f070012cfa4cc007404e58002a00d727..."} 
[2026-08-08 19:15:10] local.INFO: Packet analysis {"connection_id":151651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:15:10] local.INFO: Extracted packet for processing {"connection_id":151651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe199"} 
[2026-08-08 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266198784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196390000,"timestamp_ms":1786196390000,"timestamp_seconds":1786196390,"priority":1,"record_length":96,"hex_timestamp":"0000019fe199f070"} 
[2026-08-08 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-08-08 19: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-08-08 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266198784001,"66":25875,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266198784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:15:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266198784001,"power":25875,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":151651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:10] local.INFO: GPS data processed {"connection_id":151651,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:10] local.INFO: Acknowledgment sent {"connection_id":151651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:11] local.INFO: TCP Data received {"connection_id":150433,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19be088012d196780071fee100035011a28..."} 
[2026-08-08 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19be088012d196780071fee100035011a28..."} 
[2026-08-08 19:15:11] local.INFO: Processing buffer {"connection_id":150433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19be088012d196780071fee100035011a28..."} 
[2026-08-08 19:15:11] local.INFO: Packet analysis {"connection_id":150433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:15:11] local.INFO: Extracted packet for processing {"connection_id":150433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19b"} 
[2026-08-08 19:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266302976001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196517000,"timestamp_ms":1786196517000,"timestamp_seconds":1786196517,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19be088"} 
[2026-08-08 19:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2190631473551435417,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390635033887002,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":79418824385888256,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2588303361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:15:11] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:11] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,77,159,60,45,128,238,53,39,10,66,234,41,152,1,240,225,31,4,113,205,244,103,36,239,48,2,7,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:15:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362718087905280,"timestamp_seconds":3819362718087905.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266302976001,"66":12298,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266302976001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266302976001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":150433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:11] local.INFO: GPS data processed {"connection_id":150433,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:11] local.INFO: Acknowledgment sent {"connection_id":150433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:34] local.INFO: TCP Data received {"connection_id":150434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:34] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:34] local.INFO: IMEI packet received {"connection_id":150434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":150434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:15:36] local.INFO: TCP Data received {"connection_id":150434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:36] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:36] local.INFO: IMEI packet received {"connection_id":150434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":150434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:15:38] local.INFO: TCP Data received {"connection_id":150714,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:15:38] local.INFO: Processing buffer {"connection_id":150714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:15:38] local.INFO: IMEI packet received {"connection_id":150714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":150714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:15:40] local.INFO: TCP Data received {"connection_id":150434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:40] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:15:40] local.INFO: IMEI packet received {"connection_id":150434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":150434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:15:41] local.INFO: TCP Data received {"connection_id":151651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:15:41] local.INFO: Processing buffer {"connection_id":151651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:15:41] local.INFO: Packet analysis {"connection_id":151651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:41] local.INFO: Extracted packet for processing {"connection_id":151651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:15: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-08-08 19:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:15:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":151651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:41] local.INFO: GPS data processed {"connection_id":151651,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:41] local.INFO: Acknowledgment sent {"connection_id":151651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:41] local.INFO: TCP Data received {"connection_id":150434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e3248012d85a6c006198d68002200b321..."} 
[2026-08-08 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e3248012d85a6c006198d68002200b321..."} 
[2026-08-08 19:15:41] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e3248012d85a6c006198d68002200b321..."} 
[2026-08-08 19:15:41] local.INFO: Packet analysis {"connection_id":150434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:41] local.INFO: Extracted packet for processing {"connection_id":150434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763733696,"raw_latitude":102337896,"longitude_deg":76.3733696,"latitude_deg":10.2337896,"altitude":34,"angle":179,"satellites":33,"speed":55,"hex_longitude":"2d85a6c0","hex_latitude":"06198d68","is_valid_coordinates":true} 
[2026-08-08 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266345472001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116169605407309824,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8815514769400064000,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196669000,"timestamp_ms":1786196669000,"timestamp_seconds":1786196669,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e3248"} 
[2026-08-08 19:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266345472001,"66":12015,"133":206,"79":46592,"24":55,"16":116169605407309824,"45":-8815514769400064000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266345472001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116169605407309824,"km_value":116169605407309.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8815514769400064000,"description":"Unknown IO ID 45"} 
[2026-08-08 19:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266345472001,"power":12015,"unknown_133":206,"unknown_79":46592,"ignition":55,"odometer":null,"unknown_45":-8815514769400064000}} 
[2026-08-08 19:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":150434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:41] local.INFO: GPS data processed {"connection_id":150434,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:41] local.INFO: Acknowledgment sent {"connection_id":150434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:42] local.INFO: TCP Data received {"connection_id":150434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e4da0012d85aac0061966e0001e00a922..."} 
[2026-08-08 19:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e4da0012d85aac0061966e0001e00a922..."} 
[2026-08-08 19:15:42] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e4da0012d85aac0061966e0001e00a922..."} 
[2026-08-08 19:15:42] local.INFO: Packet analysis {"connection_id":150434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:42] local.INFO: Extracted packet for processing {"connection_id":150434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763734720,"raw_latitude":102328032,"longitude_deg":76.373472,"latitude_deg":10.2328032,"altitude":30,"angle":169,"satellites":34,"speed":56,"hex_longitude":"2d85aac0","hex_latitude":"061966e0","is_valid_coordinates":true} 
[2026-08-08 19:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266347264001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116170090738614272,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8816148088100132864,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786196676000,"timestamp_ms":1786196676000,"timestamp_seconds":1786196676,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e4da0"} 
[2026-08-08 19:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266347264001,"66":12156,"133":206,"79":46592,"24":56,"16":116170090738614272,"45":-8816148088100132864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266347264001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:42] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:15:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116170090738614272,"km_value":116170090738614.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8816148088100132864,"description":"Unknown IO ID 45"} 
[2026-08-08 19:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266347264001,"power":12156,"unknown_133":206,"unknown_79":46592,"ignition":56,"odometer":null,"unknown_45":-8816148088100132864}} 
[2026-08-08 19:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":150434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:42] local.INFO: GPS data processed {"connection_id":150434,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:42] local.INFO: Acknowledgment sent {"connection_id":150434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:43] local.INFO: TCP Data received {"connection_id":150714,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:15:43] local.INFO: Processing buffer {"connection_id":150714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:15:43] local.INFO: IMEI packet received {"connection_id":150714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":150714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:15:45] local.INFO: TCP Data received {"connection_id":150714,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19c3290012d196780071fee100035011a28..."} 
[2026-08-08 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19c3290012d196780071fee100035011a28..."} 
[2026-08-08 19:15:45] local.INFO: Processing buffer {"connection_id":150714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19c3290012d196780071fee100035011a28..."} 
[2026-08-08 19:15:45] local.INFO: Packet analysis {"connection_id":150714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:15:45] local.INFO: Extracted packet for processing {"connection_id":150714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266308352001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786196538000,"timestamp_ms":1786196538000,"timestamp_seconds":1786196538,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19c3290"} 
[2026-08-08 19:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2190541279238219417,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390635033887002,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":53,"raw_value":79415525851004928,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876021425602766,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2593679361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3994026037,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:15:45] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,77,159,142,45,128,238,53,40,10,66,60,39,234,1,240,225,31,4,113,205,70,103,36,239,48,2,41,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:15:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362718087905280,"timestamp_seconds":3819362718087905.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266308352001,"66":11602,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266308352001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266308352001,"power":11602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":150714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:45] local.INFO: GPS data processed {"connection_id":150714,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:45] local.INFO: Acknowledgment sent {"connection_id":150714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:15:46] local.INFO: TCP Data received {"connection_id":150714,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19c8498012d196780071fee100035011a26..."} 
[2026-08-08 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19c8498012d196780071fee100035011a26..."} 
[2026-08-08 19:15:46] local.INFO: Processing buffer {"connection_id":150714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19c8498012d196780071fee100035011a26..."} 
[2026-08-08 19:15:46] local.INFO: Packet analysis {"connection_id":150714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:15:46] local.INFO: Extracted packet for processing {"connection_id":150714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266313728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786196559000,"timestamp_ms":1786196559000,"timestamp_seconds":1786196559,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19c8498"} 
[2026-08-08 19:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 19:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266313728001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266313728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266313728001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":150714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:15:46] local.INFO: GPS data processed {"connection_id":150714,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:15:46] local.INFO: Acknowledgment sent {"connection_id":150714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:16:04] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:16:04] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:16:04] local.INFO: IMEI packet received {"connection_id":153132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":153132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:16:09] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:16:09] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:16:09] local.INFO: IMEI packet received {"connection_id":153132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":153132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:16:10] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:16:10] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:16:10] local.INFO: Packet analysis {"connection_id":153132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:16:10] local.INFO: Extracted packet for processing {"connection_id":153132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:16:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:16: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-08-08 19:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:16:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":153132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:16:10] local.INFO: GPS data processed {"connection_id":153132,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:16:10] local.INFO: Acknowledgment sent {"connection_id":153132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:16:13] local.INFO: TCP Data received {"connection_id":150434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19f7a68012d860dc00617d968001700a323..."} 
[2026-08-08 19:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19f7a68012d860dc00617d968001700a323..."} 
[2026-08-08 19:16:13] local.INFO: Processing buffer {"connection_id":150434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19f7a68012d860dc00617d968001700a323..."} 
[2026-08-08 19:16:13] local.INFO: Packet analysis {"connection_id":150434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:16:13] local.INFO: Extracted packet for processing {"connection_id":150434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763760064,"raw_latitude":102226280,"longitude_deg":76.3760064,"latitude_deg":10.222628,"altitude":23,"angle":163,"satellites":35,"speed":51,"hex_longitude":"2d860dc0","hex_latitude":"0617d968","is_valid_coordinates":true} 
[2026-08-08 19:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266366976001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116175167389958144,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8789900546548213760,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786196753000,"timestamp_ms":1786196753000,"timestamp_seconds":1786196753,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19f7a68"} 
[2026-08-08 19:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:16: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-08-08 19:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266366976001,"66":11917,"133":206,"79":46592,"24":51,"16":116175167389958144,"45":-8789900546548213760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266366976001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:16:13] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:16:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116175167389958144,"km_value":116175167389958.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8789900546548213760,"description":"Unknown IO ID 45"} 
[2026-08-08 19:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266366976001,"power":11917,"unknown_133":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8789900546548213760}} 
[2026-08-08 19:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":150434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:16:13] local.INFO: GPS data processed {"connection_id":150434,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:16:13] local.INFO: Acknowledgment sent {"connection_id":150434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:16:17] local.INFO: TCP Data received {"connection_id":150714,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19cd6a0012d196780071fee100035011a27..."} 
[2026-08-08 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19cd6a0012d196780071fee100035011a27..."} 
[2026-08-08 19:16:17] local.INFO: Processing buffer {"connection_id":150714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19cd6a0012d196780071fee100035011a27..."} 
[2026-08-08 19:16:17] local.INFO: Packet analysis {"connection_id":150714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:16:17] local.INFO: Extracted packet for processing {"connection_id":150714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19c"} 
[2026-08-08 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266319104001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786196580000,"timestamp_ms":1786196580000,"timestamp_seconds":1786196580,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19cd6a0"} 
[2026-08-08 19:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266319104001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266319104001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:16:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266319104001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":150714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:16:17] local.INFO: GPS data processed {"connection_id":150714,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:16:17] local.INFO: Acknowledgment sent {"connection_id":150714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:16:30] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:30] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:30] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:16:31] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:31] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:31] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:16:33] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:16:33] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:16:33] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:16:36] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:36] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:16:36] local.INFO: IMEI packet received {"connection_id":151652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":151652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:16:37] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19f95c0012d8619c00617b6b0001700a123..."} 
[2026-08-08 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19f95c0012d8619c00617b6b0001700a123..."} 
[2026-08-08 19:16:37] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19f95c0012d8619c00617b6b0001700a123..."} 
[2026-08-08 19:16:37] local.INFO: Packet analysis {"connection_id":151652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:16:37] local.INFO: Extracted packet for processing {"connection_id":151652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763763136,"raw_latitude":102217392,"longitude_deg":76.3763136,"latitude_deg":10.2217392,"altitude":23,"angle":161,"satellites":35,"speed":54,"hex_longitude":"2d8619c0","hex_latitude":"0617b6b0","is_valid_coordinates":true} 
[2026-08-08 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266368768001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116175622656491520,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8787156165527508992,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786196760000,"timestamp_ms":1786196760000,"timestamp_seconds":1786196760,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19f95c0"} 
[2026-08-08 19:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:16: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-08-08 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 19:16: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-08-08 19:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266368768001,"66":12026,"133":206,"79":46592,"24":54,"16":116175622656491520,"45":-8787156165527508992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266368768001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:16:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:16:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116175622656491520,"km_value":116175622656491.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8787156165527508992,"description":"Unknown IO ID 45"} 
[2026-08-08 19:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266368768001,"power":12026,"unknown_133":206,"unknown_79":46592,"ignition":54,"odometer":null,"unknown_45":-8787156165527508992}} 
[2026-08-08 19:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":151652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:16:37] local.INFO: GPS data processed {"connection_id":151652,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:16:37] local.INFO: Acknowledgment sent {"connection_id":151652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:16:38] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:16:38] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:16:38] local.INFO: IMEI packet received {"connection_id":151653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":151653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:16:39] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19d28a8012d196780071fee100035011a27..."} 
[2026-08-08 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19d28a8012d196780071fee100035011a27..."} 
[2026-08-08 19:16:39] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19d28a8012d196780071fee100035011a27..."} 
[2026-08-08 19:16:39] local.INFO: Packet analysis {"connection_id":151653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:16:39] local.INFO: Extracted packet for processing {"connection_id":151653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266324480001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786196601000,"timestamp_ms":1786196601000,"timestamp_seconds":1786196601,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19d28a8"} 
[2026-08-08 19:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266324480001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266324480001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:16:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266324480001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":151653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:16:40] local.INFO: GPS data processed {"connection_id":151653,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:16:40] local.INFO: Acknowledgment sent {"connection_id":151653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:16:42] local.INFO: TCP Data received {"connection_id":153132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:16:42] local.INFO: Processing buffer {"connection_id":153132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:16:42] local.INFO: Packet analysis {"connection_id":153132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:16:42] local.INFO: Extracted packet for processing {"connection_id":153132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:16:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:16:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":153132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:16:42] local.INFO: GPS data processed {"connection_id":153132,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:16:42] local.INFO: Acknowledgment sent {"connection_id":153132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:04] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:17:04] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:17:04] local.INFO: IMEI packet received {"connection_id":151654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":151654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:17:08] local.INFO: TCP Data received {"connection_id":151652,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19fb118012d86260006179228001600a123..."} 
[2026-08-08 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19fb118012d86260006179228001600a123..."} 
[2026-08-08 19:17:08] local.INFO: Processing buffer {"connection_id":151652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19fb118012d86260006179228001600a123..."} 
[2026-08-08 19:17:08] local.INFO: Packet analysis {"connection_id":151652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:17:08] local.INFO: Extracted packet for processing {"connection_id":151652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763766272,"raw_latitude":102208040,"longitude_deg":76.3766272,"latitude_deg":10.220804,"altitude":22,"angle":161,"satellites":35,"speed":57,"hex_longitude":"2d862600","hex_latitude":"06179228","is_valid_coordinates":true} 
[2026-08-08 19:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266370560001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116176099397861376,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783778465809256448,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786196767000,"timestamp_ms":1786196767000,"timestamp_seconds":1786196767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19fb118"} 
[2026-08-08 19:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:17: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-08-08 19: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 19:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266370560001,"66":12058,"133":206,"79":46592,"24":57,"16":116176099397861376,"45":-8783778465809256448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-08-08 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266370560001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-08 19:17:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116176099397861376,"km_value":116176099397861.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783778465809256448,"description":"Unknown IO ID 45"} 
[2026-08-08 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266370560001,"power":12058,"unknown_133":206,"unknown_79":46592,"ignition":57,"odometer":null,"unknown_45":-8783778465809256448}} 
[2026-08-08 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":151652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:08] local.INFO: GPS data processed {"connection_id":151652,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:08] local.INFO: Acknowledgment sent {"connection_id":151652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:09] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:17:09] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:17:09] local.INFO: IMEI packet received {"connection_id":151654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":151654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:17:10] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:17:10] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:17:10] local.INFO: Packet analysis {"connection_id":151654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:17:10] local.INFO: Extracted packet for processing {"connection_id":151654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:17:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 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-08-08 19: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-08-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19: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-08-08 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-08-08 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-08-08 19:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:17:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":151654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:10] local.INFO: GPS data processed {"connection_id":151654,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:10] local.INFO: Acknowledgment sent {"connection_id":151654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:11] local.INFO: TCP Data received {"connection_id":151653,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19d7ab0012d196780071fee100035011a23..."} 
[2026-08-08 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19d7ab0012d196780071fee100035011a23..."} 
[2026-08-08 19:17:11] local.INFO: Processing buffer {"connection_id":151653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19d7ab0012d196780071fee100035011a23..."} 
[2026-08-08 19:17:11] local.INFO: Packet analysis {"connection_id":151653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:17:11] local.INFO: Extracted packet for processing {"connection_id":151653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266329856001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196622000,"timestamp_ms":1786196622000,"timestamp_seconds":1786196622,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19d7ab0"} 
[2026-08-08 19:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266329856001,"66":12265,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266329856001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266329856001,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":151653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:11] local.INFO: GPS data processed {"connection_id":151653,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:11] local.INFO: Acknowledgment sent {"connection_id":151653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:31] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:17:31] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:17:31] local.INFO: IMEI packet received {"connection_id":153133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":153133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:17:33] local.INFO: TCP Data received {"connection_id":153134,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:17:33] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:17:33] local.INFO: IMEI packet received {"connection_id":153134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":153134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:17:36] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:17:36] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:17:36] local.INFO: IMEI packet received {"connection_id":153133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":153133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:17:37] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19fcc70012d86328006176d30001500a124..."} 
[2026-08-08 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19fcc70012d86328006176d30001500a124..."} 
[2026-08-08 19:17:37] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19fcc70012d86328006176d30001500a124..."} 
[2026-08-08 19:17:37] local.INFO: Packet analysis {"connection_id":153133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:17:37] local.INFO: Extracted packet for processing {"connection_id":153133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763769472,"raw_latitude":102198576,"longitude_deg":76.3769472,"latitude_deg":10.2198576,"altitude":21,"angle":161,"satellites":36,"speed":55,"hex_longitude":"2d863280","hex_latitude":"06176d30","is_valid_coordinates":true} 
[2026-08-08 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266372352001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116176584729165824,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8780330397346945024,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786196774000,"timestamp_ms":1786196774000,"timestamp_seconds":1786196774,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19fcc70"} 
[2026-08-08 19:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266372352001,"66":11917,"131":206,"79":46592,"24":55,"16":116176584729165824,"45":-8780330397346945024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-08 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266372352001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-08 19:17:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116176584729165824,"km_value":116176584729165.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8780330397346945024,"description":"Unknown IO ID 45"} 
[2026-08-08 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266372352001,"power":11917,"unknown_131":206,"unknown_79":46592,"ignition":55,"odometer":null,"unknown_45":-8780330397346945024}} 
[2026-08-08 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":153133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:37] local.INFO: GPS data processed {"connection_id":153133,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:37] local.INFO: Acknowledgment sent {"connection_id":153133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:38] local.INFO: TCP Data received {"connection_id":153134,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:17:38] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:17:38] local.INFO: IMEI packet received {"connection_id":153134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":153134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:17:39] local.INFO: TCP Data received {"connection_id":153134,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19dccb8012d196780071fee100035011a24..."} 
[2026-08-08 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19dccb8012d196780071fee100035011a24..."} 
[2026-08-08 19:17:39] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19dccb8012d196780071fee100035011a24..."} 
[2026-08-08 19:17:39] local.INFO: Packet analysis {"connection_id":153134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:17:39] local.INFO: Extracted packet for processing {"connection_id":153134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19d"} 
[2026-08-08 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266335232001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786196643000,"timestamp_ms":1786196643000,"timestamp_seconds":1786196643,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19dccb8"} 
[2026-08-08 19:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-08 19:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266335232001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266335232001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266335232001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":153134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:40] local.INFO: GPS data processed {"connection_id":153134,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:40] local.INFO: Acknowledgment sent {"connection_id":153134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:41] local.INFO: TCP Data received {"connection_id":151654,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:17:41] local.INFO: Processing buffer {"connection_id":151654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:17:41] local.INFO: Packet analysis {"connection_id":151654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:17:41] local.INFO: Extracted packet for processing {"connection_id":151654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:17:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 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-08-08 19: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-08-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:17: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-08-08 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-08-08 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-08-08 19:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:17:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":151654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:41] local.INFO: GPS data processed {"connection_id":151654,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:41] local.INFO: Acknowledgment sent {"connection_id":151654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:17:42] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19fe7c8012d863ec006174950001400a124..."} 
[2026-08-08 19:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19fe7c8012d863ec006174950001400a124..."} 
[2026-08-08 19:17:42] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19fe7c8012d863ec006174950001400a124..."} 
[2026-08-08 19:17:42] local.INFO: Packet analysis {"connection_id":153133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:17:42] local.INFO: Extracted packet for processing {"connection_id":153133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763772608,"raw_latitude":102189392,"longitude_deg":76.3772608,"latitude_deg":10.2189392,"altitude":20,"angle":161,"satellites":36,"speed":54,"hex_longitude":"2d863ec0","hex_latitude":"06174950","is_valid_coordinates":true} 
[2026-08-08 19:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266374144001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116177052880601088,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8776811960140484608,"note":"Value kept but may cause issues"} 
[2026-08-08 19:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786196781000,"timestamp_ms":1786196781000,"timestamp_seconds":1786196781,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19fe7c8"} 
[2026-08-08 19:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:17: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-08-08 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 19:17:42] 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-08-08 19:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266374144001,"66":12069,"131":206,"79":46592,"24":54,"16":116177052880601088,"45":-8776811960140484608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-08 19:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266374144001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:17:42] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-08 19:17:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116177052880601088,"km_value":116177052880601.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8776811960140484608,"description":"Unknown IO ID 45"} 
[2026-08-08 19:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266374144001,"power":12069,"unknown_131":206,"unknown_79":46592,"ignition":54,"odometer":null,"unknown_45":-8776811960140484608}} 
[2026-08-08 19:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":153133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:17:42] local.INFO: GPS data processed {"connection_id":153133,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:17:42] local.INFO: Acknowledgment sent {"connection_id":153133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:18:04] local.INFO: TCP Data received {"connection_id":150435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:18:04] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:18:04] local.INFO: IMEI packet received {"connection_id":150435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":150435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:18:09] local.INFO: TCP Data received {"connection_id":150435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:18:09] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:18:09] local.INFO: IMEI packet received {"connection_id":150435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":150435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:18:10] local.INFO: TCP Data received {"connection_id":150435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:18:10] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:18:10] local.INFO: Packet analysis {"connection_id":150435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:10] local.INFO: Extracted packet for processing {"connection_id":150435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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-08-08 19: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-08-08 19:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:18: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-08-08 19:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:18:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":150435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:18:10] local.INFO: GPS data processed {"connection_id":150435,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:18:10] local.INFO: Acknowledgment sent {"connection_id":150435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:18:11] local.INFO: TCP Data received {"connection_id":153134,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e1ec0012d196780071fee100035011a25..."} 
[2026-08-08 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e1ec0012d196780071fee100035011a25..."} 
[2026-08-08 19:18:11] local.INFO: Processing buffer {"connection_id":153134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e1ec0012d196780071fee100035011a25..."} 
[2026-08-08 19:18:11] local.INFO: Packet analysis {"connection_id":153134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:11] local.INFO: Extracted packet for processing {"connection_id":153134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266340608001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196664000,"timestamp_ms":1786196664000,"timestamp_seconds":1786196664,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e1ec0"} 
[2026-08-08 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-08-08 19:18: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-08-08 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266340608001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266340608001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:18:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266340608001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":153134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:18:11] local.INFO: GPS data processed {"connection_id":153134,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:18:11] local.INFO: Acknowledgment sent {"connection_id":153134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:18:16] local.INFO: TCP Data received {"connection_id":153133,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a00320012d864a80061725e8001200a124..."} 
[2026-08-08 19:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a00320012d864a80061725e8001200a124..."} 
[2026-08-08 19:18:16] local.INFO: Processing buffer {"connection_id":153133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a00320012d864a80061725e8001200a124..."} 
[2026-08-08 19:18:16] local.INFO: Packet analysis {"connection_id":153133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a0"} 
[2026-08-08 19:18:16] local.INFO: Extracted packet for processing {"connection_id":153133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a0"} 
[2026-08-08 19:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763775616,"raw_latitude":102180328,"longitude_deg":76.3775616,"latitude_deg":10.2180328,"altitude":18,"angle":161,"satellites":36,"speed":54,"hex_longitude":"2d864a80","hex_latitude":"061725e8","is_valid_coordinates":true} 
[2026-08-08 19:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266375936001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116177516737069056,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8773363891678130176,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786196788000,"timestamp_ms":1786196788000,"timestamp_seconds":1786196788,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a00320"} 
[2026-08-08 19:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266375936001,"66":12069,"131":206,"79":46592,"24":54,"16":116177516737069056,"45":-8773363891678130176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-08-08 19:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266375936001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:18:16] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-08 19:18:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116177516737069056,"km_value":116177516737069.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8773363891678130176,"description":"Unknown IO ID 45"} 
[2026-08-08 19:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266375936001,"power":12069,"unknown_131":206,"unknown_79":46592,"ignition":54,"odometer":null,"unknown_45":-8773363891678130176}} 
[2026-08-08 19:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":153133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:18:16] local.INFO: GPS data processed {"connection_id":153133,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:18:16] local.INFO: Acknowledgment sent {"connection_id":153133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:18:31] local.INFO: TCP Data received {"connection_id":150715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:18:31] local.INFO: Processing buffer {"connection_id":150715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:18:31] local.INFO: IMEI packet received {"connection_id":150715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":150715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:18:32] local.INFO: TCP Data received {"connection_id":150716,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:32] local.INFO: Processing buffer {"connection_id":150716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:32] local.INFO: IMEI packet received {"connection_id":150716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":150716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:18:33] local.INFO: TCP Data received {"connection_id":150716,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:33] local.INFO: Processing buffer {"connection_id":150716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:33] local.INFO: IMEI packet received {"connection_id":150716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":150716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:18:38] local.INFO: TCP Data received {"connection_id":150716,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:38] local.INFO: Processing buffer {"connection_id":150716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:18:38] local.INFO: IMEI packet received {"connection_id":150716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":150716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:18:39] local.INFO: TCP Data received {"connection_id":150715,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:18:39] local.INFO: Processing buffer {"connection_id":150715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:18:39] local.INFO: IMEI packet received {"connection_id":150715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":150715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:18:39] local.INFO: TCP Data received {"connection_id":150715,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150715,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:18:39] local.INFO: Processing buffer {"connection_id":150715,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:18:39] local.INFO: IMEI packet received {"connection_id":150715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":150715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:18:39] local.INFO: TCP Data received {"connection_id":150716,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e70c8012d196780071fee100035011a24..."} 
[2026-08-08 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e70c8012d196780071fee100035011a24..."} 
[2026-08-08 19:18:39] local.INFO: Processing buffer {"connection_id":150716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e70c8012d196780071fee100035011a24..."} 
[2026-08-08 19:18:39] local.INFO: Packet analysis {"connection_id":150716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:39] local.INFO: Extracted packet for processing {"connection_id":150716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266345984001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18: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-08-08 19:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786196685000,"timestamp_ms":1786196685000,"timestamp_seconds":1786196685,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e70c8"} 
[2026-08-08 19:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266345984001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266345984001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:18:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266345984001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":150716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:18:40] local.INFO: GPS data processed {"connection_id":150716,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:18:40] local.INFO: Acknowledgment sent {"connection_id":150716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:18:41] local.INFO: TCP Data received {"connection_id":150435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:18:41] local.INFO: Processing buffer {"connection_id":150435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:18:41] local.INFO: Packet analysis {"connection_id":150435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:41] local.INFO: Extracted packet for processing {"connection_id":150435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:18:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:18:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:18: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-08-08 19:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:18: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-08-08 19:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:18:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":150435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:18:41] local.INFO: GPS data processed {"connection_id":150435,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:18:41] local.INFO: Acknowledgment sent {"connection_id":150435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:19:04] local.INFO: TCP Data received {"connection_id":150717,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:19:04] local.INFO: Processing buffer {"connection_id":150717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:19:04] local.INFO: IMEI packet received {"connection_id":150717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":150717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:19:09] local.INFO: TCP Data received {"connection_id":150717,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:19:09] local.INFO: Processing buffer {"connection_id":150717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:19:09] local.INFO: IMEI packet received {"connection_id":150717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":150717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:19:10] local.INFO: TCP Data received {"connection_id":150717,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:19:10] local.INFO: Processing buffer {"connection_id":150717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:19:10] local.INFO: Packet analysis {"connection_id":150717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:19:10] local.INFO: Extracted packet for processing {"connection_id":150717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19: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-08-08 19:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:19:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":150717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:19:10] local.INFO: GPS data processed {"connection_id":150717,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:19:10] local.INFO: Acknowledgment sent {"connection_id":150717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:19:11] local.INFO: TCP Data received {"connection_id":150716,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19ec2d0012d196780071fee100035011a24..."} 
[2026-08-08 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19ec2d0012d196780071fee100035011a24..."} 
[2026-08-08 19:19:11] local.INFO: Processing buffer {"connection_id":150716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19ec2d0012d196780071fee100035011a24..."} 
[2026-08-08 19:19:11] local.INFO: Packet analysis {"connection_id":150716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:19:11] local.INFO: Extracted packet for processing {"connection_id":150716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266351360001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786196706000,"timestamp_ms":1786196706000,"timestamp_seconds":1786196706,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19ec2d0"} 
[2026-08-08 19:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266351360001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266351360001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:19:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266351360001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":150716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:19:11] local.INFO: GPS data processed {"connection_id":150716,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:19:11] local.INFO: Acknowledgment sent {"connection_id":150716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:19:33] local.INFO: TCP Data received {"connection_id":151656,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:33] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:33] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:19:36] local.INFO: TCP Data received {"connection_id":151656,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:36] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:36] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:19:38] local.INFO: TCP Data received {"connection_id":151656,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:38] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:19:38] local.INFO: IMEI packet received {"connection_id":151656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":151656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:19:39] local.INFO: TCP Data received {"connection_id":151656,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19f14d8012d196780071fee100035011a24..."} 
[2026-08-08 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19f14d8012d196780071fee100035011a24..."} 
[2026-08-08 19:19:39] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19f14d8012d196780071fee100035011a24..."} 
[2026-08-08 19:19:39] local.INFO: Packet analysis {"connection_id":151656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:19:39] local.INFO: Extracted packet for processing {"connection_id":151656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266356736001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786196727000,"timestamp_ms":1786196727000,"timestamp_seconds":1786196727,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19f14d8"} 
[2026-08-08 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-08-08 19:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266356736001,"66":12254,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266356736001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:19:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266356736001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":151656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:19:39] local.INFO: GPS data processed {"connection_id":151656,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:19:39] local.INFO: Acknowledgment sent {"connection_id":151656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:19:41] local.INFO: TCP Data received {"connection_id":150717,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:19:41] local.INFO: Processing buffer {"connection_id":150717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:19:41] local.INFO: Packet analysis {"connection_id":150717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:19:41] local.INFO: Extracted packet for processing {"connection_id":150717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:19:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:19:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 19:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:19: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-08-08 19:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:19: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-08-08 19:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:19:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":150717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:19:41] local.INFO: GPS data processed {"connection_id":150717,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:19:41] local.INFO: Acknowledgment sent {"connection_id":150717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:20:04] local.INFO: TCP Data received {"connection_id":150436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:20:04] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:20:04] local.INFO: IMEI packet received {"connection_id":150436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":150436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:20:09] local.INFO: TCP Data received {"connection_id":150436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:20:09] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:20:09] local.INFO: IMEI packet received {"connection_id":150436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":150436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:20:10] local.INFO: TCP Data received {"connection_id":150436,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:20:10] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19e8838012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:20:10] local.INFO: Packet analysis {"connection_id":150436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:20:10] local.INFO: Extracted packet for processing {"connection_id":150436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19e"} 
[2026-08-08 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266275840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196691000,"timestamp_ms":1786196691000,"timestamp_seconds":1786196691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19e8838"} 
[2026-08-08 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-08-08 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-08-08 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-08 19:20: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-08-08 19:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:20: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-08-08 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266275840001,"66":25756,"24":0,"83":43520,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,44]} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266275840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266275840001,"power":25756,"ignition":0,"unknown_83":43520,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":150436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:20:10] local.INFO: GPS data processed {"connection_id":150436,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:20:10] local.INFO: Acknowledgment sent {"connection_id":150436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:20:10] local.INFO: TCP Data received {"connection_id":151656,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe19f66e0012d196780071fee100035011a24..."} 
[2026-08-08 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe19f66e0012d196780071fee100035011a24..."} 
[2026-08-08 19:20:10] local.INFO: Processing buffer {"connection_id":151656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe19f66e0012d196780071fee100035011a24..."} 
[2026-08-08 19:20:10] local.INFO: Packet analysis {"connection_id":151656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:20:10] local.INFO: Extracted packet for processing {"connection_id":151656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe19f"} 
[2026-08-08 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266362112001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196748000,"timestamp_ms":1786196748000,"timestamp_seconds":1786196748,"priority":1,"record_length":96,"hex_timestamp":"0000019fe19f66e0"} 
[2026-08-08 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-08-08 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-08 19:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266362112001,"66":12287,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266362112001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266362112001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":151656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:20:10] local.INFO: GPS data processed {"connection_id":151656,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:20:10] local.INFO: Acknowledgment sent {"connection_id":151656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:20:33] local.INFO: TCP Data received {"connection_id":150718,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:20:33] local.INFO: Processing buffer {"connection_id":150718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:20:33] local.INFO: IMEI packet received {"connection_id":150718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":150718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:20:38] local.INFO: TCP Data received {"connection_id":150718,"ip":"117.225.201.70","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:20:38] local.INFO: Processing buffer {"connection_id":150718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:20:38] local.INFO: IMEI packet received {"connection_id":150718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":150718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:20:40] local.INFO: TCP Data received {"connection_id":150718,"ip":"117.225.201.70","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a2f120012d196780071fee100035011a21..."} 
[2026-08-08 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a2f120012d196780071fee100035011a21..."} 
[2026-08-08 19:20:40] local.INFO: Processing buffer {"connection_id":150718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a2f120012d196780071fee100035011a21..."} 
[2026-08-08 19:20:40] local.INFO: Packet analysis {"connection_id":150718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a2"} 
[2026-08-08 19:20:40] local.INFO: Extracted packet for processing {"connection_id":150718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a2"} 
[2026-08-08 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533072,"longitude_deg":75.6639616,"latitude_deg":11.9533072,"altitude":53,"angle":282,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071fee10","is_valid_coordinates":true} 
[2026-08-08 19:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266426624001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625359778775040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638217728,"note":"Value kept but may cause issues"} 
[2026-08-08 19: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-08-08 19:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786196980000,"timestamp_ms":1786196980000,"timestamp_seconds":1786196980,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a2f120"} 
[2026-08-08 19:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 19:20: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-08-08 19:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.70","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266426624001,"66":11950,"121":206,"28":31744,"24":0,"16":11625359778775040,"45":1830572541638217728},"client_ip":"117.225.201.70","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266426624001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:20:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625359778775040,"km_value":11625359778775.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638217728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266426624001,"power":11950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830572541638217728}} 
[2026-08-08 19:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":150718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:20:40] local.INFO: GPS data processed {"connection_id":150718,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:20:40] local.INFO: Acknowledgment sent {"connection_id":150718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:20:41] local.INFO: TCP Data received {"connection_id":150436,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:20:41] local.INFO: Processing buffer {"connection_id":150436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:20:41] local.INFO: Packet analysis {"connection_id":150436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:20:41] local.INFO: Extracted packet for processing {"connection_id":150436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:20: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-08-08 19:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:20:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":150436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:20:41] local.INFO: GPS data processed {"connection_id":150436,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:20:41] local.INFO: Acknowledgment sent {"connection_id":150436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:21:04] local.INFO: TCP Data received {"connection_id":150719,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:21:04] local.INFO: Processing buffer {"connection_id":150719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:21:04] local.INFO: IMEI packet received {"connection_id":150719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":150719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:21:09] local.INFO: TCP Data received {"connection_id":150719,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:21:09] local.INFO: Processing buffer {"connection_id":150719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:21:09] local.INFO: IMEI packet received {"connection_id":150719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":150719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:21:10] local.INFO: TCP Data received {"connection_id":150719,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:21:10] local.INFO: Processing buffer {"connection_id":150719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:21:10] local.INFO: Packet analysis {"connection_id":150719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:21:10] local.INFO: Extracted packet for processing {"connection_id":150719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:21:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":150719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:21:10] local.INFO: GPS data processed {"connection_id":150719,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:21:10] local.INFO: Acknowledgment sent {"connection_id":150719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:21:41] local.INFO: TCP Data received {"connection_id":150719,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:21:41] local.INFO: Processing buffer {"connection_id":150719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:21:41] local.INFO: Packet analysis {"connection_id":150719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:21:41] local.INFO: Extracted packet for processing {"connection_id":150719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:21: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-08-08 19:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:21:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":150719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:21:41] local.INFO: GPS data processed {"connection_id":150719,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:21:41] local.INFO: Acknowledgment sent {"connection_id":150719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:22:05] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:22:05] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:22:05] local.INFO: IMEI packet received {"connection_id":151658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":151658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:22:09] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:22:09] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:22:09] local.INFO: IMEI packet received {"connection_id":151658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":151658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:22:10] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:22:10] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:22:10] local.INFO: Packet analysis {"connection_id":151658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:22:10] local.INFO: Extracted packet for processing {"connection_id":151658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:22: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-08-08 19:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:22:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":151658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:22:10] local.INFO: GPS data processed {"connection_id":151658,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:22:10] local.INFO: Acknowledgment sent {"connection_id":151658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:22:41] local.INFO: TCP Data received {"connection_id":151658,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:22:41] local.INFO: Processing buffer {"connection_id":151658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:22:41] local.INFO: Packet analysis {"connection_id":151658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:22:41] local.INFO: Extracted packet for processing {"connection_id":151658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:22: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-08-08 19:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":151658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:22:41] local.INFO: GPS data processed {"connection_id":151658,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:22:41] local.INFO: Acknowledgment sent {"connection_id":151658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:23:04] local.INFO: TCP Data received {"connection_id":150721,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:23:04] local.INFO: Processing buffer {"connection_id":150721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:23:04] local.INFO: IMEI packet received {"connection_id":150721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":150721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:23:09] local.INFO: TCP Data received {"connection_id":150721,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:23:09] local.INFO: Processing buffer {"connection_id":150721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:23:09] local.INFO: IMEI packet received {"connection_id":150721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":150721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:23:10] local.INFO: TCP Data received {"connection_id":150721,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:23:10] local.INFO: Processing buffer {"connection_id":150721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:23:10] local.INFO: Packet analysis {"connection_id":150721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:23:10] local.INFO: Extracted packet for processing {"connection_id":150721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:23:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:23: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-08-08 19:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":150721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:23:10] local.INFO: GPS data processed {"connection_id":150721,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:23:10] local.INFO: Acknowledgment sent {"connection_id":150721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:23:41] local.INFO: TCP Data received {"connection_id":150721,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:23:41] local.INFO: Processing buffer {"connection_id":150721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:23:41] local.INFO: Packet analysis {"connection_id":150721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:23:41] local.INFO: Extracted packet for processing {"connection_id":150721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:23:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:23: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-08-08 19:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:23: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-08-08 19:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":150721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:23:41] local.INFO: GPS data processed {"connection_id":150721,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:23:41] local.INFO: Acknowledgment sent {"connection_id":150721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:23:41] local.INFO: TCP Data received {"connection_id":150722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:23:41] local.INFO: Processing buffer {"connection_id":150722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:23:41] local.INFO: IMEI packet received {"connection_id":150722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:23:42] local.INFO: TCP Data received {"connection_id":150722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a53b10012d87a40006138460001700a11f..."} 
[2026-08-08 19:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a53b10012d87a40006138460001700a11f..."} 
[2026-08-08 19:23:42] local.INFO: Processing buffer {"connection_id":150722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a53b10012d87a40006138460001700a11f..."} 
[2026-08-08 19:23:42] local.INFO: Packet analysis {"connection_id":150722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a5"} 
[2026-08-08 19:23:42] local.INFO: Extracted packet for processing {"connection_id":150722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a5"} 
[2026-08-08 19:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763864064,"raw_latitude":101942368,"longitude_deg":76.3864064,"latitude_deg":10.1942368,"altitude":23,"angle":161,"satellites":31,"speed":18,"hex_longitude":"2d87a400","hex_latitude":"06138460","is_valid_coordinates":true} 
[2026-08-08 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266460928001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116189976437194752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8676677237239062528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786197130000,"timestamp_ms":1786197130000,"timestamp_seconds":1786197130,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a53b10"} 
[2026-08-08 19:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:23: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-08-08 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 19:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266460928001,"66":12211,"195":206,"79":46592,"24":18,"16":116189976437194752,"45":-8676677237239062528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-08-08 19:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266460928001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:23:42] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 19:23:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116189976437194752,"km_value":116189976437194.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8676677237239062528,"description":"Unknown IO ID 45"} 
[2026-08-08 19:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266460928001,"power":12211,"unknown_195":206,"unknown_79":46592,"ignition":18,"odometer":null,"unknown_45":-8676677237239062528}} 
[2026-08-08 19:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":150722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:23:42] local.INFO: GPS data processed {"connection_id":150722,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:23:42] local.INFO: Acknowledgment sent {"connection_id":150722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:24:04] local.INFO: TCP Data received {"connection_id":150437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:24:04] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:24:04] local.INFO: IMEI packet received {"connection_id":150437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":150437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:24:09] local.INFO: TCP Data received {"connection_id":150437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:24:09] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:24:09] local.INFO: IMEI packet received {"connection_id":150437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":150437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:24:10] local.INFO: TCP Data received {"connection_id":150437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:24:10] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:24:10] local.INFO: Packet analysis {"connection_id":150437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:24:10] local.INFO: Extracted packet for processing {"connection_id":150437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:24:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:24:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":150437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:24:10] local.INFO: GPS data processed {"connection_id":150437,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:24:10] local.INFO: Acknowledgment sent {"connection_id":150437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:24:14] local.INFO: TCP Data received {"connection_id":150722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a58930012d87aac006137340001800a426..."} 
[2026-08-08 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a58930012d87aac006137340001800a426..."} 
[2026-08-08 19:24:14] local.INFO: Processing buffer {"connection_id":150722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a58930012d87aac006137340001800a426..."} 
[2026-08-08 19:24:14] local.INFO: Packet analysis {"connection_id":150722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a5"} 
[2026-08-08 19:24:14] local.INFO: Extracted packet for processing {"connection_id":150722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a5"} 
[2026-08-08 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763865792,"raw_latitude":101937984,"longitude_deg":76.3865792,"latitude_deg":10.1937984,"altitude":24,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d87aac0","hex_latitude":"06137340","is_valid_coordinates":true} 
[2026-08-08 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266465280001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116190208365428736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8672806956311486464,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786197150000,"timestamp_ms":1786197150000,"timestamp_seconds":1786197150,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a58930"} 
[2026-08-08 19:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 19:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266465280001,"66":12298,"214":206,"79":46592,"24":0,"16":116190208365428736,"45":-8672806956311486464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-08-08 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266465280001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:24:14] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-08 19:24:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116190208365428736,"km_value":116190208365428.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8672806956311486464,"description":"Unknown IO ID 45"} 
[2026-08-08 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266465280001,"power":12298,"unknown_214":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8672806956311486464}} 
[2026-08-08 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:24:14] local.INFO: GPS data processed {"connection_id":150722,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:24:14] local.INFO: Acknowledgment sent {"connection_id":150722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:24:31] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:24:31] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:24:31] local.INFO: IMEI packet received {"connection_id":153136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":153136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:24:32] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:32] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:32] local.INFO: IMEI packet received {"connection_id":150438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":150438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:24:33] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:33] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:33] local.INFO: IMEI packet received {"connection_id":150438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":150438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:24:35] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:35] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:35] local.INFO: IMEI packet received {"connection_id":150438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":150438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:24:36] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:24:36] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:24:36] local.INFO: IMEI packet received {"connection_id":153136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":153136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:24:37] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a5db38012d87ad0006136d10001900a226..."} 
[2026-08-08 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a5db38012d87ad0006136d10001900a226..."} 
[2026-08-08 19:24:37] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a5db38012d87ad0006136d10001900a226..."} 
[2026-08-08 19:24:37] local.INFO: Packet analysis {"connection_id":153136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a5"} 
[2026-08-08 19:24:37] local.INFO: Extracted packet for processing {"connection_id":153136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a5"} 
[2026-08-08 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":763866368,"raw_latitude":101936400,"longitude_deg":76.3866368,"latitude_deg":10.19364,"altitude":25,"angle":162,"satellites":38,"speed":0,"hex_longitude":"2d87ad00","hex_latitude":"06136d10","is_valid_coordinates":true} 
[2026-08-08 19:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266470400001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116190294264774656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8670907000219811840,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786197171000,"timestamp_ms":1786197171000,"timestamp_seconds":1786197171,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a5db38"} 
[2026-08-08 19:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-5332235570527600128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186012,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":11008,"corrected_to":0} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2187723780692015238,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2272968710,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3430899372410536142,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2761615361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3929014292,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":816054478,"corrected_to":0} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3758173575,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147881962,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2181090608,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3370778624,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":21,"raw_value":45358153180643328,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-1585267068834414591,"corrected_to":0} 
[2026-08-08 19:24:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":437951527342375073,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:37] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,214,79,24,241,157,16,202,159,59,45,132,23,31,10,66,195,248,64,165,20,29,201,209,192,1,240,255,227,225,19,4,113,205,72,122,152,34,239,46,164,2,156,6,21,200,128,36],"length":534,"final_offset":664,"validated_count":48,"validation_warnings":[{"io_id":202,"original":11008,"validated":0},{"io_id":205,"original":816054478,"validated":0},{"io_id":200,"original":-1585267068834414591,"validated":0}]} 
[2026-08-08 19:24:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729562740025982976,"timestamp_seconds":1729562740025983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266470400001,"66":12058,"214":206,"79":46592,"24":0,"16":116190294264774656,"45":-8670907000219811840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-08-08 19:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266470400001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:24:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-08 19:24:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116190294264774656,"km_value":116190294264774.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8670907000219811840,"description":"Unknown IO ID 45"} 
[2026-08-08 19:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266470400001,"power":12058,"unknown_214":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8670907000219811840}} 
[2026-08-08 19:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":153136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:24:37] local.INFO: GPS data processed {"connection_id":153136,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:24:37] local.INFO: Acknowledgment sent {"connection_id":153136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:24:39] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:39] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:24:39] local.INFO: IMEI packet received {"connection_id":150438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":150438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:24:40] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a68ee8012d198600071ff0a80047005527..."} 
[2026-08-08 19:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a68ee8012d198600071ff0a80047005527..."} 
[2026-08-08 19:24:40] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a68ee8012d198600071ff0a80047005527..."} 
[2026-08-08 19:24:40] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a6"} 
[2026-08-08 19:24:40] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a6"} 
[2026-08-08 19:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119533736,"longitude_deg":75.6647424,"latitude_deg":11.9533736,"altitude":71,"angle":85,"satellites":39,"speed":17,"hex_longitude":"2d198600","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-08 19:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266487040001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11625737735897088,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838172366009530368,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786197217000,"timestamp_ms":1786197217000,"timestamp_seconds":1786197217,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a68ee8"} 
[2026-08-08 19:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:24: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-08-08 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-08 19:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266487040001,"66":12526,"121":206,"28":31744,"24":17,"16":11625737735897088,"45":1838172366009530368},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266487040001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:24:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11625737735897088,"km_value":11625737735897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838172366009530368,"description":"Unknown IO ID 45"} 
[2026-08-08 19:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266487040001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1838172366009530368}} 
[2026-08-08 19:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:24:41] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:24:41] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:24:41] local.INFO: TCP Data received {"connection_id":150437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:24:41] local.INFO: Processing buffer {"connection_id":150437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:24:41] local.INFO: Packet analysis {"connection_id":150437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:24:41] local.INFO: Extracted packet for processing {"connection_id":150437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:24:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:24: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-08-08 19: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-08-08 19:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:24:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":150437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:24:41] local.INFO: GPS data processed {"connection_id":150437,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:24:41] local.INFO: Acknowledgment sent {"connection_id":150437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:25:04] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:25:04] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:25:04] local.INFO: IMEI packet received {"connection_id":151659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:25:08] local.INFO: TCP Data received {"connection_id":153136,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a62d40012d87adc006136b28001900a228..."} 
[2026-08-08 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a62d40012d87adc006136b28001900a228..."} 
[2026-08-08 19:25:08] local.INFO: Processing buffer {"connection_id":153136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a62d40012d87adc006136b28001900a228..."} 
[2026-08-08 19:25:08] local.INFO: Packet analysis {"connection_id":153136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a6"} 
[2026-08-08 19:25:08] local.INFO: Extracted packet for processing {"connection_id":153136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a6"} 
[2026-08-08 19:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763866560,"raw_latitude":101935912,"longitude_deg":76.386656,"latitude_deg":10.1935912,"altitude":25,"angle":162,"satellites":40,"speed":0,"hex_longitude":"2d87adc0","hex_latitude":"06136b28","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266475776001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116190328624513024,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8670273681522618368,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786197192000,"timestamp_ms":1786197192000,"timestamp_seconds":1786197192,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a62d40"} 
[2026-08-08 19:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:25: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-08-08 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266475776001,"66":12037,"204":206,"79":46592,"24":0,"16":116190328624513024,"45":-8670273681522618368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-08-08 19:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266475776001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:25:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116190328624513024,"km_value":116190328624513.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8670273681522618368,"description":"Unknown IO ID 45"} 
[2026-08-08 19:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266475776001,"power":12037,"lac":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8670273681522618368}} 
[2026-08-08 19:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":153136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:25:08] local.INFO: GPS data processed {"connection_id":153136,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:25:08] local.INFO: Acknowledgment sent {"connection_id":153136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:25:09] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:25:09] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:25:09] local.INFO: IMEI packet received {"connection_id":151659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":151659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:25:10] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:25:10] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a32000012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:25:10] local.INFO: Packet analysis {"connection_id":151659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:25:10] local.INFO: Extracted packet for processing {"connection_id":151659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a3"} 
[2026-08-08 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786196992000,"timestamp_ms":1786196992000,"timestamp_seconds":1786196992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a32000"} 
[2026-08-08 19:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 19:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:25: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-08-08 19:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266352896001,"66":25441,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:25:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266352896001,"power":25441,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:25:10] local.INFO: GPS data processed {"connection_id":151659,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:25:10] local.INFO: Acknowledgment sent {"connection_id":151659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:25:12] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a73eb0012d19ce80071ffa100035004024..."} 
[2026-08-08 19:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a73eb0012d19ce80071ffa100035004024..."} 
[2026-08-08 19:25:12] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a73eb0012d19ce80071ffa100035004024..."} 
[2026-08-08 19:25:12] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:25:12] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119536144,"longitude_deg":75.6665984,"latitude_deg":11.9536144,"altitude":53,"angle":64,"satellites":36,"speed":19,"hex_longitude":"2d19ce80","hex_latitude":"071ffa10","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266498816001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11626686923669504,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251775074304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786197262000,"timestamp_ms":1786197262000,"timestamp_seconds":1786197262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a73eb0"} 
[2026-08-08 19:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:25: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-08-08 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 19:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266498816001,"66":13656,"121":206,"28":31744,"24":19,"16":11626686923669504,"45":1859142251775074304},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266498816001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:25:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11626686923669504,"km_value":11626686923669.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251775074304,"description":"Unknown IO ID 45"} 
[2026-08-08 19:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266498816001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1859142251775074304}} 
[2026-08-08 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:25:12] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:25:12] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:25:31] local.INFO: TCP Data received {"connection_id":150439,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:25:31] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:25:31] local.INFO: IMEI packet received {"connection_id":150439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":150439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:25:38] local.INFO: TCP Data received {"connection_id":150439,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:25:38] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:25:38] local.INFO: IMEI packet received {"connection_id":150439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":150439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:25:41] local.INFO: TCP Data received {"connection_id":151659,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a7b7c8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a7b7c8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:25:41] local.INFO: Processing buffer {"connection_id":151659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a7b7c8012cfa4cc007404e58002a00d729..."} 
[2026-08-08 19:25:41] local.INFO: Packet analysis {"connection_id":151659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:25:41] local.INFO: Extracted packet for processing {"connection_id":151659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266429952001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197293000,"timestamp_ms":1786197293000,"timestamp_seconds":1786197293,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a7b7c8"} 
[2026-08-08 19:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 19: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-08-08 19:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:25: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-08-08 19:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266429952001,"66":25223,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266429952001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:25:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266429952001,"power":25223,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":151659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:25:41] local.INFO: GPS data processed {"connection_id":151659,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:25:41] local.INFO: Acknowledgment sent {"connection_id":151659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:25:43] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a74e50012d19d5c0071ffe900035002e24..."} 
[2026-08-08 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a74e50012d19d5c0071ffe900035002e24..."} 
[2026-08-08 19:25:43] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a74e50012d19d5c0071ffe900035002e24..."} 
[2026-08-08 19:25:43] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:25:43] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756667840,"raw_latitude":119537296,"longitude_deg":75.666784,"latitude_deg":11.9537296,"altitude":53,"angle":46,"satellites":36,"speed":22,"hex_longitude":"2d19d5c0","hex_latitude":"071ffe90","is_valid_coordinates":true} 
[2026-08-08 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266499072001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11626794297851904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464240201728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786197266000,"timestamp_ms":1786197266000,"timestamp_seconds":1786197266,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a74e50"} 
[2026-08-08 19:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 19:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266499072001,"66":13646,"121":206,"28":31744,"24":22,"16":11626794297851904,"45":1859564464240201728},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266499072001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:25:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11626794297851904,"km_value":11626794297851.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464240201728,"description":"Unknown IO ID 45"} 
[2026-08-08 19:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266499072001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1859564464240201728}} 
[2026-08-08 19:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:25:43] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:25:43] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:26:04] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:26:04] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:26:04] local.INFO: IMEI packet received {"connection_id":153137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":153137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:26:05] local.INFO: TCP Data received {"connection_id":150439,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a805e8012d87088006128428001100eb25..."} 
[2026-08-08 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a805e8012d87088006128428001100eb25..."} 
[2026-08-08 19:26:05] local.INFO: Processing buffer {"connection_id":150439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a805e8012d87088006128428001100eb25..."} 
[2026-08-08 19:26:05] local.INFO: Packet analysis {"connection_id":150439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:26:05] local.INFO: Extracted packet for processing {"connection_id":150439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763824256,"raw_latitude":101876776,"longitude_deg":76.3824256,"latitude_deg":10.1876776,"altitude":17,"angle":235,"satellites":37,"speed":50,"hex_longitude":"2d870880","hex_latitude":"06128428","is_valid_coordinates":true} 
[2026-08-08 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266510080001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116194284289392640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8706865428508973056,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786197313000,"timestamp_ms":1786197313000,"timestamp_seconds":1786197313,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a805e8"} 
[2026-08-08 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:26: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-08-08 19: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266510080001,"66":12189,"98":206,"79":46592,"24":50,"16":116194284289392640,"45":-8706865428508973056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-08-08 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266510080001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116194284289392640,"km_value":116194284289392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8706865428508973056,"description":"Unknown IO ID 45"} 
[2026-08-08 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266510080001,"power":12189,"unknown_98":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8706865428508973056}} 
[2026-08-08 19:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":150439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:26:05] local.INFO: GPS data processed {"connection_id":150439,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:26:05] local.INFO: Acknowledgment sent {"connection_id":150439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:26:09] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:26:09] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:26:09] local.INFO: IMEI packet received {"connection_id":153137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":153137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:26:10] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a7bbb0012cfa4cc007404e58002a00d72a..."} 
[2026-08-08 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a7bbb0012cfa4cc007404e58002a00d72a..."} 
[2026-08-08 19:26:10] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a7bbb0012cfa4cc007404e58002a00d72a..."} 
[2026-08-08 19:26:10] local.INFO: Packet analysis {"connection_id":153137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:26:10] local.INFO: Extracted packet for processing {"connection_id":153137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":754601152,"raw_latitude":121654872,"longitude_deg":75.4601152,"latitude_deg":12.1654872,"altitude":42,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2cfa4cc0","hex_latitude":"07404e58","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266507008001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197294000,"timestamp_ms":1786197294000,"timestamp_seconds":1786197294,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a7bbb0"} 
[2026-08-08 19:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 19:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-08 19:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:26: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-08-08 19:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266507008001,"66":25223,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266507008001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:26:10] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266507008001,"power":25223,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":153137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:26:10] local.INFO: GPS data processed {"connection_id":153137,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:26:10] local.INFO: Acknowledgment sent {"connection_id":153137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:26:14] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a85020012d19ba800720a5f80031000f24..."} 
[2026-08-08 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a85020012d19ba800720a5f80031000f24..."} 
[2026-08-08 19:26:14] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a85020012d19ba800720a5f80031000f24..."} 
[2026-08-08 19:26:14] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:26:14] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119580152,"longitude_deg":75.6660864,"latitude_deg":11.9580152,"altitude":49,"angle":15,"satellites":36,"speed":17,"hex_longitude":"2d19ba80","hex_latitude":"0720a5f8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266514944001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629139349995520,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002484066304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786197332000,"timestamp_ms":1786197332000,"timestamp_seconds":1786197332,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a85020"} 
[2026-08-08 19:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-08 19:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 19:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266514944001,"66":14135,"121":206,"28":31744,"24":17,"16":11629139349995520,"45":1850698002484066304},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266514944001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:26:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629139349995520,"km_value":11629139349995.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002484066304,"description":"Unknown IO ID 45"} 
[2026-08-08 19:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266514944001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1850698002484066304}} 
[2026-08-08 19:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:26:15] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:26:15] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:26:41] local.INFO: TCP Data received {"connection_id":153137,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a7c768012cfa468007404b18002a00ee2a..."} 
[2026-08-08 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a7c768012cfa468007404b18002a00ee2a..."} 
[2026-08-08 19:26:41] local.INFO: Processing buffer {"connection_id":153137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a7c768012cfa468007404b18002a00ee2a..."} 
[2026-08-08 19:26:41] local.INFO: Packet analysis {"connection_id":153137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:26:41] local.INFO: Extracted packet for processing {"connection_id":153137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a7"} 
[2026-08-08 19:26:41] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654040,"longitude_deg":75.4599552,"latitude_deg":12.165404,"altitude":42,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404b18","is_valid_coordinates":true} 
[2026-08-08 19:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266507264001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-410742328621377536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197297000,"timestamp_ms":1786197297000,"timestamp_seconds":1786197297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a7c768"} 
[2026-08-08 19:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:26: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-08-08 19:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-08 19:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:26: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-08-08 19:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266507264001,"66":27571,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-410742328621377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266507264001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:26:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-410742328621377536,"description":"Unknown IO ID 44"} 
[2026-08-08 19:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266507264001,"power":27571,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-410742328621377536}} 
[2026-08-08 19:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":153137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:26:41] local.INFO: GPS data processed {"connection_id":153137,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:26:41] local.INFO: Acknowledgment sent {"connection_id":153137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:26:41] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:41] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:41] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:26:44] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:44] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:44] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:26:46] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a85408012d19ba800720a7800031015d23..."} 
[2026-08-08 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a85408012d19ba800720a7800031015d23..."} 
[2026-08-08 19:26:46] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a85408012d19ba800720a7800031015d23..."} 
[2026-08-08 19:26:46] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:26:46] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119580544,"longitude_deg":75.6660864,"latitude_deg":11.9580544,"altitude":49,"angle":349,"satellites":35,"speed":16,"hex_longitude":"2d19ba80","hex_latitude":"0720a780","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266516992001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629160824832000,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717254656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786197333000,"timestamp_ms":1786197333000,"timestamp_seconds":1786197333,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a85408"} 
[2026-08-08 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-08-08 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-08 19:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266516992001,"66":13624,"121":206,"28":31744,"24":16,"16":11629160824832000,"45":1853934964717254656},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266516992001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:26:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:26:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629160824832000,"km_value":11629160824832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717254656,"description":"Unknown IO ID 45"} 
[2026-08-08 19:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266516992001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1853934964717254656}} 
[2026-08-08 19:26:46] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:46] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:26:46] local.INFO: IMEI packet received {"connection_id":151660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":151660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:26:46] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:26:46] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:26:47] local.INFO: TCP Data received {"connection_id":151660,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a91b40012d869f4006116cf0001900bf26..."} 
[2026-08-08 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a91b40012d869f4006116cf0001900bf26..."} 
[2026-08-08 19:26:47] local.INFO: Processing buffer {"connection_id":151660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a91b40012d869f4006116cf0001900bf26..."} 
[2026-08-08 19:26:47] local.INFO: Packet analysis {"connection_id":151660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:26:47] local.INFO: Extracted packet for processing {"connection_id":151660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763797312,"raw_latitude":101805296,"longitude_deg":76.3797312,"latitude_deg":10.1805296,"altitude":25,"angle":191,"satellites":38,"speed":46,"hex_longitude":"2d869f40","hex_latitude":"06116cf0","is_valid_coordinates":true} 
[2026-08-08 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266528768001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116198123990155264,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8745638606568693760,"note":"Value kept but may cause issues"} 
[2026-08-08 19:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786197384000,"timestamp_ms":1786197384000,"timestamp_seconds":1786197384,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a91b40"} 
[2026-08-08 19:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 19:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266528768001,"66":12048,"129":206,"79":46592,"24":46,"16":116198123990155264,"45":-8745638606568693760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-08-08 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266528768001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116198123990155264,"km_value":116198123990155.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8745638606568693760,"description":"Unknown IO ID 45"} 
[2026-08-08 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266528768001,"power":12048,"unknown_129":206,"unknown_79":46592,"ignition":46,"odometer":null,"unknown_45":-8745638606568693760}} 
[2026-08-08 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":151660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:26:47] local.INFO: GPS data processed {"connection_id":151660,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:26:47] local.INFO: Acknowledgment sent {"connection_id":151660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:27:04] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:04] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:04] local.INFO: IMEI packet received {"connection_id":153138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":153138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:27:04] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:04] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:04] local.INFO: IMEI packet received {"connection_id":153138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":153138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:27:13] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:13] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:27:13] local.INFO: IMEI packet received {"connection_id":153138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":153138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:27:18] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a85bd8012d19b8400720aa380031013625..."} 
[2026-08-08 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a85bd8012d19b8400720aa380031013625..."} 
[2026-08-08 19:27:18] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a85bd8012d19b8400720aa380031013625..."} 
[2026-08-08 19:27:18] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:27:18] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581240,"longitude_deg":75.6660288,"latitude_deg":11.958124,"altitude":49,"angle":310,"satellites":37,"speed":19,"hex_longitude":"2d19b840","hex_latitude":"0720aa38","is_valid_coordinates":true} 
[2026-08-08 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266517248001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629199479537664,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717355008,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786197335000,"timestamp_ms":1786197335000,"timestamp_seconds":1786197335,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a85bd8"} 
[2026-08-08 19:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-08 19:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266517248001,"66":13624,"121":206,"28":31744,"24":19,"16":11629199479537664,"45":1853934964717355008},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266517248001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629199479537664,"km_value":11629199479537.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717355008,"description":"Unknown IO ID 45"} 
[2026-08-08 19:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266517248001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1853934964717355008}} 
[2026-08-08 19:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:27:18] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:27:18] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:27:29] local.INFO: TCP Data received {"connection_id":153138,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a81970012cfa468007404b18002a00ee28..."} 
[2026-08-08 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a81970012cfa468007404b18002a00ee28..."} 
[2026-08-08 19:27:29] local.INFO: Processing buffer {"connection_id":153138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a81970012cfa468007404b18002a00ee28..."} 
[2026-08-08 19:27:29] local.INFO: Packet analysis {"connection_id":153138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:27:29] local.INFO: Extracted packet for processing {"connection_id":153138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":754599552,"raw_latitude":121654040,"longitude_deg":75.4599552,"latitude_deg":12.165404,"altitude":42,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cfa4680","hex_latitude":"07404b18","is_valid_coordinates":true} 
[2026-08-08 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266508032001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375776159129927680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-412501547226032128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786197318000,"timestamp_ms":1786197318000,"timestamp_seconds":1786197318,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a81970"} 
[2026-08-08 19:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 19:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":153138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":153138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":153138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266508032001,"66":27050,"163":206,"83":43520,"24":0,"16":375776159129927680,"44":-412501547226032128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266508032001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:27:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375776159129927680,"km_value":375776159129927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-412501547226032128,"description":"Unknown IO ID 44"} 
[2026-08-08 19:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266508032001,"power":27050,"unknown_163":206,"unknown_83":43520,"ignition":0,"odometer":null,"unknown_44":-412501547226032128}} 
[2026-08-08 19:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":153138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:27:29] local.INFO: GPS data processed {"connection_id":153138,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:27:29] local.INFO: Acknowledgment sent {"connection_id":153138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:27:36] local.INFO: TCP Data received {"connection_id":150723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:27:36] local.INFO: Processing buffer {"connection_id":150723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:27:36] local.INFO: IMEI packet received {"connection_id":150723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:27:39] local.INFO: TCP Data received {"connection_id":150723,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:27:39] local.INFO: Processing buffer {"connection_id":150723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:27:39] local.INFO: IMEI packet received {"connection_id":150723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":150723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:27:40] local.INFO: TCP Data received {"connection_id":150723,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a9de90012d8615000610c828001000e227..."} 
[2026-08-08 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a9de90012d8615000610c828001000e227..."} 
[2026-08-08 19:27:40] local.INFO: Processing buffer {"connection_id":150723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a9de90012d8615000610c828001000e227..."} 
[2026-08-08 19:27:40] local.INFO: Packet analysis {"connection_id":150723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:27:40] local.INFO: Extracted packet for processing {"connection_id":150723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763761920,"raw_latitude":101763112,"longitude_deg":76.376192,"latitude_deg":10.1763112,"altitude":16,"angle":226,"satellites":39,"speed":48,"hex_longitude":"2d861500","hex_latitude":"0610c828","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266542592001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116200868474257408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8782863672250863616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786197434000,"timestamp_ms":1786197434000,"timestamp_seconds":1786197434,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a9de90"} 
[2026-08-08 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-08-08 19: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-08-08 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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266542592001,"66":11721,"252":206,"79":46592,"24":48,"16":116200868474257408,"45":-8782863672250863616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-08 19:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266542592001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:27:40] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-08 19:27:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116200868474257408,"km_value":116200868474257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8782863672250863616,"description":"Unknown IO ID 45"} 
[2026-08-08 19:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266542592001,"power":11721,"unknown_252":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8782863672250863616}} 
[2026-08-08 19:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":150723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:27:40] local.INFO: GPS data processed {"connection_id":150723,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:27:40] local.INFO: Acknowledgment sent {"connection_id":150723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:27:41] local.INFO: TCP Data received {"connection_id":150723,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a9fdd0012d85fc800610a940001000d925..."} 
[2026-08-08 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a9fdd0012d85fc800610a940001000d925..."} 
[2026-08-08 19:27:41] local.INFO: Processing buffer {"connection_id":150723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a9fdd0012d85fc800610a940001000d925..."} 
[2026-08-08 19:27:41] local.INFO: Packet analysis {"connection_id":150723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:27:41] local.INFO: Extracted packet for processing {"connection_id":150723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763755648,"raw_latitude":101755200,"longitude_deg":76.3755648,"latitude_deg":10.17552,"altitude":16,"angle":217,"satellites":37,"speed":51,"hex_longitude":"2d85fc80","hex_latitude":"0610a940","is_valid_coordinates":true} 
[2026-08-08 19:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266543104001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116201358100529152,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8785115472064927744,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197442000,"timestamp_ms":1786197442000,"timestamp_seconds":1786197442,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a9fdd0"} 
[2026-08-08 19:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 19:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266543104001,"66":12330,"254":206,"79":46592,"24":51,"16":116201358100529152,"45":-8785115472064927744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-08 19:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266543104001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:27:41] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 19:27:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116201358100529152,"km_value":116201358100529.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8785115472064927744,"description":"Unknown IO ID 45"} 
[2026-08-08 19:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266543104001,"power":12330,"unknown_254":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8785115472064927744}} 
[2026-08-08 19:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":150723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:27:42] local.INFO: GPS data processed {"connection_id":150723,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:27:42] local.INFO: Acknowledgment sent {"connection_id":150723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:27:50] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a85fc0012d19b6400720ab380031012923..."} 
[2026-08-08 19:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a85fc0012d19b6400720ab380031012923..."} 
[2026-08-08 19:27:50] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a85fc0012d19b6400720ab380031012923..."} 
[2026-08-08 19:27:50] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:27:50] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119581496,"longitude_deg":75.6659776,"latitude_deg":11.9581496,"altitude":49,"angle":297,"satellites":35,"speed":21,"hex_longitude":"2d19b640","hex_latitude":"0720ab38","is_valid_coordinates":true} 
[2026-08-08 19:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266517760001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629229544308736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019934208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786197336000,"timestamp_ms":1786197336000,"timestamp_seconds":1786197336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a85fc0"} 
[2026-08-08 19:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-08 19:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266517760001,"66":13319,"121":206,"28":31744,"24":21,"16":11629229544308736,"45":1853301646019934208},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266517760001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:27:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:27:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629229544308736,"km_value":11629229544308.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019934208,"description":"Unknown IO ID 45"} 
[2026-08-08 19:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266517760001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853301646019934208}} 
[2026-08-08 19:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:27:50] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:27:50] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:28:04] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:28:04] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:28:04] local.INFO: IMEI packet received {"connection_id":153139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":153139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:28:11] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:28:11] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:28:11] local.INFO: IMEI packet received {"connection_id":153139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":153139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:28:12] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a99458012cf9d74007400080002d00bd2c..."} 
[2026-08-08 19:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a99458012cf9d74007400080002d00bd2c..."} 
[2026-08-08 19:28:12] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a99458012cf9d74007400080002d00bd2c..."} 
[2026-08-08 19:28:12] local.INFO: Packet analysis {"connection_id":153139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:28:12] local.INFO: Extracted packet for processing {"connection_id":153139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":754571072,"raw_latitude":121634944,"longitude_deg":75.4571072,"latitude_deg":12.1634944,"altitude":45,"angle":189,"satellites":44,"speed":30,"hex_longitude":"2cf9d740","hex_latitude":"07400080","is_valid_coordinates":true} 
[2026-08-08 19:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266536960001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375778160584687616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-442408263505487872,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786197415000,"timestamp_ms":1786197415000,"timestamp_seconds":1786197415,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a99458"} 
[2026-08-08 19:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:28: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-08-08 19:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 19:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:28: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-08-08 19:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266536960001,"66":27267,"163":206,"83":43520,"24":30,"16":375778160584687616,"44":-442408263505487872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266536960001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375778160584687616,"km_value":375778160584687.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-442408263505487872,"description":"Unknown IO ID 44"} 
[2026-08-08 19:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266536960001,"power":27267,"unknown_163":206,"unknown_83":43520,"ignition":30,"odometer":null,"unknown_44":-442408263505487872}} 
[2026-08-08 19:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":153139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:28:12] local.INFO: GPS data processed {"connection_id":153139,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:28:12] local.INFO: Acknowledgment sent {"connection_id":153139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:28:12] local.INFO: TCP Data received {"connection_id":150723,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aa1d10012d85e4c0061089d0001000d826..."} 
[2026-08-08 19:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aa1d10012d85e4c0061089d0001000d826..."} 
[2026-08-08 19:28:12] local.INFO: Processing buffer {"connection_id":150723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aa1d10012d85e4c0061089d0001000d826..."} 
[2026-08-08 19:28:12] local.INFO: Packet analysis {"connection_id":150723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:28:12] local.INFO: Extracted packet for processing {"connection_id":150723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763749568,"raw_latitude":101747152,"longitude_deg":76.3749568,"latitude_deg":10.1747152,"altitude":16,"angle":216,"satellites":38,"speed":49,"hex_longitude":"2d85e4c0","hex_latitude":"061089d0","is_valid_coordinates":true} 
[2026-08-08 19:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266545152001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116201843431833600,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8792011608996364288,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786197450000,"timestamp_ms":1786197450000,"timestamp_seconds":1786197450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aa1d10"} 
[2026-08-08 19:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-08 19:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266545152001,"66":12156,"254":206,"79":46592,"24":49,"16":116201843431833600,"45":-8792011608996364288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-08 19:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266545152001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116201843431833600,"km_value":116201843431833.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8792011608996364288,"description":"Unknown IO ID 45"} 
[2026-08-08 19:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266545152001,"power":12156,"unknown_254":206,"unknown_79":46592,"ignition":49,"odometer":null,"unknown_45":-8792011608996364288}} 
[2026-08-08 19:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":150723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:28:13] local.INFO: GPS data processed {"connection_id":150723,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:28:13] local.INFO: Acknowledgment sent {"connection_id":150723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:28:22] local.INFO: TCP Data received {"connection_id":150438,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a87348012d19aa400720afa00034011c24..."} 
[2026-08-08 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a87348012d19aa400720afa00034011c24..."} 
[2026-08-08 19:28:22] local.INFO: Processing buffer {"connection_id":150438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a87348012d19aa400720afa00034011c24..."} 
[2026-08-08 19:28:22] local.INFO: Packet analysis {"connection_id":150438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:28:22] local.INFO: Extracted packet for processing {"connection_id":150438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a8"} 
[2026-08-08 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756656704,"raw_latitude":119582624,"longitude_deg":75.6656704,"latitude_deg":11.9582624,"altitude":52,"angle":284,"satellites":36,"speed":24,"hex_longitude":"2d19aa40","hex_latitude":"0720afa0","is_valid_coordinates":true} 
[2026-08-08 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266518016001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629384163131392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696066578432,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786197341000,"timestamp_ms":1786197341000,"timestamp_seconds":1786197341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a87348"} 
[2026-08-08 19:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":7,"data_length":795,"current_offset":136} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3785893160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2821775361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-8198802915446217984,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950737,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2677391271687618567,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,80,159,91,45,64,170,49,37,10,66,84,128,167,35,1,240,55,225,32,4,113,205,41,172,34,239,51,2,7,48,30,46,168],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:28:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531148813137149952,"timestamp_seconds":3531148813137150.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266518016001,"66":13472,"121":206,"28":31744,"24":24,"16":11629384163131392,"45":1852738696066578432},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266518016001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:28:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629384163131392,"km_value":11629384163131.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696066578432,"description":"Unknown IO ID 45"} 
[2026-08-08 19:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266518016001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1852738696066578432}} 
[2026-08-08 19:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":150438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:28:22] local.INFO: GPS data processed {"connection_id":150438,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:28:22] local.INFO: Acknowledgment sent {"connection_id":150438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:28:30] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:30] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:30] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:28:31] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:31] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:31] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:28:36] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:36] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:28:36] local.INFO: IMEI packet received {"connection_id":151661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":151661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:28:37] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aa3c50012d85cf8006106b68001000d224..."} 
[2026-08-08 19:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aa3c50012d85cf8006106b68001000d224..."} 
[2026-08-08 19:28:37] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aa3c50012d85cf8006106b68001000d224..."} 
[2026-08-08 19:28:37] local.INFO: Packet analysis {"connection_id":151661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:28:37] local.INFO: Extracted packet for processing {"connection_id":151661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763744128,"raw_latitude":101739368,"longitude_deg":76.3744128,"latitude_deg":10.1739368,"altitude":16,"angle":210,"satellites":36,"speed":47,"hex_longitude":"2d85cf80","hex_latitude":"06106b68","is_valid_coordinates":true} 
[2026-08-08 19:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266547200001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116202302993334272,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8798696639695302656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786197458000,"timestamp_ms":1786197458000,"timestamp_seconds":1786197458,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aa3c50"} 
[2026-08-08 19:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266547200001,"66":12156,"254":206,"79":46592,"24":47,"16":116202302993334272,"45":-8798696639695302656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-08 19:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266547200001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:28:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 19:28:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116202302993334272,"km_value":116202302993334.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8798696639695302656,"description":"Unknown IO ID 45"} 
[2026-08-08 19:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266547200001,"power":12156,"unknown_254":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8798696639695302656}} 
[2026-08-08 19:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":151661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:28:37] local.INFO: GPS data processed {"connection_id":151661,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:28:37] local.INFO: Acknowledgment sent {"connection_id":151661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:28:43] local.INFO: TCP Data received {"connection_id":153139,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1a9c720012cf9d080073fde08003200ca2d..."} 
[2026-08-08 19:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1a9c720012cf9d080073fde08003200ca2d..."} 
[2026-08-08 19:28:43] local.INFO: Processing buffer {"connection_id":153139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1a9c720012cf9d080073fde08003200ca2d..."} 
[2026-08-08 19:28:43] local.INFO: Packet analysis {"connection_id":153139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:28:43] local.INFO: Extracted packet for processing {"connection_id":153139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1a9"} 
[2026-08-08 19:28:43] local.INFO: GPS Element Parsed {"raw_longitude":754569344,"raw_latitude":121626120,"longitude_deg":75.4569344,"latitude_deg":12.162612,"altitude":50,"angle":202,"satellites":45,"speed":29,"hex_longitude":"2cf9d080","hex_latitude":"073fde08","is_valid_coordinates":true} 
[2026-08-08 19:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266538240001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375778598671351808,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-443815638389981184,"note":"Value kept but may cause issues"} 
[2026-08-08 19:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786197428000,"timestamp_ms":1786197428000,"timestamp_seconds":1786197428,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1a9c720"} 
[2026-08-08 19:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 19:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:28: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-08-08 19:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266538240001,"66":27463,"163":206,"83":43520,"24":29,"16":375778598671351808,"44":-443815638389981184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-08-08 19:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266538240001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:28:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 19:28:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375778598671351808,"km_value":375778598671351.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-443815638389981184,"description":"Unknown IO ID 44"} 
[2026-08-08 19:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266538240001,"power":27463,"unknown_163":206,"unknown_83":43520,"ignition":29,"odometer":null,"unknown_44":-443815638389981184}} 
[2026-08-08 19:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":153139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:28:43] local.INFO: GPS data processed {"connection_id":153139,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:28:43] local.INFO: Acknowledgment sent {"connection_id":153139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:29:04] local.INFO: TCP Data received {"connection_id":150441,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:29:04] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:29:04] local.INFO: IMEI packet received {"connection_id":150441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":150441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:29:04] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:29:04] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:29:04] local.INFO: IMEI packet received {"connection_id":150440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":150440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:29:08] local.INFO: TCP Data received {"connection_id":151661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aa5b90012d85bd8006104978001000cf26..."} 
[2026-08-08 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aa5b90012d85bd8006104978001000cf26..."} 
[2026-08-08 19:29:08] local.INFO: Processing buffer {"connection_id":151661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aa5b90012d85bd8006104978001000cf26..."} 
[2026-08-08 19:29:08] local.INFO: Packet analysis {"connection_id":151661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:08] local.INFO: Extracted packet for processing {"connection_id":151661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763739520,"raw_latitude":101730680,"longitude_deg":76.373952,"latitude_deg":10.173068,"altitude":16,"angle":207,"satellites":38,"speed":50,"hex_longitude":"2d85bd80","hex_latitude":"06104978","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266549248001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116202775439736832,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8804677982952396800,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786197466000,"timestamp_ms":1786197466000,"timestamp_seconds":1786197466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aa5b90"} 
[2026-08-08 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:29: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-08-08 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266549248001,"66":12189,"254":206,"79":46592,"24":50,"16":116202775439736832,"45":-8804677982952396800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-08-08 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266549248001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:29:08] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 19:29:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116202775439736832,"km_value":116202775439736.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8804677982952396800,"description":"Unknown IO ID 45"} 
[2026-08-08 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266549248001,"power":12189,"unknown_254":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8804677982952396800}} 
[2026-08-08 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":151661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:29:08] local.INFO: GPS data processed {"connection_id":151661,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:29:08] local.INFO: Acknowledgment sent {"connection_id":151661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:29:09] local.INFO: TCP Data received {"connection_id":150441,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:29:09] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:29:09] local.INFO: IMEI packet received {"connection_id":150441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":150441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:29:10] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:29:10] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:29:10] local.INFO: IMEI packet received {"connection_id":150440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":150440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:29:10] local.INFO: TCP Data received {"connection_id":150441,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aac508012cf97340073f20c8003800d029..."} 
[2026-08-08 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aac508012cf97340073f20c8003800d029..."} 
[2026-08-08 19:29:10] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aac508012cf97340073f20c8003800d029..."} 
[2026-08-08 19:29:10] local.INFO: Packet analysis {"connection_id":150441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:10] local.INFO: Extracted packet for processing {"connection_id":150441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":754545472,"raw_latitude":121577672,"longitude_deg":75.4545472,"latitude_deg":12.1577672,"altitude":56,"angle":208,"satellites":41,"speed":38,"hex_longitude":"2cf97340","hex_latitude":"073f20c8","is_valid_coordinates":true} 
[2026-08-08 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266558208001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375781257256108032,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-471963136075708416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197493000,"timestamp_ms":1786197493000,"timestamp_seconds":1786197493,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aac508"} 
[2026-08-08 19:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:29: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-08-08 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 19:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:29: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-08-08 19:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266558208001,"66":27484,"167":206,"83":43520,"24":38,"16":375781257256108032,"44":-471963136075708416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-08-08 19:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266558208001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:29:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375781257256108032,"km_value":375781257256108.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-471963136075708416,"description":"Unknown IO ID 44"} 
[2026-08-08 19:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266558208001,"power":27484,"unknown_167":206,"unknown_83":43520,"ignition":38,"odometer":null,"unknown_44":-471963136075708416}} 
[2026-08-08 19:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":150441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:29:10] local.INFO: GPS data processed {"connection_id":150441,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:29:10] local.INFO: Acknowledgment sent {"connection_id":150441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:29:11] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:29:11] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:29:11] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:11] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583264,"longitude_deg":75.6648896,"latitude_deg":11.9583264,"altitude":58,"angle":232,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 19:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266558720001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629766415220736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556828160,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 19:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786197496000,"timestamp_ms":1786197496000,"timestamp_seconds":1786197496,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aad0c0"} 
[2026-08-08 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-08-08 19:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 19:29: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-08-08 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-08-08 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-08-08 19:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266558720001,"66":12885,"121":206,"28":31744,"24":0,"16":11629766415220736,"45":1840776009556828160},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266558720001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:29:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629766415220736,"km_value":11629766415220.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556828160,"description":"Unknown IO ID 45"} 
[2026-08-08 19:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266558720001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556828160}} 
[2026-08-08 19:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:29:11] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:29:11] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:29:29] local.INFO: TCP Data received {"connection_id":150724,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:29] local.INFO: Processing buffer {"connection_id":150724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:29] local.INFO: IMEI packet received {"connection_id":150724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":150724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:29:31] local.INFO: TCP Data received {"connection_id":150724,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:31] local.INFO: Processing buffer {"connection_id":150724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:31] local.INFO: IMEI packet received {"connection_id":150724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":150724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:29:32] local.INFO: TCP Data received {"connection_id":150724,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:32] local.INFO: Processing buffer {"connection_id":150724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:32] local.INFO: IMEI packet received {"connection_id":150724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":150724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:29:36] local.INFO: TCP Data received {"connection_id":150724,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:36] local.INFO: Processing buffer {"connection_id":150724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:29:36] local.INFO: IMEI packet received {"connection_id":150724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:29:38] local.INFO: TCP Data received {"connection_id":150724,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab8470012d8526c0060ef848000600b125..."} 
[2026-08-08 19:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab8470012d8526c0060ef848000600b125..."} 
[2026-08-08 19:29:38] local.INFO: Processing buffer {"connection_id":150724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ab8470012d8526c0060ef848000600b125..."} 
[2026-08-08 19:29:38] local.INFO: Packet analysis {"connection_id":150724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:29:38] local.INFO: Extracted packet for processing {"connection_id":150724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763700928,"raw_latitude":101644360,"longitude_deg":76.3700928,"latitude_deg":10.164436,"altitude":6,"angle":177,"satellites":37,"speed":47,"hex_longitude":"2d8526c0","hex_latitude":"060ef848","is_valid_coordinates":true} 
[2026-08-08 19:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266569728001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116207375349710848,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8851754672830361600,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786197542000,"timestamp_ms":1786197542000,"timestamp_seconds":1786197542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab8470"} 
[2026-08-08 19:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:29: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-08-08 19:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 19:29: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-08-08 19:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266569728001,"66":12211,"142":206,"79":46592,"24":47,"16":116207375349710848,"45":-8851754672830361600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-08-08 19:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266569728001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116207375349710848,"km_value":116207375349710.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8851754672830361600,"description":"Unknown IO ID 45"} 
[2026-08-08 19:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266569728001,"power":12211,"unknown_142":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8851754672830361600}} 
[2026-08-08 19:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":150724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:29:38] local.INFO: GPS data processed {"connection_id":150724,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:29:38] local.INFO: Acknowledgment sent {"connection_id":150724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:29:41] local.INFO: TCP Data received {"connection_id":150441,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aaccd8012cf96f00073f1ac0003900dc2a..."} 
[2026-08-08 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aaccd8012cf96f00073f1ac0003900dc2a..."} 
[2026-08-08 19:29:41] local.INFO: Processing buffer {"connection_id":150441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aaccd8012cf96f00073f1ac0003900dc2a..."} 
[2026-08-08 19:29:41] local.INFO: Packet analysis {"connection_id":150441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:41] local.INFO: Extracted packet for processing {"connection_id":150441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":754544384,"raw_latitude":121576128,"longitude_deg":75.4544384,"latitude_deg":12.1576128,"altitude":57,"angle":220,"satellites":42,"speed":35,"hex_longitude":"2cf96f00","hex_latitude":"073f1ac0","is_valid_coordinates":true} 
[2026-08-08 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266558208001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375781347450421248,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-471963136075708416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197495000,"timestamp_ms":1786197495000,"timestamp_seconds":1786197495,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aaccd8"} 
[2026-08-08 19:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:29: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-08-08 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 19:29: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-08-08 19:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:29: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-08-08 19:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266558208001,"66":27234,"167":206,"83":43520,"24":35,"16":375781347450421248,"44":-471963136075708416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-08-08 19:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266558208001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:29:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375781347450421248,"km_value":375781347450421.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-471963136075708416,"description":"Unknown IO ID 44"} 
[2026-08-08 19:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266558208001,"power":27234,"unknown_167":206,"unknown_83":43520,"ignition":35,"odometer":null,"unknown_44":-471963136075708416}} 
[2026-08-08 19:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":150441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:29:41] local.INFO: GPS data processed {"connection_id":150441,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:29:41] local.INFO: Acknowledgment sent {"connection_id":150441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:29:42] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:29:42] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:29:42] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:42] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583264,"longitude_deg":75.6648896,"latitude_deg":11.9583264,"altitude":58,"angle":232,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 19:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266558976001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629766415220736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556828160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786197496000,"timestamp_ms":1786197496000,"timestamp_seconds":1786197496,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aad0c0"} 
[2026-08-08 19:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 19:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266558976001,"66":12885,"121":206,"28":31744,"24":0,"16":11629766415220736,"45":1840776009556828160},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266558976001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:29:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629766415220736,"km_value":11629766415220.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556828160,"description":"Unknown IO ID 45"} 
[2026-08-08 19:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266558976001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556828160}} 
[2026-08-08 19:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:29:42] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:29:42] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:11] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:30:11] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:30:11] local.INFO: IMEI packet received {"connection_id":153140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":153140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:30:12] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 19:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 19:30:12] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 19:30:12] local.INFO: IMEI packet received {"connection_id":153140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":153140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:30:14] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab97f8012cf95b40073eac10005400c727..."} 
[2026-08-08 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab97f8012cf95b40073eac10005400c727..."} 
[2026-08-08 19:30:14] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe1..."} 
[2026-08-08 19:30:14] local.INFO: IMEI packet received {"connection_id":153140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":153140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:30:14] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:30:14] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aad0c0012d198bc00720b220003a00e824..."} 
[2026-08-08 19:30:14] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:30:14] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1aa"} 
[2026-08-08 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583264,"longitude_deg":75.6648896,"latitude_deg":11.9583264,"altitude":58,"angle":232,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 19:30: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-08-08 19:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266558976001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629766415220736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556828160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786197496000,"timestamp_ms":1786197496000,"timestamp_seconds":1786197496,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aad0c0"} 
[2026-08-08 19:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 19:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266558976001,"66":12885,"121":206,"28":31744,"24":0,"16":11629766415220736,"45":1840776009556828160},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266558976001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629766415220736,"km_value":11629766415220.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556828160,"description":"Unknown IO ID 45"} 
[2026-08-08 19:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266558976001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556828160}} 
[2026-08-08 19:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:14] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:14] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:15] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab9fc8012cf95880073ea658005300d326..."} 
[2026-08-08 19:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab9fc8012cf95880073ea658005300d326..."} 
[2026-08-08 19:30:15] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1ab97f8012cf95b40073eac10005400c727..."} 
[2026-08-08 19:30:15] local.INFO: Packet analysis {"connection_id":153140,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:15] local.INFO: Extracted packet for processing {"connection_id":153140,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:15] local.INFO: GPS Element Parsed {"raw_longitude":754539328,"raw_latitude":121547792,"longitude_deg":75.4539328,"latitude_deg":12.1547792,"altitude":84,"angle":199,"satellites":39,"speed":31,"hex_longitude":"2cf95b40","hex_latitude":"073eac10","is_valid_coordinates":true} 
[2026-08-08 19:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266571264001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375782867868844032,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-478155585570426880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786197547000,"timestamp_ms":1786197547000,"timestamp_seconds":1786197547,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab97f8"} 
[2026-08-08 19:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30: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-08-08 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 19:30: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-08-08 19:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266571264001,"66":27397,"167":206,"83":43520,"24":31,"16":375782867868844032,"44":-478155585570426880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266571264001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375782867868844032,"km_value":375782867868844.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-478155585570426880,"description":"Unknown IO ID 44"} 
[2026-08-08 19:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266571264001,"power":27397,"unknown_167":206,"unknown_83":43520,"ignition":31,"odometer":null,"unknown_44":-478155585570426880}} 
[2026-08-08 19:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":153140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:15] local.INFO: GPS data processed {"connection_id":153140,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:15] local.INFO: Acknowledgment sent {"connection_id":153140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:15] local.INFO: Packet analysis {"connection_id":153140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:15] local.INFO: Extracted packet for processing {"connection_id":153140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:15] local.INFO: GPS Element Parsed {"raw_longitude":754538624,"raw_latitude":121546328,"longitude_deg":75.4538624,"latitude_deg":12.1546328,"altitude":83,"angle":211,"satellites":38,"speed":32,"hex_longitude":"2cf95880","hex_latitude":"073ea658","is_valid_coordinates":true} 
[2026-08-08 19:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266572032001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375782945178255360,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-478718535524413440,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786197549000,"timestamp_ms":1786197549000,"timestamp_seconds":1786197549,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab9fc8"} 
[2026-08-08 19:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30: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-08-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266572032001,"66":27484,"167":206,"83":43520,"24":32,"16":375782945178255360,"44":-478718535524413440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-08-08 19:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266572032001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375782945178255360,"km_value":375782945178255.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-478718535524413440,"description":"Unknown IO ID 44"} 
[2026-08-08 19:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266572032001,"power":27484,"unknown_167":206,"unknown_83":43520,"ignition":32,"odometer":null,"unknown_44":-478718535524413440}} 
[2026-08-08 19:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":153140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:15] local.INFO: GPS data processed {"connection_id":153140,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:15] local.INFO: Acknowledgment sent {"connection_id":153140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:20] local.INFO: TCP Data received {"connection_id":153140,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1abc6d8012cf94880073e8630004e00d929..."} 
[2026-08-08 19:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1abc6d8012cf94880073e8630004e00d929..."} 
[2026-08-08 19:30:20] local.INFO: Processing buffer {"connection_id":153140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1abc6d8012cf94880073e8630004e00d929..."} 
[2026-08-08 19:30:20] local.INFO: Packet analysis {"connection_id":153140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:20] local.INFO: Extracted packet for processing {"connection_id":153140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:20] local.INFO: GPS Element Parsed {"raw_longitude":754534528,"raw_latitude":121538096,"longitude_deg":75.4534528,"latitude_deg":12.1538096,"altitude":78,"angle":217,"satellites":41,"speed":35,"hex_longitude":"2cf94880","hex_latitude":"073e8630","is_valid_coordinates":true} 
[2026-08-08 19:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266572544001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375783391854854144,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-479492591710742528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786197559000,"timestamp_ms":1786197559000,"timestamp_seconds":1786197559,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1abc6d8"} 
[2026-08-08 19:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 19:30: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-08-08 19:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266572544001,"66":27332,"167":206,"83":43520,"24":35,"16":375783391854854144,"44":-479492591710742528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-08-08 19:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266572544001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375783391854854144,"km_value":375783391854854.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-479492591710742528,"description":"Unknown IO ID 44"} 
[2026-08-08 19:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266572544001,"power":27332,"unknown_167":206,"unknown_83":43520,"ignition":35,"odometer":null,"unknown_44":-479492591710742528}} 
[2026-08-08 19:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":153140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:20] local.INFO: GPS data processed {"connection_id":153140,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:20] local.INFO: Acknowledgment sent {"connection_id":153140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:26] local.INFO: TCP Data received {"connection_id":150724,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab9fc8012d852600060ed8e0000700c326..."} 
[2026-08-08 19:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab9fc8012d852600060ed8e0000700c326..."} 
[2026-08-08 19:30:26] local.INFO: Processing buffer {"connection_id":150724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ab9fc8012d852600060ed8e0000700c326..."} 
[2026-08-08 19:30:26] local.INFO: Packet analysis {"connection_id":150724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:26] local.INFO: Extracted packet for processing {"connection_id":150724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763700736,"raw_latitude":101636320,"longitude_deg":76.3700736,"latitude_deg":10.163632,"altitude":7,"angle":195,"satellites":38,"speed":42,"hex_longitude":"2d852600","hex_latitude":"060ed8e0","is_valid_coordinates":true} 
[2026-08-08 19:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266570752001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116207766191734784,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8852176885296642048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786197549000,"timestamp_ms":1786197549000,"timestamp_seconds":1786197549,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab9fc8"} 
[2026-08-08 19:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 19:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266570752001,"66":11917,"142":206,"79":46592,"24":42,"16":116207766191734784,"45":-8852176885296642048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-08-08 19:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266570752001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:26] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 19:30:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116207766191734784,"km_value":116207766191734.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8852176885296642048,"description":"Unknown IO ID 45"} 
[2026-08-08 19:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266570752001,"power":11917,"unknown_142":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8852176885296642048}} 
[2026-08-08 19:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":150724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:26] local.INFO: GPS data processed {"connection_id":150724,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:26] local.INFO: Acknowledgment sent {"connection_id":150724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:45] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab3650012d198bc00720b220003a00e820..."} 
[2026-08-08 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab3650012d198bc00720b220003a00e820..."} 
[2026-08-08 19:30:45] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ab3650012d198bc00720b220003a00e820..."} 
[2026-08-08 19:30:45] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:45] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583264,"longitude_deg":75.6648896,"latitude_deg":11.9583264,"altitude":58,"angle":232,"satellites":32,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-08 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266558976001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629766415220736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556828160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786197522000,"timestamp_ms":1786197522000,"timestamp_seconds":1786197522,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab3650"} 
[2026-08-08 19:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 19:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266558976001,"66":14113,"121":206,"28":31744,"24":0,"16":11629766415220736,"45":1840776009556828160},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266558976001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629766415220736,"km_value":11629766415220.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556828160,"description":"Unknown IO ID 45"} 
[2026-08-08 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266558976001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556828160}} 
[2026-08-08 19:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:46] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:46] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:30:46] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:46] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:46] local.INFO: IMEI packet received {"connection_id":153141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":153141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:30:46] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:46] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:46] local.INFO: IMEI packet received {"connection_id":153141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":153141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:30:51] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:51] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:30:51] local.INFO: IMEI packet received {"connection_id":153141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":153141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:30:52] local.INFO: TCP Data received {"connection_id":153141,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1acbcf0012d840c00060e7798000d00fc25..."} 
[2026-08-08 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1acbcf0012d840c00060e7798000d00fc25..."} 
[2026-08-08 19:30:52] local.INFO: Processing buffer {"connection_id":153141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1acbcf0012d840c00060e7798000d00fc25..."} 
[2026-08-08 19:30:52] local.INFO: Packet analysis {"connection_id":153141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ac"} 
[2026-08-08 19:30:52] local.INFO: Extracted packet for processing {"connection_id":153141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ac"} 
[2026-08-08 19:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763628544,"raw_latitude":101611416,"longitude_deg":76.3628544,"latitude_deg":10.1611416,"altitude":13,"angle":252,"satellites":37,"speed":44,"hex_longitude":"2d840c00","hex_latitude":"060e7798","is_valid_coordinates":true} 
[2026-08-08 19:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266588928001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116211558647857152,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8921278992086802432,"note":"Value kept but may cause issues"} 
[2026-08-08 19:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786197622000,"timestamp_ms":1786197622000,"timestamp_seconds":1786197622,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1acbcf0"} 
[2026-08-08 19:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 19:30:52] 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-08-08 19:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266588928001,"66":12102,"142":206,"79":46592,"24":44,"16":116211558647857152,"45":-8921278992086802432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,79,24,16,45]} 
[2026-08-08 19:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266588928001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:30:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 19:30:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116211558647857152,"km_value":116211558647857.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8921278992086802432,"description":"Unknown IO ID 45"} 
[2026-08-08 19:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266588928001,"power":12102,"unknown_142":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8921278992086802432}} 
[2026-08-08 19:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":153141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:30:52] local.INFO: GPS data processed {"connection_id":153141,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:30:52] local.INFO: Acknowledgment sent {"connection_id":153141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:31:01] local.INFO: TCP Data received {"connection_id":150442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:01] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:01] local.INFO: IMEI packet received {"connection_id":150442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":150442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:31:05] local.INFO: TCP Data received {"connection_id":150442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:05] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:05] local.INFO: IMEI packet received {"connection_id":150442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":150442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:31:06] local.INFO: TCP Data received {"connection_id":150442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:06] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:31:06] local.INFO: IMEI packet received {"connection_id":150442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":150442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:31:07] local.INFO: TCP Data received {"connection_id":150442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1abede8012cf93c00073e76e8004a00e626..."} 
[2026-08-08 19:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1abede8012cf93c00073e76e8004a00e626..."} 
[2026-08-08 19:31:07] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1abede8012cf93c00073e76e8004a00e626..."} 
[2026-08-08 19:31:07] local.INFO: Packet analysis {"connection_id":150442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:31:07] local.INFO: Extracted packet for processing {"connection_id":150442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":754531328,"raw_latitude":121534184,"longitude_deg":75.4531328,"latitude_deg":12.1534184,"altitude":74,"angle":230,"satellites":38,"speed":7,"hex_longitude":"2cf93c00","hex_latitude":"073e76e8","is_valid_coordinates":true} 
[2026-08-08 19:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266575104001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375783636667990016,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-483996191340220416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786197569000,"timestamp_ms":1786197569000,"timestamp_seconds":1786197569,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1abede8"} 
[2026-08-08 19:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 19:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266575104001,"66":27343,"167":206,"83":43520,"24":7,"16":375783636667990016,"44":-483996191340220416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,44]} 
[2026-08-08 19:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266575104001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375783636667990016,"km_value":375783636667990.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-483996191340220416,"description":"Unknown IO ID 44"} 
[2026-08-08 19:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266575104001,"power":27343,"unknown_167":206,"unknown_83":43520,"ignition":7,"odometer":null,"unknown_44":-483996191340220416}} 
[2026-08-08 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":150442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:31:07] local.INFO: GPS data processed {"connection_id":150442,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:31:07] local.INFO: Acknowledgment sent {"connection_id":150442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:31:17] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab78b8012d198c400720b278003b004223..."} 
[2026-08-08 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab78b8012d198c400720b278003b004223..."} 
[2026-08-08 19:31:17] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ab78b8012d198c400720b278003b004223..."} 
[2026-08-08 19:31:17] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:31:17] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119583352,"longitude_deg":75.6649024,"latitude_deg":11.9583352,"altitude":59,"angle":66,"satellites":35,"speed":2,"hex_longitude":"2d198c40","hex_latitude":"0720b278","is_valid_coordinates":true} 
[2026-08-08 19:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266565632001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629770710188032,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556828160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786197539000,"timestamp_ms":1786197539000,"timestamp_seconds":1786197539,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab78b8"} 
[2026-08-08 19:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 19:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266565632001,"66":14048,"121":206,"28":31744,"24":2,"16":11629770710188032,"45":1840776009556828160},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266565632001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:31:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629770710188032,"km_value":11629770710188.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556828160,"description":"Unknown IO ID 45"} 
[2026-08-08 19:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266565632001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1840776009556828160}} 
[2026-08-08 19:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:31:17] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:31:17] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:31:31] local.INFO: TCP Data received {"connection_id":150725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:31] local.INFO: Processing buffer {"connection_id":150725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:31] local.INFO: IMEI packet received {"connection_id":150725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":150725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:31:34] local.INFO: TCP Data received {"connection_id":150725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:34] local.INFO: Processing buffer {"connection_id":150725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:34] local.INFO: IMEI packet received {"connection_id":150725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":150725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:31:37] local.INFO: TCP Data received {"connection_id":150725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:37] local.INFO: Processing buffer {"connection_id":150725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:31:37] local.INFO: IMEI packet received {"connection_id":150725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":150725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:31:38] local.INFO: TCP Data received {"connection_id":150725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1acdc30012d83e740060e6c10000e00f824..."} 
[2026-08-08 19:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1acdc30012d83e740060e6c10000e00f824..."} 
[2026-08-08 19:31:38] local.INFO: Processing buffer {"connection_id":150725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1acdc30012d83e740060e6c10000e00f824..."} 
[2026-08-08 19:31:38] local.INFO: Packet analysis {"connection_id":150725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ac"} 
[2026-08-08 19:31:38] local.INFO: Extracted packet for processing {"connection_id":150725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ac"} 
[2026-08-08 19:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763619136,"raw_latitude":101608464,"longitude_deg":76.3619136,"latitude_deg":10.1608464,"altitude":14,"angle":248,"satellites":36,"speed":48,"hex_longitude":"2d83e740","hex_latitude":"060e6c10","is_valid_coordinates":true} 
[2026-08-08 19:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266591232001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116212031094259712,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931763934970013696,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786197630000,"timestamp_ms":1786197630000,"timestamp_seconds":1786197630,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1acdc30"} 
[2026-08-08 19:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:31: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-08-08 19:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 19:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266591232001,"66":12102,"106":206,"79":46592,"24":48,"16":116212031094259712,"45":-8931763934970013696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,79,24,16,45]} 
[2026-08-08 19:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266591232001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:31:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-08 19:31:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-08-08 19:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116212031094259712,"km_value":116212031094259.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931763934970013696,"description":"Unknown IO ID 45"} 
[2026-08-08 19:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266591232001,"power":12102,"unknown_106":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8931763934970013696}} 
[2026-08-08 19:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":150725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:31:38] local.INFO: GPS data processed {"connection_id":150725,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:31:38] local.INFO: Acknowledgment sent {"connection_id":150725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:31:41] local.INFO: TCP Data received {"connection_id":150442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ad12e0012cf85f40073dbf98003a00ec25..."} 
[2026-08-08 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ad12e0012cf85f40073dbf98003a00ec25..."} 
[2026-08-08 19:31:41] local.INFO: Processing buffer {"connection_id":150442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ad12e0012cf85f40073dbf98003a00ec25..."} 
[2026-08-08 19:31:41] local.INFO: Packet analysis {"connection_id":150442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:31:41] local.INFO: Extracted packet for processing {"connection_id":150442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:31:41] local.INFO: GPS Element Parsed {"raw_longitude":754474816,"raw_latitude":121487256,"longitude_deg":75.4474816,"latitude_deg":12.1487256,"altitude":58,"angle":236,"satellites":37,"speed":31,"hex_longitude":"2cf85f40","hex_latitude":"073dbf98","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266594304001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375787235850584064,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-541487455345084416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197644000,"timestamp_ms":1786197644000,"timestamp_seconds":1786197644,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ad12e0"} 
[2026-08-08 19:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:31: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-08-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:31: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-08-08 19:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266594304001,"66":27234,"13":206,"83":43776,"24":31,"16":375787235850584064,"44":-541487455345084416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-08-08 19:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266594304001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:31:41] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 19:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375787235850584064,"km_value":375787235850584.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-541487455345084416,"description":"Unknown IO ID 44"} 
[2026-08-08 19:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266594304001,"power":27234,"unknown_13":206,"unknown_83":43776,"ignition":31,"odometer":null,"unknown_44":-541487455345084416}} 
[2026-08-08 19:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":150442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:31:41] local.INFO: GPS data processed {"connection_id":150442,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:31:41] local.INFO: Acknowledgment sent {"connection_id":150442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:31:48] local.INFO: TCP Data received {"connection_id":150440,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab9028012d198bc00720b308003b012525..."} 
[2026-08-08 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab9028012d198bc00720b308003b012525..."} 
[2026-08-08 19:31:48] local.INFO: Processing buffer {"connection_id":150440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ab9028012d198bc00720b308003b012525..."} 
[2026-08-08 19:31:48] local.INFO: Packet analysis {"connection_id":150440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:31:48] local.INFO: Extracted packet for processing {"connection_id":150440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583496,"longitude_deg":75.6648896,"latitude_deg":11.9583496,"altitude":59,"angle":293,"satellites":37,"speed":2,"hex_longitude":"2d198bc0","hex_latitude":"0720b308","is_valid_coordinates":true} 
[2026-08-08 19:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266569984001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629783595089920,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045206016,"note":"Value kept but may cause issues"} 
[2026-08-08 19:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786197545000,"timestamp_ms":1786197545000,"timestamp_seconds":1786197545,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab9028"} 
[2026-08-08 19:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 19:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266569984001,"66":13993,"121":206,"28":31744,"24":2,"16":11629783595089920,"45":1840916747045206016},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266569984001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:31:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629783595089920,"km_value":11629783595089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045206016,"description":"Unknown IO ID 45"} 
[2026-08-08 19:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266569984001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1840916747045206016}} 
[2026-08-08 19:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":150440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:31:48] local.INFO: GPS data processed {"connection_id":150440,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:31:48] local.INFO: Acknowledgment sent {"connection_id":150440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:32:05] local.INFO: TCP Data received {"connection_id":153142,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:32:05] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:32:05] local.INFO: IMEI packet received {"connection_id":153142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":153142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:32:05] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:05] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:05] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:32:06] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:06] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:06] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:32:09] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:09] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:32:09] local.INFO: IMEI packet received {"connection_id":153143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":153143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:32:10] local.INFO: TCP Data received {"connection_id":153142,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:32:10] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:32:10] local.INFO: IMEI packet received {"connection_id":153142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":153142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:32:10] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1adaf20012cf7c100073d8e30002100e921..."} 
[2026-08-08 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1adaf20012cf7c100073d8e30002100e921..."} 
[2026-08-08 19:32:10] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1adaf20012cf7c100073d8e30002100e921..."} 
[2026-08-08 19:32:10] local.INFO: Packet analysis {"connection_id":153143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:32:10] local.INFO: Extracted packet for processing {"connection_id":153143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":754434304,"raw_latitude":121474608,"longitude_deg":75.4434304,"latitude_deg":12.1474608,"altitude":33,"angle":233,"satellites":33,"speed":37,"hex_longitude":"2cf7c100","hex_latitude":"073d8e30","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266606592001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375789434873839616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-592856638598993920,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197684000,"timestamp_ms":1786197684000,"timestamp_seconds":1786197684,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1adaf20"} 
[2026-08-08 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-08-08 19:32: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-08-08 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":240,"data_length":795,"current_offset":136} 
[2026-08-08 19:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:32: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-08-08 19:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266606592001,"66":27365,"13":206,"83":43776,"24":37,"16":375789434873839616,"44":-592856638598993920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266606592001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375789434873839616,"km_value":375789434873839.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-592856638598993920,"description":"Unknown IO ID 44"} 
[2026-08-08 19:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266606592001,"power":27365,"unknown_13":206,"unknown_83":43776,"ignition":37,"odometer":null,"unknown_44":-592856638598993920}} 
[2026-08-08 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":153143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:32:10] local.INFO: GPS data processed {"connection_id":153143,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:32:10] local.INFO: Acknowledgment sent {"connection_id":153143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:32:10] local.INFO: TCP Data received {"connection_id":150725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae10c8012d82d080060dbf38000a00ce26..."} 
[2026-08-08 19:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae10c8012d82d080060dbf38000a00ce26..."} 
[2026-08-08 19:32:10] local.INFO: Processing buffer {"connection_id":150725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae10c8012d82d080060dbf38000a00ce26..."} 
[2026-08-08 19:32:10] local.INFO: Packet analysis {"connection_id":150725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:32:10] local.INFO: Extracted packet for processing {"connection_id":150725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763547776,"raw_latitude":101564216,"longitude_deg":76.3547776,"latitude_deg":10.1564216,"altitude":10,"angle":206,"satellites":38,"speed":32,"hex_longitude":"2d82d080","hex_latitude":"060dbf38","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266612224001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116216132788027392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018036015342934016,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 19:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197709000,"timestamp_ms":1786197709000,"timestamp_seconds":1786197709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae10c8"} 
[2026-08-08 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-08-08 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-08-08 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3314649325912458240,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2913423361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3786235160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2200027142,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4223664141,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4467571716577099800,"corrected_to":0} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147880465,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3764912128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":6,"raw_value":1020769003225804322,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194824960,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,87,24,241,157,16,225,159,45,64,213,12,37,10,66,206,128,233,14,39,167,192,1,240,26,227,224,13,4,113,205,33,61,176,239,47,2,156,6,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":4467571716577099800,"validated":0}]} 
[2026-08-08 19:32:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792873391163310080,"timestamp_seconds":792873391163310.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 19:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266612224001,"66":12058,"87":10496,"24":32,"16":116216132788027392,"45":-9018036015342934016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-08-08 19:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266612224001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116216132788027392,"km_value":116216132788027.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018036015342934016,"description":"Unknown IO ID 45"} 
[2026-08-08 19:32:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457266612224001,"power":12058,"unknown_87":10496,"ignition":32,"odometer":null,"unknown_45":-9018036015342934016}} 
[2026-08-08 19:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":150725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:32:10] local.INFO: GPS data processed {"connection_id":150725,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:32:10] local.INFO: Acknowledgment sent {"connection_id":150725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:32:11] local.INFO: TCP Data received {"connection_id":153142,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ab9410012d198ac00720b310003b011624..."} 
[2026-08-08 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ab9410012d198ac00720b310003b011624..."} 
[2026-08-08 19:32:11] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ab9410012d198ac00720b310003b011624..."} 
[2026-08-08 19:32:11] local.INFO: Packet analysis {"connection_id":153142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:32:11] local.INFO: Extracted packet for processing {"connection_id":153142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ab"} 
[2026-08-08 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119583504,"longitude_deg":75.664864,"latitude_deg":11.9583504,"altitude":59,"angle":278,"satellites":36,"speed":6,"hex_longitude":"2d198ac0","hex_latitude":"0720b310","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266571520001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11629796479991808,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556887552,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786197546000,"timestamp_ms":1786197546000,"timestamp_seconds":1786197546,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ab9410"} 
[2026-08-08 19:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-08 19:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266571520001,"66":14080,"121":206,"28":31744,"24":6,"16":11629796479991808,"45":1840776009556887552},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266571520001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:32:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11629796479991808,"km_value":11629796479991.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556887552,"description":"Unknown IO ID 45"} 
[2026-08-08 19:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266571520001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1840776009556887552}} 
[2026-08-08 19:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":153142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:32:11] local.INFO: GPS data processed {"connection_id":153142,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:32:11] local.INFO: Acknowledgment sent {"connection_id":153142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:32:36] local.INFO: TCP Data received {"connection_id":150443,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:32:36] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:32:36] local.INFO: IMEI packet received {"connection_id":150443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":150443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:32:41] local.INFO: TCP Data received {"connection_id":150443,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:32:41] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:32:41] local.INFO: IMEI packet received {"connection_id":150443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":150443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:32:41] local.INFO: TCP Data received {"connection_id":153143,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1adbec0012cf7b4c0073d8418001d00dd1e..."} 
[2026-08-08 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1adbec0012cf7b4c0073d8418001d00dd1e..."} 
[2026-08-08 19:32:41] local.INFO: Processing buffer {"connection_id":153143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1adbec0012cf7b4c0073d8418001d00dd1e..."} 
[2026-08-08 19:32:41] local.INFO: Packet analysis {"connection_id":153143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:32:41] local.INFO: Extracted packet for processing {"connection_id":153143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":754431168,"raw_latitude":121472024,"longitude_deg":75.4431168,"latitude_deg":12.1472024,"altitude":29,"angle":221,"satellites":30,"speed":39,"hex_longitude":"2cf7b4c0","hex_latitude":"073d8418","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266607104001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375789628147367936,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-594193644738695168,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197688000,"timestamp_ms":1786197688000,"timestamp_seconds":1786197688,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1adbec0"} 
[2026-08-08 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-08-08 19:32: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-08-08 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":229,"data_length":795,"current_offset":136} 
[2026-08-08 19:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:32: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-08-08 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266607104001,"66":27332,"13":206,"83":43776,"24":39,"16":375789628147367936,"44":-594193644738695168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-08-08 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266607104001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375789628147367936,"km_value":375789628147367.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-594193644738695168,"description":"Unknown IO ID 44"} 
[2026-08-08 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266607104001,"power":27332,"unknown_13":206,"unknown_83":43776,"ignition":39,"odometer":null,"unknown_44":-594193644738695168}} 
[2026-08-08 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":153143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:32:41] local.INFO: GPS data processed {"connection_id":153143,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:32:41] local.INFO: Acknowledgment sent {"connection_id":153143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:32:42] local.INFO: TCP Data received {"connection_id":150443,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae2838012d82c980060dadf8000800c225..."} 
[2026-08-08 19:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae2838012d82c980060dadf8000800c225..."} 
[2026-08-08 19:32:42] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae2838012d82c980060dadf8000800c225..."} 
[2026-08-08 19:32:42] local.INFO: Packet analysis {"connection_id":150443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:32:42] local.INFO: Extracted packet for processing {"connection_id":150443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763545984,"raw_latitude":101559800,"longitude_deg":76.3545984,"latitude_deg":10.15598,"altitude":8,"angle":194,"satellites":37,"speed":29,"hex_longitude":"2d82c980","hex_latitude":"060dadf8","is_valid_coordinates":true} 
[2026-08-08 19:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266613504001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116216364716261376,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020569290134308864,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786197715000,"timestamp_ms":1786197715000,"timestamp_seconds":1786197715,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae2838"} 
[2026-08-08 19:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266613504001,"66":11917,"136":206,"87":10496,"24":29,"16":116216364716261376,"45":-9020569290134308864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-08 19:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266613504001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:32:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 19:32:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116216364716261376,"km_value":116216364716261.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020569290134308864,"description":"Unknown IO ID 45"} 
[2026-08-08 19:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266613504001,"power":11917,"unknown_136":206,"unknown_87":10496,"ignition":29,"odometer":null,"unknown_45":-9020569290134308864}} 
[2026-08-08 19:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":150443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:32:42] local.INFO: GPS data processed {"connection_id":150443,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:32:42] local.INFO: Acknowledgment sent {"connection_id":150443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:32:43] local.INFO: TCP Data received {"connection_id":153142,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae10c8012d1955000720a9b80035010922..."} 
[2026-08-08 19:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae10c8012d1955000720a9b80035010922..."} 
[2026-08-08 19:32:43] local.INFO: Processing buffer {"connection_id":153142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae10c8012d1955000720a9b80035010922..."} 
[2026-08-08 19:32:43] local.INFO: Packet analysis {"connection_id":153142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:32:43] local.INFO: Extracted packet for processing {"connection_id":153142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581112,"longitude_deg":75.663488,"latitude_deg":11.9581112,"altitude":53,"angle":265,"satellites":34,"speed":0,"hex_longitude":"2d195500","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-08-08 19:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266613504001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630457904955392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254581368832,"note":"Value kept but may cause issues"} 
[2026-08-08 19:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786197709000,"timestamp_ms":1786197709000,"timestamp_seconds":1786197709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae10c8"} 
[2026-08-08 19:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 19:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266613504001,"66":12841,"121":206,"28":31744,"24":0,"16":11630457904955392,"45":1825365254581368832},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266613504001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:32:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630457904955392,"km_value":11630457904955.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254581368832,"description":"Unknown IO ID 45"} 
[2026-08-08 19:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266613504001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825365254581368832}} 
[2026-08-08 19:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":153142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:32:43] local.INFO: GPS data processed {"connection_id":153142,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:32:43] local.INFO: Acknowledgment sent {"connection_id":153142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:04] local.INFO: TCP Data received {"connection_id":150726,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:33:04] local.INFO: Processing buffer {"connection_id":150726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:33:04] local.INFO: IMEI packet received {"connection_id":150726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":150726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:33:04] local.INFO: TCP Data received {"connection_id":153144,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:33:04] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:33:04] local.INFO: IMEI packet received {"connection_id":153144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":153144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:33:09] local.INFO: TCP Data received {"connection_id":150726,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:33:09] local.INFO: Processing buffer {"connection_id":150726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:33:09] local.INFO: IMEI packet received {"connection_id":150726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":150726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:33:09] local.INFO: TCP Data received {"connection_id":153144,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:33:09] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:33:09] local.INFO: IMEI packet received {"connection_id":153144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":153144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:33:10] local.INFO: TCP Data received {"connection_id":150726,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1adc690012cf7b000073d7d70001c00d01e..."} 
[2026-08-08 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1adc690012cf7b000073d7d70001c00d01e..."} 
[2026-08-08 19:33:10] local.INFO: Processing buffer {"connection_id":150726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1adc690012cf7b000073d7d70001c00d01e..."} 
[2026-08-08 19:33:10] local.INFO: Packet analysis {"connection_id":150726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:33:10] local.INFO: Extracted packet for processing {"connection_id":150726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ad"} 
[2026-08-08 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":754429952,"raw_latitude":121470320,"longitude_deg":75.4429952,"latitude_deg":12.147032,"altitude":28,"angle":208,"satellites":30,"speed":41,"hex_longitude":"2cf7b000","hex_latitude":"073d7d70","is_valid_coordinates":true} 
[2026-08-08 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266608128001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375789731226583040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-597641713204062208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197690000,"timestamp_ms":1786197690000,"timestamp_seconds":1786197690,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1adc690"} 
[2026-08-08 19:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33: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-08-08 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 19:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266608128001,"66":26789,"13":206,"83":43776,"24":41,"16":375789731226583040,"44":-597641713204062208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266608128001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375789731226583040,"km_value":375789731226583.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-597641713204062208,"description":"Unknown IO ID 44"} 
[2026-08-08 19:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266608128001,"power":26789,"unknown_13":206,"unknown_83":43776,"ignition":41,"odometer":null,"unknown_44":-597641713204062208}} 
[2026-08-08 19:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":150726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:10] local.INFO: GPS data processed {"connection_id":150726,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:10] local.INFO: Acknowledgment sent {"connection_id":150726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:10] local.INFO: TCP Data received {"connection_id":153144,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae10c8012d1955000720a9b80035010922..."} 
[2026-08-08 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae10c8012d1955000720a9b80035010922..."} 
[2026-08-08 19:33:10] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae10c8012d1955000720a9b80035010922..."} 
[2026-08-08 19:33:10] local.INFO: Packet analysis {"connection_id":153144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:10] local.INFO: Extracted packet for processing {"connection_id":153144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581112,"longitude_deg":75.663488,"latitude_deg":11.9581112,"altitude":53,"angle":265,"satellites":34,"speed":0,"hex_longitude":"2d195500","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-08-08 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266613504001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630457904955392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254581368832,"note":"Value kept but may cause issues"} 
[2026-08-08 19: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-08-08 19:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197709000,"timestamp_ms":1786197709000,"timestamp_seconds":1786197709,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae10c8"} 
[2026-08-08 19:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 19:33: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-08-08 19:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266613504001,"66":12841,"121":206,"28":31744,"24":0,"16":11630457904955392,"45":1825365254581368832},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266613504001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630457904955392,"km_value":11630457904955.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254581368832,"description":"Unknown IO ID 45"} 
[2026-08-08 19:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266613504001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825365254581368832}} 
[2026-08-08 19:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":153144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:10] local.INFO: GPS data processed {"connection_id":153144,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:10] local.INFO: Acknowledgment sent {"connection_id":153144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:13] local.INFO: TCP Data received {"connection_id":150443,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae4778012d82c640060d99e8000800b61e..."} 
[2026-08-08 19:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae4778012d82c640060d99e8000800b61e..."} 
[2026-08-08 19:33:13] local.INFO: Processing buffer {"connection_id":150443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae4778012d82c640060d99e8000800b61e..."} 
[2026-08-08 19:33:13] local.INFO: Packet analysis {"connection_id":150443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:13] local.INFO: Extracted packet for processing {"connection_id":150443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763545152,"raw_latitude":101554664,"longitude_deg":76.3545152,"latitude_deg":10.1554664,"altitude":8,"angle":182,"satellites":30,"speed":25,"hex_longitude":"2d82c640","hex_latitude":"060d99e8","is_valid_coordinates":true} 
[2026-08-08 19:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266615040001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116216618119331840,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022539614972413952,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786197723000,"timestamp_ms":1786197723000,"timestamp_seconds":1786197723,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae4778"} 
[2026-08-08 19:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33: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-08-08 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 19:33:13] 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-08-08 19:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266615040001,"66":12211,"136":206,"87":10496,"24":25,"16":116216618119331840,"45":-9022539614972413952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-08 19:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266615040001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:13] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 19:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116216618119331840,"km_value":116216618119331.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022539614972413952,"description":"Unknown IO ID 45"} 
[2026-08-08 19:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266615040001,"power":12211,"unknown_136":206,"unknown_87":10496,"ignition":25,"odometer":null,"unknown_45":-9022539614972413952}} 
[2026-08-08 19:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":150443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:13] local.INFO: GPS data processed {"connection_id":150443,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:13] local.INFO: Acknowledgment sent {"connection_id":150443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:32] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:32] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:32] local.INFO: IMEI packet received {"connection_id":153145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":153145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:33:32] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:32] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:32] local.INFO: IMEI packet received {"connection_id":153145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":153145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:33:37] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:37] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:33:37] local.INFO: IMEI packet received {"connection_id":153145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":153145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:33:38] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae5b00012d82c6c0060d8df0000700aa21..."} 
[2026-08-08 19:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae5b00012d82c6c0060d8df0000700aa21..."} 
[2026-08-08 19:33:38] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae5b00012d82c6c0060d8df0000700aa21..."} 
[2026-08-08 19:33:38] local.INFO: Packet analysis {"connection_id":153145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:38] local.INFO: Extracted packet for processing {"connection_id":153145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763545280,"raw_latitude":101551600,"longitude_deg":76.354528,"latitude_deg":10.15516,"altitude":7,"angle":170,"satellites":33,"speed":22,"hex_longitude":"2d82c6c0","hex_latitude":"060d8df0","is_valid_coordinates":true} 
[2026-08-08 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266617088001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116216764148219904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023454408648038400,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786197728000,"timestamp_ms":1786197728000,"timestamp_seconds":1786197728,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae5b00"} 
[2026-08-08 19:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33: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-08-08 19:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 19:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266617088001,"66":12069,"136":206,"87":10496,"24":22,"16":116216764148219904,"45":-9023454408648038400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-08 19:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266617088001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116216764148219904,"km_value":116216764148219.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023454408648038400,"description":"Unknown IO ID 45"} 
[2026-08-08 19:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266617088001,"power":12069,"unknown_136":206,"unknown_87":10496,"ignition":22,"odometer":null,"unknown_45":-9023454408648038400}} 
[2026-08-08 19:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":153145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:38] local.INFO: GPS data processed {"connection_id":153145,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:38] local.INFO: Acknowledgment sent {"connection_id":153145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:41] local.INFO: TCP Data received {"connection_id":150726,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aeef70012cf741c0073d08380042012824..."} 
[2026-08-08 19:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aeef70012cf741c0073d08380042012824..."} 
[2026-08-08 19:33:41] local.INFO: Processing buffer {"connection_id":150726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aeef70012cf741c0073d08380042012824..."} 
[2026-08-08 19:33:41] local.INFO: Packet analysis {"connection_id":150726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:41] local.INFO: Extracted packet for processing {"connection_id":150726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:41] local.INFO: GPS Element Parsed {"raw_longitude":754401728,"raw_latitude":121440312,"longitude_deg":75.4401728,"latitude_deg":12.1440312,"altitude":66,"angle":296,"satellites":36,"speed":17,"hex_longitude":"2cf741c0","hex_latitude":"073d0838","is_valid_coordinates":true} 
[2026-08-08 19:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266625536001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375792256667353088,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-624592942232674304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197766000,"timestamp_ms":1786197766000,"timestamp_seconds":1786197766,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aeef70"} 
[2026-08-08 19:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33: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-08-08 19:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 19:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266625536001,"66":27484,"111":206,"83":43520,"24":17,"16":375792256667353088,"44":-624592942232674304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266625536001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-08-08 19:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375792256667353088,"km_value":375792256667353.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-624592942232674304,"description":"Unknown IO ID 44"} 
[2026-08-08 19:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266625536001,"power":27484,"unknown_111":206,"unknown_83":43520,"ignition":17,"odometer":null,"unknown_44":-624592942232674304}} 
[2026-08-08 19:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":150726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:41] local.INFO: GPS data processed {"connection_id":150726,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:41] local.INFO: Acknowledgment sent {"connection_id":150726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:41] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae85f8012d82cdc0060d6ad8000800a924..."} 
[2026-08-08 19:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae85f8012d82cdc0060d6ad8000800a924..."} 
[2026-08-08 19:33:41] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae85f8012d82cdc0060d6ad8000800a924..."} 
[2026-08-08 19:33:41] local.INFO: Packet analysis {"connection_id":153145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:41] local.INFO: Extracted packet for processing {"connection_id":153145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763547072,"raw_latitude":101542616,"longitude_deg":76.3547072,"latitude_deg":10.1542616,"altitude":8,"angle":169,"satellites":36,"speed":43,"hex_longitude":"2d82cdc0","hex_latitude":"060d6ad8","is_valid_coordinates":true} 
[2026-08-08 19:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266618368001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116217210824818688,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023313671160467456,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786197739000,"timestamp_ms":1786197739000,"timestamp_seconds":1786197739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae85f8"} 
[2026-08-08 19:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266618368001,"66":12069,"136":206,"87":10496,"24":43,"16":116217210824818688,"45":-9023313671160467456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,87,24,16,45]} 
[2026-08-08 19:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266618368001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116217210824818688,"km_value":116217210824818.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023313671160467456,"description":"Unknown IO ID 45"} 
[2026-08-08 19:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266618368001,"power":12069,"unknown_136":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9023313671160467456}} 
[2026-08-08 19:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":153145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:41] local.INFO: GPS data processed {"connection_id":153145,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:41] local.INFO: Acknowledgment sent {"connection_id":153145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:33:42] local.INFO: TCP Data received {"connection_id":153144,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae2450012d1955000720a9b80035010922..."} 
[2026-08-08 19:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae2450012d1955000720a9b80035010922..."} 
[2026-08-08 19:33:42] local.INFO: Processing buffer {"connection_id":153144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae2450012d1955000720a9b80035010922..."} 
[2026-08-08 19:33:42] local.INFO: Packet analysis {"connection_id":153144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:42] local.INFO: Extracted packet for processing {"connection_id":153144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581112,"longitude_deg":75.663488,"latitude_deg":11.9581112,"altitude":53,"angle":265,"satellites":34,"speed":0,"hex_longitude":"2d195500","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-08-08 19:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266613504001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630457904955392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254581368832,"note":"Value kept but may cause issues"} 
[2026-08-08 19:33: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-08-08 19:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786197714000,"timestamp_ms":1786197714000,"timestamp_seconds":1786197714,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae2450"} 
[2026-08-08 19:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 19:33: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-08-08 19:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266613504001,"66":12298,"121":206,"28":31744,"24":0,"16":11630457904955392,"45":1825365254581368832},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266613504001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:33:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630457904955392,"km_value":11630457904955.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254581368832,"description":"Unknown IO ID 45"} 
[2026-08-08 19:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266613504001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825365254581368832}} 
[2026-08-08 19:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":153144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:33:42] local.INFO: GPS data processed {"connection_id":153144,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:33:42] local.INFO: Acknowledgment sent {"connection_id":153144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:34:03] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:03] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:03] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:34:04] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:04] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:04] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:34:04] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:04] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:04] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:34:04] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:34:04] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:34:04] local.INFO: IMEI packet received {"connection_id":150444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":150444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:34:05] local.INFO: TCP Data received {"connection_id":151662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:05] local.INFO: Processing buffer {"connection_id":151662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:34:05] local.INFO: IMEI packet received {"connection_id":151662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":151662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:34:10] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:34:10] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:34:10] local.INFO: IMEI packet received {"connection_id":150444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":150444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:34:11] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ae7658012d1955000720a9b80035010922..."} 
[2026-08-08 19:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ae7658012d1955000720a9b80035010922..."} 
[2026-08-08 19:34:11] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ae7658012d1955000720a9b80035010922..."} 
[2026-08-08 19:34:11] local.INFO: Packet analysis {"connection_id":150444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:34:11] local.INFO: Extracted packet for processing {"connection_id":150444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581112,"longitude_deg":75.663488,"latitude_deg":11.9581112,"altitude":53,"angle":265,"satellites":34,"speed":0,"hex_longitude":"2d195500","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-08-08 19:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266614784001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11630457904955392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254581368832,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786197735000,"timestamp_ms":1786197735000,"timestamp_seconds":1786197735,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ae7658"} 
[2026-08-08 19:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513596965262786825,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452329,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-2954361355555045375,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2184859037505611435,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":74628252223729408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055389,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3614421060293296334,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2920335361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2847408181,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:34:11] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,121,28,24,241,158,16,81,159,45,169,53,34,10,66,1,240,41,225,32,4,113,205,85,184,239,50,2,7,33],"length":534,"final_offset":664,"validated_count":30,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:34:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819344000620429312,"timestamp_seconds":3819344000620429.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266614784001,"66":13450,"121":206,"28":31744,"24":0,"16":11630457904955392,"45":1825365254581368832},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266614784001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:34:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11630457904955392,"km_value":11630457904955.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254581368832,"description":"Unknown IO ID 45"} 
[2026-08-08 19:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266614784001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825365254581368832}} 
[2026-08-08 19:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":150444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:34:11] local.INFO: GPS data processed {"connection_id":150444,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:34:11] local.INFO: Acknowledgment sent {"connection_id":150444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:34:22] local.INFO: TCP Data received {"connection_id":153145,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1aed418012d82d400060d49b8000900a824..."} 
[2026-08-08 19:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1aed418012d82d400060d49b8000900a824..."} 
[2026-08-08 19:34:22] local.INFO: Processing buffer {"connection_id":153145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1aed418012d82d400060d49b8000900a824..."} 
[2026-08-08 19:34:22] local.INFO: Packet analysis {"connection_id":153145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:34:22] local.INFO: Extracted packet for processing {"connection_id":153145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ae"} 
[2026-08-08 19:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763548672,"raw_latitude":101534136,"longitude_deg":76.3548672,"latitude_deg":10.1534136,"altitude":9,"angle":168,"satellites":36,"speed":0,"hex_longitude":"2d82d400","hex_latitude":"060d49b8","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266621184001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116217627436646400,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021343346325792768,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786197759000,"timestamp_ms":1786197759000,"timestamp_seconds":1786197759,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1aed418"} 
[2026-08-08 19:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19: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-08-08 19: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:34: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-08-08 19: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-08-08 19:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":153145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":153145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":153145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266621184001,"66":11852,"137":206,"87":10496,"24":0,"16":116217627436646400,"45":-9021343346325792768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-08 19:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266621184001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:34:22] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 19:34:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116217627436646400,"km_value":116217627436646.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021343346325792768,"description":"Unknown IO ID 45"} 
[2026-08-08 19:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266621184001,"power":11852,"unknown_137":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9021343346325792768}} 
[2026-08-08 19:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":153145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:34:22] local.INFO: GPS data processed {"connection_id":153145,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:34:22] local.INFO: Acknowledgment sent {"connection_id":153145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:34:31] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:34:31] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:34:31] local.INFO: IMEI packet received {"connection_id":151663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":151663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:34:36] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:34:36] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:34:36] local.INFO: IMEI packet received {"connection_id":151663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":151663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:34:37] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1af2620012d82d3c0060d4820000900b226..."} 
[2026-08-08 19:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1af2620012d82d3c0060d4820000900b226..."} 
[2026-08-08 19:34:37] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1af2620012d82d3c0060d4820000900b226..."} 
[2026-08-08 19:34:37] local.INFO: Packet analysis {"connection_id":151663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1af"} 
[2026-08-08 19:34:37] local.INFO: Extracted packet for processing {"connection_id":151663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1af"} 
[2026-08-08 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763548608,"raw_latitude":101533728,"longitude_deg":76.3548608,"latitude_deg":10.1533728,"altitude":9,"angle":178,"satellites":38,"speed":6,"hex_longitude":"2d82d3c0","hex_latitude":"060d4820","is_valid_coordinates":true} 
[2026-08-08 19:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266626304001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116217648911482880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019584127723522048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786197780000,"timestamp_ms":1786197780000,"timestamp_seconds":1786197780,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1af2620"} 
[2026-08-08 19:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 19:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266626304001,"66":11917,"137":206,"87":10496,"24":6,"16":116217648911482880,"45":-9019584127723522048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-08-08 19:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266626304001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:34:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-08 19:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116217648911482880,"km_value":116217648911482.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019584127723522048,"description":"Unknown IO ID 45"} 
[2026-08-08 19:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266626304001,"power":11917,"unknown_137":206,"unknown_87":10496,"ignition":6,"odometer":null,"unknown_45":-9019584127723522048}} 
[2026-08-08 19:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":151663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:34:37] local.INFO: GPS data processed {"connection_id":151663,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:34:37] local.INFO: Acknowledgment sent {"connection_id":151663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:34:42] local.INFO: TCP Data received {"connection_id":150444,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1affcf8012d18d10007211620003e016524..."} 
[2026-08-08 19:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1affcf8012d18d10007211620003e016524..."} 
[2026-08-08 19:34:42] local.INFO: Processing buffer {"connection_id":150444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1affcf8012d18d10007211620003e016524..."} 
[2026-08-08 19:34:42] local.INFO: Packet analysis {"connection_id":150444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1af"} 
[2026-08-08 19:34:42] local.INFO: Extracted packet for processing {"connection_id":150444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1af"} 
[2026-08-08 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119608864,"longitude_deg":75.6601088,"latitude_deg":11.9608864,"altitude":62,"angle":357,"satellites":36,"speed":29,"hex_longitude":"2d18d100","hex_latitude":"07211620","is_valid_coordinates":true} 
[2026-08-08 19:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266643968001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11632678403047424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826312472576,"note":"Value kept but may cause issues"} 
[2026-08-08 19:34: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-08-08 19:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786197835000,"timestamp_ms":1786197835000,"timestamp_seconds":1786197835,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1affcf8"} 
[2026-08-08 19:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 19:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266643968001,"66":13678,"121":206,"28":31744,"24":29,"16":11632678403047424,"45":1789406826312472576},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266643968001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:34:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:34:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11632678403047424,"km_value":11632678403047.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826312472576,"description":"Unknown IO ID 45"} 
[2026-08-08 19:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266643968001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1789406826312472576}} 
[2026-08-08 19:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":150444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:34:42] local.INFO: GPS data processed {"connection_id":150444,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:34:42] local.INFO: Acknowledgment sent {"connection_id":150444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:35:04] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:04] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:04] local.INFO: IMEI packet received {"connection_id":150727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":150727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:35:08] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:08] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:08] local.INFO: IMEI packet received {"connection_id":150727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":150727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:35:09] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:09] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:09] local.INFO: IMEI packet received {"connection_id":150727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":150727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:35:09] local.INFO: TCP Data received {"connection_id":151663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b0a108012d828680060bd048000c00b225..."} 
[2026-08-08 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b0a108012d828680060bd048000c00b225..."} 
[2026-08-08 19:35:09] local.INFO: Processing buffer {"connection_id":151663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b0a108012d828680060bd048000c00b225..."} 
[2026-08-08 19:35:09] local.INFO: Packet analysis {"connection_id":151663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:09] local.INFO: Extracted packet for processing {"connection_id":151663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":101437512,"longitude_deg":76.3528832,"latitude_deg":10.1437512,"altitude":12,"angle":178,"satellites":37,"speed":26,"hex_longitude":"2d828680","hex_latitude":"060bd048","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266652160001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116222446389952512,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040976225975920640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786197877000,"timestamp_ms":1786197877000,"timestamp_seconds":1786197877,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b0a108"} 
[2026-08-08 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-08-08 19:35: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-08-08 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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 19:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266652160001,"66":12069,"86":206,"79":46336,"24":26,"16":116222446389952512,"45":-9040976225975920640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-08-08 19:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266652160001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:35:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-08 19:35:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-08 19:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116222446389952512,"km_value":116222446389952.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040976225975920640,"description":"Unknown IO ID 45"} 
[2026-08-08 19:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266652160001,"power":12069,"unknown_86":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":-9040976225975920640}} 
[2026-08-08 19:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":151663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:35:09] local.INFO: GPS data processed {"connection_id":151663,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:35:09] local.INFO: Acknowledgment sent {"connection_id":151663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:35:09] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:09] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:35:09] local.INFO: IMEI packet received {"connection_id":150727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":150727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:35:10] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b01850012d18d080072129c80041015524..."} 
[2026-08-08 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b01850012d18d080072129c80041015524..."} 
[2026-08-08 19:35:10] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b01850012d18d080072129c80041015524..."} 
[2026-08-08 19:35:10] local.INFO: Packet analysis {"connection_id":150727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:10] local.INFO: Extracted packet for processing {"connection_id":150727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119613896,"longitude_deg":75.660096,"latitude_deg":11.9613896,"altitude":65,"angle":341,"satellites":36,"speed":26,"hex_longitude":"2d18d080","hex_latitude":"072129c8","is_valid_coordinates":true} 
[2026-08-08 19:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266645760001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11632923216183296,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662666752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786197842000,"timestamp_ms":1786197842000,"timestamp_seconds":1786197842,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b01850"} 
[2026-08-08 19:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:35: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-08-08 19:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 19:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266645760001,"66":13678,"121":206,"28":31744,"24":26,"16":11632923216183296,"45":1788210557662666752},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266645760001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:35:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11632923216183296,"km_value":11632923216183.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662666752,"description":"Unknown IO ID 45"} 
[2026-08-08 19:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266645760001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1788210557662666752}} 
[2026-08-08 19:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":150727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:35:10] local.INFO: GPS data processed {"connection_id":150727,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:35:10] local.INFO: Acknowledgment sent {"connection_id":150727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:35:12] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b02020012d18cdc007212e900041014524..."} 
[2026-08-08 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b02020012d18cdc007212e900041014524..."} 
[2026-08-08 19:35:12] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b02020012d18cdc007212e900041014524..."} 
[2026-08-08 19:35:12] local.INFO: Packet analysis {"connection_id":150727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:12] local.INFO: Extracted packet for processing {"connection_id":150727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119615120,"longitude_deg":75.6600256,"latitude_deg":11.961512,"altitude":65,"angle":325,"satellites":36,"speed":28,"hex_longitude":"2d18cdc0","hex_latitude":"07212e90","is_valid_coordinates":true} 
[2026-08-08 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266647552001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11632991935660032,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175599616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786197844000,"timestamp_ms":1786197844000,"timestamp_seconds":1786197844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b02020"} 
[2026-08-08 19:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 19:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266647552001,"66":13493,"121":206,"28":31744,"24":28,"16":11632991935660032,"45":1788069820175599616},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266647552001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11632991935660032,"km_value":11632991935660.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175599616,"description":"Unknown IO ID 45"} 
[2026-08-08 19:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266647552001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1788069820175599616}} 
[2026-08-08 19:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":150727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:35:12] local.INFO: GPS data processed {"connection_id":150727,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:35:12] local.INFO: Acknowledgment sent {"connection_id":150727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:35:31] local.INFO: TCP Data received {"connection_id":150445,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:31] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:31] local.INFO: IMEI packet received {"connection_id":150445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":150445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:35:32] local.INFO: TCP Data received {"connection_id":150445,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:32] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:32] local.INFO: IMEI packet received {"connection_id":150445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":150445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:35:36] local.INFO: TCP Data received {"connection_id":150445,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:36] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:35:36] local.INFO: IMEI packet received {"connection_id":150445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:35:37] local.INFO: TCP Data received {"connection_id":150445,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b0d3d0012d828b00060bac00000b00ac28..."} 
[2026-08-08 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b0d3d0012d828b00060bac00000b00ac28..."} 
[2026-08-08 19:35:37] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b0d3d0012d828b00060bac00000b00ac28..."} 
[2026-08-08 19:35:37] local.INFO: Packet analysis {"connection_id":150445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:37] local.INFO: Extracted packet for processing {"connection_id":150445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763529984,"raw_latitude":101428224,"longitude_deg":76.3529984,"latitude_deg":10.1428224,"altitude":11,"angle":172,"satellites":40,"speed":28,"hex_longitude":"2d828b00","hex_latitude":"060bac00","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266656512001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116222901656485888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398438443333632,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786197890000,"timestamp_ms":1786197890000,"timestamp_seconds":1786197890,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b0d3d0"} 
[2026-08-08 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-08-08 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266656512001,"66":12156,"50":206,"87":10496,"24":28,"16":116222901656485888,"45":-9041398438443333632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-08-08 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266656512001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:35:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 19:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116222901656485888,"km_value":116222901656485.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398438443333632,"description":"Unknown IO ID 45"} 
[2026-08-08 19:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266656512001,"power":12156,"unknown_50":206,"unknown_87":10496,"ignition":28,"odometer":null,"unknown_45":-9041398438443333632}} 
[2026-08-08 19:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":150445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:35:38] local.INFO: GPS data processed {"connection_id":150445,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:35:38] local.INFO: Acknowledgment sent {"connection_id":150445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:35:43] local.INFO: TCP Data received {"connection_id":150727,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b03790012d18c58007213d280043015324..."} 
[2026-08-08 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b03790012d18c58007213d280043015324..."} 
[2026-08-08 19:35:43] local.INFO: Processing buffer {"connection_id":150727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b03790012d18c58007213d280043015324..."} 
[2026-08-08 19:35:43] local.INFO: Packet analysis {"connection_id":150727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:43] local.INFO: Extracted packet for processing {"connection_id":150727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119618856,"longitude_deg":75.6598144,"latitude_deg":11.9618856,"altitude":67,"angle":339,"satellites":36,"speed":29,"hex_longitude":"2d18c580","hex_latitude":"07213d28","is_valid_coordinates":true} 
[2026-08-08 19:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266648064001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11633198094090240,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787295763989958656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786197850000,"timestamp_ms":1786197850000,"timestamp_seconds":1786197850,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b03790"} 
[2026-08-08 19:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-08 19:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266648064001,"66":13656,"121":206,"28":31744,"24":29,"16":11633198094090240,"45":1787295763989958656},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266648064001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11633198094090240,"km_value":11633198094090.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787295763989958656,"description":"Unknown IO ID 45"} 
[2026-08-08 19:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266648064001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1787295763989958656}} 
[2026-08-08 19:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":150727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:35:44] local.INFO: GPS data processed {"connection_id":150727,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:35:44] local.INFO: Acknowledgment sent {"connection_id":150727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:36:09] local.INFO: TCP Data received {"connection_id":150445,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b0fec8012d829080060b86b8000d00a927..."} 
[2026-08-08 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b0fec8012d829080060b86b8000d00a927..."} 
[2026-08-08 19:36:09] local.INFO: Processing buffer {"connection_id":150445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b0fec8012d829080060b86b8000d00a927..."} 
[2026-08-08 19:36:09] local.INFO: Packet analysis {"connection_id":150445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:36:09] local.INFO: Extracted packet for processing {"connection_id":150445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763531392,"raw_latitude":101418680,"longitude_deg":76.3531392,"latitude_deg":10.141868,"altitude":13,"angle":169,"satellites":39,"speed":42,"hex_longitude":"2d829080","hex_latitude":"060b86b8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266659840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116223369807921152,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040131801050513408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786197901000,"timestamp_ms":1786197901000,"timestamp_seconds":1786197901,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b0fec8"} 
[2026-08-08 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-08-08 19:36: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-08-08 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:36: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-08-08 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-08-08 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-08-08 19:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266659840001,"66":12135,"50":206,"87":10496,"24":42,"16":116223369807921152,"45":-9040131801050513408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,87,24,16,45]} 
[2026-08-08 19:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266659840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116223369807921152,"km_value":116223369807921.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040131801050513408,"description":"Unknown IO ID 45"} 
[2026-08-08 19:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266659840001,"power":12135,"unknown_50":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-9040131801050513408}} 
[2026-08-08 19:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":150445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:36:09] local.INFO: GPS data processed {"connection_id":150445,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:36:09] local.INFO: Acknowledgment sent {"connection_id":150445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:36:10] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:36:10] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:36:10] local.INFO: IMEI packet received {"connection_id":151665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":151665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:36:15] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:36:15] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:36:15] local.INFO: IMEI packet received {"connection_id":151665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":151665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:36:16] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b03f60012d18c440072142a00044016024..."} 
[2026-08-08 19:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b03f60012d18c440072142a00044016024..."} 
[2026-08-08 19:36:16] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b03f60012d18c440072142a00044016024..."} 
[2026-08-08 19:36:16] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:36:16] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620256,"longitude_deg":75.6597824,"latitude_deg":11.9620256,"altitude":68,"angle":352,"satellites":36,"speed":29,"hex_longitude":"2d18c440","hex_latitude":"072142a0","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266649600001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11633266813566976,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433052160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786197852000,"timestamp_ms":1786197852000,"timestamp_seconds":1786197852,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b03f60"} 
[2026-08-08 19:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 19:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266649600001,"66":13678,"121":206,"28":31744,"24":29,"16":11633266813566976,"45":1784973595433052160},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266649600001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:36:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:36:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11633266813566976,"km_value":11633266813566.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433052160,"description":"Unknown IO ID 45"} 
[2026-08-08 19:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266649600001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784973595433052160}} 
[2026-08-08 19:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:36:16] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:36:16] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:36:17] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b05ab8012d18c0c0072155f00047014523..."} 
[2026-08-08 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b05ab8012d18c0c0072155f00047014523..."} 
[2026-08-08 19:36:17] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b05ab8012d18c0c0072155f00047014523..."} 
[2026-08-08 19:36:17] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:36:17] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b0"} 
[2026-08-08 19:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119625200,"longitude_deg":75.6596928,"latitude_deg":11.96252,"altitude":71,"angle":325,"satellites":35,"speed":30,"hex_longitude":"2d18c0c0","hex_latitude":"072155f0","is_valid_coordinates":true} 
[2026-08-08 19:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266650112001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11633515921670144,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712522240,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786197859000,"timestamp_ms":1786197859000,"timestamp_seconds":1786197859,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b05ab8"} 
[2026-08-08 19:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 19:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266650112001,"66":13646,"121":206,"28":31744,"24":30,"16":11633515921670144,"45":1784621751712522240},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266650112001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:36:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11633515921670144,"km_value":11633515921670.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712522240,"description":"Unknown IO ID 45"} 
[2026-08-08 19:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266650112001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784621751712522240}} 
[2026-08-08 19:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:36:17] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:36:17] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:36:36] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:36] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:36] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:36:38] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:38] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:38] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:36:48] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:48] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:36:48] local.INFO: IMEI packet received {"connection_id":151666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":151666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:36:49] local.INFO: TCP Data received {"connection_id":151665,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b19ef0012d18290007219ee8004f004a24..."} 
[2026-08-08 19:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b19ef0012d18290007219ee8004f004a24..."} 
[2026-08-08 19:36:49] local.INFO: Processing buffer {"connection_id":151665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b19ef0012d18290007219ee8004f004a24..."} 
[2026-08-08 19:36:49] local.INFO: Packet analysis {"connection_id":151665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b1"} 
[2026-08-08 19:36:49] local.INFO: Extracted packet for processing {"connection_id":151665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b1"} 
[2026-08-08 19:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643880,"longitude_deg":75.655808,"latitude_deg":11.964388,"altitude":79,"angle":74,"satellites":36,"speed":4,"hex_longitude":"2d182900","hex_latitude":"07219ee8","is_valid_coordinates":true} 
[2026-08-08 19:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266672896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11635676290220032,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392840050688,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786197942000,"timestamp_ms":1786197942000,"timestamp_seconds":1786197942,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b19ef0"} 
[2026-08-08 19:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 19:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266672896001,"66":13646,"120":206,"28":31744,"24":4,"16":11635676290220032,"45":1740852392840050688},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 19:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266672896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:36:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 19:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11635676290220032,"km_value":11635676290220.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392840050688,"description":"Unknown IO ID 45"} 
[2026-08-08 19:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266672896001,"power":13646,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1740852392840050688}} 
[2026-08-08 19:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":151665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:36:49] local.INFO: GPS data processed {"connection_id":151665,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:36:49] local.INFO: Acknowledgment sent {"connection_id":151665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:36:53] local.INFO: TCP Data received {"connection_id":151666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b23360012d8291c0060a0df0001000c729..."} 
[2026-08-08 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b23360012d8291c0060a0df0001000c729..."} 
[2026-08-08 19:36:53] local.INFO: Processing buffer {"connection_id":151666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b23360012d8291c0060a0df0001000c729..."} 
[2026-08-08 19:36:53] local.INFO: Packet analysis {"connection_id":151666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:36:53] local.INFO: Extracted packet for processing {"connection_id":151666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763531712,"raw_latitude":101322224,"longitude_deg":76.3531712,"latitude_deg":10.1322224,"altitude":16,"angle":199,"satellites":41,"speed":42,"hex_longitude":"2d8291c0","hex_latitude":"060a0df0","is_valid_coordinates":true} 
[2026-08-08 19:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266680832001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116228098566914048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783776517969920,"note":"Value kept but may cause issues"} 
[2026-08-08 19:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786197980000,"timestamp_ms":1786197980000,"timestamp_seconds":1786197980,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b23360"} 
[2026-08-08 19:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 19:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266680832001,"66":12102,"48":206,"87":10496,"24":42,"16":116228098566914048,"45":-9034783776517969920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,87,24,16,45]} 
[2026-08-08 19:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266680832001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:36:53] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-08 19:36:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116228098566914048,"km_value":116228098566914.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783776517969920,"description":"Unknown IO ID 45"} 
[2026-08-08 19:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266680832001,"power":12102,"unknown_48":206,"unknown_87":10496,"ignition":42,"odometer":null,"unknown_45":-9034783776517969920}} 
[2026-08-08 19:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":151666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:36:54] local.INFO: GPS data processed {"connection_id":151666,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:36:54] local.INFO: Acknowledgment sent {"connection_id":151666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:37:02] local.INFO: TCP Data received {"connection_id":153147,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:02] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:02] local.INFO: IMEI packet received {"connection_id":153147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":153147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:37:04] local.INFO: TCP Data received {"connection_id":153147,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:04] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:04] local.INFO: IMEI packet received {"connection_id":153147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":153147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:37:09] local.INFO: TCP Data received {"connection_id":153147,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:09] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:37:09] local.INFO: IMEI packet received {"connection_id":153147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":153147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:37:11] local.INFO: TCP Data received {"connection_id":153147,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b1a6c0012d18294007219ef0004f005524..."} 
[2026-08-08 19:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b1a6c0012d18294007219ef0004f005524..."} 
[2026-08-08 19:37:11] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b1a6c0012d18294007219ef0004f005524..."} 
[2026-08-08 19:37:11] local.INFO: Packet analysis {"connection_id":153147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b1"} 
[2026-08-08 19:37:11] local.INFO: Extracted packet for processing {"connection_id":153147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b1"} 
[2026-08-08 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643888,"longitude_deg":75.6558144,"latitude_deg":11.9643888,"altitude":79,"angle":85,"satellites":36,"speed":1,"hex_longitude":"2d182940","hex_latitude":"07219ef0","is_valid_coordinates":true} 
[2026-08-08 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266673152001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11635680585187328,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584240640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786197944000,"timestamp_ms":1786197944000,"timestamp_seconds":1786197944,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b1a6c0"} 
[2026-08-08 19:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-08 19:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266673152001,"66":12504,"120":206,"28":31744,"24":1,"16":11635680585187328,"45":1740922761584240640},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-08 19:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266673152001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:37:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-08 19:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11635680585187328,"km_value":11635680585187.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584240640,"description":"Unknown IO ID 45"} 
[2026-08-08 19:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266673152001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1740922761584240640}} 
[2026-08-08 19:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":153147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:37:11] local.INFO: GPS data processed {"connection_id":153147,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:37:11] local.INFO: Acknowledgment sent {"connection_id":153147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:37:31] local.INFO: TCP Data received {"connection_id":150446,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:31] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:31] local.INFO: IMEI packet received {"connection_id":150446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":150446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:37:33] local.INFO: TCP Data received {"connection_id":150446,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:33] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:33] local.INFO: IMEI packet received {"connection_id":150446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":150446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:37:37] local.INFO: TCP Data received {"connection_id":150446,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:37] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:37:37] local.INFO: IMEI packet received {"connection_id":150446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":150446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:37:38] local.INFO: TCP Data received {"connection_id":150446,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b252a0012d8283c00609ebb0000e00ce29..."} 
[2026-08-08 19:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b252a0012d8283c00609ebb0000e00ce29..."} 
[2026-08-08 19:37:38] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b252a0012d8283c00609ebb0000e00ce29..."} 
[2026-08-08 19:37:38] local.INFO: Packet analysis {"connection_id":150446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:37:38] local.INFO: Extracted packet for processing {"connection_id":150446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763528128,"raw_latitude":101313456,"longitude_deg":76.3528128,"latitude_deg":10.1313456,"altitude":14,"angle":206,"satellites":41,"speed":49,"hex_longitude":"2d8283c0","hex_latitude":"0609ebb0","is_valid_coordinates":true} 
[2026-08-08 19:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266682880001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116228558128414720,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038231844984852480,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786197988000,"timestamp_ms":1786197988000,"timestamp_seconds":1786197988,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b252a0"} 
[2026-08-08 19:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:37: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-08-08 19: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 19:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266682880001,"66":12015,"48":206,"87":10496,"24":49,"16":116228558128414720,"45":-9038231844984852480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,87,24,16,45]} 
[2026-08-08 19:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266682880001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:37:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-08 19:37:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116228558128414720,"km_value":116228558128414.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038231844984852480,"description":"Unknown IO ID 45"} 
[2026-08-08 19:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266682880001,"power":12015,"unknown_48":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-9038231844984852480}} 
[2026-08-08 19:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":150446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:37:38] local.INFO: GPS data processed {"connection_id":150446,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:37:38] local.INFO: Acknowledgment sent {"connection_id":150446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:37:43] local.INFO: TCP Data received {"connection_id":153147,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b2cfa0012d18ac8007217260004f007d1f..."} 
[2026-08-08 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b2cfa0012d18ac8007217260004f007d1f..."} 
[2026-08-08 19:37:43] local.INFO: Processing buffer {"connection_id":153147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b2cfa0012d18ac8007217260004f007d1f..."} 
[2026-08-08 19:37:43] local.INFO: Packet analysis {"connection_id":153147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:37:43] local.INFO: Extracted packet for processing {"connection_id":153147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632480,"longitude_deg":75.6591744,"latitude_deg":11.963248,"altitude":79,"angle":125,"satellites":31,"speed":32,"hex_longitude":"2d18ac80","hex_latitude":"07217260","is_valid_coordinates":true} 
[2026-08-08 19:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266690816001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11637411457007616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768859153020676096,"note":"Value kept but may cause issues"} 
[2026-08-08 19:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786198020000,"timestamp_ms":1786198020000,"timestamp_seconds":1786198020,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b2cfa0"} 
[2026-08-08 19:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 19:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266690816001,"66":13493,"121":206,"28":31744,"24":32,"16":11637411457007616,"45":1768859153020676096},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266690816001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:37:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11637411457007616,"km_value":11637411457007.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768859153020676096,"description":"Unknown IO ID 45"} 
[2026-08-08 19:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266690816001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1768859153020676096}} 
[2026-08-08 19:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":153147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:37:43] local.INFO: GPS data processed {"connection_id":153147,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:37:43] local.INFO: Acknowledgment sent {"connection_id":153147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:38:02] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:02] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:02] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:38:04] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:04] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:04] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:38:05] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:05] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:05] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:38:10] local.INFO: TCP Data received {"connection_id":150446,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b3b618012d8143800609ac80001200eb25..."} 
[2026-08-08 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b3b618012d8143800609ac80001200eb25..."} 
[2026-08-08 19:38:10] local.INFO: Processing buffer {"connection_id":150446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b3b618012d8143800609ac80001200eb25..."} 
[2026-08-08 19:38:10] local.INFO: Packet analysis {"connection_id":150446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:38:10] local.INFO: Extracted packet for processing {"connection_id":150446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763446144,"raw_latitude":101297280,"longitude_deg":76.3446144,"latitude_deg":10.129728,"altitude":18,"angle":235,"satellites":37,"speed":48,"hex_longitude":"2d814380","hex_latitude":"0609ac80","is_valid_coordinates":true} 
[2026-08-08 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266706944001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116232840210808832,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126614987677638656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198079000,"timestamp_ms":1786198079000,"timestamp_seconds":1786198079,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b3b618"} 
[2026-08-08 19:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 19:38:10] 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-08-08 19:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266706944001,"66":12015,"70":206,"87":10496,"24":48,"16":116232840210808832,"45":-9126614987677638656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 19:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266706944001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:38:10] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 19:38:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116232840210808832,"km_value":116232840210808.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126614987677638656,"description":"Unknown IO ID 45"} 
[2026-08-08 19:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266706944001,"power":12015,"unknown_70":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":-9126614987677638656}} 
[2026-08-08 19:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":150446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:38:10] local.INFO: GPS data processed {"connection_id":150446,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:38:10] local.INFO: Acknowledgment sent {"connection_id":150446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:38:10] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:10] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:38:10] local.INFO: IMEI packet received {"connection_id":151668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":151668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:38:11] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b2d388012d18aec007217030004e00881f..."} 
[2026-08-08 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b2d388012d18aec007217030004e00881f..."} 
[2026-08-08 19:38:11] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b2d388012d18aec007217030004e00881f..."} 
[2026-08-08 19:38:11] local.INFO: Packet analysis {"connection_id":151668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:38:11] local.INFO: Extracted packet for processing {"connection_id":151668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756592320,"raw_latitude":119631920,"longitude_deg":75.659232,"latitude_deg":11.963192,"altitude":78,"angle":136,"satellites":31,"speed":33,"hex_longitude":"2d18aec0","hex_latitude":"07217030","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266693120001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11637450111713280,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018773504,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786198021000,"timestamp_ms":1786198021000,"timestamp_seconds":1786198021,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b2d388"} 
[2026-08-08 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-08-08 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-08 19:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 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-08-08 19:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266693120001,"66":13580,"121":206,"28":31744,"24":33,"16":11637450111713280,"45":1777936721018773504},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266693120001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:38:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11637450111713280,"km_value":11637450111713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018773504,"description":"Unknown IO ID 45"} 
[2026-08-08 19:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266693120001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1777936721018773504}} 
[2026-08-08 19:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":151668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:38:11] local.INFO: GPS data processed {"connection_id":151668,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:38:11] local.INFO: Acknowledgment sent {"connection_id":151668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:38:41] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:38:41] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:38:41] local.INFO: IMEI packet received {"connection_id":153148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":153148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:38:43] local.INFO: TCP Data received {"connection_id":151668,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b2db58012d18b34007216a70004d00941f..."} 
[2026-08-08 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b2db58012d18b34007216a70004d00941f..."} 
[2026-08-08 19:38:43] local.INFO: Processing buffer {"connection_id":151668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b2db58012d18b34007216a70004d00941f..."} 
[2026-08-08 19:38:43] local.INFO: Packet analysis {"connection_id":151668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:38:43] local.INFO: Extracted packet for processing {"connection_id":151668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b2"} 
[2026-08-08 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756593472,"raw_latitude":119630448,"longitude_deg":75.6593472,"latitude_deg":11.9630448,"altitude":77,"angle":148,"satellites":31,"speed":36,"hex_longitude":"2d18b340","hex_latitude":"07216a70","is_valid_coordinates":true} 
[2026-08-08 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266693376001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11637540306026496,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778570039716229120,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786198023000,"timestamp_ms":1786198023000,"timestamp_seconds":1786198023,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b2db58"} 
[2026-08-08 19:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867796310,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3728988332315639888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3786568160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2995855361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2185756750,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792161145,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402030338224612,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:43] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,88,159,207,45,128,114,79,31,10,66,172,64,126,77,35,87,160,1,240,150,225,33,4,113,205,38,133,101,248,239,53,2,41,7,80,37,50,124],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:38:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620642001685905408,"timestamp_seconds":5620642001685905.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266693376001,"66":13276,"121":206,"28":31744,"24":36,"16":11637540306026496,"45":1778570039716229120},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266693376001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:38:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11637540306026496,"km_value":11637540306026.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778570039716229120,"description":"Unknown IO ID 45"} 
[2026-08-08 19:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266693376001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1778570039716229120}} 
[2026-08-08 19:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":151668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:38:44] local.INFO: GPS data processed {"connection_id":151668,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:38:44] local.INFO: Acknowledgment sent {"connection_id":151668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:38:46] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:38:46] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:38:46] local.INFO: IMEI packet received {"connection_id":153148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":153148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:38:48] local.INFO: TCP Data received {"connection_id":153148,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b3d170012d812880060994a0000f00df26..."} 
[2026-08-08 19:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b3d170012d812880060994a0000f00df26..."} 
[2026-08-08 19:38:48] local.INFO: Processing buffer {"connection_id":153148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b3d170012d812880060994a0000f00df26..."} 
[2026-08-08 19:38:48] local.INFO: Packet analysis {"connection_id":153148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:38:48] local.INFO: Extracted packet for processing {"connection_id":153148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:38:48] local.INFO: GPS Element Parsed {"raw_longitude":763439232,"raw_latitude":101291168,"longitude_deg":76.3439232,"latitude_deg":10.1291168,"altitude":15,"angle":223,"satellites":38,"speed":53,"hex_longitude":"2d812880","hex_latitude":"060994a0","is_valid_coordinates":true} 
[2026-08-08 19:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266708224001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116233282592440320,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132314855956774912,"note":"Value kept but may cause issues"} 
[2026-08-08 19:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786198086000,"timestamp_ms":1786198086000,"timestamp_seconds":1786198086,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b3d170"} 
[2026-08-08 19:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 19:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266708224001,"66":12004,"70":206,"87":10496,"24":53,"16":116233282592440320,"45":-9132314855956774912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 19:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266708224001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116233282592440320,"km_value":116233282592440.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132314855956774912,"description":"Unknown IO ID 45"} 
[2026-08-08 19:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266708224001,"power":12004,"unknown_70":206,"unknown_87":10496,"ignition":53,"odometer":null,"unknown_45":-9132314855956774912}} 
[2026-08-08 19:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":153148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:38:48] local.INFO: GPS data processed {"connection_id":153148,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:38:48] local.INFO: Acknowledgment sent {"connection_id":153148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:39:03] local.INFO: TCP Data received {"connection_id":151670,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:03] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:03] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:39:04] local.INFO: TCP Data received {"connection_id":151670,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:04] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:04] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:39:07] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:39:07] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:39:07] local.INFO: IMEI packet received {"connection_id":151669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":151669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:39:08] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b392f0012cf70c00073b6eb000bd00d82a..."} 
[2026-08-08 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b392f0012cf70c00073b6eb000bd00d82a..."} 
[2026-08-08 19:39:08] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b392f0012cf70c00073b6eb000bd00d82a..."} 
[2026-08-08 19:39:08] local.INFO: Packet analysis {"connection_id":151669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:08] local.INFO: Extracted packet for processing {"connection_id":151669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":754387968,"raw_latitude":121335472,"longitude_deg":75.4387968,"latitude_deg":12.1335472,"altitude":189,"angle":216,"satellites":42,"speed":51,"hex_longitude":"2cf70c00","hex_latitude":"073b6eb0","is_valid_coordinates":true} 
[2026-08-08 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266705920001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375801108594950144,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-645140615558942720,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39: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-08-08 19:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786198070000,"timestamp_ms":1786198070000,"timestamp_seconds":1786198070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b392f0"} 
[2026-08-08 19:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 19:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:39: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-08-08 19:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266705920001,"66":27484,"15":206,"83":43776,"24":51,"16":375801108594950144,"44":-645140615558942720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-08-08 19:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266705920001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:39:08] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-08 19:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375801108594950144,"km_value":375801108594950.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-645140615558942720,"description":"Unknown IO ID 44"} 
[2026-08-08 19:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266705920001,"power":27484,"unknown_15":206,"unknown_83":43776,"ignition":51,"odometer":null,"unknown_44":-645140615558942720}} 
[2026-08-08 19:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":151669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:39:08] local.INFO: GPS data processed {"connection_id":151669,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:39:08] local.INFO: Acknowledgment sent {"connection_id":151669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:39:10] local.INFO: TCP Data received {"connection_id":151670,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:10] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:39:10] local.INFO: IMEI packet received {"connection_id":151670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":151670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:39:11] local.INFO: TCP Data received {"connection_id":151670,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b3b618012d1907400720cb30003b007a25..."} 
[2026-08-08 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b3b618012d1907400720cb30003b007a25..."} 
[2026-08-08 19:39:11] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b3b618012d1907400720cb30003b007a25..."} 
[2026-08-08 19:39:11] local.INFO: Packet analysis {"connection_id":151670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:11] local.INFO: Extracted packet for processing {"connection_id":151670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756614976,"raw_latitude":119589680,"longitude_deg":75.6614976,"latitude_deg":11.958968,"altitude":59,"angle":122,"satellites":37,"speed":32,"hex_longitude":"2d190740","hex_latitude":"0720cb30","is_valid_coordinates":true} 
[2026-08-08 19:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266706432001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11639859588366336,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798414025564428288,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786198079000,"timestamp_ms":1786198079000,"timestamp_seconds":1786198079,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b3b618"} 
[2026-08-08 19:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-08 19:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266706432001,"66":13689,"121":206,"28":31744,"24":32,"16":11639859588366336,"45":1798414025564428288},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266706432001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11639859588366336,"km_value":11639859588366.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798414025564428288,"description":"Unknown IO ID 45"} 
[2026-08-08 19:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266706432001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1798414025564428288}} 
[2026-08-08 19:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":151670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:39:11] local.INFO: GPS data processed {"connection_id":151670,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:39:11] local.INFO: Acknowledgment sent {"connection_id":151670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:39:31] local.INFO: TCP Data received {"connection_id":150729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:39:31] local.INFO: Processing buffer {"connection_id":150729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:39:31] local.INFO: IMEI packet received {"connection_id":150729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":150729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:39:36] local.INFO: TCP Data received {"connection_id":150729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:39:36] local.INFO: Processing buffer {"connection_id":150729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:39:36] local.INFO: IMEI packet received {"connection_id":150729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":150729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:39:38] local.INFO: TCP Data received {"connection_id":150729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b3d170012d812880060994a0000f00df26..."} 
[2026-08-08 19:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b3d170012d812880060994a0000f00df26..."} 
[2026-08-08 19:39:38] local.INFO: Processing buffer {"connection_id":150729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b3d170012d812880060994a0000f00df26..."} 
[2026-08-08 19:39:38] local.INFO: Packet analysis {"connection_id":150729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:38] local.INFO: Extracted packet for processing {"connection_id":150729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763439232,"raw_latitude":101291168,"longitude_deg":76.3439232,"latitude_deg":10.1291168,"altitude":15,"angle":223,"satellites":38,"speed":53,"hex_longitude":"2d812880","hex_latitude":"060994a0","is_valid_coordinates":true} 
[2026-08-08 19:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266710016001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116233282592440320,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139914680329527296,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786198086000,"timestamp_ms":1786198086000,"timestamp_seconds":1786198086,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b3d170"} 
[2026-08-08 19:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 19:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266710016001,"66":12004,"70":206,"87":10496,"24":53,"16":116233282592440320,"45":-9139914680329527296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,87,24,16,45]} 
[2026-08-08 19:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266710016001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:39:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-08 19:39:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116233282592440320,"km_value":116233282592440.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139914680329527296,"description":"Unknown IO ID 45"} 
[2026-08-08 19:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266710016001,"power":12004,"unknown_70":206,"unknown_87":10496,"ignition":53,"odometer":null,"unknown_45":-9139914680329527296}} 
[2026-08-08 19:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":150729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:39:38] local.INFO: GPS data processed {"connection_id":150729,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:39:38] local.INFO: Acknowledgment sent {"connection_id":150729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:39:39] local.INFO: TCP Data received {"connection_id":151669,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b39ea8012cf70480073b619000bb00c82a..."} 
[2026-08-08 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b39ea8012cf70480073b619000bb00c82a..."} 
[2026-08-08 19:39:39] local.INFO: Processing buffer {"connection_id":151669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b39ea8012cf70480073b619000bb00c82a..."} 
[2026-08-08 19:39:39] local.INFO: Packet analysis {"connection_id":151669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:39] local.INFO: Extracted packet for processing {"connection_id":151669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:39] local.INFO: GPS Element Parsed {"raw_longitude":754386048,"raw_latitude":121332112,"longitude_deg":75.4386048,"latitude_deg":12.1332112,"altitude":187,"angle":200,"satellites":42,"speed":50,"hex_longitude":"2cf70480","hex_latitude":"073b6190","is_valid_coordinates":true} 
[2026-08-08 19:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266705920001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375801297573511168,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-645140615558942720,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39: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-08-08 19:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786198073000,"timestamp_ms":1786198073000,"timestamp_seconds":1786198073,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b39ea8"} 
[2026-08-08 19:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 19:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:39: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-08-08 19:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266705920001,"66":27343,"15":206,"83":43776,"24":50,"16":375801297573511168,"44":-645140615558942720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-08-08 19:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266705920001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:39:39] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-08 19:39:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375801297573511168,"km_value":375801297573511.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:39:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-645140615558942720,"description":"Unknown IO ID 44"} 
[2026-08-08 19:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266705920001,"power":27343,"unknown_15":206,"unknown_83":43776,"ignition":50,"odometer":null,"unknown_44":-645140615558942720}} 
[2026-08-08 19:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":151669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:39:39] local.INFO: GPS data processed {"connection_id":151669,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:39:39] local.INFO: Acknowledgment sent {"connection_id":151669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:39:42] local.INFO: TCP Data received {"connection_id":151670,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b3d170012d191f800720c0c00034006e26..."} 
[2026-08-08 19:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b3d170012d191f800720c0c00034006e26..."} 
[2026-08-08 19:39:42] local.INFO: Processing buffer {"connection_id":151670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b3d170012d191f800720c0c00034006e26..."} 
[2026-08-08 19:39:42] local.INFO: Packet analysis {"connection_id":151670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:42] local.INFO: Extracted packet for processing {"connection_id":151670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b3"} 
[2026-08-08 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756621184,"raw_latitude":119587008,"longitude_deg":75.6621184,"latitude_deg":11.9587008,"altitude":52,"angle":110,"satellites":38,"speed":39,"hex_longitude":"2d191f80","hex_latitude":"0720c0c0","is_valid_coordinates":true} 
[2026-08-08 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266708224001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11640181710913536,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803480575144308736,"note":"Value kept but may cause issues"} 
[2026-08-08 19:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786198086000,"timestamp_ms":1786198086000,"timestamp_seconds":1786198086,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b3d170"} 
[2026-08-08 19:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-08 19:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266708224001,"66":13396,"121":206,"28":31744,"24":39,"16":11640181710913536,"45":1803480575144308736},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266708224001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11640181710913536,"km_value":11640181710913.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803480575144308736,"description":"Unknown IO ID 45"} 
[2026-08-08 19:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266708224001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1803480575144308736}} 
[2026-08-08 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":151670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:39:42] local.INFO: GPS data processed {"connection_id":151670,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:39:42] local.INFO: Acknowledgment sent {"connection_id":151670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:03] local.INFO: TCP Data received {"connection_id":150730,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:03] local.INFO: Processing buffer {"connection_id":150730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:03] local.INFO: IMEI packet received {"connection_id":150730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":150730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:40:04] local.INFO: TCP Data received {"connection_id":150730,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:04] local.INFO: Processing buffer {"connection_id":150730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:04] local.INFO: IMEI packet received {"connection_id":150730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":150730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:40:04] local.INFO: TCP Data received {"connection_id":150731,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:40:04] local.INFO: Processing buffer {"connection_id":150731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:40:04] local.INFO: IMEI packet received {"connection_id":150731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":150731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:40:09] local.INFO: TCP Data received {"connection_id":150730,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:09] local.INFO: Processing buffer {"connection_id":150730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:40:09] local.INFO: IMEI packet received {"connection_id":150730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:40:09] local.INFO: TCP Data received {"connection_id":150731,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:40:09] local.INFO: Processing buffer {"connection_id":150731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:40:09] local.INFO: IMEI packet received {"connection_id":150731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:40:10] local.INFO: TCP Data received {"connection_id":150729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b55040012d80c740060872c8000c009028..."} 
[2026-08-08 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b55040012d80c740060872c8000c009028..."} 
[2026-08-08 19:40:10] local.INFO: Processing buffer {"connection_id":150729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b55040012d80c740060872c8000c009028..."} 
[2026-08-08 19:40:10] local.INFO: Packet analysis {"connection_id":150729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:40:10] local.INFO: Extracted packet for processing {"connection_id":150729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763414336,"raw_latitude":101216968,"longitude_deg":76.3414336,"latitude_deg":10.1216968,"altitude":12,"angle":144,"satellites":40,"speed":53,"hex_longitude":"2d80c740","hex_latitude":"060872c8","is_valid_coordinates":true} 
[2026-08-08 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266733312001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116237796603068416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173128727598405632,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198184000,"timestamp_ms":1786198184000,"timestamp_seconds":1786198184,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b55040"} 
[2026-08-08 19:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40: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-08-08 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266733312001,"66":11863,"55":206,"87":10496,"24":53,"16":116237796603068416,"45":-9173128727598405632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,87,24,16,45]} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266733312001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116237796603068416,"km_value":116237796603068.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173128727598405632,"description":"Unknown IO ID 45"} 
[2026-08-08 19:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266733312001,"power":11863,"unknown_55":206,"unknown_87":10496,"ignition":53,"odometer":null,"unknown_45":-9173128727598405632}} 
[2026-08-08 19:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":150729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:10] local.INFO: GPS data processed {"connection_id":150729,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:10] local.INFO: Acknowledgment sent {"connection_id":150729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:10] local.INFO: TCP Data received {"connection_id":150731,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b47968012d1989800720b6c80036015e26..."} 
[2026-08-08 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b47968012d1989800720b6c80036015e26..."} 
[2026-08-08 19:40:10] local.INFO: Processing buffer {"connection_id":150731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b47968012d1989800720b6c80036015e26..."} 
[2026-08-08 19:40:10] local.INFO: Packet analysis {"connection_id":150731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:10] local.INFO: Extracted packet for processing {"connection_id":150731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119584456,"longitude_deg":75.664832,"latitude_deg":11.9584456,"altitude":54,"angle":350,"satellites":38,"speed":8,"hex_longitude":"2d198980","hex_latitude":"0720b6c8","is_valid_coordinates":true} 
[2026-08-08 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266720768001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11641564690382848,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840213059603664896,"note":"Value kept but may cause issues"} 
[2026-08-08 19: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-08-08 19:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198129000,"timestamp_ms":1786198129000,"timestamp_seconds":1786198129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b47968"} 
[2026-08-08 19:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266720768001,"66":13656,"121":206,"28":31744,"24":8,"16":11641564690382848,"45":1840213059603664896},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266720768001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11641564690382848,"km_value":11641564690382.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840213059603664896,"description":"Unknown IO ID 45"} 
[2026-08-08 19:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266720768001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1840213059603664896}} 
[2026-08-08 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":150731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:11] local.INFO: GPS data processed {"connection_id":150731,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:11] local.INFO: Acknowledgment sent {"connection_id":150731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:11] local.INFO: TCP Data received {"connection_id":150730,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b4b018012cf65200073b3cc0009d011527..."} 
[2026-08-08 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b4b018012cf65200073b3cc0009d011527..."} 
[2026-08-08 19:40:11] local.INFO: Processing buffer {"connection_id":150730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b4b018012cf65200073b3cc0009d011527..."} 
[2026-08-08 19:40:11] local.INFO: Packet analysis {"connection_id":150730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:11] local.INFO: Extracted packet for processing {"connection_id":150730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":754340352,"raw_latitude":121322688,"longitude_deg":75.4340352,"latitude_deg":12.1322688,"altitude":157,"angle":277,"satellites":39,"speed":43,"hex_longitude":"2cf65200","hex_latitude":"073b3cc0","is_valid_coordinates":true} 
[2026-08-08 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266724096001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375804527388917760,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-695102423928494080,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:11] 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-08-08 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786198143000,"timestamp_ms":1786198143000,"timestamp_seconds":1786198143,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b4b018"} 
[2026-08-08 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40: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-08-08 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:40: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-08-08 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266724096001,"66":27397,"15":206,"83":43776,"24":43,"16":375804527388917760,"44":-695102423928494080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-08-08 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266724096001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375804527388917760,"km_value":375804527388917.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-695102423928494080,"description":"Unknown IO ID 44"} 
[2026-08-08 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266724096001,"power":27397,"unknown_15":206,"unknown_83":43776,"ignition":43,"odometer":null,"unknown_44":-695102423928494080}} 
[2026-08-08 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":150730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:11] local.INFO: GPS data processed {"connection_id":150730,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:11] local.INFO: Acknowledgment sent {"connection_id":150730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:36] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:40:36] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:40:36] local.INFO: IMEI packet received {"connection_id":153149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":153149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:40:41] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:40:41] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:40:41] local.INFO: IMEI packet received {"connection_id":153149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":153149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:40:43] local.INFO: TCP Data received {"connection_id":150731,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b4cb70012d1985000720cfa8003b015b23..."} 
[2026-08-08 19:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b4cb70012d1985000720cfa8003b015b23..."} 
[2026-08-08 19:40:43] local.INFO: Processing buffer {"connection_id":150731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b4cb70012d1985000720cfa8003b015b23..."} 
[2026-08-08 19:40:43] local.INFO: Packet analysis {"connection_id":150731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:43] local.INFO: Extracted packet for processing {"connection_id":150731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:43] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119590824,"longitude_deg":75.6647168,"latitude_deg":11.9590824,"altitude":59,"angle":347,"satellites":35,"speed":13,"hex_longitude":"2d198500","hex_latitude":"0720cfa8","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266721024001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11641882517962752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859534336,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786198150000,"timestamp_ms":1786198150000,"timestamp_seconds":1786198150,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b4cb70"} 
[2026-08-08 19:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266721024001,"66":12135,"121":206,"28":31744,"24":13,"16":11641882517962752,"45":1840142690859534336},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266721024001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11641882517962752,"km_value":11641882517962.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859534336,"description":"Unknown IO ID 45"} 
[2026-08-08 19:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266721024001,"power":12135,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1840142690859534336}} 
[2026-08-08 19:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":150731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:44] local.INFO: GPS data processed {"connection_id":150731,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:44] local.INFO: Acknowledgment sent {"connection_id":150731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:45] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b56b98012d80dc8006085588000d009025..."} 
[2026-08-08 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b56b98012d80dc8006085588000d009025..."} 
[2026-08-08 19:40:45] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b56b98012d80dc8006085588000d009025..."} 
[2026-08-08 19:40:45] local.INFO: Packet analysis {"connection_id":153149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:40:45] local.INFO: Extracted packet for processing {"connection_id":153149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763419776,"raw_latitude":101209480,"longitude_deg":76.3419776,"latitude_deg":10.120948,"altitude":13,"angle":144,"satellites":37,"speed":49,"hex_longitude":"2d80dc80","hex_latitude":"06085588","is_valid_coordinates":true} 
[2026-08-08 19:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266735104001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238243279667200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167288121833633792,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786198191000,"timestamp_ms":1786198191000,"timestamp_seconds":1786198191,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b56b98"} 
[2026-08-08 19:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266735104001,"66":11895,"174":206,"87":10496,"24":49,"16":116238243279667200,"45":-9167288121833633792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266735104001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:45] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:40:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238243279667200,"km_value":116238243279667.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167288121833633792,"description":"Unknown IO ID 45"} 
[2026-08-08 19:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266735104001,"power":11895,"unknown_174":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":-9167288121833633792}} 
[2026-08-08 19:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":153149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:45] local.INFO: GPS data processed {"connection_id":153149,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:45] local.INFO: Acknowledgment sent {"connection_id":153149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:50] local.INFO: TCP Data received {"connection_id":153149,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b592a8012d80f3c0060839d8000d008927..."} 
[2026-08-08 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b592a8012d80f3c0060839d8000d008927..."} 
[2026-08-08 19:40:50] local.INFO: Processing buffer {"connection_id":153149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b592a8012d80f3c0060839d8000d008927..."} 
[2026-08-08 19:40:50] local.INFO: Packet analysis {"connection_id":153149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:40:50] local.INFO: Extracted packet for processing {"connection_id":153149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763425728,"raw_latitude":101202392,"longitude_deg":76.3425728,"latitude_deg":10.1202392,"altitude":13,"angle":137,"satellites":39,"speed":20,"hex_longitude":"2d80f3c0","hex_latitude":"060839d8","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266736896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238689956265984,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9161306778580449280,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786198201000,"timestamp_ms":1786198201000,"timestamp_seconds":1786198201,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b592a8"} 
[2026-08-08 19:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":153149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":153149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":153149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266736896001,"66":11711,"174":206,"87":10496,"24":20,"16":116238689956265984,"45":-9161306778580449280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266736896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:50] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:40:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238689956265984,"km_value":116238689956265.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9161306778580449280,"description":"Unknown IO ID 45"} 
[2026-08-08 19:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266736896001,"power":11711,"unknown_174":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9161306778580449280}} 
[2026-08-08 19:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":153149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:50] local.INFO: GPS data processed {"connection_id":153149,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:50] local.INFO: Acknowledgment sent {"connection_id":153149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:40:52] local.INFO: TCP Data received {"connection_id":150730,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b4b7e8012cf648c0073b3cf0009c010a25..."} 
[2026-08-08 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b4b7e8012cf648c0073b3cf0009c010a25..."} 
[2026-08-08 19:40:52] local.INFO: Processing buffer {"connection_id":150730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b4b7e8012cf648c0073b3cf0009c010a25..."} 
[2026-08-08 19:40:52] local.INFO: Packet analysis {"connection_id":150730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:52] local.INFO: Extracted packet for processing {"connection_id":150730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":754337984,"raw_latitude":121322736,"longitude_deg":75.4337984,"latitude_deg":12.1322736,"altitude":156,"angle":266,"satellites":37,"speed":48,"hex_longitude":"2cf648c0","hex_latitude":"073b3cf0","is_valid_coordinates":true} 
[2026-08-08 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266724608001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375804643353034752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697494961230397440,"note":"Value kept but may cause issues"} 
[2026-08-08 19:40:52] 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-08-08 19:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786198145000,"timestamp_ms":1786198145000,"timestamp_seconds":1786198145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b4b7e8"} 
[2026-08-08 19:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266724608001,"66":27267,"15":206,"83":43776,"24":48,"16":375804643353034752,"44":-697494961230397440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-08-08 19:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266724608001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:40:52] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-08 19:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375804643353034752,"km_value":375804643353034.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697494961230397440,"description":"Unknown IO ID 44"} 
[2026-08-08 19:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266724608001,"power":27267,"unknown_15":206,"unknown_83":43776,"ignition":48,"odometer":null,"unknown_44":-697494961230397440}} 
[2026-08-08 19:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":150730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:40:52] local.INFO: GPS data processed {"connection_id":150730,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:40:52] local.INFO: Acknowledgment sent {"connection_id":150730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:41:04] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:04] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:04] local.INFO: IMEI packet received {"connection_id":150447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":150447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:41:07] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:07] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:07] local.INFO: IMEI packet received {"connection_id":150447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":150447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:41:09] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:09] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:41:09] local.INFO: IMEI packet received {"connection_id":150447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":150447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:41:14] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b4e2e0012d1984400720d790003c016725..."} 
[2026-08-08 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b4e2e0012d1984400720d790003c016725..."} 
[2026-08-08 19:41:14] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b4e2e0012d1984400720d790003c016725..."} 
[2026-08-08 19:41:14] local.INFO: Packet analysis {"connection_id":150447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:41:14] local.INFO: Extracted packet for processing {"connection_id":150447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119592848,"longitude_deg":75.6646976,"latitude_deg":11.9592848,"altitude":60,"angle":359,"satellites":37,"speed":13,"hex_longitude":"2d198440","hex_latitude":"0720d790","is_valid_coordinates":true} 
[2026-08-08 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266726400001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11641981302210560,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053465966592,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786198156000,"timestamp_ms":1786198156000,"timestamp_seconds":1786198156,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b4e2e0"} 
[2026-08-08 19:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 19:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266726400001,"66":13004,"121":206,"28":31744,"24":13,"16":11641981302210560,"45":1838876053465966592},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266726400001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:41:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11641981302210560,"km_value":11641981302210.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053465966592,"description":"Unknown IO ID 45"} 
[2026-08-08 19:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266726400001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1838876053465966592}} 
[2026-08-08 19:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":150447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:41:14] local.INFO: GPS data processed {"connection_id":150447,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:41:14] local.INFO: Acknowledgment sent {"connection_id":150447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:41:16] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:16] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:16] local.INFO: IMEI packet received {"connection_id":153150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":153150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:41:16] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:16] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:16] local.INFO: IMEI packet received {"connection_id":153150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":153150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:41:17] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:17] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:17] local.INFO: IMEI packet received {"connection_id":153150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":153150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:41:19] local.INFO: TCP Data received {"connection_id":153150,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:19] local.INFO: Processing buffer {"connection_id":153150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:41:19] local.INFO: IMEI packet received {"connection_id":153150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":153150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:41:31] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:41:31] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:41:31] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:41:36] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:41:36] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:41:36] local.INFO: IMEI packet received {"connection_id":151671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":151671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:41:38] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b5e0c8012d80fcc006082fb8000c008d28..."} 
[2026-08-08 19:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b5e0c8012d80fcc006082fb8000c008d28..."} 
[2026-08-08 19:41:38] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b5e0c8012d80fcc006082fb8000c008d28..."} 
[2026-08-08 19:41:38] local.INFO: Packet analysis {"connection_id":151671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:41:38] local.INFO: Extracted packet for processing {"connection_id":151671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b5"} 
[2026-08-08 19:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763428032,"raw_latitude":101199800,"longitude_deg":76.3428032,"latitude_deg":10.11998,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d80fcc0","hex_latitude":"06082fb8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266739456001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238857459990528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154762485373741056,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786198221000,"timestamp_ms":1786198221000,"timestamp_seconds":1786198221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b5e0c8"} 
[2026-08-08 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-08-08 19:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-08 19:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266739456001,"66":11700,"174":206,"87":10496,"24":0,"16":116238857459990528,"45":-9154762485373741056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266739456001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:41:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:41:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238857459990528,"km_value":116238857459990.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154762485373741056,"description":"Unknown IO ID 45"} 
[2026-08-08 19:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266739456001,"power":11700,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9154762485373741056}} 
[2026-08-08 19:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":151671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:41:38] local.INFO: GPS data processed {"connection_id":151671,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:41:38] local.INFO: Acknowledgment sent {"connection_id":151671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:41:46] local.INFO: TCP Data received {"connection_id":150447,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b4f280012d1984800720dcc8003e000b24..."} 
[2026-08-08 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b4f280012d1984800720dcc8003e000b24..."} 
[2026-08-08 19:41:46] local.INFO: Processing buffer {"connection_id":150447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b4f280012d1984800720dcc8003e000b24..."} 
[2026-08-08 19:41:46] local.INFO: Packet analysis {"connection_id":150447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:41:46] local.INFO: Extracted packet for processing {"connection_id":150447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b4"} 
[2026-08-08 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119594184,"longitude_deg":75.664704,"latitude_deg":11.9594184,"altitude":62,"angle":11,"satellites":36,"speed":12,"hex_longitude":"2d198480","hex_latitude":"0720dcc8","is_valid_coordinates":true} 
[2026-08-08 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266727936001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642045726720000,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947233951744,"note":"Value kept but may cause issues"} 
[2026-08-08 19:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786198160000,"timestamp_ms":1786198160000,"timestamp_seconds":1786198160,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b4f280"} 
[2026-08-08 19:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-08 19:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266727936001,"66":13080,"121":206,"28":31744,"24":12,"16":11642045726720000,"45":1838664947233951744},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266727936001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:41:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:41:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642045726720000,"km_value":11642045726720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947233951744,"description":"Unknown IO ID 45"} 
[2026-08-08 19:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266727936001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1838664947233951744}} 
[2026-08-08 19:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":150447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:41:46] local.INFO: GPS data processed {"connection_id":150447,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:41:46] local.INFO: Acknowledgment sent {"connection_id":150447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:42:09] local.INFO: TCP Data received {"connection_id":151671,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b632d0012d80fcc006082fb8000c008d28..."} 
[2026-08-08 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b632d0012d80fcc006082fb8000c008d28..."} 
[2026-08-08 19:42:09] local.INFO: Processing buffer {"connection_id":151671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b632d0012d80fcc006082fb8000c008d28..."} 
[2026-08-08 19:42:09] local.INFO: Packet analysis {"connection_id":151671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:09] local.INFO: Extracted packet for processing {"connection_id":151671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763428032,"raw_latitude":101199800,"longitude_deg":76.3428032,"latitude_deg":10.11998,"altitude":12,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2d80fcc0","hex_latitude":"06082fb8","is_valid_coordinates":true} 
[2026-08-08 19:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266744576001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238857459990528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152229210584008704,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786198242000,"timestamp_ms":1786198242000,"timestamp_seconds":1786198242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b632d0"} 
[2026-08-08 19:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:42: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-08-08 19:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 19:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266744576001,"66":12189,"174":206,"87":10496,"24":0,"16":116238857459990528,"45":-9152229210584008704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266744576001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:42:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:42:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238857459990528,"km_value":116238857459990.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152229210584008704,"description":"Unknown IO ID 45"} 
[2026-08-08 19:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266744576001,"power":12189,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9152229210584008704}} 
[2026-08-08 19:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":151671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:42:09] local.INFO: GPS data processed {"connection_id":151671,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:42:09] local.INFO: Acknowledgment sent {"connection_id":151671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:42:12] local.INFO: TCP Data received {"connection_id":151672,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:12] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:12] local.INFO: IMEI packet received {"connection_id":151672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":151672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:42:12] local.INFO: TCP Data received {"connection_id":151672,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:12] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:12] local.INFO: IMEI packet received {"connection_id":151672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":151672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:42:13] local.INFO: TCP Data received {"connection_id":151672,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:13] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:42:13] local.INFO: IMEI packet received {"connection_id":151672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":151672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:42:14] local.INFO: TCP Data received {"connection_id":151672,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b680f0012d198bc00720f698004800b325..."} 
[2026-08-08 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b680f0012d198bc00720f698004800b325..."} 
[2026-08-08 19:42:14] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b680f0012d198bc00720f698004800b325..."} 
[2026-08-08 19:42:14] local.INFO: Packet analysis {"connection_id":151672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:14] local.INFO: Extracted packet for processing {"connection_id":151672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119600792,"longitude_deg":75.6648896,"latitude_deg":11.9600792,"altitude":72,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720f698","is_valid_coordinates":true} 
[2026-08-08 19:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266754048001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642436568743936,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378305521664,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786198262000,"timestamp_ms":1786198262000,"timestamp_seconds":1786198262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b680f0"} 
[2026-08-08 19:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-08 19:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266754048001,"66":13461,"121":206,"28":31744,"24":0,"16":11642436568743936,"45":1840846378305521664},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266754048001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:42:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642436568743936,"km_value":11642436568743.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378305521664,"description":"Unknown IO ID 45"} 
[2026-08-08 19:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266754048001,"power":13461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378305521664}} 
[2026-08-08 19:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":151672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:42:15] local.INFO: GPS data processed {"connection_id":151672,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:42:15] local.INFO: Acknowledgment sent {"connection_id":151672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:42:15] local.INFO: TCP Data received {"connection_id":151672,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b69860012d198ac00720f328004800be26..."} 
[2026-08-08 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b69860012d198ac00720f328004800be26..."} 
[2026-08-08 19:42:15] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b69860012d198ac00720f328004800be26..."} 
[2026-08-08 19:42:15] local.INFO: Packet analysis {"connection_id":151672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:15] local.INFO: Extracted packet for processing {"connection_id":151672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119599912,"longitude_deg":75.664864,"latitude_deg":11.9599912,"altitude":72,"angle":190,"satellites":38,"speed":8,"hex_longitude":"2d198ac0","hex_latitude":"0720f328","is_valid_coordinates":true} 
[2026-08-08 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266755072001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642479518416896,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009561315328,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786198268000,"timestamp_ms":1786198268000,"timestamp_seconds":1786198268,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b69860"} 
[2026-08-08 19:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-08 19:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266755072001,"66":13417,"121":206,"28":31744,"24":8,"16":11642479518416896,"45":1840776009561315328},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266755072001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:42:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:42:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642479518416896,"km_value":11642479518416.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009561315328,"description":"Unknown IO ID 45"} 
[2026-08-08 19:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266755072001,"power":13417,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1840776009561315328}} 
[2026-08-08 19:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":151672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:42:15] local.INFO: GPS data processed {"connection_id":151672,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:42:15] local.INFO: Acknowledgment sent {"connection_id":151672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:42:20] local.INFO: TCP Data received {"connection_id":151672,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b6dac8012d1987c00720e558004900cd27..."} 
[2026-08-08 19:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b6dac8012d1987c00720e558004900cd27..."} 
[2026-08-08 19:42:20] local.INFO: Processing buffer {"connection_id":151672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b6dac8012d1987c00720e558004900cd27..."} 
[2026-08-08 19:42:20] local.INFO: Packet analysis {"connection_id":151672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:20] local.INFO: Extracted packet for processing {"connection_id":151672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756647872,"raw_latitude":119596376,"longitude_deg":75.6647872,"latitude_deg":11.9596376,"altitude":73,"angle":205,"satellites":39,"speed":7,"hex_longitude":"2d1987c0","hex_latitude":"0720e558","is_valid_coordinates":true} 
[2026-08-08 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266756608001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642659907043328,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534584379392,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786198285000,"timestamp_ms":1786198285000,"timestamp_seconds":1786198285,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b6dac8"} 
[2026-08-08 19:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-08 19:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266756608001,"66":13319,"121":206,"28":31744,"24":7,"16":11642659907043328,"45":1840494534584379392},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266756608001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:42:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:42:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642659907043328,"km_value":11642659907043.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534584379392,"description":"Unknown IO ID 45"} 
[2026-08-08 19:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266756608001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1840494534584379392}} 
[2026-08-08 19:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":151672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:42:20] local.INFO: GPS data processed {"connection_id":151672,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:42:20] local.INFO: Acknowledgment sent {"connection_id":151672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:42:31] local.INFO: TCP Data received {"connection_id":150448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:42:31] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:42:31] local.INFO: IMEI packet received {"connection_id":150448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":150448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:42:36] local.INFO: TCP Data received {"connection_id":150448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:42:36] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:42:36] local.INFO: IMEI packet received {"connection_id":150448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":150448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:42:37] local.INFO: TCP Data received {"connection_id":150448,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b684d8012d80fcc006082fb8000c008d25..."} 
[2026-08-08 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b684d8012d80fcc006082fb8000c008d25..."} 
[2026-08-08 19:42:37] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b684d8012d80fcc006082fb8000c008d25..."} 
[2026-08-08 19:42:37] local.INFO: Packet analysis {"connection_id":150448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:37] local.INFO: Extracted packet for processing {"connection_id":150448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763428032,"raw_latitude":101199800,"longitude_deg":76.3428032,"latitude_deg":10.11998,"altitude":12,"angle":141,"satellites":37,"speed":0,"hex_longitude":"2d80fcc0","hex_latitude":"06082fb8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266749952001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238857459990528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152229210584008704,"note":"Value kept but may cause issues"} 
[2026-08-08 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786198263000,"timestamp_ms":1786198263000,"timestamp_seconds":1786198263,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b684d8"} 
[2026-08-08 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-08-08 19:42: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-08-08 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 19:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266749952001,"66":11917,"174":206,"87":10496,"24":0,"16":116238857459990528,"45":-9152229210584008704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266749952001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:42:37] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238857459990528,"km_value":116238857459990.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152229210584008704,"description":"Unknown IO ID 45"} 
[2026-08-08 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266749952001,"power":11917,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9152229210584008704}} 
[2026-08-08 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":150448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:42:37] local.INFO: GPS data processed {"connection_id":150448,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:42:37] local.INFO: Acknowledgment sent {"connection_id":150448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:43:05] local.INFO: TCP Data received {"connection_id":151673,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:43:05] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:43:05] local.INFO: IMEI packet received {"connection_id":151673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":151673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:43:08] local.INFO: TCP Data received {"connection_id":150448,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b6d6e0012d80fcc006082fb8000c008d29..."} 
[2026-08-08 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b6d6e0012d80fcc006082fb8000c008d29..."} 
[2026-08-08 19:43:08] local.INFO: Processing buffer {"connection_id":150448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b6d6e0012d80fcc006082fb8000c008d29..."} 
[2026-08-08 19:43:08] local.INFO: Packet analysis {"connection_id":150448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:43:08] local.INFO: Extracted packet for processing {"connection_id":150448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":763428032,"raw_latitude":101199800,"longitude_deg":76.3428032,"latitude_deg":10.11998,"altitude":12,"angle":141,"satellites":41,"speed":0,"hex_longitude":"2d80fcc0","hex_latitude":"06082fb8","is_valid_coordinates":true} 
[2026-08-08 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266755328001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238857459990528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152229210584008704,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786198284000,"timestamp_ms":1786198284000,"timestamp_seconds":1786198284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b6d6e0"} 
[2026-08-08 19:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:43: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-08-08 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 19:43: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-08-08 19:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266755328001,"66":12069,"174":206,"87":10496,"24":0,"16":116238857459990528,"45":-9152229210584008704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266755328001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:43:08] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:43:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238857459990528,"km_value":116238857459990.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152229210584008704,"description":"Unknown IO ID 45"} 
[2026-08-08 19:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266755328001,"power":12069,"unknown_174":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9152229210584008704}} 
[2026-08-08 19:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":150448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:43:08] local.INFO: GPS data processed {"connection_id":150448,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:43:08] local.INFO: Acknowledgment sent {"connection_id":150448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:43:08] local.INFO: TCP Data received {"connection_id":151673,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:43:08] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:43:08] local.INFO: IMEI packet received {"connection_id":151673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":151673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:43:10] local.INFO: TCP Data received {"connection_id":151673,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b6ee50012d1985c00720dfe8004800bc27..."} 
[2026-08-08 19:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b6ee50012d1985c00720dfe8004800bc27..."} 
[2026-08-08 19:43:10] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b6ee50012d1985c00720dfe8004800bc27..."} 
[2026-08-08 19:43:10] local.INFO: Packet analysis {"connection_id":151673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:43:10] local.INFO: Extracted packet for processing {"connection_id":151673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b6"} 
[2026-08-08 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119594984,"longitude_deg":75.664736,"latitude_deg":11.9594984,"altitude":72,"angle":188,"satellites":39,"speed":16,"hex_longitude":"2d1985c0","hex_latitude":"0720dfe8","is_valid_coordinates":true} 
[2026-08-08 19:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266760960001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642732921487360,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109653342208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198290000,"timestamp_ms":1786198290000,"timestamp_seconds":1786198290,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b6ee50"} 
[2026-08-08 19:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3786819160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":38912,"corrected_to":0} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13494137,"corrected_to":0} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3060623361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-686798633917931264,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3221692663,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144025063,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57956572173573244,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-842171837104734201,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,92,159,152,45,192,243,72,38,10,66,128,246,37,113,1,240,247,225,32,4,205,101,138,56,239,52,2,41,7,12,181],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":246,"original":38912,"validated":0},{"io_id":247,"original":13494137,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-08 19:43:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260429932156616704,"timestamp_seconds":5260429932156617.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266760960001,"66":13678,"121":206,"28":31744,"24":16,"16":11642732921487360,"45":1839650109653342208},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266760960001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:43:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642732921487360,"km_value":11642732921487.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109653342208,"description":"Unknown IO ID 45"} 
[2026-08-08 19:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266760960001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1839650109653342208}} 
[2026-08-08 19:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":151673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:43:10] local.INFO: GPS data processed {"connection_id":151673,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:43:10] local.INFO: Acknowledgment sent {"connection_id":151673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:43:11] local.INFO: TCP Data received {"connection_id":151673,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b701d8012d1985000720d770004600ae27..."} 
[2026-08-08 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b701d8012d1985000720d770004600ae27..."} 
[2026-08-08 19:43:11] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b701d8012d1985000720d770004600ae27..."} 
[2026-08-08 19:43:11] local.INFO: Packet analysis {"connection_id":151673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:43:11] local.INFO: Extracted packet for processing {"connection_id":151673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119592816,"longitude_deg":75.6647168,"latitude_deg":11.9592816,"altitude":70,"angle":174,"satellites":39,"speed":17,"hex_longitude":"2d198500","hex_latitude":"0720d770","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266762240001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11642836000702464,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159699564544,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786198295000,"timestamp_ms":1786198295000,"timestamp_seconds":1786198295,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b701d8"} 
[2026-08-08 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-08-08 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-08 19:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266762240001,"66":13656,"121":206,"28":31744,"24":17,"16":11642836000702464,"45":1839087159699564544},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266762240001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:43:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11642836000702464,"km_value":11642836000702.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159699564544,"description":"Unknown IO ID 45"} 
[2026-08-08 19:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266762240001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1839087159699564544}} 
[2026-08-08 19:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":151673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:43:11] local.INFO: GPS data processed {"connection_id":151673,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:43:11] local.INFO: Acknowledgment sent {"connection_id":151673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:43:31] local.INFO: TCP Data received {"connection_id":150733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:43:31] local.INFO: Processing buffer {"connection_id":150733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:43:31] local.INFO: IMEI packet received {"connection_id":150733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":150733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:43:36] local.INFO: TCP Data received {"connection_id":150733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:43:36] local.INFO: Processing buffer {"connection_id":150733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:43:36] local.INFO: IMEI packet received {"connection_id":150733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":150733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:43:37] local.INFO: TCP Data received {"connection_id":150733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b71d30012d810300060826480012009828..."} 
[2026-08-08 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b71d30012d810300060826480012009828..."} 
[2026-08-08 19:43:37] local.INFO: Processing buffer {"connection_id":150733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b71d30012d810300060826480012009828..."} 
[2026-08-08 19:43:37] local.INFO: Packet analysis {"connection_id":150733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:43:37] local.INFO: Extracted packet for processing {"connection_id":150733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763429632,"raw_latitude":101197384,"longitude_deg":76.3429632,"latitude_deg":10.1197384,"altitude":18,"angle":152,"satellites":40,"speed":18,"hex_longitude":"2d810300","hex_latitude":"06082648","is_valid_coordinates":true} 
[2026-08-08 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266760704001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116238999193911296,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152229210584008704,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786198302000,"timestamp_ms":1786198302000,"timestamp_seconds":1786198302,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b71d30"} 
[2026-08-08 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:43: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-08-08 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266760704001,"66":12037,"174":206,"87":10496,"24":18,"16":116238999193911296,"45":-9152229210584008704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266760704001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:43:37] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:43:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116238999193911296,"km_value":116238999193911.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152229210584008704,"description":"Unknown IO ID 45"} 
[2026-08-08 19:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266760704001,"power":12037,"unknown_174":206,"unknown_87":10496,"ignition":18,"odometer":null,"unknown_45":-9152229210584008704}} 
[2026-08-08 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":150733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:43:37] local.INFO: GPS data processed {"connection_id":150733,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:43:37] local.INFO: Acknowledgment sent {"connection_id":150733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:43:43] local.INFO: TCP Data received {"connection_id":151673,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b753e0012d1989800720b740003c00b423..."} 
[2026-08-08 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b753e0012d1989800720b740003c00b423..."} 
[2026-08-08 19:43:43] local.INFO: Processing buffer {"connection_id":151673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b753e0012d1989800720b740003c00b423..."} 
[2026-08-08 19:43:43] local.INFO: Packet analysis {"connection_id":151673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:43:43] local.INFO: Extracted packet for processing {"connection_id":151673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119584576,"longitude_deg":75.664832,"latitude_deg":11.9584576,"altitude":60,"angle":180,"satellites":35,"speed":8,"hex_longitude":"2d198980","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-08-08 19:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266763520001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11643239727628288,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053466476544,"note":"Value kept but may cause issues"} 
[2026-08-08 19:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786198316000,"timestamp_ms":1786198316000,"timestamp_seconds":1786198316,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b753e0"} 
[2026-08-08 19:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 19:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266763520001,"66":13102,"121":206,"28":31744,"24":8,"16":11643239727628288,"45":1838876053466476544},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266763520001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:43:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11643239727628288,"km_value":11643239727628.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053466476544,"description":"Unknown IO ID 45"} 
[2026-08-08 19:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266763520001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1838876053466476544}} 
[2026-08-08 19:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":151673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:43:43] local.INFO: GPS data processed {"connection_id":151673,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:43:43] local.INFO: Acknowledgment sent {"connection_id":151673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:44:05] local.INFO: TCP Data received {"connection_id":153151,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:44:05] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:44:05] local.INFO: IMEI packet received {"connection_id":153151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":153151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:44:09] local.INFO: TCP Data received {"connection_id":150733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b753e0012d811340060807480011009627..."} 
[2026-08-08 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b753e0012d811340060807480011009627..."} 
[2026-08-08 19:44:09] local.INFO: Processing buffer {"connection_id":150733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b753e0012d811340060807480011009627..."} 
[2026-08-08 19:44:09] local.INFO: Packet analysis {"connection_id":150733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:44:09] local.INFO: Extracted packet for processing {"connection_id":150733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763433792,"raw_latitude":101189448,"longitude_deg":76.3433792,"latitude_deg":10.1189448,"altitude":17,"angle":150,"satellites":39,"speed":36,"hex_longitude":"2d811340","hex_latitude":"06080748","is_valid_coordinates":true} 
[2026-08-08 19:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266765312001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116239428690640896,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150469991980185600,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786198316000,"timestamp_ms":1786198316000,"timestamp_seconds":1786198316,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b753e0"} 
[2026-08-08 19:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:44: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-08-08 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3530822108026242048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2684354560,"corrected_to":0} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3786763160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500795,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3051407361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4300375580410970136,"corrected_to":0} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2818649472,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221620793,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":156,"raw_value":4135124992,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":6,"raw_value":600535659123347493,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194780416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,174,87,24,241,157,16,246,159,214,45,192,47,12,41,10,66,132,37,50,1,240,227,225,8,4,113,205,146,243,216,39,239,2,156,6,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":246,"original":2684354560,"validated":0},{"io_id":205,"original":4300375580410970136,"validated":0}]} 
[2026-08-08 19:44:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297203990249996288,"timestamp_seconds":1297203990249996.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266765312001,"66":11917,"174":206,"87":10496,"24":36,"16":116239428690640896,"45":-9150469991980185600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266765312001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:44:09] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:44:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116239428690640896,"km_value":116239428690640.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150469991980185600,"description":"Unknown IO ID 45"} 
[2026-08-08 19:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266765312001,"power":11917,"unknown_174":206,"unknown_87":10496,"ignition":36,"odometer":null,"unknown_45":-9150469991980185600}} 
[2026-08-08 19:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":150733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:44:09] local.INFO: GPS data processed {"connection_id":150733,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:44:09] local.INFO: Acknowledgment sent {"connection_id":150733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:44:09] local.INFO: TCP Data received {"connection_id":153151,"ip":"117.224.203.234","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:44:09] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:44:09] local.INFO: IMEI packet received {"connection_id":153151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":153151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:44:10] local.INFO: TCP Data received {"connection_id":153151,"ip":"117.224.203.234","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b786a8012d198bc00720b508003c006223..."} 
[2026-08-08 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b786a8012d198bc00720b508003c006223..."} 
[2026-08-08 19:44:10] local.INFO: Processing buffer {"connection_id":153151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b786a8012d198bc00720b508003c006223..."} 
[2026-08-08 19:44:10] local.INFO: Packet analysis {"connection_id":153151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:44:10] local.INFO: Extracted packet for processing {"connection_id":153151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119584008,"longitude_deg":75.6648896,"latitude_deg":11.9584008,"altitude":60,"angle":98,"satellites":35,"speed":8,"hex_longitude":"2d198bc0","hex_latitude":"0720b508","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266768896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11643286972268544,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859565056,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 19:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198329000,"timestamp_ms":1786198329000,"timestamp_seconds":1786198329,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b786a8"} 
[2026-08-08 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-08-08 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-08 19:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.203.234","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266768896001,"66":13091,"121":206,"28":31744,"24":8,"16":11643286972268544,"45":1840142690859565056},"client_ip":"117.224.203.234","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266768896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:44:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11643286972268544,"km_value":11643286972268.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859565056,"description":"Unknown IO ID 45"} 
[2026-08-08 19:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266768896001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1840142690859565056}} 
[2026-08-08 19:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":153151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:44:11] local.INFO: GPS data processed {"connection_id":153151,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:44:11] local.INFO: Acknowledgment sent {"connection_id":153151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:44:31] local.INFO: TCP Data received {"connection_id":150734,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:44:31] local.INFO: Processing buffer {"connection_id":150734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:44:31] local.INFO: IMEI packet received {"connection_id":150734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":150734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:44:36] local.INFO: TCP Data received {"connection_id":150734,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150734,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:44:36] local.INFO: Processing buffer {"connection_id":150734,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:44:36] local.INFO: IMEI packet received {"connection_id":150734,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":150734,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:44:38] local.INFO: TCP Data received {"connection_id":150734,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b77708012d8125800607e5a00010009726..."} 
[2026-08-08 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b77708012d8125800607e5a00010009726..."} 
[2026-08-08 19:44:38] local.INFO: Processing buffer {"connection_id":150734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b77708012d8125800607e5a00010009726..."} 
[2026-08-08 19:44:38] local.INFO: Packet analysis {"connection_id":150734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:44:38] local.INFO: Extracted packet for processing {"connection_id":150734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763438464,"raw_latitude":101180832,"longitude_deg":76.3438464,"latitude_deg":10.1180832,"altitude":16,"angle":151,"satellites":38,"speed":47,"hex_longitude":"2d812580","hex_latitude":"0607e5a0","is_valid_coordinates":true} 
[2026-08-08 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266768896001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116239905432010752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145896023610669056,"note":"Value kept but may cause issues"} 
[2026-08-08 19:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786198325000,"timestamp_ms":1786198325000,"timestamp_seconds":1786198325,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b77708"} 
[2026-08-08 19:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:44: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-08-08 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 19:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266768896001,"66":12004,"174":206,"87":10496,"24":47,"16":116239905432010752,"45":-9145896023610669056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,87,24,16,45]} 
[2026-08-08 19:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266768896001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116239905432010752,"km_value":116239905432010.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145896023610669056,"description":"Unknown IO ID 45"} 
[2026-08-08 19:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266768896001,"power":12004,"unknown_174":206,"unknown_87":10496,"ignition":47,"odometer":null,"unknown_45":-9145896023610669056}} 
[2026-08-08 19:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":150734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:44:38] local.INFO: GPS data processed {"connection_id":150734,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:44:38] local.INFO: Acknowledgment sent {"connection_id":150734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:45:12] local.INFO: TCP Data received {"connection_id":150734,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b79a30012d8137400607c518000f009728..."} 
[2026-08-08 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b79a30012d8137400607c518000f009728..."} 
[2026-08-08 19:45:12] local.INFO: Processing buffer {"connection_id":150734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b79a30012d8137400607c518000f009728..."} 
[2026-08-08 19:45:12] local.INFO: Packet analysis {"connection_id":150734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:45:12] local.INFO: Extracted packet for processing {"connection_id":150734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763443008,"raw_latitude":101172504,"longitude_deg":76.3443008,"latitude_deg":10.1172504,"altitude":15,"angle":151,"satellites":40,"speed":29,"hex_longitude":"2d813740","hex_latitude":"0607c518","is_valid_coordinates":true} 
[2026-08-08 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266771200001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116240364993511424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9140759105287905280,"note":"Value kept but may cause issues"} 
[2026-08-08 19:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786198334000,"timestamp_ms":1786198334000,"timestamp_seconds":1786198334,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b79a30"} 
[2026-08-08 19:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 19:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150734,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266771200001,"66":11874,"172":206,"87":10496,"24":29,"16":116240364993511424,"45":-9140759105287905280},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-08-08 19:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266771200001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:45:12] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 19:45:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116240364993511424,"km_value":116240364993511.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9140759105287905280,"description":"Unknown IO ID 45"} 
[2026-08-08 19:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266771200001,"power":11874,"unknown_172":206,"unknown_87":10496,"ignition":29,"odometer":null,"unknown_45":-9140759105287905280}} 
[2026-08-08 19:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":150734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:45:12] local.INFO: GPS data processed {"connection_id":150734,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:45:12] local.INFO: Acknowledgment sent {"connection_id":150734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:45:31] local.INFO: TCP Data received {"connection_id":150450,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:45:31] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:45:31] local.INFO: IMEI packet received {"connection_id":150450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":150450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:45:37] local.INFO: TCP Data received {"connection_id":150450,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:45:37] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:45:37] local.INFO: IMEI packet received {"connection_id":150450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":150450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:45:38] local.INFO: TCP Data received {"connection_id":150450,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b7e850012d813c400607bc20000e009628..."} 
[2026-08-08 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b7e850012d813c400607bc20000e009628..."} 
[2026-08-08 19:45:38] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b7e850012d813c400607bc20000e009628..."} 
[2026-08-08 19:45:38] local.INFO: Packet analysis {"connection_id":150450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:45:38] local.INFO: Extracted packet for processing {"connection_id":150450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b7"} 
[2026-08-08 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763444288,"raw_latitude":101170208,"longitude_deg":76.3444288,"latitude_deg":10.1170208,"altitude":14,"angle":150,"satellites":40,"speed":0,"hex_longitude":"2d813c40","hex_latitude":"0607bc20","is_valid_coordinates":true} 
[2026-08-08 19:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266773504001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116240493842530304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135762924453423104,"note":"Value kept but may cause issues"} 
[2026-08-08 19:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786198354000,"timestamp_ms":1786198354000,"timestamp_seconds":1786198354,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b7e850"} 
[2026-08-08 19:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 19:45:38] 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-08-08 19:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266773504001,"66":12102,"172":206,"87":10496,"24":0,"16":116240493842530304,"45":-9135762924453423104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-08-08 19:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266773504001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116240493842530304,"km_value":116240493842530.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135762924453423104,"description":"Unknown IO ID 45"} 
[2026-08-08 19:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266773504001,"power":12102,"unknown_172":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9135762924453423104}} 
[2026-08-08 19:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":150450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:45:38] local.INFO: GPS data processed {"connection_id":150450,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:45:38] local.INFO: Acknowledgment sent {"connection_id":150450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:46:10] local.INFO: TCP Data received {"connection_id":150450,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b83a58012d813c400607bc20000e009627..."} 
[2026-08-08 19:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b83a58012d813c400607bc20000e009627..."} 
[2026-08-08 19:46:10] local.INFO: Processing buffer {"connection_id":150450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b83a58012d813c400607bc20000e009627..."} 
[2026-08-08 19:46:10] local.INFO: Packet analysis {"connection_id":150450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b8"} 
[2026-08-08 19:46:10] local.INFO: Extracted packet for processing {"connection_id":150450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b8"} 
[2026-08-08 19:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763444288,"raw_latitude":101170208,"longitude_deg":76.3444288,"latitude_deg":10.1170208,"altitude":14,"angle":150,"satellites":39,"speed":0,"hex_longitude":"2d813c40","hex_latitude":"0607bc20","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266778624001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116240493842530304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134355549570457600,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198375000,"timestamp_ms":1786198375000,"timestamp_seconds":1786198375,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b83a58"} 
[2026-08-08 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-08-08 19:46: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-08-08 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 19:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266778624001,"66":11765,"172":206,"87":10496,"24":0,"16":116240493842530304,"45":-9134355549570457600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-08-08 19:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266778624001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:46:10] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 19:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116240493842530304,"km_value":116240493842530.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134355549570457600,"description":"Unknown IO ID 45"} 
[2026-08-08 19:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266778624001,"power":11765,"unknown_172":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9134355549570457600}} 
[2026-08-08 19:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:46:10] local.INFO: GPS data processed {"connection_id":150450,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:46:10] local.INFO: Acknowledgment sent {"connection_id":150450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:46:23] local.INFO: TCP Data received {"connection_id":150451,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:46:23] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:46:23] local.INFO: IMEI packet received {"connection_id":150451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":150451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:46:24] local.INFO: TCP Data received {"connection_id":150451,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b99dd0012cf30b8007385bc800a800d426..."} 
[2026-08-08 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b99dd0012cf30b8007385bc800a800d426..."} 
[2026-08-08 19:46:24] local.INFO: Processing buffer {"connection_id":150451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b99dd0012cf30b8007385bc800a800d426..."} 
[2026-08-08 19:46:24] local.INFO: Packet analysis {"connection_id":150451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b9"} 
[2026-08-08 19:46:24] local.INFO: Extracted packet for processing {"connection_id":150451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b9"} 
[2026-08-08 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":754125696,"raw_latitude":121134024,"longitude_deg":75.4125696,"latitude_deg":12.1134024,"altitude":168,"angle":212,"satellites":38,"speed":42,"hex_longitude":"2cf30b80","hex_latitude":"07385bc8","is_valid_coordinates":true} 
[2026-08-08 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266806528001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375818898349490176,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-931541404412981248,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786198466000,"timestamp_ms":1786198466000,"timestamp_seconds":1786198466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b99dd0"} 
[2026-08-08 19:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 19:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266806528001,"66":27267,"236":206,"83":43776,"24":42,"16":375818898349490176,"44":-931541404412981248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,44]} 
[2026-08-08 19:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266806528001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:46:24] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-08 19:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375818898349490176,"km_value":375818898349490.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-931541404412981248,"description":"Unknown IO ID 44"} 
[2026-08-08 19:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266806528001,"power":27267,"unknown_236":206,"unknown_83":43776,"ignition":42,"odometer":null,"unknown_44":-931541404412981248}} 
[2026-08-08 19:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":150451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:46:24] local.INFO: GPS data processed {"connection_id":150451,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:46:24] local.INFO: Acknowledgment sent {"connection_id":150451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:46:37] local.INFO: TCP Data received {"connection_id":150735,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:46:37] local.INFO: Processing buffer {"connection_id":150735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:46:37] local.INFO: IMEI packet received {"connection_id":150735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":150735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:46:43] local.INFO: TCP Data received {"connection_id":150735,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:46:43] local.INFO: Processing buffer {"connection_id":150735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:46:43] local.INFO: IMEI packet received {"connection_id":150735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":150735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:46:45] local.INFO: TCP Data received {"connection_id":150735,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b88c60012d813c400607bc20000e009626..."} 
[2026-08-08 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b88c60012d813c400607bc20000e009626..."} 
[2026-08-08 19:46:45] local.INFO: Processing buffer {"connection_id":150735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b88c60012d813c400607bc20000e009626..."} 
[2026-08-08 19:46:45] local.INFO: Packet analysis {"connection_id":150735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b8"} 
[2026-08-08 19:46:45] local.INFO: Extracted packet for processing {"connection_id":150735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b8"} 
[2026-08-08 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763444288,"raw_latitude":101170208,"longitude_deg":76.3444288,"latitude_deg":10.1170208,"altitude":14,"angle":150,"satellites":38,"speed":0,"hex_longitude":"2d813c40","hex_latitude":"0607bc20","is_valid_coordinates":true} 
[2026-08-08 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266784000001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116240493842530304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134355549570457600,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786198396000,"timestamp_ms":1786198396000,"timestamp_seconds":1786198396,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b88c60"} 
[2026-08-08 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 19:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266784000001,"66":12058,"172":206,"87":10496,"24":0,"16":116240493842530304,"45":-9134355549570457600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-08-08 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266784000001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:46:45] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 19:46:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116240493842530304,"km_value":116240493842530.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134355549570457600,"description":"Unknown IO ID 45"} 
[2026-08-08 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266784000001,"power":12058,"unknown_172":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9134355549570457600}} 
[2026-08-08 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":150735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:46:45] local.INFO: GPS data processed {"connection_id":150735,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:46:45] local.INFO: Acknowledgment sent {"connection_id":150735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:46:48] local.INFO: TCP Data received {"connection_id":150735,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1b8de68012d813c400607bc20000e009627..."} 
[2026-08-08 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1b8de68012d813c400607bc20000e009627..."} 
[2026-08-08 19:46:48] local.INFO: Processing buffer {"connection_id":150735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1b8de68012d813c400607bc20000e009627..."} 
[2026-08-08 19:46:48] local.INFO: Packet analysis {"connection_id":150735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1b8"} 
[2026-08-08 19:46:48] local.INFO: Extracted packet for processing {"connection_id":150735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1b8"} 
[2026-08-08 19:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763444288,"raw_latitude":101170208,"longitude_deg":76.3444288,"latitude_deg":10.1170208,"altitude":14,"angle":150,"satellites":39,"speed":0,"hex_longitude":"2d813c40","hex_latitude":"0607bc20","is_valid_coordinates":true} 
[2026-08-08 19:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266789376001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116240493842530304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134355549570457600,"note":"Value kept but may cause issues"} 
[2026-08-08 19:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786198417000,"timestamp_ms":1786198417000,"timestamp_seconds":1786198417,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1b8de68"} 
[2026-08-08 19:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:46: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-08-08 19:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266789376001,"66":11950,"172":206,"87":10496,"24":0,"16":116240493842530304,"45":-9134355549570457600},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-08-08 19:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266789376001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:46:48] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-08 19:46:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116240493842530304,"km_value":116240493842530.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134355549570457600,"description":"Unknown IO ID 45"} 
[2026-08-08 19:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266789376001,"power":11950,"unknown_172":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9134355549570457600}} 
[2026-08-08 19:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":150735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:46:48] local.INFO: GPS data processed {"connection_id":150735,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:46:48] local.INFO: Acknowledgment sent {"connection_id":150735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:47:04] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:47:04] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:47:04] local.INFO: IMEI packet received {"connection_id":153152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":153152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:47:08] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:47:08] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:47:08] local.INFO: IMEI packet received {"connection_id":153152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":153152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:47:08] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bb0148012cf2b30007371b7000ab00b72a..."} 
[2026-08-08 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bb0148012cf2b30007371b7000ab00b72a..."} 
[2026-08-08 19:47:08] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bb0148012cf2b30007371b7000ab00b72a..."} 
[2026-08-08 19:47:08] local.INFO: Packet analysis {"connection_id":153152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:47:08] local.INFO: Extracted packet for processing {"connection_id":153152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":754103040,"raw_latitude":121052016,"longitude_deg":75.410304,"latitude_deg":12.1052016,"altitude":171,"angle":183,"satellites":42,"speed":38,"hex_longitude":"2cf2b300","hex_latitude":"07371b70","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266829824001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375823300690968576,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-958703739686469632,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786198557000,"timestamp_ms":1786198557000,"timestamp_seconds":1786198557,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bb0148"} 
[2026-08-08 19:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 19:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:47: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-08-08 19:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266829824001,"66":27376,"49":206,"83":43776,"24":38,"16":375823300690968576,"44":-958703739686469632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 19:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266829824001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:47:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 19:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375823300690968576,"km_value":375823300690968.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-958703739686469632,"description":"Unknown IO ID 44"} 
[2026-08-08 19:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266829824001,"power":27376,"unknown_49":206,"unknown_83":43776,"ignition":38,"odometer":null,"unknown_44":-958703739686469632}} 
[2026-08-08 19:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":153152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:47:08] local.INFO: GPS data processed {"connection_id":153152,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:47:08] local.INFO: Acknowledgment sent {"connection_id":153152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:47:35] local.INFO: TCP Data received {"connection_id":150452,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:47:35] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:47:35] local.INFO: IMEI packet received {"connection_id":150452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":150452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:47:39] local.INFO: TCP Data received {"connection_id":153152,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bb0918012cf2b1800737139800ab00c22c..."} 
[2026-08-08 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bb0918012cf2b1800737139800ab00c22c..."} 
[2026-08-08 19:47:39] local.INFO: Processing buffer {"connection_id":153152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bb0918012cf2b1800737139800ab00c22c..."} 
[2026-08-08 19:47:39] local.INFO: Packet analysis {"connection_id":153152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:47:39] local.INFO: Extracted packet for processing {"connection_id":153152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":754102656,"raw_latitude":121050008,"longitude_deg":75.4102656,"latitude_deg":12.1050008,"altitude":171,"angle":194,"satellites":44,"speed":41,"hex_longitude":"2cf2b180","hex_latitude":"07371398","is_valid_coordinates":true} 
[2026-08-08 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266830592001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375823399475216384,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-958422264710467584,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786198559000,"timestamp_ms":1786198559000,"timestamp_seconds":1786198559,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bb0918"} 
[2026-08-08 19:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 19:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:47: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-08-08 19:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266830592001,"66":27343,"49":206,"83":43776,"24":41,"16":375823399475216384,"44":-958422264710467584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 19:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266830592001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:47:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 19:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375823399475216384,"km_value":375823399475216.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-958422264710467584,"description":"Unknown IO ID 44"} 
[2026-08-08 19:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266830592001,"power":27343,"unknown_49":206,"unknown_83":43776,"ignition":41,"odometer":null,"unknown_44":-958422264710467584}} 
[2026-08-08 19:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":153152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:47:39] local.INFO: GPS data processed {"connection_id":153152,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:47:39] local.INFO: Acknowledgment sent {"connection_id":153152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:47:41] local.INFO: TCP Data received {"connection_id":150452,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:47:41] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 19:47:41] local.INFO: IMEI packet received {"connection_id":150452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":150452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:47:42] local.INFO: TCP Data received {"connection_id":150452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bbbcc8012d81a18006072698000f008c28..."} 
[2026-08-08 19:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bbbcc8012d81a18006072698000f008c28..."} 
[2026-08-08 19:47:42] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fe1..."} 
[2026-08-08 19:47:42] local.INFO: IMEI packet received {"connection_id":150452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":150452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:47:42] local.INFO: TCP Data received {"connection_id":150452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bc0700012d81b88006070bd00011008b28..."} 
[2026-08-08 19:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bc0700012d81b88006070bd00011008b28..."} 
[2026-08-08 19:47:42] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1bbbcc8012d81a18006072698000f008c28..."} 
[2026-08-08 19:47:42] local.INFO: Packet analysis {"connection_id":150452,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:47:42] local.INFO: Extracted packet for processing {"connection_id":150452,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763470208,"raw_latitude":101131928,"longitude_deg":76.3470208,"latitude_deg":10.1131928,"altitude":15,"angle":140,"satellites":40,"speed":20,"hex_longitude":"2d81a180","hex_latitude":"06072698","is_valid_coordinates":true} 
[2026-08-08 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266837760001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116242752995328000,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112189395162714112,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786198605000,"timestamp_ms":1786198605000,"timestamp_seconds":1786198605,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bbbcc8"} 
[2026-08-08 19:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266837760001,"66":11895,"173":206,"87":10496,"24":20,"16":116242752995328000,"45":-9112189395162714112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-08-08 19:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266837760001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:47:42] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-08 19:47:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116242752995328000,"km_value":116242752995328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112189395162714112,"description":"Unknown IO ID 45"} 
[2026-08-08 19:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266837760001,"power":11895,"unknown_173":206,"unknown_87":10496,"ignition":20,"odometer":null,"unknown_45":-9112189395162714112}} 
[2026-08-08 19:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":150452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:47:43] local.INFO: GPS data processed {"connection_id":150452,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:47:43] local.INFO: Acknowledgment sent {"connection_id":150452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:47:43] local.INFO: Packet analysis {"connection_id":150452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:47:43] local.INFO: Extracted packet for processing {"connection_id":150452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763476096,"raw_latitude":101125072,"longitude_deg":76.3476096,"latitude_deg":10.1125072,"altitude":17,"angle":139,"satellites":40,"speed":25,"hex_longitude":"2d81b880","hex_latitude":"06070bd0","is_valid_coordinates":true} 
[2026-08-08 19:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266842880001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116243191081992192,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105856208188303360,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786198624000,"timestamp_ms":1786198624000,"timestamp_seconds":1786198624,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bc0700"} 
[2026-08-08 19:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 19:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266842880001,"66":12058,"173":206,"87":10496,"24":25,"16":116243191081992192,"45":-9105856208188303360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-08-08 19:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266842880001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:47:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-08 19:47:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116243191081992192,"km_value":116243191081992.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105856208188303360,"description":"Unknown IO ID 45"} 
[2026-08-08 19:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266842880001,"power":12058,"unknown_173":206,"unknown_87":10496,"ignition":25,"odometer":null,"unknown_45":-9105856208188303360}} 
[2026-08-08 19:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":150452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:47:43] local.INFO: GPS data processed {"connection_id":150452,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:47:43] local.INFO: Acknowledgment sent {"connection_id":150452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:47:47] local.INFO: TCP Data received {"connection_id":150452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bc4580012d81d0c00606f0000013008b28..."} 
[2026-08-08 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bc4580012d81d0c00606f0000013008b28..."} 
[2026-08-08 19:47:47] local.INFO: Processing buffer {"connection_id":150452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bc4580012d81d0c00606f0000013008b28..."} 
[2026-08-08 19:47:47] local.INFO: Packet analysis {"connection_id":150452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:47:47] local.INFO: Extracted packet for processing {"connection_id":150452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763482304,"raw_latitude":101117952,"longitude_deg":76.3482304,"latitude_deg":10.1117952,"altitude":19,"angle":139,"satellites":40,"speed":25,"hex_longitude":"2d81d0c0","hex_latitude":"0606f000","is_valid_coordinates":true} 
[2026-08-08 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266847744001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116243642053558272,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099382283725713408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786198640000,"timestamp_ms":1786198640000,"timestamp_seconds":1786198640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bc4580"} 
[2026-08-08 19:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266847744001,"66":12069,"207":206,"87":10496,"24":25,"16":116243642053558272,"45":-9099382283725713408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,87,24,16,45]} 
[2026-08-08 19:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266847744001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116243642053558272,"km_value":116243642053558.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099382283725713408,"description":"Unknown IO ID 45"} 
[2026-08-08 19:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266847744001,"power":12069,"unknown_207":206,"unknown_87":10496,"ignition":25,"odometer":null,"unknown_45":-9099382283725713408}} 
[2026-08-08 19:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":150452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:47:47] local.INFO: GPS data processed {"connection_id":150452,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:47:47] local.INFO: Acknowledgment sent {"connection_id":150452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:48:03] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:03] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:03] local.INFO: IMEI packet received {"connection_id":153153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":153153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:48:04] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:04] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:04] local.INFO: IMEI packet received {"connection_id":153153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":153153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:48:11] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:11] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:48:11] local.INFO: IMEI packet received {"connection_id":153153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":153153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:48:16] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bb18b8012cf2abc00737056000a800d12b..."} 
[2026-08-08 19:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bb18b8012cf2abc00737056000a800d12b..."} 
[2026-08-08 19:48:16] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bb18b8012cf2abc00737056000a800d12b..."} 
[2026-08-08 19:48:16] local.INFO: Packet analysis {"connection_id":153153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:48:16] local.INFO: Extracted packet for processing {"connection_id":153153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:48:16] local.INFO: GPS Element Parsed {"raw_longitude":754101184,"raw_latitude":121046368,"longitude_deg":75.4101184,"latitude_deg":12.1046368,"altitude":168,"angle":209,"satellites":43,"speed":38,"hex_longitude":"2cf2abc0","hex_latitude":"07370560","is_valid_coordinates":true} 
[2026-08-08 19:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266831104001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375823588453777408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-958844477176047616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786198563000,"timestamp_ms":1786198563000,"timestamp_seconds":1786198563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bb18b8"} 
[2026-08-08 19:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 19:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266831104001,"66":27343,"49":206,"83":43776,"24":38,"16":375823588453777408,"44":-958844477176047616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 19:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266831104001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:48:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 19:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375823588453777408,"km_value":375823588453777.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-958844477176047616,"description":"Unknown IO ID 44"} 
[2026-08-08 19:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266831104001,"power":27343,"unknown_49":206,"unknown_83":43776,"ignition":38,"odometer":null,"unknown_44":-958844477176047616}} 
[2026-08-08 19:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":153153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:48:16] local.INFO: GPS data processed {"connection_id":153153,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:48:16] local.INFO: Acknowledgment sent {"connection_id":153153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:48:32] local.INFO: TCP Data received {"connection_id":150736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:32] local.INFO: Processing buffer {"connection_id":150736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:32] local.INFO: IMEI packet received {"connection_id":150736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":150736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:48:33] local.INFO: TCP Data received {"connection_id":150736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:33] local.INFO: Processing buffer {"connection_id":150736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:33] local.INFO: IMEI packet received {"connection_id":150736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":150736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:48:37] local.INFO: TCP Data received {"connection_id":150736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:37] local.INFO: Processing buffer {"connection_id":150736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:48:37] local.INFO: IMEI packet received {"connection_id":150736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":150736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:48:38] local.INFO: TCP Data received {"connection_id":150736,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bc6c90012d81e0800606d8e00013009728..."} 
[2026-08-08 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bc6c90012d81e0800606d8e00013009728..."} 
[2026-08-08 19:48:38] local.INFO: Processing buffer {"connection_id":150736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bc6c90012d81e0800606d8e00013009728..."} 
[2026-08-08 19:48:38] local.INFO: Packet analysis {"connection_id":150736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:48:38] local.INFO: Extracted packet for processing {"connection_id":150736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763486336,"raw_latitude":101112032,"longitude_deg":76.3486336,"latitude_deg":10.1112032,"altitude":19,"angle":151,"satellites":40,"speed":21,"hex_longitude":"2d81e080","hex_latitude":"0606d8e0","is_valid_coordinates":true} 
[2026-08-08 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266851840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116243989945909248,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092556515542302720,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786198650000,"timestamp_ms":1786198650000,"timestamp_seconds":1786198650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bc6c90"} 
[2026-08-08 19:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:48: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-08-08 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 19:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266851840001,"66":11874,"207":206,"87":10496,"24":21,"16":116243989945909248,"45":-9092556515542302720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,87,24,16,45]} 
[2026-08-08 19:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266851840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116243989945909248,"km_value":116243989945909.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092556515542302720,"description":"Unknown IO ID 45"} 
[2026-08-08 19:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266851840001,"power":11874,"unknown_207":206,"unknown_87":10496,"ignition":21,"odometer":null,"unknown_45":-9092556515542302720}} 
[2026-08-08 19:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":150736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:48:38] local.INFO: GPS data processed {"connection_id":150736,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:48:38] local.INFO: Acknowledgment sent {"connection_id":150736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:48:41] local.INFO: TCP Data received {"connection_id":150736,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bcb2e0012d81e5400606d000001100b429..."} 
[2026-08-08 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bcb2e0012d81e5400606d000001100b429..."} 
[2026-08-08 19:48:41] local.INFO: Processing buffer {"connection_id":150736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bcb2e0012d81e5400606d000001100b429..."} 
[2026-08-08 19:48:41] local.INFO: Packet analysis {"connection_id":150736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:48:41] local.INFO: Extracted packet for processing {"connection_id":150736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763487552,"raw_latitude":101109760,"longitude_deg":76.3487552,"latitude_deg":10.110976,"altitude":17,"angle":180,"satellites":41,"speed":1,"hex_longitude":"2d81e540","hex_latitude":"0606d000","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266854400001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116244118794928128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088123284660625408,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786198668000,"timestamp_ms":1786198668000,"timestamp_seconds":1786198668,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bcb2e0"} 
[2026-08-08 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-08-08 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 19:48:41] 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-08-08 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-08-08 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-08-08 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266854400001,"66":11787,"241":206,"87":10496,"24":1,"16":116244118794928128,"45":-9088123284660625408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266854400001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:48:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 19:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116244118794928128,"km_value":116244118794928.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088123284660625408,"description":"Unknown IO ID 45"} 
[2026-08-08 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266854400001,"power":11787,"unknown_241":206,"unknown_87":10496,"ignition":1,"odometer":null,"unknown_45":-9088123284660625408}} 
[2026-08-08 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":150736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:48:41] local.INFO: GPS data processed {"connection_id":150736,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:48:41] local.INFO: Acknowledgment sent {"connection_id":150736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:48:54] local.INFO: TCP Data received {"connection_id":153153,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bb3be0012cf294c00736e6a000a000d82a..."} 
[2026-08-08 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bb3be0012cf294c00736e6a000a000d82a..."} 
[2026-08-08 19:48:54] local.INFO: Processing buffer {"connection_id":153153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bb3be0012cf294c00736e6a000a000d82a..."} 
[2026-08-08 19:48:54] local.INFO: Packet analysis {"connection_id":153153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:48:54] local.INFO: Extracted packet for processing {"connection_id":153153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bb"} 
[2026-08-08 19:48:54] local.INFO: GPS Element Parsed {"raw_longitude":754095296,"raw_latitude":121038496,"longitude_deg":75.4095296,"latitude_deg":12.1038496,"altitude":160,"angle":216,"satellites":42,"speed":42,"hex_longitude":"2cf294c0","hex_latitude":"0736e6a0","is_valid_coordinates":true} 
[2026-08-08 19:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266832128001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375824060900179968,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-960462958293065728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786198572000,"timestamp_ms":1786198572000,"timestamp_seconds":1786198572,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bb3be0"} 
[2026-08-08 19:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 19:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266832128001,"66":27343,"49":206,"83":43776,"24":42,"16":375824060900179968,"44":-960462958293065728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,44]} 
[2026-08-08 19:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266832128001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:48:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 19:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-08 19:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375824060900179968,"km_value":375824060900179.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-960462958293065728,"description":"Unknown IO ID 44"} 
[2026-08-08 19:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266832128001,"power":27343,"unknown_49":206,"unknown_83":43776,"ignition":42,"odometer":null,"unknown_44":-960462958293065728}} 
[2026-08-08 19:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":153153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:48:54] local.INFO: GPS data processed {"connection_id":153153,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:48:54] local.INFO: Acknowledgment sent {"connection_id":153153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:49:12] local.INFO: TCP Data received {"connection_id":150736,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bcb6c8012d81e5400606cfd0001100a029..."} 
[2026-08-08 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bcb6c8012d81e5400606cfd0001100a029..."} 
[2026-08-08 19:49:12] local.INFO: Processing buffer {"connection_id":150736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bcb6c8012d81e5400606cfd0001100a029..."} 
[2026-08-08 19:49:12] local.INFO: Packet analysis {"connection_id":150736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:49:12] local.INFO: Extracted packet for processing {"connection_id":150736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bc"} 
[2026-08-08 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763487552,"raw_latitude":101109712,"longitude_deg":76.3487552,"latitude_deg":10.1109712,"altitude":17,"angle":160,"satellites":41,"speed":1,"hex_longitude":"2d81e540","hex_latitude":"0606cfd0","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266859008001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116244118794928128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086786278521831424,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786198669000,"timestamp_ms":1786198669000,"timestamp_seconds":1786198669,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bcb6c8"} 
[2026-08-08 19:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787137160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174844934,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6926049003523986047,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3149711361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1001193678,"corrected_to":0} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2818649473,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2882333448331069952,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":156,"raw_value":-475692710641008640,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6280551258425851906,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-4609989088123023616,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,241,87,24,157,16,251,159,108,45,128,216,19,40,10,66,207,69,192,240,250,7,1,26,227,225,4,113,205,20,110,139,176,239,47,173,2,156,91,206,115],"length":533,"final_offset":663,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1001193678,"validated":0}]} 
[2026-08-08 19:49:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225177186831499264,"timestamp_seconds":1225177186831499.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266859008001,"66":11787,"241":206,"87":10496,"24":1,"16":116244118794928128,"45":-9086786278521831424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266859008001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:49:12] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 19:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116244118794928128,"km_value":116244118794928.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086786278521831424,"description":"Unknown IO ID 45"} 
[2026-08-08 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266859008001,"power":11787,"unknown_241":206,"unknown_87":10496,"ignition":1,"odometer":null,"unknown_45":-9086786278521831424}} 
[2026-08-08 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":150736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:49:12] local.INFO: GPS data processed {"connection_id":150736,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:49:12] local.INFO: Acknowledgment sent {"connection_id":150736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:49:31] local.INFO: TCP Data received {"connection_id":150453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:31] local.INFO: Processing buffer {"connection_id":150453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:31] local.INFO: IMEI packet received {"connection_id":150453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":150453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:49:32] local.INFO: TCP Data received {"connection_id":150453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:32] local.INFO: Processing buffer {"connection_id":150453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:32] local.INFO: IMEI packet received {"connection_id":150453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":150453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:49:38] local.INFO: TCP Data received {"connection_id":150453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:38] local.INFO: Processing buffer {"connection_id":150453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:49:38] local.INFO: IMEI packet received {"connection_id":150453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":150453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:49:40] local.INFO: TCP Data received {"connection_id":150453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be0aa0012d81f18006056f28000c00cf21..."} 
[2026-08-08 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be0aa0012d81f18006056f28000c00cf21..."} 
[2026-08-08 19:49:40] local.INFO: Processing buffer {"connection_id":150453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be0aa0012d81f18006056f28000c00cf21..."} 
[2026-08-08 19:49:40] local.INFO: Packet analysis {"connection_id":150453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:49:40] local.INFO: Extracted packet for processing {"connection_id":150453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763490688,"raw_latitude":101019432,"longitude_deg":76.3490688,"latitude_deg":10.1019432,"altitude":12,"angle":207,"satellites":33,"speed":55,"hex_longitude":"2d81f180","hex_latitude":"06056f28","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266879744001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116248671460261888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079045716683157504,"note":"Value kept but may cause issues"} 
[2026-08-08 19:49:40] 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-08-08 19:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786198756000,"timestamp_ms":1786198756000,"timestamp_seconds":1786198756,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be0aa0"} 
[2026-08-08 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-08-08 19:49: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-08-08 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 19:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266879744001,"66":12178,"167":206,"87":10496,"24":55,"16":116248671460261888,"45":-9079045716683157504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 19:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266879744001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:49:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 19:49:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116248671460261888,"km_value":116248671460261.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079045716683157504,"description":"Unknown IO ID 45"} 
[2026-08-08 19:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266879744001,"power":12178,"unknown_167":206,"unknown_87":10496,"ignition":55,"odometer":null,"unknown_45":-9079045716683157504}} 
[2026-08-08 19:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":150453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:49:40] local.INFO: GPS data processed {"connection_id":150453,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:49:40] local.INFO: Acknowledgment sent {"connection_id":150453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:50:12] local.INFO: TCP Data received {"connection_id":150453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be25f8012d81df0006054e68000e00d21d..."} 
[2026-08-08 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be25f8012d81df0006054e68000e00d21d..."} 
[2026-08-08 19:50:12] local.INFO: Processing buffer {"connection_id":150453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be25f8012d81df0006054e68000e00d21d..."} 
[2026-08-08 19:50:12] local.INFO: Packet analysis {"connection_id":150453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:12] local.INFO: Extracted packet for processing {"connection_id":150453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763485952,"raw_latitude":101011048,"longitude_deg":76.3485952,"latitude_deg":10.1011048,"altitude":14,"angle":210,"satellites":29,"speed":54,"hex_longitude":"2d81df00","hex_latitude":"06054e68","is_valid_coordinates":true} 
[2026-08-08 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266881536001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249139611697152,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9083338210080249856,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786198763000,"timestamp_ms":1786198763000,"timestamp_seconds":1786198763,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be25f8"} 
[2026-08-08 19:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:50: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-08-08 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 19:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266881536001,"66":12135,"67":206,"87":10496,"24":54,"16":116249139611697152,"45":-9083338210080249856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,87,24,16,45]} 
[2026-08-08 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266881536001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:50:12] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 19:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249139611697152,"km_value":116249139611697.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9083338210080249856,"description":"Unknown IO ID 45"} 
[2026-08-08 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266881536001,"power":12135,"unknown_67":206,"unknown_87":10496,"ignition":54,"odometer":null,"unknown_45":-9083338210080249856}} 
[2026-08-08 19:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":150453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:50:12] local.INFO: GPS data processed {"connection_id":150453,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:50:12] local.INFO: Acknowledgment sent {"connection_id":150453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:50:24] local.INFO: TCP Data received {"connection_id":153154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:50:24] local.INFO: Processing buffer {"connection_id":153154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:50:24] local.INFO: IMEI packet received {"connection_id":153154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":153154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:50:27] local.INFO: TCP Data received {"connection_id":153154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:50:27] local.INFO: Processing buffer {"connection_id":153154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:50:27] local.INFO: IMEI packet received {"connection_id":153154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":153154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:50:28] local.INFO: TCP Data received {"connection_id":153154,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be2dc8012cf0c0800734b3d0007600df2b..."} 
[2026-08-08 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be2dc8012cf0c0800734b3d0007600df2b..."} 
[2026-08-08 19:50:28] local.INFO: Processing buffer {"connection_id":153154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be2dc8012cf0c0800734b3d0007600df2b..."} 
[2026-08-08 19:50:28] local.INFO: Packet analysis {"connection_id":153154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:28] local.INFO: Extracted packet for processing {"connection_id":153154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":753975424,"raw_latitude":120894416,"longitude_deg":75.3975424,"latitude_deg":12.0894416,"altitude":118,"angle":223,"satellites":43,"speed":40,"hex_longitude":"2cf0c080","hex_latitude":"0734b3d0","is_valid_coordinates":true} 
[2026-08-08 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266881536001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375833118986207232,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1090856241291452416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1786198765000,"timestamp_ms":1786198765000,"timestamp_seconds":1786198765,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be2dc8"} 
[2026-08-08 19:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 19:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":153154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":153154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":153154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266881536001,"66":27289,"239":206,"83":44032,"24":40,"16":375833118986207232,"44":-1090856241291452416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,83,24,16,44]} 
[2026-08-08 19:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266881536001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:50:28] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 19:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375833118986207232,"km_value":375833118986207.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1090856241291452416,"description":"Unknown IO ID 44"} 
[2026-08-08 19:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266881536001,"power":27289,"unknown_239":206,"unknown_83":44032,"ignition":40,"odometer":null,"unknown_44":-1090856241291452416}} 
[2026-08-08 19:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":153154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:50:28] local.INFO: GPS data processed {"connection_id":153154,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:50:28] local.INFO: Acknowledgment sent {"connection_id":153154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:50:31] local.INFO: TCP Data received {"connection_id":150454,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:31] local.INFO: Processing buffer {"connection_id":150454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:31] local.INFO: IMEI packet received {"connection_id":150454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":150454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:50:35] local.INFO: TCP Data received {"connection_id":150454,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:35] local.INFO: Processing buffer {"connection_id":150454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:35] local.INFO: IMEI packet received {"connection_id":150454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":150454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:50:36] local.INFO: TCP Data received {"connection_id":150454,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:36] local.INFO: Processing buffer {"connection_id":150454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:50:36] local.INFO: IMEI packet received {"connection_id":150454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:50:37] local.INFO: TCP Data received {"connection_id":150454,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be4538012d81cc0006052dd0000d00d223..."} 
[2026-08-08 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be4538012d81cc0006052dd0000d00d223..."} 
[2026-08-08 19:50:37] local.INFO: Processing buffer {"connection_id":150454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be4538012d81cc0006052dd0000d00d223..."} 
[2026-08-08 19:50:37] local.INFO: Packet analysis {"connection_id":150454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:37] local.INFO: Extracted packet for processing {"connection_id":150454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763481088,"raw_latitude":101002704,"longitude_deg":76.3481088,"latitude_deg":10.1002704,"altitude":13,"angle":210,"satellites":35,"speed":38,"hex_longitude":"2d81cc00","hex_latitude":"06052dd0","is_valid_coordinates":true} 
[2026-08-08 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266883328001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249603468165120,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088545497151543296,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786198771000,"timestamp_ms":1786198771000,"timestamp_seconds":1786198771,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be4538"} 
[2026-08-08 19:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 19:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266883328001,"66":11798,"67":206,"87":10496,"24":38,"16":116249603468165120,"45":-9088545497151543296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,87,24,16,45]} 
[2026-08-08 19:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266883328001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:50:37] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-08 19:50:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249603468165120,"km_value":116249603468165.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088545497151543296,"description":"Unknown IO ID 45"} 
[2026-08-08 19:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266883328001,"power":11798,"unknown_67":206,"unknown_87":10496,"ignition":38,"odometer":null,"unknown_45":-9088545497151543296}} 
[2026-08-08 19:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":150454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:50:37] local.INFO: GPS data processed {"connection_id":150454,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:50:37] local.INFO: Acknowledgment sent {"connection_id":150454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:50:42] local.INFO: TCP Data received {"connection_id":150454,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be9358012d81c1c006051cc8000d00d120..."} 
[2026-08-08 19:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be9358012d81c1c006051cc8000d00d120..."} 
[2026-08-08 19:50:42] local.INFO: Processing buffer {"connection_id":150454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be9358012d81c1c006051cc8000d00d120..."} 
[2026-08-08 19:50:42] local.INFO: Packet analysis {"connection_id":150454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:42] local.INFO: Extracted packet for processing {"connection_id":150454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":100998344,"longitude_deg":76.3478464,"latitude_deg":10.0998344,"altitude":13,"angle":209,"satellites":32,"speed":0,"hex_longitude":"2d81c1c0","hex_latitude":"06051cc8","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266885376001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249861166202880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093893521711181824,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786198791000,"timestamp_ms":1786198791000,"timestamp_seconds":1786198791,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be9358"} 
[2026-08-08 19:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787298160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184149975245,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3184783361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3030908943,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1101463758,"corrected_to":0} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2952867202,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":156,"raw_value":-154529762214150144,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6280551258427097090,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":22,"raw_value":1695604098995456,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2810296745014069760,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":124,"raw_value":57774560049518377,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":189,"raw_value":6264508376639684614,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.WARNING: Large IO value detected {"io_id":6,"raw_value":5219672066917672448,"note":"Value kept but may cause issues"} 
[2026-08-08 19:50:42] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,67,87,24,241,157,16,159,37,45,78,14,29,10,66,255,128,111,12,33,167,239,192,1,240,227,225,5,4,113,205,53,180,20,152,35,47,168,2,156,91,206,22,174,124,189,6],"length":632,"final_offset":762,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1101463758,"validated":0}]} 
[2026-08-08 19:50:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936979770261241856,"timestamp_seconds":936979770261241.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266885376001,"66":12037,"69":206,"87":10496,"24":0,"16":116249861166202880,"45":-9093893521711181824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-08-08 19:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266885376001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:50:42] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 19:50:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249861166202880,"km_value":116249861166202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093893521711181824,"description":"Unknown IO ID 45"} 
[2026-08-08 19:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266885376001,"power":12037,"unknown_69":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9093893521711181824}} 
[2026-08-08 19:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":150454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:50:42] local.INFO: GPS data processed {"connection_id":150454,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:50:42] local.INFO: Acknowledgment sent {"connection_id":150454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:51:03] local.INFO: TCP Data received {"connection_id":150455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:03] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:03] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:51:04] local.INFO: TCP Data received {"connection_id":150455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:04] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:04] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:51:09] local.INFO: TCP Data received {"connection_id":150455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:09] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:51:09] local.INFO: IMEI packet received {"connection_id":150455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":150455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:51:10] local.INFO: TCP Data received {"connection_id":150455,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be3980012cf0b9400734a9c0007300d02a..."} 
[2026-08-08 19:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be3980012cf0b9400734a9c0007300d02a..."} 
[2026-08-08 19:51:10] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be3980012cf0b9400734a9c0007300d02a..."} 
[2026-08-08 19:51:10] local.INFO: Packet analysis {"connection_id":150455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:51:10] local.INFO: Extracted packet for processing {"connection_id":150455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:51:10] local.INFO: GPS Element Parsed {"raw_longitude":753973568,"raw_latitude":120891840,"longitude_deg":75.3973568,"latitude_deg":12.089184,"altitude":115,"angle":208,"satellites":42,"speed":44,"hex_longitude":"2cf0b940","hex_latitude":"0734a9c0","is_valid_coordinates":true} 
[2026-08-08 19:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266883840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375833273605029888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1098737540641075200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198768000,"timestamp_ms":1786198768000,"timestamp_seconds":1786198768,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be3980"} 
[2026-08-08 19:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-08 19:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266883840001,"66":27343,"239":206,"83":44032,"24":44,"16":375833273605029888,"44":-1098737540641075200},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,83,24,16,44]} 
[2026-08-08 19:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266883840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:51:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 19:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375833273605029888,"km_value":375833273605029.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1098737540641075200,"description":"Unknown IO ID 44"} 
[2026-08-08 19:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266883840001,"power":27343,"unknown_239":206,"unknown_83":44032,"ignition":44,"odometer":null,"unknown_44":-1098737540641075200}} 
[2026-08-08 19:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":150455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:51:10] local.INFO: GPS data processed {"connection_id":150455,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:51:10] local.INFO: Acknowledgment sent {"connection_id":150455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:51:13] local.INFO: TCP Data received {"connection_id":150454,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bee560012d81c1c006051cc8000d00d125..."} 
[2026-08-08 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bee560012d81c1c006051cc8000d00d125..."} 
[2026-08-08 19:51:13] local.INFO: Processing buffer {"connection_id":150454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bee560012d81c1c006051cc8000d00d125..."} 
[2026-08-08 19:51:13] local.INFO: Packet analysis {"connection_id":150454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:51:13] local.INFO: Extracted packet for processing {"connection_id":150454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":100998344,"longitude_deg":76.3478464,"latitude_deg":10.0998344,"altitude":13,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d81c1c0","hex_latitude":"06051cc8","is_valid_coordinates":true} 
[2026-08-08 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266890496001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249861166202880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778640223582208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786198812000,"timestamp_ms":1786198812000,"timestamp_seconds":1786198812,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bee560"} 
[2026-08-08 19:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3170534137836602368,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194824960,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787306160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181087238,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3186575361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2442133517,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4731032294778273816,"corrected_to":0} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4026609026,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":156,"raw_value":4273340416,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.WARNING: Large IO value detected {"io_id":6,"raw_value":422098116175510307,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,69,87,24,241,157,16,159,45,13,35,10,66,67,37,78,14,29,255,128,1,240,146,227,225,5,4,113,205,54,211,12,168,36,239,47,167,2,156,6],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":4731032294778273816,"validated":0}]} 
[2026-08-08 19:51:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936978657862221824,"timestamp_seconds":936978657862221.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266890496001,"66":11721,"69":206,"87":10496,"24":0,"16":116249861166202880,"45":-9096778640223582208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-08-08 19:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266890496001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:51:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 19:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249861166202880,"km_value":116249861166202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778640223582208,"description":"Unknown IO ID 45"} 
[2026-08-08 19:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266890496001,"power":11721,"unknown_69":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9096778640223582208}} 
[2026-08-08 19:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":150454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:51:13] local.INFO: GPS data processed {"connection_id":150454,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:51:13] local.INFO: Acknowledgment sent {"connection_id":150454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:51:31] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:31] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:31] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:51:34] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:34] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:34] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:51:36] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:36] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:51:36] local.INFO: IMEI packet received {"connection_id":151676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":151676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:51:37] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bf3768012d81c1c006051cc8000d00d126..."} 
[2026-08-08 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bf3768012d81c1c006051cc8000d00d126..."} 
[2026-08-08 19:51:37] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bf3768012d81c1c006051cc8000d00d126..."} 
[2026-08-08 19:51:37] local.INFO: Packet analysis {"connection_id":151676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:51:37] local.INFO: Extracted packet for processing {"connection_id":151676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":100998344,"longitude_deg":76.3478464,"latitude_deg":10.0998344,"altitude":13,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d81c1c0","hex_latitude":"06051cc8","is_valid_coordinates":true} 
[2026-08-08 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266895872001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249861166202880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778640223582208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786198833000,"timestamp_ms":1786198833000,"timestamp_seconds":1786198833,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bf3768"} 
[2026-08-08 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266895872001,"66":12037,"68":206,"87":10496,"24":0,"16":116249861166202880,"45":-9096778640223582208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,87,24,16,45]} 
[2026-08-08 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266895872001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:51:37] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 19:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249861166202880,"km_value":116249861166202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778640223582208,"description":"Unknown IO ID 45"} 
[2026-08-08 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266895872001,"power":12037,"unknown_68":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9096778640223582208}} 
[2026-08-08 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":151676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:51:37] local.INFO: GPS data processed {"connection_id":151676,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:51:37] local.INFO: Acknowledgment sent {"connection_id":151676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:51:41] local.INFO: TCP Data received {"connection_id":150455,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1be4d08012cf0b180073494c8006f00c42b..."} 
[2026-08-08 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1be4d08012cf0b180073494c8006f00c42b..."} 
[2026-08-08 19:51:41] local.INFO: Processing buffer {"connection_id":150455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1be4d08012cf0b180073494c8006f00c42b..."} 
[2026-08-08 19:51:41] local.INFO: Packet analysis {"connection_id":150455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:51:41] local.INFO: Extracted packet for processing {"connection_id":150455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1be"} 
[2026-08-08 19:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753971584,"raw_latitude":120886472,"longitude_deg":75.3971584,"latitude_deg":12.0886472,"altitude":111,"angle":196,"satellites":43,"speed":45,"hex_longitude":"2cf0b180","hex_latitude":"073494c8","is_valid_coordinates":true} 
[2026-08-08 19:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266884608001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375833552777904128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1100778234222886912,"note":"Value kept but may cause issues"} 
[2026-08-08 19:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786198773000,"timestamp_ms":1786198773000,"timestamp_seconds":1786198773,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1be4d08"} 
[2026-08-08 19:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 19:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266884608001,"66":27365,"239":206,"83":44032,"24":45,"16":375833552777904128,"44":-1100778234222886912},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,83,24,16,44]} 
[2026-08-08 19:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266884608001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:51:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 19:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375833552777904128,"km_value":375833552777904.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1100778234222886912,"description":"Unknown IO ID 44"} 
[2026-08-08 19:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266884608001,"power":27365,"unknown_239":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1100778234222886912}} 
[2026-08-08 19:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":150455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:51:41] local.INFO: GPS data processed {"connection_id":150455,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:51:41] local.INFO: Acknowledgment sent {"connection_id":150455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:52:09] local.INFO: TCP Data received {"connection_id":151676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bf8970012d81c1c006051cc8000d00d125..."} 
[2026-08-08 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bf8970012d81c1c006051cc8000d00d125..."} 
[2026-08-08 19:52:09] local.INFO: Processing buffer {"connection_id":151676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bf8970012d81c1c006051cc8000d00d125..."} 
[2026-08-08 19:52:09] local.INFO: Packet analysis {"connection_id":151676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:52:09] local.INFO: Extracted packet for processing {"connection_id":151676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":100998344,"longitude_deg":76.3478464,"latitude_deg":10.0998344,"altitude":13,"angle":209,"satellites":37,"speed":0,"hex_longitude":"2d81c1c0","hex_latitude":"06051cc8","is_valid_coordinates":true} 
[2026-08-08 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266901248001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249861166202880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778640223582208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786198854000,"timestamp_ms":1786198854000,"timestamp_seconds":1786198854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bf8970"} 
[2026-08-08 19:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3891110078215881728,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2147878255,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787321160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2178875398,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3190159361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4730750819801563160,"corrected_to":0} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526081,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":156,"raw_value":4287430656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.WARNING: Large IO value detected {"io_id":6,"raw_value":401260171705239333,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,68,87,24,241,157,16,159,229,45,192,28,13,37,10,66,69,147,32,1,240,22,227,225,5,4,113,205,54,40,33,239,47,167,2,156,6],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":4730750819801563160,"validated":0}]} 
[2026-08-08 19:52:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936978683632025600,"timestamp_seconds":936978683632025.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266901248001,"66":12004,"68":206,"87":10496,"24":0,"16":116249861166202880,"45":-9096778640223582208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,87,24,16,45]} 
[2026-08-08 19:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266901248001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:52:09] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 19:52:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249861166202880,"km_value":116249861166202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778640223582208,"description":"Unknown IO ID 45"} 
[2026-08-08 19:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266901248001,"power":12004,"unknown_68":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9096778640223582208}} 
[2026-08-08 19:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":151676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:52:09] local.INFO: GPS data processed {"connection_id":151676,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:52:09] local.INFO: Acknowledgment sent {"connection_id":151676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:52:13] local.INFO: TCP Data received {"connection_id":150738,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:52:13] local.INFO: Processing buffer {"connection_id":150738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:52:13] local.INFO: IMEI packet received {"connection_id":150738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":150738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:52:14] local.INFO: TCP Data received {"connection_id":150738,"ip":"42.106.6.30","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150738,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 19:52:14] local.INFO: Processing buffer {"connection_id":150738,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 19:52:14] local.INFO: IMEI packet received {"connection_id":150738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":150738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:52:31] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:31] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:31] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:52:39] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:39] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:39] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:52:40] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:40] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:40] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:52:41] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:41] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:52:41] local.INFO: IMEI packet received {"connection_id":151677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":151677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:52:42] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bfdb78012d81c1c006051cc8000d00d127..."} 
[2026-08-08 19:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bfdb78012d81c1c006051cc8000d00d127..."} 
[2026-08-08 19:52:42] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bfdb78012d81c1c006051cc8000d00d127..."} 
[2026-08-08 19:52:42] local.INFO: Packet analysis {"connection_id":151677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:52:42] local.INFO: Extracted packet for processing {"connection_id":151677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763478464,"raw_latitude":100998344,"longitude_deg":76.3478464,"latitude_deg":10.0998344,"altitude":13,"angle":209,"satellites":39,"speed":0,"hex_longitude":"2d81c1c0","hex_latitude":"06051cc8","is_valid_coordinates":true} 
[2026-08-08 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266906624001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116249861166202880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096778640223582208,"note":"Value kept but may cause issues"} 
[2026-08-08 19:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786198875000,"timestamp_ms":1786198875000,"timestamp_seconds":1786198875,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bfdb78"} 
[2026-08-08 19:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 19:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266906624001,"66":12058,"69":206,"87":10496,"24":0,"16":116249861166202880,"45":-9096778640223582208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-08-08 19:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266906624001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:52:42] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-08 19:52:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116249861166202880,"km_value":116249861166202.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096778640223582208,"description":"Unknown IO ID 45"} 
[2026-08-08 19:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266906624001,"power":12058,"unknown_69":206,"unknown_87":10496,"ignition":0,"odometer":null,"unknown_45":-9096778640223582208}} 
[2026-08-08 19:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":151677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:52:42] local.INFO: GPS data processed {"connection_id":151677,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:52:42] local.INFO: Acknowledgment sent {"connection_id":151677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:53:14] local.INFO: TCP Data received {"connection_id":151677,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c14e90012d813f8006039f78000b00d226..."} 
[2026-08-08 19:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c14e90012d813f8006039f78000b00d226..."} 
[2026-08-08 19:53:14] local.INFO: Processing buffer {"connection_id":151677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c14e90012d813f8006039f78000b00d226..."} 
[2026-08-08 19:53:14] local.INFO: Packet analysis {"connection_id":151677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:14] local.INFO: Extracted packet for processing {"connection_id":151677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763445120,"raw_latitude":100900728,"longitude_deg":76.344512,"latitude_deg":10.0900728,"altitude":11,"angle":210,"satellites":38,"speed":50,"hex_longitude":"2d813f80","hex_latitude":"06039f78","is_valid_coordinates":true} 
[2026-08-08 19:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266934528001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116254912047742976,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128585312614868992,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786198970000,"timestamp_ms":1786198970000,"timestamp_seconds":1786198970,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c14e90"} 
[2026-08-08 19:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787488160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173419526,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3233679361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1095041230,"corrected_to":0} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3355520385,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288129,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,24,87,241,157,16,4,159,23,45,222,13,39,10,66,252,253,14,36,221,128,1,240,70,227,3,225,113,205,48,158,147,31,239,46,69,2],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1095041230,"validated":0}]} 
[2026-08-08 19:53:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936978679340466176,"timestamp_seconds":936978679340466.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266934528001,"66":12058,"192":206,"87":10496,"24":50,"16":116254912047742976,"45":-9128585312614868992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-08 19:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266934528001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:53:14] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 19:53:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116254912047742976,"km_value":116254912047742.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128585312614868992,"description":"Unknown IO ID 45"} 
[2026-08-08 19:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266934528001,"power":12058,"unknown_192":206,"unknown_87":10496,"ignition":50,"odometer":null,"unknown_45":-9128585312614868992}} 
[2026-08-08 19:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":151677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:53:14] local.INFO: GPS data processed {"connection_id":151677,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:53:14] local.INFO: Acknowledgment sent {"connection_id":151677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:53:16] local.INFO: TCP Data received {"connection_id":150740,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:16] local.INFO: Processing buffer {"connection_id":150740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:16] local.INFO: IMEI packet received {"connection_id":150740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":150740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:53:20] local.INFO: TCP Data received {"connection_id":150740,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:20] local.INFO: Processing buffer {"connection_id":150740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:20] local.INFO: IMEI packet received {"connection_id":150740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":150740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:53:24] local.INFO: TCP Data received {"connection_id":150740,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:24] local.INFO: Processing buffer {"connection_id":150740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:53:24] local.INFO: IMEI packet received {"connection_id":150740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":150740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:53:25] local.INFO: TCP Data received {"connection_id":150740,"ip":"117.224.47.213","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1bfd790012d19cec007201858002f00722b..."} 
[2026-08-08 19:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1bfd790012d19cec007201858002f00722b..."} 
[2026-08-08 19:53:25] local.INFO: Processing buffer {"connection_id":150740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1bfd790012d19cec007201858002f00722b..."} 
[2026-08-08 19:53:25] local.INFO: Packet analysis {"connection_id":150740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:53:25] local.INFO: Extracted packet for processing {"connection_id":150740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1bf"} 
[2026-08-08 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266906368001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786198874000,"timestamp_ms":1786198874000,"timestamp_seconds":1786198874,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1bfd790"} 
[2026-08-08 19:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-08 19:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.47.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266906368001,"66":12776,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.47.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266906368001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:53:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:53:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266906368001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":150740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:53:25] local.INFO: GPS data processed {"connection_id":150740,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:53:25] local.INFO: Acknowledgment sent {"connection_id":150740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:53:30] local.INFO: TCP Data received {"connection_id":150740,"ip":"117.224.47.213","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c02998012d19cec007201858002f00722b..."} 
[2026-08-08 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c02998012d19cec007201858002f00722b..."} 
[2026-08-08 19:53:30] local.INFO: Processing buffer {"connection_id":150740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c02998012d19cec007201858002f00722b..."} 
[2026-08-08 19:53:30] local.INFO: Packet analysis {"connection_id":150740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c0"} 
[2026-08-08 19:53:30] local.INFO: Extracted packet for processing {"connection_id":150740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c0"} 
[2026-08-08 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266911744001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:30] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-08 19:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786198895000,"timestamp_ms":1786198895000,"timestamp_seconds":1786198895,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c02998"} 
[2026-08-08 19:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-08 19:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19: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-08-08 19:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":150740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":150740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":150740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.47.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266911744001,"66":12711,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.47.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-08 19:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266911744001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:53:30] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457266911744001,"power":12711,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":150740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:53:30] local.INFO: GPS data processed {"connection_id":150740,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:53:30] local.INFO: Acknowledgment sent {"connection_id":150740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:53:36] local.INFO: TCP Data received {"connection_id":150456,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:36] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:36] local.INFO: IMEI packet received {"connection_id":150456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":150456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:53:37] local.INFO: TCP Data received {"connection_id":150456,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:37] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:37] local.INFO: IMEI packet received {"connection_id":150456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":150456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:53:42] local.INFO: TCP Data received {"connection_id":150456,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:42] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:53:42] local.INFO: IMEI packet received {"connection_id":150456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":150456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:53:45] local.INFO: TCP Data received {"connection_id":150456,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c16dd0012d812dc006037ee8000a00d226..."} 
[2026-08-08 19:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c16dd0012d812dc006037ee8000a00d226..."} 
[2026-08-08 19:53:45] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c16dd0012d812dc006037ee8000a00d226..."} 
[2026-08-08 19:53:45] local.INFO: Packet analysis {"connection_id":150456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:45] local.INFO: Extracted packet for processing {"connection_id":150456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763440576,"raw_latitude":100892392,"longitude_deg":76.3440576,"latitude_deg":10.0892392,"altitude":10,"angle":210,"satellites":38,"speed":41,"hex_longitude":"2d812dc0","hex_latitude":"06037ee8","is_valid_coordinates":true} 
[2026-08-08 19:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266936320001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116255371609243648,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133440755965134848,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786198978000,"timestamp_ms":1786198978000,"timestamp_seconds":1786198978,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c16dd0"} 
[2026-08-08 19:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266936320001,"66":11895,"192":206,"87":10496,"24":41,"16":116255371609243648,"45":-9133440755965134848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-08 19:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266936320001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:53:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 19:53:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116255371609243648,"km_value":116255371609243.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133440755965134848,"description":"Unknown IO ID 45"} 
[2026-08-08 19:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266936320001,"power":11895,"unknown_192":206,"unknown_87":10496,"ignition":41,"odometer":null,"unknown_45":-9133440755965134848}} 
[2026-08-08 19:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":150456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:53:45] local.INFO: GPS data processed {"connection_id":150456,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:53:45] local.INFO: Acknowledgment sent {"connection_id":150456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:53:49] local.INFO: TCP Data received {"connection_id":150456,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c190f8012d811a8006035f28000800d227..."} 
[2026-08-08 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c190f8012d811a8006035f28000800d227..."} 
[2026-08-08 19:53:49] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c190f8012d811a8006035f28000800d227..."} 
[2026-08-08 19:53:49] local.INFO: Packet analysis {"connection_id":150456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:49] local.INFO: Extracted packet for processing {"connection_id":150456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:49] local.INFO: GPS Element Parsed {"raw_longitude":763435648,"raw_latitude":100884264,"longitude_deg":76.3435648,"latitude_deg":10.0884264,"altitude":8,"angle":210,"satellites":39,"speed":45,"hex_longitude":"2d811a80","hex_latitude":"06035f28","is_valid_coordinates":true} 
[2026-08-08 19:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266938368001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116255831170744320,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138436936803883008,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786198987000,"timestamp_ms":1786198987000,"timestamp_seconds":1786198987,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c190f8"} 
[2026-08-08 19:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 19:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266938368001,"66":12156,"192":206,"87":10496,"24":45,"16":116255831170744320,"45":-9138436936803883008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-08 19:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266938368001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:53:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 19:53:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116255831170744320,"km_value":116255831170744.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138436936803883008,"description":"Unknown IO ID 45"} 
[2026-08-08 19:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266938368001,"power":12156,"unknown_192":206,"unknown_87":10496,"ignition":45,"odometer":null,"unknown_45":-9138436936803883008}} 
[2026-08-08 19:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":150456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:53:49] local.INFO: GPS data processed {"connection_id":150456,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:53:49] local.INFO: Acknowledgment sent {"connection_id":150456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:53:52] local.INFO: TCP Data received {"connection_id":150456,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c1b038012d81080006034028000700d121..."} 
[2026-08-08 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c1b038012d81080006034028000700d121..."} 
[2026-08-08 19:53:52] local.INFO: Processing buffer {"connection_id":150456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c1b038012d81080006034028000700d121..."} 
[2026-08-08 19:53:52] local.INFO: Packet analysis {"connection_id":150456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:52] local.INFO: Extracted packet for processing {"connection_id":150456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763430912,"raw_latitude":100876328,"longitude_deg":76.3430912,"latitude_deg":10.0876328,"altitude":7,"angle":209,"satellites":33,"speed":43,"hex_longitude":"2d810800","hex_latitude":"06034028","is_valid_coordinates":true} 
[2026-08-08 19:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266940672001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116256277847343104,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143855330107643904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786198995000,"timestamp_ms":1786198995000,"timestamp_seconds":1786198995,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c1b038"} 
[2026-08-08 19:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266940672001,"66":12037,"192":206,"87":10496,"24":43,"16":116256277847343104,"45":-9143855330107643904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-08 19:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266940672001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:53:52] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 19:53:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116256277847343104,"km_value":116256277847343.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143855330107643904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266940672001,"power":12037,"unknown_192":206,"unknown_87":10496,"ignition":43,"odometer":null,"unknown_45":-9143855330107643904}} 
[2026-08-08 19:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":150456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:53:52] local.INFO: GPS data processed {"connection_id":150456,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:53:52] local.INFO: Acknowledgment sent {"connection_id":150456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:54:05] local.INFO: TCP Data received {"connection_id":153155,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:54:05] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:54:05] local.INFO: IMEI packet received {"connection_id":153155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":153155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:54:09] local.INFO: TCP Data received {"connection_id":153155,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:54:09] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:54:09] local.INFO: IMEI packet received {"connection_id":153155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":153155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:54:10] local.INFO: TCP Data received {"connection_id":153155,"ip":"117.224.47.213","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c07ba0012d19cec007201858002f00722a..."} 
[2026-08-08 19:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c07ba0012d19cec007201858002f00722a..."} 
[2026-08-08 19:54:10] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c07ba0012d19cec007201858002f00722a..."} 
[2026-08-08 19:54:10] local.INFO: Packet analysis {"connection_id":153155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c0"} 
[2026-08-08 19:54:10] local.INFO: Extracted packet for processing {"connection_id":153155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c0"} 
[2026-08-08 19:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266917120001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786198916000,"timestamp_ms":1786198916000,"timestamp_seconds":1786198916,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c07ba0"} 
[2026-08-08 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-08-08 19:54: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-08-08 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-08 19:54: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-08-08 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-08-08 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-08-08 19:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.47.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266917120001,"66":12743,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.47.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266917120001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:54:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266917120001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":153155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:54:10] local.INFO: GPS data processed {"connection_id":153155,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:54:10] local.INFO: Acknowledgment sent {"connection_id":153155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:54:15] local.INFO: TCP Data received {"connection_id":153155,"ip":"117.224.47.213","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c0cda8012d19cec007201858002f007229..."} 
[2026-08-08 19:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c0cda8012d19cec007201858002f007229..."} 
[2026-08-08 19:54:15] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c0cda8012d19cec007201858002f007229..."} 
[2026-08-08 19:54:15] local.INFO: Packet analysis {"connection_id":153155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c0"} 
[2026-08-08 19:54:15] local.INFO: Extracted packet for processing {"connection_id":153155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c0"} 
[2026-08-08 19:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":41,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266922496001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786198937000,"timestamp_ms":1786198937000,"timestamp_seconds":1786198937,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c0cda8"} 
[2026-08-08 19:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:54: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-08-08 19:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-08 19:54: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-08-08 19:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.47.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266922496001,"66":12678,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.47.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266922496001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:54:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266922496001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":153155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:54:15] local.INFO: GPS data processed {"connection_id":153155,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:54:15] local.INFO: Acknowledgment sent {"connection_id":153155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:54:31] local.INFO: TCP Data received {"connection_id":150741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:31] local.INFO: Processing buffer {"connection_id":150741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:31] local.INFO: IMEI packet received {"connection_id":150741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":150741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:54:32] local.INFO: TCP Data received {"connection_id":150741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:32] local.INFO: Processing buffer {"connection_id":150741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:32] local.INFO: IMEI packet received {"connection_id":150741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":150741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:54:36] local.INFO: TCP Data received {"connection_id":150741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:36] local.INFO: Processing buffer {"connection_id":150741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:54:36] local.INFO: IMEI packet received {"connection_id":150741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:54:37] local.INFO: TCP Data received {"connection_id":150741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c1d748012d80f44006032058000600d121..."} 
[2026-08-08 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c1d748012d80f44006032058000600d121..."} 
[2026-08-08 19:54:37] local.INFO: Processing buffer {"connection_id":150741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c1d748012d80f44006032058000600d121..."} 
[2026-08-08 19:54:37] local.INFO: Packet analysis {"connection_id":150741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:54:37] local.INFO: Extracted packet for processing {"connection_id":150741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763425856,"raw_latitude":100868184,"longitude_deg":76.3425856,"latitude_deg":10.0868184,"altitude":6,"angle":209,"satellites":33,"speed":35,"hex_longitude":"2d80f440","hex_latitude":"06032058","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266942720001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116256741703811072,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149062617178822656,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199005000,"timestamp_ms":1786199005000,"timestamp_seconds":1786199005,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c1d748"} 
[2026-08-08 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-08-08 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3530822108026242048,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":6,"raw_value":287491504572779300,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787521160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169552902,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3241359361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3189243917,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4258154333904371736,"corrected_to":0} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3758173569,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495739,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194752768,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,192,87,24,241,157,16,6,159,144,45,128,95,8,39,10,66,109,126,38,5,78,1,240,26,227,225,3,4,113,205,52,23,99,239,47,2,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":4258154333904371736,"validated":0}]} 
[2026-08-08 19:54:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504633097932439552,"timestamp_seconds":504633097932439.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266942720001,"66":12178,"192":206,"87":10496,"24":35,"16":116256741703811072,"45":-9149062617178822656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-08 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266942720001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:54:37] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-08 19:54:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116256741703811072,"km_value":116256741703811.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149062617178822656,"description":"Unknown IO ID 45"} 
[2026-08-08 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266942720001,"power":12178,"unknown_192":206,"unknown_87":10496,"ignition":35,"odometer":null,"unknown_45":-9149062617178822656}} 
[2026-08-08 19:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":150741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:54:38] local.INFO: GPS data processed {"connection_id":150741,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:54:38] local.INFO: Acknowledgment sent {"connection_id":150741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:54:41] local.INFO: TCP Data received {"connection_id":150741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c1fe58012d80e200060300d0000700d21e..."} 
[2026-08-08 19:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c1fe58012d80e200060300d0000700d21e..."} 
[2026-08-08 19:54:41] local.INFO: Processing buffer {"connection_id":150741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c1fe58012d80e200060300d0000700d21e..."} 
[2026-08-08 19:54:41] local.INFO: Packet analysis {"connection_id":150741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:54:41] local.INFO: Extracted packet for processing {"connection_id":150741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763421184,"raw_latitude":100860112,"longitude_deg":76.3421184,"latitude_deg":10.0860112,"altitude":7,"angle":210,"satellites":30,"speed":40,"hex_longitude":"2d80e200","hex_latitude":"060300d0","is_valid_coordinates":true} 
[2026-08-08 19:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266945280001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116257192675377152,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9154621747970942976,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199015000,"timestamp_ms":1786199015000,"timestamp_seconds":1786199015,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c1fe58"} 
[2026-08-08 19:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 19:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266945280001,"66":12058,"193":206,"87":10496,"24":40,"16":116257192675377152,"45":-9154621747970942976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-08-08 19:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266945280001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:54:41] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 19:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116257192675377152,"km_value":116257192675377.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9154621747970942976,"description":"Unknown IO ID 45"} 
[2026-08-08 19:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266945280001,"power":12058,"unknown_193":206,"unknown_87":10496,"ignition":40,"odometer":null,"unknown_45":-9154621747970942976}} 
[2026-08-08 19:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":150741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:54:41] local.INFO: GPS data processed {"connection_id":150741,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:54:41] local.INFO: Acknowledgment sent {"connection_id":150741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:54:47] local.INFO: TCP Data received {"connection_id":153155,"ip":"117.224.47.213","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c11fb0012d19cec007201858002f00722c..."} 
[2026-08-08 19:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c11fb0012d19cec007201858002f00722c..."} 
[2026-08-08 19:54:47] local.INFO: Processing buffer {"connection_id":153155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c11fb0012d19cec007201858002f00722c..."} 
[2026-08-08 19:54:47] local.INFO: Packet analysis {"connection_id":153155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:54:47] local.INFO: Extracted packet for processing {"connection_id":153155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266927872001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786198958000,"timestamp_ms":1786198958000,"timestamp_seconds":1786198958,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c11fb0"} 
[2026-08-08 19:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:54: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-08-08 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 19:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.47.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266927872001,"66":12667,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.47.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266927872001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:54:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:54:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266927872001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":153155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:54:47] local.INFO: GPS data processed {"connection_id":153155,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:54:47] local.INFO: Acknowledgment sent {"connection_id":153155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:55:01] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:01] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:01] local.INFO: IMEI packet received {"connection_id":150457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":150457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:55:04] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:04] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:04] local.INFO: IMEI packet received {"connection_id":150457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":150457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:55:10] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.47.213","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:10] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:10] local.INFO: IMEI packet received {"connection_id":150457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":150457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:55:11] local.INFO: TCP Data received {"connection_id":150457,"ip":"117.224.47.213","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c171b8012d19cec007201858002f007229..."} 
[2026-08-08 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c171b8012d19cec007201858002f007229..."} 
[2026-08-08 19:55:11] local.INFO: Processing buffer {"connection_id":150457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c171b8012d19cec007201858002f007229..."} 
[2026-08-08 19:55:11] local.INFO: Packet analysis {"connection_id":150457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:55:11] local.INFO: Extracted packet for processing {"connection_id":150457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c1"} 
[2026-08-08 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":41,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266933248001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786198979000,"timestamp_ms":1786198979000,"timestamp_seconds":1786198979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c171b8"} 
[2026-08-08 19:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:55: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-08-08 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-08 19:55: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-08-08 19:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.47.213","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266933248001,"66":12711,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.47.213","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266933248001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:55:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266933248001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":150457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:55:11] local.INFO: GPS data processed {"connection_id":150457,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:55:11] local.INFO: Acknowledgment sent {"connection_id":150457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:55:21] local.INFO: TCP Data received {"connection_id":150741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c21d98012d80d0400602e1d8000800d025..."} 
[2026-08-08 19:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c21d98012d80d0400602e1d8000800d025..."} 
[2026-08-08 19:55:21] local.INFO: Processing buffer {"connection_id":150741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c21d98012d80d0400602e1d8000800d025..."} 
[2026-08-08 19:55:21] local.INFO: Packet analysis {"connection_id":150741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c2"} 
[2026-08-08 19:55:21] local.INFO: Extracted packet for processing {"connection_id":150741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c2"} 
[2026-08-08 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763416640,"raw_latitude":100852184,"longitude_deg":76.341664,"latitude_deg":10.0852184,"altitude":8,"angle":208,"satellites":37,"speed":48,"hex_longitude":"2d80d040","hex_latitude":"0602e1d8","is_valid_coordinates":true} 
[2026-08-08 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266947840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116257630762041344,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159758666297978880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786199023000,"timestamp_ms":1786199023000,"timestamp_seconds":1786199023,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c21d98"} 
[2026-08-08 19:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 19:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266947840001,"66":12287,"193":206,"87":10496,"24":48,"16":116257630762041344,"45":-9159758666297978880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,87,24,16,45]} 
[2026-08-08 19:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266947840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:55:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 19:55:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116257630762041344,"km_value":116257630762041.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159758666297978880,"description":"Unknown IO ID 45"} 
[2026-08-08 19:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266947840001,"power":12287,"unknown_193":206,"unknown_87":10496,"ignition":48,"odometer":null,"unknown_45":-9159758666297978880}} 
[2026-08-08 19:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":150741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:55:21] local.INFO: GPS data processed {"connection_id":150741,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:55:21] local.INFO: Acknowledgment sent {"connection_id":150741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:55:41] local.INFO: TCP Data received {"connection_id":150459,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:41] local.INFO: Processing buffer {"connection_id":150459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:41] local.INFO: IMEI packet received {"connection_id":150459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":150459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:55:42] local.INFO: TCP Data received {"connection_id":150459,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:42] local.INFO: Processing buffer {"connection_id":150459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:42] local.INFO: IMEI packet received {"connection_id":150459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":150459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:55:46] local.INFO: TCP Data received {"connection_id":150459,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:46] local.INFO: Processing buffer {"connection_id":150459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:55:46] local.INFO: IMEI packet received {"connection_id":150459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":150459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:55:47] local.INFO: TCP Data received {"connection_id":150459,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c37558012d801b0006017c80000a00e128..."} 
[2026-08-08 19:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c37558012d801b0006017c80000a00e128..."} 
[2026-08-08 19:55:47] local.INFO: Processing buffer {"connection_id":150459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c37558012d801b0006017c80000a00e128..."} 
[2026-08-08 19:55:47] local.INFO: Packet analysis {"connection_id":150459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:55:47] local.INFO: Extracted packet for processing {"connection_id":150459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763370240,"raw_latitude":100760704,"longitude_deg":76.337024,"latitude_deg":10.0760704,"altitude":10,"angle":225,"satellites":40,"speed":52,"hex_longitude":"2d801b00","hex_latitude":"06017c80","is_valid_coordinates":true} 
[2026-08-08 19:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266970368001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116262634398941184,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207890887339139072,"note":"Value kept but may cause issues"} 
[2026-08-08 19:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786199111000,"timestamp_ms":1786199111000,"timestamp_seconds":1786199111,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c37558"} 
[2026-08-08 19:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 19:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266970368001,"66":12156,"169":206,"87":10496,"24":52,"16":116262634398941184,"45":-9207890887339139072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-08 19:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266970368001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:55:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 19:55:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116262634398941184,"km_value":116262634398941.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207890887339139072,"description":"Unknown IO ID 45"} 
[2026-08-08 19:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266970368001,"power":12156,"unknown_169":206,"unknown_87":10496,"ignition":52,"odometer":null,"unknown_45":-9207890887339139072}} 
[2026-08-08 19:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":150459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:55:47] local.INFO: GPS data processed {"connection_id":150459,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:55:47] local.INFO: Acknowledgment sent {"connection_id":150459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:55:59] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.239.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:59] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:55:59] local.INFO: IMEI packet received {"connection_id":150460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":150460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:56:04] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.239.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:56:04] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:56:04] local.INFO: IMEI packet received {"connection_id":150460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":150460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:56:07] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.239.100","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c215c8012d19cec007201858002f00722a..."} 
[2026-08-08 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c215c8012d19cec007201858002f00722a..."} 
[2026-08-08 19:56:07] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c215c8012d19cec007201858002f00722a..."} 
[2026-08-08 19:56:07] local.INFO: Packet analysis {"connection_id":150460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c2"} 
[2026-08-08 19:56:07] local.INFO: Extracted packet for processing {"connection_id":150460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c2"} 
[2026-08-08 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266944000001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786199021000,"timestamp_ms":1786199021000,"timestamp_seconds":1786199021,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c215c8"} 
[2026-08-08 19:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 19:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.239.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266944000001,"66":12689,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.239.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266944000001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266944000001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":150460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:56:07] local.INFO: GPS data processed {"connection_id":150460,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:56:07] local.INFO: Acknowledgment sent {"connection_id":150460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:56:32] local.INFO: TCP Data received {"connection_id":150743,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:56:32] local.INFO: Processing buffer {"connection_id":150743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:56:32] local.INFO: IMEI packet received {"connection_id":150743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":150743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:56:34] local.INFO: TCP Data received {"connection_id":150743,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:56:34] local.INFO: Processing buffer {"connection_id":150743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:56:34] local.INFO: IMEI packet received {"connection_id":150743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":150743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:56:35] local.INFO: TCP Data received {"connection_id":150743,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c39498012d7ffe80060161e0000b00e22a..."} 
[2026-08-08 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c39498012d7ffe80060161e0000b00e22a..."} 
[2026-08-08 19:56:35] local.INFO: Processing buffer {"connection_id":150743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c39498012d7ffe80060161e0000b00e22a..."} 
[2026-08-08 19:56:35] local.INFO: Packet analysis {"connection_id":150743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:56:35] local.INFO: Extracted packet for processing {"connection_id":150743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763362944,"raw_latitude":100753888,"longitude_deg":76.3362944,"latitude_deg":10.0753888,"altitude":11,"angle":226,"satellites":42,"speed":46,"hex_longitude":"2d7ffe80","hex_latitude":"060161e0","is_valid_coordinates":true} 
[2026-08-08 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266972416001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116263115435278336,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215772186688847872,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786199119000,"timestamp_ms":1786199119000,"timestamp_seconds":1786199119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c39498"} 
[2026-08-08 19:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266972416001,"66":12135,"169":206,"87":10496,"24":46,"16":116263115435278336,"45":-9215772186688847872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-08 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266972416001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:56:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 19:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116263115435278336,"km_value":116263115435278.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215772186688847872,"description":"Unknown IO ID 45"} 
[2026-08-08 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266972416001,"power":12135,"unknown_169":206,"unknown_87":10496,"ignition":46,"odometer":null,"unknown_45":-9215772186688847872}} 
[2026-08-08 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":150743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:56:35] local.INFO: GPS data processed {"connection_id":150743,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:56:35] local.INFO: Acknowledgment sent {"connection_id":150743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:56:40] local.INFO: TCP Data received {"connection_id":150460,"ip":"117.224.239.100","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c267d0012d19cec007201858002f00722b..."} 
[2026-08-08 19:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c267d0012d19cec007201858002f00722b..."} 
[2026-08-08 19:56:40] local.INFO: Processing buffer {"connection_id":150460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c267d0012d19cec007201858002f00722b..."} 
[2026-08-08 19:56:40] local.INFO: Packet analysis {"connection_id":150460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c2"} 
[2026-08-08 19:56:40] local.INFO: Extracted packet for processing {"connection_id":150460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c2"} 
[2026-08-08 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543896,"longitude_deg":75.6666048,"latitude_deg":11.9543896,"altitude":47,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d19cec0","hex_latitude":"07201858","is_valid_coordinates":true} 
[2026-08-08 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266949376001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11645816708005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986363904,"note":"Value kept but may cause issues"} 
[2026-08-08 19:56: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-08-08 19:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786199042000,"timestamp_ms":1786199042000,"timestamp_seconds":1786199042,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c267d0"} 
[2026-08-08 19:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-08 19:56: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-08-08 19:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 19:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.239.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 19:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 19:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266949376001,"66":12689,"121":206,"28":31744,"24":0,"16":11645816708005888,"45":1859634832986363904},"client_ip":"117.224.239.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 19:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 19:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 19:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266949376001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:56:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:56:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 19:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11645816708005888,"km_value":11645816708005.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986363904,"description":"Unknown IO ID 45"} 
[2026-08-08 19:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266949376001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859634832986363904}} 
[2026-08-08 19:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":150460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:56:40] local.INFO: GPS data processed {"connection_id":150460,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:56:40] local.INFO: Acknowledgment sent {"connection_id":150460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:57:06] local.INFO: TCP Data received {"connection_id":150743,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c3bba8012d7fe4c006014970000d00e126..."} 
[2026-08-08 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c3bba8012d7fe4c006014970000d00e126..."} 
[2026-08-08 19:57:06] local.INFO: Processing buffer {"connection_id":150743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c3bba8012d7fe4c006014970000d00e126..."} 
[2026-08-08 19:57:06] local.INFO: Packet analysis {"connection_id":150743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:57:06] local.INFO: Extracted packet for processing {"connection_id":150743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763356352,"raw_latitude":100747632,"longitude_deg":76.3356352,"latitude_deg":10.0747632,"altitude":13,"angle":225,"satellites":38,"speed":28,"hex_longitude":"2d7fe4c0","hex_latitude":"06014970","is_valid_coordinates":true} 
[2026-08-08 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266974464001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116263553521942528,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222949850182705152,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786199129000,"timestamp_ms":1786199129000,"timestamp_seconds":1786199129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c3bba8"} 
[2026-08-08 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266974464001,"66":11602,"169":206,"87":10496,"24":28,"16":116263553521942528,"45":9222949850182705152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,87,24,16,45]} 
[2026-08-08 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266974464001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116263553521942528,"km_value":116263553521942.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222949850182705152,"description":"Unknown IO ID 45"} 
[2026-08-08 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266974464001,"power":11602,"unknown_169":206,"unknown_87":10496,"ignition":28,"odometer":null,"unknown_45":9222949850182705152}} 
[2026-08-08 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":150743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:57:06] local.INFO: GPS data processed {"connection_id":150743,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:57:06] local.INFO: Acknowledgment sent {"connection_id":150743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:57:14] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:57:14] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:57:14] local.INFO: IMEI packet received {"connection_id":151679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":151679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:57:15] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c37170012ceddc400730edc8005900dc2a..."} 
[2026-08-08 19:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c37170012ceddc400730edc8005900dc2a..."} 
[2026-08-08 19:57:15] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c37170012ceddc400730edc8005900dc2a..."} 
[2026-08-08 19:57:15] local.INFO: Packet analysis {"connection_id":151679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:57:15] local.INFO: Extracted packet for processing {"connection_id":151679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:57:15] local.INFO: GPS Element Parsed {"raw_longitude":753785920,"raw_latitude":120647112,"longitude_deg":75.378592,"latitude_deg":12.0647112,"altitude":89,"angle":220,"satellites":42,"speed":40,"hex_longitude":"2ceddc40","hex_latitude":"0730edc8","is_valid_coordinates":true} 
[2026-08-08 19:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266969856001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375849018955137024,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1299781042818064384,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:15] 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-08-08 19:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786199110000,"timestamp_ms":1786199110000,"timestamp_seconds":1786199110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c37170"} 
[2026-08-08 19:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 19:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266969856001,"66":27365,"27":206,"83":44032,"24":40,"16":375849018955137024,"44":-1299781042818064384},"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-08-08 19:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266969856001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:57:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-08 19:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375849018955137024,"km_value":375849018955137.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1299781042818064384,"description":"Unknown IO ID 44"} 
[2026-08-08 19:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266969856001,"power":27365,"unknown_27":206,"unknown_83":44032,"ignition":40,"odometer":null,"unknown_44":-1299781042818064384}} 
[2026-08-08 19:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":151679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:57:15] local.INFO: GPS data processed {"connection_id":151679,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:57:15] local.INFO: Acknowledgment sent {"connection_id":151679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:57:30] local.INFO: TCP Data received {"connection_id":150461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:30] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:30] local.INFO: IMEI packet received {"connection_id":150461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":150461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:57:31] local.INFO: TCP Data received {"connection_id":150461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:31] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:31] local.INFO: IMEI packet received {"connection_id":150461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":150461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:57:39] local.INFO: TCP Data received {"connection_id":150461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:39] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:57:39] local.INFO: IMEI packet received {"connection_id":150461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":150461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:57:40] local.INFO: TCP Data received {"connection_id":150461,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c51750012d7ed34006002088000900d923..."} 
[2026-08-08 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c51750012d7ed34006002088000900d923..."} 
[2026-08-08 19:57:40] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c51750012d7ed34006002088000900d923..."} 
[2026-08-08 19:57:40] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:57:40] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763286336,"raw_latitude":100671624,"longitude_deg":76.3286336,"latitude_deg":10.0671624,"altitude":9,"angle":217,"satellites":35,"speed":44,"hex_longitude":"2d7ed340","hex_latitude":"06002088","is_valid_coordinates":true} 
[2026-08-08 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-08-08 19:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266997760001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116268535684005888,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145122019103053824,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786199218000,"timestamp_ms":1786199218000,"timestamp_seconds":1786199218,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c51750"} 
[2026-08-08 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-08-08 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 19:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 19:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266997760001,"66":12037,"149":206,"87":10496,"24":44,"16":116268535684005888,"45":9145122019103053824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 19:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266997760001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:57:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 19:57:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116268535684005888,"km_value":116268535684005.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145122019103053824,"description":"Unknown IO ID 45"} 
[2026-08-08 19:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266997760001,"power":12037,"unknown_149":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":9145122019103053824}} 
[2026-08-08 19:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:57:40] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:57:40] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:57:46] local.INFO: TCP Data received {"connection_id":151679,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c39498012cedc4800730d260005d00db28..."} 
[2026-08-08 19:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c39498012cedc4800730d260005d00db28..."} 
[2026-08-08 19:57:46] local.INFO: Processing buffer {"connection_id":151679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c39498012cedc4800730d260005d00db28..."} 
[2026-08-08 19:57:46] local.INFO: Packet analysis {"connection_id":151679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:57:46] local.INFO: Extracted packet for processing {"connection_id":151679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:57:46] local.INFO: GPS Element Parsed {"raw_longitude":753779840,"raw_latitude":120640096,"longitude_deg":75.377984,"latitude_deg":12.0640096,"altitude":93,"angle":219,"satellites":40,"speed":38,"hex_longitude":"2cedc480","hex_latitude":"0730d260","is_valid_coordinates":true} 
[2026-08-08 19: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-08-08 19:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266972160001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375849465631735808,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1307099392214448128,"note":"Value kept but may cause issues"} 
[2026-08-08 19:57:46] 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-08-08 19:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786199119000,"timestamp_ms":1786199119000,"timestamp_seconds":1786199119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c39498"} 
[2026-08-08 19:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 19:57: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-08-08 19:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:57: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-08-08 19:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266972160001,"66":27463,"27":206,"83":44032,"24":38,"16":375849465631735808,"44":-1307099392214448128},"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-08-08 19:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266972160001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:57:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-08 19:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375849465631735808,"km_value":375849465631735.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1307099392214448128,"description":"Unknown IO ID 44"} 
[2026-08-08 19:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266972160001,"power":27463,"unknown_27":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1307099392214448128}} 
[2026-08-08 19:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":151679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:57:46] local.INFO: GPS data processed {"connection_id":151679,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:57:46] local.INFO: Acknowledgment sent {"connection_id":151679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:58:04] local.INFO: TCP Data received {"connection_id":150462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:04] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:04] local.INFO: IMEI packet received {"connection_id":150462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":150462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:58:08] local.INFO: TCP Data received {"connection_id":150462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:08] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:08] local.INFO: IMEI packet received {"connection_id":150462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":150462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:58:09] local.INFO: TCP Data received {"connection_id":150462,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:09] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:58:09] local.INFO: IMEI packet received {"connection_id":150462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":150462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:58:10] local.INFO: TCP Data received {"connection_id":150462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c3bba8012cedaf000730b580006100d229..."} 
[2026-08-08 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c3bba8012cedaf000730b580006100d229..."} 
[2026-08-08 19:58:10] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c3bba8012cedaf000730b580006100d229..."} 
[2026-08-08 19:58:10] local.INFO: Packet analysis {"connection_id":150462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:58:10] local.INFO: Extracted packet for processing {"connection_id":150462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":753774336,"raw_latitude":120632704,"longitude_deg":75.3774336,"latitude_deg":12.0632704,"altitude":97,"angle":210,"satellites":41,"speed":34,"hex_longitude":"2cedaf00","hex_latitude":"0730b580","is_valid_coordinates":true} 
[2026-08-08 19:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266974464001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375849908013367296,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1313784422913122304,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:10] 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-08-08 19:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199129000,"timestamp_ms":1786199129000,"timestamp_seconds":1786199129,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c3bba8"} 
[2026-08-08 19:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 19:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19: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-08-08 19:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266974464001,"66":27343,"28":206,"83":44032,"24":34,"16":375849908013367296,"44":-1313784422913122304},"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-08-08 19:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266974464001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375849908013367296,"km_value":375849908013367.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1313784422913122304,"description":"Unknown IO ID 44"} 
[2026-08-08 19:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266974464001,"power":27343,"unknown_28":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1313784422913122304}} 
[2026-08-08 19:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":150462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:58:10] local.INFO: GPS data processed {"connection_id":150462,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:58:10] local.INFO: Acknowledgment sent {"connection_id":150462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:58:12] local.INFO: TCP Data received {"connection_id":150461,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c53690012d7ebe8006000490000d00d725..."} 
[2026-08-08 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c53690012d7ebe8006000490000d00d725..."} 
[2026-08-08 19:58:12] local.INFO: Processing buffer {"connection_id":150461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c53690012d7ebe8006000490000d00d725..."} 
[2026-08-08 19:58:12] local.INFO: Packet analysis {"connection_id":150461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:12] local.INFO: Extracted packet for processing {"connection_id":150461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763281024,"raw_latitude":100664464,"longitude_deg":76.3281024,"latitude_deg":10.0664464,"altitude":13,"angle":215,"satellites":37,"speed":46,"hex_longitude":"2d7ebe80","hex_latitude":"06000490","is_valid_coordinates":true} 
[2026-08-08 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266999808001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116268965180735488,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138718463380981760,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786199226000,"timestamp_ms":1786199226000,"timestamp_seconds":1786199226,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c53690"} 
[2026-08-08 19:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3746994890140025856,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787742160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":6,"raw_value":54395039467494940,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3298191361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4257872858927661080,"corrected_to":0} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182234004586752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,149,87,24,241,157,16,17,159,248,45,61,6,33,10,66,216,64,90,7,38,181,192,1,240,152,227,225,4,113,205,47,119,81,32,239,46,23,2,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":4257872858927661080,"validated":0}]} 
[2026-08-08 19:58:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648757090691317760,"timestamp_seconds":648757090691317.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266999808001,"66":11080,"149":206,"87":10496,"24":46,"16":116268965180735488,"45":9138718463380981760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 19:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266999808001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116268965180735488,"km_value":116268965180735.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138718463380981760,"description":"Unknown IO ID 45"} 
[2026-08-08 19:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266999808001,"power":11080,"unknown_149":206,"unknown_87":10496,"ignition":46,"odometer":null,"unknown_45":9138718463380981760}} 
[2026-08-08 19:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":150461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:58:12] local.INFO: GPS data processed {"connection_id":150461,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:58:12] local.INFO: Acknowledgment sent {"connection_id":150461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:58:15] local.INFO: TCP Data received {"connection_id":150462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c3e2b8012ceda200073098a0006100c22d..."} 
[2026-08-08 19:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c3e2b8012ceda200073098a0006100c22d..."} 
[2026-08-08 19:58:15] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c3e2b8012ceda200073098a0006100c22d..."} 
[2026-08-08 19:58:15] local.INFO: Packet analysis {"connection_id":150462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:58:15] local.INFO: Extracted packet for processing {"connection_id":150462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c3"} 
[2026-08-08 19:58:15] local.INFO: GPS Element Parsed {"raw_longitude":753771008,"raw_latitude":120625312,"longitude_deg":75.3771008,"latitude_deg":12.0625312,"altitude":97,"angle":194,"satellites":45,"speed":26,"hex_longitude":"2ceda200","hex_latitude":"073098a0","is_valid_coordinates":true} 
[2026-08-08 19:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457266977024001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375850298855391232,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1319836134914293760,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:15] 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-08-08 19:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786199139000,"timestamp_ms":1786199139000,"timestamp_seconds":1786199139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c3e2b8"} 
[2026-08-08 19:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 19:58: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-08-08 19:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457266977024001,"66":27484,"28":206,"83":44032,"24":26,"16":375850298855391232,"44":-1319836134914293760},"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-08-08 19:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457266977024001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 19:58:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375850298855391232,"km_value":375850298855391.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1319836134914293760,"description":"Unknown IO ID 44"} 
[2026-08-08 19:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457266977024001,"power":27484,"unknown_28":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1319836134914293760}} 
[2026-08-08 19:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":150462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:58:15] local.INFO: GPS data processed {"connection_id":150462,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:58:15] local.INFO: Acknowledgment sent {"connection_id":150462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:58:39] local.INFO: TCP Data received {"connection_id":150744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:58:39] local.INFO: Processing buffer {"connection_id":150744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:58:39] local.INFO: IMEI packet received {"connection_id":150744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":150744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:58:40] local.INFO: TCP Data received {"connection_id":150744,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:58:40] local.INFO: Processing buffer {"connection_id":150744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:58:40] local.INFO: IMEI packet received {"connection_id":150744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":150744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:58:45] local.INFO: TCP Data received {"connection_id":150744,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c555d0012d7eaa8005ffe3c0000e00d123..."} 
[2026-08-08 19:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c555d0012d7eaa8005ffe3c0000e00d123..."} 
[2026-08-08 19:58:45] local.INFO: Processing buffer {"connection_id":150744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c555d0012d7eaa8005ffe3c0000e00d123..."} 
[2026-08-08 19:58:45] local.INFO: Packet analysis {"connection_id":150744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:45] local.INFO: Extracted packet for processing {"connection_id":150744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":100656064,"longitude_deg":76.3275904,"latitude_deg":10.0656064,"altitude":14,"angle":209,"satellites":35,"speed":49,"hex_longitude":"2d7eaa80","hex_latitude":"05ffe3c0","is_valid_coordinates":true} 
[2026-08-08 19:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267001856001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116269441922105344,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132877857612402688,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786199234000,"timestamp_ms":1786199234000,"timestamp_seconds":1786199234,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c555d0"} 
[2026-08-08 19:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-08 19:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267001856001,"66":12156,"149":206,"87":10496,"24":49,"16":116269441922105344,"45":9132877857612402688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 19:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267001856001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:58:45] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 19:58:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116269441922105344,"km_value":116269441922105.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132877857612402688,"description":"Unknown IO ID 45"} 
[2026-08-08 19:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267001856001,"power":12156,"unknown_149":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":9132877857612402688}} 
[2026-08-08 19:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":150744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:58:45] local.INFO: GPS data processed {"connection_id":150744,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:58:45] local.INFO: Acknowledgment sent {"connection_id":150744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:58:46] local.INFO: TCP Data received {"connection_id":150462,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c5cee8012ced1ec0072f30d8005000cc2e..."} 
[2026-08-08 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c5cee8012ced1ec0072f30d8005000cc2e..."} 
[2026-08-08 19:58:46] local.INFO: Processing buffer {"connection_id":150462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c5cee8012ced1ec0072f30d8005000cc2e..."} 
[2026-08-08 19:58:46] local.INFO: Packet analysis {"connection_id":150462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:46] local.INFO: Extracted packet for processing {"connection_id":150462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":753737408,"raw_latitude":120533208,"longitude_deg":75.3737408,"latitude_deg":12.0533208,"altitude":80,"angle":204,"satellites":46,"speed":34,"hex_longitude":"2ced1ec0","hex_latitude":"072f30d8","is_valid_coordinates":true} 
[2026-08-08 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267010816001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375855130693599232,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359172262934231040,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786199265000,"timestamp_ms":1786199265000,"timestamp_seconds":1786199265,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c5cee8"} 
[2026-08-08 19:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 19:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:58: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-08-08 19:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267010816001,"66":27321,"121":206,"83":44032,"24":34,"16":375855130693599232,"44":-1359172262934231040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,83,24,16,44]} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267010816001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375855130693599232,"km_value":375855130693599.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359172262934231040,"description":"Unknown IO ID 44"} 
[2026-08-08 19:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267010816001,"power":27321,"unknown_121":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1359172262934231040}} 
[2026-08-08 19:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":150462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:58:46] local.INFO: GPS data processed {"connection_id":150462,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:58:46] local.INFO: Acknowledgment sent {"connection_id":150462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:58:46] local.INFO: TCP Data received {"connection_id":150744,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c57510012d7e96c005ffc260000f00d424..."} 
[2026-08-08 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c57510012d7e96c005ffc260000f00d424..."} 
[2026-08-08 19:58:46] local.INFO: Processing buffer {"connection_id":150744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c57510012d7e96c005ffc260000f00d424..."} 
[2026-08-08 19:58:46] local.INFO: Packet analysis {"connection_id":150744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:46] local.INFO: Extracted packet for processing {"connection_id":150744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763270848,"raw_latitude":100647520,"longitude_deg":76.3270848,"latitude_deg":10.064752,"altitude":15,"angle":212,"satellites":36,"speed":49,"hex_longitude":"2d7e96c0","hex_latitude":"05ffc260","is_valid_coordinates":true} 
[2026-08-08 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267003904001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116269918663475200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248358076039168,"note":"Value kept but may cause issues"} 
[2026-08-08 19:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786199242000,"timestamp_ms":1786199242000,"timestamp_seconds":1786199242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c57510"} 
[2026-08-08 19:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 19:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267003904001,"66":12232,"149":206,"87":10496,"24":49,"16":116269918663475200,"45":9127248358076039168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,87,24,16,45]} 
[2026-08-08 19:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267003904001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-08-08 19:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116269918663475200,"km_value":116269918663475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248358076039168,"description":"Unknown IO ID 45"} 
[2026-08-08 19:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267003904001,"power":12232,"unknown_149":206,"unknown_87":10496,"ignition":49,"odometer":null,"unknown_45":9127248358076039168}} 
[2026-08-08 19:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":150744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:58:46] local.INFO: GPS data processed {"connection_id":150744,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:58:46] local.INFO: Acknowledgment sent {"connection_id":150744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:59:07] local.INFO: TCP Data received {"connection_id":150463,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:07] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:07] local.INFO: IMEI packet received {"connection_id":150463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 19:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":150463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:59:09] local.INFO: TCP Data received {"connection_id":150463,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:09] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:09] local.INFO: IMEI packet received {"connection_id":150463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":150463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:59:14] local.INFO: TCP Data received {"connection_id":150463,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:14] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 19:59:14] local.INFO: IMEI packet received {"connection_id":150463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 19:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":150463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:59:16] local.INFO: TCP Data received {"connection_id":150463,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c5daa0012ced19c0072f28b0005000d92e..."} 
[2026-08-08 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c5daa0012ced19c0072f28b0005000d92e..."} 
[2026-08-08 19:59:16] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c5daa0012ced19c0072f28b0005000d92e..."} 
[2026-08-08 19:59:16] local.INFO: Packet analysis {"connection_id":150463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:59:16] local.INFO: Extracted packet for processing {"connection_id":150463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c5"} 
[2026-08-08 19:59:16] local.INFO: GPS Element Parsed {"raw_longitude":753736128,"raw_latitude":120531120,"longitude_deg":75.3736128,"latitude_deg":12.053112,"altitude":80,"angle":217,"satellites":46,"speed":30,"hex_longitude":"2ced19c0","hex_latitude":"072f28b0","is_valid_coordinates":true} 
[2026-08-08 19:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267011840001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375855250952683520,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360438900330276864,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786199268000,"timestamp_ms":1786199268000,"timestamp_seconds":1786199268,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c5daa0"} 
[2026-08-08 19:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:59: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-08-08 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 19:59: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-08-08 19:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:59: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-08-08 19:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267011840001,"66":27267,"121":206,"83":44032,"24":30,"16":375855250952683520,"44":-1360438900330276864},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,83,24,16,44]} 
[2026-08-08 19:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267011840001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:59:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 19:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375855250952683520,"km_value":375855250952683.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360438900330276864,"description":"Unknown IO ID 44"} 
[2026-08-08 19:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267011840001,"power":27267,"unknown_121":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1360438900330276864}} 
[2026-08-08 19:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":150463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:59:16] local.INFO: GPS data processed {"connection_id":150463,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:59:16] local.INFO: Acknowledgment sent {"connection_id":150463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:59:17] local.INFO: TCP Data received {"connection_id":150463,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c60980012ced02c0072f0d78005200dc2d..."} 
[2026-08-08 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c60980012ced02c0072f0d78005200dc2d..."} 
[2026-08-08 19:59:17] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c60980012ced02c0072f0d78005200dc2d..."} 
[2026-08-08 19:59:17] local.INFO: Packet analysis {"connection_id":150463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 19:59:17] local.INFO: Extracted packet for processing {"connection_id":150463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":753730240,"raw_latitude":120524152,"longitude_deg":75.373024,"latitude_deg":12.0524152,"altitude":82,"angle":220,"satellites":45,"speed":34,"hex_longitude":"2ced02c0","hex_latitude":"072f0d78","is_valid_coordinates":true} 
[2026-08-08 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267012608001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375855689039347712,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361846275214364672,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786199280000,"timestamp_ms":1786199280000,"timestamp_seconds":1786199280,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c60980"} 
[2026-08-08 19:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 19:59: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-08-08 19:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:59: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-08-08 19:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267012608001,"66":27397,"123":206,"83":44032,"24":34,"16":375855689039347712,"44":-1361846275214364672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-08-08 19:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267012608001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:59:17] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-08 19:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375855689039347712,"km_value":375855689039347.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:59:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361846275214364672,"description":"Unknown IO ID 44"} 
[2026-08-08 19:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267012608001,"power":27397,"unknown_123":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1361846275214364672}} 
[2026-08-08 19:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":150463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:59:17] local.INFO: GPS data processed {"connection_id":150463,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:59:17] local.INFO: Acknowledgment sent {"connection_id":150463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:59:31] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:59:31] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:59:31] local.INFO: IMEI packet received {"connection_id":153156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 19:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":153156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 19:59:38] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:59:38] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 19:59:38] local.INFO: IMEI packet received {"connection_id":153156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 19:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":153156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 19:59:39] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c6eff8012d7dbb0005fe89e0001400b626..."} 
[2026-08-08 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c6eff8012d7dbb0005fe89e0001400b626..."} 
[2026-08-08 19:59:39] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c6eff8012d7dbb0005fe89e0001400b626..."} 
[2026-08-08 19:59:39] local.INFO: Packet analysis {"connection_id":153156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 19:59:39] local.INFO: Extracted packet for processing {"connection_id":153156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763214592,"raw_latitude":100567520,"longitude_deg":76.3214592,"latitude_deg":10.056752,"altitude":20,"angle":182,"satellites":38,"speed":9,"hex_longitude":"2d7dbb00","hex_latitude":"05fe89e0","is_valid_coordinates":true} 
[2026-08-08 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267027200001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116274802041290752,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061453582249082880,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786199339000,"timestamp_ms":1786199339000,"timestamp_seconds":1786199339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c6eff8"} 
[2026-08-08 19:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":1477180677777522688,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3787843160,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":57344,"corrected_to":0} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6926037293027218050,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3325583361,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1040449742,"corrected_to":0} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288133,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6280832733403217922,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":76,"raw_value":-4609997770130976000,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2017670907178256896,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,4,87,24,241,157,16,22,159,150,45,192,200,18,26,10,66,118,236,17,32,1,240,239,227,21,225,255,113,205,39,13,224,36,46,242,2,92,206,76,235],"length":533,"final_offset":663,"validated_count":41,"validation_warnings":[{"io_id":200,"original":57344,"validated":0},{"io_id":205,"original":1040449742,"validated":0}]} 
[2026-08-08 19:59:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369311019362746368,"timestamp_seconds":1369311019362746.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 19:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 19:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 19:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 19:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 19:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267027200001,"66":11547,"4":206,"87":10752,"24":9,"16":116274802041290752,"45":9061453582249082880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,87,24,16,45]} 
[2026-08-08 19:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 19:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267027200001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 19:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116274802041290752,"km_value":116274802041290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061453582249082880,"description":"Unknown IO ID 45"} 
[2026-08-08 19:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267027200001,"power":11547,"unknown_4":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":9061453582249082880}} 
[2026-08-08 19:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":153156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:59:40] local.INFO: GPS data processed {"connection_id":153156,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:59:40] local.INFO: Acknowledgment sent {"connection_id":153156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:59:48] local.INFO: TCP Data received {"connection_id":150463,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c63860012cece900072ef460005200e52c..."} 
[2026-08-08 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c63860012cece900072ef460005200e52c..."} 
[2026-08-08 19:59:48] local.INFO: Processing buffer {"connection_id":150463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c63860012cece900072ef460005200e52c..."} 
[2026-08-08 19:59:48] local.INFO: Packet analysis {"connection_id":150463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 19:59:48] local.INFO: Extracted packet for processing {"connection_id":150463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 19:59:48] local.INFO: GPS Element Parsed {"raw_longitude":753723648,"raw_latitude":120517728,"longitude_deg":75.3723648,"latitude_deg":12.0517728,"altitude":82,"angle":229,"satellites":44,"speed":30,"hex_longitude":"2cece900","hex_latitude":"072ef460","is_valid_coordinates":true} 
[2026-08-08 19:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 19:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267015680001,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375856131420979200,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1368320199680493568,"note":"Value kept but may cause issues"} 
[2026-08-08 19:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 19:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786199292000,"timestamp_ms":1786199292000,"timestamp_seconds":1786199292,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c63860"} 
[2026-08-08 19:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 19:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 19:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 19:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 19:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 19:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 19:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 19:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 19:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 19:59: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-08-08 19:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 19:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 19:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267015680001,"66":27365,"123":206,"83":44032,"24":30,"16":375856131420979200,"44":-1368320199680493568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-08-08 19:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 19:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 19:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267015680001,"description":"Unknown IO ID 0"} 
[2026-08-08 19:59:48] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-08 19:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 19:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375856131420979200,"km_value":375856131420979.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 19:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1368320199680493568,"description":"Unknown IO ID 44"} 
[2026-08-08 19:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267015680001,"power":27365,"unknown_123":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1368320199680493568}} 
[2026-08-08 19:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":150463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 19:59:48] local.INFO: GPS data processed {"connection_id":150463,"processed":1,"errors":0,"total":1} 
[2026-08-08 19:59:48] local.INFO: Acknowledgment sent {"connection_id":150463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 19:59:56] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:59:56] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 19:59:56] local.INFO: IMEI packet received {"connection_id":150745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":150745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:00:01] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:00:01] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:00:01] local.INFO: IMEI packet received {"connection_id":150745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":150745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:00:04] local.INFO: TCP Data received {"connection_id":150464,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:00:04] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:00:04] local.INFO: IMEI packet received {"connection_id":150464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":150464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:00:08] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:00:08] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:00:08] local.INFO: Packet analysis {"connection_id":150745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:08] local.INFO: Extracted packet for processing {"connection_id":150745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:00: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-08-08 20:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.225.239.159","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":150745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:08] local.INFO: GPS data processed {"connection_id":150745,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:08] local.INFO: Acknowledgment sent {"connection_id":150745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:00:09] local.INFO: TCP Data received {"connection_id":150464,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:00:09] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:00:09] local.INFO: IMEI packet received {"connection_id":150464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":150464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:00:10] local.INFO: TCP Data received {"connection_id":150464,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c65b88012cecce80072eda68004c00da2a..."} 
[2026-08-08 20:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c65b88012cecce80072eda68004c00da2a..."} 
[2026-08-08 20:00:10] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c65b88012cecce80072eda68004c00da2a..."} 
[2026-08-08 20:00:10] local.INFO: Packet analysis {"connection_id":150464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 20:00:10] local.INFO: Extracted packet for processing {"connection_id":150464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":753716864,"raw_latitude":120511080,"longitude_deg":75.3716864,"latitude_deg":12.051108,"altitude":76,"angle":218,"satellites":42,"speed":48,"hex_longitude":"2cecce80","hex_latitude":"072eda68","is_valid_coordinates":true} 
[2026-08-08 20:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267018752001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375856586687512576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375568180332437504,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199301000,"timestamp_ms":1786199301000,"timestamp_seconds":1786199301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c65b88"} 
[2026-08-08 20:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267018752001,"66":27463,"123":206,"83":44032,"24":48,"16":375856586687512576,"44":-1375568180332437504},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-08-08 20:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267018752001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:10] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-08 20:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375856586687512576,"km_value":375856586687512.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375568180332437504,"description":"Unknown IO ID 44"} 
[2026-08-08 20:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267018752001,"power":27463,"unknown_123":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1375568180332437504}} 
[2026-08-08 20:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":150464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:10] local.INFO: GPS data processed {"connection_id":150464,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:10] local.INFO: Acknowledgment sent {"connection_id":150464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:00:11] local.INFO: TCP Data received {"connection_id":153156,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c72e78012d7dbd4005fe8208001400a927..."} 
[2026-08-08 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c72e78012d7dbd4005fe8208001400a927..."} 
[2026-08-08 20:00:11] local.INFO: Processing buffer {"connection_id":153156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c72e78012d7dbd4005fe8208001400a927..."} 
[2026-08-08 20:00:11] local.INFO: Packet analysis {"connection_id":153156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:11] local.INFO: Extracted packet for processing {"connection_id":153156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763215168,"raw_latitude":100565512,"longitude_deg":76.3215168,"latitude_deg":10.0565512,"altitude":20,"angle":169,"satellites":39,"speed":9,"hex_longitude":"2d7dbd40","hex_latitude":"05fe8208","is_valid_coordinates":true} 
[2026-08-08 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267030784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116274918005407744,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059835101131169792,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786199355000,"timestamp_ms":1786199355000,"timestamp_seconds":1786199355,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c72e78"} 
[2026-08-08 20:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 20:00: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-08-08 20:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267030784001,"66":11917,"38":206,"87":10752,"24":9,"16":116274918005407744,"45":9059835101131169792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267030784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:11] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:00:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116274918005407744,"km_value":116274918005407.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059835101131169792,"description":"Unknown IO ID 45"} 
[2026-08-08 20:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267030784001,"power":11917,"unknown_38":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":9059835101131169792}} 
[2026-08-08 20:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":153156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:11] local.INFO: GPS data processed {"connection_id":153156,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:11] local.INFO: Acknowledgment sent {"connection_id":153156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:00:31] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:31] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:31] local.INFO: IMEI packet received {"connection_id":151680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":151680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:00:36] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:36] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:36] local.INFO: IMEI packet received {"connection_id":151680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":151680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:00:36] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:36] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:00:36] local.INFO: IMEI packet received {"connection_id":151680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":151680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:00:38] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c745e8012d7dbe4005fe7e900014009e29..."} 
[2026-08-08 20:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c745e8012d7dbe4005fe7e900014009e29..."} 
[2026-08-08 20:00:38] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c745e8012d7dbe4005fe7e900014009e29..."} 
[2026-08-08 20:00:38] local.INFO: Packet analysis {"connection_id":151680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:38] local.INFO: Extracted packet for processing {"connection_id":151680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763215424,"raw_latitude":100564624,"longitude_deg":76.3215424,"latitude_deg":10.0564624,"altitude":20,"angle":158,"satellites":41,"speed":4,"hex_longitude":"2d7dbe40","hex_latitude":"05fe7e90","is_valid_coordinates":true} 
[2026-08-08 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267034880001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116274960955080704,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060468419828254720,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786199361000,"timestamp_ms":1786199361000,"timestamp_seconds":1786199361,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c745e8"} 
[2026-08-08 20:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267034880001,"66":11874,"38":206,"87":10752,"24":4,"16":116274960955080704,"45":9060468419828254720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267034880001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116274960955080704,"km_value":116274960955080.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060468419828254720,"description":"Unknown IO ID 45"} 
[2026-08-08 20:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267034880001,"power":11874,"unknown_38":206,"unknown_87":10752,"ignition":4,"odometer":null,"unknown_45":9060468419828254720}} 
[2026-08-08 20:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":151680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:38] local.INFO: GPS data processed {"connection_id":151680,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:38] local.INFO: Acknowledgment sent {"connection_id":151680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:00:40] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:00:40] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:00:40] local.INFO: Packet analysis {"connection_id":150745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:40] local.INFO: Extracted packet for processing {"connection_id":150745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:00: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-08-08 20:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00: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-08-08 20:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 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-08-08 20:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.225.239.159","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:00:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":150745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:40] local.INFO: GPS data processed {"connection_id":150745,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:40] local.INFO: Acknowledgment sent {"connection_id":150745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:00:41] local.INFO: TCP Data received {"connection_id":150464,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c65b88012cecce80072eda68004c00da2a..."} 
[2026-08-08 20:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c65b88012cecce80072eda68004c00da2a..."} 
[2026-08-08 20:00:41] local.INFO: Processing buffer {"connection_id":150464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c65b88012cecce80072eda68004c00da2a..."} 
[2026-08-08 20:00:41] local.INFO: Packet analysis {"connection_id":150464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 20:00:41] local.INFO: Extracted packet for processing {"connection_id":150464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c6"} 
[2026-08-08 20:00:41] local.INFO: GPS Element Parsed {"raw_longitude":753716864,"raw_latitude":120511080,"longitude_deg":75.3716864,"latitude_deg":12.051108,"altitude":76,"angle":218,"satellites":42,"speed":48,"hex_longitude":"2cecce80","hex_latitude":"072eda68","is_valid_coordinates":true} 
[2026-08-08 20:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267021056001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375856586687512576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383027267216971776,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199301000,"timestamp_ms":1786199301000,"timestamp_seconds":1786199301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c65b88"} 
[2026-08-08 20:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 20:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267021056001,"66":27463,"123":206,"83":44032,"24":48,"16":375856586687512576,"44":-1383027267216971776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-08-08 20:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267021056001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:41] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-08 20:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375856586687512576,"km_value":375856586687512.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383027267216971776,"description":"Unknown IO ID 44"} 
[2026-08-08 20:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267021056001,"power":27463,"unknown_123":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1383027267216971776}} 
[2026-08-08 20:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":150464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:41] local.INFO: GPS data processed {"connection_id":150464,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:41] local.INFO: Acknowledgment sent {"connection_id":150464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:00:42] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c79408012d7dc1c005fe6d90001700a129..."} 
[2026-08-08 20:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c79408012d7dc1c005fe6d90001700a129..."} 
[2026-08-08 20:00:42] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c79408012d7dc1c005fe6d90001700a129..."} 
[2026-08-08 20:00:42] local.INFO: Packet analysis {"connection_id":151680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:42] local.INFO: Extracted packet for processing {"connection_id":151680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763216320,"raw_latitude":100560272,"longitude_deg":76.321632,"latitude_deg":10.0560272,"altitude":23,"angle":161,"satellites":41,"speed":9,"hex_longitude":"2d7dc1c0","hex_latitude":"05fe6d90","is_valid_coordinates":true} 
[2026-08-08 20:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267036416001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116275179998412800,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060749894804738048,"note":"Value kept but may cause issues"} 
[2026-08-08 20:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786199381000,"timestamp_ms":1786199381000,"timestamp_seconds":1786199381,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c79408"} 
[2026-08-08 20:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:00:42] 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-08-08 20:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267036416001,"66":11874,"38":206,"87":10752,"24":9,"16":116275179998412800,"45":9060749894804738048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267036416001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:00:42] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:00:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116275179998412800,"km_value":116275179998412.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060749894804738048,"description":"Unknown IO ID 45"} 
[2026-08-08 20:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267036416001,"power":11874,"unknown_38":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":9060749894804738048}} 
[2026-08-08 20:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":151680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:00:42] local.INFO: GPS data processed {"connection_id":151680,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:00:42] local.INFO: Acknowledgment sent {"connection_id":151680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:01:04] local.INFO: TCP Data received {"connection_id":150465,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:04] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:04] local.INFO: IMEI packet received {"connection_id":150465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":150465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:01:05] local.INFO: TCP Data received {"connection_id":150465,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:05] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:05] local.INFO: IMEI packet received {"connection_id":150465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":150465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:01:09] local.INFO: TCP Data received {"connection_id":150465,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:09] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:01:09] local.INFO: IMEI packet received {"connection_id":150465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":150465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:01:10] local.INFO: TCP Data received {"connection_id":150465,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c81cc0012cec6b40072de8d8003b00b930..."} 
[2026-08-08 20:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c81cc0012cec6b40072de8d8003b00b930..."} 
[2026-08-08 20:01:10] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c81cc0012cec6b40072de8d8003b00b930..."} 
[2026-08-08 20:01:10] local.INFO: Packet analysis {"connection_id":150465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:01:10] local.INFO: Extracted packet for processing {"connection_id":150465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:01:10] local.INFO: GPS Element Parsed {"raw_longitude":753691456,"raw_latitude":120449240,"longitude_deg":75.3691456,"latitude_deg":12.044924,"altitude":59,"angle":185,"satellites":48,"speed":12,"hex_longitude":"2cec6b40","hex_latitude":"072de8d8","is_valid_coordinates":true} 
[2026-08-08 20:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267045120001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375859975416709120,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409978496250908672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199416000,"timestamp_ms":1786199416000,"timestamp_seconds":1786199416,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c81cc0"} 
[2026-08-08 20:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267045120001,"66":27517,"73":206,"83":44032,"24":12,"16":375859975416709120,"44":-1409978496250908672},"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-08-08 20:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267045120001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:01:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375859975416709120,"km_value":375859975416709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409978496250908672,"description":"Unknown IO ID 44"} 
[2026-08-08 20:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267045120001,"power":27517,"unknown_73":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1409978496250908672}} 
[2026-08-08 20:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":150465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:01:10] local.INFO: GPS data processed {"connection_id":150465,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:01:10] local.INFO: Acknowledgment sent {"connection_id":150465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:01:11] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:01:11] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:01:11] local.INFO: Packet analysis {"connection_id":150745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:01:11] local.INFO: Extracted packet for processing {"connection_id":150745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:01: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-08-08 20:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 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-08-08 20:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.225.239.159","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:01:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":150745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:01:11] local.INFO: GPS data processed {"connection_id":150745,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:01:11] local.INFO: Acknowledgment sent {"connection_id":150745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:01:13] local.INFO: TCP Data received {"connection_id":151680,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c7da58012d7dcc0005fe4c18001800ad28..."} 
[2026-08-08 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c7da58012d7dcc0005fe4c18001800ad28..."} 
[2026-08-08 20:01:13] local.INFO: Processing buffer {"connection_id":151680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c7da58012d7dcc0005fe4c18001800ad28..."} 
[2026-08-08 20:01:13] local.INFO: Packet analysis {"connection_id":151680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:01:13] local.INFO: Extracted packet for processing {"connection_id":151680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763218944,"raw_latitude":100551704,"longitude_deg":76.3218944,"latitude_deg":10.0551704,"altitude":24,"angle":173,"satellites":40,"speed":29,"hex_longitude":"2d7dcc00","hex_latitude":"05fe4c18","is_valid_coordinates":true} 
[2026-08-08 20:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267041536001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116275613790109696,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061735057222111232,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786199399000,"timestamp_ms":1786199399000,"timestamp_seconds":1786199399,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c7da58"} 
[2026-08-08 20:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:01: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-08-08 20:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267041536001,"66":11895,"38":206,"87":10752,"24":29,"16":116275613790109696,"45":9061735057222111232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267041536001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:01:13] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:01:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116275613790109696,"km_value":116275613790109.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061735057222111232,"description":"Unknown IO ID 45"} 
[2026-08-08 20:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267041536001,"power":11895,"unknown_38":206,"unknown_87":10752,"ignition":29,"odometer":null,"unknown_45":9061735057222111232}} 
[2026-08-08 20:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":151680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:01:13] local.INFO: GPS data processed {"connection_id":151680,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:01:13] local.INFO: Acknowledgment sent {"connection_id":151680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:01:41] local.INFO: TCP Data received {"connection_id":150465,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c843d0012cec6780072dd5b0003c00c52f..."} 
[2026-08-08 20:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c843d0012cec6780072dd5b0003c00c52f..."} 
[2026-08-08 20:01:41] local.INFO: Processing buffer {"connection_id":150465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c843d0012cec6780072dd5b0003c00c52f..."} 
[2026-08-08 20:01:41] local.INFO: Packet analysis {"connection_id":150465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:01:41] local.INFO: Extracted packet for processing {"connection_id":150465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753690496,"raw_latitude":120444336,"longitude_deg":75.3690496,"latitude_deg":12.0444336,"altitude":60,"angle":197,"satellites":47,"speed":20,"hex_longitude":"2cec6780","hex_latitude":"072dd5b0","is_valid_coordinates":true} 
[2026-08-08 20:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267050496001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860220229844992,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410963658671335424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199426000,"timestamp_ms":1786199426000,"timestamp_seconds":1786199426,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c843d0"} 
[2026-08-08 20:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 20:01: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-08-08 20:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267050496001,"66":27343,"73":206,"83":44032,"24":20,"16":375860220229844992,"44":-1410963658671335424},"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-08-08 20:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267050496001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:01:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860220229844992,"km_value":375860220229845.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410963658671335424,"description":"Unknown IO ID 44"} 
[2026-08-08 20:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267050496001,"power":27343,"unknown_73":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1410963658671335424}} 
[2026-08-08 20:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":150465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:01:41] local.INFO: GPS data processed {"connection_id":150465,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:01:41] local.INFO: Acknowledgment sent {"connection_id":150465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:01:41] local.INFO: TCP Data received {"connection_id":150746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:41] local.INFO: Processing buffer {"connection_id":150746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:41] local.INFO: IMEI packet received {"connection_id":150746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":150746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:01:44] local.INFO: TCP Data received {"connection_id":150746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:44] local.INFO: Processing buffer {"connection_id":150746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:44] local.INFO: IMEI packet received {"connection_id":150746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":150746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:01:46] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:01:46] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:01:46] local.INFO: Packet analysis {"connection_id":150745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:01:46] local.INFO: Extracted packet for processing {"connection_id":150745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.225.239.159","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:01:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":150745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:01:46] local.INFO: GPS data processed {"connection_id":150745,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:01:46] local.INFO: Acknowledgment sent {"connection_id":150745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:01:46] local.INFO: TCP Data received {"connection_id":150746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:46] local.INFO: Processing buffer {"connection_id":150746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:01:46] local.INFO: IMEI packet received {"connection_id":150746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":150746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:01:47] local.INFO: TCP Data received {"connection_id":150746,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c8e3f8012d7d700005fda870001500c527..."} 
[2026-08-08 20:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c8e3f8012d7d700005fda870001500c527..."} 
[2026-08-08 20:01:47] local.INFO: Processing buffer {"connection_id":150746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c8e3f8012d7d700005fda870001500c527..."} 
[2026-08-08 20:01:47] local.INFO: Packet analysis {"connection_id":150746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:01:47] local.INFO: Extracted packet for processing {"connection_id":150746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763195392,"raw_latitude":100509808,"longitude_deg":76.3195392,"latitude_deg":10.0509808,"altitude":21,"angle":197,"satellites":39,"speed":41,"hex_longitude":"2d7d7000","hex_latitude":"05fda870","is_valid_coordinates":true} 
[2026-08-08 20:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267061248001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116278070511403008,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9042031808841668608,"note":"Value kept but may cause issues"} 
[2026-08-08 20:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786199467000,"timestamp_ms":1786199467000,"timestamp_seconds":1786199467,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c8e3f8"} 
[2026-08-08 20:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:01:47] 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-08-08 20:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267061248001,"66":12015,"74":206,"87":10752,"24":41,"16":116278070511403008,"45":9042031808841668608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-08-08 20:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267061248001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:01:47] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:01:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116278070511403008,"km_value":116278070511403.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9042031808841668608,"description":"Unknown IO ID 45"} 
[2026-08-08 20:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267061248001,"power":12015,"unknown_74":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":9042031808841668608}} 
[2026-08-08 20:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":150746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:01:47] local.INFO: GPS data processed {"connection_id":150746,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:01:47] local.INFO: Acknowledgment sent {"connection_id":150746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:02:04] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:02:04] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:02:04] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:02:09] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:02:09] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:02:09] local.INFO: IMEI packet received {"connection_id":151681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":151681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:02:10] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c85758012cec6640072dcef0003b00ba2c..."} 
[2026-08-08 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c85758012cec6640072dcef0003b00ba2c..."} 
[2026-08-08 20:02:10] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c85758012cec6640072dcef0003b00ba2c..."} 
[2026-08-08 20:02:10] local.INFO: Packet analysis {"connection_id":151681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:02:10] local.INFO: Extracted packet for processing {"connection_id":151681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:02:10] local.INFO: GPS Element Parsed {"raw_longitude":753690176,"raw_latitude":120442608,"longitude_deg":75.3690176,"latitude_deg":12.0442608,"altitude":59,"angle":186,"satellites":44,"speed":6,"hex_longitude":"2cec6640","hex_latitude":"072dcef0","is_valid_coordinates":true} 
[2026-08-08 20:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267053056001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860301834223616,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412019189835255808,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199431000,"timestamp_ms":1786199431000,"timestamp_seconds":1786199431,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c85758"} 
[2026-08-08 20:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 20:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267053056001,"66":27321,"73":206,"83":44032,"24":6,"16":375860301834223616,"44":-1412019189835255808},"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-08-08 20:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267053056001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:02:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860301834223616,"km_value":375860301834223.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412019189835255808,"description":"Unknown IO ID 44"} 
[2026-08-08 20:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267053056001,"power":27321,"unknown_73":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1412019189835255808}} 
[2026-08-08 20:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":151681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:02:10] local.INFO: GPS data processed {"connection_id":151681,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:02:10] local.INFO: Acknowledgment sent {"connection_id":151681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:02:17] local.INFO: TCP Data received {"connection_id":150745,"ip":"117.225.239.159","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:02:17] local.INFO: Processing buffer {"connection_id":150745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:02:17] local.INFO: Packet analysis {"connection_id":150745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:02:17] local.INFO: Extracted packet for processing {"connection_id":150745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.239.159","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.225.239.159","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:02:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":150745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:02:17] local.INFO: GPS data processed {"connection_id":150745,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:02:17] local.INFO: Acknowledgment sent {"connection_id":150745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:02:35] local.INFO: TCP Data received {"connection_id":150747,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:35] local.INFO: Processing buffer {"connection_id":150747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:35] local.INFO: IMEI packet received {"connection_id":150747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":150747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:02:36] local.INFO: TCP Data received {"connection_id":150747,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:36] local.INFO: Processing buffer {"connection_id":150747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:36] local.INFO: IMEI packet received {"connection_id":150747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:02:41] local.INFO: TCP Data received {"connection_id":151681,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c8a960012cec6640072dcdf8003c00ba2c..."} 
[2026-08-08 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c8a960012cec6640072dcdf8003c00ba2c..."} 
[2026-08-08 20:02:41] local.INFO: Processing buffer {"connection_id":151681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c8a960012cec6640072dcdf8003c00ba2c..."} 
[2026-08-08 20:02:41] local.INFO: Packet analysis {"connection_id":151681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:02:41] local.INFO: Extracted packet for processing {"connection_id":151681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753690176,"raw_latitude":120442360,"longitude_deg":75.3690176,"latitude_deg":12.044236,"altitude":60,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2cec6640","hex_latitude":"072dcdf8","is_valid_coordinates":true} 
[2026-08-08 20:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267054336001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860314719125504,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412371033556586496,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199452000,"timestamp_ms":1786199452000,"timestamp_seconds":1786199452,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c8a960"} 
[2026-08-08 20:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20: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-08-08 20:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267054336001,"66":27267,"73":206,"83":44032,"24":0,"16":375860314719125504,"44":-1412371033556586496},"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-08-08 20:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267054336001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:02:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860314719125504,"km_value":375860314719125.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412371033556586496,"description":"Unknown IO ID 44"} 
[2026-08-08 20:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267054336001,"power":27267,"unknown_73":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1412371033556586496}} 
[2026-08-08 20:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":151681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:02:41] local.INFO: GPS data processed {"connection_id":151681,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:02:41] local.INFO: Acknowledgment sent {"connection_id":151681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:02:41] local.INFO: TCP Data received {"connection_id":150747,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:41] local.INFO: Processing buffer {"connection_id":150747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:02:41] local.INFO: IMEI packet received {"connection_id":150747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:02:43] local.INFO: TCP Data received {"connection_id":150747,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c90720012d7d66c005fd86f0001700c529..."} 
[2026-08-08 20:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c90720012d7d66c005fd86f0001700c529..."} 
[2026-08-08 20:02:43] local.INFO: Processing buffer {"connection_id":150747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c90720012d7d66c005fd86f0001700c529..."} 
[2026-08-08 20:02:43] local.INFO: Packet analysis {"connection_id":150747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:02:43] local.INFO: Extracted packet for processing {"connection_id":150747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763193024,"raw_latitude":100501232,"longitude_deg":76.3193024,"latitude_deg":10.0501232,"altitude":23,"angle":197,"satellites":41,"speed":40,"hex_longitude":"2d7d66c0","hex_latitude":"05fd86f0","is_valid_coordinates":true} 
[2026-08-08 20:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267063552001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116278500008132608,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038724477863096320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786199476000,"timestamp_ms":1786199476000,"timestamp_seconds":1786199476,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c90720"} 
[2026-08-08 20:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 20:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267063552001,"66":12004,"74":206,"87":10752,"24":40,"16":116278500008132608,"45":9038724477863096320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,87,24,16,45]} 
[2026-08-08 20:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267063552001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:02:43] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:02:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116278500008132608,"km_value":116278500008132.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038724477863096320,"description":"Unknown IO ID 45"} 
[2026-08-08 20:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267063552001,"power":12004,"unknown_74":206,"unknown_87":10752,"ignition":40,"odometer":null,"unknown_45":9038724477863096320}} 
[2026-08-08 20:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":150747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:02:43] local.INFO: GPS data processed {"connection_id":150747,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:02:43] local.INFO: Acknowledgment sent {"connection_id":150747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:03:04] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:04] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:04] local.INFO: IMEI packet received {"connection_id":153157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":153157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:03:04] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:04] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:04] local.INFO: IMEI packet received {"connection_id":153157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":153157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:03:06] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:03:06] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:03:06] local.INFO: IMEI packet received {"connection_id":153158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":153158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:03:09] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:09] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:03:09] local.INFO: IMEI packet received {"connection_id":153157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":153157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:03:10] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c8d070012cec6580072dc948004100c832..."} 
[2026-08-08 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c8d070012cec6580072dc948004100c832..."} 
[2026-08-08 20:03:10] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c8d070012cec6580072dc948004100c832..."} 
[2026-08-08 20:03:10] local.INFO: Packet analysis {"connection_id":153157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:03:10] local.INFO: Extracted packet for processing {"connection_id":153157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c8"} 
[2026-08-08 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":753689984,"raw_latitude":120441160,"longitude_deg":75.3689984,"latitude_deg":12.044116,"altitude":65,"angle":200,"satellites":50,"speed":8,"hex_longitude":"2cec6580","hex_latitude":"072dc948","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267059712001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860374848667648,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412371033556649984,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199462000,"timestamp_ms":1786199462000,"timestamp_seconds":1786199462,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c8d070"} 
[2026-08-08 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-08-08 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267059712001,"66":27267,"73":206,"83":44032,"24":8,"16":375860374848667648,"44":-1412371033556649984},"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-08-08 20:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267059712001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:03:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860374848667648,"km_value":375860374848667.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412371033556649984,"description":"Unknown IO ID 44"} 
[2026-08-08 20:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267059712001,"power":27267,"unknown_73":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1412371033556649984}} 
[2026-08-08 20:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":153157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:03:10] local.INFO: GPS data processed {"connection_id":153157,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:03:10] local.INFO: Acknowledgment sent {"connection_id":153157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:03:11] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:03:11] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:03:11] local.INFO: IMEI packet received {"connection_id":153158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":153158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:03:12] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:03:12] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:03:12] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:03:12] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:03: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-08-08 20:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:03:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:03:13] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:03:13] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:03:14] local.INFO: TCP Data received {"connection_id":150747,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ca7650012d7d0f4005fc69c8001900c526..."} 
[2026-08-08 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ca7650012d7d0f4005fc69c8001900c526..."} 
[2026-08-08 20:03:14] local.INFO: Processing buffer {"connection_id":150747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ca7650012d7d0f4005fc69c8001900c526..."} 
[2026-08-08 20:03:14] local.INFO: Packet analysis {"connection_id":150747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:03:14] local.INFO: Extracted packet for processing {"connection_id":150747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763170624,"raw_latitude":100428232,"longitude_deg":76.3170624,"latitude_deg":10.0428232,"altitude":25,"angle":197,"satellites":38,"speed":46,"hex_longitude":"2d7d0f40","hex_latitude":"05fc69c8","is_valid_coordinates":true} 
[2026-08-08 20:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267087872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116282210859876352,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892358934528,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786199570000,"timestamp_ms":1786199570000,"timestamp_seconds":1786199570,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ca7650"} 
[2026-08-08 20:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:03:14] 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-08-08 20:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267087872001,"66":12037,"142":206,"87":10752,"24":46,"16":116282210859876352,"45":9014376892358934528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-08-08 20:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267087872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:03:14] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-08 20:03:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116282210859876352,"km_value":116282210859876.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892358934528,"description":"Unknown IO ID 45"} 
[2026-08-08 20:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267087872001,"power":12037,"unknown_142":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":9014376892358934528}} 
[2026-08-08 20:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":150747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:03:14] local.INFO: GPS data processed {"connection_id":150747,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:03:14] local.INFO: Acknowledgment sent {"connection_id":150747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:03:31] local.INFO: TCP Data received {"connection_id":151682,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:03:31] local.INFO: Processing buffer {"connection_id":151682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:03:31] local.INFO: IMEI packet received {"connection_id":151682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":151682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:03:36] local.INFO: TCP Data received {"connection_id":151682,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:03:36] local.INFO: Processing buffer {"connection_id":151682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:03:36] local.INFO: IMEI packet received {"connection_id":151682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":151682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:03:37] local.INFO: TCP Data received {"connection_id":151682,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ca91a8012d7d060005fc4830001700c426..."} 
[2026-08-08 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ca91a8012d7d060005fc4830001700c426..."} 
[2026-08-08 20:03:37] local.INFO: Processing buffer {"connection_id":151682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ca91a8012d7d060005fc4830001700c426..."} 
[2026-08-08 20:03:37] local.INFO: Packet analysis {"connection_id":151682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:03:37] local.INFO: Extracted packet for processing {"connection_id":151682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763168256,"raw_latitude":100419632,"longitude_deg":76.3168256,"latitude_deg":10.0419632,"altitude":23,"angle":196,"satellites":38,"speed":49,"hex_longitude":"2d7d0600","hex_latitude":"05fc4830","is_valid_coordinates":true} 
[2026-08-08 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267089920001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116282644651573248,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491773845456896,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199577000,"timestamp_ms":1786199577000,"timestamp_seconds":1786199577,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ca91a8"} 
[2026-08-08 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788090160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3386511361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4055891988,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4993085498095960088,"corrected_to":0} 
[2026-08-08 20:03:37] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1879125373,"corrected_to":0} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640005,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-215944083342833892,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,142,87,24,241,157,16,30,159,45,128,139,23,33,10,66,29,55,172,22,38,20,192,1,240,180,227,28,225,252,4,113,205,18,202,59,152,239,46,75,2,5,69],"length":484,"final_offset":614,"validated_count":43,"validation_warnings":[{"io_id":205,"original":4993085498095960088,"validated":0},{"io_id":202,"original":1879125373,"validated":0}]} 
[2026-08-08 20:03:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801656617950642176,"timestamp_seconds":1801656617950642.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267089920001,"66":12037,"144":206,"87":10752,"24":49,"16":116282644651573248,"45":9011491773845456896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267089920001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:03:37] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116282644651573248,"km_value":116282644651573.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491773845456896,"description":"Unknown IO ID 45"} 
[2026-08-08 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267089920001,"power":12037,"unknown_144":206,"unknown_87":10752,"ignition":49,"odometer":null,"unknown_45":9011491773845456896}} 
[2026-08-08 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":151682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:03:37] local.INFO: GPS data processed {"connection_id":151682,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:03:37] local.INFO: Acknowledgment sent {"connection_id":151682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:03:41] local.INFO: TCP Data received {"connection_id":153157,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c92278012cec5e80072db790003f00c42f..."} 
[2026-08-08 20:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c92278012cec5e80072db790003f00c42f..."} 
[2026-08-08 20:03:41] local.INFO: Processing buffer {"connection_id":153157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c92278012cec5e80072db790003f00c42f..."} 
[2026-08-08 20:03:41] local.INFO: Packet analysis {"connection_id":153157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:03:41] local.INFO: Extracted packet for processing {"connection_id":153157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753688192,"raw_latitude":120436624,"longitude_deg":75.3688192,"latitude_deg":12.0436624,"altitude":63,"angle":196,"satellites":47,"speed":0,"hex_longitude":"2cec5e80","hex_latitude":"072db790","is_valid_coordinates":true} 
[2026-08-08 20:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267062272001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860615366836224,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412582139789490176,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199483000,"timestamp_ms":1786199483000,"timestamp_seconds":1786199483,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c92278"} 
[2026-08-08 20:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267062272001,"66":27332,"73":206,"83":44032,"24":0,"16":375860615366836224,"44":-1412582139789490176},"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-08-08 20:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267062272001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:03:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860615366836224,"km_value":375860615366836.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412582139789490176,"description":"Unknown IO ID 44"} 
[2026-08-08 20:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267062272001,"power":27332,"unknown_73":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1412582139789490176}} 
[2026-08-08 20:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":153157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:03:41] local.INFO: GPS data processed {"connection_id":153157,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:03:41] local.INFO: Acknowledgment sent {"connection_id":153157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:03:44] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:03:44] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:03:44] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:03:44] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:03: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-08-08 20:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:03:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:03:44] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:03:44] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:04] local.INFO: TCP Data received {"connection_id":150748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:04] local.INFO: Processing buffer {"connection_id":150748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:04] local.INFO: IMEI packet received {"connection_id":150748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":150748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:04:07] local.INFO: TCP Data received {"connection_id":150748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:07] local.INFO: Processing buffer {"connection_id":150748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:07] local.INFO: IMEI packet received {"connection_id":150748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":150748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:04:08] local.INFO: TCP Data received {"connection_id":151682,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cab0e8012d7cfb0005fc22a8001600c426..."} 
[2026-08-08 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cab0e8012d7cfb0005fc22a8001600c426..."} 
[2026-08-08 20:04:08] local.INFO: Processing buffer {"connection_id":151682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cab0e8012d7cfb0005fc22a8001600c426..."} 
[2026-08-08 20:04:08] local.INFO: Packet analysis {"connection_id":151682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:04:08] local.INFO: Extracted packet for processing {"connection_id":151682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":100410024,"longitude_deg":76.316544,"latitude_deg":10.0410024,"altitude":22,"angle":196,"satellites":38,"speed":44,"hex_longitude":"2d7cfb00","hex_latitude":"05fc22a8","is_valid_coordinates":true} 
[2026-08-08 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267091712001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116283129982877696,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008888130308681728,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786199585000,"timestamp_ms":1786199585000,"timestamp_seconds":1786199585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cab0e8"} 
[2026-08-08 20:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788098160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3390351361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3491233813,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4993085498095960088,"corrected_to":0} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-218257455807678435,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194786048,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,144,87,24,241,157,16,30,159,118,45,64,105,25,38,10,66,142,128,139,23,33,29,55,1,240,76,227,225,252,4,113,205,35,218,58,192,239,47,2,5,69],"length":484,"final_offset":614,"validated_count":42,"validation_warnings":[{"io_id":205,"original":4993085498095960088,"validated":0}]} 
[2026-08-08 20:04:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657540330363355136,"timestamp_seconds":1657540330363355.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267091712001,"66":11852,"144":206,"87":10752,"24":44,"16":116283129982877696,"45":9008888130308681728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267091712001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:08] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:04:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116283129982877696,"km_value":116283129982877.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008888130308681728,"description":"Unknown IO ID 45"} 
[2026-08-08 20:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267091712001,"power":11852,"unknown_144":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":9008888130308681728}} 
[2026-08-08 20:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":151682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:08] local.INFO: GPS data processed {"connection_id":151682,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:08] local.INFO: Acknowledgment sent {"connection_id":151682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:09] local.INFO: TCP Data received {"connection_id":150748,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:09] local.INFO: Processing buffer {"connection_id":150748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:04:09] local.INFO: IMEI packet received {"connection_id":150748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":150748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:04:10] local.INFO: TCP Data received {"connection_id":150748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c97480012cec5e80072db790003f00c430..."} 
[2026-08-08 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c97480012cec5e80072db790003f00c430..."} 
[2026-08-08 20:04:10] local.INFO: Processing buffer {"connection_id":150748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c97480012cec5e80072db790003f00c430..."} 
[2026-08-08 20:04:10] local.INFO: Packet analysis {"connection_id":150748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:04:10] local.INFO: Extracted packet for processing {"connection_id":150748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":753688192,"raw_latitude":120436624,"longitude_deg":75.3688192,"latitude_deg":12.0436624,"altitude":63,"angle":196,"satellites":48,"speed":0,"hex_longitude":"2cec5e80","hex_latitude":"072db790","is_valid_coordinates":true} 
[2026-08-08 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267067648001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860615366836224,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414552464627625984,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199504000,"timestamp_ms":1786199504000,"timestamp_seconds":1786199504,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c97480"} 
[2026-08-08 20:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267067648001,"66":27463,"73":206,"83":44032,"24":0,"16":375860615366836224,"44":-1414552464627625984},"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-08-08 20:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267067648001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:10] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860615366836224,"km_value":375860615366836.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414552464627625984,"description":"Unknown IO ID 44"} 
[2026-08-08 20:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267067648001,"power":27463,"unknown_73":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1414552464627625984}} 
[2026-08-08 20:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":150748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:10] local.INFO: GPS data processed {"connection_id":150748,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:10] local.INFO: Acknowledgment sent {"connection_id":150748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:16] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:04:16] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:04:16] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:04:16] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:16] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:16] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:33] local.INFO: TCP Data received {"connection_id":150749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:04:33] local.INFO: Processing buffer {"connection_id":150749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:04:33] local.INFO: IMEI packet received {"connection_id":150749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":150749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:04:37] local.INFO: TCP Data received {"connection_id":150749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:04:37] local.INFO: Processing buffer {"connection_id":150749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:04:37] local.INFO: IMEI packet received {"connection_id":150749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":150749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:04:38] local.INFO: TCP Data received {"connection_id":150749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cafb20012d7cf00005fc01b0001100c025..."} 
[2026-08-08 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cafb20012d7cf00005fc01b0001100c025..."} 
[2026-08-08 20:04:38] local.INFO: Processing buffer {"connection_id":150749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cafb20012d7cf00005fc01b0001100c025..."} 
[2026-08-08 20:04:38] local.INFO: Packet analysis {"connection_id":150749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:04:38] local.INFO: Extracted packet for processing {"connection_id":150749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763162624,"raw_latitude":100401584,"longitude_deg":76.3162624,"latitude_deg":10.0401584,"altitude":17,"angle":192,"satellites":37,"speed":5,"hex_longitude":"2d7cf000","hex_latitude":"05fc01b0","is_valid_coordinates":true} 
[2026-08-08 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267093760001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116283559479607296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905562404864,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786199604000,"timestamp_ms":1786199604000,"timestamp_seconds":1786199604,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cafb20"} 
[2026-08-08 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267093760001,"66":12069,"144":206,"87":10752,"24":5,"16":116283559479607296,"45":9005791905562404864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267093760001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116283559479607296,"km_value":116283559479607.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905562404864,"description":"Unknown IO ID 45"} 
[2026-08-08 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267093760001,"power":12069,"unknown_144":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":9005791905562404864}} 
[2026-08-08 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":150749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:38] local.INFO: GPS data processed {"connection_id":150749,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:38] local.INFO: Acknowledgment sent {"connection_id":150749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:38] local.INFO: TCP Data received {"connection_id":150749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cb3d88012d7ceb8005fbf6e8000d00cc28..."} 
[2026-08-08 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cb3d88012d7ceb8005fbf6e8000d00cc28..."} 
[2026-08-08 20:04:38] local.INFO: Processing buffer {"connection_id":150749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cb3d88012d7ceb8005fbf6e8000d00cc28..."} 
[2026-08-08 20:04:38] local.INFO: Packet analysis {"connection_id":150749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:04:38] local.INFO: Extracted packet for processing {"connection_id":150749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763161472,"raw_latitude":100398824,"longitude_deg":76.3161472,"latitude_deg":10.0398824,"altitude":13,"angle":204,"satellites":40,"speed":9,"hex_longitude":"2d7ceb80","hex_latitude":"05fbf6e8","is_valid_coordinates":true} 
[2026-08-08 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267098624001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116283709803462656,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002695680816427008,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786199621000,"timestamp_ms":1786199621000,"timestamp_seconds":1786199621,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cb3d88"} 
[2026-08-08 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267098624001,"66":12048,"144":206,"87":10752,"24":9,"16":116283709803462656,"45":9002695680816427008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267098624001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116283709803462656,"km_value":116283709803462.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002695680816427008,"description":"Unknown IO ID 45"} 
[2026-08-08 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267098624001,"power":12048,"unknown_144":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":9002695680816427008}} 
[2026-08-08 20:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":150749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:39] local.INFO: GPS data processed {"connection_id":150749,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:39] local.INFO: Acknowledgment sent {"connection_id":150749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:41] local.INFO: TCP Data received {"connection_id":150748,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c9c688012cec5d40072db298004300c433..."} 
[2026-08-08 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c9c688012cec5d40072db298004300c433..."} 
[2026-08-08 20:04:41] local.INFO: Processing buffer {"connection_id":150748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c9c688012cec5d40072db298004300c433..."} 
[2026-08-08 20:04:41] local.INFO: Packet analysis {"connection_id":150748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:04:41] local.INFO: Extracted packet for processing {"connection_id":150748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c9"} 
[2026-08-08 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753687872,"raw_latitude":120435352,"longitude_deg":75.3687872,"latitude_deg":12.0435352,"altitude":67,"angle":196,"satellites":51,"speed":0,"hex_longitude":"2cec5d40","hex_latitude":"072db298","is_valid_coordinates":true} 
[2026-08-08 20:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267073024001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860684086312960,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414552464627625984,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199525000,"timestamp_ms":1786199525000,"timestamp_seconds":1786199525,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c9c688"} 
[2026-08-08 20:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:04: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-08-08 20:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267073024001,"66":27517,"73":206,"83":44032,"24":0,"16":375860684086312960,"44":-1414552464627625984},"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-08-08 20:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267073024001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-08 20:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860684086312960,"km_value":375860684086312.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414552464627625984,"description":"Unknown IO ID 44"} 
[2026-08-08 20:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267073024001,"power":27517,"unknown_73":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1414552464627625984}} 
[2026-08-08 20:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":150748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:41] local.INFO: GPS data processed {"connection_id":150748,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:41] local.INFO: Acknowledgment sent {"connection_id":150748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:04:48] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:04:48] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:04:48] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:04:48] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:04:48] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:04:48] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:09] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:05:09] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:05:09] local.INFO: IMEI packet received {"connection_id":151683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":151683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:05:10] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:05:10] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:05:10] local.INFO: IMEI packet received {"connection_id":151683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":151683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:05:10] local.INFO: TCP Data received {"connection_id":150749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cb8ba8012d7ce50005fbe650000800cc2a..."} 
[2026-08-08 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cb8ba8012d7ce50005fbe650000800cc2a..."} 
[2026-08-08 20:05:10] local.INFO: Processing buffer {"connection_id":150749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cb8ba8012d7ce50005fbe650000800cc2a..."} 
[2026-08-08 20:05:10] local.INFO: Packet analysis {"connection_id":150749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:05:10] local.INFO: Extracted packet for processing {"connection_id":150749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":100394576,"longitude_deg":76.3159808,"latitude_deg":10.0394576,"altitude":8,"angle":204,"satellites":42,"speed":3,"hex_longitude":"2d7ce500","hex_latitude":"05fbe650","is_valid_coordinates":true} 
[2026-08-08 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267102976001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116283928846794752,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001429043420522496,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199641000,"timestamp_ms":1786199641000,"timestamp_seconds":1786199641,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cb8ba8"} 
[2026-08-08 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578345199031540992,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5911825518437120,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788126160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7125581916383739904,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-239693534486019034,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505373939924992,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3396751361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627599593712782,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3210504470587375640,"corrected_to":0} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365639980,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2147875979,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194769408,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84861607733492944,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,144,87,24,241,157,16,31,159,251,45,1,17,37,10,66,176,34,22,38,30,145,240,5,227,225,252,4,113,205,46,25,64,33,239,142,2,69,168],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3210504470587375640,"validated":0}]} 
[2026-08-08 20:05:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936973194664411136,"timestamp_seconds":936973194664411.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267102976001,"66":11830,"144":206,"87":10752,"24":3,"16":116283928846794752,"45":9001429043420522496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267102976001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:10] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:05:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116283928846794752,"km_value":116283928846794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001429043420522496,"description":"Unknown IO ID 45"} 
[2026-08-08 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267102976001,"power":11830,"unknown_144":206,"unknown_87":10752,"ignition":3,"odometer":null,"unknown_45":9001429043420522496}} 
[2026-08-08 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":150749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:10] local.INFO: GPS data processed {"connection_id":150749,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:10] local.INFO: Acknowledgment sent {"connection_id":150749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:11] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ca1890012cec5940072da380004100c332..."} 
[2026-08-08 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ca1890012cec5940072da380004100c332..."} 
[2026-08-08 20:05:11] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ca1890012cec5940072da380004100c332..."} 
[2026-08-08 20:05:11] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:05:11] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":753686848,"raw_latitude":120431488,"longitude_deg":75.3686848,"latitude_deg":12.0431488,"altitude":65,"angle":195,"satellites":50,"speed":17,"hex_longitude":"2cec5940","hex_latitude":"072da380","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267078400001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375860877359841280,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414904308348839936,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786199546000,"timestamp_ms":1786199546000,"timestamp_seconds":1786199546,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ca1890"} 
[2026-08-08 20:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:05: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-08-08 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 20:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:05: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-08-08 20:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267078400001,"66":27376,"74":206,"83":44032,"24":17,"16":375860877359841280,"44":-1414904308348839936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 20:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267078400001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:11] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:05:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375860877359841280,"km_value":375860877359841.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414904308348839936,"description":"Unknown IO ID 44"} 
[2026-08-08 20:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267078400001,"power":27376,"unknown_74":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1414904308348839936}} 
[2026-08-08 20:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:11] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:11] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:15] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ca6a98012cec5480072d90f8003b00c133..."} 
[2026-08-08 20:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ca6a98012cec5480072d90f8003b00c133..."} 
[2026-08-08 20:05:15] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ca6a98012cec5480072d90f8003b00c133..."} 
[2026-08-08 20:05:15] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:05:15] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753685632,"raw_latitude":120426744,"longitude_deg":75.3685632,"latitude_deg":12.0426744,"altitude":59,"angle":193,"satellites":51,"speed":0,"hex_longitude":"2cec5480","hex_latitude":"072d90f8","is_valid_coordinates":true} 
[2026-08-08 20:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267083776001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375861117878009856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416030208256671744,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786199567000,"timestamp_ms":1786199567000,"timestamp_seconds":1786199567,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ca6a98"} 
[2026-08-08 20:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:05: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-08-08 20:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267083776001,"66":27397,"74":206,"83":44032,"24":0,"16":375861117878009856,"44":-1416030208256671744},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 20:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267083776001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:15] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375861117878009856,"km_value":375861117878009.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416030208256671744,"description":"Unknown IO ID 44"} 
[2026-08-08 20:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267083776001,"power":27397,"unknown_74":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1416030208256671744}} 
[2026-08-08 20:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:15] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:15] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:19] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:05:19] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:05:19] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:05:19] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:20] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:20] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:31] local.INFO: TCP Data received {"connection_id":150750,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:05:31] local.INFO: Processing buffer {"connection_id":150750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:05:31] local.INFO: IMEI packet received {"connection_id":150750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":150750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:05:36] local.INFO: TCP Data received {"connection_id":150750,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:05:36] local.INFO: Processing buffer {"connection_id":150750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:05:36] local.INFO: IMEI packet received {"connection_id":150750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:05:37] local.INFO: TCP Data received {"connection_id":150750,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cba318012d7ce40005fbe3f8000800bc2a..."} 
[2026-08-08 20:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cba318012d7ce40005fbe3f8000800bc2a..."} 
[2026-08-08 20:05:37] local.INFO: Processing buffer {"connection_id":150750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cba318012d7ce40005fbe3f8000800bc2a..."} 
[2026-08-08 20:05:37] local.INFO: Packet analysis {"connection_id":150750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:05:37] local.INFO: Extracted packet for processing {"connection_id":150750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763159552,"raw_latitude":100393976,"longitude_deg":76.3159552,"latitude_deg":10.0393976,"altitude":8,"angle":188,"satellites":42,"speed":5,"hex_longitude":"2d7ce400","hex_latitude":"05fbe3f8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267108096001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116283963206533120,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599456070815744,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199647000,"timestamp_ms":1786199647000,"timestamp_seconds":1786199647,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cba318"} 
[2026-08-08 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-08-08 20:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 20:05:37] 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-08-08 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-08-08 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-08-08 20:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267108096001,"66":11852,"144":206,"87":10752,"24":5,"16":116283963206533120,"45":8999599456070815744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267108096001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116283963206533120,"km_value":116283963206533.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599456070815744,"description":"Unknown IO ID 45"} 
[2026-08-08 20:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267108096001,"power":11852,"unknown_144":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":8999599456070815744}} 
[2026-08-08 20:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":150750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:37] local.INFO: GPS data processed {"connection_id":150750,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:37] local.INFO: Acknowledgment sent {"connection_id":150750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:49] local.INFO: TCP Data received {"connection_id":151683,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cabca0012cec5480072d90d0003b00c133..."} 
[2026-08-08 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cabca0012cec5480072d90d0003b00c133..."} 
[2026-08-08 20:05:49] local.INFO: Processing buffer {"connection_id":151683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cabca0012cec5480072d90d0003b00c133..."} 
[2026-08-08 20:05:49] local.INFO: Packet analysis {"connection_id":151683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:05:49] local.INFO: Extracted packet for processing {"connection_id":151683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ca"} 
[2026-08-08 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":753685632,"raw_latitude":120426704,"longitude_deg":75.3685632,"latitude_deg":12.0426704,"altitude":59,"angle":193,"satellites":51,"speed":0,"hex_longitude":"2cec5480","hex_latitude":"072d90d0","is_valid_coordinates":true} 
[2026-08-08 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267089152001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375861117878009856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417367214397261824,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786199588000,"timestamp_ms":1786199588000,"timestamp_seconds":1786199588,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cabca0"} 
[2026-08-08 20:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267089152001,"66":27267,"74":206,"83":44032,"24":0,"16":375861117878009856,"44":-1417367214397261824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 20:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267089152001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:49] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375861117878009856,"km_value":375861117878009.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417367214397261824,"description":"Unknown IO ID 44"} 
[2026-08-08 20:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267089152001,"power":27267,"unknown_74":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1417367214397261824}} 
[2026-08-08 20:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":151683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:49] local.INFO: GPS data processed {"connection_id":151683,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:49] local.INFO: Acknowledgment sent {"connection_id":151683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:05:51] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:05:51] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:05:51] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:05:51] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:05:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:05:51] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:05:51] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:06:04] local.INFO: TCP Data received {"connection_id":150751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:06:04] local.INFO: Processing buffer {"connection_id":150751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:06:04] local.INFO: IMEI packet received {"connection_id":150751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":150751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:06:09] local.INFO: TCP Data received {"connection_id":150750,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cbba88012d7ce3c005fbe088000700aa2b..."} 
[2026-08-08 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cbba88012d7ce3c005fbe088000700aa2b..."} 
[2026-08-08 20:06:09] local.INFO: Processing buffer {"connection_id":150750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cbba88012d7ce3c005fbe088000700aa2b..."} 
[2026-08-08 20:06:09] local.INFO: Packet analysis {"connection_id":150750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:06:09] local.INFO: Extracted packet for processing {"connection_id":150750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763159488,"raw_latitude":100393096,"longitude_deg":76.3159488,"latitude_deg":10.0393096,"altitude":7,"angle":170,"satellites":43,"speed":5,"hex_longitude":"2d7ce3c0","hex_latitude":"05fbe088","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267109632001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116284010451173376,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999317981093951488,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786199653000,"timestamp_ms":1786199653000,"timestamp_seconds":1786199653,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cbba88"} 
[2026-08-08 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-08-08 20:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 20:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267109632001,"66":12004,"144":206,"87":10752,"24":5,"16":116284010451173376,"45":8999317981093951488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267109632001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:06:09] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:06:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116284010451173376,"km_value":116284010451173.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999317981093951488,"description":"Unknown IO ID 45"} 
[2026-08-08 20:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267109632001,"power":12004,"unknown_144":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":8999317981093951488}} 
[2026-08-08 20:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":150750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:06:09] local.INFO: GPS data processed {"connection_id":150750,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:06:09] local.INFO: Acknowledgment sent {"connection_id":150750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:06:09] local.INFO: TCP Data received {"connection_id":150751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:06:09] local.INFO: Processing buffer {"connection_id":150751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:06:09] local.INFO: IMEI packet received {"connection_id":150751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":150751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:06:10] local.INFO: TCP Data received {"connection_id":150751,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cb0ea8012cec5480072d90d0003b00c132..."} 
[2026-08-08 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cb0ea8012cec5480072d90d0003b00c132..."} 
[2026-08-08 20:06:10] local.INFO: Processing buffer {"connection_id":150751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cb0ea8012cec5480072d90d0003b00c132..."} 
[2026-08-08 20:06:10] local.INFO: Packet analysis {"connection_id":150751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:06:10] local.INFO: Extracted packet for processing {"connection_id":150751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:06:10] local.INFO: GPS Element Parsed {"raw_longitude":753685632,"raw_latitude":120426704,"longitude_deg":75.3685632,"latitude_deg":12.0426704,"altitude":59,"angle":193,"satellites":50,"speed":0,"hex_longitude":"2cec5480","hex_latitude":"072d90d0","is_valid_coordinates":true} 
[2026-08-08 20:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267094528001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375861117878009856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417367214397272064,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199609000,"timestamp_ms":1786199609000,"timestamp_seconds":1786199609,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cb0ea8"} 
[2026-08-08 20:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267094528001,"66":27343,"74":206,"83":44032,"24":0,"16":375861117878009856,"44":-1417367214397272064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 20:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267094528001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:06:10] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375861117878009856,"km_value":375861117878009.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417367214397272064,"description":"Unknown IO ID 44"} 
[2026-08-08 20:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267094528001,"power":27343,"unknown_74":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1417367214397272064}} 
[2026-08-08 20:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":150751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:06:10] local.INFO: GPS data processed {"connection_id":150751,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:06:10] local.INFO: Acknowledgment sent {"connection_id":150751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:06:23] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:06:23] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:06:23] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:06:23] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:06:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:06:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:06:23] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:06:23] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:06:30] local.INFO: TCP Data received {"connection_id":150466,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:30] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:30] local.INFO: IMEI packet received {"connection_id":150466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":150466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:06:31] local.INFO: TCP Data received {"connection_id":150466,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:31] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:31] local.INFO: IMEI packet received {"connection_id":150466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":150466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:06:32] local.INFO: TCP Data received {"connection_id":150466,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:32] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:32] local.INFO: IMEI packet received {"connection_id":150466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":150466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:06:37] local.INFO: TCP Data received {"connection_id":150466,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:37] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:06:37] local.INFO: IMEI packet received {"connection_id":150466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":150466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:06:38] local.INFO: TCP Data received {"connection_id":150466,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cbbe70012d7ce38005fbe000000700c02b..."} 
[2026-08-08 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cbbe70012d7ce38005fbe000000700c02b..."} 
[2026-08-08 20:06:38] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cbbe70012d7ce38005fbe000000700c02b..."} 
[2026-08-08 20:06:38] local.INFO: Packet analysis {"connection_id":150466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:06:38] local.INFO: Extracted packet for processing {"connection_id":150466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763159424,"raw_latitude":100392960,"longitude_deg":76.3159424,"latitude_deg":10.039296,"altitude":7,"angle":192,"satellites":43,"speed":5,"hex_longitude":"2d7ce380","hex_latitude":"05fbe000","is_valid_coordinates":true} 
[2026-08-08 20:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267111168001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116284014746140672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999247612349548544,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786199654000,"timestamp_ms":1786199654000,"timestamp_seconds":1786199654,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cbbe70"} 
[2026-08-08 20:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 20:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267111168001,"66":12026,"144":206,"87":10752,"24":5,"16":116284014746140672,"45":8999247612349548544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267111168001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:06:38] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:06:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116284014746140672,"km_value":116284014746140.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999247612349548544,"description":"Unknown IO ID 45"} 
[2026-08-08 20:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267111168001,"power":12026,"unknown_144":206,"unknown_87":10752,"ignition":5,"odometer":null,"unknown_45":8999247612349548544}} 
[2026-08-08 20:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":150466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:06:38] local.INFO: GPS data processed {"connection_id":150466,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:06:38] local.INFO: Acknowledgment sent {"connection_id":150466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:06:41] local.INFO: TCP Data received {"connection_id":150751,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cd29b8012cec4ec0072d6d98003f005733..."} 
[2026-08-08 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cd29b8012cec4ec0072d6d98003f005733..."} 
[2026-08-08 20:06:41] local.INFO: Processing buffer {"connection_id":150751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cd29b8012cec4ec0072d6d98003f005733..."} 
[2026-08-08 20:06:41] local.INFO: Packet analysis {"connection_id":150751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:06:41] local.INFO: Extracted packet for processing {"connection_id":150751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753684160,"raw_latitude":120417688,"longitude_deg":75.368416,"latitude_deg":12.0417688,"altitude":63,"angle":87,"satellites":51,"speed":11,"hex_longitude":"2cec4ec0","hex_latitude":"072d6d98","is_valid_coordinates":true} 
[2026-08-08 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267134976001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375861598914347008,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419337539236548608,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199747000,"timestamp_ms":1786199747000,"timestamp_seconds":1786199747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cd29b8"} 
[2026-08-08 20:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-08 20:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:06: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-08-08 20:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267134976001,"66":27484,"74":206,"83":44032,"24":11,"16":375861598914347008,"44":-1419337539236548608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 20:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267134976001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:06:41] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375861598914347008,"km_value":375861598914347.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419337539236548608,"description":"Unknown IO ID 44"} 
[2026-08-08 20:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267134976001,"power":27484,"unknown_74":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1419337539236548608}} 
[2026-08-08 20:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":150751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:06:41] local.INFO: GPS data processed {"connection_id":150751,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:06:41] local.INFO: Acknowledgment sent {"connection_id":150751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:06:55] local.INFO: TCP Data received {"connection_id":153158,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:06:55] local.INFO: Processing buffer {"connection_id":153158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:06:55] local.INFO: Packet analysis {"connection_id":153158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:06:55] local.INFO: Extracted packet for processing {"connection_id":153158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 20:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":153158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":153158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:06:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":153158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:06:55] local.INFO: GPS data processed {"connection_id":153158,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:06:55] local.INFO: Acknowledgment sent {"connection_id":153158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:07:06] local.INFO: TCP Data received {"connection_id":153159,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:07:06] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:07:06] local.INFO: IMEI packet received {"connection_id":153159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":153159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:07:09] local.INFO: TCP Data received {"connection_id":150466,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cbc258012d7ce2c005fbdf70000700cd2b..."} 
[2026-08-08 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cbc258012d7ce2c005fbdf70000700cd2b..."} 
[2026-08-08 20:07:09] local.INFO: Processing buffer {"connection_id":150466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cbc258012d7ce2c005fbdf70000700cd2b..."} 
[2026-08-08 20:07:09] local.INFO: Packet analysis {"connection_id":150466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:07:09] local.INFO: Extracted packet for processing {"connection_id":150466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cb"} 
[2026-08-08 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763159232,"raw_latitude":100392816,"longitude_deg":76.3159232,"latitude_deg":10.0392816,"altitude":7,"angle":205,"satellites":43,"speed":6,"hex_longitude":"2d7ce2c0","hex_latitude":"05fbdf70","is_valid_coordinates":true} 
[2026-08-08 20:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267111424001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116284027631042560,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999177243605336064,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786199655000,"timestamp_ms":1786199655000,"timestamp_seconds":1786199655,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cbc258"} 
[2026-08-08 20:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 20:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267111424001,"66":12026,"144":206,"87":10752,"24":6,"16":116284027631042560,"45":8999177243605336064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-08-08 20:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267111424001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:07:09] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-08 20:07:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116284027631042560,"km_value":116284027631042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999177243605336064,"description":"Unknown IO ID 45"} 
[2026-08-08 20:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267111424001,"power":12026,"unknown_144":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":8999177243605336064}} 
[2026-08-08 20:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":150466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:07:09] local.INFO: GPS data processed {"connection_id":150466,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:07:09] local.INFO: Acknowledgment sent {"connection_id":150466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:07:09] local.INFO: TCP Data received {"connection_id":153159,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:07:09] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:07:09] local.INFO: IMEI packet received {"connection_id":153159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":153159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:07:12] local.INFO: TCP Data received {"connection_id":153159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cd2da0012cec5000072d6de8003f004933..."} 
[2026-08-08 20:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cd2da0012cec5000072d6de8003f004933..."} 
[2026-08-08 20:07:12] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cd2da0012cec5000072d6de8003f004933..."} 
[2026-08-08 20:07:12] local.INFO: Packet analysis {"connection_id":153159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:07:12] local.INFO: Extracted packet for processing {"connection_id":153159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:07:12] local.INFO: GPS Element Parsed {"raw_longitude":753684480,"raw_latitude":120417768,"longitude_deg":75.368448,"latitude_deg":12.0417768,"altitude":63,"angle":73,"satellites":51,"speed":12,"hex_longitude":"2cec5000","hex_latitude":"072d6de8","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267135232001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375861611799248896,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418985695515666432,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786199748000,"timestamp_ms":1786199748000,"timestamp_seconds":1786199748,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cd2da0"} 
[2026-08-08 20:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:07: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-08-08 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 20:07: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-08-08 20: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-08-08 20:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:07: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-08-08 20:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267135232001,"66":27484,"74":206,"83":44032,"24":12,"16":375861611799248896,"44":-1418985695515666432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,83,24,16,44]} 
[2026-08-08 20:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267135232001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:07:12] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-08 20:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375861611799248896,"km_value":375861611799248.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418985695515666432,"description":"Unknown IO ID 44"} 
[2026-08-08 20:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267135232001,"power":27484,"unknown_74":206,"unknown_83":44032,"ignition":12,"odometer":null,"unknown_44":-1418985695515666432}} 
[2026-08-08 20:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":153159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:07:12] local.INFO: GPS data processed {"connection_id":153159,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:07:12] local.INFO: Acknowledgment sent {"connection_id":153159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:07:13] local.INFO: TCP Data received {"connection_id":153159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cd4128012cec5880072d6f90003f005431..."} 
[2026-08-08 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cd4128012cec5880072d6f90003f005431..."} 
[2026-08-08 20:07:13] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cd4128012cec5880072d6f90003f005431..."} 
[2026-08-08 20:07:13] local.INFO: Packet analysis {"connection_id":153159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:07:13] local.INFO: Extracted packet for processing {"connection_id":153159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753686656,"raw_latitude":120418192,"longitude_deg":75.3686656,"latitude_deg":12.0418192,"altitude":63,"angle":84,"satellites":49,"speed":20,"hex_longitude":"2cec5880","hex_latitude":"072d6f90","is_valid_coordinates":true} 
[2026-08-08 20:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267135488001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375861719173431296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418633851794757632,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786199753000,"timestamp_ms":1786199753000,"timestamp_seconds":1786199753,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cd4128"} 
[2026-08-08 20:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 20:07: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-08-08 20:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:07: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-08-08 20:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267135488001,"66":27343,"112":206,"83":44032,"24":20,"16":375861719173431296,"44":-1418633851794757632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-08-08 20:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267135488001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:07:13] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 20:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375861719173431296,"km_value":375861719173431.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418633851794757632,"description":"Unknown IO ID 44"} 
[2026-08-08 20:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267135488001,"power":27343,"unknown_112":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1418633851794757632}} 
[2026-08-08 20:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":153159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:07:13] local.INFO: GPS data processed {"connection_id":153159,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:07:13] local.INFO: Acknowledgment sent {"connection_id":153159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:07:31] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:07:31] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:07:31] local.INFO: IMEI packet received {"connection_id":153160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":153160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:07:36] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:07:36] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:07:36] local.INFO: IMEI packet received {"connection_id":150467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":150467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:07:36] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:07:36] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:07:36] local.INFO: IMEI packet received {"connection_id":153160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":153160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:07:37] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cc1078012d7cda8005fbd0d8000600cd28..."} 
[2026-08-08 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cc1078012d7cda8005fbd0d8000600cd28..."} 
[2026-08-08 20:07:37] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cc1078012d7cda8005fbd0d8000600cd28..."} 
[2026-08-08 20:07:37] local.INFO: Packet analysis {"connection_id":153160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cc"} 
[2026-08-08 20:07:37] local.INFO: Extracted packet for processing {"connection_id":153160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cc"} 
[2026-08-08 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763157120,"raw_latitude":100389080,"longitude_deg":76.315712,"latitude_deg":10.038908,"altitude":6,"angle":205,"satellites":40,"speed":15,"hex_longitude":"2d7cda80","hex_latitude":"05fbd0d8","is_valid_coordinates":true} 
[2026-08-08 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267111680001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116284250969341952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998966137372766208,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199675000,"timestamp_ms":1786199675000,"timestamp_seconds":1786199675,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cc1078"} 
[2026-08-08 20:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 20:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267111680001,"66":11874,"134":206,"87":10752,"24":15,"16":116284250969341952,"45":8998966137372766208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-08-08 20:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267111680001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:07:37] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-08 20:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116284250969341952,"km_value":116284250969341.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998966137372766208,"description":"Unknown IO ID 45"} 
[2026-08-08 20:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267111680001,"power":11874,"unknown_134":206,"unknown_87":10752,"ignition":15,"odometer":null,"unknown_45":8998966137372766208}} 
[2026-08-08 20:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":153160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:07:37] local.INFO: GPS data processed {"connection_id":153160,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:07:37] local.INFO: Acknowledgment sent {"connection_id":153160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:07:41] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:07:41] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:07:41] local.INFO: IMEI packet received {"connection_id":150467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:07:42] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:07:42] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1c70380012d196b40071fecb00043011727..."} 
[2026-08-08 20:07:42] local.INFO: Packet analysis {"connection_id":150467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:07:42] local.INFO: Extracted packet for processing {"connection_id":150467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1c7"} 
[2026-08-08 20:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532720,"longitude_deg":75.6640576,"latitude_deg":11.953272,"altitude":67,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196b40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-08 20:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 20:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786199344000,"timestamp_ms":1786199344000,"timestamp_seconds":1786199344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1c70380"} 
[2026-08-08 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-08-08 20:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:07: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-08-08 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-08-08 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-08-08 20:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":12841,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":150467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:07:43] local.INFO: GPS data processed {"connection_id":150467,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:07:43] local.INFO: Acknowledgment sent {"connection_id":150467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:07:44] local.INFO: TCP Data received {"connection_id":153159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cd77d8012cec7cc0072d73b0004000522e..."} 
[2026-08-08 20:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cd77d8012cec7cc0072d73b0004000522e..."} 
[2026-08-08 20:07:44] local.INFO: Processing buffer {"connection_id":153159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cd77d8012cec7cc0072d73b0004000522e..."} 
[2026-08-08 20:07:44] local.INFO: Packet analysis {"connection_id":153159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:07:44] local.INFO: Extracted packet for processing {"connection_id":153159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:07:44] local.INFO: GPS Element Parsed {"raw_longitude":753695936,"raw_latitude":120419248,"longitude_deg":75.3695936,"latitude_deg":12.0419248,"altitude":64,"angle":82,"satellites":46,"speed":29,"hex_longitude":"2cec7cc0","hex_latitude":"072d73b0","is_valid_coordinates":true} 
[2026-08-08 20:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267136768001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375862161555062784,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416241314492608512,"note":"Value kept but may cause issues"} 
[2026-08-08 20:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786199767000,"timestamp_ms":1786199767000,"timestamp_seconds":1786199767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cd77d8"} 
[2026-08-08 20:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 20:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:07: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-08-08 20:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267136768001,"66":27397,"112":206,"83":44032,"24":29,"16":375862161555062784,"44":-1416241314492608512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-08-08 20:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267136768001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:07:44] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 20:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375862161555062784,"km_value":375862161555062.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416241314492608512,"description":"Unknown IO ID 44"} 
[2026-08-08 20:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267136768001,"power":27397,"unknown_112":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1416241314492608512}} 
[2026-08-08 20:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":153159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:07:44] local.INFO: GPS data processed {"connection_id":153159,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:07:44] local.INFO: Acknowledgment sent {"connection_id":153159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:08:04] local.INFO: TCP Data received {"connection_id":153161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:08:04] local.INFO: Processing buffer {"connection_id":153161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:08:04] local.INFO: IMEI packet received {"connection_id":153161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":153161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:08:09] local.INFO: TCP Data received {"connection_id":153160,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ced768012d7c950005fb3580001a00c92b..."} 
[2026-08-08 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ced768012d7c950005fb3580001a00c92b..."} 
[2026-08-08 20:08:09] local.INFO: Processing buffer {"connection_id":153160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ced768012d7c950005fb3580001a00c92b..."} 
[2026-08-08 20:08:09] local.INFO: Packet analysis {"connection_id":153160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:08:09] local.INFO: Extracted packet for processing {"connection_id":153160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763139328,"raw_latitude":100349312,"longitude_deg":76.3139328,"latitude_deg":10.0349312,"altitude":26,"angle":201,"satellites":43,"speed":10,"hex_longitude":"2d7c9500","hex_latitude":"05fb3580","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267158016001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116286398452989952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732713981952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786199857000,"timestamp_ms":1786199857000,"timestamp_seconds":1786199857,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ced768"} 
[2026-08-08 20:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 20:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267158016001,"66":11852,"117":206,"87":10752,"24":10,"16":116286398452989952,"45":8979614732713981952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 20:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267158016001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:08:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 20:08:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116286398452989952,"km_value":116286398452989.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732713981952,"description":"Unknown IO ID 45"} 
[2026-08-08 20:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267158016001,"power":11852,"unknown_117":206,"unknown_87":10752,"ignition":10,"odometer":null,"unknown_45":8979614732713981952}} 
[2026-08-08 20:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":153160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:08:09] local.INFO: GPS data processed {"connection_id":153160,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:08:09] local.INFO: Acknowledgment sent {"connection_id":153160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:08:09] local.INFO: TCP Data received {"connection_id":153161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:08:09] local.INFO: Processing buffer {"connection_id":153161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:08:09] local.INFO: IMEI packet received {"connection_id":153161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":153161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:08:10] local.INFO: TCP Data received {"connection_id":153161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cda2d0012cec9fc0072d7ac0004200472f..."} 
[2026-08-08 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cda2d0012cec9fc0072d7ac0004200472f..."} 
[2026-08-08 20:08:10] local.INFO: Processing buffer {"connection_id":153161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cda2d0012cec9fc0072d7ac0004200472f..."} 
[2026-08-08 20:08:10] local.INFO: Packet analysis {"connection_id":153161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:08:10] local.INFO: Extracted packet for processing {"connection_id":153161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:08:10] local.INFO: GPS Element Parsed {"raw_longitude":753704896,"raw_latitude":120421056,"longitude_deg":75.3704896,"latitude_deg":12.0421056,"altitude":66,"angle":71,"satellites":47,"speed":29,"hex_longitude":"2cec9fc0","hex_latitude":"072d7ac0","is_valid_coordinates":true} 
[2026-08-08 20:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267140352001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375862595346759680,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406037846586576896,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199778000,"timestamp_ms":1786199778000,"timestamp_seconds":1786199778,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cda2d0"} 
[2026-08-08 20:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267140352001,"66":27397,"112":206,"83":44032,"24":29,"16":375862595346759680,"44":-1406037846586576896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-08-08 20:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267140352001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375862595346759680,"km_value":375862595346759.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406037846586576896,"description":"Unknown IO ID 44"} 
[2026-08-08 20:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267140352001,"power":27397,"unknown_112":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1406037846586576896}} 
[2026-08-08 20:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":153161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:08:10] local.INFO: GPS data processed {"connection_id":153161,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:08:10] local.INFO: Acknowledgment sent {"connection_id":153161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:08:14] local.INFO: TCP Data received {"connection_id":150467,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:08:14] local.INFO: Processing buffer {"connection_id":150467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:08:14] local.INFO: Packet analysis {"connection_id":150467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:08:14] local.INFO: Extracted packet for processing {"connection_id":150467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:08: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-08-08 20:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:08:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":150467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:08:14] local.INFO: GPS data processed {"connection_id":150467,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:08:14] local.INFO: Acknowledgment sent {"connection_id":150467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:08:31] local.INFO: TCP Data received {"connection_id":150752,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:08:31] local.INFO: Processing buffer {"connection_id":150752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:08:31] local.INFO: IMEI packet received {"connection_id":150752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":150752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:08:36] local.INFO: TCP Data received {"connection_id":150753,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:08:36] local.INFO: Processing buffer {"connection_id":150753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:08:36] local.INFO: IMEI packet received {"connection_id":150753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":150753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:08:36] local.INFO: TCP Data received {"connection_id":150752,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:08:36] local.INFO: Processing buffer {"connection_id":150752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:08:36] local.INFO: IMEI packet received {"connection_id":150752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":150752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:08:37] local.INFO: TCP Data received {"connection_id":150752,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cf2970012d7c8ac005fb1d68001500c225..."} 
[2026-08-08 20:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cf2970012d7c8ac005fb1d68001500c225..."} 
[2026-08-08 20:08:37] local.INFO: Processing buffer {"connection_id":150752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cf2970012d7c8ac005fb1d68001500c225..."} 
[2026-08-08 20:08:37] local.INFO: Packet analysis {"connection_id":150752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:08:37] local.INFO: Extracted packet for processing {"connection_id":150752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763136704,"raw_latitude":100343144,"longitude_deg":76.3136704,"latitude_deg":10.0343144,"altitude":21,"angle":194,"satellites":37,"speed":7,"hex_longitude":"2d7c8ac0","hex_latitude":"05fb1d68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267163392001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116286724870504448,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977081457922375680,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199878000,"timestamp_ms":1786199878000,"timestamp_seconds":1786199878,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cf2970"} 
[2026-08-08 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-08-08 20:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 20:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267163392001,"66":12156,"117":206,"87":10752,"24":7,"16":116286724870504448,"45":8977081457922375680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 20:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267163392001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:08:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 20:08:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116286724870504448,"km_value":116286724870504.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977081457922375680,"description":"Unknown IO ID 45"} 
[2026-08-08 20:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267163392001,"power":12156,"unknown_117":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":8977081457922375680}} 
[2026-08-08 20:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":150752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:08:37] local.INFO: GPS data processed {"connection_id":150752,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:08:37] local.INFO: Acknowledgment sent {"connection_id":150752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:08:41] local.INFO: TCP Data received {"connection_id":150753,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:08:41] local.INFO: Processing buffer {"connection_id":150753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:08:41] local.INFO: IMEI packet received {"connection_id":150753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":150753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:08:41] local.INFO: TCP Data received {"connection_id":153161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cda2d0012cec9fc0072d7ac0004200472f..."} 
[2026-08-08 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cda2d0012cec9fc0072d7ac0004200472f..."} 
[2026-08-08 20:08:41] local.INFO: Processing buffer {"connection_id":153161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cda2d0012cec9fc0072d7ac0004200472f..."} 
[2026-08-08 20:08:41] local.INFO: Packet analysis {"connection_id":153161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:08:41] local.INFO: Extracted packet for processing {"connection_id":153161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753704896,"raw_latitude":120421056,"longitude_deg":75.3704896,"latitude_deg":12.0421056,"altitude":66,"angle":71,"satellites":47,"speed":29,"hex_longitude":"2cec9fc0","hex_latitude":"072d7ac0","is_valid_coordinates":true} 
[2026-08-08 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267143168001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375862595346759680,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396186222401241088,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199778000,"timestamp_ms":1786199778000,"timestamp_seconds":1786199778,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cda2d0"} 
[2026-08-08 20:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267143168001,"66":27397,"112":206,"83":44032,"24":29,"16":375862595346759680,"44":-1396186222401241088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-08-08 20:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267143168001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375862595346759680,"km_value":375862595346759.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396186222401241088,"description":"Unknown IO ID 44"} 
[2026-08-08 20:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267143168001,"power":27397,"unknown_112":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1396186222401241088}} 
[2026-08-08 20:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":153161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:08:41] local.INFO: GPS data processed {"connection_id":153161,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:08:41] local.INFO: Acknowledgment sent {"connection_id":153161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:08:43] local.INFO: TCP Data received {"connection_id":150753,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:08:43] local.INFO: Processing buffer {"connection_id":150753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:08:43] local.INFO: Packet analysis {"connection_id":150753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:08:43] local.INFO: Extracted packet for processing {"connection_id":150753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:08:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":150753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:08:43] local.INFO: GPS data processed {"connection_id":150753,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:08:43] local.INFO: Acknowledgment sent {"connection_id":150753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:04] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:09:04] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:09:04] local.INFO: IMEI packet received {"connection_id":151684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:09:08] local.INFO: TCP Data received {"connection_id":150752,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cf3528012d7c89c005fb1b50001400ce27..."} 
[2026-08-08 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cf3528012d7c89c005fb1b50001400ce27..."} 
[2026-08-08 20:09:08] local.INFO: Processing buffer {"connection_id":150752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cf3528012d7c89c005fb1b50001400ce27..."} 
[2026-08-08 20:09:08] local.INFO: Packet analysis {"connection_id":150752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:09:08] local.INFO: Extracted packet for processing {"connection_id":150752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":100342608,"longitude_deg":76.3136448,"latitude_deg":10.0342608,"altitude":20,"angle":206,"satellites":39,"speed":8,"hex_longitude":"2d7c89c0","hex_latitude":"05fb1b50","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267168768001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116286754935275520,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196339409512448,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786199881000,"timestamp_ms":1786199881000,"timestamp_seconds":1786199881,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cf3528"} 
[2026-08-08 20:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267168768001,"66":12178,"117":206,"87":10752,"24":8,"16":116286754935275520,"45":8974196339409512448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 20:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267168768001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 20:09:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116286754935275520,"km_value":116286754935275.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196339409512448,"description":"Unknown IO ID 45"} 
[2026-08-08 20:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267168768001,"power":12178,"unknown_117":206,"unknown_87":10752,"ignition":8,"odometer":null,"unknown_45":8974196339409512448}} 
[2026-08-08 20:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":150752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:08] local.INFO: GPS data processed {"connection_id":150752,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:08] local.INFO: Acknowledgment sent {"connection_id":150752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:09] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:09:09] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:09:09] local.INFO: IMEI packet received {"connection_id":151684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":151684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:09:10] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cdd598012cecc2c0072d86680043004a30..."} 
[2026-08-08 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cdd598012cecc2c0072d86680043004a30..."} 
[2026-08-08 20:09:10] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cdd598012cecc2c0072d86680043004a30..."} 
[2026-08-08 20:09:10] local.INFO: Packet analysis {"connection_id":151684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:09:10] local.INFO: Extracted packet for processing {"connection_id":151684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cd"} 
[2026-08-08 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":753713856,"raw_latitude":120424040,"longitude_deg":75.3713856,"latitude_deg":12.042404,"altitude":67,"angle":74,"satellites":48,"speed":21,"hex_longitude":"2cecc2c0","hex_latitude":"072d8668","is_valid_coordinates":true} 
[2026-08-08 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267143168001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375863046318325760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396186222401241088,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199791000,"timestamp_ms":1786199791000,"timestamp_seconds":1786199791,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cdd598"} 
[2026-08-08 20:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267143168001,"66":26723,"112":206,"83":44032,"24":21,"16":375863046318325760,"44":-1396186222401241088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-08-08 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267143168001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:10] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-08 20:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375863046318325760,"km_value":375863046318325.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396186222401241088,"description":"Unknown IO ID 44"} 
[2026-08-08 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267143168001,"power":26723,"unknown_112":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1396186222401241088}} 
[2026-08-08 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":151684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:10] local.INFO: GPS data processed {"connection_id":151684,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:10] local.INFO: Acknowledgment sent {"connection_id":151684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:16] local.INFO: TCP Data received {"connection_id":150753,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:09:16] local.INFO: Processing buffer {"connection_id":150753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:09:16] local.INFO: Packet analysis {"connection_id":150753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:09:16] local.INFO: Extracted packet for processing {"connection_id":150753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":150753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:16] local.INFO: GPS data processed {"connection_id":150753,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:16] local.INFO: Acknowledgment sent {"connection_id":150753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:33] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:33] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:33] local.INFO: IMEI packet received {"connection_id":153162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":153162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:09:36] local.INFO: TCP Data received {"connection_id":151685,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:09:36] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:09:36] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:09:36] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:36] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:36] local.INFO: IMEI packet received {"connection_id":153162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":153162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:09:41] local.INFO: TCP Data received {"connection_id":151684,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d00fe8012cee5a00072e3548003b00502b..."} 
[2026-08-08 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d00fe8012cee5a00072e3548003b00502b..."} 
[2026-08-08 20:09:41] local.INFO: Processing buffer {"connection_id":151684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d00fe8012cee5a00072e3548003b00502b..."} 
[2026-08-08 20:09:41] local.INFO: Packet analysis {"connection_id":151684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:09:41] local.INFO: Extracted packet for processing {"connection_id":151684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753818112,"raw_latitude":120468808,"longitude_deg":75.3818112,"latitude_deg":12.0468808,"altitude":59,"angle":80,"satellites":43,"speed":30,"hex_longitude":"2cee5a00","hex_latitude":"072e3548","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267182336001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868483746922496,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1276700094775851008,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199937000,"timestamp_ms":1786199937000,"timestamp_seconds":1786199937,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d00fe8"} 
[2026-08-08 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-08-08 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 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-08-08 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267182336001,"66":27767,"219":206,"83":44032,"24":30,"16":375868483746922496,"44":-1276700094775851008},"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-08-08 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267182336001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868483746922496,"km_value":375868483746922.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1276700094775851008,"description":"Unknown IO ID 44"} 
[2026-08-08 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267182336001,"power":27767,"unknown_219":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1276700094775851008}} 
[2026-08-08 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":151684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:41] local.INFO: GPS data processed {"connection_id":151684,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:41] local.INFO: Acknowledgment sent {"connection_id":151684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:41] local.INFO: TCP Data received {"connection_id":151685,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:09:41] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:09:41] local.INFO: IMEI packet received {"connection_id":151685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":151685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:09:41] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:41] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:09:41] local.INFO: IMEI packet received {"connection_id":153162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":153162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:09:42] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cf8348012d7c80c005fb06d8000f00cc29..."} 
[2026-08-08 20:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cf8348012d7c80c005fb06d8000f00cc29..."} 
[2026-08-08 20:09:42] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cf8348012d7c80c005fb06d8000f00cc29..."} 
[2026-08-08 20:09:42] local.INFO: Packet analysis {"connection_id":153162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:09:42] local.INFO: Extracted packet for processing {"connection_id":153162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":100337368,"longitude_deg":76.3134144,"latitude_deg":10.0337368,"altitude":15,"angle":204,"satellites":41,"speed":8,"hex_longitude":"2d7c80c0","hex_latitude":"05fb06d8","is_valid_coordinates":true} 
[2026-08-08 20:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267169536001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287034108149760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914864432664576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786199901000,"timestamp_ms":1786199901000,"timestamp_seconds":1786199901,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cf8348"} 
[2026-08-08 20:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267169536001,"66":12058,"117":206,"87":10752,"24":8,"16":116287034108149760,"45":8973914864432664576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 20:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267169536001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 20:09:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287034108149760,"km_value":116287034108149.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914864432664576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267169536001,"power":12058,"unknown_117":206,"unknown_87":10752,"ignition":8,"odometer":null,"unknown_45":8973914864432664576}} 
[2026-08-08 20:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":153162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:42] local.INFO: GPS data processed {"connection_id":153162,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:42] local.INFO: Acknowledgment sent {"connection_id":153162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:43] local.INFO: TCP Data received {"connection_id":151685,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:09:43] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:09:43] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:09:43] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:09:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:09: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-08-08 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:43] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:43] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:09:47] local.INFO: TCP Data received {"connection_id":153162,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1cfd550012d7c790005fafa98000c00cf29..."} 
[2026-08-08 20:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1cfd550012d7c790005fafa98000c00cf29..."} 
[2026-08-08 20:09:47] local.INFO: Processing buffer {"connection_id":153162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1cfd550012d7c790005fafa98000c00cf29..."} 
[2026-08-08 20:09:47] local.INFO: Packet analysis {"connection_id":153162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:09:47] local.INFO: Extracted packet for processing {"connection_id":153162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1cf"} 
[2026-08-08 20:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763132160,"raw_latitude":100334232,"longitude_deg":76.313216,"latitude_deg":10.0334232,"altitude":12,"angle":207,"satellites":41,"speed":7,"hex_longitude":"2d7c7900","hex_latitude":"05fafa98","is_valid_coordinates":true} 
[2026-08-08 20:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267174656001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287214496776192,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971381589640927232,"note":"Value kept but may cause issues"} 
[2026-08-08 20:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786199922000,"timestamp_ms":1786199922000,"timestamp_seconds":1786199922,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1cfd550"} 
[2026-08-08 20:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 20:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267174656001,"66":12156,"187":206,"87":10752,"24":7,"16":116287214496776192,"45":8971381589640927232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267174656001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:09:47] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:09:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287214496776192,"km_value":116287214496776.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971381589640927232,"description":"Unknown IO ID 45"} 
[2026-08-08 20:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267174656001,"power":12156,"unknown_187":206,"unknown_87":10752,"ignition":7,"odometer":null,"unknown_45":8971381589640927232}} 
[2026-08-08 20:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":153162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:09:47] local.INFO: GPS data processed {"connection_id":153162,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:09:47] local.INFO: Acknowledgment sent {"connection_id":153162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:10:09] local.INFO: TCP Data received {"connection_id":153163,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:10:09] local.INFO: Processing buffer {"connection_id":153163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:10:09] local.INFO: IMEI packet received {"connection_id":153163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":153163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:10:14] local.INFO: TCP Data received {"connection_id":153163,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:10:14] local.INFO: Processing buffer {"connection_id":153163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:10:14] local.INFO: IMEI packet received {"connection_id":153163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":153163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:10:15] local.INFO: TCP Data received {"connection_id":153163,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d017b8012cee6040072e3548003a005d2c..."} 
[2026-08-08 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d017b8012cee6040072e3548003a005d2c..."} 
[2026-08-08 20:10:15] local.INFO: Processing buffer {"connection_id":153163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d017b8012cee6040072e3548003a005d2c..."} 
[2026-08-08 20:10:15] local.INFO: Packet analysis {"connection_id":153163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:10:15] local.INFO: Extracted packet for processing {"connection_id":153163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":753819712,"raw_latitude":120468808,"longitude_deg":75.3819712,"latitude_deg":12.0468808,"altitude":58,"angle":93,"satellites":44,"speed":30,"hex_longitude":"2cee6040","hex_latitude":"072e3548","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267183872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868561056333824,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271703913938728960,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786199939000,"timestamp_ms":1786199939000,"timestamp_seconds":1786199939,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d017b8"} 
[2026-08-08 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-08-08 20:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 20:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 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-08-08 20:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267183872001,"66":27919,"219":206,"83":44032,"24":30,"16":375868561056333824,"44":-1271703913938728960},"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-08-08 20:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267183872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:10:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:10:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868561056333824,"km_value":375868561056333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271703913938728960,"description":"Unknown IO ID 44"} 
[2026-08-08 20:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267183872001,"power":27919,"unknown_219":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1271703913938728960}} 
[2026-08-08 20:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":153163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:10:15] local.INFO: GPS data processed {"connection_id":153163,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:10:15] local.INFO: Acknowledgment sent {"connection_id":153163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:10:19] local.INFO: TCP Data received {"connection_id":151685,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:10:19] local.INFO: Processing buffer {"connection_id":151685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:10:19] local.INFO: Packet analysis {"connection_id":151685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:10:19] local.INFO: Extracted packet for processing {"connection_id":151685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 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-08-08 20: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-08-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":151685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:10:19] local.INFO: GPS data processed {"connection_id":151685,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:10:19] local.INFO: Acknowledgment sent {"connection_id":151685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:10:19] local.INFO: TCP Data received {"connection_id":153163,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d02370012cee68c0072e33a0003b006e2c..."} 
[2026-08-08 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d02370012cee68c0072e33a0003b006e2c..."} 
[2026-08-08 20:10:19] local.INFO: Processing buffer {"connection_id":153163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d02370012cee68c0072e33a0003b006e2c..."} 
[2026-08-08 20:10:19] local.INFO: Packet analysis {"connection_id":153163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:10:19] local.INFO: Extracted packet for processing {"connection_id":153163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":753821888,"raw_latitude":120468384,"longitude_deg":75.3821888,"latitude_deg":12.0468384,"altitude":59,"angle":110,"satellites":44,"speed":26,"hex_longitude":"2cee68c0","hex_latitude":"072e33a0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267184384001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868664135548928,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269944695334287360,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786199942000,"timestamp_ms":1786199942000,"timestamp_seconds":1786199942,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d02370"} 
[2026-08-08 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-08-08 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-08 20:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 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-08-08 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267184384001,"66":27745,"219":206,"83":44032,"24":26,"16":375868664135548928,"44":-1269944695334287360},"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-08-08 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267184384001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868664135548928,"km_value":375868664135548.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269944695334287360,"description":"Unknown IO ID 44"} 
[2026-08-08 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267184384001,"power":27745,"unknown_219":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1269944695334287360}} 
[2026-08-08 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":153163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:10:19] local.INFO: GPS data processed {"connection_id":153163,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:10:19] local.INFO: Acknowledgment sent {"connection_id":153163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:10:31] local.INFO: TCP Data received {"connection_id":150754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:10:31] local.INFO: Processing buffer {"connection_id":150754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:10:31] local.INFO: IMEI packet received {"connection_id":150754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":150754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:10:36] local.INFO: TCP Data received {"connection_id":150755,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:10:36] local.INFO: Processing buffer {"connection_id":150755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:10:36] local.INFO: IMEI packet received {"connection_id":150755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":150755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:10:36] local.INFO: TCP Data received {"connection_id":150754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:10:36] local.INFO: Processing buffer {"connection_id":150754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:10:36] local.INFO: IMEI packet received {"connection_id":150754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":150754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:10:39] local.INFO: TCP Data received {"connection_id":150754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d02758012d7c6e8005fae5f8000e00d02a..."} 
[2026-08-08 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d02758012d7c6e8005fae5f8000e00d02a..."} 
[2026-08-08 20:10:39] local.INFO: Processing buffer {"connection_id":150754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d02758012d7c6e8005fae5f8000e00d02a..."} 
[2026-08-08 20:10:39] local.INFO: Packet analysis {"connection_id":150754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:10:39] local.INFO: Extracted packet for processing {"connection_id":150754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763129472,"raw_latitude":100328952,"longitude_deg":76.3129472,"latitude_deg":10.0328952,"altitude":14,"angle":208,"satellites":42,"speed":11,"hex_longitude":"2d7c6e80","hex_latitude":"05fae5f8","is_valid_coordinates":true} 
[2026-08-08 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267180032001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287502259585024,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969200158570616832,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786199943000,"timestamp_ms":1786199943000,"timestamp_seconds":1786199943,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d02758"} 
[2026-08-08 20:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267180032001,"66":12037,"187":206,"87":10752,"24":11,"16":116287502259585024,"45":8969200158570616832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267180032001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:10:39] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287502259585024,"km_value":116287502259585.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969200158570616832,"description":"Unknown IO ID 45"} 
[2026-08-08 20:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267180032001,"power":12037,"unknown_187":206,"unknown_87":10752,"ignition":11,"odometer":null,"unknown_45":8969200158570616832}} 
[2026-08-08 20:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":150754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:10:39] local.INFO: GPS data processed {"connection_id":150754,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:10:39] local.INFO: Acknowledgment sent {"connection_id":150754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:10:41] local.INFO: TCP Data received {"connection_id":150755,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:10:41] local.INFO: Processing buffer {"connection_id":150755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:10:41] local.INFO: IMEI packet received {"connection_id":150755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":150755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:10:44] local.INFO: TCP Data received {"connection_id":150755,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:10:44] local.INFO: Processing buffer {"connection_id":150755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:10:44] local.INFO: Packet analysis {"connection_id":150755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:10:44] local.INFO: Extracted packet for processing {"connection_id":150755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:10: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-08-08 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:10:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:10:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":150755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:10:44] local.INFO: GPS data processed {"connection_id":150755,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:10:44] local.INFO: Acknowledgment sent {"connection_id":150755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:11:04] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:11:04] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:11:04] local.INFO: IMEI packet received {"connection_id":153164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":153164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:11:09] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:11:09] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:11:09] local.INFO: IMEI packet received {"connection_id":153164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":153164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:11:10] local.INFO: TCP Data received {"connection_id":150754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d02f28012d7c6d8005fae440000e00de2a..."} 
[2026-08-08 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d02f28012d7c6d8005fae440000e00de2a..."} 
[2026-08-08 20:11:10] local.INFO: Processing buffer {"connection_id":150754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d02f28012d7c6d8005fae440000e00de2a..."} 
[2026-08-08 20:11:10] local.INFO: Packet analysis {"connection_id":150754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:10] local.INFO: Extracted packet for processing {"connection_id":150754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763129216,"raw_latitude":100328512,"longitude_deg":76.3129216,"latitude_deg":10.0328512,"altitude":14,"angle":222,"satellites":42,"speed":9,"hex_longitude":"2d7c6d80","hex_latitude":"05fae440","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267185408001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287528029388800,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966244671313803264,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199945000,"timestamp_ms":1786199945000,"timestamp_seconds":1786199945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d02f28"} 
[2026-08-08 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-08-08 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788408160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3475599361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3635813160397176856,"corrected_to":0} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-340030567439348436,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194780416,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,187,87,24,241,157,16,34,159,213,45,250,12,41,10,66,131,192,6,15,117,53,1,240,146,227,225,251,4,113,205,7,215,149,128,43,239,46,2,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3635813160397176856,"validated":0}]} 
[2026-08-08 20:11:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009035195338915840,"timestamp_seconds":1009035195338915.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267185408001,"66":12037,"187":206,"87":10752,"24":9,"16":116287528029388800,"45":8966244671313803264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267185408001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287528029388800,"km_value":116287528029388.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966244671313803264,"description":"Unknown IO ID 45"} 
[2026-08-08 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267185408001,"power":12037,"unknown_187":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":8966244671313803264}} 
[2026-08-08 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":150754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:11:10] local.INFO: GPS data processed {"connection_id":150754,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:11:10] local.INFO: Acknowledgment sent {"connection_id":150754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:11:10] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d02b40012cee6c80072e3160003a007d2e..."} 
[2026-08-08 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d02b40012cee6c80072e3160003a007d2e..."} 
[2026-08-08 20:11:10] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d02b40012cee6c80072e3160003a007d2e..."} 
[2026-08-08 20:11:10] local.INFO: Packet analysis {"connection_id":153164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:10] local.INFO: Extracted packet for processing {"connection_id":153164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":753822848,"raw_latitude":120467808,"longitude_deg":75.3822848,"latitude_deg":12.0467808,"altitude":58,"angle":125,"satellites":46,"speed":20,"hex_longitude":"2cee6c80","hex_latitude":"072e3160","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267185152001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868719970123776,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1267552158032355328,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199944000,"timestamp_ms":1786199944000,"timestamp_seconds":1786199944,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d02b40"} 
[2026-08-08 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-08-08 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-08 20:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:11: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-08-08 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267185152001,"66":27604,"219":206,"83":44032,"24":20,"16":375868719970123776,"44":-1267552158032355328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267185152001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868719970123776,"km_value":375868719970123.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1267552158032355328,"description":"Unknown IO ID 44"} 
[2026-08-08 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267185152001,"power":27604,"unknown_219":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1267552158032355328}} 
[2026-08-08 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":153164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:11:10] local.INFO: GPS data processed {"connection_id":153164,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:11:10] local.INFO: Acknowledgment sent {"connection_id":153164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:11:16] local.INFO: TCP Data received {"connection_id":150755,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:11:16] local.INFO: Processing buffer {"connection_id":150755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:11:16] local.INFO: Packet analysis {"connection_id":150755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:11:16] local.INFO: Extracted packet for processing {"connection_id":150755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:11:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":150755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:11:16] local.INFO: GPS data processed {"connection_id":150755,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:11:16] local.INFO: Acknowledgment sent {"connection_id":150755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:11:32] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:11:32] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:11:32] local.INFO: IMEI packet received {"connection_id":151686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":151686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:11:36] local.INFO: TCP Data received {"connection_id":150468,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:11:36] local.INFO: Processing buffer {"connection_id":150468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:11:36] local.INFO: IMEI packet received {"connection_id":150468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":150468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:11:36] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:11:36] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:11:36] local.INFO: IMEI packet received {"connection_id":151686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":151686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:11:37] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d03ae0012d7c6c4005fae260000d00cc2b..."} 
[2026-08-08 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d03ae0012d7c6c4005fae260000d00cc2b..."} 
[2026-08-08 20:11:37] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d03ae0012d7c6c4005fae260000d00cc2b..."} 
[2026-08-08 20:11:37] local.INFO: Packet analysis {"connection_id":151686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:37] local.INFO: Extracted packet for processing {"connection_id":151686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763128896,"raw_latitude":100328032,"longitude_deg":76.3128896,"latitude_deg":10.0328032,"altitude":13,"angle":204,"satellites":43,"speed":6,"hex_longitude":"2d7c6c40","hex_latitude":"05fae260","is_valid_coordinates":true} 
[2026-08-08 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267185920001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287558094159872,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965963196336979968,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199948000,"timestamp_ms":1786199948000,"timestamp_seconds":1786199948,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d03ae0"} 
[2026-08-08 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788429160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3476367361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3635813160397176856,"corrected_to":0} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3221617437,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-345229058499360469,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194769408,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,187,87,24,241,157,16,34,159,39,45,128,229,14,42,10,66,213,250,12,41,131,192,1,240,26,227,225,251,4,113,205,8,138,104,37,239,47,117,2,5,69],"length":484,"final_offset":614,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3635813160397176856,"validated":0}]} 
[2026-08-08 20:11:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009050588501573632,"timestamp_seconds":1009050588501573.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267185920001,"66":11613,"187":206,"87":10752,"24":6,"16":116287558094159872,"45":8965963196336979968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267185920001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287558094159872,"km_value":116287558094159.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965963196336979968,"description":"Unknown IO ID 45"} 
[2026-08-08 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267185920001,"power":11613,"unknown_187":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":8965963196336979968}} 
[2026-08-08 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":151686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:11:37] local.INFO: GPS data processed {"connection_id":151686,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:11:37] local.INFO: Acknowledgment sent {"connection_id":151686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:11:41] local.INFO: TCP Data received {"connection_id":153164,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d03310012cee6f00072e2f180038008f2c..."} 
[2026-08-08 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d03310012cee6f00072e2f180038008f2c..."} 
[2026-08-08 20:11:41] local.INFO: Processing buffer {"connection_id":153164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d03310012cee6f00072e2f180038008f2c..."} 
[2026-08-08 20:11:41] local.INFO: Packet analysis {"connection_id":153164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:41] local.INFO: Extracted packet for processing {"connection_id":153164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753823488,"raw_latitude":120467224,"longitude_deg":75.3823488,"latitude_deg":12.0467224,"altitude":56,"angle":143,"satellites":44,"speed":13,"hex_longitude":"2cee6f00","hex_latitude":"072e2f18","is_valid_coordinates":true} 
[2026-08-08 20:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267185664001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266496626869837824,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199946000,"timestamp_ms":1786199946000,"timestamp_seconds":1786199946,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d03310"} 
[2026-08-08 20:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-08 20:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:11: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-08-08 20:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267185664001,"66":27789,"219":206,"83":44032,"24":13,"16":375868758624829440,"44":-1266496626869837824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267185664001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:11:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266496626869837824,"description":"Unknown IO ID 44"} 
[2026-08-08 20:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267185664001,"power":27789,"unknown_219":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1266496626869837824}} 
[2026-08-08 20:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":153164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:11:41] local.INFO: GPS data processed {"connection_id":153164,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:11:41] local.INFO: Acknowledgment sent {"connection_id":153164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:11:41] local.INFO: TCP Data received {"connection_id":150468,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:11:41] local.INFO: Processing buffer {"connection_id":150468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:11:41] local.INFO: IMEI packet received {"connection_id":150468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":150468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:11:42] local.INFO: TCP Data received {"connection_id":150468,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:11:42] local.INFO: Processing buffer {"connection_id":150468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:11:42] local.INFO: Packet analysis {"connection_id":150468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:11:42] local.INFO: Extracted packet for processing {"connection_id":150468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 20:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 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-08-08 20:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:11: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-08-08 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-08-08 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-08-08 20:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:11:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":150468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:11:43] local.INFO: GPS data processed {"connection_id":150468,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:11:43] local.INFO: Acknowledgment sent {"connection_id":150468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:04] local.INFO: TCP Data received {"connection_id":153165,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:12:04] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:12:04] local.INFO: IMEI packet received {"connection_id":153165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":153165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:12:09] local.INFO: TCP Data received {"connection_id":151686,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d08900012d7c690005fadb50000c00c929..."} 
[2026-08-08 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d08900012d7c690005fadb50000c00c929..."} 
[2026-08-08 20:12:09] local.INFO: Processing buffer {"connection_id":151686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d08900012d7c690005fadb50000c00c929..."} 
[2026-08-08 20:12:09] local.INFO: Packet analysis {"connection_id":151686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:09] local.INFO: Extracted packet for processing {"connection_id":151686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763128064,"raw_latitude":100326224,"longitude_deg":76.3128064,"latitude_deg":10.0326224,"altitude":12,"angle":201,"satellites":41,"speed":6,"hex_longitude":"2d7c6900","hex_latitude":"05fadb50","is_valid_coordinates":true} 
[2026-08-08 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267186688001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287656878407680,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965611352615968768,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786199968000,"timestamp_ms":1786199968000,"timestamp_seconds":1786199968,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d08900"} 
[2026-08-08 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-08 20:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267186688001,"66":11776,"187":206,"87":10752,"24":6,"16":116287656878407680,"45":8965611352615968768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267186688001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287656878407680,"km_value":116287656878407.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965611352615968768,"description":"Unknown IO ID 45"} 
[2026-08-08 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267186688001,"power":11776,"unknown_187":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":8965611352615968768}} 
[2026-08-08 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":151686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:09] local.INFO: GPS data processed {"connection_id":151686,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:09] local.INFO: Acknowledgment sent {"connection_id":151686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:09] local.INFO: TCP Data received {"connection_id":153165,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:12:09] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:12:09] local.INFO: IMEI packet received {"connection_id":153165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":153165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:12:10] local.INFO: TCP Data received {"connection_id":153165,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d03310012cee6f00072e2f180038008f2c..."} 
[2026-08-08 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d03310012cee6f00072e2f180038008f2c..."} 
[2026-08-08 20:12:10] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d03310012cee6f00072e2f180038008f2c..."} 
[2026-08-08 20:12:10] local.INFO: Packet analysis {"connection_id":153165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:10] local.INFO: Extracted packet for processing {"connection_id":153165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":753823488,"raw_latitude":120467224,"longitude_deg":75.3823488,"latitude_deg":12.0467224,"altitude":56,"angle":143,"satellites":44,"speed":13,"hex_longitude":"2cee6f00","hex_latitude":"072e2f18","is_valid_coordinates":true} 
[2026-08-08 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267186176001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265792939428210688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199946000,"timestamp_ms":1786199946000,"timestamp_seconds":1786199946,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d03310"} 
[2026-08-08 20:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:12: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-08-08 20:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267186176001,"66":27789,"219":206,"83":44032,"24":13,"16":375868758624829440,"44":-1265792939428210688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267186176001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265792939428210688,"description":"Unknown IO ID 44"} 
[2026-08-08 20:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267186176001,"power":27789,"unknown_219":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1265792939428210688}} 
[2026-08-08 20:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":153165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:10] local.INFO: GPS data processed {"connection_id":153165,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:10] local.INFO: Acknowledgment sent {"connection_id":153165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:14] local.INFO: TCP Data received {"connection_id":150468,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:14] local.INFO: Processing buffer {"connection_id":150468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:14] local.INFO: Packet analysis {"connection_id":150468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:12:14] local.INFO: Extracted packet for processing {"connection_id":150468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:12: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-08-08 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":150468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:14] local.INFO: GPS data processed {"connection_id":150468,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:14] local.INFO: Acknowledgment sent {"connection_id":150468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:31] local.INFO: TCP Data received {"connection_id":153166,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:12:31] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:12:31] local.INFO: IMEI packet received {"connection_id":153166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":153166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:12:36] local.INFO: TCP Data received {"connection_id":153166,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:12:36] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:12:36] local.INFO: IMEI packet received {"connection_id":153166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":153166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:12:37] local.INFO: TCP Data received {"connection_id":153166,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d098a0012d7c674005fad828000b00d429..."} 
[2026-08-08 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d098a0012d7c674005fad828000b00d429..."} 
[2026-08-08 20:12:37] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d098a0012d7c674005fad828000b00d429..."} 
[2026-08-08 20:12:37] local.INFO: Packet analysis {"connection_id":153166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:37] local.INFO: Extracted packet for processing {"connection_id":153166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763127616,"raw_latitude":100325416,"longitude_deg":76.3127616,"latitude_deg":10.0325416,"altitude":11,"angle":212,"satellites":41,"speed":11,"hex_longitude":"2d7c6740","hex_latitude":"05fad828","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267191808001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287704123047936,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964696558941196288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786199972000,"timestamp_ms":1786199972000,"timestamp_seconds":1786199972,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d098a0"} 
[2026-08-08 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-08-08 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788453160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3221617414,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3486863361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Large IO value detected {"io_id":250,"raw_value":4204265484,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":767230158,"corrected_to":0} 
[2026-08-08 20:12:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,87,24,241,157,16,35,159,58,45,64,226,13,43,10,66,34,47,128,228,14,42,39,1,240,5,227,225,250,4,113,205,7,131,216,41,239,117,2],"length":434,"final_offset":564,"validated_count":40,"validation_warnings":[{"io_id":205,"original":767230158,"validated":0}]} 
[2026-08-08 20:12:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864912306386370560,"timestamp_seconds":864912306386370.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 20:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267191808001,"66":11743,"187":206,"87":10752,"24":11,"16":116287704123047936,"45":8964696558941196288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267191808001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287704123047936,"km_value":116287704123047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964696558941196288,"description":"Unknown IO ID 45"} 
[2026-08-08 20:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267191808001,"power":11743,"unknown_187":206,"unknown_87":10752,"ignition":11,"odometer":null,"unknown_45":8964696558941196288}} 
[2026-08-08 20:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":153166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:37] local.INFO: GPS data processed {"connection_id":153166,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:37] local.INFO: Acknowledgment sent {"connection_id":153166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:41] local.INFO: TCP Data received {"connection_id":153165,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d03ae0012cee6fc0072e2d500037009d2c..."} 
[2026-08-08 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d03ae0012cee6fc0072e2d500037009d2c..."} 
[2026-08-08 20:12:41] local.INFO: Processing buffer {"connection_id":153165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d03ae0012cee6fc0072e2d500037009d2c..."} 
[2026-08-08 20:12:41] local.INFO: Packet analysis {"connection_id":153165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:41] local.INFO: Extracted packet for processing {"connection_id":153165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466768,"longitude_deg":75.382368,"latitude_deg":12.0466768,"altitude":55,"angle":157,"satellites":44,"speed":6,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d50","is_valid_coordinates":true} 
[2026-08-08 20:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267186176001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265792939428210688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786199948000,"timestamp_ms":1786199948000,"timestamp_seconds":1786199948,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d03ae0"} 
[2026-08-08 20:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:12: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-08-08 20:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267186176001,"66":27376,"219":206,"83":44032,"24":6,"16":375868758624829440,"44":-1265792939428210688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267186176001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265792939428210688,"description":"Unknown IO ID 44"} 
[2026-08-08 20:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267186176001,"power":27376,"unknown_219":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1265792939428210688}} 
[2026-08-08 20:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":153165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:41] local.INFO: GPS data processed {"connection_id":153165,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:41] local.INFO: Acknowledgment sent {"connection_id":153165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:41] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:12:41] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:12:41] local.INFO: IMEI packet received {"connection_id":150469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":150469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:12:46] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:12:46] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:12:46] local.INFO: IMEI packet received {"connection_id":150469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":150469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:12:47] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:47] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:47] local.INFO: Packet analysis {"connection_id":150469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:12:47] local.INFO: Extracted packet for processing {"connection_id":150469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":150469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:48] local.INFO: GPS data processed {"connection_id":150469,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:48] local.INFO: Acknowledgment sent {"connection_id":150469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:12:52] local.INFO: TCP Data received {"connection_id":150469,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:52] local.INFO: Processing buffer {"connection_id":150469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ce7d90012d196a80071fef680042011723..."} 
[2026-08-08 20:12:52] local.INFO: Packet analysis {"connection_id":150469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:12:52] local.INFO: Extracted packet for processing {"connection_id":150469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ce"} 
[2026-08-08 20:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267032064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800792576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786199834000,"timestamp_ms":1786199834000,"timestamp_seconds":1786199834,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ce7d90"} 
[2026-08-08 20:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-08 20:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267032064001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831628072800792576},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267032064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:12:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800792576,"description":"Unknown IO ID 45"} 
[2026-08-08 20:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267032064001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831628072800792576}} 
[2026-08-08 20:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":150469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:12:52] local.INFO: GPS data processed {"connection_id":150469,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:12:52] local.INFO: Acknowledgment sent {"connection_id":150469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:13:04] local.INFO: TCP Data received {"connection_id":153167,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:13:04] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:13:04] local.INFO: IMEI packet received {"connection_id":153167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":153167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:13:09] local.INFO: TCP Data received {"connection_id":153167,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:13:09] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:13:09] local.INFO: IMEI packet received {"connection_id":153167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":153167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:13:10] local.INFO: TCP Data received {"connection_id":153166,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d0e6c0012d7c5cc005fac498000900d32a..."} 
[2026-08-08 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d0e6c0012d7c5cc005fac498000900d32a..."} 
[2026-08-08 20:13:10] local.INFO: Processing buffer {"connection_id":153166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d0e6c0012d7c5cc005fac498000900d32a..."} 
[2026-08-08 20:13:10] local.INFO: Packet analysis {"connection_id":153166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:13:10] local.INFO: Extracted packet for processing {"connection_id":153166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d0"} 
[2026-08-08 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763124928,"raw_latitude":100320408,"longitude_deg":76.3124928,"latitude_deg":10.0320408,"altitude":9,"angle":211,"satellites":42,"speed":6,"hex_longitude":"2d7c5cc0","hex_latitude":"05fac498","is_valid_coordinates":true} 
[2026-08-08 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267192832001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116287979000954880,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964203977731745792,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786199992000,"timestamp_ms":1786199992000,"timestamp_seconds":1786199992,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d0e6c0"} 
[2026-08-08 20:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 20:13: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-08-08 20:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267192832001,"66":11721,"187":206,"87":10752,"24":6,"16":116287979000954880,"45":8964203977731745792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267192832001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116287979000954880,"km_value":116287979000954.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964203977731745792,"description":"Unknown IO ID 45"} 
[2026-08-08 20:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267192832001,"power":11721,"unknown_187":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":8964203977731745792}} 
[2026-08-08 20:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":153166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:13:10] local.INFO: GPS data processed {"connection_id":153166,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:13:10] local.INFO: Acknowledgment sent {"connection_id":153166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:13:10] local.INFO: TCP Data received {"connection_id":153167,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d1ec78012cee6fc0072e2b680038009d2c..."} 
[2026-08-08 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d1ec78012cee6fc0072e2b680038009d2c..."} 
[2026-08-08 20:13:10] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d1ec78012cee6fc0072e2b680038009d2c..."} 
[2026-08-08 20:13:10] local.INFO: Packet analysis {"connection_id":153167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:13:10] local.INFO: Extracted packet for processing {"connection_id":153167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:13:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466280,"longitude_deg":75.382368,"latitude_deg":12.046628,"altitude":56,"angle":157,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2b68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267186688001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195794432,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200059000,"timestamp_ms":1786200059000,"timestamp_seconds":1786200059,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d1ec78"} 
[2026-08-08 20:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:13: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-08-08 20:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267186688001,"66":26267,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195794432},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267186688001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195794432,"description":"Unknown IO ID 44"} 
[2026-08-08 20:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267186688001,"power":26267,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195794432}} 
[2026-08-08 20:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":153167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:13:10] local.INFO: GPS data processed {"connection_id":153167,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:13:10] local.INFO: Acknowledgment sent {"connection_id":153167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:13:31] local.INFO: TCP Data received {"connection_id":150756,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:13:31] local.INFO: Processing buffer {"connection_id":150756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:13:31] local.INFO: IMEI packet received {"connection_id":150756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":150756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:13:36] local.INFO: TCP Data received {"connection_id":150757,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:13:36] local.INFO: Processing buffer {"connection_id":150757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:13:36] local.INFO: IMEI packet received {"connection_id":150757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":150757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:13:36] local.INFO: TCP Data received {"connection_id":150756,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:13:36] local.INFO: Processing buffer {"connection_id":150756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:13:36] local.INFO: IMEI packet received {"connection_id":150756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":150756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:13:37] local.INFO: TCP Data received {"connection_id":150756,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d138c8012d7c51c005fab2e8000900d328..."} 
[2026-08-08 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d138c8012d7c51c005fab2e8000900d328..."} 
[2026-08-08 20:13:37] local.INFO: Processing buffer {"connection_id":150756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d138c8012d7c51c005fab2e8000900d328..."} 
[2026-08-08 20:13:37] local.INFO: Packet analysis {"connection_id":150756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:13:37] local.INFO: Extracted packet for processing {"connection_id":150756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":763122112,"raw_latitude":100315880,"longitude_deg":76.3122112,"latitude_deg":10.031588,"altitude":9,"angle":211,"satellites":40,"speed":6,"hex_longitude":"2d7c51c0","hex_latitude":"05fab2e8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267197952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116288236698992640,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961248490475001856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786200013000,"timestamp_ms":1786200013000,"timestamp_seconds":1786200013,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d138c8"} 
[2026-08-08 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-08-08 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 20:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267197952001,"66":11874,"187":206,"87":10752,"24":6,"16":116288236698992640,"45":8961248490475001856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267197952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:13:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:13:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116288236698992640,"km_value":116288236698992.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961248490475001856,"description":"Unknown IO ID 45"} 
[2026-08-08 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267197952001,"power":11874,"unknown_187":206,"unknown_87":10752,"ignition":6,"odometer":null,"unknown_45":8961248490475001856}} 
[2026-08-08 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":150756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:13:37] local.INFO: GPS data processed {"connection_id":150756,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:13:37] local.INFO: Acknowledgment sent {"connection_id":150756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:13:40] local.INFO: TCP Data received {"connection_id":153167,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d1f830012cee7100072e2be0003801042c..."} 
[2026-08-08 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d1f830012cee7100072e2be0003801042c..."} 
[2026-08-08 20:13:40] local.INFO: Processing buffer {"connection_id":153167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d1f830012cee7100072e2be0003801042c..."} 
[2026-08-08 20:13:40] local.INFO: Packet analysis {"connection_id":153167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:13:40] local.INFO: Extracted packet for processing {"connection_id":153167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215104001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195919360,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786200062000,"timestamp_ms":1786200062000,"timestamp_seconds":1786200062,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d1f830"} 
[2026-08-08 20:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:13: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-08-08 20: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-08 20:13: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-08-08 20:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:13: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-08-08 20:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215104001,"66":25473,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195919360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215104001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195919360,"description":"Unknown IO ID 44"} 
[2026-08-08 20:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215104001,"power":25473,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195919360}} 
[2026-08-08 20:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":153167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:13:40] local.INFO: GPS data processed {"connection_id":153167,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:13:40] local.INFO: Acknowledgment sent {"connection_id":153167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:13:41] local.INFO: TCP Data received {"connection_id":150757,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:13:41] local.INFO: Processing buffer {"connection_id":150757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:13:41] local.INFO: IMEI packet received {"connection_id":150757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":150757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:13:43] local.INFO: TCP Data received {"connection_id":150757,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:13:43] local.INFO: Processing buffer {"connection_id":150757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:13:43] local.INFO: Packet analysis {"connection_id":150757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:13:43] local.INFO: Extracted packet for processing {"connection_id":150757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:13:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":150757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:13:43] local.INFO: GPS data processed {"connection_id":150757,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:13:43] local.INFO: Acknowledgment sent {"connection_id":150757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:14:04] local.INFO: TCP Data received {"connection_id":150470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:14:04] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:14:04] local.INFO: IMEI packet received {"connection_id":150470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":150470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:14:09] local.INFO: TCP Data received {"connection_id":150756,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d18ad0012d7c4a4005faa6c8000900d129..."} 
[2026-08-08 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d18ad0012d7c4a4005faa6c8000900d129..."} 
[2026-08-08 20:14:09] local.INFO: Processing buffer {"connection_id":150756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d18ad0012d7c4a4005faa6c8000900d129..."} 
[2026-08-08 20:14:09] local.INFO: Packet analysis {"connection_id":150756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:14:09] local.INFO: Extracted packet for processing {"connection_id":150756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:14:09] local.INFO: GPS Element Parsed {"raw_longitude":763120192,"raw_latitude":100312776,"longitude_deg":76.3120192,"latitude_deg":10.0312776,"altitude":9,"angle":209,"satellites":41,"speed":8,"hex_longitude":"2d7c4a40","hex_latitude":"05faa6c8","is_valid_coordinates":true} 
[2026-08-08 20:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267203328001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116288417087619072,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958152265730025472,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786200034000,"timestamp_ms":1786200034000,"timestamp_seconds":1786200034,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d18ad0"} 
[2026-08-08 20:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:14:09] 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-08-08 20:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267203328001,"66":11895,"187":206,"87":10752,"24":8,"16":116288417087619072,"45":8958152265730025472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,87,24,16,45]} 
[2026-08-08 20:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267203328001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:14:09] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 20:14:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116288417087619072,"km_value":116288417087619.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958152265730025472,"description":"Unknown IO ID 45"} 
[2026-08-08 20:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267203328001,"power":11895,"unknown_187":206,"unknown_87":10752,"ignition":8,"odometer":null,"unknown_45":8958152265730025472}} 
[2026-08-08 20:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":150756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:14:09] local.INFO: GPS data processed {"connection_id":150756,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:14:09] local.INFO: Acknowledgment sent {"connection_id":150756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:14:09] local.INFO: TCP Data received {"connection_id":150470,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:14:09] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:14:09] local.INFO: IMEI packet received {"connection_id":150470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":150470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:14:10] local.INFO: TCP Data received {"connection_id":150470,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:14:10] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:14:10] local.INFO: Packet analysis {"connection_id":150470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:14:10] local.INFO: Extracted packet for processing {"connection_id":150470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200075000,"timestamp_ms":1786200075000,"timestamp_seconds":1786200075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22af8"} 
[2026-08-08 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:14: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-08-08 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215872001,"66":27713,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:14:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215872001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":150470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:14:10] local.INFO: GPS data processed {"connection_id":150470,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:14:10] local.INFO: Acknowledgment sent {"connection_id":150470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:14:14] local.INFO: TCP Data received {"connection_id":150757,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:14:14] local.INFO: Processing buffer {"connection_id":150757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:14:14] local.INFO: Packet analysis {"connection_id":150757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:14:14] local.INFO: Extracted packet for processing {"connection_id":150757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:14:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":150757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:14:14] local.INFO: GPS data processed {"connection_id":150757,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:14:14] local.INFO: Acknowledgment sent {"connection_id":150757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:14:31] local.INFO: TCP Data received {"connection_id":153168,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:14:31] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:14:31] local.INFO: IMEI packet received {"connection_id":153168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":153168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:14:36] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:14:36] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:14:36] local.INFO: IMEI packet received {"connection_id":153169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":153169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:14:36] local.INFO: TCP Data received {"connection_id":153168,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:14:36] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:14:36] local.INFO: IMEI packet received {"connection_id":153168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":153168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:14:37] local.INFO: TCP Data received {"connection_id":153168,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d1dcd8012d7c400005fa9668000800d32a..."} 
[2026-08-08 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d1dcd8012d7c400005fa9668000800d32a..."} 
[2026-08-08 20:14:37] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d1dcd8012d7c400005fa9668000800d32a..."} 
[2026-08-08 20:14:37] local.INFO: Packet analysis {"connection_id":153168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:14:37] local.INFO: Extracted packet for processing {"connection_id":153168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d1"} 
[2026-08-08 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":100308584,"longitude_deg":76.3117568,"latitude_deg":10.0308584,"altitude":8,"angle":211,"satellites":42,"speed":9,"hex_longitude":"2d7c4000","hex_latitude":"05fa9668","is_valid_coordinates":true} 
[2026-08-08 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267208704001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116288657605787648,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956041203403900928,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786200055000,"timestamp_ms":1786200055000,"timestamp_seconds":1786200055,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d1dcd8"} 
[2026-08-08 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267208704001,"66":11852,"34":206,"87":10752,"24":9,"16":116288657605787648,"45":8956041203403900928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267208704001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:14:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 20:14:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116288657605787648,"km_value":116288657605787.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956041203403900928,"description":"Unknown IO ID 45"} 
[2026-08-08 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267208704001,"power":11852,"unknown_34":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":8956041203403900928}} 
[2026-08-08 20:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":153168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:14:37] local.INFO: GPS data processed {"connection_id":153168,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:14:37] local.INFO: Acknowledgment sent {"connection_id":153168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:14:40] local.INFO: TCP Data received {"connection_id":150470,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:14:40] local.INFO: Processing buffer {"connection_id":150470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:14:40] local.INFO: Packet analysis {"connection_id":150470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:14:40] local.INFO: Extracted packet for processing {"connection_id":150470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20:14: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-08-08 20:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786200075000,"timestamp_ms":1786200075000,"timestamp_seconds":1786200075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22af8"} 
[2026-08-08 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-08-08 20:14: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-08-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:14: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-08-08 20:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215872001,"66":27713,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:14:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215872001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":150470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:14:41] local.INFO: GPS data processed {"connection_id":150470,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:14:41] local.INFO: Acknowledgment sent {"connection_id":150470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:14:41] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:14:41] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:14:41] local.INFO: IMEI packet received {"connection_id":153169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":153169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:14:43] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:14:43] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:14:43] local.INFO: Packet analysis {"connection_id":153169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:14:43] local.INFO: Extracted packet for processing {"connection_id":153169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:14:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":153169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:14:43] local.INFO: GPS data processed {"connection_id":153169,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:14:43] local.INFO: Acknowledgment sent {"connection_id":153169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:04] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:15:04] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:15:04] local.INFO: IMEI packet received {"connection_id":153170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":153170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:15:09] local.INFO: TCP Data received {"connection_id":153168,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22ee0012d7c37c005fa8578000600cf28..."} 
[2026-08-08 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22ee0012d7c37c005fa8578000600cf28..."} 
[2026-08-08 20:15:09] local.INFO: Processing buffer {"connection_id":153168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22ee0012d7c37c005fa8578000600cf28..."} 
[2026-08-08 20:15:09] local.INFO: Packet analysis {"connection_id":153168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:09] local.INFO: Extracted packet for processing {"connection_id":153168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763115456,"raw_latitude":100304248,"longitude_deg":76.3115456,"latitude_deg":10.0304248,"altitude":6,"angle":207,"satellites":40,"speed":9,"hex_longitude":"2d7c37c0","hex_latitude":"05fa8578","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267214080001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116288893828988928,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084891543552,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786200076000,"timestamp_ms":1786200076000,"timestamp_seconds":1786200076,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22ee0"} 
[2026-08-08 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-08-08 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267214080001,"66":11917,"34":206,"87":10752,"24":9,"16":116288893828988928,"45":8953156084891543552},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267214080001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116288893828988928,"km_value":116288893828988.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084891543552,"description":"Unknown IO ID 45"} 
[2026-08-08 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267214080001,"power":11917,"unknown_34":206,"unknown_87":10752,"ignition":9,"odometer":null,"unknown_45":8953156084891543552}} 
[2026-08-08 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":153168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:09] local.INFO: GPS data processed {"connection_id":153168,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:09] local.INFO: Acknowledgment sent {"connection_id":153168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:09] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:15:09] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:15:09] local.INFO: IMEI packet received {"connection_id":153170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":153170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:15:09] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:15:09] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:15:09] local.INFO: Packet analysis {"connection_id":153170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:09] local.INFO: Extracted packet for processing {"connection_id":153170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15: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-08-08 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786200075000,"timestamp_ms":1786200075000,"timestamp_seconds":1786200075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22af8"} 
[2026-08-08 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-08-08 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215872001,"66":27713,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215872001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":153170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:09] local.INFO: GPS data processed {"connection_id":153170,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:09] local.INFO: Acknowledgment sent {"connection_id":153170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:15] local.INFO: TCP Data received {"connection_id":153169,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:15] local.INFO: Processing buffer {"connection_id":153169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:15] local.INFO: Packet analysis {"connection_id":153169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:15:15] local.INFO: Extracted packet for processing {"connection_id":153169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 20:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 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-08-08 20:15: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-08-08 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-08-08 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-08-08 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-08-08 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-08-08 20:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":153169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:15] local.INFO: GPS data processed {"connection_id":153169,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:15] local.INFO: Acknowledgment sent {"connection_id":153169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:36] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:15:36] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:15:36] local.INFO: IMEI packet received {"connection_id":151687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":151687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:15:41] local.INFO: TCP Data received {"connection_id":153170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:15:41] local.INFO: Processing buffer {"connection_id":153170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:15:41] local.INFO: Packet analysis {"connection_id":153170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:41] local.INFO: Extracted packet for processing {"connection_id":153170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200075000,"timestamp_ms":1786200075000,"timestamp_seconds":1786200075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22af8"} 
[2026-08-08 20:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20: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-08-08 20:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215872001,"66":27713,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215872001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":153170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:41] local.INFO: GPS data processed {"connection_id":153170,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:41] local.INFO: Acknowledgment sent {"connection_id":153170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:41] local.INFO: TCP Data received {"connection_id":151688,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:15:41] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:15:41] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:15:42] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:15:42] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:15:42] local.INFO: IMEI packet received {"connection_id":151687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":151687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:15:43] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d280e8012d7c2ac005fa7130000800d42a..."} 
[2026-08-08 20:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d280e8012d7c2ac005fa7130000800d42a..."} 
[2026-08-08 20:15:43] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d280e8012d7c2ac005fa7130000800d42a..."} 
[2026-08-08 20:15:43] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:43] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":100299056,"longitude_deg":76.3112128,"latitude_deg":10.0299056,"altitude":8,"angle":212,"satellites":42,"speed":8,"hex_longitude":"2d7c2ac0","hex_latitude":"05fa7130","is_valid_coordinates":true} 
[2026-08-08 20:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219456001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116289194476699648,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833916332570624,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786200097000,"timestamp_ms":1786200097000,"timestamp_seconds":1786200097,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d280e8"} 
[2026-08-08 20:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:15:43] 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-08-08 20:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219456001,"66":11471,"34":206,"87":10752,"24":8,"16":116289194476699648,"45":8950833916332570624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,87,24,16,45]} 
[2026-08-08 20:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219456001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:43] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-08 20:15:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116289194476699648,"km_value":116289194476699.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833916332570624,"description":"Unknown IO ID 45"} 
[2026-08-08 20:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219456001,"power":11471,"unknown_34":206,"unknown_87":10752,"ignition":8,"odometer":null,"unknown_45":8950833916332570624}} 
[2026-08-08 20:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:43] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:43] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:46] local.INFO: TCP Data received {"connection_id":151688,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:15:46] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:15:46] local.INFO: IMEI packet received {"connection_id":151688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":151688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:15:47] local.INFO: TCP Data received {"connection_id":151688,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:47] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:47] local.INFO: Packet analysis {"connection_id":151688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:15:47] local.INFO: Extracted packet for processing {"connection_id":151688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:15: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-08-08 20:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":151688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:47] local.INFO: GPS data processed {"connection_id":151688,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:47] local.INFO: Acknowledgment sent {"connection_id":151688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:15:53] local.INFO: TCP Data received {"connection_id":151688,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:53] local.INFO: Processing buffer {"connection_id":151688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:15:53] local.INFO: Packet analysis {"connection_id":151688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:15:53] local.INFO: Extracted packet for processing {"connection_id":151688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:15: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-08-08 20:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:15:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:15:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":151688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:15:53] local.INFO: GPS data processed {"connection_id":151688,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:15:53] local.INFO: Acknowledgment sent {"connection_id":151688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:16:04] local.INFO: TCP Data received {"connection_id":150758,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:16:04] local.INFO: Processing buffer {"connection_id":150758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:16:04] local.INFO: IMEI packet received {"connection_id":150758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":150758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:16:09] local.INFO: TCP Data received {"connection_id":150758,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:16:09] local.INFO: Processing buffer {"connection_id":150758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:16:09] local.INFO: IMEI packet received {"connection_id":150758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":150758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:16:10] local.INFO: TCP Data received {"connection_id":150758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:16:10] local.INFO: Processing buffer {"connection_id":150758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:16:10] local.INFO: Packet analysis {"connection_id":150758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:16:10] local.INFO: Extracted packet for processing {"connection_id":150758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200075000,"timestamp_ms":1786200075000,"timestamp_seconds":1786200075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22af8"} 
[2026-08-08 20:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20: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-08-08 20:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215872001,"66":27713,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215872001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":150758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:16:10] local.INFO: GPS data processed {"connection_id":150758,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:16:10] local.INFO: Acknowledgment sent {"connection_id":150758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:16:15] local.INFO: TCP Data received {"connection_id":151687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d645c0012d7bca8005f9ca00000d00cf24..."} 
[2026-08-08 20:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d645c0012d7bca8005f9ca00000d00cf24..."} 
[2026-08-08 20:16:15] local.INFO: Processing buffer {"connection_id":151687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d645c0012d7bca8005f9ca00000d00cf24..."} 
[2026-08-08 20:16:15] local.INFO: Packet analysis {"connection_id":151687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:16:15] local.INFO: Extracted packet for processing {"connection_id":151687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":763087488,"raw_latitude":100256256,"longitude_deg":76.3087488,"latitude_deg":10.0256256,"altitude":13,"angle":207,"satellites":36,"speed":2,"hex_longitude":"2d7bca80","hex_latitude":"05f9ca00","is_valid_coordinates":true} 
[2026-08-08 20:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267282688001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116291612543287296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920997568789354496,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786200344000,"timestamp_ms":1786200344000,"timestamp_seconds":1786200344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d645c0"} 
[2026-08-08 20:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788774160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3568271361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3916431367,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3036271460003479576,"corrected_to":0} 
[2026-08-08 20:16:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393422,"corrected_to":0} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257770,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-422793007138287062,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194775040,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,38,87,24,241,157,16,159,161,45,64,210,11,39,10,66,79,192,213,40,253,128,1,240,153,227,225,249,4,113,205,23,109,235,200,41,239,46,35,2,5,69],"length":484,"final_offset":614,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3036271460003479576,"validated":0},{"io_id":200,"original":393422,"validated":0}]} 
[2026-08-08 20:16:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864922184810954752,"timestamp_seconds":864922184810954.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267282688001,"66":11352,"38":206,"87":10752,"24":2,"16":116291612543287296,"45":8920997568789354496},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267282688001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116291612543287296,"km_value":116291612543287.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920997568789354496,"description":"Unknown IO ID 45"} 
[2026-08-08 20:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267282688001,"power":11352,"unknown_38":206,"unknown_87":10752,"ignition":2,"odometer":null,"unknown_45":8920997568789354496}} 
[2026-08-08 20:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":151687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:16:15] local.INFO: GPS data processed {"connection_id":151687,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:16:15] local.INFO: Acknowledgment sent {"connection_id":151687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:16:41] local.INFO: TCP Data received {"connection_id":150758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:16:41] local.INFO: Processing buffer {"connection_id":150758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d22af8012cee7100072e2be0003801042c..."} 
[2026-08-08 20:16:41] local.INFO: Packet analysis {"connection_id":150758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:16:41] local.INFO: Extracted packet for processing {"connection_id":150758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d2"} 
[2026-08-08 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466400,"longitude_deg":75.3824,"latitude_deg":12.04664,"altitude":56,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2cee7100","hex_latitude":"072e2be0","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267215872001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200075000,"timestamp_ms":1786200075000,"timestamp_seconds":1786200075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d22af8"} 
[2026-08-08 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-08-08 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20: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-08-08 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-08-08 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-08-08 20:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267215872001,"66":27713,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267215872001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:16:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267215872001,"power":27713,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":150758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:16:41] local.INFO: GPS data processed {"connection_id":150758,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:16:41] local.INFO: Acknowledgment sent {"connection_id":150758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:16:41] local.INFO: TCP Data received {"connection_id":150759,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:16:41] local.INFO: Processing buffer {"connection_id":150759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:16:41] local.INFO: IMEI packet received {"connection_id":150759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":150759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:16:47] local.INFO: TCP Data received {"connection_id":150759,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:16:47] local.INFO: Processing buffer {"connection_id":150759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:16:47] local.INFO: IMEI packet received {"connection_id":150759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":150759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:16:51] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:16:51] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:16:51] local.INFO: IMEI packet received {"connection_id":150471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":150471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:16:52] local.INFO: TCP Data received {"connection_id":150759,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d697c8012d7bbf8005f9b490000c00d023..."} 
[2026-08-08 20:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d697c8012d7bbf8005f9b490000c00d023..."} 
[2026-08-08 20:16:52] local.INFO: Processing buffer {"connection_id":150759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d697c8012d7bbf8005f9b490000c00d023..."} 
[2026-08-08 20:16:52] local.INFO: Packet analysis {"connection_id":150759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:16:52] local.INFO: Extracted packet for processing {"connection_id":150759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763084672,"raw_latitude":100250768,"longitude_deg":76.3084672,"latitude_deg":10.0250768,"altitude":12,"angle":208,"satellites":35,"speed":19,"hex_longitude":"2d7bbf80","hex_latitude":"05f9b490","is_valid_coordinates":true} 
[2026-08-08 20:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267288064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116291913190998016,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920082775114645504,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786200365000,"timestamp_ms":1786200365000,"timestamp_seconds":1786200365,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d697c8"} 
[2026-08-08 20:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-08 20:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267288064001,"66":12037,"38":206,"87":10752,"24":19,"16":116291913190998016,"45":8920082775114645504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267288064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:16:52] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:16:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116291913190998016,"km_value":116291913190998.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920082775114645504,"description":"Unknown IO ID 45"} 
[2026-08-08 20:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267288064001,"power":12037,"unknown_38":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":8920082775114645504}} 
[2026-08-08 20:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":150759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:16:52] local.INFO: GPS data processed {"connection_id":150759,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:16:52] local.INFO: Acknowledgment sent {"connection_id":150759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:16:56] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:16:56] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:16:56] local.INFO: IMEI packet received {"connection_id":150471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":150471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:16:57] local.INFO: TCP Data received {"connection_id":150759,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6af38012d7bba0005f9a7f0000b00c223..."} 
[2026-08-08 20:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6af38012d7bba0005f9a7f0000b00c223..."} 
[2026-08-08 20:16:57] local.INFO: Processing buffer {"connection_id":150759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6af38012d7bba0005f9a7f0000b00c223..."} 
[2026-08-08 20:16:57] local.INFO: Packet analysis {"connection_id":150759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:16:57] local.INFO: Extracted packet for processing {"connection_id":150759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763083264,"raw_latitude":100247536,"longitude_deg":76.3083264,"latitude_deg":10.0247536,"altitude":11,"angle":194,"satellites":35,"speed":24,"hex_longitude":"2d7bba00","hex_latitude":"05f9a7f0","is_valid_coordinates":true} 
[2026-08-08 20:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267293440001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116292080694722560,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916986550369423360,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786200371000,"timestamp_ms":1786200371000,"timestamp_seconds":1786200371,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6af38"} 
[2026-08-08 20:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788812160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194741504,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3578767361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3579838474,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3036271460003479576,"corrected_to":0} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":253,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2147875288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2566966571,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-438696343272108250,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,38,87,24,241,157,16,159,69,45,128,202,13,36,10,66,243,192,208,12,37,161,64,1,240,239,227,225,249,4,113,205,253,209,42,44,2,5],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3036271460003479576,"validated":0}]} 
[2026-08-08 20:16:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864919977198813184,"timestamp_seconds":864919977198813.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267293440001,"66":12058,"38":206,"87":10752,"24":24,"16":116292080694722560,"45":8916986550369423360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267293440001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116292080694722560,"km_value":116292080694722.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916986550369423360,"description":"Unknown IO ID 45"} 
[2026-08-08 20:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267293440001,"power":12058,"unknown_38":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8916986550369423360}} 
[2026-08-08 20:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":150759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:16:57] local.INFO: GPS data processed {"connection_id":150759,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:16:57] local.INFO: Acknowledgment sent {"connection_id":150759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:16:57] local.INFO: TCP Data received {"connection_id":150471,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:16:57] local.INFO: Processing buffer {"connection_id":150471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:16:57] local.INFO: Packet analysis {"connection_id":150471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:16:57] local.INFO: Extracted packet for processing {"connection_id":150471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":150471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:16:58] local.INFO: GPS data processed {"connection_id":150471,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:16:58] local.INFO: Acknowledgment sent {"connection_id":150471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:17:04] local.INFO: TCP Data received {"connection_id":150472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:17:04] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:17:04] local.INFO: IMEI packet received {"connection_id":150472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":150472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:17:09] local.INFO: TCP Data received {"connection_id":150472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:17:09] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:17:09] local.INFO: IMEI packet received {"connection_id":150472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":150472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:17:10] local.INFO: TCP Data received {"connection_id":150472,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:17:10] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:17:10] local.INFO: Packet analysis {"connection_id":150472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:17:10] local.INFO: Extracted packet for processing {"connection_id":150472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:17:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20: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-08-08 20:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":150472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:17:10] local.INFO: GPS data processed {"connection_id":150472,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:17:10] local.INFO: Acknowledgment sent {"connection_id":150472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:17:32] local.INFO: TCP Data received {"connection_id":153171,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:17:32] local.INFO: Processing buffer {"connection_id":153171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:17:32] local.INFO: IMEI packet received {"connection_id":153171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":153171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:17:36] local.INFO: TCP Data received {"connection_id":150760,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:17:36] local.INFO: Processing buffer {"connection_id":150760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:17:36] local.INFO: IMEI packet received {"connection_id":150760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":150760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:17:36] local.INFO: TCP Data received {"connection_id":153171,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:17:36] local.INFO: Processing buffer {"connection_id":153171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:17:36] local.INFO: IMEI packet received {"connection_id":153171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":153171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:17:38] local.INFO: TCP Data received {"connection_id":153171,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6b708012d7bb9c005f9a2f0000a00b324..."} 
[2026-08-08 20:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6b708012d7bb9c005f9a2f0000a00b324..."} 
[2026-08-08 20:17:38] local.INFO: Processing buffer {"connection_id":153171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6b708012d7bb9c005f9a2f0000a00b324..."} 
[2026-08-08 20:17:38] local.INFO: Packet analysis {"connection_id":153171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:17:38] local.INFO: Extracted packet for processing {"connection_id":153171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763083200,"raw_latitude":100246256,"longitude_deg":76.30832,"latitude_deg":10.0246256,"altitude":10,"angle":179,"satellites":36,"speed":24,"hex_longitude":"2d7bb9c0","hex_latitude":"05f9a2f0","is_valid_coordinates":true} 
[2026-08-08 20:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267294976001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116292145119232000,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915438437996687360,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786200373000,"timestamp_ms":1786200373000,"timestamp_seconds":1786200373,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6b708"} 
[2026-08-08 20:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 20:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267294976001,"66":12037,"38":206,"87":10752,"24":24,"16":116292145119232000,"45":8915438437996687360},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267294976001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:17:38] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:17:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116292145119232000,"km_value":116292145119232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915438437996687360,"description":"Unknown IO ID 45"} 
[2026-08-08 20:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267294976001,"power":12037,"unknown_38":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8915438437996687360}} 
[2026-08-08 20:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":153171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:17:38] local.INFO: GPS data processed {"connection_id":153171,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:17:38] local.INFO: Acknowledgment sent {"connection_id":153171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:17:41] local.INFO: TCP Data received {"connection_id":150472,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:17:41] local.INFO: Processing buffer {"connection_id":150472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:17:41] local.INFO: Packet analysis {"connection_id":150472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:17:41] local.INFO: Extracted packet for processing {"connection_id":150472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":150472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:17:41] local.INFO: GPS data processed {"connection_id":150472,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:17:41] local.INFO: Acknowledgment sent {"connection_id":150472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:17:41] local.INFO: TCP Data received {"connection_id":150760,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:17:41] local.INFO: Processing buffer {"connection_id":150760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:17:41] local.INFO: IMEI packet received {"connection_id":150760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":150760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:17:42] local.INFO: TCP Data received {"connection_id":150760,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:17:42] local.INFO: Processing buffer {"connection_id":150760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d31558012d196a80071fef680042011725..."} 
[2026-08-08 20:17:42] local.INFO: Packet analysis {"connection_id":150760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:17:42] local.INFO: Extracted packet for processing {"connection_id":150760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d3"} 
[2026-08-08 20:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267157504001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:17: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-08-08 20:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786200135000,"timestamp_ms":1786200135000,"timestamp_seconds":1786200135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d31558"} 
[2026-08-08 20:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:17: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-08-08 20:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267157504001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267157504001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:17:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267157504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":150760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:17:43] local.INFO: GPS data processed {"connection_id":150760,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:17:43] local.INFO: Acknowledgment sent {"connection_id":150760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:04] local.INFO: TCP Data received {"connection_id":150473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:18:04] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:18:04] local.INFO: IMEI packet received {"connection_id":150473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":150473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:18:09] local.INFO: TCP Data received {"connection_id":150473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:18:09] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:18:09] local.INFO: IMEI packet received {"connection_id":150473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":150473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:18:09] local.INFO: TCP Data received {"connection_id":153171,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c2c0012d7bba4005f99be8000a00a726..."} 
[2026-08-08 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c2c0012d7bba4005f99be8000a00a726..."} 
[2026-08-08 20:18:09] local.INFO: Processing buffer {"connection_id":153171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c2c0012d7bba4005f99be8000a00a726..."} 
[2026-08-08 20:18:09] local.INFO: Packet analysis {"connection_id":153171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:09] local.INFO: Extracted packet for processing {"connection_id":153171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763083328,"raw_latitude":100244456,"longitude_deg":76.3083328,"latitude_deg":10.0244456,"altitude":10,"angle":167,"satellites":38,"speed":24,"hex_longitude":"2d7bba40","hex_latitude":"05f99be8","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267295488001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116292231018577920,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915368069252182016,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786200376000,"timestamp_ms":1786200376000,"timestamp_seconds":1786200376,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c2c0"} 
[2026-08-08 20:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788853160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194735872,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3589519361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3491233804,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3109173478971539480,"corrected_to":0} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807147,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-444343434942034392,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,38,87,24,241,157,16,39,159,175,45,167,11,35,10,66,151,128,180,12,69,1,240,88,227,225,249,4,113,205,3,161,207,160,239,46,2,5],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3109173478971539480,"validated":0}]} 
[2026-08-08 20:18:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720772907581046784,"timestamp_seconds":720772907581046.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267295488001,"66":12037,"38":206,"87":10752,"24":24,"16":116292231018577920,"45":8915368069252182016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267295488001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:09] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:18:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116292231018577920,"km_value":116292231018577.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915368069252182016,"description":"Unknown IO ID 45"} 
[2026-08-08 20:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267295488001,"power":12037,"unknown_38":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8915368069252182016}} 
[2026-08-08 20:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":153171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:09] local.INFO: GPS data processed {"connection_id":153171,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:09] local.INFO: Acknowledgment sent {"connection_id":153171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:10] local.INFO: TCP Data received {"connection_id":150473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:18:10] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:18:10] local.INFO: Packet analysis {"connection_id":150473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:10] local.INFO: Extracted packet for processing {"connection_id":150473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:18: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-08-08 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":150473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:10] local.INFO: GPS data processed {"connection_id":150473,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:10] local.INFO: Acknowledgment sent {"connection_id":150473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:14] local.INFO: TCP Data received {"connection_id":150760,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:14] local.INFO: Processing buffer {"connection_id":150760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:14] local.INFO: Packet analysis {"connection_id":150760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:18:14] local.INFO: Extracted packet for processing {"connection_id":150760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267234560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786200436000,"timestamp_ms":1786200436000,"timestamp_seconds":1786200436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d7ad20"} 
[2026-08-08 20:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267234560001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267234560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267234560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:14] local.INFO: GPS data processed {"connection_id":150760,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:14] local.INFO: Acknowledgment sent {"connection_id":150760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:29] local.INFO: TCP Data received {"connection_id":150474,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:29] local.INFO: Processing buffer {"connection_id":150474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:29] local.INFO: IMEI packet received {"connection_id":150474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":150474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:18:31] local.INFO: TCP Data received {"connection_id":150474,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:31] local.INFO: Processing buffer {"connection_id":150474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:31] local.INFO: IMEI packet received {"connection_id":150474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":150474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:18:36] local.INFO: TCP Data received {"connection_id":150474,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:36] local.INFO: Processing buffer {"connection_id":150474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:18:36] local.INFO: IMEI packet received {"connection_id":150474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":150474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:18:37] local.INFO: TCP Data received {"connection_id":150474,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6ce78012d7bbd0005f994a0000a009426..."} 
[2026-08-08 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6ce78012d7bbd0005f994a0000a009426..."} 
[2026-08-08 20:18:37] local.INFO: Processing buffer {"connection_id":150474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6ce78012d7bbd0005f994a0000a009426..."} 
[2026-08-08 20:18:37] local.INFO: Packet analysis {"connection_id":150474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:37] local.INFO: Extracted packet for processing {"connection_id":150474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":100242592,"longitude_deg":76.3084032,"latitude_deg":10.0242592,"altitude":10,"angle":148,"satellites":38,"speed":29,"hex_longitude":"2d7bbd00","hex_latitude":"05f994a0","is_valid_coordinates":true} 
[2026-08-08 20:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296256001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116292329802825728,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915508806740076544,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786200379000,"timestamp_ms":1786200379000,"timestamp_seconds":1786200379,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6ce78"} 
[2026-08-08 20:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3788874160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-445117491111211993,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3594895361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3388997645,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3109173478971539480,"corrected_to":0} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194811136,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,38,87,24,241,157,16,39,159,183,45,192,162,10,36,66,175,167,11,35,151,128,1,240,5,227,225,249,4,113,205,2,243,37,239,47,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3109173478971539480,"validated":0}]} 
[2026-08-08 20:18:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720759722031448064,"timestamp_seconds":720759722031448.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296256001,"66":12135,"38":206,"87":10752,"24":29,"16":116292329802825728,"45":8915508806740076544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296256001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116292329802825728,"km_value":116292329802825.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915508806740076544,"description":"Unknown IO ID 45"} 
[2026-08-08 20:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296256001,"power":12135,"unknown_38":206,"unknown_87":10752,"ignition":29,"odometer":null,"unknown_45":8915508806740076544}} 
[2026-08-08 20:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":150474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:37] local.INFO: GPS data processed {"connection_id":150474,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:37] local.INFO: Acknowledgment sent {"connection_id":150474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:41] local.INFO: TCP Data received {"connection_id":150473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:18:41] local.INFO: Processing buffer {"connection_id":150473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:18:41] local.INFO: Packet analysis {"connection_id":150473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:41] local.INFO: Extracted packet for processing {"connection_id":150473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":150473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:41] local.INFO: GPS data processed {"connection_id":150473,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:41] local.INFO: Acknowledgment sent {"connection_id":150473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:41] local.INFO: TCP Data received {"connection_id":153172,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:18:41] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:18:41] local.INFO: IMEI packet received {"connection_id":153172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":153172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:18:46] local.INFO: TCP Data received {"connection_id":153172,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:18:46] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:18:46] local.INFO: IMEI packet received {"connection_id":153172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":153172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:18:51] local.INFO: TCP Data received {"connection_id":153172,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:51] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:51] local.INFO: Packet analysis {"connection_id":153172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:18:51] local.INFO: Extracted packet for processing {"connection_id":153172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267234560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786200436000,"timestamp_ms":1786200436000,"timestamp_seconds":1786200436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d7ad20"} 
[2026-08-08 20:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267234560001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267234560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267234560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":153172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:51] local.INFO: GPS data processed {"connection_id":153172,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:51] local.INFO: Acknowledgment sent {"connection_id":153172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:18:51] local.INFO: TCP Data received {"connection_id":153172,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:51] local.INFO: Processing buffer {"connection_id":153172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:18:51] local.INFO: Packet analysis {"connection_id":153172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:18:51] local.INFO: Extracted packet for processing {"connection_id":153172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267234560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786200436000,"timestamp_ms":1786200436000,"timestamp_seconds":1786200436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d7ad20"} 
[2026-08-08 20:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267234560001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267234560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:18:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:18:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267234560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":153172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:18:52] local.INFO: GPS data processed {"connection_id":153172,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:18:52] local.INFO: Acknowledgment sent {"connection_id":153172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:19:04] local.INFO: TCP Data received {"connection_id":150475,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:19:04] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:19:04] local.INFO: IMEI packet received {"connection_id":150475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":150475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:19:08] local.INFO: TCP Data received {"connection_id":150474,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6e5e8012d7bcb0005f98358000b008926..."} 
[2026-08-08 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6e5e8012d7bcb0005f98358000b008926..."} 
[2026-08-08 20:19:08] local.INFO: Processing buffer {"connection_id":150474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6e5e8012d7bcb0005f98358000b008926..."} 
[2026-08-08 20:19:08] local.INFO: Packet analysis {"connection_id":150474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:19:08] local.INFO: Extracted packet for processing {"connection_id":150474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":763087616,"raw_latitude":100238168,"longitude_deg":76.3087616,"latitude_deg":10.0238168,"altitude":11,"angle":137,"satellites":38,"speed":40,"hex_longitude":"2d7bcb00","hex_latitude":"05f98358","is_valid_coordinates":true} 
[2026-08-08 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267297024001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116292604680732672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862925553664,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786200385000,"timestamp_ms":1786200385000,"timestamp_seconds":1786200385,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6e5e8"} 
[2026-08-08 20:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 20:19: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-08-08 20:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267297024001,"66":12026,"38":206,"87":10752,"24":40,"16":116292604680732672,"45":8916282862925553664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267297024001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:19:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:19:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116292604680732672,"km_value":116292604680732.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862925553664,"description":"Unknown IO ID 45"} 
[2026-08-08 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267297024001,"power":12026,"unknown_38":206,"unknown_87":10752,"ignition":40,"odometer":null,"unknown_45":8916282862925553664}} 
[2026-08-08 20:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":150474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:19:08] local.INFO: GPS data processed {"connection_id":150474,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:19:08] local.INFO: Acknowledgment sent {"connection_id":150474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:19:09] local.INFO: TCP Data received {"connection_id":150475,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:19:09] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:19:09] local.INFO: IMEI packet received {"connection_id":150475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":150475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:19:10] local.INFO: TCP Data received {"connection_id":150475,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:19:10] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:19:10] local.INFO: Packet analysis {"connection_id":150475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:19:10] local.INFO: Extracted packet for processing {"connection_id":150475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:19:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 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-08-08 20: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-08-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:19:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":150475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:19:10] local.INFO: GPS data processed {"connection_id":150475,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:19:10] local.INFO: Acknowledgment sent {"connection_id":150475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:19:31] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:19:31] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:19:31] local.INFO: IMEI packet received {"connection_id":151689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":151689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:19:36] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:19:36] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:19:36] local.INFO: IMEI packet received {"connection_id":153173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":153173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:19:36] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:19:36] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:19:36] local.INFO: IMEI packet received {"connection_id":151689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":151689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:19:37] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d70910012d7be1c005f96648000a009126..."} 
[2026-08-08 20:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d70910012d7be1c005f96648000a009126..."} 
[2026-08-08 20:19:37] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d70910012d7be1c005f96648000a009126..."} 
[2026-08-08 20:19:37] local.INFO: Packet analysis {"connection_id":151689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:19:37] local.INFO: Extracted packet for processing {"connection_id":151689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763093440,"raw_latitude":100230728,"longitude_deg":76.309344,"latitude_deg":10.0230728,"altitude":10,"angle":145,"satellites":38,"speed":39,"hex_longitude":"2d7be1c0","hex_latitude":"05f96648","is_valid_coordinates":true} 
[2026-08-08 20:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267298560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116293059947266048,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920223512598370304,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786200394000,"timestamp_ms":1786200394000,"timestamp_seconds":1786200394,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d70910"} 
[2026-08-08 20:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 20:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267298560001,"66":12102,"38":206,"87":10752,"24":39,"16":116293059947266048,"45":8920223512598370304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-08 20:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267298560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:19:37] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-08 20:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-08-08 20:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116293059947266048,"km_value":116293059947266.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920223512598370304,"description":"Unknown IO ID 45"} 
[2026-08-08 20:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267298560001,"power":12102,"unknown_38":206,"unknown_87":10752,"ignition":39,"odometer":null,"unknown_45":8920223512598370304}} 
[2026-08-08 20:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":151689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:19:37] local.INFO: GPS data processed {"connection_id":151689,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:19:37] local.INFO: Acknowledgment sent {"connection_id":151689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:19:41] local.INFO: TCP Data received {"connection_id":150475,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:19:41] local.INFO: Processing buffer {"connection_id":150475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:19:41] local.INFO: Packet analysis {"connection_id":150475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:19:41] local.INFO: Extracted packet for processing {"connection_id":150475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 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-08-08 20: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-08-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:19:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":150475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:19:41] local.INFO: GPS data processed {"connection_id":150475,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:19:41] local.INFO: Acknowledgment sent {"connection_id":150475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:19:41] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:19:41] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:19:41] local.INFO: IMEI packet received {"connection_id":153173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":153173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:19:42] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:19:42] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:19:42] local.INFO: Packet analysis {"connection_id":153173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:19:42] local.INFO: Extracted packet for processing {"connection_id":153173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267234560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:19: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-08-08 20:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786200436000,"timestamp_ms":1786200436000,"timestamp_seconds":1786200436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d7ad20"} 
[2026-08-08 20:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:19: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-08-08 20:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267234560001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267234560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:19:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267234560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":153173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:19:43] local.INFO: GPS data processed {"connection_id":153173,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:19:43] local.INFO: Acknowledgment sent {"connection_id":153173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:20:04] local.INFO: TCP Data received {"connection_id":153174,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:20:04] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:20:04] local.INFO: IMEI packet received {"connection_id":153174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":153174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:20:09] local.INFO: TCP Data received {"connection_id":151689,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d9f710012d7c294005f87250000a00ad2b..."} 
[2026-08-08 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d9f710012d7c294005f87250000a00ad2b..."} 
[2026-08-08 20:20:09] local.INFO: Processing buffer {"connection_id":151689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d9f710012d7c294005f87250000a00ad2b..."} 
[2026-08-08 20:20:09] local.INFO: Packet analysis {"connection_id":151689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d9"} 
[2026-08-08 20:20:09] local.INFO: Extracted packet for processing {"connection_id":151689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d9"} 
[2026-08-08 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":100168272,"longitude_deg":76.3111744,"latitude_deg":10.0168272,"altitude":10,"angle":173,"satellites":43,"speed":35,"hex_longitude":"2d7c2940","hex_latitude":"05f87250","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267348224001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116296276877770752,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946963635369220096,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786200586000,"timestamp_ms":1786200586000,"timestamp_seconds":1786200586,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d9f710"} 
[2026-08-08 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-08-08 20:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 20:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267348224001,"66":12156,"75":206,"87":12800,"24":35,"16":116296276877770752,"45":8946963635369220096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 20:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267348224001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:20:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:20:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116296276877770752,"km_value":116296276877770.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946963635369220096,"description":"Unknown IO ID 45"} 
[2026-08-08 20:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267348224001,"power":12156,"unknown_75":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8946963635369220096}} 
[2026-08-08 20:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":151689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:20:09] local.INFO: GPS data processed {"connection_id":151689,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:20:09] local.INFO: Acknowledgment sent {"connection_id":151689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:20:09] local.INFO: TCP Data received {"connection_id":153174,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:20:09] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:20:09] local.INFO: IMEI packet received {"connection_id":153174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":153174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:20:10] local.INFO: TCP Data received {"connection_id":153174,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:20:10] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:20:10] local.INFO: Packet analysis {"connection_id":153174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:20:10] local.INFO: Extracted packet for processing {"connection_id":153174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:20:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:20: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-08-08 20:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:20:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":153174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:20:10] local.INFO: GPS data processed {"connection_id":153174,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:20:10] local.INFO: Acknowledgment sent {"connection_id":153174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:20:14] local.INFO: TCP Data received {"connection_id":153173,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:20:14] local.INFO: Processing buffer {"connection_id":153173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d7ad20012d196a80071fef680042011725..."} 
[2026-08-08 20:20:14] local.INFO: Packet analysis {"connection_id":153173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:20:14] local.INFO: Extracted packet for processing {"connection_id":153173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d7"} 
[2026-08-08 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267234560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786200436000,"timestamp_ms":1786200436000,"timestamp_seconds":1786200436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d7ad20"} 
[2026-08-08 20:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267234560001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267234560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:20:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267234560001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":153173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:20:14] local.INFO: GPS data processed {"connection_id":153173,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:20:14] local.INFO: Acknowledgment sent {"connection_id":153173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:20:31] local.INFO: TCP Data received {"connection_id":153175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:20:31] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:20:31] local.INFO: IMEI packet received {"connection_id":153175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":153175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:20:36] local.INFO: TCP Data received {"connection_id":150761,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:20:36] local.INFO: Processing buffer {"connection_id":150761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:20:36] local.INFO: IMEI packet received {"connection_id":150761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":150761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:20:40] local.INFO: TCP Data received {"connection_id":153175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:20:40] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:20:40] local.INFO: IMEI packet received {"connection_id":153175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":153175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:20:41] local.INFO: TCP Data received {"connection_id":153174,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:20:41] local.INFO: Processing buffer {"connection_id":153174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:20:41] local.INFO: Packet analysis {"connection_id":153174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:20:41] local.INFO: Extracted packet for processing {"connection_id":153174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:20: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-08-08 20:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":153174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:20:41] local.INFO: GPS data processed {"connection_id":153174,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:20:41] local.INFO: Acknowledgment sent {"connection_id":153174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:20:41] local.INFO: TCP Data received {"connection_id":153175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1da1a38012d7c2f4005f84e18000b00aa29..."} 
[2026-08-08 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1da1a38012d7c2f4005f84e18000b00aa29..."} 
[2026-08-08 20:20:41] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1da1a38012d7c2f4005f84e18000b00aa29..."} 
[2026-08-08 20:20:41] local.INFO: Packet analysis {"connection_id":153175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:20:41] local.INFO: Extracted packet for processing {"connection_id":153175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763113280,"raw_latitude":100159000,"longitude_deg":76.311328,"latitude_deg":10.0159,"altitude":11,"angle":170,"satellites":41,"speed":44,"hex_longitude":"2d7c2f40","hex_latitude":"05f84e18","is_valid_coordinates":true} 
[2026-08-08 20:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267350016001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116296732144304128,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752529135456256,"note":"Value kept but may cause issues"} 
[2026-08-08 20:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200595000,"timestamp_ms":1786200595000,"timestamp_seconds":1786200595,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1da1a38"} 
[2026-08-08 20:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267350016001,"66":12232,"75":206,"87":12800,"24":44,"16":116296732144304128,"45":8946752529135456256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 20:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267350016001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116296732144304128,"km_value":116296732144304.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752529135456256,"description":"Unknown IO ID 45"} 
[2026-08-08 20:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267350016001,"power":12232,"unknown_75":206,"unknown_87":12800,"ignition":44,"odometer":null,"unknown_45":8946752529135456256}} 
[2026-08-08 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":153175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:20:41] local.INFO: GPS data processed {"connection_id":153175,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:20:41] local.INFO: Acknowledgment sent {"connection_id":153175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:20:58] local.INFO: TCP Data received {"connection_id":150761,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:20:58] local.INFO: Processing buffer {"connection_id":150761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:20:58] local.INFO: IMEI packet received {"connection_id":150761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":150761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:20:59] local.INFO: TCP Data received {"connection_id":150761,"ip":"117.224.169.58","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150761,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 20:20:59] local.INFO: Processing buffer {"connection_id":150761,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-08 20:20:59] local.INFO: IMEI packet received {"connection_id":150761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":150761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:21:04] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:21:04] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:21:04] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:21:09] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:21:09] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:21:09] local.INFO: IMEI packet received {"connection_id":151690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":151690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:21:10] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:21:10] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:21:10] local.INFO: Packet analysis {"connection_id":151690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:21:10] local.INFO: Extracted packet for processing {"connection_id":151690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:21:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 20:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20: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":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:21: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-08-08 20:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:21:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":151690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:21:10] local.INFO: GPS data processed {"connection_id":151690,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:21:10] local.INFO: Acknowledgment sent {"connection_id":151690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:21:14] local.INFO: TCP Data received {"connection_id":153175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1da3d60012d7c350005f829e0000a00ac29..."} 
[2026-08-08 20:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1da3d60012d7c350005f829e0000a00ac29..."} 
[2026-08-08 20:21:14] local.INFO: Processing buffer {"connection_id":153175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1da3d60012d7c350005f829e0000a00ac29..."} 
[2026-08-08 20:21:14] local.INFO: Packet analysis {"connection_id":153175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:21:14] local.INFO: Extracted packet for processing {"connection_id":153175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763114752,"raw_latitude":100149728,"longitude_deg":76.3114752,"latitude_deg":10.0149728,"altitude":10,"angle":172,"satellites":41,"speed":39,"hex_longitude":"2d7c3500","hex_latitude":"05f829e0","is_valid_coordinates":true} 
[2026-08-08 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267352320001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116297187410837504,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948441378993346560,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786200604000,"timestamp_ms":1786200604000,"timestamp_seconds":1786200604,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1da3d60"} 
[2026-08-08 20:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 20:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267352320001,"66":12113,"75":206,"87":12800,"24":39,"16":116297187410837504,"45":8948441378993346560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 20:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267352320001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:21:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:21:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116297187410837504,"km_value":116297187410837.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948441378993346560,"description":"Unknown IO ID 45"} 
[2026-08-08 20:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267352320001,"power":12113,"unknown_75":206,"unknown_87":12800,"ignition":39,"odometer":null,"unknown_45":8948441378993346560}} 
[2026-08-08 20:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":153175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:21:14] local.INFO: GPS data processed {"connection_id":153175,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:21:14] local.INFO: Acknowledgment sent {"connection_id":153175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:21:31] local.INFO: TCP Data received {"connection_id":150762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:21:31] local.INFO: Processing buffer {"connection_id":150762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:21:31] local.INFO: IMEI packet received {"connection_id":150762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":150762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:21:37] local.INFO: TCP Data received {"connection_id":150762,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:21:37] local.INFO: Processing buffer {"connection_id":150762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:21:37] local.INFO: IMEI packet received {"connection_id":150762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":150762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:21:37] local.INFO: TCP Data received {"connection_id":150762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1da6088012d7c3a8005f80788000a00a929..."} 
[2026-08-08 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1da6088012d7c3a8005f80788000a00a929..."} 
[2026-08-08 20:21:37] local.INFO: Processing buffer {"connection_id":150762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1da6088012d7c3a8005f80788000a00a929..."} 
[2026-08-08 20:21:37] local.INFO: Packet analysis {"connection_id":150762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:21:37] local.INFO: Extracted packet for processing {"connection_id":150762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763116160,"raw_latitude":100140936,"longitude_deg":76.311616,"latitude_deg":10.0140936,"altitude":10,"angle":169,"satellites":41,"speed":41,"hex_longitude":"2d7c3a80","hex_latitude":"05f80788","is_valid_coordinates":true} 
[2026-08-08 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267354624001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116297621202534400,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950059860107059200,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786200613000,"timestamp_ms":1786200613000,"timestamp_seconds":1786200613,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1da6088"} 
[2026-08-08 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 20:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267354624001,"66":12189,"75":206,"87":12800,"24":41,"16":116297621202534400,"45":8950059860107059200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267354624001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:21:37] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116297621202534400,"km_value":116297621202534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950059860107059200,"description":"Unknown IO ID 45"} 
[2026-08-08 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267354624001,"power":12189,"unknown_75":206,"unknown_87":12800,"ignition":41,"odometer":null,"unknown_45":8950059860107059200}} 
[2026-08-08 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":150762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:21:37] local.INFO: GPS data processed {"connection_id":150762,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:21:37] local.INFO: Acknowledgment sent {"connection_id":150762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:21:41] local.INFO: TCP Data received {"connection_id":151690,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:21:41] local.INFO: Processing buffer {"connection_id":151690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1d6c6a8012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:21:41] local.INFO: Packet analysis {"connection_id":151690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:21:41] local.INFO: Extracted packet for processing {"connection_id":151690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1d6"} 
[2026-08-08 20:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267219200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989475000320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200377000,"timestamp_ms":1786200377000,"timestamp_seconds":1786200377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1d6c6a8"} 
[2026-08-08 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-08-08 20: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-08-08 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-08 20:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:21: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-08-08 20:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267219200001,"66":26169,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265229989475000320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267219200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:21:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989475000320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267219200001,"power":26169,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265229989475000320}} 
[2026-08-08 20:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":151690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:21:41] local.INFO: GPS data processed {"connection_id":151690,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:21:41] local.INFO: Acknowledgment sent {"connection_id":151690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:22:04] local.INFO: TCP Data received {"connection_id":150476,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:22:04] local.INFO: Processing buffer {"connection_id":150476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:22:04] local.INFO: IMEI packet received {"connection_id":150476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":150476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:22:09] local.INFO: TCP Data received {"connection_id":150762,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1da8798012d7c400005f7e390000b00ac26..."} 
[2026-08-08 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1da8798012d7c400005f7e390000b00ac26..."} 
[2026-08-08 20:22:09] local.INFO: Processing buffer {"connection_id":150762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1da8798012d7c400005f7e390000b00ac26..."} 
[2026-08-08 20:22:09] local.INFO: Packet analysis {"connection_id":150762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:22:09] local.INFO: Extracted packet for processing {"connection_id":150762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1da"} 
[2026-08-08 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":100131728,"longitude_deg":76.3117568,"latitude_deg":10.0131728,"altitude":11,"angle":172,"satellites":38,"speed":29,"hex_longitude":"2d7c4000","hex_latitude":"05f7e390","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267356928001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116298072174100480,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951607972476717056,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786200623000,"timestamp_ms":1786200623000,"timestamp_seconds":1786200623,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1da8798"} 
[2026-08-08 20:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 20:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267356928001,"66":12015,"75":206,"87":12800,"24":29,"16":116298072174100480,"45":8951607972476717056},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,87,24,16,45]} 
[2026-08-08 20:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267356928001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:22:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116298072174100480,"km_value":116298072174100.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951607972476717056,"description":"Unknown IO ID 45"} 
[2026-08-08 20:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267356928001,"power":12015,"unknown_75":206,"unknown_87":12800,"ignition":29,"odometer":null,"unknown_45":8951607972476717056}} 
[2026-08-08 20:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":150762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:22:09] local.INFO: GPS data processed {"connection_id":150762,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:22:09] local.INFO: Acknowledgment sent {"connection_id":150762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:22:09] local.INFO: TCP Data received {"connection_id":150476,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:22:09] local.INFO: Processing buffer {"connection_id":150476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:22:09] local.INFO: IMEI packet received {"connection_id":150476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":150476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:22:10] local.INFO: TCP Data received {"connection_id":150476,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:22:10] local.INFO: Processing buffer {"connection_id":150476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:22:10] local.INFO: Packet analysis {"connection_id":150476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:22:10] local.INFO: Extracted packet for processing {"connection_id":150476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 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-08-08 20: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-08-08 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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:22: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-08-08 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:22:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":150476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:22:10] local.INFO: GPS data processed {"connection_id":150476,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:22:10] local.INFO: Acknowledgment sent {"connection_id":150476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:22:41] local.INFO: TCP Data received {"connection_id":150476,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:22:41] local.INFO: Processing buffer {"connection_id":150476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:22:41] local.INFO: Packet analysis {"connection_id":150476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:22:41] local.INFO: Extracted packet for processing {"connection_id":150476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 20:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:22: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-08-08 20:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:22:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":150476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:22:41] local.INFO: GPS data processed {"connection_id":150476,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:22:41] local.INFO: Acknowledgment sent {"connection_id":150476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:22:41] local.INFO: TCP Data received {"connection_id":150765,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:22:41] local.INFO: Processing buffer {"connection_id":150765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:22:41] local.INFO: IMEI packet received {"connection_id":150765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":150765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:22:46] local.INFO: TCP Data received {"connection_id":150765,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:22:46] local.INFO: Processing buffer {"connection_id":150765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:22:46] local.INFO: IMEI packet received {"connection_id":150765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":150765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:22:47] local.INFO: TCP Data received {"connection_id":150765,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1dc1220012d7c7e8005f65b58000b00ab29..."} 
[2026-08-08 20:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1dc1220012d7c7e8005f65b58000b00ab29..."} 
[2026-08-08 20:22:47] local.INFO: Processing buffer {"connection_id":150765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1dc1220012d7c7e8005f65b58000b00ab29..."} 
[2026-08-08 20:22:47] local.INFO: Packet analysis {"connection_id":150765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:22:47] local.INFO: Extracted packet for processing {"connection_id":150765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":100031320,"longitude_deg":76.3133568,"latitude_deg":10.003132,"altitude":11,"angle":171,"satellites":41,"speed":48,"hex_longitude":"2d7c7e80","hex_latitude":"05f65b58","is_valid_coordinates":true} 
[2026-08-08 20:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267383552001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116303002796556288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969129789751271424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786200724000,"timestamp_ms":1786200724000,"timestamp_seconds":1786200724,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1dc1220"} 
[2026-08-08 20:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3319715875325476864,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3789246160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6926013754593170052,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3682959361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":283639819,"corrected_to":0} 
[2026-08-08 20:22:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":831520974,"corrected_to":0} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807153,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6283084533217820674,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4613365520693988096,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2810297844525697536,"note":"Value kept but may cause issues"} 
[2026-08-08 20:22:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,143,87,24,241,157,16,48,159,219,45,192,164,43,10,66,128,198,41,47,160,1,240,201,227,225,247,4,113,205,54,106,92,56,239,46,142,2,95,206,80,170],"length":533,"final_offset":663,"validated_count":42,"validation_warnings":[{"io_id":247,"original":283639819,"validated":0},{"io_id":205,"original":831520974,"validated":0}]} 
[2026-08-08 20:22:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081051003642839040,"timestamp_seconds":1081051003642839.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267383552001,"66":12156,"143":206,"87":12800,"24":48,"16":116303002796556288,"45":8969129789751271424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,87,24,16,45]} 
[2026-08-08 20:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267383552001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:22:47] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-08 20:22:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116303002796556288,"km_value":116303002796556.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969129789751271424,"description":"Unknown IO ID 45"} 
[2026-08-08 20:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267383552001,"power":12156,"unknown_143":206,"unknown_87":12800,"ignition":48,"odometer":null,"unknown_45":8969129789751271424}} 
[2026-08-08 20:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":150765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:22:47] local.INFO: GPS data processed {"connection_id":150765,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:22:47] local.INFO: Acknowledgment sent {"connection_id":150765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:23:04] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:23:04] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:23:04] local.INFO: IMEI packet received {"connection_id":151691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":151691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:23:09] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:23:09] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:23:09] local.INFO: IMEI packet received {"connection_id":151691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":151691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:23:10] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:23:10] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:23:10] local.INFO: Packet analysis {"connection_id":151691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:23:10] local.INFO: Extracted packet for processing {"connection_id":151691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:23: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-08-08 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:23:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":151691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:23:10] local.INFO: GPS data processed {"connection_id":151691,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:23:10] local.INFO: Acknowledgment sent {"connection_id":151691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:23:41] local.INFO: TCP Data received {"connection_id":151691,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:23:41] local.INFO: Processing buffer {"connection_id":151691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:23:41] local.INFO: Packet analysis {"connection_id":151691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:23:41] local.INFO: Extracted packet for processing {"connection_id":151691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 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-08-08 20: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-08-08 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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:23: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-08-08 20:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:23:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":151691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:23:41] local.INFO: GPS data processed {"connection_id":151691,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:23:41] local.INFO: Acknowledgment sent {"connection_id":151691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:23:41] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:41] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:41] local.INFO: IMEI packet received {"connection_id":153176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":153176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:23:42] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:42] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:42] local.INFO: IMEI packet received {"connection_id":153176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":153176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:23:46] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:46] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:23:46] local.INFO: IMEI packet received {"connection_id":153176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":153176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:23:47] local.INFO: TCP Data received {"connection_id":153176,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1dc3160012d7c84c005f63570000800ab2a..."} 
[2026-08-08 20:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1dc3160012d7c84c005f63570000800ab2a..."} 
[2026-08-08 20:23:47] local.INFO: Processing buffer {"connection_id":153176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1dc3160012d7c84c005f63570000800ab2a..."} 
[2026-08-08 20:23:47] local.INFO: Packet analysis {"connection_id":153176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:23:47] local.INFO: Extracted packet for processing {"connection_id":153176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":100021616,"longitude_deg":76.3135168,"latitude_deg":10.0021616,"altitude":8,"angle":171,"satellites":42,"speed":48,"hex_longitude":"2d7c84c0","hex_latitude":"05f63570","is_valid_coordinates":true} 
[2026-08-08 20:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267385344001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116303479537926144,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270864979968,"note":"Value kept but may cause issues"} 
[2026-08-08 20:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786200732000,"timestamp_ms":1786200732000,"timestamp_seconds":1786200732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1dc3160"} 
[2026-08-08 20:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267385344001,"66":12135,"143":206,"87":12800,"24":48,"16":116303479537926144,"45":8970748270864979968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,87,24,16,45]} 
[2026-08-08 20:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267385344001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116303479537926144,"km_value":116303479537926.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270864979968,"description":"Unknown IO ID 45"} 
[2026-08-08 20:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267385344001,"power":12135,"unknown_143":206,"unknown_87":12800,"ignition":48,"odometer":null,"unknown_45":8970748270864979968}} 
[2026-08-08 20:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":153176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:23:47] local.INFO: GPS data processed {"connection_id":153176,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:23:47] local.INFO: Acknowledgment sent {"connection_id":153176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:24:04] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:24:04] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:24:04] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:24:09] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:24:09] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:24:09] local.INFO: IMEI packet received {"connection_id":151692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":151692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:24:10] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:24:10] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:24:10] local.INFO: Packet analysis {"connection_id":151692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:24:10] local.INFO: Extracted packet for processing {"connection_id":151692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:24:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 20:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"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-08-08 20:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:24:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":151692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:24:10] local.INFO: GPS data processed {"connection_id":151692,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:24:10] local.INFO: Acknowledgment sent {"connection_id":151692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:24:31] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:24:31] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:24:31] local.INFO: IMEI packet received {"connection_id":153177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":153177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:24:38] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:24:38] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:24:38] local.INFO: IMEI packet received {"connection_id":153177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":153177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:24:38] local.INFO: TCP Data received {"connection_id":153177,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1de1d90012d7cc5c005f4b4a0000d00aa28..."} 
[2026-08-08 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1de1d90012d7cc5c005f4b4a0000d00aa28..."} 
[2026-08-08 20:24:38] local.INFO: Processing buffer {"connection_id":153177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1de1d90012d7cc5c005f4b4a0000d00aa28..."} 
[2026-08-08 20:24:38] local.INFO: Packet analysis {"connection_id":153177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:24:38] local.INFO: Extracted packet for processing {"connection_id":153177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763151808,"raw_latitude":99923104,"longitude_deg":76.3151808,"latitude_deg":9.9923104,"altitude":13,"angle":170,"satellites":40,"speed":35,"hex_longitude":"2d7cc5c0","hex_latitude":"05f4b4a0","is_valid_coordinates":true} 
[2026-08-08 20:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267416064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116308328556003328,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989114513069955072,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786200858000,"timestamp_ms":1786200858000,"timestamp_seconds":1786200858,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1de1d90"} 
[2026-08-08 20:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 20:24:38] 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-08-08 20:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267416064001,"66":12156,"26":206,"87":12800,"24":35,"16":116308328556003328,"45":8989114513069955072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,87,24,16,45]} 
[2026-08-08 20:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267416064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:24:38] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-08-08 20:24:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116308328556003328,"km_value":116308328556003.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989114513069955072,"description":"Unknown IO ID 45"} 
[2026-08-08 20:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267416064001,"power":12156,"unknown_26":206,"unknown_87":12800,"ignition":35,"odometer":null,"unknown_45":8989114513069955072}} 
[2026-08-08 20:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":153177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:24:38] local.INFO: GPS data processed {"connection_id":153177,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:24:38] local.INFO: Acknowledgment sent {"connection_id":153177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:24:41] local.INFO: TCP Data received {"connection_id":151692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:24:41] local.INFO: Processing buffer {"connection_id":151692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:24:41] local.INFO: Packet analysis {"connection_id":151692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:24:41] local.INFO: Extracted packet for processing {"connection_id":151692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:24:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 20:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"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-08-08 20:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:24:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":151692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:24:41] local.INFO: GPS data processed {"connection_id":151692,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:24:41] local.INFO: Acknowledgment sent {"connection_id":151692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:25:04] local.INFO: TCP Data received {"connection_id":150768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:25:04] local.INFO: Processing buffer {"connection_id":150768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:25:04] local.INFO: IMEI packet received {"connection_id":150768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":150768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:25:09] local.INFO: TCP Data received {"connection_id":150768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:25:09] local.INFO: Processing buffer {"connection_id":150768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:25:09] local.INFO: IMEI packet received {"connection_id":150768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":150768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:25:10] local.INFO: TCP Data received {"connection_id":150768,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:25:10] local.INFO: Processing buffer {"connection_id":150768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1db5e70012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:25:10] local.INFO: Packet analysis {"connection_id":150768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:25:10] local.INFO: Extracted packet for processing {"connection_id":150768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1db"} 
[2026-08-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267296512001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786200678000,"timestamp_ms":1786200678000,"timestamp_seconds":1786200678,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1db5e70"} 
[2026-08-08 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-08 20:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:25: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-08-08 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267296512001,"66":26006,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267296512001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267296512001,"power":26006,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":150768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:25:10] local.INFO: GPS data processed {"connection_id":150768,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:25:10] local.INFO: Acknowledgment sent {"connection_id":150768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:25:39] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:39] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:39] local.INFO: IMEI packet received {"connection_id":151694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":151694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:25:41] local.INFO: TCP Data received {"connection_id":150768,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1deaa30012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1deaa30012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:25:41] local.INFO: Processing buffer {"connection_id":150768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1deaa30012cee6fc0072e2ba8003801042b..."} 
[2026-08-08 20:25:41] local.INFO: Packet analysis {"connection_id":150768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:25:41] local.INFO: Extracted packet for processing {"connection_id":150768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466344,"longitude_deg":75.382368,"latitude_deg":12.0466344,"altitude":56,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2ba8","is_valid_coordinates":true} 
[2026-08-08 20:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267373568001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375868758624829440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195902976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786200894000,"timestamp_ms":1786200894000,"timestamp_seconds":1786200894,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1deaa30"} 
[2026-08-08 20:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20: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-08-08 20:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-08 20:25: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-08-08 20:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:25: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-08-08 20:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267373568001,"66":25897,"219":206,"83":44032,"24":0,"16":375868758624829440,"44":-1265581833195902976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-08 20:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267373568001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:25:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 20:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375868758624829440,"km_value":375868758624829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195902976,"description":"Unknown IO ID 44"} 
[2026-08-08 20:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267373568001,"power":25897,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265581833195902976}} 
[2026-08-08 20:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":150768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:25:41] local.INFO: GPS data processed {"connection_id":150768,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:25:41] local.INFO: Acknowledgment sent {"connection_id":150768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:25:41] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:41] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:41] local.INFO: IMEI packet received {"connection_id":151694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":151694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:25:46] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:46] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:25:46] local.INFO: IMEI packet received {"connection_id":151694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":151694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:25:47] local.INFO: TCP Data received {"connection_id":151694,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1de40b8012d7ccc0005f48ec0001000a927..."} 
[2026-08-08 20:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1de40b8012d7ccc0005f48ec0001000a927..."} 
[2026-08-08 20:25:47] local.INFO: Processing buffer {"connection_id":151694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1de40b8012d7ccc0005f48ec0001000a927..."} 
[2026-08-08 20:25:47] local.INFO: Packet analysis {"connection_id":151694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:25:47] local.INFO: Extracted packet for processing {"connection_id":151694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":99913408,"longitude_deg":76.3153408,"latitude_deg":9.9913408,"altitude":16,"angle":169,"satellites":39,"speed":46,"hex_longitude":"2d7ccc00","hex_latitude":"05f48ec0","is_valid_coordinates":true} 
[2026-08-08 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267419648001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116308801002405888,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990803362927910912,"note":"Value kept but may cause issues"} 
[2026-08-08 20:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786200867000,"timestamp_ms":1786200867000,"timestamp_seconds":1786200867,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1de40b8"} 
[2026-08-08 20:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267419648001,"66":12113,"178":206,"87":12800,"24":46,"16":116308801002405888,"45":8990803362927910912},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-08-08 20:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267419648001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116308801002405888,"km_value":116308801002405.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990803362927910912,"description":"Unknown IO ID 45"} 
[2026-08-08 20:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267419648001,"power":12113,"unknown_178":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8990803362927910912}} 
[2026-08-08 20:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":151694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:25:47] local.INFO: GPS data processed {"connection_id":151694,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:25:47] local.INFO: Acknowledgment sent {"connection_id":151694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:26:01] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:01] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:01] local.INFO: IMEI packet received {"connection_id":151693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":151693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:26:02] local.INFO: TCP Data received {"connection_id":151693,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:26:02] local.INFO: Processing buffer {"connection_id":151693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:26:02] local.INFO: Packet analysis {"connection_id":151693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:26:02] local.INFO: Extracted packet for processing {"connection_id":151693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267311616001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786200737000,"timestamp_ms":1786200737000,"timestamp_seconds":1786200737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1dc44e8"} 
[2026-08-08 20:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":151693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":151693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":151693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267311616001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267311616001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:26:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267311616001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":151693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:26:03] local.INFO: GPS data processed {"connection_id":151693,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:26:03] local.INFO: Acknowledgment sent {"connection_id":151693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:26:11] local.INFO: TCP Data received {"connection_id":150477,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:26:11] local.INFO: Processing buffer {"connection_id":150477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:26:11] local.INFO: IMEI packet received {"connection_id":150477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":150477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:26:24] local.INFO: TCP Data received {"connection_id":150477,"ip":"42.106.6.20","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150477,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:26:24] local.INFO: Processing buffer {"connection_id":150477,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:26:24] local.INFO: IMEI packet received {"connection_id":150477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":150477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:26:31] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:26:31] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:26:31] local.INFO: IMEI packet received {"connection_id":153178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":153178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:26:36] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:36] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:36] local.INFO: IMEI packet received {"connection_id":150478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:26:36] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:26:36] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:26:36] local.INFO: IMEI packet received {"connection_id":153178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":153178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:26:37] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1de5ff8012d7cd24005f46ba0001100aa29..."} 
[2026-08-08 20:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1de5ff8012d7cd24005f46ba0001100aa29..."} 
[2026-08-08 20:26:37] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1de5ff8012d7cd24005f46ba0001100aa29..."} 
[2026-08-08 20:26:37] local.INFO: Packet analysis {"connection_id":153178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:26:37] local.INFO: Extracted packet for processing {"connection_id":153178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1de"} 
[2026-08-08 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":99904416,"longitude_deg":76.3155008,"latitude_deg":9.9904416,"altitude":17,"angle":170,"satellites":41,"speed":42,"hex_longitude":"2d7cd240","hex_latitude":"05f46ba0","is_valid_coordinates":true} 
[2026-08-08 20:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267421952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116309247679004672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581529870336,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786200875000,"timestamp_ms":1786200875000,"timestamp_seconds":1786200875,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1de5ff8"} 
[2026-08-08 20:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 20:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267421952001,"66":12135,"178":206,"87":12800,"24":42,"16":116309247679004672,"45":8992562581529870336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,87,24,16,45]} 
[2026-08-08 20:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267421952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:26:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-08 20:26:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-08-08 20:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116309247679004672,"km_value":116309247679004.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581529870336,"description":"Unknown IO ID 45"} 
[2026-08-08 20:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267421952001,"power":12135,"unknown_178":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8992562581529870336}} 
[2026-08-08 20:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":153178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:26:37] local.INFO: GPS data processed {"connection_id":153178,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:26:37] local.INFO: Acknowledgment sent {"connection_id":153178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:26:41] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:41] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:26:41] local.INFO: IMEI packet received {"connection_id":150478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":150478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:26:43] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:26:43] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:26:43] local.INFO: Packet analysis {"connection_id":150478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:26:43] local.INFO: Extracted packet for processing {"connection_id":150478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267311616001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786200737000,"timestamp_ms":1786200737000,"timestamp_seconds":1786200737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1dc44e8"} 
[2026-08-08 20:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267311616001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267311616001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:26:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267311616001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":150478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:26:43] local.INFO: GPS data processed {"connection_id":150478,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:26:43] local.INFO: Acknowledgment sent {"connection_id":150478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:27:10] local.INFO: TCP Data received {"connection_id":153178,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e04c28012d7d168005f2c1a0001000a929..."} 
[2026-08-08 20:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e04c28012d7d168005f2c1a0001000a929..."} 
[2026-08-08 20:27:10] local.INFO: Processing buffer {"connection_id":153178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e04c28012d7d168005f2c1a0001000a929..."} 
[2026-08-08 20:27:10] local.INFO: Packet analysis {"connection_id":153178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:27:10] local.INFO: Extracted packet for processing {"connection_id":153178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":99795360,"longitude_deg":76.317248,"latitude_deg":9.979536,"altitude":16,"angle":169,"satellites":41,"speed":18,"hex_longitude":"2d7d1680","hex_latitude":"05f2c1a0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267452928001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116314603503222784,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913986150770688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201001000,"timestamp_ms":1786201001000,"timestamp_seconds":1786201001,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e04c28"} 
[2026-08-08 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-08-08 20:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 20:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267452928001,"66":12178,"249":206,"87":13056,"24":18,"16":116314603503222784,"45":9011913986150770688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-08-08 20:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267452928001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:27:10] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-08 20:27:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-08-08 20:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116314603503222784,"km_value":116314603503222.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913986150770688,"description":"Unknown IO ID 45"} 
[2026-08-08 20:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267452928001,"power":12178,"unknown_249":206,"unknown_87":13056,"ignition":18,"odometer":null,"unknown_45":9011913986150770688}} 
[2026-08-08 20:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":153178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:27:10] local.INFO: GPS data processed {"connection_id":153178,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:27:10] local.INFO: Acknowledgment sent {"connection_id":153178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:27:14] local.INFO: TCP Data received {"connection_id":150478,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:27:14] local.INFO: Processing buffer {"connection_id":150478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:27:14] local.INFO: Packet analysis {"connection_id":150478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:27:14] local.INFO: Extracted packet for processing {"connection_id":150478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267311616001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786200737000,"timestamp_ms":1786200737000,"timestamp_seconds":1786200737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1dc44e8"} 
[2026-08-08 20:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267311616001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267311616001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:27:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267311616001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":150478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:27:15] local.INFO: GPS data processed {"connection_id":150478,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:27:15] local.INFO: Acknowledgment sent {"connection_id":150478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:27:31] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:27:31] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:27:31] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:27:36] local.INFO: TCP Data received {"connection_id":150769,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:27:36] local.INFO: Processing buffer {"connection_id":150769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:27:36] local.INFO: IMEI packet received {"connection_id":150769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:27:39] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:27:39] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:27:39] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:27:41] local.INFO: TCP Data received {"connection_id":150769,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:27:41] local.INFO: Processing buffer {"connection_id":150769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:27:41] local.INFO: IMEI packet received {"connection_id":150769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":150769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:27:42] local.INFO: TCP Data received {"connection_id":150769,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:27:42] local.INFO: Processing buffer {"connection_id":150769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1dc44e8012d196a80071fef680042011724..."} 
[2026-08-08 20:27:42] local.INFO: Packet analysis {"connection_id":150769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:27:42] local.INFO: Extracted packet for processing {"connection_id":150769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1dc"} 
[2026-08-08 20:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267311616001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786200737000,"timestamp_ms":1786200737000,"timestamp_seconds":1786200737,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1dc44e8"} 
[2026-08-08 20:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:27: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-08-08 20:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267311616001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267311616001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:27:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267311616001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":150769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:27:43] local.INFO: GPS data processed {"connection_id":150769,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:27:43] local.INFO: Acknowledgment sent {"connection_id":150769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:28:03] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:28:03] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:28:03] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:28:06] local.INFO: TCP Data received {"connection_id":151696,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:28:06] local.INFO: Processing buffer {"connection_id":151696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:28:06] local.INFO: IMEI packet received {"connection_id":151696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":151696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:28:14] local.INFO: TCP Data received {"connection_id":150769,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:28:14] local.INFO: Processing buffer {"connection_id":150769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:28:14] local.INFO: Packet analysis {"connection_id":150769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:28:14] local.INFO: Extracted packet for processing {"connection_id":150769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:28:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:28:14] local.INFO: GPS data processed {"connection_id":150769,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:28:14] local.INFO: Acknowledgment sent {"connection_id":150769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:28:36] local.INFO: TCP Data received {"connection_id":150770,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:28:36] local.INFO: Processing buffer {"connection_id":150770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:28:36] local.INFO: IMEI packet received {"connection_id":150770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":150770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:28:41] local.INFO: TCP Data received {"connection_id":150770,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:28:41] local.INFO: Processing buffer {"connection_id":150770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:28:41] local.INFO: IMEI packet received {"connection_id":150770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":150770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:28:42] local.INFO: TCP Data received {"connection_id":150770,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:28:42] local.INFO: Processing buffer {"connection_id":150770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:28:42] local.INFO: Packet analysis {"connection_id":150770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:28:42] local.INFO: Extracted packet for processing {"connection_id":150770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:28: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-08-08 20:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 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-08-08 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:28: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-08-08 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-08-08 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-08-08 20:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:28:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":150770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:28:42] local.INFO: GPS data processed {"connection_id":150770,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:28:42] local.INFO: Acknowledgment sent {"connection_id":150770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:29:14] local.INFO: TCP Data received {"connection_id":150770,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:29:14] local.INFO: Processing buffer {"connection_id":150770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:29:14] local.INFO: Packet analysis {"connection_id":150770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:29:14] local.INFO: Extracted packet for processing {"connection_id":150770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:29:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:29:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":150770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:29:14] local.INFO: GPS data processed {"connection_id":150770,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:29:14] local.INFO: Acknowledgment sent {"connection_id":150770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:29:36] local.INFO: TCP Data received {"connection_id":153180,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:29:36] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:29:36] local.INFO: IMEI packet received {"connection_id":153180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":153180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:29:41] local.INFO: TCP Data received {"connection_id":153180,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:29:41] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:29:41] local.INFO: IMEI packet received {"connection_id":153180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":153180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:29:43] local.INFO: TCP Data received {"connection_id":153180,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:29:43] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:29:43] local.INFO: Packet analysis {"connection_id":153180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:29:43] local.INFO: Extracted packet for processing {"connection_id":153180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:29:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":153180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:29:43] local.INFO: GPS data processed {"connection_id":153180,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:29:43] local.INFO: Acknowledgment sent {"connection_id":153180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:30:14] local.INFO: TCP Data received {"connection_id":153180,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:30:14] local.INFO: Processing buffer {"connection_id":153180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:30:14] local.INFO: Packet analysis {"connection_id":153180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:30:14] local.INFO: Extracted packet for processing {"connection_id":153180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:30:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":153180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:30:14] local.INFO: GPS data processed {"connection_id":153180,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:30:14] local.INFO: Acknowledgment sent {"connection_id":153180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:30:36] local.INFO: TCP Data received {"connection_id":150482,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:30:36] local.INFO: Processing buffer {"connection_id":150482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:30:36] local.INFO: IMEI packet received {"connection_id":150482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":150482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:30:41] local.INFO: TCP Data received {"connection_id":150482,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:30:41] local.INFO: Processing buffer {"connection_id":150482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:30:41] local.INFO: IMEI packet received {"connection_id":150482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":150482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:30:43] local.INFO: TCP Data received {"connection_id":150482,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:30:43] local.INFO: Processing buffer {"connection_id":150482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:30:43] local.INFO: Packet analysis {"connection_id":150482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:30:43] local.INFO: Extracted packet for processing {"connection_id":150482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:30:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":150482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:30:43] local.INFO: GPS data processed {"connection_id":150482,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:30:43] local.INFO: Acknowledgment sent {"connection_id":150482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:31:14] local.INFO: TCP Data received {"connection_id":150482,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:31:14] local.INFO: Processing buffer {"connection_id":150482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:31:14] local.INFO: Packet analysis {"connection_id":150482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:31:14] local.INFO: Extracted packet for processing {"connection_id":150482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:31:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:31:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":150482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:31:15] local.INFO: GPS data processed {"connection_id":150482,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:31:15] local.INFO: Acknowledgment sent {"connection_id":150482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:31:30] local.INFO: TCP Data received {"connection_id":150773,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:31:30] local.INFO: Processing buffer {"connection_id":150773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:31:30] local.INFO: IMEI packet received {"connection_id":150773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":150773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:31:36] local.INFO: TCP Data received {"connection_id":151698,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:31:36] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:31:36] local.INFO: IMEI packet received {"connection_id":151698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":151698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:31:41] local.INFO: TCP Data received {"connection_id":151698,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:31:41] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:31:41] local.INFO: IMEI packet received {"connection_id":151698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":151698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:31:42] local.INFO: TCP Data received {"connection_id":150773,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e3a788012cedd140072d15b8004100ea2c..."} 
[2026-08-08 20:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e3a788012cedd140072d15b8004100ea2c..."} 
[2026-08-08 20:31:42] local.INFO: Processing buffer {"connection_id":150773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e3a788012cedd140072d15b8004100ea2c..."} 
[2026-08-08 20:31:42] local.INFO: Packet analysis {"connection_id":150773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e3"} 
[2026-08-08 20:31:42] local.INFO: Extracted packet for processing {"connection_id":150773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e3"} 
[2026-08-08 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753783104,"raw_latitude":120395192,"longitude_deg":75.3783104,"latitude_deg":12.0395192,"altitude":65,"angle":234,"satellites":44,"speed":7,"hex_longitude":"2cedd140","hex_latitude":"072d15b8","is_valid_coordinates":true} 
[2026-08-08 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267507712001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375873873930878976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1304284642510428160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201221000,"timestamp_ms":1786201221000,"timestamp_seconds":1786201221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e3a788"} 
[2026-08-08 20:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 20:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:31: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-08-08 20:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267507712001,"66":27332,"229":206,"83":44032,"24":7,"16":375873873930878976,"44":-1304284642510428160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267507712001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375873873930878976,"km_value":375873873930879.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1304284642510428160,"description":"Unknown IO ID 44"} 
[2026-08-08 20:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267507712001,"power":27332,"unknown_229":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1304284642510428160}} 
[2026-08-08 20:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":150773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:31:42] local.INFO: GPS data processed {"connection_id":150773,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:31:42] local.INFO: Acknowledgment sent {"connection_id":150773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:31:42] local.INFO: TCP Data received {"connection_id":151698,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:31:42] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:31:42] local.INFO: Packet analysis {"connection_id":151698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:31:42] local.INFO: Extracted packet for processing {"connection_id":151698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:31: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-08-08 20:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":151698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:31:43] local.INFO: GPS data processed {"connection_id":151698,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:31:43] local.INFO: Acknowledgment sent {"connection_id":151698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:32:09] local.INFO: TCP Data received {"connection_id":150483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:32:09] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:32:09] local.INFO: IMEI packet received {"connection_id":150483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":150483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:32:14] local.INFO: TCP Data received {"connection_id":151698,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:14] local.INFO: Processing buffer {"connection_id":151698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:14] local.INFO: Packet analysis {"connection_id":151698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:32:14] local.INFO: Extracted packet for processing {"connection_id":151698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:32:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":151698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:32:14] local.INFO: GPS data processed {"connection_id":151698,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:32:14] local.INFO: Acknowledgment sent {"connection_id":151698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:32:14] local.INFO: TCP Data received {"connection_id":150483,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:32:14] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:32:14] local.INFO: IMEI packet received {"connection_id":150483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":150483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:32:15] local.INFO: TCP Data received {"connection_id":150483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e48e00012ced8300072d2498004000d82b..."} 
[2026-08-08 20:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e48e00012ced8300072d2498004000d82b..."} 
[2026-08-08 20:32:15] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e48e00012ced8300072d2498004000d82b..."} 
[2026-08-08 20:32:15] local.INFO: Packet analysis {"connection_id":150483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:32:15] local.INFO: Extracted packet for processing {"connection_id":150483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":753763072,"raw_latitude":120399000,"longitude_deg":75.3763072,"latitude_deg":12.0399,"altitude":64,"angle":216,"satellites":43,"speed":14,"hex_longitude":"2ced8300","hex_latitude":"072d2498","is_valid_coordinates":true} 
[2026-08-08 20:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267527424001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375874900428062720,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1331939558972606464,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786201280000,"timestamp_ms":1786201280000,"timestamp_seconds":1786201280,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e48e00"} 
[2026-08-08 20:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:32: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-08-08 20:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:32: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-08-08 20:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267527424001,"66":27365,"101":206,"83":44032,"24":14,"16":375874900428062720,"44":-1331939558972606464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267527424001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:32:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375874900428062720,"km_value":375874900428062.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1331939558972606464,"description":"Unknown IO ID 44"} 
[2026-08-08 20:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267527424001,"power":27365,"unknown_101":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1331939558972606464}} 
[2026-08-08 20:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":150483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:32:15] local.INFO: GPS data processed {"connection_id":150483,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:32:15] local.INFO: Acknowledgment sent {"connection_id":150483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:32:16] local.INFO: TCP Data received {"connection_id":150483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e491e8012ced8240072d2368004000cc2b..."} 
[2026-08-08 20:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e491e8012ced8240072d2368004000cc2b..."} 
[2026-08-08 20:32:16] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e491e8012ced8240072d2368004000cc2b..."} 
[2026-08-08 20:32:16] local.INFO: Packet analysis {"connection_id":150483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:32:16] local.INFO: Extracted packet for processing {"connection_id":150483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:32:16] local.INFO: GPS Element Parsed {"raw_longitude":753762880,"raw_latitude":120398696,"longitude_deg":75.376288,"latitude_deg":12.0398696,"altitude":64,"angle":204,"satellites":43,"speed":15,"hex_longitude":"2ced8240","hex_latitude":"072d2368","is_valid_coordinates":true} 
[2026-08-08 20:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267527680001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375874917607931904,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332221033949390848,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786201281000,"timestamp_ms":1786201281000,"timestamp_seconds":1786201281,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e491e8"} 
[2026-08-08 20:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:32: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-08-08 20:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267527680001,"66":27104,"101":206,"83":44032,"24":15,"16":375874917607931904,"44":-1332221033949390848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267527680001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:32:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375874917607931904,"km_value":375874917607931.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:32:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332221033949390848,"description":"Unknown IO ID 44"} 
[2026-08-08 20:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267527680001,"power":27104,"unknown_101":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1332221033949390848}} 
[2026-08-08 20:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":150483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:32:16] local.INFO: GPS data processed {"connection_id":150483,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:32:16] local.INFO: Acknowledgment sent {"connection_id":150483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:32:41] local.INFO: TCP Data received {"connection_id":150774,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:32:41] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:32:41] local.INFO: IMEI packet received {"connection_id":150774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":150774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:32:46] local.INFO: TCP Data received {"connection_id":150774,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:32:46] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:32:46] local.INFO: IMEI packet received {"connection_id":150774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":150774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:32:47] local.INFO: TCP Data received {"connection_id":150483,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e4cc80012ced73c0072d0248003e00cd2a..."} 
[2026-08-08 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e4cc80012ced73c0072d0248003e00cd2a..."} 
[2026-08-08 20:32:47] local.INFO: Processing buffer {"connection_id":150483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e4cc80012ced73c0072d0248003e00cd2a..."} 
[2026-08-08 20:32:47] local.INFO: Packet analysis {"connection_id":150483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:32:47] local.INFO: Extracted packet for processing {"connection_id":150483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":753759168,"raw_latitude":120390216,"longitude_deg":75.3759168,"latitude_deg":12.0390216,"altitude":62,"angle":205,"satellites":42,"speed":24,"hex_longitude":"2ced73c0","hex_latitude":"072d0248","is_valid_coordinates":true} 
[2026-08-08 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267527936001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375875364284530688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332432140182001664,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201296000,"timestamp_ms":1786201296000,"timestamp_seconds":1786201296,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e4cc80"} 
[2026-08-08 20:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:32: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-08-08 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267527936001,"66":27245,"101":206,"83":44032,"24":24,"16":375875364284530688,"44":-1332432140182001664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267527936001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375875364284530688,"km_value":375875364284530.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332432140182001664,"description":"Unknown IO ID 44"} 
[2026-08-08 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267527936001,"power":27245,"unknown_101":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1332432140182001664}} 
[2026-08-08 20:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":150483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:32:47] local.INFO: GPS data processed {"connection_id":150483,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:32:47] local.INFO: Acknowledgment sent {"connection_id":150483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:32:47] local.INFO: TCP Data received {"connection_id":150774,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:47] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:47] local.INFO: Packet analysis {"connection_id":150774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:32:47] local.INFO: Extracted packet for processing {"connection_id":150774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":150774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:32:47] local.INFO: GPS data processed {"connection_id":150774,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:32:47] local.INFO: Acknowledgment sent {"connection_id":150774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:32:52] local.INFO: TCP Data received {"connection_id":150774,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:52] local.INFO: Processing buffer {"connection_id":150774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e0dcb0012d196a80071fef680042011716..."} 
[2026-08-08 20:32:52] local.INFO: Packet analysis {"connection_id":150774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:32:52] local.INFO: Extracted packet for processing {"connection_id":150774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e0"} 
[2026-08-08 20:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":22,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267388672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786201038000,"timestamp_ms":1786201038000,"timestamp_seconds":1786201038,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e0dcb0"} 
[2026-08-08 20:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267388672001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267388672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:32:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:32:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267388672001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":150774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:32:52] local.INFO: GPS data processed {"connection_id":150774,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:32:52] local.INFO: Acknowledgment sent {"connection_id":150774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:33:04] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:33:04] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:33:04] local.INFO: IMEI packet received {"connection_id":150775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":150775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:33:09] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:33:09] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:33:09] local.INFO: IMEI packet received {"connection_id":150775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":150775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:33:11] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e4efa8012ced6b40072cedc0003c00b42e..."} 
[2026-08-08 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e4efa8012ced6b40072cedc0003c00b42e..."} 
[2026-08-08 20:33:11] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e4efa8012ced6b40072cedc0003c00b42e..."} 
[2026-08-08 20:33:11] local.INFO: Packet analysis {"connection_id":150775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:33:11] local.INFO: Extracted packet for processing {"connection_id":150775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":753756992,"raw_latitude":120384960,"longitude_deg":75.3756992,"latitude_deg":12.038496,"altitude":60,"angle":180,"satellites":46,"speed":19,"hex_longitude":"2ced6b40","hex_latitude":"072cedc0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267531776001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375875639162437632,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1336513527346477056,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786201305000,"timestamp_ms":1786201305000,"timestamp_seconds":1786201305,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e4efa8"} 
[2026-08-08 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-08-08 20:33: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-08-08 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 20:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267531776001,"66":27017,"101":206,"83":44032,"24":19,"16":375875639162437632,"44":-1336513527346477056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267531776001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:33:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375875639162437632,"km_value":375875639162437.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1336513527346477056,"description":"Unknown IO ID 44"} 
[2026-08-08 20:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267531776001,"power":27017,"unknown_101":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1336513527346477056}} 
[2026-08-08 20:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":150775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:33:11] local.INFO: GPS data processed {"connection_id":150775,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:33:11] local.INFO: Acknowledgment sent {"connection_id":150775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:33:33] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:33] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:33] local.INFO: IMEI packet received {"connection_id":150776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":150776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:33:36] local.INFO: TCP Data received {"connection_id":151699,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:33:36] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:33:36] local.INFO: IMEI packet received {"connection_id":151699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":151699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:33:37] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:37] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:37] local.INFO: IMEI packet received {"connection_id":150776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":150776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:33:41] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:41] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:33:41] local.INFO: IMEI packet received {"connection_id":150776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":150776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:33:41] local.INFO: TCP Data received {"connection_id":151699,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:33:41] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:33:41] local.INFO: IMEI packet received {"connection_id":151699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:33:42] local.INFO: TCP Data received {"connection_id":150775,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e4f390012ced6b40072cebf0003c00a22d..."} 
[2026-08-08 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e4f390012ced6b40072cebf0003c00a22d..."} 
[2026-08-08 20:33:42] local.INFO: Processing buffer {"connection_id":150775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e4f390012ced6b40072cebf0003c00a22d..."} 
[2026-08-08 20:33:42] local.INFO: Packet analysis {"connection_id":150775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:33:42] local.INFO: Extracted packet for processing {"connection_id":150775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":753756992,"raw_latitude":120384496,"longitude_deg":75.3756992,"latitude_deg":12.0384496,"altitude":60,"angle":162,"satellites":45,"speed":17,"hex_longitude":"2ced6b40","hex_latitude":"072cebf0","is_valid_coordinates":true} 
[2026-08-08 20:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267534080001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375875664932241408,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1338906064649863168,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201306000,"timestamp_ms":1786201306000,"timestamp_seconds":1786201306,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e4f390"} 
[2026-08-08 20:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-08 20:33:42] 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-08-08 20:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267534080001,"66":27017,"101":206,"83":44032,"24":17,"16":375875664932241408,"44":-1338906064649863168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267534080001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375875664932241408,"km_value":375875664932241.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1338906064649863168,"description":"Unknown IO ID 44"} 
[2026-08-08 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267534080001,"power":27017,"unknown_101":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1338906064649863168}} 
[2026-08-08 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":150775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:33:42] local.INFO: GPS data processed {"connection_id":150775,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:33:42] local.INFO: Acknowledgment sent {"connection_id":150775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:33:42] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e50330012d7d43c005ee6960000500b42a..."} 
[2026-08-08 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e50330012d7d43c005ee6960000500b42a..."} 
[2026-08-08 20:33:42] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e50330012d7d43c005ee6960000500b42a..."} 
[2026-08-08 20:33:42] local.INFO: Packet analysis {"connection_id":150776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:33:42] local.INFO: Extracted packet for processing {"connection_id":150776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":99510624,"longitude_deg":76.3184064,"latitude_deg":9.9510624,"altitude":5,"angle":180,"satellites":42,"speed":43,"hex_longitude":"2d7d43c0","hex_latitude":"05ee6960","is_valid_coordinates":true} 
[2026-08-08 20:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267533056001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116328441887850496,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209890226176,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201310000,"timestamp_ms":1786201310000,"timestamp_seconds":1786201310,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e50330"} 
[2026-08-08 20:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3789798160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3825551361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":728563918,"corrected_to":0} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624811,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,71,159,188,45,179,10,42,66,153,64,215,92,70,83,1,240,124,227,225,239,4,113,205,21,222,73,216,41,47,109,2],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":728563918,"validated":0}]} 
[2026-08-08 20:33:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504601246454775808,"timestamp_seconds":504601246454775.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267533056001,"66":12232,"157":206,"87":11264,"24":43,"16":116328441887850496,"45":9026269209890226176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267533056001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-08 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116328441887850496,"km_value":116328441887850.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209890226176,"description":"Unknown IO ID 45"} 
[2026-08-08 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267533056001,"power":12232,"unknown_157":206,"unknown_87":11264,"ignition":43,"odometer":null,"unknown_45":9026269209890226176}} 
[2026-08-08 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":150776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:33:42] local.INFO: GPS data processed {"connection_id":150776,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:33:42] local.INFO: Acknowledgment sent {"connection_id":150776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:33:42] local.INFO: TCP Data received {"connection_id":151699,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:33:42] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:33:42] local.INFO: Packet analysis {"connection_id":151699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:33:42] local.INFO: Extracted packet for processing {"connection_id":151699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33: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-08-08 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:33: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-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:33: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-08-08 20:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":151699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:33:42] local.INFO: GPS data processed {"connection_id":151699,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:33:42] local.INFO: Acknowledgment sent {"connection_id":151699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:33:45] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e52270012d7d430005ee4578000400b428..."} 
[2026-08-08 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e52270012d7d430005ee4578000400b428..."} 
[2026-08-08 20:33:45] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e52270012d7d430005ee4578000400b428..."} 
[2026-08-08 20:33:45] local.INFO: Packet analysis {"connection_id":150776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:33:45] local.INFO: Extracted packet for processing {"connection_id":150776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":99501432,"longitude_deg":76.3183872,"latitude_deg":9.9501432,"altitude":4,"angle":180,"satellites":40,"speed":44,"hex_longitude":"2d7d4300","hex_latitude":"05ee4578","is_valid_coordinates":true} 
[2026-08-08 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267535360001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116328888564449280,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209887858688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:33: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-08-08 20:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786201318000,"timestamp_ms":1786201318000,"timestamp_seconds":1786201318,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e52270"} 
[2026-08-08 20:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 20:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267535360001,"66":12037,"157":206,"87":11264,"24":44,"16":116328888564449280,"45":9026269209887858688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 20:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267535360001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:33:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 20:33:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-08-08 20:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116328888564449280,"km_value":116328888564449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209887858688,"description":"Unknown IO ID 45"} 
[2026-08-08 20:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267535360001,"power":12037,"unknown_157":206,"unknown_87":11264,"ignition":44,"odometer":null,"unknown_45":9026269209887858688}} 
[2026-08-08 20:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":150776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:33:45] local.INFO: GPS data processed {"connection_id":150776,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:33:45] local.INFO: Acknowledgment sent {"connection_id":150776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:03] local.INFO: TCP Data received {"connection_id":150484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:03] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:03] local.INFO: IMEI packet received {"connection_id":150484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":150484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:34:04] local.INFO: TCP Data received {"connection_id":150484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:04] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:04] local.INFO: IMEI packet received {"connection_id":150484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":150484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:34:09] local.INFO: TCP Data received {"connection_id":150484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:09] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:34:09] local.INFO: IMEI packet received {"connection_id":150484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":150484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:34:10] local.INFO: TCP Data received {"connection_id":150484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e4f778012ced6c40072cea70003c008b2d..."} 
[2026-08-08 20:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e4f778012ced6c40072cea70003c008b2d..."} 
[2026-08-08 20:34:10] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e4f778012ced6c40072cea70003c008b2d..."} 
[2026-08-08 20:34:10] local.INFO: Packet analysis {"connection_id":150484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:34:10] local.INFO: Extracted packet for processing {"connection_id":150484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e4"} 
[2026-08-08 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":753757248,"raw_latitude":120384112,"longitude_deg":75.3757248,"latitude_deg":12.0384112,"altitude":60,"angle":139,"satellites":45,"speed":16,"hex_longitude":"2ced6c40","hex_latitude":"072cea70","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267534336001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375875686407077888,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1338906064649981952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201307000,"timestamp_ms":1786201307000,"timestamp_seconds":1786201307,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e4f778"} 
[2026-08-08 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-08-08 20:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-08 20:34:10] 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-08-08 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-08-08 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-08-08 20:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:34: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-08-08 20:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267534336001,"66":27365,"101":206,"83":44032,"24":16,"16":375875686407077888,"44":-1338906064649981952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267534336001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375875686407077888,"km_value":375875686407077.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1338906064649981952,"description":"Unknown IO ID 44"} 
[2026-08-08 20:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267534336001,"power":27365,"unknown_101":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1338906064649981952}} 
[2026-08-08 20:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":150484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:10] local.INFO: GPS data processed {"connection_id":150484,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:10] local.INFO: Acknowledgment sent {"connection_id":150484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:14] local.INFO: TCP Data received {"connection_id":151699,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:14] local.INFO: Processing buffer {"connection_id":151699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:14] local.INFO: Packet analysis {"connection_id":151699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:34:14] local.INFO: Extracted packet for processing {"connection_id":151699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":151699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:15] local.INFO: GPS data processed {"connection_id":151699,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:15] local.INFO: Acknowledgment sent {"connection_id":151699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:17] local.INFO: TCP Data received {"connection_id":150776,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e6d408012d7d3c8005ecd318000300a529..."} 
[2026-08-08 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e6d408012d7d3c8005ecd318000300a529..."} 
[2026-08-08 20:34:17] local.INFO: Processing buffer {"connection_id":150776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e6d408012d7d3c8005ecd318000300a529..."} 
[2026-08-08 20:34:17] local.INFO: Packet analysis {"connection_id":150776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e6"} 
[2026-08-08 20:34:17] local.INFO: Extracted packet for processing {"connection_id":150776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e6"} 
[2026-08-08 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":99406616,"longitude_deg":76.3182208,"latitude_deg":9.9406616,"altitude":3,"angle":165,"satellites":41,"speed":8,"hex_longitude":"2d7d3c80","hex_latitude":"05ecd318","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267564288001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116333488474423296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516280459264,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786201429000,"timestamp_ms":1786201429000,"timestamp_seconds":1786201429,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e6d408"} 
[2026-08-08 20:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 20:34:17] 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-08-08 20: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-08-08 20:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267564288001,"66":11308,"255":206,"87":13824,"24":8,"16":116333488474423296,"45":9024228516280459264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 20:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267564288001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:17] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 20:34:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116333488474423296,"km_value":116333488474423.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516280459264,"description":"Unknown IO ID 45"} 
[2026-08-08 20:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267564288001,"power":11308,"unknown_255":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9024228516280459264}} 
[2026-08-08 20:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":150776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:17] local.INFO: GPS data processed {"connection_id":150776,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:17] local.INFO: Acknowledgment sent {"connection_id":150776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:38] local.INFO: TCP Data received {"connection_id":150485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:38] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:38] local.INFO: IMEI packet received {"connection_id":150485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":150485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:34:41] local.INFO: TCP Data received {"connection_id":150485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:41] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:41] local.INFO: IMEI packet received {"connection_id":150485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":150485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:34:41] local.INFO: TCP Data received {"connection_id":150777,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:34:41] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:34:41] local.INFO: IMEI packet received {"connection_id":150777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":150777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:34:41] local.INFO: TCP Data received {"connection_id":150484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e6f730012ced59c0072cc000003a00dd30..."} 
[2026-08-08 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e6f730012ced59c0072cc000003a00dd30..."} 
[2026-08-08 20:34:41] local.INFO: Processing buffer {"connection_id":150484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e6f730012ced59c0072cc000003a00dd30..."} 
[2026-08-08 20:34:41] local.INFO: Packet analysis {"connection_id":150484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e6"} 
[2026-08-08 20:34:41] local.INFO: Extracted packet for processing {"connection_id":150484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e6"} 
[2026-08-08 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753752512,"raw_latitude":120373248,"longitude_deg":75.3752512,"latitude_deg":12.0373248,"altitude":58,"angle":221,"satellites":48,"speed":8,"hex_longitude":"2ced59c0","hex_latitude":"072cc000","is_valid_coordinates":true} 
[2026-08-08 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267567104001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375876760148901888,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1343409664280160256,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786201438000,"timestamp_ms":1786201438000,"timestamp_seconds":1786201438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e6f730"} 
[2026-08-08 20:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 20:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:34: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-08-08 20:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267567104001,"66":27343,"101":206,"83":44032,"24":8,"16":375876760148901888,"44":-1343409664280160256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-08-08 20:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267567104001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-08 20:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375876760148901888,"km_value":375876760148901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1343409664280160256,"description":"Unknown IO ID 44"} 
[2026-08-08 20:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267567104001,"power":27343,"unknown_101":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1343409664280160256}} 
[2026-08-08 20:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":150484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:41] local.INFO: GPS data processed {"connection_id":150484,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:41] local.INFO: Acknowledgment sent {"connection_id":150484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:46] local.INFO: TCP Data received {"connection_id":150777,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:34:46] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:34:46] local.INFO: IMEI packet received {"connection_id":150777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":150777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:34:47] local.INFO: TCP Data received {"connection_id":150485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:47] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:34:47] local.INFO: IMEI packet received {"connection_id":150485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":150485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:34:47] local.INFO: TCP Data received {"connection_id":150777,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:47] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:47] local.INFO: Packet analysis {"connection_id":150777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:34:47] local.INFO: Extracted packet for processing {"connection_id":150777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:34: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-08-08 20:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":150777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:48] local.INFO: GPS data processed {"connection_id":150777,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:48] local.INFO: Acknowledgment sent {"connection_id":150777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:48] local.INFO: TCP Data received {"connection_id":150485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e6ef60012d7d3e4005eccbf0000400b429..."} 
[2026-08-08 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e6ef60012d7d3e4005eccbf0000400b429..."} 
[2026-08-08 20:34:48] local.INFO: Processing buffer {"connection_id":150485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e6ef60012d7d3e4005eccbf0000400b429..."} 
[2026-08-08 20:34:48] local.INFO: Packet analysis {"connection_id":150485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e6"} 
[2026-08-08 20:34:48] local.INFO: Extracted packet for processing {"connection_id":150485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e6"} 
[2026-08-08 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":99404784,"longitude_deg":76.3182656,"latitude_deg":9.9404784,"altitude":4,"angle":180,"satellites":41,"speed":18,"hex_longitude":"2d7d3e40","hex_latitude":"05eccbf0","is_valid_coordinates":true} 
[2026-08-08 20:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267565824001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116333582963703808,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228516280080384,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786201436000,"timestamp_ms":1786201436000,"timestamp_seconds":1786201436,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e6ef60"} 
[2026-08-08 20:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 20:34:48] 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-08-08 20:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267565824001,"66":12156,"255":206,"87":13824,"24":18,"16":116333582963703808,"45":9024228516280080384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 20:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267565824001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:48] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 20:34:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116333582963703808,"km_value":116333582963703.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228516280080384,"description":"Unknown IO ID 45"} 
[2026-08-08 20:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267565824001,"power":12156,"unknown_255":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9024228516280080384}} 
[2026-08-08 20:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":150485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:48] local.INFO: GPS data processed {"connection_id":150485,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:48] local.INFO: Acknowledgment sent {"connection_id":150485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:34:52] local.INFO: TCP Data received {"connection_id":150777,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:52] local.INFO: Processing buffer {"connection_id":150777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:34:52] local.INFO: Packet analysis {"connection_id":150777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:34:52] local.INFO: Extracted packet for processing {"connection_id":150777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:34:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:34:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":150777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:34:52] local.INFO: GPS data processed {"connection_id":150777,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:34:52] local.INFO: Acknowledgment sent {"connection_id":150777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:35:03] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:03] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:03] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:35:04] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:04] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:04] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:05] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:05] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:05] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:06] local.INFO: TCP Data received {"connection_id":151700,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:06] local.INFO: Processing buffer {"connection_id":151700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:35:06] local.INFO: IMEI packet received {"connection_id":151700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":151700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:32] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:32] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:32] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:35:32] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:32] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:32] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:33] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:33] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:33] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:34] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:34] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:35:34] local.INFO: IMEI packet received {"connection_id":151701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":151701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:37] local.INFO: TCP Data received {"connection_id":150778,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:35:37] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:35:37] local.INFO: IMEI packet received {"connection_id":150778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":150778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:35:41] local.INFO: TCP Data received {"connection_id":150778,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:35:41] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:35:41] local.INFO: IMEI packet received {"connection_id":150778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":150778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:35:42] local.INFO: TCP Data received {"connection_id":150778,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:35:42] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:35:42] local.INFO: Packet analysis {"connection_id":150778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:35:42] local.INFO: Extracted packet for processing {"connection_id":150778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:35: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-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:35: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-08-08 20:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:35:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":150778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:35:42] local.INFO: GPS data processed {"connection_id":150778,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:35:42] local.INFO: Acknowledgment sent {"connection_id":150778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:35:47] local.INFO: TCP Data received {"connection_id":150778,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:35:47] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:35:47] local.INFO: Packet analysis {"connection_id":150778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:35:47] local.INFO: Extracted packet for processing {"connection_id":150778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:35: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-08-08 20:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:35:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":150778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:35:47] local.INFO: GPS data processed {"connection_id":150778,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:35:47] local.INFO: Acknowledgment sent {"connection_id":150778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:35:56] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e72610012d7d3e4005eca858000700b227..."} 
[2026-08-08 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e72610012d7d3e4005eca858000700b227..."} 
[2026-08-08 20:35:56] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e72610012d7d3e4005eca858000700b227..."} 
[2026-08-08 20:35:56] local.INFO: Packet analysis {"connection_id":151701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:35:56] local.INFO: Extracted packet for processing {"connection_id":151701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":99395672,"longitude_deg":76.3182656,"latitude_deg":9.9395672,"altitude":7,"angle":178,"satellites":39,"speed":28,"hex_longitude":"2d7d3e40","hex_latitude":"05eca858","is_valid_coordinates":true} 
[2026-08-08 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267567616001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116334025345335296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097488855040,"note":"Value kept but may cause issues"} 
[2026-08-08 20:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786201450000,"timestamp_ms":1786201450000,"timestamp_seconds":1786201450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e72610"} 
[2026-08-08 20:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":151701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":151701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":151701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267567616001,"66":11917,"255":206,"87":13824,"24":28,"16":116334025345335296,"45":9024721097488855040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 20:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267567616001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:35:56] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 20:35:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116334025345335296,"km_value":116334025345335.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097488855040,"description":"Unknown IO ID 45"} 
[2026-08-08 20:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267567616001,"power":11917,"unknown_255":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9024721097488855040}} 
[2026-08-08 20:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":151701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:35:56] local.INFO: GPS data processed {"connection_id":151701,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:35:56] local.INFO: Acknowledgment sent {"connection_id":151701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:36:08] local.INFO: TCP Data received {"connection_id":151701,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e77430012d7d3e4005ec84b8000800b425..."} 
[2026-08-08 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e77430012d7d3e4005ec84b8000800b425..."} 
[2026-08-08 20:36:08] local.INFO: Processing buffer {"connection_id":151701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e77430012d7d3e4005ec84b8000800b425..."} 
[2026-08-08 20:36:08] local.INFO: Packet analysis {"connection_id":151701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:36:08] local.INFO: Extracted packet for processing {"connection_id":151701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":99386552,"longitude_deg":76.3182656,"latitude_deg":9.9386552,"altitude":8,"angle":180,"satellites":37,"speed":16,"hex_longitude":"2d7d3e40","hex_latitude":"05ec84b8","is_valid_coordinates":true} 
[2026-08-08 20:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267571200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116334467726966784,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097486522368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786201470000,"timestamp_ms":1786201470000,"timestamp_seconds":1786201470,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e77430"} 
[2026-08-08 20:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:36: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-08-08 20:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267571200001,"66":11895,"255":206,"87":13824,"24":16,"16":116334467726966784,"45":9024721097486522368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 20:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267571200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:36:08] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 20:36:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116334467726966784,"km_value":116334467726966.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097486522368,"description":"Unknown IO ID 45"} 
[2026-08-08 20:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267571200001,"power":11895,"unknown_255":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9024721097486522368}} 
[2026-08-08 20:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":151701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:36:08] local.INFO: GPS data processed {"connection_id":151701,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:36:08] local.INFO: Acknowledgment sent {"connection_id":151701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:36:21] local.INFO: TCP Data received {"connection_id":150778,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:36:21] local.INFO: Processing buffer {"connection_id":150778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:36:21] local.INFO: Packet analysis {"connection_id":150778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:36:21] local.INFO: Extracted packet for processing {"connection_id":150778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:36:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":150778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:36:21] local.INFO: GPS data processed {"connection_id":150778,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:36:21] local.INFO: Acknowledgment sent {"connection_id":150778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:36:36] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:36:36] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:36:36] local.INFO: IMEI packet received {"connection_id":150486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:36:36] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:36:36] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:36:36] local.INFO: IMEI packet received {"connection_id":153182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":153182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:36:38] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e7aec8012d7d3cc005ec6168000700b625..."} 
[2026-08-08 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e7aec8012d7d3cc005ec6168000700b625..."} 
[2026-08-08 20:36:38] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e7aec8012d7d3cc005ec6168000700b625..."} 
[2026-08-08 20:36:38] local.INFO: Packet analysis {"connection_id":153182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:36:38] local.INFO: Extracted packet for processing {"connection_id":153182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":99377512,"longitude_deg":76.3182272,"latitude_deg":9.9377512,"altitude":7,"angle":182,"satellites":37,"speed":19,"hex_longitude":"2d7d3cc0","hex_latitude":"05ec6168","is_valid_coordinates":true} 
[2026-08-08 20:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267576320001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116334905813630976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097484187648,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786201485000,"timestamp_ms":1786201485000,"timestamp_seconds":1786201485,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e7aec8"} 
[2026-08-08 20:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 20:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267576320001,"66":11547,"255":206,"87":13824,"24":19,"16":116334905813630976,"45":9024721097484187648},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,87,24,16,45]} 
[2026-08-08 20:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267576320001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116334905813630976,"km_value":116334905813630.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097484187648,"description":"Unknown IO ID 45"} 
[2026-08-08 20:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267576320001,"power":11547,"unknown_255":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9024721097484187648}} 
[2026-08-08 20:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":153182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:36:38] local.INFO: GPS data processed {"connection_id":153182,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:36:38] local.INFO: Acknowledgment sent {"connection_id":153182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:36:41] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:36:41] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:36:41] local.INFO: IMEI packet received {"connection_id":150486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":150486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:36:42] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:36:42] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:36:42] local.INFO: Packet analysis {"connection_id":150486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:36:42] local.INFO: Extracted packet for processing {"connection_id":150486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:36: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-08-08 20:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:36: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-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:36: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-08-08 20: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-08-08 20:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:36:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":150486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:36:42] local.INFO: GPS data processed {"connection_id":150486,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:36:42] local.INFO: Acknowledgment sent {"connection_id":150486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:37:09] local.INFO: TCP Data received {"connection_id":153182,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e7fce8012d7d3b0005ec5238000500c01f..."} 
[2026-08-08 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e7fce8012d7d3b0005ec5238000500c01f..."} 
[2026-08-08 20:37:09] local.INFO: Processing buffer {"connection_id":153182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e7fce8012d7d3b0005ec5238000500c01f..."} 
[2026-08-08 20:37:09] local.INFO: Packet analysis {"connection_id":153182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:37:09] local.INFO: Extracted packet for processing {"connection_id":153182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e7"} 
[2026-08-08 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":99373624,"longitude_deg":76.3181824,"latitude_deg":9.9373624,"altitude":5,"angle":192,"satellites":31,"speed":0,"hex_longitude":"2d7d3b00","hex_latitude":"05ec5238","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267580160001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116335099087159296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298885016807424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786201505000,"timestamp_ms":1786201505000,"timestamp_seconds":1786201505,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e7fce8"} 
[2026-08-08 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-08-08 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 20:37:09] 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-08-08 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-08-08 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-08-08 20:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267580160001,"66":11569,"108":206,"87":13824,"24":0,"16":116335099087159296,"45":9024298885016807424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-08 20:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267580160001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116335099087159296,"km_value":116335099087159.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298885016807424,"description":"Unknown IO ID 45"} 
[2026-08-08 20:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267580160001,"power":11569,"unknown_108":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9024298885016807424}} 
[2026-08-08 20:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":153182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:37:09] local.INFO: GPS data processed {"connection_id":153182,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:37:09] local.INFO: Acknowledgment sent {"connection_id":153182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:37:14] local.INFO: TCP Data received {"connection_id":150486,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:37:14] local.INFO: Processing buffer {"connection_id":150486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:37:14] local.INFO: Packet analysis {"connection_id":150486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:37:14] local.INFO: Extracted packet for processing {"connection_id":150486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:37:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":150486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:37:14] local.INFO: GPS data processed {"connection_id":150486,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:37:14] local.INFO: Acknowledgment sent {"connection_id":150486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:37:36] local.INFO: TCP Data received {"connection_id":151703,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:37:36] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:37:36] local.INFO: IMEI packet received {"connection_id":151703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":151703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:37:36] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:37:36] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:37:36] local.INFO: IMEI packet received {"connection_id":150780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":150780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:37:41] local.INFO: TCP Data received {"connection_id":151703,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:37:41] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:37:41] local.INFO: IMEI packet received {"connection_id":151703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":151703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:37:42] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:37:42] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:37:42] local.INFO: IMEI packet received {"connection_id":150780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":150780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:37:43] local.INFO: TCP Data received {"connection_id":151703,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:37:43] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e57478012d196a80071fef680042011727..."} 
[2026-08-08 20:37:43] local.INFO: Packet analysis {"connection_id":151703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:37:43] local.INFO: Extracted packet for processing {"connection_id":151703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e5"} 
[2026-08-08 20:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267465728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786201339000,"timestamp_ms":1786201339000,"timestamp_seconds":1786201339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e57478"} 
[2026-08-08 20:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267465728001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267465728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267465728001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:37:43] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e81458012d7d3b4005ec5108000500b11d..."} 
[2026-08-08 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e81458012d7d3b4005ec5108000500b11d..."} 
[2026-08-08 20:37:43] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e81458012d7d3b4005ec5108000500b11d..."} 
[2026-08-08 20:37:43] local.INFO: Packet analysis {"connection_id":150780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e8"} 
[2026-08-08 20:37:43] local.INFO: Extracted packet for processing {"connection_id":150780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e8"} 
[2026-08-08 20:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":99373320,"longitude_deg":76.3181888,"latitude_deg":9.937332,"altitude":5,"angle":177,"satellites":29,"speed":4,"hex_longitude":"2d7d3b40","hex_latitude":"05ec5108","is_valid_coordinates":true} 
[2026-08-08 20:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267585280001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116335116267028480,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303806568448,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786201511000,"timestamp_ms":1786201511000,"timestamp_seconds":1786201511,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e81458"} 
[2026-08-08 20:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-08 20:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267585280001,"66":12015,"108":206,"87":13824,"24":4,"16":116335116267028480,"45":9023806303806568448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-08 20:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267585280001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116335116267028480,"km_value":116335116267028.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303806568448,"description":"Unknown IO ID 45"} 
[2026-08-08 20:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267585280001,"power":12015,"unknown_108":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9023806303806568448}} 
[2026-08-08 20:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":151703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:37:43] local.INFO: GPS data processed {"connection_id":151703,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:37:43] local.INFO: Acknowledgment sent {"connection_id":151703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":150780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:37:43] local.INFO: GPS data processed {"connection_id":150780,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:37:43] local.INFO: Acknowledgment sent {"connection_id":150780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:37:47] local.INFO: TCP Data received {"connection_id":150780,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1e86278012d7d3a8005ec3ae0000600c521..."} 
[2026-08-08 20:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1e86278012d7d3a8005ec3ae0000600c521..."} 
[2026-08-08 20:37:47] local.INFO: Processing buffer {"connection_id":150780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1e86278012d7d3a8005ec3ae0000600c521..."} 
[2026-08-08 20:37:47] local.INFO: Packet analysis {"connection_id":150780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1e8"} 
[2026-08-08 20:37:47] local.INFO: Extracted packet for processing {"connection_id":150780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1e8"} 
[2026-08-08 20:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":99367648,"longitude_deg":76.3181696,"latitude_deg":9.9367648,"altitude":6,"angle":197,"satellites":33,"speed":8,"hex_longitude":"2d7d3a80","hex_latitude":"05ec3ae0","is_valid_coordinates":true} 
[2026-08-08 20:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267586816001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116335395439902720,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023876672550668288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201531000,"timestamp_ms":1786201531000,"timestamp_seconds":1786201531,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1e86278"} 
[2026-08-08 20:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 20:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267586816001,"66":11569,"108":206,"87":13824,"24":8,"16":116335395439902720,"45":9023876672550668288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-08-08 20:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267586816001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:37:47] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 20:37:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116335395439902720,"km_value":116335395439902.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023876672550668288,"description":"Unknown IO ID 45"} 
[2026-08-08 20:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267586816001,"power":11569,"unknown_108":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9023876672550668288}} 
[2026-08-08 20:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":150780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:37:47] local.INFO: GPS data processed {"connection_id":150780,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:37:47] local.INFO: Acknowledgment sent {"connection_id":150780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:38:14] local.INFO: TCP Data received {"connection_id":151703,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:38:14] local.INFO: Processing buffer {"connection_id":151703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:38:14] local.INFO: Packet analysis {"connection_id":151703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:38:14] local.INFO: Extracted packet for processing {"connection_id":151703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:38:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":151703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:38:14] local.INFO: GPS data processed {"connection_id":151703,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:38:14] local.INFO: Acknowledgment sent {"connection_id":151703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:38:32] local.INFO: TCP Data received {"connection_id":150487,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:38:32] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:38:32] local.INFO: IMEI packet received {"connection_id":150487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":150487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:38:37] local.INFO: TCP Data received {"connection_id":150487,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:38:37] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:38:37] local.INFO: IMEI packet received {"connection_id":150487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":150487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:38:39] local.INFO: TCP Data received {"connection_id":150487,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea6de8012d7c75c005ec35980009010d2b..."} 
[2026-08-08 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea6de8012d7c75c005ec35980009010d2b..."} 
[2026-08-08 20:38:39] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea6de8012d7c75c005ec35980009010d2b..."} 
[2026-08-08 20:38:39] local.INFO: Packet analysis {"connection_id":150487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:38:39] local.INFO: Extracted packet for processing {"connection_id":150487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763131328,"raw_latitude":99366296,"longitude_deg":76.3131328,"latitude_deg":9.9366296,"altitude":9,"angle":269,"satellites":43,"speed":21,"hex_longitude":"2d7c75c0","hex_latitude":"05ec3598","is_valid_coordinates":true} 
[2026-08-08 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267620864001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116337813506490368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976237032740655104,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786201665000,"timestamp_ms":1786201665000,"timestamp_seconds":1786201665,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea6de8"} 
[2026-08-08 20:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-08 20:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267620864001,"66":11917,"198":206,"87":13824,"24":21,"16":116337813506490368,"45":8976237032740655104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267620864001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:38:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:38:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116337813506490368,"km_value":116337813506490.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976237032740655104,"description":"Unknown IO ID 45"} 
[2026-08-08 20:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267620864001,"power":11917,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8976237032740655104}} 
[2026-08-08 20:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":150487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:38:39] local.INFO: GPS data processed {"connection_id":150487,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:38:39] local.INFO: Acknowledgment sent {"connection_id":150487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:38:41] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:38:41] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:38:41] local.INFO: IMEI packet received {"connection_id":150488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":150488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:38:46] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:38:46] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:38:46] local.INFO: IMEI packet received {"connection_id":150488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":150488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:38:47] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:38:47] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:38:47] local.INFO: Packet analysis {"connection_id":150488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:38:47] local.INFO: Extracted packet for processing {"connection_id":150488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:38:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":150488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:38:47] local.INFO: GPS data processed {"connection_id":150488,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:38:47] local.INFO: Acknowledgment sent {"connection_id":150488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:39:10] local.INFO: TCP Data received {"connection_id":150487,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eab438012d7c518005ec3488000b010c2b..."} 
[2026-08-08 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eab438012d7c518005ec3488000b010c2b..."} 
[2026-08-08 20:39:10] local.INFO: Processing buffer {"connection_id":150487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eab438012d7c518005ec3488000b010c2b..."} 
[2026-08-08 20:39:10] local.INFO: Packet analysis {"connection_id":150487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:39:10] local.INFO: Extracted packet for processing {"connection_id":150487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763122048,"raw_latitude":99366024,"longitude_deg":76.3122048,"latitude_deg":9.9366024,"altitude":11,"angle":268,"satellites":43,"speed":19,"hex_longitude":"2d7c5180","hex_latitude":"05ec3488","is_valid_coordinates":true} 
[2026-08-08 20:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267626240001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116338260183089152,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968285364648515584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201683000,"timestamp_ms":1786201683000,"timestamp_seconds":1786201683,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eab438"} 
[2026-08-08 20:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:39: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-08-08 20:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267626240001,"66":12069,"198":206,"87":13824,"24":19,"16":116338260183089152,"45":8968285364648515584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267626240001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:39:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:39:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116338260183089152,"km_value":116338260183089.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968285364648515584,"description":"Unknown IO ID 45"} 
[2026-08-08 20:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267626240001,"power":12069,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8968285364648515584}} 
[2026-08-08 20:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":150487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:39:10] local.INFO: GPS data processed {"connection_id":150487,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:39:10] local.INFO: Acknowledgment sent {"connection_id":150487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:39:19] local.INFO: TCP Data received {"connection_id":150488,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:39:19] local.INFO: Processing buffer {"connection_id":150488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:39:19] local.INFO: Packet analysis {"connection_id":150488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:39:19] local.INFO: Extracted packet for processing {"connection_id":150488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:39:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:39:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":150488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:39:19] local.INFO: GPS data processed {"connection_id":150488,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:39:19] local.INFO: Acknowledgment sent {"connection_id":150488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:39:33] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:39:33] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:39:33] local.INFO: IMEI packet received {"connection_id":150781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":150781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:39:36] local.INFO: TCP Data received {"connection_id":150782,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:39:36] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:39:36] local.INFO: IMEI packet received {"connection_id":150782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":150782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:39:36] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:39:36] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:39:36] local.INFO: IMEI packet received {"connection_id":150781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":150781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:39:38] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eb0258012d7c35c005ec33c0000c010c2c..."} 
[2026-08-08 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eb0258012d7c35c005ec33c0000c010c2c..."} 
[2026-08-08 20:39:38] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eb0258012d7c35c005ec33c0000c010c2c..."} 
[2026-08-08 20:39:38] local.INFO: Packet analysis {"connection_id":150781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:39:38] local.INFO: Extracted packet for processing {"connection_id":150781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763114944,"raw_latitude":99365824,"longitude_deg":76.3114944,"latitude_deg":9.9365824,"altitude":12,"angle":268,"satellites":44,"speed":13,"hex_longitude":"2d7c35c0","hex_latitude":"05ec33c0","is_valid_coordinates":true} 
[2026-08-08 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267630848001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116338599485505536,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958081896742684672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786201703000,"timestamp_ms":1786201703000,"timestamp_seconds":1786201703,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eb0258"} 
[2026-08-08 20:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267630848001,"66":12156,"198":206,"87":13824,"24":13,"16":116338599485505536,"45":8958081896742684672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267630848001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116338599485505536,"km_value":116338599485505.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958081896742684672,"description":"Unknown IO ID 45"} 
[2026-08-08 20:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267630848001,"power":12156,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8958081896742684672}} 
[2026-08-08 20:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":150781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:39:38] local.INFO: GPS data processed {"connection_id":150781,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:39:38] local.INFO: Acknowledgment sent {"connection_id":150781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:39:41] local.INFO: TCP Data received {"connection_id":150782,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:39:41] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:39:41] local.INFO: IMEI packet received {"connection_id":150782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":150782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:39:42] local.INFO: TCP Data received {"connection_id":150782,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:39:42] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:39:42] local.INFO: Packet analysis {"connection_id":150782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:39:42] local.INFO: Extracted packet for processing {"connection_id":150782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:39: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-08-08 20:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:39:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":150782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:39:42] local.INFO: GPS data processed {"connection_id":150782,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:39:42] local.INFO: Acknowledgment sent {"connection_id":150782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:39:43] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eb5460012d7c19c005ec32d0000c010e2c..."} 
[2026-08-08 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eb5460012d7c19c005ec32d0000c010e2c..."} 
[2026-08-08 20:39:43] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eb5460012d7c19c005ec32d0000c010e2c..."} 
[2026-08-08 20:39:43] local.INFO: Packet analysis {"connection_id":150781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:39:43] local.INFO: Extracted packet for processing {"connection_id":150781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":99365584,"longitude_deg":76.3107776,"latitude_deg":9.9365584,"altitude":12,"angle":270,"satellites":44,"speed":12,"hex_longitude":"2d7c19c0","hex_latitude":"05ec32d0","is_valid_coordinates":true} 
[2026-08-08 20:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267635968001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116338943082889216,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950270966138912768,"note":"Value kept but may cause issues"} 
[2026-08-08 20:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786201724000,"timestamp_ms":1786201724000,"timestamp_seconds":1786201724,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eb5460"} 
[2026-08-08 20:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267635968001,"66":11798,"198":206,"87":13824,"24":12,"16":116338943082889216,"45":8950270966138912768},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267635968001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:39:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:39:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116338943082889216,"km_value":116338943082889.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950270966138912768,"description":"Unknown IO ID 45"} 
[2026-08-08 20:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267635968001,"power":11798,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8950270966138912768}} 
[2026-08-08 20:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":150781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:39:43] local.INFO: GPS data processed {"connection_id":150781,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:39:43] local.INFO: Acknowledgment sent {"connection_id":150781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:40:07] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:40:07] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:40:07] local.INFO: IMEI packet received {"connection_id":153183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":153183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:40:08] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eba280012cec2d00072a7310002700a930..."} 
[2026-08-08 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eba280012cec2d00072a7310002700a930..."} 
[2026-08-08 20:40:08] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eba280012cec2d00072a7310002700a930..."} 
[2026-08-08 20:40:08] local.INFO: Packet analysis {"connection_id":153183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:08] local.INFO: Extracted packet for processing {"connection_id":153183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":753675520,"raw_latitude":120222480,"longitude_deg":75.367552,"latitude_deg":12.022248,"altitude":39,"angle":169,"satellites":48,"speed":29,"hex_longitude":"2cec2d00","hex_latitude":"072a7310","is_valid_coordinates":true} 
[2026-08-08 20:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267643392001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375886745947865088,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1430385432120139776,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786201744000,"timestamp_ms":1786201744000,"timestamp_seconds":1786201744,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eba280"} 
[2026-08-08 20:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:40: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-08-08 20:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267643392001,"66":27397,"223":206,"83":44032,"24":29,"16":375886745947865088,"44":-1430385432120139776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,44]} 
[2026-08-08 20:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267643392001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:40:08] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-08 20:40:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375886745947865088,"km_value":375886745947865.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:40:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1430385432120139776,"description":"Unknown IO ID 44"} 
[2026-08-08 20:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267643392001,"power":27397,"unknown_223":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1430385432120139776}} 
[2026-08-08 20:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":153183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:40:08] local.INFO: GPS data processed {"connection_id":153183,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:40:08] local.INFO: Acknowledgment sent {"connection_id":153183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:40:14] local.INFO: TCP Data received {"connection_id":150782,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:40:14] local.INFO: Processing buffer {"connection_id":150782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:40:14] local.INFO: Packet analysis {"connection_id":150782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:40:14] local.INFO: Extracted packet for processing {"connection_id":150782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:40:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":150782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:40:14] local.INFO: GPS data processed {"connection_id":150782,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:40:14] local.INFO: Acknowledgment sent {"connection_id":150782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:40:15] local.INFO: TCP Data received {"connection_id":150781,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eba668012d7bff8005ec3198000d01082a..."} 
[2026-08-08 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eba668012d7bff8005ec3198000d01082a..."} 
[2026-08-08 20:40:15] local.INFO: Processing buffer {"connection_id":150781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eba668012d7bff8005ec3198000d01082a..."} 
[2026-08-08 20:40:15] local.INFO: Packet analysis {"connection_id":150781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:15] local.INFO: Extracted packet for processing {"connection_id":150781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763101056,"raw_latitude":99365272,"longitude_deg":76.3101056,"latitude_deg":9.9365272,"altitude":13,"angle":264,"satellites":42,"speed":11,"hex_longitude":"2d7bff80","hex_latitude":"05ec3198","is_valid_coordinates":true} 
[2026-08-08 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267641344001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116339260910469120,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666790952960,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786201745000,"timestamp_ms":1786201745000,"timestamp_seconds":1786201745,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eba668"} 
[2026-08-08 20:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":5768548172708184064,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3790174160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2954382246275975680,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154955981,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3927695361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4141059891744417536,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847657200,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":99,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6284210433122369538,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-9221704936574678271,"corrected_to":0} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-1218222404322639867,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.WARNING: Large IO value detected {"io_id":28,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:15] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,198,87,24,241,157,16,81,159,2,45,192,51,12,44,10,66,180,128,52,11,43,109,1,240,141,227,80,225,236,4,113,205,7,201,152,248,42,239,46,99,206,200,54,232,28],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":200,"original":-9221704936574678271,"validated":0}]} 
[2026-08-08 20:40:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864988185573982208,"timestamp_seconds":864988185573982.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267641344001,"66":11917,"198":206,"87":13824,"24":11,"16":116339260910469120,"45":8942389666790952960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267641344001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:40:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:40:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116339260910469120,"km_value":116339260910469.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666790952960,"description":"Unknown IO ID 45"} 
[2026-08-08 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267641344001,"power":11917,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8942389666790952960}} 
[2026-08-08 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":150781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:40:15] local.INFO: GPS data processed {"connection_id":150781,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:40:15] local.INFO: Acknowledgment sent {"connection_id":150781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:40:30] local.INFO: TCP Data received {"connection_id":150490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:30] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:30] local.INFO: IMEI packet received {"connection_id":150490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":150490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:40:31] local.INFO: TCP Data received {"connection_id":150490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:31] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:31] local.INFO: IMEI packet received {"connection_id":150490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":150490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:40:36] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:40:36] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:40:36] local.INFO: IMEI packet received {"connection_id":153184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":153184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:40:36] local.INFO: TCP Data received {"connection_id":150490,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:36] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:40:36] local.INFO: IMEI packet received {"connection_id":150490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":150490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:40:39] local.INFO: TCP Data received {"connection_id":153183,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ebd160012cec3580072a5130002500a130..."} 
[2026-08-08 20:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ebd160012cec3580072a5130002500a130..."} 
[2026-08-08 20:40:39] local.INFO: Processing buffer {"connection_id":153183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ebd160012cec3580072a5130002500a130..."} 
[2026-08-08 20:40:39] local.INFO: Packet analysis {"connection_id":153183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:39] local.INFO: Extracted packet for processing {"connection_id":153183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:39] local.INFO: GPS Element Parsed {"raw_longitude":753677696,"raw_latitude":120213808,"longitude_deg":75.3677696,"latitude_deg":12.0213808,"altitude":37,"angle":161,"satellites":48,"speed":30,"hex_longitude":"2cec3580","hex_latitude":"072a5130","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267646464001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375887179739561984,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428485476029624320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786201756000,"timestamp_ms":1786201756000,"timestamp_seconds":1786201756,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ebd160"} 
[2026-08-08 20:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":153183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":153183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":153183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267646464001,"66":27332,"171":206,"83":44032,"24":30,"16":375887179739561984,"44":-1428485476029624320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-08 20:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267646464001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:40:39] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 20:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375887179739561984,"km_value":375887179739562.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:40:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428485476029624320,"description":"Unknown IO ID 44"} 
[2026-08-08 20:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267646464001,"power":27332,"unknown_171":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1428485476029624320}} 
[2026-08-08 20:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":153183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:40:39] local.INFO: GPS data processed {"connection_id":153183,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:40:39] local.INFO: Acknowledgment sent {"connection_id":153183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:40:41] local.INFO: TCP Data received {"connection_id":150490,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ebf870012d7bf88005ec3130000e01062c..."} 
[2026-08-08 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ebf870012d7bf88005ec3130000e01062c..."} 
[2026-08-08 20:40:41] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ebf870012d7bf88005ec3130000e01062c..."} 
[2026-08-08 20:40:41] local.INFO: Packet analysis {"connection_id":150490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:41] local.INFO: Extracted packet for processing {"connection_id":150490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1eb"} 
[2026-08-08 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763099264,"raw_latitude":99365168,"longitude_deg":76.3099264,"latitude_deg":9.9365168,"altitude":14,"angle":262,"satellites":44,"speed":3,"hex_longitude":"2d7bf880","hex_latitude":"05ec3130","is_valid_coordinates":true} 
[2026-08-08 20:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267646720001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116339346809815040,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935000948652218368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786201766000,"timestamp_ms":1786201766000,"timestamp_seconds":1786201766,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ebf870"} 
[2026-08-08 20:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:40:41] 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-08-08 20:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267646720001,"66":12015,"198":206,"87":13824,"24":3,"16":116339346809815040,"45":8935000948652218368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267646720001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:40:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:40:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116339346809815040,"km_value":116339346809815.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935000948652218368,"description":"Unknown IO ID 45"} 
[2026-08-08 20:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267646720001,"power":12015,"unknown_198":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8935000948652218368}} 
[2026-08-08 20:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":150490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:40:41] local.INFO: GPS data processed {"connection_id":150490,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:40:41] local.INFO: Acknowledgment sent {"connection_id":150490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:40:41] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:40:41] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:40:41] local.INFO: IMEI packet received {"connection_id":153184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":153184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:40:42] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:40:42] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:40:42] local.INFO: Packet analysis {"connection_id":153184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:40:42] local.INFO: Extracted packet for processing {"connection_id":153184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:40: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-08-08 20:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:40: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-08-08 20:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:40:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":153184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:40:43] local.INFO: GPS data processed {"connection_id":153184,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:40:43] local.INFO: Acknowledgment sent {"connection_id":153184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:02] local.INFO: TCP Data received {"connection_id":153185,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:02] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:02] local.INFO: IMEI packet received {"connection_id":153185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":153185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:41:04] local.INFO: TCP Data received {"connection_id":153185,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:04] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:04] local.INFO: IMEI packet received {"connection_id":153185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":153185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:41:09] local.INFO: TCP Data received {"connection_id":153185,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:09] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:41:09] local.INFO: IMEI packet received {"connection_id":153185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":153185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:41:10] local.INFO: TCP Data received {"connection_id":153185,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ec0428012cec4500072a2ee80025009b32..."} 
[2026-08-08 20:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ec0428012cec4500072a2ee80025009b32..."} 
[2026-08-08 20:41:10] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ec0428012cec4500072a2ee80025009b32..."} 
[2026-08-08 20:41:10] local.INFO: Packet analysis {"connection_id":153185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:10] local.INFO: Extracted packet for processing {"connection_id":153185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753681664,"raw_latitude":120205032,"longitude_deg":75.3681664,"latitude_deg":12.0205032,"altitude":37,"angle":155,"satellites":50,"speed":28,"hex_longitude":"2cec4500","hex_latitude":"072a2ee8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267649536001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375887643596029952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426092938729803776,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201769000,"timestamp_ms":1786201769000,"timestamp_seconds":1786201769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ec0428"} 
[2026-08-08 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-08-08 20:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 20:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:41: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-08-08 20:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267649536001,"66":27376,"171":206,"83":44032,"24":28,"16":375887643596029952,"44":-1426092938729803776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-08 20:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267649536001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:10] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 20:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375887643596029952,"km_value":375887643596029.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426092938729803776,"description":"Unknown IO ID 44"} 
[2026-08-08 20:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267649536001,"power":27376,"unknown_171":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1426092938729803776}} 
[2026-08-08 20:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":153185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:10] local.INFO: GPS data processed {"connection_id":153185,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:10] local.INFO: Acknowledgment sent {"connection_id":153185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:13] local.INFO: TCP Data received {"connection_id":150490,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ec4a78012d7be44005ec2e40000e01022d..."} 
[2026-08-08 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ec4a78012d7be44005ec2e40000e01022d..."} 
[2026-08-08 20:41:13] local.INFO: Processing buffer {"connection_id":150490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ec4a78012d7be44005ec2e40000e01022d..."} 
[2026-08-08 20:41:13] local.INFO: Packet analysis {"connection_id":150490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:13] local.INFO: Extracted packet for processing {"connection_id":150490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":99364416,"longitude_deg":76.309408,"latitude_deg":9.9364416,"altitude":14,"angle":258,"satellites":45,"speed":10,"hex_longitude":"2d7be440","hex_latitude":"05ec2e40","is_valid_coordinates":true} 
[2026-08-08 20:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267652096001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116339595917918208,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933030623815217152,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786201787000,"timestamp_ms":1786201787000,"timestamp_seconds":1786201787,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ec4a78"} 
[2026-08-08 20:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 20:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267652096001,"66":12069,"198":206,"87":13824,"24":10,"16":116339595917918208,"45":8933030623815217152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267652096001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:41:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116339595917918208,"km_value":116339595917918.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933030623815217152,"description":"Unknown IO ID 45"} 
[2026-08-08 20:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267652096001,"power":12069,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8933030623815217152}} 
[2026-08-08 20:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":150490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:13] local.INFO: GPS data processed {"connection_id":150490,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:13] local.INFO: Acknowledgment sent {"connection_id":150490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:14] local.INFO: TCP Data received {"connection_id":153184,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:41:14] local.INFO: Processing buffer {"connection_id":153184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:41:14] local.INFO: Packet analysis {"connection_id":153184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:41:14] local.INFO: Extracted packet for processing {"connection_id":153184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":153184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:14] local.INFO: GPS data processed {"connection_id":153184,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:14] local.INFO: Acknowledgment sent {"connection_id":153184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:31] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:31] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:31] local.INFO: IMEI packet received {"connection_id":151705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":151705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:41:36] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:41:36] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:41:36] local.INFO: IMEI packet received {"connection_id":150491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":150491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:41:40] local.INFO: TCP Data received {"connection_id":153185,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ec36f0012cec53c0072a0e28002600982f..."} 
[2026-08-08 20:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ec36f0012cec53c0072a0e28002600982f..."} 
[2026-08-08 20:41:40] local.INFO: Processing buffer {"connection_id":153185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ec36f0012cec53c0072a0e28002600982f..."} 
[2026-08-08 20:41:40] local.INFO: Packet analysis {"connection_id":153185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:40] local.INFO: Extracted packet for processing {"connection_id":153185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:40] local.INFO: GPS Element Parsed {"raw_longitude":753685440,"raw_latitude":120196648,"longitude_deg":75.368544,"latitude_deg":12.0196648,"altitude":38,"angle":152,"satellites":47,"speed":32,"hex_longitude":"2cec53c0","hex_latitude":"072a0e28","is_valid_coordinates":true} 
[2026-08-08 20:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267652864001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375888090272628736,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421730076593035264,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786201782000,"timestamp_ms":1786201782000,"timestamp_seconds":1786201782,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ec36f0"} 
[2026-08-08 20:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:41: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-08-08 20: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:41: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-08-08 20:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267652864001,"66":27397,"171":206,"83":44032,"24":32,"16":375888090272628736,"44":-1421730076593035264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-08-08 20:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267652864001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-08 20:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375888090272628736,"km_value":375888090272628.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421730076593035264,"description":"Unknown IO ID 44"} 
[2026-08-08 20:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267652864001,"power":27397,"unknown_171":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1421730076593035264}} 
[2026-08-08 20:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":153185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:41] local.INFO: GPS data processed {"connection_id":153185,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:41] local.INFO: Acknowledgment sent {"connection_id":153185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:41] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:41:41] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:41:41] local.INFO: IMEI packet received {"connection_id":150491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":150491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:41:42] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:41:42] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:41:42] local.INFO: Packet analysis {"connection_id":150491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:41:42] local.INFO: Extracted packet for processing {"connection_id":150491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:41: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-08-08 20:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":150491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:43] local.INFO: GPS data processed {"connection_id":150491,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:43] local.INFO: Acknowledgment sent {"connection_id":150491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:46] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:46] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:46] local.INFO: IMEI packet received {"connection_id":151705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":151705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:41:48] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:48] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:41:48] local.INFO: IMEI packet received {"connection_id":151705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":151705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:41:49] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ec9c80012d7bc50005ec2648000e00fc2e..."} 
[2026-08-08 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ec9c80012d7bc50005ec2648000e00fc2e..."} 
[2026-08-08 20:41:49] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ec9c80012d7bc50005ec2648000e00fc2e..."} 
[2026-08-08 20:41:49] local.INFO: Packet analysis {"connection_id":151705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:49] local.INFO: Extracted packet for processing {"connection_id":151705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763086080,"raw_latitude":99362376,"longitude_deg":76.308608,"latitude_deg":9.9362376,"altitude":14,"angle":252,"satellites":46,"speed":4,"hex_longitude":"2d7bc500","hex_latitude":"05ec2648","is_valid_coordinates":true} 
[2026-08-08 20:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267657472001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116339995349876736,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755536633856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786201808000,"timestamp_ms":1786201808000,"timestamp_seconds":1786201808,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ec9c80"} 
[2026-08-08 20:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267657472001,"66":11874,"198":206,"87":13824,"24":4,"16":116339995349876736,"45":8927330755536633856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267657472001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:41:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116339995349876736,"km_value":116339995349876.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755536633856,"description":"Unknown IO ID 45"} 
[2026-08-08 20:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267657472001,"power":11874,"unknown_198":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8927330755536633856}} 
[2026-08-08 20:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":151705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:49] local.INFO: GPS data processed {"connection_id":151705,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:49] local.INFO: Acknowledgment sent {"connection_id":151705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:41:50] local.INFO: TCP Data received {"connection_id":151705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ecee88012d7bc38005ec25a0000f00fe2e..."} 
[2026-08-08 20:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ecee88012d7bc38005ec25a0000f00fe2e..."} 
[2026-08-08 20:41:50] local.INFO: Processing buffer {"connection_id":151705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ecee88012d7bc38005ec25a0000f00fe2e..."} 
[2026-08-08 20:41:50] local.INFO: Packet analysis {"connection_id":151705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:50] local.INFO: Extracted packet for processing {"connection_id":151705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ec"} 
[2026-08-08 20:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763085696,"raw_latitude":99362208,"longitude_deg":76.3085696,"latitude_deg":9.9362208,"altitude":15,"angle":254,"satellites":46,"speed":6,"hex_longitude":"2d7bc380","hex_latitude":"05ec25a0","is_valid_coordinates":true} 
[2026-08-08 20:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267662848001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116340012529745920,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918534662513903616,"note":"Value kept but may cause issues"} 
[2026-08-08 20:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786201829000,"timestamp_ms":1786201829000,"timestamp_seconds":1786201829,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ecee88"} 
[2026-08-08 20:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:41:50] 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-08-08 20:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":151705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":151705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":151705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267662848001,"66":11852,"198":206,"87":13824,"24":6,"16":116340012529745920,"45":8918534662513903616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267662848001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:41:50] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:41:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116340012529745920,"km_value":116340012529745.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918534662513903616,"description":"Unknown IO ID 45"} 
[2026-08-08 20:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267662848001,"power":11852,"unknown_198":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8918534662513903616}} 
[2026-08-08 20:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":151705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:41:50] local.INFO: GPS data processed {"connection_id":151705,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:41:50] local.INFO: Acknowledgment sent {"connection_id":151705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:04] local.INFO: TCP Data received {"connection_id":150492,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:42:04] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:42:04] local.INFO: IMEI packet received {"connection_id":150492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":150492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:42:08] local.INFO: TCP Data received {"connection_id":150492,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:42:08] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:42:08] local.INFO: IMEI packet received {"connection_id":150492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":150492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:42:09] local.INFO: TCP Data received {"connection_id":150492,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eda238012cec5dc00728b610000b00ac30..."} 
[2026-08-08 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eda238012cec5dc00728b610000b00ac30..."} 
[2026-08-08 20:42:09] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eda238012cec5dc00728b610000b00ac30..."} 
[2026-08-08 20:42:09] local.INFO: Packet analysis {"connection_id":150492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:09] local.INFO: Extracted packet for processing {"connection_id":150492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":753688000,"raw_latitude":120108560,"longitude_deg":75.3688,"latitude_deg":12.010856,"altitude":11,"angle":172,"satellites":48,"speed":52,"hex_longitude":"2cec5dc0","hex_latitude":"0728b610","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267678208001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375892535563780096,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415959839592812544,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786201875000,"timestamp_ms":1786201875000,"timestamp_seconds":1786201875,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eda238"} 
[2026-08-08 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-08-08 20:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267678208001,"66":27343,"61":206,"83":44032,"24":52,"16":375892535563780096,"44":-1415959839592812544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 20:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267678208001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:09] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 20:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375892535563780096,"km_value":375892535563780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415959839592812544,"description":"Unknown IO ID 44"} 
[2026-08-08 20:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267678208001,"power":27343,"unknown_61":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1415959839592812544}} 
[2026-08-08 20:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":150492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:09] local.INFO: GPS data processed {"connection_id":150492,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:09] local.INFO: Acknowledgment sent {"connection_id":150492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:14] local.INFO: TCP Data received {"connection_id":150491,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:14] local.INFO: Processing buffer {"connection_id":150491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:14] local.INFO: Packet analysis {"connection_id":150491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:42:14] local.INFO: Extracted packet for processing {"connection_id":150491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":150491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:14] local.INFO: GPS data processed {"connection_id":150491,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:14] local.INFO: Acknowledgment sent {"connection_id":150491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:36] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:42:36] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:42:36] local.INFO: IMEI packet received {"connection_id":150783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":150783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:42:40] local.INFO: TCP Data received {"connection_id":150492,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1edbd90012cec6100072892e8000900ae2f..."} 
[2026-08-08 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1edbd90012cec6100072892e8000900ae2f..."} 
[2026-08-08 20:42:40] local.INFO: Processing buffer {"connection_id":150492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1edbd90012cec6100072892e8000900ae2f..."} 
[2026-08-08 20:42:40] local.INFO: Packet analysis {"connection_id":150492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:40] local.INFO: Extracted packet for processing {"connection_id":150492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":753688832,"raw_latitude":120099560,"longitude_deg":75.3688832,"latitude_deg":12.009956,"altitude":9,"angle":174,"satellites":47,"speed":50,"hex_longitude":"2cec6100","hex_latitude":"072892e8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267680000001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375892973650444288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414763570944143360,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786201882000,"timestamp_ms":1786201882000,"timestamp_seconds":1786201882,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1edbd90"} 
[2026-08-08 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-08-08 20:42: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-08-08 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":207,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:42: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-08-08 20:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267680000001,"66":27245,"61":206,"83":44032,"24":50,"16":375892973650444288,"44":-1414763570944143360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 20:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267680000001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 20:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375892973650444288,"km_value":375892973650444.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414763570944143360,"description":"Unknown IO ID 44"} 
[2026-08-08 20:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267680000001,"power":27245,"unknown_61":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1414763570944143360}} 
[2026-08-08 20:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":150492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:40] local.INFO: GPS data processed {"connection_id":150492,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:40] local.INFO: Acknowledgment sent {"connection_id":150492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:41] local.INFO: TCP Data received {"connection_id":150784,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:42:41] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:42:41] local.INFO: IMEI packet received {"connection_id":150784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":150784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:42:41] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:42:41] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:42:41] local.INFO: IMEI packet received {"connection_id":150783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":150783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:42:42] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ed4090012d7bba4005ec22c8000f00fe2e..."} 
[2026-08-08 20:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ed4090012d7bba4005ec22c8000f00fe2e..."} 
[2026-08-08 20:42:42] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ed4090012d7bba4005ec22c8000f00fe2e..."} 
[2026-08-08 20:42:42] local.INFO: Packet analysis {"connection_id":150783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:42] local.INFO: Extracted packet for processing {"connection_id":150783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763083328,"raw_latitude":99361480,"longitude_deg":76.3083328,"latitude_deg":9.936148,"altitude":15,"angle":254,"satellites":46,"speed":4,"hex_longitude":"2d7bba40","hex_latitude":"05ec22c8","is_valid_coordinates":true} 
[2026-08-08 20:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267668224001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116340132788830208,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918112450048794624,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201850000,"timestamp_ms":1786201850000,"timestamp_seconds":1786201850,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ed4090"} 
[2026-08-08 20:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267668224001,"66":11874,"198":206,"87":13824,"24":4,"16":116340132788830208,"45":8918112450048794624},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267668224001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116340132788830208,"km_value":116340132788830.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918112450048794624,"description":"Unknown IO ID 45"} 
[2026-08-08 20:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267668224001,"power":11874,"unknown_198":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8918112450048794624}} 
[2026-08-08 20:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":150783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:42] local.INFO: GPS data processed {"connection_id":150783,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:42] local.INFO: Acknowledgment sent {"connection_id":150783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:46] local.INFO: TCP Data received {"connection_id":150784,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:42:46] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:42:46] local.INFO: IMEI packet received {"connection_id":150784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":150784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:42:47] local.INFO: TCP Data received {"connection_id":150783,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ed9298012d7badc005ec1f28000f00fe2d..."} 
[2026-08-08 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ed9298012d7badc005ec1f28000f00fe2d..."} 
[2026-08-08 20:42:47] local.INFO: Processing buffer {"connection_id":150783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ed9298012d7badc005ec1f28000f00fe2d..."} 
[2026-08-08 20:42:47] local.INFO: Packet analysis {"connection_id":150783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:47] local.INFO: Extracted packet for processing {"connection_id":150783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763080128,"raw_latitude":99360552,"longitude_deg":76.3080128,"latitude_deg":9.9360552,"altitude":15,"angle":254,"satellites":45,"speed":7,"hex_longitude":"2d7badc0","hex_latitude":"05ec1f28","is_valid_coordinates":true} 
[2026-08-08 20:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267673600001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116340291702620160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915508806514034688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201871000,"timestamp_ms":1786201871000,"timestamp_seconds":1786201871,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ed9298"} 
[2026-08-08 20:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:47] 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-08-08 20:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267673600001,"66":12069,"198":206,"87":13824,"24":7,"16":116340291702620160,"45":8915508806514034688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267673600001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116340291702620160,"km_value":116340291702620.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915508806514034688,"description":"Unknown IO ID 45"} 
[2026-08-08 20:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267673600001,"power":12069,"unknown_198":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8915508806514034688}} 
[2026-08-08 20:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":150783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:47] local.INFO: GPS data processed {"connection_id":150783,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:47] local.INFO: Acknowledgment sent {"connection_id":150783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:47] local.INFO: TCP Data received {"connection_id":150784,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:47] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:47] local.INFO: Packet analysis {"connection_id":150784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:42:47] local.INFO: Extracted packet for processing {"connection_id":150784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":150784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:48] local.INFO: GPS data processed {"connection_id":150784,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:48] local.INFO: Acknowledgment sent {"connection_id":150784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:42:51] local.INFO: TCP Data received {"connection_id":150784,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:51] local.INFO: Processing buffer {"connection_id":150784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ea0c40012d196a80071fef680042011728..."} 
[2026-08-08 20:42:51] local.INFO: Packet analysis {"connection_id":150784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:42:51] local.INFO: Extracted packet for processing {"connection_id":150784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ea"} 
[2026-08-08 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267542784001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786201640000,"timestamp_ms":1786201640000,"timestamp_seconds":1786201640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ea0c40"} 
[2026-08-08 20:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 20:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267542784001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267542784001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:42:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:42:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267542784001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":150784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:42:51] local.INFO: GPS data processed {"connection_id":150784,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:42:51] local.INFO: Acknowledgment sent {"connection_id":150784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:43:04] local.INFO: TCP Data received {"connection_id":153186,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:43:04] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:43:04] local.INFO: IMEI packet received {"connection_id":153186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":153186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:43:09] local.INFO: TCP Data received {"connection_id":153186,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:43:09] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:43:09] local.INFO: IMEI packet received {"connection_id":153186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":153186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:43:10] local.INFO: TCP Data received {"connection_id":153186,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eddcd0012cec668007286c30000900ad31..."} 
[2026-08-08 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eddcd0012cec668007286c30000900ad31..."} 
[2026-08-08 20:43:10] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eddcd0012cec668007286c30000900ad31..."} 
[2026-08-08 20:43:10] local.INFO: Packet analysis {"connection_id":153186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:43:10] local.INFO: Extracted packet for processing {"connection_id":153186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":753690240,"raw_latitude":120089648,"longitude_deg":75.369024,"latitude_deg":12.0089648,"altitude":9,"angle":173,"satellites":49,"speed":48,"hex_longitude":"2cec6680","hex_latitude":"07286c30","is_valid_coordinates":true} 
[2026-08-08 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267681792001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375893458981748736,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413848777272137728,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201890000,"timestamp_ms":1786201890000,"timestamp_seconds":1786201890,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eddcd0"} 
[2026-08-08 20:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 20:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:43: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-08-08 20:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267681792001,"66":27365,"61":206,"83":44032,"24":48,"16":375893458981748736,"44":-1413848777272137728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 20:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267681792001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375893458981748736,"km_value":375893458981748.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413848777272137728,"description":"Unknown IO ID 44"} 
[2026-08-08 20:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267681792001,"power":27365,"unknown_61":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1413848777272137728}} 
[2026-08-08 20:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":153186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:43:10] local.INFO: GPS data processed {"connection_id":153186,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:43:10] local.INFO: Acknowledgment sent {"connection_id":153186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:43:31] local.INFO: TCP Data received {"connection_id":150493,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:43:31] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:43:31] local.INFO: IMEI packet received {"connection_id":150493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":150493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:43:33] local.INFO: TCP Data received {"connection_id":150493,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:43:33] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:43:33] local.INFO: IMEI packet received {"connection_id":150493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":150493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:43:36] local.INFO: TCP Data received {"connection_id":153187,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:43:36] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:43:36] local.INFO: IMEI packet received {"connection_id":153187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":153187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:43:39] local.INFO: TCP Data received {"connection_id":150493,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ede4a0012d7b974005ec1870000f00fd2e..."} 
[2026-08-08 20:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ede4a0012d7b974005ec1870000f00fd2e..."} 
[2026-08-08 20:43:39] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ede4a0012d7b974005ec1870000f00fd2e..."} 
[2026-08-08 20:43:39] local.INFO: Packet analysis {"connection_id":150493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:43:39] local.INFO: Extracted packet for processing {"connection_id":150493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763074368,"raw_latitude":99358832,"longitude_deg":76.3074368,"latitude_deg":9.9358832,"altitude":15,"angle":253,"satellites":46,"speed":15,"hex_longitude":"2d7b9740","hex_latitude":"05ec1870","is_valid_coordinates":true} 
[2026-08-08 20:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267678976001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116340583760396288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911990369304913920,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786201892000,"timestamp_ms":1786201892000,"timestamp_seconds":1786201892,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ede4a0"} 
[2026-08-08 20:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267678976001,"66":11721,"198":206,"87":13824,"24":15,"16":116340583760396288,"45":8911990369304913920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-08 20:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267678976001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:43:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-08 20:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116340583760396288,"km_value":116340583760396.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911990369304913920,"description":"Unknown IO ID 45"} 
[2026-08-08 20:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267678976001,"power":11721,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8911990369304913920}} 
[2026-08-08 20:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":150493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:43:39] local.INFO: GPS data processed {"connection_id":150493,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:43:39] local.INFO: Acknowledgment sent {"connection_id":150493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:43:41] local.INFO: TCP Data received {"connection_id":153187,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:43:41] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:43:41] local.INFO: IMEI packet received {"connection_id":153187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":153187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:43:42] local.INFO: TCP Data received {"connection_id":153187,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:43:42] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:43:42] local.INFO: Packet analysis {"connection_id":153187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:43:42] local.INFO: Extracted packet for processing {"connection_id":153187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43: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-08-08 20:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:43: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-08-08 20: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-08-08 20:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:43:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":153187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:43:42] local.INFO: GPS data processed {"connection_id":153187,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:43:42] local.INFO: Acknowledgment sent {"connection_id":153187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:43:48] local.INFO: TCP Data received {"connection_id":153186,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1edfc10012cec6ac007284720000900ae30..."} 
[2026-08-08 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1edfc10012cec6ac007284720000900ae30..."} 
[2026-08-08 20:43:48] local.INFO: Processing buffer {"connection_id":153186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1edfc10012cec6ac007284720000900ae30..."} 
[2026-08-08 20:43:48] local.INFO: Packet analysis {"connection_id":153186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:43:48] local.INFO: Extracted packet for processing {"connection_id":153186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ed"} 
[2026-08-08 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":753691328,"raw_latitude":120080160,"longitude_deg":75.3691328,"latitude_deg":12.008016,"altitude":9,"angle":174,"satellites":48,"speed":47,"hex_longitude":"2cec6ac0","hex_latitude":"07284720","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267683840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375893922838216704,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412300664902766592,"note":"Value kept but may cause issues"} 
[2026-08-08 20:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786201898000,"timestamp_ms":1786201898000,"timestamp_seconds":1786201898,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1edfc10"} 
[2026-08-08 20:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:43: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-08-08 20: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-08-08 20:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267683840001,"66":27267,"61":206,"83":44032,"24":47,"16":375893922838216704,"44":-1412300664902766592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 20:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267683840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:43:48] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 20:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375893922838216704,"km_value":375893922838216.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412300664902766592,"description":"Unknown IO ID 44"} 
[2026-08-08 20:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267683840001,"power":27267,"unknown_61":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1412300664902766592}} 
[2026-08-08 20:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":153186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:43:48] local.INFO: GPS data processed {"connection_id":153186,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:43:48] local.INFO: Acknowledgment sent {"connection_id":153186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:44:04] local.INFO: TCP Data received {"connection_id":150494,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:04] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:04] local.INFO: IMEI packet received {"connection_id":150494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":150494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:44:04] local.INFO: TCP Data received {"connection_id":150494,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:04] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:04] local.INFO: IMEI packet received {"connection_id":150494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":150494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:44:09] local.INFO: TCP Data received {"connection_id":150494,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:09] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:44:09] local.INFO: IMEI packet received {"connection_id":150494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":150494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:44:12] local.INFO: TCP Data received {"connection_id":150494,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ee1b50012cec6f00072822b8000900ad31..."} 
[2026-08-08 20:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ee1b50012cec6f00072822b8000900ad31..."} 
[2026-08-08 20:44:12] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ee1b50012cec6f00072822b8000900ad31..."} 
[2026-08-08 20:44:12] local.INFO: Packet analysis {"connection_id":150494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:12] local.INFO: Extracted packet for processing {"connection_id":150494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753692416,"raw_latitude":120070840,"longitude_deg":75.3692416,"latitude_deg":12.007084,"altitude":9,"angle":173,"satellites":49,"speed":42,"hex_longitude":"2cec6f00","hex_latitude":"072822b8","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267685888001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375894378104750080,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411104396254175232,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786201906000,"timestamp_ms":1786201906000,"timestamp_seconds":1786201906,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ee1b50"} 
[2026-08-08 20:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:44: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-08-08 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267685888001,"66":27365,"61":206,"83":44032,"24":42,"16":375894378104750080,"44":-1411104396254175232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-08-08 20:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267685888001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:44:12] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-08 20:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375894378104750080,"km_value":375894378104750.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411104396254175232,"description":"Unknown IO ID 44"} 
[2026-08-08 20:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267685888001,"power":27365,"unknown_61":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1411104396254175232}} 
[2026-08-08 20:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":150494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:44:12] local.INFO: GPS data processed {"connection_id":150494,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:44:12] local.INFO: Acknowledgment sent {"connection_id":150494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:44:13] local.INFO: TCP Data received {"connection_id":150493,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ee32c0012d7b740005ec0de0001000fc2e..."} 
[2026-08-08 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ee32c0012d7b740005ec0de0001000fc2e..."} 
[2026-08-08 20:44:13] local.INFO: Processing buffer {"connection_id":150493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ee32c0012d7b740005ec0de0001000fc2e..."} 
[2026-08-08 20:44:13] local.INFO: Packet analysis {"connection_id":150493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:13] local.INFO: Extracted packet for processing {"connection_id":150493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":99356128,"longitude_deg":76.3065344,"latitude_deg":9.9356128,"altitude":16,"angle":252,"satellites":46,"speed":21,"hex_longitude":"2d7b7400","hex_latitude":"05ec0de0","is_valid_coordinates":true} 
[2026-08-08 20:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267684352001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116341030436995072,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905657182328483840,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786201912000,"timestamp_ms":1786201912000,"timestamp_seconds":1786201912,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ee32c0"} 
[2026-08-08 20:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 20:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267684352001,"66":12004,"10":206,"87":13824,"24":21,"16":116341030436995072,"45":8905657182328483840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-08 20:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267684352001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:44:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-08 20:44:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116341030436995072,"km_value":116341030436995.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905657182328483840,"description":"Unknown IO ID 45"} 
[2026-08-08 20:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267684352001,"power":12004,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8905657182328483840}} 
[2026-08-08 20:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":150493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:44:13] local.INFO: GPS data processed {"connection_id":150493,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:44:13] local.INFO: Acknowledgment sent {"connection_id":150493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:44:14] local.INFO: TCP Data received {"connection_id":153187,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:44:14] local.INFO: Processing buffer {"connection_id":153187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:44:14] local.INFO: Packet analysis {"connection_id":153187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:14] local.INFO: Extracted packet for processing {"connection_id":153187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:44:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":153187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:44:14] local.INFO: GPS data processed {"connection_id":153187,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:44:14] local.INFO: Acknowledgment sent {"connection_id":153187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:44:31] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:44:31] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:44:31] local.INFO: IMEI packet received {"connection_id":151706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":151706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:44:36] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:44:36] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:44:36] local.INFO: IMEI packet received {"connection_id":151706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":151706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:44:37] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:44:37] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:44:37] local.INFO: IMEI packet received {"connection_id":150495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":150495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:44:38] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ee7528012d7b528005ec01e8000f00f62e..."} 
[2026-08-08 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ee7528012d7b528005ec01e8000f00f62e..."} 
[2026-08-08 20:44:38] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ee7528012d7b528005ec01e8000f00f62e..."} 
[2026-08-08 20:44:38] local.INFO: Packet analysis {"connection_id":151706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:38] local.INFO: Extracted packet for processing {"connection_id":151706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":99353064,"longitude_deg":76.3056768,"latitude_deg":9.9353064,"altitude":15,"angle":246,"satellites":46,"speed":20,"hex_longitude":"2d7b5280","hex_latitude":"05ec01e8","is_valid_coordinates":true} 
[2026-08-08 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267689472001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116341468523659264,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895735189398740992,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786201929000,"timestamp_ms":1786201929000,"timestamp_seconds":1786201929,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ee7528"} 
[2026-08-08 20:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 20:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267689472001,"66":12069,"10":206,"87":13824,"24":20,"16":116341468523659264,"45":8895735189398740992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-08 20:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267689472001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116341468523659264,"km_value":116341468523659.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895735189398740992,"description":"Unknown IO ID 45"} 
[2026-08-08 20:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267689472001,"power":12069,"unknown_10":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8895735189398740992}} 
[2026-08-08 20:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":151706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:44:38] local.INFO: GPS data processed {"connection_id":151706,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:44:38] local.INFO: Acknowledgment sent {"connection_id":151706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:44:41] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:44:41] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:44:41] local.INFO: IMEI packet received {"connection_id":150495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":150495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:44:42] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:44:42] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:44:42] local.INFO: Packet analysis {"connection_id":150495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:42] local.INFO: Extracted packet for processing {"connection_id":150495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44: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-08-08 20:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:44: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-08-08 20:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:44:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":150495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:44:43] local.INFO: GPS data processed {"connection_id":150495,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:44:43] local.INFO: Acknowledgment sent {"connection_id":150495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:44:51] local.INFO: TCP Data received {"connection_id":150494,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1efe840012ceca5c00726b4b8002900b932..."} 
[2026-08-08 20:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1efe840012ceca5c00726b4b8002900b932..."} 
[2026-08-08 20:44:51] local.INFO: Processing buffer {"connection_id":150494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1efe840012ceca5c00726b4b8002900b932..."} 
[2026-08-08 20:44:51] local.INFO: Packet analysis {"connection_id":150494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:44:51] local.INFO: Extracted packet for processing {"connection_id":150494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:44:51] local.INFO: GPS Element Parsed {"raw_longitude":753706432,"raw_latitude":119977144,"longitude_deg":75.3706432,"latitude_deg":11.9977144,"altitude":41,"angle":185,"satellites":50,"speed":38,"hex_longitude":"2ceca5c0","hex_latitude":"0726b4b8","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267715840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375899029554331648,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394356635164147712,"note":"Value kept but may cause issues"} 
[2026-08-08 20:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786202024000,"timestamp_ms":1786202024000,"timestamp_seconds":1786202024,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1efe840"} 
[2026-08-08 20:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":109,"data_length":795,"current_offset":136} 
[2026-08-08 20:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267715840001,"66":27376,"166":206,"83":44032,"24":38,"16":375899029554331648,"44":-1394356635164147712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,44]} 
[2026-08-08 20:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267715840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:44:51] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 20:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375899029554331648,"km_value":375899029554331.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394356635164147712,"description":"Unknown IO ID 44"} 
[2026-08-08 20:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267715840001,"power":27376,"unknown_166":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1394356635164147712}} 
[2026-08-08 20:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":150494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:44:51] local.INFO: GPS data processed {"connection_id":150494,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:44:51] local.INFO: Acknowledgment sent {"connection_id":150494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:09] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:45:09] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:45:09] local.INFO: IMEI packet received {"connection_id":151707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":151707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:45:10] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:45:10] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:45:10] local.INFO: IMEI packet received {"connection_id":151707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":151707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:45:10] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f00f50012cec9f0007268fa0002900bf33..."} 
[2026-08-08 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f00f50012cec9f0007268fa0002900bf33..."} 
[2026-08-08 20:45:10] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f00f50012cec9f0007268fa0002900bf33..."} 
[2026-08-08 20:45:10] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:45:10] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":753704704,"raw_latitude":119967648,"longitude_deg":75.3704704,"latitude_deg":11.9967648,"altitude":41,"angle":191,"satellites":51,"speed":39,"hex_longitude":"2cec9f00","hex_latitude":"07268fa0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267718144001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375899497705766912,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394497372654618624,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786202034000,"timestamp_ms":1786202034000,"timestamp_seconds":1786202034,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f00f50"} 
[2026-08-08 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-08-08 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:45: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-08-08 20:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267718144001,"66":27365,"166":206,"83":44032,"24":39,"16":375899497705766912,"44":-1394497372654618624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,44]} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267718144001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-08-08 20:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375899497705766912,"km_value":375899497705766.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394497372654618624,"description":"Unknown IO ID 44"} 
[2026-08-08 20:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267718144001,"power":27365,"unknown_166":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1394497372654618624}} 
[2026-08-08 20:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:10] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:10] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:10] local.INFO: TCP Data received {"connection_id":151706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eec348012d7b37c005ebf568000e00f12e..."} 
[2026-08-08 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eec348012d7b37c005ebf568000e00f12e..."} 
[2026-08-08 20:45:10] local.INFO: Processing buffer {"connection_id":151706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eec348012d7b37c005ebf568000e00f12e..."} 
[2026-08-08 20:45:10] local.INFO: Packet analysis {"connection_id":151706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:10] local.INFO: Extracted packet for processing {"connection_id":151706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":99349864,"longitude_deg":76.304992,"latitude_deg":9.9349864,"altitude":14,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d7b37c0","hex_latitude":"05ebf568","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267693824001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116341829300912128,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777678149632,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201949000,"timestamp_ms":1786201949000,"timestamp_seconds":1786201949,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eec348"} 
[2026-08-08 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-08-08 20:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267693824001,"66":11700,"98":206,"87":13824,"24":0,"16":116341829300912128,"45":8886305777678149632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267693824001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116341829300912128,"km_value":116341829300912.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777678149632,"description":"Unknown IO ID 45"} 
[2026-08-08 20:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267693824001,"power":11700,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8886305777678149632}} 
[2026-08-08 20:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":151706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:10] local.INFO: GPS data processed {"connection_id":151706,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:10] local.INFO: Acknowledgment sent {"connection_id":151706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:14] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f03660012cec968007266a20002900bf33..."} 
[2026-08-08 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f03660012cec968007266a20002900bf33..."} 
[2026-08-08 20:45:14] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f03660012cec968007266a20002900bf33..."} 
[2026-08-08 20:45:14] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:45:14] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":753702528,"raw_latitude":119958048,"longitude_deg":75.3702528,"latitude_deg":11.9958048,"altitude":41,"angle":191,"satellites":51,"speed":41,"hex_longitude":"2cec9680","hex_latitude":"07266a20","is_valid_coordinates":true} 
[2026-08-08 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267720704001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375899974447136768,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1396397328749846528,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202044000,"timestamp_ms":1786202044000,"timestamp_seconds":1786202044,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f03660"} 
[2026-08-08 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:45: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-08-08 20:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:45: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-08-08 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267720704001,"66":27376,"59":206,"83":43008,"24":41,"16":375899974447136768,"44":-1396397328749846528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267720704001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375899974447136768,"km_value":375899974447136.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1396397328749846528,"description":"Unknown IO ID 44"} 
[2026-08-08 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267720704001,"power":27376,"unknown_59":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1396397328749846528}} 
[2026-08-08 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:14] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:14] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:14] local.INFO: TCP Data received {"connection_id":150495,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:14] local.INFO: Processing buffer {"connection_id":150495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:14] local.INFO: Packet analysis {"connection_id":150495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:14] local.INFO: Extracted packet for processing {"connection_id":150495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":150495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:14] local.INFO: GPS data processed {"connection_id":150495,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:14] local.INFO: Acknowledgment sent {"connection_id":150495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:31] local.INFO: TCP Data received {"connection_id":150496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:31] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:31] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:45:33] local.INFO: TCP Data received {"connection_id":150496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:33] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:33] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:45:38] local.INFO: TCP Data received {"connection_id":150496,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:38] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:45:38] local.INFO: IMEI packet received {"connection_id":150496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":150496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:45:39] local.INFO: TCP Data received {"connection_id":150496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ef1550012d7b37c005ebf568000e00f12c..."} 
[2026-08-08 20:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ef1550012d7b37c005ebf568000e00f12c..."} 
[2026-08-08 20:45:39] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ef1550012d7b37c005ebf568000e00f12c..."} 
[2026-08-08 20:45:39] local.INFO: Packet analysis {"connection_id":150496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:45:39] local.INFO: Extracted packet for processing {"connection_id":150496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":99349864,"longitude_deg":76.304992,"latitude_deg":9.9349864,"altitude":14,"angle":241,"satellites":44,"speed":0,"hex_longitude":"2d7b37c0","hex_latitude":"05ebf568","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267698944001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116341829300912128,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776322050320384,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786201970000,"timestamp_ms":1786201970000,"timestamp_seconds":1786201970,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ef1550"} 
[2026-08-08 20:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 20:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267698944001,"66":12004,"98":206,"87":13824,"24":0,"16":116341829300912128,"45":8878776322050320384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267698944001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:45:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116341829300912128,"km_value":116341829300912.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776322050320384,"description":"Unknown IO ID 45"} 
[2026-08-08 20:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267698944001,"power":12004,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8878776322050320384}} 
[2026-08-08 20:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":150496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:39] local.INFO: GPS data processed {"connection_id":150496,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:39] local.INFO: Acknowledgment sent {"connection_id":150496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:41] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:45:41] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:45:41] local.INFO: IMEI packet received {"connection_id":150497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":150497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:45:45] local.INFO: TCP Data received {"connection_id":151707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f04600012cec950007265968002900b033..."} 
[2026-08-08 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f04600012cec950007265968002900b033..."} 
[2026-08-08 20:45:45] local.INFO: Processing buffer {"connection_id":151707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f04600012cec950007265968002900b033..."} 
[2026-08-08 20:45:45] local.INFO: Packet analysis {"connection_id":151707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:45:45] local.INFO: Extracted packet for processing {"connection_id":151707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":753702144,"raw_latitude":119953768,"longitude_deg":75.3702144,"latitude_deg":11.9953768,"altitude":41,"angle":176,"satellites":51,"speed":44,"hex_longitude":"2cec9500","hex_latitude":"07265968","is_valid_coordinates":true} 
[2026-08-08 20:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267723264001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375900184900534272,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1398789866054344704,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786202048000,"timestamp_ms":1786202048000,"timestamp_seconds":1786202048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f04600"} 
[2026-08-08 20:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:45: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-08-08 20:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267723264001,"66":27365,"59":206,"83":43008,"24":44,"16":375900184900534272,"44":-1398789866054344704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-08-08 20:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267723264001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:45] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-08 20:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375900184900534272,"km_value":375900184900534.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1398789866054344704,"description":"Unknown IO ID 44"} 
[2026-08-08 20:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267723264001,"power":27365,"unknown_59":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1398789866054344704}} 
[2026-08-08 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":151707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:45] local.INFO: GPS data processed {"connection_id":151707,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:45] local.INFO: Acknowledgment sent {"connection_id":151707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:46] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:45:46] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:45:46] local.INFO: IMEI packet received {"connection_id":150497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":150497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:45:47] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:47] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:47] local.INFO: Packet analysis {"connection_id":150497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:47] local.INFO: Extracted packet for processing {"connection_id":150497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:45: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-08-08 20:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":150497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:48] local.INFO: GPS data processed {"connection_id":150497,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:48] local.INFO: Acknowledgment sent {"connection_id":150497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:45:51] local.INFO: TCP Data received {"connection_id":150497,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:51] local.INFO: Processing buffer {"connection_id":150497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:45:51] local.INFO: Packet analysis {"connection_id":150497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:51] local.INFO: Extracted packet for processing {"connection_id":150497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:45:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:45:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":150497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:45:51] local.INFO: GPS data processed {"connection_id":150497,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:45:51] local.INFO: Acknowledgment sent {"connection_id":150497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:46:02] local.INFO: TCP Data received {"connection_id":150498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:02] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:02] local.INFO: IMEI packet received {"connection_id":150498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":150498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:46:04] local.INFO: TCP Data received {"connection_id":150498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:04] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:04] local.INFO: IMEI packet received {"connection_id":150498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":150498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:46:09] local.INFO: TCP Data received {"connection_id":150498,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:09] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:46:09] local.INFO: IMEI packet received {"connection_id":150498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":150498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:46:10] local.INFO: TCP Data received {"connection_id":150496,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ef6758012d7b2f4005ebf0f8000f00f32e..."} 
[2026-08-08 20:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ef6758012d7b2f4005ebf0f8000f00f32e..."} 
[2026-08-08 20:46:10] local.INFO: Processing buffer {"connection_id":150496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ef6758012d7b2f4005ebf0f8000f00f32e..."} 
[2026-08-08 20:46:10] local.INFO: Packet analysis {"connection_id":150496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:46:10] local.INFO: Extracted packet for processing {"connection_id":150496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763047744,"raw_latitude":99348728,"longitude_deg":76.3047744,"latitude_deg":9.9348728,"altitude":15,"angle":243,"satellites":46,"speed":17,"hex_longitude":"2d7b2f40","hex_latitude":"05ebf0f8","is_valid_coordinates":true} 
[2026-08-08 20:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267704320001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116341949559996416,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776322050320384,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786201991000,"timestamp_ms":1786201991000,"timestamp_seconds":1786201991,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ef6758"} 
[2026-08-08 20:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 20:46: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-08-08 20:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267704320001,"66":12058,"98":206,"87":13824,"24":17,"16":116341949559996416,"45":8878776322050320384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267704320001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:46:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:46:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116341949559996416,"km_value":116341949559996.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776322050320384,"description":"Unknown IO ID 45"} 
[2026-08-08 20:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267704320001,"power":12058,"unknown_98":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8878776322050320384}} 
[2026-08-08 20:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:46:10] local.INFO: GPS data processed {"connection_id":150496,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:46:10] local.INFO: Acknowledgment sent {"connection_id":150496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:46:14] local.INFO: TCP Data received {"connection_id":150498,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f05988012cec9940072643e8002700a332..."} 
[2026-08-08 20:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f05988012cec9940072643e8002700a332..."} 
[2026-08-08 20:46:14] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f05988012cec9940072643e8002700a332..."} 
[2026-08-08 20:46:14] local.INFO: Packet analysis {"connection_id":150498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:46:14] local.INFO: Extracted packet for processing {"connection_id":150498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753703232,"raw_latitude":119948264,"longitude_deg":75.3703232,"latitude_deg":11.9948264,"altitude":39,"angle":163,"satellites":50,"speed":44,"hex_longitude":"2cec9940","hex_latitude":"072643e8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267724288001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375900455483473920,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1399212078520506368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202053000,"timestamp_ms":1786202053000,"timestamp_seconds":1786202053,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f05988"} 
[2026-08-08 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-08-08 20:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:46: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-08-08 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-08-08 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-08-08 20:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:46: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-08-08 20:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267724288001,"66":27343,"59":206,"83":43008,"24":44,"16":375900455483473920,"44":-1399212078520506368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-08-08 20:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267724288001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:46:14] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-08 20:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375900455483473920,"km_value":375900455483473.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1399212078520506368,"description":"Unknown IO ID 44"} 
[2026-08-08 20:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267724288001,"power":27343,"unknown_59":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1399212078520506368}} 
[2026-08-08 20:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":150498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:46:14] local.INFO: GPS data processed {"connection_id":150498,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:46:14] local.INFO: Acknowledgment sent {"connection_id":150498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:46:30] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:30] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:30] local.INFO: IMEI packet received {"connection_id":150785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":150785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:46:31] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:31] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:31] local.INFO: IMEI packet received {"connection_id":150785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":150785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:46:36] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:46:36] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:46:36] local.INFO: IMEI packet received {"connection_id":150499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:46:36] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:36] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:46:36] local.INFO: IMEI packet received {"connection_id":150785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":150785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:46:37] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1efb960012d7b110005ebe218000e00f42e..."} 
[2026-08-08 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1efb960012d7b110005ebe218000e00f42e..."} 
[2026-08-08 20:46:37] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1efb960012d7b110005ebe218000e00f42e..."} 
[2026-08-08 20:46:37] local.INFO: Packet analysis {"connection_id":150785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:46:37] local.INFO: Extracted packet for processing {"connection_id":150785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ef"} 
[2026-08-08 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":99344920,"longitude_deg":76.304,"latitude_deg":9.934492,"altitude":14,"angle":244,"satellites":46,"speed":13,"hex_longitude":"2d7b1100","hex_latitude":"05ebe218","is_valid_coordinates":true} 
[2026-08-08 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267709696001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116342361876856832,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876383784747988992,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202012000,"timestamp_ms":1786202012000,"timestamp_seconds":1786202012,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1efb960"} 
[2026-08-08 20:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 20:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267709696001,"66":12113,"98":206,"87":13824,"24":13,"16":116342361876856832,"45":8876383784747988992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267709696001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:46:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:46:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116342361876856832,"km_value":116342361876856.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876383784747988992,"description":"Unknown IO ID 45"} 
[2026-08-08 20:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267709696001,"power":12113,"unknown_98":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8876383784747988992}} 
[2026-08-08 20:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":150785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:46:37] local.INFO: GPS data processed {"connection_id":150785,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:46:37] local.INFO: Acknowledgment sent {"connection_id":150785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:46:41] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:46:41] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:46:41] local.INFO: IMEI packet received {"connection_id":150499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:46:45] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:46:45] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:46:45] local.INFO: Packet analysis {"connection_id":150499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:46:45] local.INFO: Extracted packet for processing {"connection_id":150499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 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-08-08 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:46:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":150499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:46:45] local.INFO: GPS data processed {"connection_id":150499,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:46:45] local.INFO: Acknowledgment sent {"connection_id":150499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:04] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:47:04] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:47:04] local.INFO: IMEI packet received {"connection_id":150786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":150786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:47:08] local.INFO: TCP Data received {"connection_id":150785,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f00b68012d7afec005ebd8e8000e00f22e..."} 
[2026-08-08 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f00b68012d7afec005ebd8e8000e00f22e..."} 
[2026-08-08 20:47:08] local.INFO: Processing buffer {"connection_id":150785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f00b68012d7afec005ebd8e8000e00f22e..."} 
[2026-08-08 20:47:08] local.INFO: Packet analysis {"connection_id":150785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:47:08] local.INFO: Extracted packet for processing {"connection_id":150785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763035328,"raw_latitude":99342568,"longitude_deg":76.3035328,"latitude_deg":9.9342568,"altitude":14,"angle":242,"satellites":46,"speed":0,"hex_longitude":"2d7afec0","hex_latitude":"05ebd8e8","is_valid_coordinates":true} 
[2026-08-08 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267715072001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116342610984960000,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166701516800,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202033000,"timestamp_ms":1786202033000,"timestamp_seconds":1786202033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f00b68"} 
[2026-08-08 20:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 20:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267715072001,"66":11852,"98":206,"87":13824,"24":0,"16":116342610984960000,"45":8867869166701516800},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267715072001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116342610984960000,"km_value":116342610984960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166701516800,"description":"Unknown IO ID 45"} 
[2026-08-08 20:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267715072001,"power":11852,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8867869166701516800}} 
[2026-08-08 20:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":150785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:08] local.INFO: GPS data processed {"connection_id":150785,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:08] local.INFO: Acknowledgment sent {"connection_id":150785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:09] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:47:09] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:47:09] local.INFO: IMEI packet received {"connection_id":150786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":150786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:47:10] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f1e028012ced7f000724e9e8002c00a933..."} 
[2026-08-08 20:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f1e028012ced7f000724e9e8002c00a933..."} 
[2026-08-08 20:47:10] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f1e028012ced7f000724e9e8002c00a933..."} 
[2026-08-08 20:47:10] local.INFO: Packet analysis {"connection_id":150786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:47:10] local.INFO: Extracted packet for processing {"connection_id":150786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":753762048,"raw_latitude":119859688,"longitude_deg":75.3762048,"latitude_deg":11.9859688,"altitude":44,"angle":169,"satellites":51,"speed":9,"hex_longitude":"2ced7f00","hex_latitude":"0724e9e8","is_valid_coordinates":true} 
[2026-08-08 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267745792001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375905394695864320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1336443158735808512,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786202153000,"timestamp_ms":1786202153000,"timestamp_seconds":1786202153,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f1e028"} 
[2026-08-08 20:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:47: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-08-08 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:47: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-08-08 20:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267745792001,"66":27376,"58":206,"83":43008,"24":9,"16":375905394695864320,"44":-1336443158735808512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 20:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267745792001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 20:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375905394695864320,"km_value":375905394695864.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1336443158735808512,"description":"Unknown IO ID 44"} 
[2026-08-08 20:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267745792001,"power":27376,"unknown_58":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1336443158735808512}} 
[2026-08-08 20:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":150786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:10] local.INFO: GPS data processed {"connection_id":150786,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:10] local.INFO: Acknowledgment sent {"connection_id":150786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:16] local.INFO: TCP Data received {"connection_id":150498,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f18e20012ced740007250d18002d009e33..."} 
[2026-08-08 20:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f18e20012ced740007250d18002d009e33..."} 
[2026-08-08 20:47:16] local.INFO: Processing buffer {"connection_id":150498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f18e20012ced740007250d18002d009e33..."} 
[2026-08-08 20:47:16] local.INFO: Packet analysis {"connection_id":150498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:47:16] local.INFO: Extracted packet for processing {"connection_id":150498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:47:16] local.INFO: GPS Element Parsed {"raw_longitude":753759232,"raw_latitude":119868696,"longitude_deg":75.3759232,"latitude_deg":11.9868696,"altitude":45,"angle":158,"satellites":51,"speed":39,"hex_longitude":"2ced7400","hex_latitude":"07250d18","is_valid_coordinates":true} 
[2026-08-08 20:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267743744001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375905184242466816,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1340243070919243776,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786202132000,"timestamp_ms":1786202132000,"timestamp_seconds":1786202132,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f18e20"} 
[2026-08-08 20:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:47: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-08-08 20:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 20:47: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-08-08 20:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267743744001,"66":27267,"58":206,"83":43008,"24":39,"16":375905184242466816,"44":-1340243070919243776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 20:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267743744001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 20:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375905184242466816,"km_value":375905184242466.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1340243070919243776,"description":"Unknown IO ID 44"} 
[2026-08-08 20:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267743744001,"power":27267,"unknown_58":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1340243070919243776}} 
[2026-08-08 20:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":150498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:16] local.INFO: GPS data processed {"connection_id":150498,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:16] local.INFO: Acknowledgment sent {"connection_id":150498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:17] local.INFO: TCP Data received {"connection_id":150499,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:47:17] local.INFO: Processing buffer {"connection_id":150499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:47:17] local.INFO: Packet analysis {"connection_id":150499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:47:17] local.INFO: Extracted packet for processing {"connection_id":150499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:47:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":150499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:17] local.INFO: GPS data processed {"connection_id":150499,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:17] local.INFO: Acknowledgment sent {"connection_id":150499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:31] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:47:31] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:47:31] local.INFO: IMEI packet received {"connection_id":150787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":150787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:47:36] local.INFO: TCP Data received {"connection_id":150788,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:47:36] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:47:36] local.INFO: IMEI packet received {"connection_id":150788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":150788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:47:36] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:47:36] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:47:36] local.INFO: IMEI packet received {"connection_id":150787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":150787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:47:37] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f05d70012d7afec005ebd8e8000e00f22d..."} 
[2026-08-08 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f05d70012d7afec005ebd8e8000e00f22d..."} 
[2026-08-08 20:47:37] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f05d70012d7afec005ebd8e8000e00f22d..."} 
[2026-08-08 20:47:37] local.INFO: Packet analysis {"connection_id":150787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:47:37] local.INFO: Extracted packet for processing {"connection_id":150787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763035328,"raw_latitude":99342568,"longitude_deg":76.3035328,"latitude_deg":9.9342568,"altitude":14,"angle":242,"satellites":45,"speed":0,"hex_longitude":"2d7afec0","hex_latitude":"05ebd8e8","is_valid_coordinates":true} 
[2026-08-08 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267720448001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116342610984960000,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862732248375945216,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202054000,"timestamp_ms":1786202054000,"timestamp_seconds":1786202054,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f05d70"} 
[2026-08-08 20:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 20:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267720448001,"66":12069,"98":206,"87":13824,"24":0,"16":116342610984960000,"45":8862732248375945216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267720448001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:47:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116342610984960000,"km_value":116342610984960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862732248375945216,"description":"Unknown IO ID 45"} 
[2026-08-08 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267720448001,"power":12069,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8862732248375945216}} 
[2026-08-08 20:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":150787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:37] local.INFO: GPS data processed {"connection_id":150787,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:37] local.INFO: Acknowledgment sent {"connection_id":150787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:41] local.INFO: TCP Data received {"connection_id":150786,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f1e028012ced7f000724e9e8002c00a933..."} 
[2026-08-08 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f1e028012ced7f000724e9e8002c00a933..."} 
[2026-08-08 20:47:41] local.INFO: Processing buffer {"connection_id":150786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f1e028012ced7f000724e9e8002c00a933..."} 
[2026-08-08 20:47:41] local.INFO: Packet analysis {"connection_id":150786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:47:41] local.INFO: Extracted packet for processing {"connection_id":150786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753762048,"raw_latitude":119859688,"longitude_deg":75.3762048,"latitude_deg":11.9859688,"altitude":44,"angle":169,"satellites":51,"speed":9,"hex_longitude":"2ced7f00","hex_latitude":"0724e9e8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267751168001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375905394695864320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333346933994297344,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786202153000,"timestamp_ms":1786202153000,"timestamp_seconds":1786202153,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f1e028"} 
[2026-08-08 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-08-08 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:47: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-08-08 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267751168001,"66":27376,"58":206,"83":43008,"24":9,"16":375905394695864320,"44":-1333346933994297344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 20:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267751168001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:41] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 20:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375905394695864320,"km_value":375905394695864.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333346933994297344,"description":"Unknown IO ID 44"} 
[2026-08-08 20:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267751168001,"power":27376,"unknown_58":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1333346933994297344}} 
[2026-08-08 20:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":150786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:41] local.INFO: GPS data processed {"connection_id":150786,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:41] local.INFO: Acknowledgment sent {"connection_id":150786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:47:41] local.INFO: TCP Data received {"connection_id":150788,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:47:41] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:47:41] local.INFO: IMEI packet received {"connection_id":150788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":150788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:47:42] local.INFO: TCP Data received {"connection_id":150788,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:47:42] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1eea408012d196a80071fef680042011728..."} 
[2026-08-08 20:47:42] local.INFO: Packet analysis {"connection_id":150788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:47:42] local.INFO: Extracted packet for processing {"connection_id":150788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ee"} 
[2026-08-08 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267619840001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:47: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-08-08 20:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786201941000,"timestamp_ms":1786201941000,"timestamp_seconds":1786201941,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1eea408"} 
[2026-08-08 20:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 20:47: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-08-08 20:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267619840001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267619840001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:47:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267619840001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":150788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:47:42] local.INFO: GPS data processed {"connection_id":150788,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:47:42] local.INFO: Acknowledgment sent {"connection_id":150788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:04] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:04] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:04] local.INFO: IMEI packet received {"connection_id":153188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":153188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:48:08] local.INFO: TCP Data received {"connection_id":150787,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f0af78012d7af0c005ebd200000c00f22f..."} 
[2026-08-08 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f0af78012d7af0c005ebd200000c00f22f..."} 
[2026-08-08 20:48:08] local.INFO: Processing buffer {"connection_id":150787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f0af78012d7af0c005ebd200000c00f22f..."} 
[2026-08-08 20:48:08] local.INFO: Packet analysis {"connection_id":150787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:48:08] local.INFO: Extracted packet for processing {"connection_id":150787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763031744,"raw_latitude":99340800,"longitude_deg":76.3031744,"latitude_deg":9.93408,"altitude":12,"angle":242,"satellites":47,"speed":12,"hex_longitude":"2d7af0c0","hex_latitude":"05ebd200","is_valid_coordinates":true} 
[2026-08-08 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267725824001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116342804258488320,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862732248375945216,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202075000,"timestamp_ms":1786202075000,"timestamp_seconds":1786202075,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f0af78"} 
[2026-08-08 20:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:48: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-08-08 20:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267725824001,"66":12113,"98":206,"87":13824,"24":12,"16":116342804258488320,"45":8862732248375945216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267725824001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:48:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116342804258488320,"km_value":116342804258488.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862732248375945216,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267725824001,"power":12113,"unknown_98":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8862732248375945216}} 
[2026-08-08 20:48:08] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:08] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:08] local.INFO: IMEI packet received {"connection_id":153188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":153188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":150787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:08] local.INFO: GPS data processed {"connection_id":150787,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:08] local.INFO: Acknowledgment sent {"connection_id":150787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:09] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:09] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:48:09] local.INFO: IMEI packet received {"connection_id":153188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":153188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:48:14] local.INFO: TCP Data received {"connection_id":150788,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:14] local.INFO: Processing buffer {"connection_id":150788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:14] local.INFO: Packet analysis {"connection_id":150788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:14] local.INFO: Extracted packet for processing {"connection_id":150788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":150788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:14] local.INFO: GPS data processed {"connection_id":150788,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:14] local.INFO: Acknowledgment sent {"connection_id":150788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:17] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f22678012ced81800724c5f0002c00b332..."} 
[2026-08-08 20:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f22678012ced81800724c5f0002c00b332..."} 
[2026-08-08 20:48:17] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f22678012ced81800724c5f0002c00b332..."} 
[2026-08-08 20:48:17] local.INFO: Packet analysis {"connection_id":153188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f2"} 
[2026-08-08 20:48:17] local.INFO: Extracted packet for processing {"connection_id":153188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f2"} 
[2026-08-08 20:48:17] local.INFO: GPS Element Parsed {"raw_longitude":753762688,"raw_latitude":119850480,"longitude_deg":75.3762688,"latitude_deg":11.985048,"altitude":44,"angle":179,"satellites":50,"speed":29,"hex_longitude":"2ced8180","hex_latitude":"0724c5f0","is_valid_coordinates":true} 
[2026-08-08 20:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267751168001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375905845667430400,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333346933994297344,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786202171000,"timestamp_ms":1786202171000,"timestamp_seconds":1786202171,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f22678"} 
[2026-08-08 20:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267751168001,"66":27300,"58":206,"83":43008,"24":29,"16":375905845667430400,"44":-1333346933994297344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267751168001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375905845667430400,"km_value":375905845667430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333346933994297344,"description":"Unknown IO ID 44"} 
[2026-08-08 20:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267751168001,"power":27300,"unknown_58":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1333346933994297344}} 
[2026-08-08 20:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":153188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:17] local.INFO: GPS data processed {"connection_id":153188,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:17] local.INFO: Acknowledgment sent {"connection_id":153188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:17] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f249a0012ced7f400724a8e8002c00bf33..."} 
[2026-08-08 20:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f249a0012ced7f400724a8e8002c00bf33..."} 
[2026-08-08 20:48:17] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f249a0012ced7f400724a8e8002c00bf33..."} 
[2026-08-08 20:48:17] local.INFO: Packet analysis {"connection_id":153188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f2"} 
[2026-08-08 20:48:17] local.INFO: Extracted packet for processing {"connection_id":153188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f2"} 
[2026-08-08 20:48:17] local.INFO: GPS Element Parsed {"raw_longitude":753762112,"raw_latitude":119843048,"longitude_deg":75.3762112,"latitude_deg":11.9843048,"altitude":44,"angle":191,"satellites":51,"speed":35,"hex_longitude":"2ced7f40","hex_latitude":"0724a8e8","is_valid_coordinates":true} 
[2026-08-08 20:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267755776001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375906206444683264,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332643246554877952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786202180000,"timestamp_ms":1786202180000,"timestamp_seconds":1786202180,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f249a0"} 
[2026-08-08 20:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":153188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":153188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":153188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267755776001,"66":27300,"87":206,"83":43008,"24":35,"16":375906206444683264,"44":-1332643246554877952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-08 20:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267755776001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375906206444683264,"km_value":375906206444683.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332643246554877952,"description":"Unknown IO ID 44"} 
[2026-08-08 20:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267755776001,"power":27300,"unknown_87":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1332643246554877952}} 
[2026-08-08 20:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":153188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:17] local.INFO: GPS data processed {"connection_id":153188,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:17] local.INFO: Acknowledgment sent {"connection_id":153188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:36] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:48:36] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:48:36] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:48:41] local.INFO: TCP Data received {"connection_id":150789,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:48:41] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:48:41] local.INFO: IMEI packet received {"connection_id":150789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":150789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:48:41] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:48:41] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:48:41] local.INFO: IMEI packet received {"connection_id":151708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:48:42] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f0fd98012d7ad04005ebc1e0000b00f32e..."} 
[2026-08-08 20:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f0fd98012d7ad04005ebc1e0000b00f32e..."} 
[2026-08-08 20:48:42] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f0fd98012d7ad04005ebc1e0000b00f32e..."} 
[2026-08-08 20:48:42] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:48:42] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f0"} 
[2026-08-08 20:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763023424,"raw_latitude":99336672,"longitude_deg":76.3023424,"latitude_deg":9.9336672,"altitude":11,"angle":243,"satellites":46,"speed":18,"hex_longitude":"2d7ad040","hex_latitude":"05ebc1e0","is_valid_coordinates":true} 
[2026-08-08 20:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267731200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116343246640119808,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858791598701543424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202095000,"timestamp_ms":1786202095000,"timestamp_seconds":1786202095,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f0fd98"} 
[2026-08-08 20:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 20:48: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-08-08 20:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267731200001,"66":11765,"98":206,"87":13824,"24":18,"16":116343246640119808,"45":8858791598701543424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267731200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:42] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:48:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116343246640119808,"km_value":116343246640119.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858791598701543424,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267731200001,"power":11765,"unknown_98":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8858791598701543424}} 
[2026-08-08 20:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:42] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:42] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:45] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f147d0012d7aaf0005ebb328000900f82f..."} 
[2026-08-08 20:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f147d0012d7aaf0005ebb328000900f82f..."} 
[2026-08-08 20:48:45] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f147d0012d7aaf0005ebb328000900f82f..."} 
[2026-08-08 20:48:45] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:48:45] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f1"} 
[2026-08-08 20:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763014912,"raw_latitude":99332904,"longitude_deg":76.3014912,"latitude_deg":9.9332904,"altitude":9,"angle":248,"satellites":47,"speed":22,"hex_longitude":"2d7aaf00","hex_latitude":"05ebb328","is_valid_coordinates":true} 
[2026-08-08 20:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267736320001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116343697611685888,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849643661957390336,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786202114000,"timestamp_ms":1786202114000,"timestamp_seconds":1786202114,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f147d0"} 
[2026-08-08 20:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267736320001,"66":11895,"98":206,"87":13824,"24":22,"16":116343697611685888,"45":8849643661957390336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 20:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267736320001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 20:48:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116343697611685888,"km_value":116343697611685.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849643661957390336,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267736320001,"power":11895,"unknown_98":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8849643661957390336}} 
[2026-08-08 20:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:45] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:45] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:46] local.INFO: TCP Data received {"connection_id":150789,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:48:46] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:48:46] local.INFO: IMEI packet received {"connection_id":150789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":150789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:48:48] local.INFO: TCP Data received {"connection_id":150789,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:48] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:48] local.INFO: Packet analysis {"connection_id":150789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:48] local.INFO: Extracted packet for processing {"connection_id":150789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":150789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:48] local.INFO: GPS data processed {"connection_id":150789,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:48] local.INFO: Acknowledgment sent {"connection_id":150789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:48] local.INFO: TCP Data received {"connection_id":153188,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f3c0a0012cece88007237398001e00eb32..."} 
[2026-08-08 20:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f3c0a0012cece88007237398001e00eb32..."} 
[2026-08-08 20:48:48] local.INFO: Processing buffer {"connection_id":153188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f3c0a0012cece88007237398001e00eb32..."} 
[2026-08-08 20:48:48] local.INFO: Packet analysis {"connection_id":153188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:48] local.INFO: Extracted packet for processing {"connection_id":153188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:48] local.INFO: GPS Element Parsed {"raw_longitude":753723520,"raw_latitude":119763864,"longitude_deg":75.372352,"latitude_deg":11.9763864,"altitude":30,"angle":235,"satellites":50,"speed":48,"hex_longitude":"2cece880","hex_latitude":"07237398","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267781376001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375910548656619520,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1370571999687872512,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:48] 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-08-08 20:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786202276000,"timestamp_ms":1786202276000,"timestamp_seconds":1786202276,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f3c0a0"} 
[2026-08-08 20:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267781376001,"66":27365,"79":206,"83":43008,"24":48,"16":375910548656619520,"44":-1370571999687872512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-08 20:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267781376001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375910548656619520,"km_value":375910548656619.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1370571999687872512,"description":"Unknown IO ID 44"} 
[2026-08-08 20:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267781376001,"power":27365,"unknown_79":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1370571999687872512}} 
[2026-08-08 20:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":153188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:48] local.INFO: GPS data processed {"connection_id":153188,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:48] local.INFO: Acknowledgment sent {"connection_id":153188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:52] local.INFO: TCP Data received {"connection_id":150789,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:52] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:52] local.INFO: Packet analysis {"connection_id":150789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:52] local.INFO: Extracted packet for processing {"connection_id":150789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:48:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":150789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:52] local.INFO: GPS data processed {"connection_id":150789,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:52] local.INFO: Acknowledgment sent {"connection_id":150789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:48:57] local.INFO: TCP Data received {"connection_id":150789,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:57] local.INFO: Processing buffer {"connection_id":150789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:48:57] local.INFO: Packet analysis {"connection_id":150789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:57] local.INFO: Extracted packet for processing {"connection_id":150789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":150789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":150789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":150789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:48:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":150789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:48:57] local.INFO: GPS data processed {"connection_id":150789,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:48:57] local.INFO: Acknowledgment sent {"connection_id":150789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:09] local.INFO: TCP Data received {"connection_id":150500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:49:09] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:49:09] local.INFO: IMEI packet received {"connection_id":150500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":150500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:49:11] local.INFO: TCP Data received {"connection_id":150500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:49:11] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:49:11] local.INFO: IMEI packet received {"connection_id":150500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":150500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:49:12] local.INFO: TCP Data received {"connection_id":150500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f3dfe0012cecc78007235e48001f00ee2d..."} 
[2026-08-08 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f3dfe0012cecc78007235e48001f00ee2d..."} 
[2026-08-08 20:49:12] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f3dfe0012cecc78007235e48001f00ee2d..."} 
[2026-08-08 20:49:12] local.INFO: Packet analysis {"connection_id":150500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:12] local.INFO: Extracted packet for processing {"connection_id":150500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753715072,"raw_latitude":119758408,"longitude_deg":75.3715072,"latitude_deg":11.9758408,"altitude":31,"angle":238,"satellites":45,"speed":51,"hex_longitude":"2cecc780","hex_latitude":"07235e48","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267782656001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375911029692956672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375708918013782016,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:12] 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-08-08 20:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786202284000,"timestamp_ms":1786202284000,"timestamp_seconds":1786202284,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f3dfe0"} 
[2026-08-08 20:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49: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-08-08 20:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 20:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267782656001,"66":27397,"79":206,"83":43008,"24":51,"16":375911029692956672,"44":-1375708918013782016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-08 20:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267782656001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 20:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375911029692956672,"km_value":375911029692956.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375708918013782016,"description":"Unknown IO ID 44"} 
[2026-08-08 20:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267782656001,"power":27397,"unknown_79":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-1375708918013782016}} 
[2026-08-08 20:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":150500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:12] local.INFO: GPS data processed {"connection_id":150500,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:12] local.INFO: Acknowledgment sent {"connection_id":150500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:14] local.INFO: TCP Data received {"connection_id":150500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f3f368012cecb0c0072352e8001f00f92c..."} 
[2026-08-08 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f3f368012cecb0c0072352e8001f00f92c..."} 
[2026-08-08 20:49:14] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f3f368012cecb0c0072352e8001f00f92c..."} 
[2026-08-08 20:49:14] local.INFO: Packet analysis {"connection_id":150500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:14] local.INFO: Extracted packet for processing {"connection_id":150500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":753709248,"raw_latitude":119755496,"longitude_deg":75.3709248,"latitude_deg":11.9755496,"altitude":31,"angle":249,"satellites":44,"speed":48,"hex_longitude":"2cecb0c0","hex_latitude":"072352e8","is_valid_coordinates":true} 
[2026-08-08 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267784704001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375911338930601984,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384997592246630400,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:14] 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-08-08 20:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202289000,"timestamp_ms":1786202289000,"timestamp_seconds":1786202289,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f3f368"} 
[2026-08-08 20:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:49: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-08-08 20:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:49: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-08-08 20:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267784704001,"66":27397,"79":206,"83":43008,"24":48,"16":375911338930601984,"44":-1384997592246630400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-08-08 20:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267784704001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 20:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375911338930601984,"km_value":375911338930602.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384997592246630400,"description":"Unknown IO ID 44"} 
[2026-08-08 20:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267784704001,"power":27397,"unknown_79":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1384997592246630400}} 
[2026-08-08 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":150500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:14] local.INFO: GPS data processed {"connection_id":150500,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:14] local.INFO: Acknowledgment sent {"connection_id":150500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:16] local.INFO: TCP Data received {"connection_id":151708,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f47838012d79644005eb36e8000700f92f..."} 
[2026-08-08 20:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f47838012d79644005eb36e8000700f92f..."} 
[2026-08-08 20:49:16] local.INFO: Processing buffer {"connection_id":151708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f47838012d79644005eb36e8000700f92f..."} 
[2026-08-08 20:49:16] local.INFO: Packet analysis {"connection_id":151708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:16] local.INFO: Extracted packet for processing {"connection_id":151708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:16] local.INFO: GPS Element Parsed {"raw_longitude":762930240,"raw_latitude":99301096,"longitude_deg":76.293024,"latitude_deg":9.9301096,"altitude":7,"angle":249,"satellites":47,"speed":12,"hex_longitude":"2d796440","hex_latitude":"05eb36e8","is_valid_coordinates":true} 
[2026-08-08 20:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267789312001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116348026938720256,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8754575488564903936,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786202323000,"timestamp_ms":1786202323000,"timestamp_seconds":1786202323,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f47838"} 
[2026-08-08 20:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:49:16] 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-08-08 20:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267789312001,"66":12015,"163":206,"87":13824,"24":12,"16":116348026938720256,"45":8754575488564903936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267789312001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:49:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116348026938720256,"km_value":116348026938720.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8754575488564903936,"description":"Unknown IO ID 45"} 
[2026-08-08 20:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267789312001,"power":12015,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8754575488564903936}} 
[2026-08-08 20:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":151708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:16] local.INFO: GPS data processed {"connection_id":151708,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:16] local.INFO: Acknowledgment sent {"connection_id":151708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:31] local.INFO: TCP Data received {"connection_id":150501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:49:31] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:49:31] local.INFO: IMEI packet received {"connection_id":150501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":150501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:49:35] local.INFO: TCP Data received {"connection_id":150501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:49:35] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:49:35] local.INFO: IMEI packet received {"connection_id":150501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":150501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:49:36] local.INFO: TCP Data received {"connection_id":150501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f4ca40012d7947c005eb2c38000600f72f..."} 
[2026-08-08 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f4ca40012d7947c005eb2c38000600f72f..."} 
[2026-08-08 20:49:36] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f4ca40012d7947c005eb2c38000600f72f..."} 
[2026-08-08 20:49:36] local.INFO: Packet analysis {"connection_id":150501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:36] local.INFO: Extracted packet for processing {"connection_id":150501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762922944,"raw_latitude":99298360,"longitude_deg":76.2922944,"latitude_deg":9.929836,"altitude":6,"angle":247,"satellites":47,"speed":31,"hex_longitude":"2d7947c0","hex_latitude":"05eb2c38","is_valid_coordinates":true} 
[2026-08-08 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267794688001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116348400600875008,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8747186770425604096,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786202344000,"timestamp_ms":1786202344000,"timestamp_seconds":1786202344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f4ca40"} 
[2026-08-08 20:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 20:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267794688001,"66":11874,"163":206,"87":13824,"24":31,"16":116348400600875008,"45":8747186770425604096},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267794688001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116348400600875008,"km_value":116348400600875.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8747186770425604096,"description":"Unknown IO ID 45"} 
[2026-08-08 20:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267794688001,"power":11874,"unknown_163":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8747186770425604096}} 
[2026-08-08 20:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":150501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:36] local.INFO: GPS data processed {"connection_id":150501,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:36] local.INFO: Acknowledgment sent {"connection_id":150501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:36] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:49:36] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:49:36] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:49:36] local.INFO: TCP Data received {"connection_id":150501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f4f150012d79264005eb1f58000500f92e..."} 
[2026-08-08 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f4f150012d79264005eb1f58000500f92e..."} 
[2026-08-08 20:49:36] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f4f150012d79264005eb1f58000500f92e..."} 
[2026-08-08 20:49:36] local.INFO: Packet analysis {"connection_id":150501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:36] local.INFO: Extracted packet for processing {"connection_id":150501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762914368,"raw_latitude":99295064,"longitude_deg":76.2914368,"latitude_deg":9.9295064,"altitude":5,"angle":249,"satellites":46,"speed":36,"hex_longitude":"2d792640","hex_latitude":"05eb1f58","is_valid_coordinates":true} 
[2026-08-08 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267800064001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116348838687539200,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8739164733588649984,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786202354000,"timestamp_ms":1786202354000,"timestamp_seconds":1786202354,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f4f150"} 
[2026-08-08 20:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:49:36] 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-08-08 20:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267800064001,"66":12189,"163":206,"87":13824,"24":36,"16":116348838687539200,"45":8739164733588649984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267800064001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116348838687539200,"km_value":116348838687539.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8739164733588649984,"description":"Unknown IO ID 45"} 
[2026-08-08 20:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267800064001,"power":12189,"unknown_163":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8739164733588649984}} 
[2026-08-08 20:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":150501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:36] local.INFO: GPS data processed {"connection_id":150501,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:36] local.INFO: Acknowledgment sent {"connection_id":150501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:41] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:49:41] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:49:41] local.INFO: IMEI packet received {"connection_id":151709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":151709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:49:43] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:49:43] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:49:43] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:43] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:43] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:43] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:45] local.INFO: TCP Data received {"connection_id":150500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f412a8012cec8d0007234958001e010330..."} 
[2026-08-08 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f412a8012cec8d0007234958001e010330..."} 
[2026-08-08 20:49:45] local.INFO: Processing buffer {"connection_id":150500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f412a8012cec8d0007234958001e010330..."} 
[2026-08-08 20:49:45] local.INFO: Packet analysis {"connection_id":150500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:45] local.INFO: Extracted packet for processing {"connection_id":150500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":753700096,"raw_latitude":119753048,"longitude_deg":75.3700096,"latitude_deg":11.9753048,"altitude":30,"angle":259,"satellites":48,"speed":42,"hex_longitude":"2cec8d00","hex_latitude":"07234958","is_valid_coordinates":true} 
[2026-08-08 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267785984001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375911789902168064,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1391401147967543296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786202297000,"timestamp_ms":1786202297000,"timestamp_seconds":1786202297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f412a8"} 
[2026-08-08 20:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:49: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-08-08 20:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:49: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-08-08 20:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267785984001,"66":27245,"81":206,"83":43008,"24":42,"16":375911789902168064,"44":-1391401147967543296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-08 20:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267785984001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 20:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375911789902168064,"km_value":375911789902168.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1391401147967543296,"description":"Unknown IO ID 44"} 
[2026-08-08 20:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267785984001,"power":27245,"unknown_81":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1391401147967543296}} 
[2026-08-08 20:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":150500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:46] local.INFO: GPS data processed {"connection_id":150500,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:46] local.INFO: Acknowledgment sent {"connection_id":150500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:49:47] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:49:47] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:49:47] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:47] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:49:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:49:47] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:49:47] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:05] local.INFO: TCP Data received {"connection_id":153189,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:50:05] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:50:05] local.INFO: IMEI packet received {"connection_id":153189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":153189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:50:07] local.INFO: TCP Data received {"connection_id":153189,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:50:07] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:50:07] local.INFO: IMEI packet received {"connection_id":153189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":153189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:50:08] local.INFO: TCP Data received {"connection_id":150501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f51860012d79028005eb1228000500f92c..."} 
[2026-08-08 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f51860012d79028005eb1228000500f92c..."} 
[2026-08-08 20:50:08] local.INFO: Processing buffer {"connection_id":150501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f51860012d79028005eb1228000500f92c..."} 
[2026-08-08 20:50:08] local.INFO: Packet analysis {"connection_id":150501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:50:08] local.INFO: Extracted packet for processing {"connection_id":150501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":762905216,"raw_latitude":99291688,"longitude_deg":76.2905216,"latitude_deg":9.9291688,"altitude":5,"angle":249,"satellites":44,"speed":34,"hex_longitude":"2d790280","hex_latitude":"05eb1228","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267802624001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116349306838974464,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8729735321867999232,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202364000,"timestamp_ms":1786202364000,"timestamp_seconds":1786202364,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f51860"} 
[2026-08-08 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 20:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267802624001,"66":11874,"163":206,"87":13824,"24":34,"16":116349306838974464,"45":8729735321867999232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267802624001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116349306838974464,"km_value":116349306838974.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8729735321867999232,"description":"Unknown IO ID 45"} 
[2026-08-08 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267802624001,"power":11874,"unknown_163":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8729735321867999232}} 
[2026-08-08 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":150501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:08] local.INFO: GPS data processed {"connection_id":150501,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:08] local.INFO: Acknowledgment sent {"connection_id":150501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:08] local.INFO: TCP Data received {"connection_id":153189,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f435d0012cec694007234580001e01072f..."} 
[2026-08-08 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f435d0012cec694007234580001e01072f..."} 
[2026-08-08 20:50:08] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f435d0012cec694007234580001e01072f..."} 
[2026-08-08 20:50:08] local.INFO: Packet analysis {"connection_id":153189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:50:08] local.INFO: Extracted packet for processing {"connection_id":153189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":753690944,"raw_latitude":119752064,"longitude_deg":75.3690944,"latitude_deg":11.9752064,"altitude":30,"angle":263,"satellites":47,"speed":41,"hex_longitude":"2cec6940","hex_latitude":"07234580","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267788032001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375912223693864960,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401463878385575936,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202306000,"timestamp_ms":1786202306000,"timestamp_seconds":1786202306,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f435d0"} 
[2026-08-08 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 20:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267788032001,"66":27321,"81":206,"83":43008,"24":41,"16":375912223693864960,"44":-1401463878385575936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-08 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267788032001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375912223693864960,"km_value":375912223693864.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401463878385575936,"description":"Unknown IO ID 44"} 
[2026-08-08 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267788032001,"power":27321,"unknown_81":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1401463878385575936}} 
[2026-08-08 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":153189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:08] local.INFO: GPS data processed {"connection_id":153189,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:08] local.INFO: Acknowledgment sent {"connection_id":153189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:09] local.INFO: TCP Data received {"connection_id":153189,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f45128012cec4bc007233fa8001d00f930..."} 
[2026-08-08 20:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f45128012cec4bc007233fa8001d00f930..."} 
[2026-08-08 20:50:09] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f45128012cec4bc007233fa8001d00f930..."} 
[2026-08-08 20:50:09] local.INFO: Packet analysis {"connection_id":153189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:50:09] local.INFO: Extracted packet for processing {"connection_id":153189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:50:09] local.INFO: GPS Element Parsed {"raw_longitude":753683392,"raw_latitude":119750568,"longitude_deg":75.3683392,"latitude_deg":11.9750568,"altitude":29,"angle":249,"satellites":48,"speed":44,"hex_longitude":"2cec4bc0","hex_latitude":"07233fa8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267790336001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375912593061052416,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411526608803233792,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786202313000,"timestamp_ms":1786202313000,"timestamp_seconds":1786202313,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f45128"} 
[2026-08-08 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-08-08 20:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":185,"data_length":795,"current_offset":136} 
[2026-08-08 20:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267790336001,"66":27484,"81":206,"83":43008,"24":44,"16":375912593061052416,"44":-1411526608803233792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,83,24,16,44]} 
[2026-08-08 20:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267790336001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 20:50:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375912593061052416,"km_value":375912593061052.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411526608803233792,"description":"Unknown IO ID 44"} 
[2026-08-08 20:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267790336001,"power":27484,"unknown_81":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1411526608803233792}} 
[2026-08-08 20:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":153189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:09] local.INFO: GPS data processed {"connection_id":153189,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:09] local.INFO: Acknowledgment sent {"connection_id":153189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:19] local.INFO: TCP Data received {"connection_id":151709,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:50:19] local.INFO: Processing buffer {"connection_id":151709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:50:19] local.INFO: Packet analysis {"connection_id":151709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:50:19] local.INFO: Extracted packet for processing {"connection_id":151709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:50:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":151709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:19] local.INFO: GPS data processed {"connection_id":151709,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:19] local.INFO: Acknowledgment sent {"connection_id":151709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:31] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:31] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:31] local.INFO: IMEI packet received {"connection_id":150790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":150790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:50:32] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:32] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:32] local.INFO: IMEI packet received {"connection_id":150790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":150790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:50:36] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:36] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:50:36] local.INFO: IMEI packet received {"connection_id":150790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:50:36] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:50:36] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:50:36] local.INFO: IMEI packet received {"connection_id":151710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":151710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:50:40] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f53f70012d78e08005eb05c8000500fa2c..."} 
[2026-08-08 20:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f53f70012d78e08005eb05c8000500fa2c..."} 
[2026-08-08 20:50:40] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f53f70012d78e08005eb05c8000500fa2c..."} 
[2026-08-08 20:50:40] local.INFO: Packet analysis {"connection_id":150790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:50:40] local.INFO: Extracted packet for processing {"connection_id":150790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":762896512,"raw_latitude":99288520,"longitude_deg":76.2896512,"latitude_deg":9.928852,"altitude":5,"angle":250,"satellites":44,"speed":34,"hex_longitude":"2d78e080","hex_latitude":"05eb05c8","is_valid_coordinates":true} 
[2026-08-08 20:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267805184001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116349749220605952,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719672591449729024,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786202374000,"timestamp_ms":1786202374000,"timestamp_seconds":1786202374,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f53f70"} 
[2026-08-08 20:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:50: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-08-08 20:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267805184001,"66":11950,"163":206,"87":13824,"24":34,"16":116349749220605952,"45":8719672591449729024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267805184001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116349749220605952,"km_value":116349749220605.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719672591449729024,"description":"Unknown IO ID 45"} 
[2026-08-08 20:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267805184001,"power":11950,"unknown_163":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8719672591449729024}} 
[2026-08-08 20:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":150790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:40] local.INFO: GPS data processed {"connection_id":150790,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:40] local.INFO: Acknowledgment sent {"connection_id":150790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:40] local.INFO: TCP Data received {"connection_id":153189,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f46898012cec334007233480001b00ee2e..."} 
[2026-08-08 20:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f46898012cec334007233480001b00ee2e..."} 
[2026-08-08 20:50:40] local.INFO: Processing buffer {"connection_id":153189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f46898012cec334007233480001b00ee2e..."} 
[2026-08-08 20:50:40] local.INFO: Packet analysis {"connection_id":153189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:50:40] local.INFO: Extracted packet for processing {"connection_id":153189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":753677120,"raw_latitude":119747712,"longitude_deg":75.367712,"latitude_deg":11.9747712,"altitude":27,"angle":238,"satellites":46,"speed":46,"hex_longitude":"2cec3340","hex_latitude":"07233480","is_valid_coordinates":true} 
[2026-08-08 20:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267792128001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375912919478566912,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419830120616581120,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50: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-08-08 20:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786202319000,"timestamp_ms":1786202319000,"timestamp_seconds":1786202319,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f46898"} 
[2026-08-08 20:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:50: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-08-08 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 20:50: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-08-08 20:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:50: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-08-08 20:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267792128001,"66":27376,"27":206,"83":43008,"24":46,"16":375912919478566912,"44":-1419830120616581120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-08-08 20:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267792128001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375912919478566912,"km_value":375912919478566.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419830120616581120,"description":"Unknown IO ID 44"} 
[2026-08-08 20:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267792128001,"power":27376,"unknown_27":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1419830120616581120}} 
[2026-08-08 20:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":153189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:40] local.INFO: GPS data processed {"connection_id":153189,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:40] local.INFO: Acknowledgment sent {"connection_id":153189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:50:41] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:50:41] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:50:41] local.INFO: IMEI packet received {"connection_id":151710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":151710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:50:42] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:50:42] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:50:42] local.INFO: Packet analysis {"connection_id":151710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:50:42] local.INFO: Extracted packet for processing {"connection_id":151710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:50: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-08-08 20:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:50: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-08-08 20: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-08-08 20:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:50:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":151710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:50:43] local.INFO: GPS data processed {"connection_id":151710,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:50:43] local.INFO: Acknowledgment sent {"connection_id":151710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:09] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:51:09] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:51:09] local.INFO: IMEI packet received {"connection_id":150791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":150791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:51:10] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:51:10] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:51:10] local.INFO: IMEI packet received {"connection_id":150791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":150791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:51:10] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f48bc0012cec158007232100001800eb2f..."} 
[2026-08-08 20:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f48bc0012cec158007232100001800eb2f..."} 
[2026-08-08 20:51:10] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe1..."} 
[2026-08-08 20:51:10] local.INFO: IMEI packet received {"connection_id":150791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":150791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:51:11] local.INFO: TCP Data received {"connection_id":150790,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f56a68012d78bcc005eaf9e8000200fd2e..."} 
[2026-08-08 20:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f56a68012d78bcc005eaf9e8000200fd2e..."} 
[2026-08-08 20:51:11] local.INFO: Processing buffer {"connection_id":150790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f56a68012d78bcc005eaf9e8000200fd2e..."} 
[2026-08-08 20:51:11] local.INFO: Packet analysis {"connection_id":150790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:51:11] local.INFO: Extracted packet for processing {"connection_id":150790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:51:11] local.INFO: GPS Element Parsed {"raw_longitude":762887360,"raw_latitude":99285480,"longitude_deg":76.288736,"latitude_deg":9.928548,"altitude":2,"angle":253,"satellites":46,"speed":38,"hex_longitude":"2d78bcc0","hex_latitude":"05eaf9e8","is_valid_coordinates":true} 
[2026-08-08 20:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267807744001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116350213077073920,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710102442240755712,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786202385000,"timestamp_ms":1786202385000,"timestamp_seconds":1786202385,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f56a68"} 
[2026-08-08 20:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":174,"data_length":795,"current_offset":136} 
[2026-08-08 20:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267807744001,"66":12069,"163":206,"87":13824,"24":38,"16":116350213077073920,"45":8710102442240755712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267807744001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:51:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116350213077073920,"km_value":116350213077073.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710102442240755712,"description":"Unknown IO ID 45"} 
[2026-08-08 20:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267807744001,"power":12069,"unknown_163":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8710102442240755712}} 
[2026-08-08 20:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":150790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:11] local.INFO: GPS data processed {"connection_id":150790,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:11] local.INFO: Acknowledgment sent {"connection_id":150790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:14] local.INFO: TCP Data received {"connection_id":151710,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:51:14] local.INFO: Processing buffer {"connection_id":151710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:51:14] local.INFO: Packet analysis {"connection_id":151710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:51:14] local.INFO: Extracted packet for processing {"connection_id":151710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:51:14] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f4b2d0012cebf5c007230bd8001700ed2e..."} 
[2026-08-08 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f4b2d0012cebf5c007230bd8001700ed2e..."} 
[2026-08-08 20:51:14] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1f48bc0012cec158007232100001800eb2f..."} 
[2026-08-08 20:51:14] local.INFO: Packet analysis {"connection_id":150791,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:51:14] local.INFO: Extracted packet for processing {"connection_id":150791,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":753669504,"raw_latitude":119742720,"longitude_deg":75.3669504,"latitude_deg":11.974272,"altitude":24,"angle":235,"satellites":47,"speed":34,"hex_longitude":"2cec1580","hex_latitude":"07232100","is_valid_coordinates":true} 
[2026-08-08 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267793664001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375913353270263808,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426726257546723328,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] 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-08-08 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202328000,"timestamp_ms":1786202328000,"timestamp_seconds":1786202328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f48bc0"} 
[2026-08-08 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:51: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-08-08 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267793664001,"66":27484,"27":206,"83":43008,"24":34,"16":375913353270263808,"44":-1426726257546723328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":151710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:14] local.INFO: GPS data processed {"connection_id":151710,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:51:14] local.INFO: Acknowledgment sent {"connection_id":151710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267793664001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375913353270263808,"km_value":375913353270263.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426726257546723328,"description":"Unknown IO ID 44"} 
[2026-08-08 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267793664001,"power":27484,"unknown_27":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1426726257546723328}} 
[2026-08-08 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":150791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:14] local.INFO: GPS data processed {"connection_id":150791,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:14] local.INFO: Acknowledgment sent {"connection_id":150791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:14] local.INFO: Packet analysis {"connection_id":150791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:51:14] local.INFO: Extracted packet for processing {"connection_id":150791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f4"} 
[2026-08-08 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":753661376,"raw_latitude":119737304,"longitude_deg":75.3661376,"latitude_deg":11.9737304,"altitude":23,"angle":237,"satellites":46,"speed":35,"hex_longitude":"2cebf5c0","hex_latitude":"07230bd8","is_valid_coordinates":true} 
[2026-08-08 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267795968001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375913821421699072,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1435100138105143296,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:14] 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-08-08 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202338000,"timestamp_ms":1786202338000,"timestamp_seconds":1786202338,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f4b2d0"} 
[2026-08-08 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 20:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:51: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-08-08 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267795968001,"66":27104,"28":206,"83":43008,"24":35,"16":375913821421699072,"44":-1435100138105143296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-08-08 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267795968001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375913821421699072,"km_value":375913821421699.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1435100138105143296,"description":"Unknown IO ID 44"} 
[2026-08-08 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267795968001,"power":27104,"unknown_28":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1435100138105143296}} 
[2026-08-08 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":150791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:14] local.INFO: GPS data processed {"connection_id":150791,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:14] local.INFO: Acknowledgment sent {"connection_id":150791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:31] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:51:31] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:51:31] local.INFO: IMEI packet received {"connection_id":150792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":150792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:51:36] local.INFO: TCP Data received {"connection_id":150793,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:51:36] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:51:36] local.INFO: IMEI packet received {"connection_id":150793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":150793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:51:36] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:51:36] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:51:36] local.INFO: IMEI packet received {"connection_id":150792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":150792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:51:37] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f59560012d789ac005eaf0f0000201012f..."} 
[2026-08-08 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f59560012d789ac005eaf0f0000201012f..."} 
[2026-08-08 20:51:37] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f59560012d789ac005eaf0f0000201012f..."} 
[2026-08-08 20:51:37] local.INFO: Packet analysis {"connection_id":150792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:51:37] local.INFO: Extracted packet for processing {"connection_id":150792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f5"} 
[2026-08-08 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":762878656,"raw_latitude":99283184,"longitude_deg":76.2878656,"latitude_deg":9.9283184,"altitude":2,"angle":257,"satellites":47,"speed":27,"hex_longitude":"2d789ac0","hex_latitude":"05eaf0f0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267810560001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116350642573803520,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8700039711822571520,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202396000,"timestamp_ms":1786202396000,"timestamp_seconds":1786202396,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f59560"} 
[2026-08-08 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-08-08 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267810560001,"66":12156,"163":206,"87":13824,"24":27,"16":116350642573803520,"45":8700039711822571520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-08 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267810560001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-08 20:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-08 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116350642573803520,"km_value":116350642573803.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8700039711822571520,"description":"Unknown IO ID 45"} 
[2026-08-08 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267810560001,"power":12156,"unknown_163":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8700039711822571520}} 
[2026-08-08 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":150792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:37] local.INFO: GPS data processed {"connection_id":150792,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:37] local.INFO: Acknowledgment sent {"connection_id":150792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:41] local.INFO: TCP Data received {"connection_id":150793,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:51:41] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:51:41] local.INFO: IMEI packet received {"connection_id":150793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":150793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:51:42] local.INFO: TCP Data received {"connection_id":150793,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:51:42] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:51:42] local.INFO: Packet analysis {"connection_id":150793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:51:42] local.INFO: Extracted packet for processing {"connection_id":150793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51: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-08-08 20:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:51: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-08-08 20:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":150793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:42] local.INFO: GPS data processed {"connection_id":150793,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:42] local.INFO: Acknowledgment sent {"connection_id":150793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:51:46] local.INFO: TCP Data received {"connection_id":150791,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f66850012ceafcc00721f798000b00b02d..."} 
[2026-08-08 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f66850012ceafcc00721f798000b00b02d..."} 
[2026-08-08 20:51:46] local.INFO: Processing buffer {"connection_id":150791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f66850012ceafcc00721f798000b00b02d..."} 
[2026-08-08 20:51:46] local.INFO: Packet analysis {"connection_id":150791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f6"} 
[2026-08-08 20:51:46] local.INFO: Extracted packet for processing {"connection_id":150791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f6"} 
[2026-08-08 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":753597632,"raw_latitude":119666584,"longitude_deg":75.3597632,"latitude_deg":11.9666584,"altitude":11,"angle":176,"satellites":45,"speed":33,"hex_longitude":"2ceafcc0","hex_latitude":"0721f798","is_valid_coordinates":true} 
[2026-08-08 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267824128001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375918563065593856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1513842762857455616,"note":"Value kept but may cause issues"} 
[2026-08-08 20:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786202450000,"timestamp_ms":1786202450000,"timestamp_seconds":1786202450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f66850"} 
[2026-08-08 20:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:51: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-08-08 20:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267824128001,"66":27463,"183":206,"83":43008,"24":33,"16":375918563065593856,"44":-1513842762857455616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-08 20:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267824128001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:51:46] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-08 20:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375918563065593856,"km_value":375918563065593.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1513842762857455616,"description":"Unknown IO ID 44"} 
[2026-08-08 20:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267824128001,"power":27463,"unknown_183":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1513842762857455616}} 
[2026-08-08 20:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":150791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:51:46] local.INFO: GPS data processed {"connection_id":150791,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:51:46] local.INFO: Acknowledgment sent {"connection_id":150791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:52:08] local.INFO: TCP Data received {"connection_id":150792,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f71fe8012d77064005eb7bb80005012a2d..."} 
[2026-08-08 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f71fe8012d77064005eb7bb80005012a2d..."} 
[2026-08-08 20:52:08] local.INFO: Processing buffer {"connection_id":150792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f71fe8012d77064005eb7bb80005012a2d..."} 
[2026-08-08 20:52:08] local.INFO: Packet analysis {"connection_id":150792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:52:08] local.INFO: Extracted packet for processing {"connection_id":150792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":762775104,"raw_latitude":99318712,"longitude_deg":76.2775104,"latitude_deg":9.9318712,"altitude":5,"angle":298,"satellites":45,"speed":35,"hex_longitude":"2d770640","hex_latitude":"05eb7bb8","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267836672001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116355929678544896,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8585549765052940288,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202497000,"timestamp_ms":1786202497000,"timestamp_seconds":1786202497,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f71fe8"} 
[2026-08-08 20:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 20:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267836672001,"66":12015,"33":206,"87":12288,"24":35,"16":116355929678544896,"45":8585549765052940288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-08-08 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267836672001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:52:08] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 20:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116355929678544896,"km_value":116355929678544.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8585549765052940288,"description":"Unknown IO ID 45"} 
[2026-08-08 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267836672001,"power":12015,"unknown_33":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8585549765052940288}} 
[2026-08-08 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":150792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:52:08] local.INFO: GPS data processed {"connection_id":150792,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:52:08] local.INFO: Acknowledgment sent {"connection_id":150792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:52:13] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:13] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:13] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:52:14] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:14] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:14] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:52:14] local.INFO: TCP Data received {"connection_id":150793,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:52:14] local.INFO: Processing buffer {"connection_id":150793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:52:14] local.INFO: Packet analysis {"connection_id":150793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:52:14] local.INFO: Extracted packet for processing {"connection_id":150793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:52:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":150793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:52:14] local.INFO: GPS data processed {"connection_id":150793,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:52:14] local.INFO: Acknowledgment sent {"connection_id":150793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:52:15] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:15] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:15] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:52:19] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:19] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:52:19] local.INFO: IMEI packet received {"connection_id":151711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":151711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:52:20] local.INFO: TCP Data received {"connection_id":151711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f68f60012ceb03c00721d2e0000900a531..."} 
[2026-08-08 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f68f60012ceb03c00721d2e0000900a531..."} 
[2026-08-08 20:52:20] local.INFO: Processing buffer {"connection_id":151711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f68f60012ceb03c00721d2e0000900a531..."} 
[2026-08-08 20:52:20] local.INFO: Packet analysis {"connection_id":151711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f6"} 
[2026-08-08 20:52:20] local.INFO: Extracted packet for processing {"connection_id":151711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f6"} 
[2026-08-08 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":753599424,"raw_latitude":119657184,"longitude_deg":75.3599424,"latitude_deg":11.9657184,"altitude":9,"angle":165,"satellites":49,"speed":41,"hex_longitude":"2ceb03c0","hex_latitude":"0721d2e0","is_valid_coordinates":true} 
[2026-08-08 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267827200001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375919026922061824,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514124237836150784,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786202460000,"timestamp_ms":1786202460000,"timestamp_seconds":1786202460,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f68f60"} 
[2026-08-08 20:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 20:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:52: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-08-08 20:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267827200001,"66":27267,"183":206,"83":43008,"24":41,"16":375919026922061824,"44":-1514124237836150784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-08-08 20:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267827200001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:52:20] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-08 20:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375919026922061824,"km_value":375919026922061.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514124237836150784,"description":"Unknown IO ID 44"} 
[2026-08-08 20:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267827200001,"power":27267,"unknown_183":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1514124237836150784}} 
[2026-08-08 20:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":151711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:52:20] local.INFO: GPS data processed {"connection_id":151711,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:52:20] local.INFO: Acknowledgment sent {"connection_id":151711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:52:31] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:52:31] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:52:31] local.INFO: IMEI packet received {"connection_id":153190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":153190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:52:36] local.INFO: TCP Data received {"connection_id":153191,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:52:36] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:52:36] local.INFO: IMEI packet received {"connection_id":153191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":153191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:52:36] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:52:36] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:52:36] local.INFO: IMEI packet received {"connection_id":153190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":153190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:52:37] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f75a80012d76e50005eb8dc0000301282d..."} 
[2026-08-08 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f75a80012d76e50005eb8dc0000301282d..."} 
[2026-08-08 20:52:37] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f75a80012d76e50005eb8dc0000301282d..."} 
[2026-08-08 20:52:37] local.INFO: Packet analysis {"connection_id":153190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:52:37] local.INFO: Extracted packet for processing {"connection_id":153190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":762766592,"raw_latitude":99323328,"longitude_deg":76.2766592,"latitude_deg":9.9323328,"altitude":3,"angle":296,"satellites":45,"speed":29,"hex_longitude":"2d76e500","hex_latitude":"05eb8dc0","is_valid_coordinates":true} 
[2026-08-08 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267839232001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116356397829980160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576612934543456256,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202512000,"timestamp_ms":1786202512000,"timestamp_seconds":1786202512,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f75a80"} 
[2026-08-08 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 20:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267839232001,"66":12004,"33":206,"87":12288,"24":29,"16":116356397829980160,"45":8576612934543456256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-08-08 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267839232001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:52:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 20:52:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116356397829980160,"km_value":116356397829980.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576612934543456256,"description":"Unknown IO ID 45"} 
[2026-08-08 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267839232001,"power":12004,"unknown_33":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8576612934543456256}} 
[2026-08-08 20:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":153190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:52:37] local.INFO: GPS data processed {"connection_id":153190,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:52:37] local.INFO: Acknowledgment sent {"connection_id":153190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:52:41] local.INFO: TCP Data received {"connection_id":153191,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:52:41] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:52:41] local.INFO: IMEI packet received {"connection_id":153191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":153191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:52:42] local.INFO: TCP Data received {"connection_id":153191,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:52:42] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f33bd0012d196a80071fef680042011728..."} 
[2026-08-08 20:52:42] local.INFO: Packet analysis {"connection_id":153191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:52:42] local.INFO: Extracted packet for processing {"connection_id":153191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f3"} 
[2026-08-08 20:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267696896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:52: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-08-08 20:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202242000,"timestamp_ms":1786202242000,"timestamp_seconds":1786202242,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f33bd0"} 
[2026-08-08 20:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:52: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-08-08 20:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267696896001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267696896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:52:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267696896001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":153191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:52:42] local.INFO: GPS data processed {"connection_id":153191,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:52:42] local.INFO: Acknowledgment sent {"connection_id":153191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:04] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:53:04] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:53:04] local.INFO: IMEI packet received {"connection_id":150794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":150794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:53:08] local.INFO: TCP Data received {"connection_id":153190,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f78190012d76c3c005eb9f20000301282d..."} 
[2026-08-08 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f78190012d76c3c005eb9f20000301282d..."} 
[2026-08-08 20:53:08] local.INFO: Processing buffer {"connection_id":153190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f78190012d76c3c005eb9f20000301282d..."} 
[2026-08-08 20:53:08] local.INFO: Packet analysis {"connection_id":153190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:08] local.INFO: Extracted packet for processing {"connection_id":153190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":762758080,"raw_latitude":99327776,"longitude_deg":76.275808,"latitude_deg":9.9327776,"altitude":3,"angle":296,"satellites":45,"speed":42,"hex_longitude":"2d76c3c0","hex_latitude":"05eb9f20","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267843072001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116356853096513536,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8567253891569008640,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202522000,"timestamp_ms":1786202522000,"timestamp_seconds":1786202522,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f78190"} 
[2026-08-08 20:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 20:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20: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-08-08 20:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267843072001,"66":12178,"33":206,"87":12288,"24":42,"16":116356853096513536,"45":8567253891569008640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-08-08 20:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267843072001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:08] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 20:53:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116356853096513536,"km_value":116356853096513.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8567253891569008640,"description":"Unknown IO ID 45"} 
[2026-08-08 20:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267843072001,"power":12178,"unknown_33":206,"unknown_87":12288,"ignition":42,"odometer":null,"unknown_45":8567253891569008640}} 
[2026-08-08 20:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":153190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:08] local.INFO: GPS data processed {"connection_id":153190,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:08] local.INFO: Acknowledgment sent {"connection_id":153190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:09] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:53:09] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:53:09] local.INFO: IMEI packet received {"connection_id":150794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":150794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:53:10] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f775d8012cea89c007211e90000800d22e..."} 
[2026-08-08 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f775d8012cea89c007211e90000800d22e..."} 
[2026-08-08 20:53:10] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f775d8012cea89c007211e90000800d22e..."} 
[2026-08-08 20:53:10] local.INFO: Packet analysis {"connection_id":150794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:10] local.INFO: Extracted packet for processing {"connection_id":150794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":753568192,"raw_latitude":119611024,"longitude_deg":75.3568192,"latitude_deg":11.9611024,"altitude":8,"angle":210,"satellites":46,"speed":35,"hex_longitude":"2cea89c0","hex_latitude":"07211e90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267844352001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375922183723024384,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1545227222776530944,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786202519000,"timestamp_ms":1786202519000,"timestamp_seconds":1786202519,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f775d8"} 
[2026-08-08 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-08-08 20:53: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-08-08 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":185,"data_length":795,"current_offset":136} 
[2026-08-08 20:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:53: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-08-08 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267844352001,"66":27376,"75":206,"83":43008,"24":35,"16":375922183723024384,"44":-1545227222776530944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267844352001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375922183723024384,"km_value":375922183723024.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1545227222776530944,"description":"Unknown IO ID 44"} 
[2026-08-08 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267844352001,"power":27376,"unknown_75":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1545227222776530944}} 
[2026-08-08 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":150794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:10] local.INFO: GPS data processed {"connection_id":150794,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:10] local.INFO: Acknowledgment sent {"connection_id":150794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:14] local.INFO: TCP Data received {"connection_id":153191,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:53:14] local.INFO: Processing buffer {"connection_id":153191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:53:14] local.INFO: Packet analysis {"connection_id":153191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:14] local.INFO: Extracted packet for processing {"connection_id":153191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":153191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:14] local.INFO: GPS data processed {"connection_id":153191,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:14] local.INFO: Acknowledgment sent {"connection_id":153191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:31] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:31] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:31] local.INFO: IMEI packet received {"connection_id":153192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":153192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:53:34] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:34] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:34] local.INFO: IMEI packet received {"connection_id":153192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":153192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:53:35] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:35] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:35] local.INFO: IMEI packet received {"connection_id":153192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":153192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:53:36] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:36] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:53:36] local.INFO: IMEI packet received {"connection_id":153192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":153192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:53:36] local.INFO: TCP Data received {"connection_id":150795,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:53:36] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:53:36] local.INFO: IMEI packet received {"connection_id":150795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":150795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:53:37] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7a0d0012d76a44005ebaf70000401292d..."} 
[2026-08-08 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7a0d0012d76a44005ebaf70000401292d..."} 
[2026-08-08 20:53:37] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7a0d0012d76a44005ebaf70000401292d..."} 
[2026-08-08 20:53:37] local.INFO: Packet analysis {"connection_id":153192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:37] local.INFO: Extracted packet for processing {"connection_id":153192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762750016,"raw_latitude":99331952,"longitude_deg":76.2750016,"latitude_deg":9.9331952,"altitude":4,"angle":297,"satellites":45,"speed":46,"hex_longitude":"2d76a440","hex_latitude":"05ebaf70","is_valid_coordinates":true} 
[2026-08-08 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267845632001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116357291183177728,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8557894848594518016,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202530000,"timestamp_ms":1786202530000,"timestamp_seconds":1786202530,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7a0d0"} 
[2026-08-08 20:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 20:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267845632001,"66":12156,"33":206,"87":12288,"24":46,"16":116357291183177728,"45":8557894848594518016},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-08-08 20:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267845632001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 20:53:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116357291183177728,"km_value":116357291183177.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8557894848594518016,"description":"Unknown IO ID 45"} 
[2026-08-08 20:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267845632001,"power":12156,"unknown_33":206,"unknown_87":12288,"ignition":46,"odometer":null,"unknown_45":8557894848594518016}} 
[2026-08-08 20:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":153192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:37] local.INFO: GPS data processed {"connection_id":153192,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:37] local.INFO: Acknowledgment sent {"connection_id":153192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:41] local.INFO: TCP Data received {"connection_id":150794,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f77da8012cea86c007211828000800c72f..."} 
[2026-08-08 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f77da8012cea86c007211828000800c72f..."} 
[2026-08-08 20:53:41] local.INFO: Processing buffer {"connection_id":150794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f77da8012cea86c007211828000800c72f..."} 
[2026-08-08 20:53:41] local.INFO: Packet analysis {"connection_id":150794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:41] local.INFO: Extracted packet for processing {"connection_id":150794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753567424,"raw_latitude":119609384,"longitude_deg":75.3567424,"latitude_deg":11.9609384,"altitude":8,"angle":199,"satellites":47,"speed":33,"hex_longitude":"2cea86c0","hex_latitude":"07211828","is_valid_coordinates":true} 
[2026-08-08 20:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267844864001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375922269622370304,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546493860172099584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786202521000,"timestamp_ms":1786202521000,"timestamp_seconds":1786202521,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f77da8"} 
[2026-08-08 20:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:53: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-08-08 20:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267844864001,"66":27463,"75":206,"83":43008,"24":33,"16":375922269622370304,"44":-1546493860172099584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267844864001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375922269622370304,"km_value":375922269622370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546493860172099584,"description":"Unknown IO ID 44"} 
[2026-08-08 20:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267844864001,"power":27463,"unknown_75":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1546493860172099584}} 
[2026-08-08 20:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":150794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:41] local.INFO: GPS data processed {"connection_id":150794,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:41] local.INFO: Acknowledgment sent {"connection_id":150794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:41] local.INFO: TCP Data received {"connection_id":150795,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:53:41] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:53:41] local.INFO: IMEI packet received {"connection_id":150795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":150795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:53:42] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7c010012d76840005ebc1f00005012c2d..."} 
[2026-08-08 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7c010012d76840005ebc1f00005012c2d..."} 
[2026-08-08 20:53:42] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7c010012d76840005ebc1f00005012c2d..."} 
[2026-08-08 20:53:42] local.INFO: Packet analysis {"connection_id":153192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:42] local.INFO: Extracted packet for processing {"connection_id":153192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":762741760,"raw_latitude":99336688,"longitude_deg":76.274176,"latitude_deg":9.9336688,"altitude":5,"angle":300,"satellites":45,"speed":47,"hex_longitude":"2d768400","hex_latitude":"05ebc1f0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267847680001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116357746449711104,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8549028386829201408,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202538000,"timestamp_ms":1786202538000,"timestamp_seconds":1786202538,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7c010"} 
[2026-08-08 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-08-08 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:53: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-08-08 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-08-08 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-08-08 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267847680001,"66":12058,"33":206,"87":12288,"24":47,"16":116357746449711104,"45":8549028386829201408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267847680001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116357746449711104,"km_value":116357746449711.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8549028386829201408,"description":"Unknown IO ID 45"} 
[2026-08-08 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267847680001,"power":12058,"unknown_33":206,"unknown_87":12288,"ignition":47,"odometer":null,"unknown_45":8549028386829201408}} 
[2026-08-08 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":153192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:42] local.INFO: GPS data processed {"connection_id":153192,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:42] local.INFO: Acknowledgment sent {"connection_id":153192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:53:42] local.INFO: TCP Data received {"connection_id":150795,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:53:42] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:53:42] local.INFO: Packet analysis {"connection_id":150795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:42] local.INFO: Extracted packet for processing {"connection_id":150795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 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-08-08 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:53: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-08-08 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-08-08 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-08-08 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":150795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:53:42] local.INFO: GPS data processed {"connection_id":150795,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:53:42] local.INFO: Acknowledgment sent {"connection_id":150795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:09] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:54:09] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:54:09] local.INFO: IMEI packet received {"connection_id":150796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":150796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:54:10] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:54:10] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 20:54:10] local.INFO: IMEI packet received {"connection_id":150796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":150796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:54:10] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7a0d0012cea80800720ff78000900bb2d..."} 
[2026-08-08 20:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7a0d0012cea80800720ff78000900bb2d..."} 
[2026-08-08 20:54:10] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe1..."} 
[2026-08-08 20:54:10] local.INFO: IMEI packet received {"connection_id":150796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":150796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:54:13] local.INFO: TCP Data received {"connection_id":153192,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7df50012d76644005ebd5b80005012f2d..."} 
[2026-08-08 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7df50012d76644005ebd5b80005012f2d..."} 
[2026-08-08 20:54:13] local.INFO: Processing buffer {"connection_id":153192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7df50012d76644005ebd5b80005012f2d..."} 
[2026-08-08 20:54:13] local.INFO: Packet analysis {"connection_id":153192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:13] local.INFO: Extracted packet for processing {"connection_id":153192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762733632,"raw_latitude":99341752,"longitude_deg":76.2733632,"latitude_deg":9.9341752,"altitude":5,"angle":303,"satellites":45,"speed":47,"hex_longitude":"2d766440","hex_latitude":"05ebd5b8","is_valid_coordinates":true} 
[2026-08-08 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267849728001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116358206011211776,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8539950818831495168,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786202546000,"timestamp_ms":1786202546000,"timestamp_seconds":1786202546,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7df50"} 
[2026-08-08 20:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267849728001,"66":11917,"33":206,"87":12288,"24":47,"16":116358206011211776,"45":8539950818831495168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-08-08 20:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267849728001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:13] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-08 20:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116358206011211776,"km_value":116358206011211.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8539950818831495168,"description":"Unknown IO ID 45"} 
[2026-08-08 20:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267849728001,"power":11917,"unknown_33":206,"unknown_87":12288,"ignition":47,"odometer":null,"unknown_45":8539950818831495168}} 
[2026-08-08 20:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":153192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:13] local.INFO: GPS data processed {"connection_id":153192,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:13] local.INFO: Acknowledgment sent {"connection_id":153192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:14] local.INFO: TCP Data received {"connection_id":150795,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:54:14] local.INFO: Processing buffer {"connection_id":150795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:54:14] local.INFO: Packet analysis {"connection_id":150795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:14] local.INFO: Extracted packet for processing {"connection_id":150795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":150795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:14] local.INFO: GPS data processed {"connection_id":150795,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:14] local.INFO: Acknowledgment sent {"connection_id":150795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:14] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7bc28012cea7d800720f458000a00c72f..."} 
[2026-08-08 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7bc28012cea7d800720f458000a00c72f..."} 
[2026-08-08 20:54:14] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe1f7a0d0012cea80800720ff78000900bb2d..."} 
[2026-08-08 20:54:14] local.INFO: Packet analysis {"connection_id":150796,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:14] local.INFO: Extracted packet for processing {"connection_id":150796,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":753565824,"raw_latitude":119603064,"longitude_deg":75.3565824,"latitude_deg":11.9603064,"altitude":9,"angle":187,"satellites":45,"speed":25,"hex_longitude":"2cea8080","hex_latitude":"0720ff78","is_valid_coordinates":true} 
[2026-08-08 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267845376001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375922583154982912,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1547338285102651392,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202530000,"timestamp_ms":1786202530000,"timestamp_seconds":1786202530,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7a0d0"} 
[2026-08-08 20:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:54: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-08-08 20:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267845376001,"66":27376,"75":206,"83":43008,"24":25,"16":375922583154982912,"44":-1547338285102651392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267845376001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375922583154982912,"km_value":375922583154982.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1547338285102651392,"description":"Unknown IO ID 44"} 
[2026-08-08 20:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267845376001,"power":27376,"unknown_75":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1547338285102651392}} 
[2026-08-08 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":150796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:14] local.INFO: GPS data processed {"connection_id":150796,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:14] local.INFO: Acknowledgment sent {"connection_id":150796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:14] local.INFO: Packet analysis {"connection_id":150796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:14] local.INFO: Extracted packet for processing {"connection_id":150796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":753565056,"raw_latitude":119600216,"longitude_deg":75.3565056,"latitude_deg":11.9600216,"altitude":10,"angle":199,"satellites":47,"speed":12,"hex_longitude":"2cea7d80","hex_latitude":"0720f458","is_valid_coordinates":true} 
[2026-08-08 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267847680001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375922729183870976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549097503708710912,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202537000,"timestamp_ms":1786202537000,"timestamp_seconds":1786202537,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7bc28"} 
[2026-08-08 20:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:54: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-08-08 20:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267847680001,"66":27376,"75":206,"83":43008,"24":12,"16":375922729183870976,"44":-1549097503708710912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267847680001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375922729183870976,"km_value":375922729183871.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549097503708710912,"description":"Unknown IO ID 44"} 
[2026-08-08 20:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267847680001,"power":27376,"unknown_75":206,"unknown_83":43008,"ignition":12,"odometer":null,"unknown_44":-1549097503708710912}} 
[2026-08-08 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":150796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:14] local.INFO: GPS data processed {"connection_id":150796,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:14] local.INFO: Acknowledgment sent {"connection_id":150796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:36] local.INFO: TCP Data received {"connection_id":150502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:54:36] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:54:36] local.INFO: IMEI packet received {"connection_id":150502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:54:36] local.INFO: TCP Data received {"connection_id":150797,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:54:36] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:54:36] local.INFO: IMEI packet received {"connection_id":150797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:54:37] local.INFO: TCP Data received {"connection_id":150502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:54:37] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:54:37] local.INFO: IMEI packet received {"connection_id":150502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":150502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:54:38] local.INFO: TCP Data received {"connection_id":150502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f80278012d7645c005ebeb28000401342c..."} 
[2026-08-08 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f80278012d7645c005ebeb28000401342c..."} 
[2026-08-08 20:54:38] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f80278012d7645c005ebeb28000401342c..."} 
[2026-08-08 20:54:38] local.INFO: Packet analysis {"connection_id":150502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:54:38] local.INFO: Extracted packet for processing {"connection_id":150502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":762725824,"raw_latitude":99347240,"longitude_deg":76.2725824,"latitude_deg":9.934724,"altitude":4,"angle":308,"satellites":44,"speed":37,"hex_longitude":"2d7645c0","hex_latitude":"05ebeb28","is_valid_coordinates":true} 
[2026-08-08 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851776001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116358665572712448,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8531013988322228224,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786202555000,"timestamp_ms":1786202555000,"timestamp_seconds":1786202555,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f80278"} 
[2026-08-08 20:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851776001,"66":11917,"199":206,"87":12288,"24":37,"16":116358665572712448,"45":8531013988322228224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,87,24,16,45]} 
[2026-08-08 20:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851776001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:38] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116358665572712448,"km_value":116358665572712.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8531013988322228224,"description":"Unknown IO ID 45"} 
[2026-08-08 20:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851776001,"power":11917,"trip_odometer":0.206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8531013988322228224}} 
[2026-08-08 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":150502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:38] local.INFO: GPS data processed {"connection_id":150502,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:38] local.INFO: Acknowledgment sent {"connection_id":150502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:41] local.INFO: TCP Data received {"connection_id":150797,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:54:41] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:54:41] local.INFO: IMEI packet received {"connection_id":150797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":150797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:54:42] local.INFO: TCP Data received {"connection_id":150502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f82988012d76320005ebf980000401262d..."} 
[2026-08-08 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f82988012d76320005ebf980000401262d..."} 
[2026-08-08 20:54:42] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f82988012d76320005ebf980000401262d..."} 
[2026-08-08 20:54:42] local.INFO: Packet analysis {"connection_id":150502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:54:42] local.INFO: Extracted packet for processing {"connection_id":150502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":762720768,"raw_latitude":99350912,"longitude_deg":76.2720768,"latitude_deg":9.9350912,"altitude":4,"angle":294,"satellites":45,"speed":8,"hex_longitude":"2d763200","hex_latitude":"05ebf980","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267854080001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116358966220423168,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522429001533958144,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202565000,"timestamp_ms":1786202565000,"timestamp_seconds":1786202565,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f82988"} 
[2026-08-08 20:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:42] 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-08-08 20: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-08-08 20:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267854080001,"66":12156,"199":206,"87":12288,"24":8,"16":116358966220423168,"45":8522429001533958144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,87,24,16,45]} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267854080001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116358966220423168,"km_value":116358966220423.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522429001533958144,"description":"Unknown IO ID 45"} 
[2026-08-08 20:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267854080001,"power":12156,"trip_odometer":0.206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8522429001533958144}} 
[2026-08-08 20:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":150502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:42] local.INFO: GPS data processed {"connection_id":150502,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:42] local.INFO: Acknowledgment sent {"connection_id":150502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:42] local.INFO: TCP Data received {"connection_id":150797,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:54:42] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:54:42] local.INFO: Packet analysis {"connection_id":150797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:42] local.INFO: Extracted packet for processing {"connection_id":150797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54: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-08-08 20:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:54: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-08-08 20: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-08-08 20:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":150797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:42] local.INFO: GPS data processed {"connection_id":150797,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:42] local.INFO: Acknowledgment sent {"connection_id":150797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:54:46] local.INFO: TCP Data received {"connection_id":150796,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7faa8012cea76800720d378000900bc2a..."} 
[2026-08-08 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7faa8012cea76800720d378000900bc2a..."} 
[2026-08-08 20:54:46] local.INFO: Processing buffer {"connection_id":150796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7faa8012cea76800720d378000900bc2a..."} 
[2026-08-08 20:54:46] local.INFO: Packet analysis {"connection_id":150796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:46] local.INFO: Extracted packet for processing {"connection_id":150796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":753563264,"raw_latitude":119591800,"longitude_deg":75.3563264,"latitude_deg":11.95918,"altitude":9,"angle":188,"satellites":42,"speed":28,"hex_longitude":"2cea7680","hex_latitude":"0720d378","is_valid_coordinates":true} 
[2026-08-08 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267849472001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375923145795698688,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549941928639571968,"note":"Value kept but may cause issues"} 
[2026-08-08 20:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786202553000,"timestamp_ms":1786202553000,"timestamp_seconds":1786202553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7faa8"} 
[2026-08-08 20:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:54: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-08-08 20:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267849472001,"66":27321,"75":206,"83":43008,"24":28,"16":375923145795698688,"44":-1549941928639571968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267849472001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:54:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375923145795698688,"km_value":375923145795698.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549941928639571968,"description":"Unknown IO ID 44"} 
[2026-08-08 20:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267849472001,"power":27321,"unknown_75":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1549941928639571968}} 
[2026-08-08 20:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":150796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:54:46] local.INFO: GPS data processed {"connection_id":150796,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:54:46] local.INFO: Acknowledgment sent {"connection_id":150796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:55:04] local.INFO: TCP Data received {"connection_id":150503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:55:04] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:55:04] local.INFO: IMEI packet received {"connection_id":150503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":150503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:55:09] local.INFO: TCP Data received {"connection_id":150503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:55:09] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:55:09] local.INFO: IMEI packet received {"connection_id":150503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":150503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:55:10] local.INFO: TCP Data received {"connection_id":150503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f82d70012cea71400720b090000900b82c..."} 
[2026-08-08 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f82d70012cea71400720b090000900b82c..."} 
[2026-08-08 20:55:10] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f82d70012cea71400720b090000900b82c..."} 
[2026-08-08 20:55:10] local.INFO: Packet analysis {"connection_id":150503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:10] local.INFO: Extracted packet for processing {"connection_id":150503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753561920,"raw_latitude":119582864,"longitude_deg":75.356192,"latitude_deg":11.9582864,"altitude":9,"angle":184,"satellites":44,"speed":25,"hex_longitude":"2cea7140","hex_latitude":"0720b090","is_valid_coordinates":true} 
[2026-08-08 20:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267853568001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375923583882362880,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1551912253478701056,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786202566000,"timestamp_ms":1786202566000,"timestamp_seconds":1786202566,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f82d70"} 
[2026-08-08 20:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:55: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-08-08 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 20:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:55: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-08-08 20:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267853568001,"66":27484,"75":206,"83":43008,"24":25,"16":375923583882362880,"44":-1551912253478701056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267853568001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:55:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375923583882362880,"km_value":375923583882362.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1551912253478701056,"description":"Unknown IO ID 44"} 
[2026-08-08 20:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267853568001,"power":27484,"unknown_75":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1551912253478701056}} 
[2026-08-08 20:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":150503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:55:10] local.INFO: GPS data processed {"connection_id":150503,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:55:10] local.INFO: Acknowledgment sent {"connection_id":150503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:55:13] local.INFO: TCP Data received {"connection_id":150502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f877a8012d762fc005ebfb40000601232d..."} 
[2026-08-08 20:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f877a8012d762fc005ebfb40000601232d..."} 
[2026-08-08 20:55:13] local.INFO: Processing buffer {"connection_id":150502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f877a8012d762fc005ebfb40000601232d..."} 
[2026-08-08 20:55:13] local.INFO: Packet analysis {"connection_id":150502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:13] local.INFO: Extracted packet for processing {"connection_id":150502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:13] local.INFO: GPS Element Parsed {"raw_longitude":762720192,"raw_latitude":99351360,"longitude_deg":76.2720192,"latitude_deg":9.935136,"altitude":6,"angle":291,"satellites":45,"speed":0,"hex_longitude":"2d762fc0","hex_latitude":"05ebfb40","is_valid_coordinates":true} 
[2026-08-08 20:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267856640001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359009170096128,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8516869870744862720,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786202585000,"timestamp_ms":1786202585000,"timestamp_seconds":1786202585,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f877a8"} 
[2026-08-08 20:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267856640001,"66":12037,"199":206,"87":12288,"24":0,"16":116359009170096128,"45":8516869870744862720},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,87,24,16,45]} 
[2026-08-08 20:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267856640001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:55:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 20:55:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359009170096128,"km_value":116359009170096.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8516869870744862720,"description":"Unknown IO ID 45"} 
[2026-08-08 20:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267856640001,"power":12037,"trip_odometer":0.206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8516869870744862720}} 
[2026-08-08 20:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":150502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:55:13] local.INFO: GPS data processed {"connection_id":150502,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:55:13] local.INFO: Acknowledgment sent {"connection_id":150502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:55:14] local.INFO: TCP Data received {"connection_id":150797,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:55:14] local.INFO: Processing buffer {"connection_id":150797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:55:14] local.INFO: Packet analysis {"connection_id":150797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:55:14] local.INFO: Extracted packet for processing {"connection_id":150797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:55:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":150797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:55:14] local.INFO: GPS data processed {"connection_id":150797,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:55:14] local.INFO: Acknowledgment sent {"connection_id":150797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:55:36] local.INFO: TCP Data received {"connection_id":151712,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:55:36] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:55:36] local.INFO: IMEI packet received {"connection_id":151712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":151712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:55:37] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:37] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:37] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:55:40] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:40] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:40] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:55:40] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:40] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:40] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:55:41] local.INFO: TCP Data received {"connection_id":150503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f86808012cea6d4007208d58000a00b92a..."} 
[2026-08-08 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f86808012cea6d4007208d58000a00b92a..."} 
[2026-08-08 20:55:41] local.INFO: Processing buffer {"connection_id":150503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f86808012cea6d4007208d58000a00b92a..."} 
[2026-08-08 20:55:41] local.INFO: Packet analysis {"connection_id":150503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:41] local.INFO: Extracted packet for processing {"connection_id":150503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753560896,"raw_latitude":119573848,"longitude_deg":75.3560896,"latitude_deg":11.9573848,"altitude":10,"angle":185,"satellites":42,"speed":23,"hex_longitude":"2cea6d40","hex_latitude":"07208d58","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267856896001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375924026263994368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1553389997108719616,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786202581000,"timestamp_ms":1786202581000,"timestamp_seconds":1786202581,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f86808"} 
[2026-08-08 20:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:55: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-08-08 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 20:55: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-08-08 20: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-08-08 20:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:55: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-08-08 20:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267856896001,"66":27321,"75":206,"83":43008,"24":23,"16":375924026263994368,"44":-1553389997108719616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267856896001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:55:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375924026263994368,"km_value":375924026263994.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1553389997108719616,"description":"Unknown IO ID 44"} 
[2026-08-08 20:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267856896001,"power":27321,"unknown_75":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1553389997108719616}} 
[2026-08-08 20:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":150503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:55:41] local.INFO: GPS data processed {"connection_id":150503,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:55:41] local.INFO: Acknowledgment sent {"connection_id":150503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:55:41] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:41] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:55:41] local.INFO: IMEI packet received {"connection_id":153193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":153193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:55:41] local.INFO: TCP Data received {"connection_id":151712,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:55:41] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:55:41] local.INFO: IMEI packet received {"connection_id":151712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":151712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:55:42] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f896e8012d762f0005ebfc000008013c2d..."} 
[2026-08-08 20:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f896e8012d762f0005ebfc000008013c2d..."} 
[2026-08-08 20:55:42] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f896e8012d762f0005ebfc000008013c2d..."} 
[2026-08-08 20:55:42] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:42] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:55:42] local.INFO: GPS Element Parsed {"raw_longitude":762720000,"raw_latitude":99351552,"longitude_deg":76.272,"latitude_deg":9.9351552,"altitude":8,"angle":316,"satellites":45,"speed":2,"hex_longitude":"2d762f00","hex_latitude":"05ebfc00","is_valid_coordinates":true} 
[2026-08-08 20:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267861760001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359022054998016,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8516236552047378432,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202593000,"timestamp_ms":1786202593000,"timestamp_seconds":1786202593,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f896e8"} 
[2026-08-08 20:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3026418949760746496,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3791094160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3253731333,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4156559361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3972457232543514648,"corrected_to":0} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3489738102,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1468419769076996051,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194852864,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,199,87,24,241,157,16,99,159,41,45,249,4,10,66,2,192,235,44,223,64,1,240,141,227,225,113,205,47,160,164,112,239,33,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3972457232543514648,"validated":0}]} 
[2026-08-08 20:55:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432665715384778752,"timestamp_seconds":432665715384778.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267861760001,"66":11917,"199":206,"87":12288,"24":2,"16":116359022054998016,"45":8516236552047378432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,87,24,16,45]} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267861760001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:55:42] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359022054998016,"km_value":116359022054998.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8516236552047378432,"description":"Unknown IO ID 45"} 
[2026-08-08 20:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267861760001,"power":11917,"trip_odometer":0.206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8516236552047378432}} 
[2026-08-08 20:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:55:42] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:55:42] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:55:42] local.INFO: TCP Data received {"connection_id":151712,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:55:42] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:55:42] local.INFO: Packet analysis {"connection_id":151712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:55:42] local.INFO: Extracted packet for processing {"connection_id":151712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:55: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-08-08 20:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:55: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-08-08 20:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":151712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:55:42] local.INFO: GPS data processed {"connection_id":151712,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:55:42] local.INFO: Acknowledgment sent {"connection_id":151712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:09] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:56:09] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:56:09] local.INFO: IMEI packet received {"connection_id":151713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":151713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:56:13] local.INFO: TCP Data received {"connection_id":153193,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f8e508012d762e8005ebfc500007013c29..."} 
[2026-08-08 20:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f8e508012d762e8005ebfc500007013c29..."} 
[2026-08-08 20:56:13] local.INFO: Processing buffer {"connection_id":153193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f8e508012d762e8005ebfc500007013c29..."} 
[2026-08-08 20:56:13] local.INFO: Packet analysis {"connection_id":153193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:56:13] local.INFO: Extracted packet for processing {"connection_id":153193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:56:13] local.INFO: GPS Element Parsed {"raw_longitude":762719872,"raw_latitude":99351632,"longitude_deg":76.2719872,"latitude_deg":9.9351632,"altitude":7,"angle":316,"satellites":41,"speed":0,"hex_longitude":"2d762e80","hex_latitude":"05ebfc50","is_valid_coordinates":true} 
[2026-08-08 20:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267863808001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359030644932608,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8516025445814894592,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786202613000,"timestamp_ms":1786202613000,"timestamp_seconds":1786202613,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f8e508"} 
[2026-08-08 20:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 20:56:13] 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-08-08 20:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267863808001,"66":12015,"191":206,"87":12288,"24":0,"16":116359030644932608,"45":8516025445814894592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267863808001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359030644932608,"km_value":116359030644932.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8516025445814894592,"description":"Unknown IO ID 45"} 
[2026-08-08 20:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267863808001,"power":12015,"unknown_191":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8516025445814894592}} 
[2026-08-08 20:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":153193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:13] local.INFO: GPS data processed {"connection_id":153193,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:13] local.INFO: Acknowledgment sent {"connection_id":153193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:14] local.INFO: TCP Data received {"connection_id":151712,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:56:14] local.INFO: Processing buffer {"connection_id":151712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:56:14] local.INFO: Packet analysis {"connection_id":151712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:56:14] local.INFO: Extracted packet for processing {"connection_id":151712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":151712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:14] local.INFO: GPS data processed {"connection_id":151712,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:14] local.INFO: Acknowledgment sent {"connection_id":151712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:14] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:56:14] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:56:14] local.INFO: IMEI packet received {"connection_id":151713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":151713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:56:15] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fa63d8012cea6000071f57b8000700eb30..."} 
[2026-08-08 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fa63d8012cea6000071f57b8000700eb30..."} 
[2026-08-08 20:56:15] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fa63d8012cea6000071f57b8000700eb30..."} 
[2026-08-08 20:56:15] local.INFO: Packet analysis {"connection_id":151713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:56:15] local.INFO: Extracted packet for processing {"connection_id":151713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":753557504,"raw_latitude":119494584,"longitude_deg":75.3557504,"latitude_deg":11.9494584,"altitude":7,"angle":235,"satellites":48,"speed":9,"hex_longitude":"2cea6000","hex_latitude":"071f57b8","is_valid_coordinates":true} 
[2026-08-08 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267893760001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375927904619462656,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558104702991183872,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786202711000,"timestamp_ms":1786202711000,"timestamp_seconds":1786202711,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fa63d8"} 
[2026-08-08 20:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56: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-08-08 20: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 20:56: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-08-08 20:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20: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-08-08 20:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267893760001,"66":27267,"75":206,"83":43008,"24":9,"16":375927904619462656,"44":-1558104702991183872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267893760001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:56:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375927904619462656,"km_value":375927904619462.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558104702991183872,"description":"Unknown IO ID 44"} 
[2026-08-08 20:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267893760001,"power":27267,"unknown_75":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1558104702991183872}} 
[2026-08-08 20:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":151713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:15] local.INFO: GPS data processed {"connection_id":151713,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:15] local.INFO: Acknowledgment sent {"connection_id":151713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:17] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fa7378012cea5c80071f55c8000700f72e..."} 
[2026-08-08 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fa7378012cea5c80071f55c8000700f72e..."} 
[2026-08-08 20:56:17] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fa7378012cea5c80071f55c8000700f72e..."} 
[2026-08-08 20:56:17] local.INFO: Packet analysis {"connection_id":151713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:56:17] local.INFO: Extracted packet for processing {"connection_id":151713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:56:17] local.INFO: GPS Element Parsed {"raw_longitude":753556608,"raw_latitude":119494088,"longitude_deg":75.3556608,"latitude_deg":11.9494088,"altitude":7,"angle":247,"satellites":46,"speed":14,"hex_longitude":"2cea5c80","hex_latitude":"071f55c8","is_valid_coordinates":true} 
[2026-08-08 20:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267894016001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375927956159070208,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558245440479578112,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786202715000,"timestamp_ms":1786202715000,"timestamp_seconds":1786202715,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fa7378"} 
[2026-08-08 20:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:56: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-08-08 20:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267894016001,"66":27397,"75":206,"83":43008,"24":14,"16":375927956159070208,"44":-1558245440479578112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267894016001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:17] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375927956159070208,"km_value":375927956159070.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558245440479578112,"description":"Unknown IO ID 44"} 
[2026-08-08 20:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267894016001,"power":27397,"unknown_75":206,"unknown_83":43008,"ignition":14,"odometer":null,"unknown_44":-1558245440479578112}} 
[2026-08-08 20:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":151713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:17] local.INFO: GPS data processed {"connection_id":151713,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:17] local.INFO: Acknowledgment sent {"connection_id":151713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:36] local.INFO: TCP Data received {"connection_id":151714,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:56:36] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:56:36] local.INFO: IMEI packet received {"connection_id":151714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":151714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:56:36] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:56:36] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:56:36] local.INFO: IMEI packet received {"connection_id":153194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":153194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:56:37] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:56:37] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:56:37] local.INFO: IMEI packet received {"connection_id":153194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":153194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:56:38] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f8e8f0012d762d0005ebfd00000701292a..."} 
[2026-08-08 20:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f8e8f0012d762d0005ebfd00000701292a..."} 
[2026-08-08 20:56:38] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f8e8f0012d762d0005ebfd00000701292a..."} 
[2026-08-08 20:56:38] local.INFO: Packet analysis {"connection_id":153194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:56:38] local.INFO: Extracted packet for processing {"connection_id":153194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f8"} 
[2026-08-08 20:56:38] local.INFO: GPS Element Parsed {"raw_longitude":762719488,"raw_latitude":99351808,"longitude_deg":76.2719488,"latitude_deg":9.9351808,"altitude":7,"angle":297,"satellites":42,"speed":2,"hex_longitude":"2d762d00","hex_latitude":"05ebfd00","is_valid_coordinates":true} 
[2026-08-08 20:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267868928001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359052119769088,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8515884708326559744,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786202614000,"timestamp_ms":1786202614000,"timestamp_seconds":1786202614,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f8e8f0"} 
[2026-08-08 20:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 20:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267868928001,"66":12156,"191":206,"87":12288,"24":2,"16":116359052119769088,"45":8515884708326559744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267868928001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359052119769088,"km_value":116359052119769.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8515884708326559744,"description":"Unknown IO ID 45"} 
[2026-08-08 20:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267868928001,"power":12156,"unknown_191":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8515884708326559744}} 
[2026-08-08 20:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":153194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:38] local.INFO: GPS data processed {"connection_id":153194,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:38] local.INFO: Acknowledgment sent {"connection_id":153194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:41] local.INFO: TCP Data received {"connection_id":151714,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:56:41] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:56:41] local.INFO: IMEI packet received {"connection_id":151714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":151714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:56:42] local.INFO: TCP Data received {"connection_id":151714,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:56:42] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:56:42] local.INFO: Packet analysis {"connection_id":151714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:56:42] local.INFO: Extracted packet for processing {"connection_id":151714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56: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-08-08 20:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:56: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-08-08 20:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":151714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:43] local.INFO: GPS data processed {"connection_id":151714,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:43] local.INFO: Acknowledgment sent {"connection_id":151714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:56:49] local.INFO: TCP Data received {"connection_id":151713,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fa8700012cea5400071f5220000600e72e..."} 
[2026-08-08 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fa8700012cea5400071f5220000600e72e..."} 
[2026-08-08 20:56:49] local.INFO: Processing buffer {"connection_id":151713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fa8700012cea5400071f5220000600e72e..."} 
[2026-08-08 20:56:49] local.INFO: Packet analysis {"connection_id":151713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:56:49] local.INFO: Extracted packet for processing {"connection_id":151713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":753554432,"raw_latitude":119493152,"longitude_deg":75.3554432,"latitude_deg":11.9493152,"altitude":6,"angle":231,"satellites":46,"speed":19,"hex_longitude":"2cea5400","hex_latitude":"071f5220","is_valid_coordinates":true} 
[2026-08-08 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267895040001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375928067828219904,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559230602898192384,"note":"Value kept but may cause issues"} 
[2026-08-08 20:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786202720000,"timestamp_ms":1786202720000,"timestamp_seconds":1786202720,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fa8700"} 
[2026-08-08 20:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:56: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-08-08 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":151713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":151713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267895040001,"66":27332,"75":206,"83":43008,"24":19,"16":375928067828219904,"44":-1559230602898192384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267895040001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:56:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375928067828219904,"km_value":375928067828219.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559230602898192384,"description":"Unknown IO ID 44"} 
[2026-08-08 20:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267895040001,"power":27332,"unknown_75":206,"unknown_83":43008,"ignition":19,"odometer":null,"unknown_44":-1559230602898192384}} 
[2026-08-08 20:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":151713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:56:49] local.INFO: GPS data processed {"connection_id":151713,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:56:49] local.INFO: Acknowledgment sent {"connection_id":151713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:01] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:01] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:01] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:57:09] local.INFO: TCP Data received {"connection_id":153194,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f93710012d76240005ec0328000601302c..."} 
[2026-08-08 20:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f93710012d76240005ec0328000601302c..."} 
[2026-08-08 20:57:09] local.INFO: Processing buffer {"connection_id":153194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f93710012d76240005ec0328000601302c..."} 
[2026-08-08 20:57:09] local.INFO: Packet analysis {"connection_id":153194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f9"} 
[2026-08-08 20:57:09] local.INFO: Extracted packet for processing {"connection_id":153194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f9"} 
[2026-08-08 20:57:09] local.INFO: GPS Element Parsed {"raw_longitude":762717184,"raw_latitude":99353384,"longitude_deg":76.2717184,"latitude_deg":9.9353384,"altitude":6,"angle":304,"satellites":44,"speed":0,"hex_longitude":"2d762400","hex_latitude":"05ec0328","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267869184001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359189558722560,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8515462495861538816,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786202634000,"timestamp_ms":1786202634000,"timestamp_seconds":1786202634,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f93710"} 
[2026-08-08 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-08-08 20:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:57: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-08-08 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-08-08 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-08-08 20:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267869184001,"66":11765,"191":206,"87":12288,"24":0,"16":116359189558722560,"45":8515462495861538816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267869184001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:57:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359189558722560,"km_value":116359189558722.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8515462495861538816,"description":"Unknown IO ID 45"} 
[2026-08-08 20:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267869184001,"power":11765,"unknown_191":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8515462495861538816}} 
[2026-08-08 20:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":153194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:09] local.INFO: GPS data processed {"connection_id":153194,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:09] local.INFO: Acknowledgment sent {"connection_id":153194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:13] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:13] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:13] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:57:14] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:14] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:57:14] local.INFO: IMEI packet received {"connection_id":151715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":151715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:57:14] local.INFO: TCP Data received {"connection_id":151714,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:57:14] local.INFO: Processing buffer {"connection_id":151714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:57:14] local.INFO: Packet analysis {"connection_id":151714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:57:14] local.INFO: Extracted packet for processing {"connection_id":151714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":151714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:14] local.INFO: GPS data processed {"connection_id":151714,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:14] local.INFO: Acknowledgment sent {"connection_id":151714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:15] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fa8ed0012cea5100071f4f20000600d130..."} 
[2026-08-08 20:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fa8ed0012cea5100071f4f20000600d130..."} 
[2026-08-08 20:57:15] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fa8ed0012cea5100071f4f20000600d130..."} 
[2026-08-08 20:57:15] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:57:15] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":753553664,"raw_latitude":119492384,"longitude_deg":75.3553664,"latitude_deg":11.9492384,"altitude":6,"angle":209,"satellites":48,"speed":19,"hex_longitude":"2cea5100","hex_latitude":"071f4f20","is_valid_coordinates":true} 
[2026-08-08 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267896320001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375928119367827456,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561623140200472576,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786202722000,"timestamp_ms":1786202722000,"timestamp_seconds":1786202722,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fa8ed0"} 
[2026-08-08 20:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:57: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-08-08 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 20:57: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-08-08 20:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:57: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-08-08 20:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267896320001,"66":27213,"75":206,"83":43008,"24":19,"16":375928119367827456,"44":-1561623140200472576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267896320001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375928119367827456,"km_value":375928119367827.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561623140200472576,"description":"Unknown IO ID 44"} 
[2026-08-08 20:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267896320001,"power":27213,"unknown_75":206,"unknown_83":43008,"ignition":19,"odometer":null,"unknown_44":-1561623140200472576}} 
[2026-08-08 20:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:15] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:15] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:15] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fa92b8012cea5040071f4d50000600c530..."} 
[2026-08-08 20:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fa92b8012cea5040071f4d50000600c530..."} 
[2026-08-08 20:57:15] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fa92b8012cea5040071f4d50000600c530..."} 
[2026-08-08 20:57:15] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:57:15] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:57:15] local.INFO: GPS Element Parsed {"raw_longitude":753553472,"raw_latitude":119491920,"longitude_deg":75.3553472,"latitude_deg":11.949192,"altitude":6,"angle":197,"satellites":48,"speed":20,"hex_longitude":"2cea5040","hex_latitude":"071f4d50","is_valid_coordinates":true} 
[2026-08-08 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267896832001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375928145137631232,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562467565130801152,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786202723000,"timestamp_ms":1786202723000,"timestamp_seconds":1786202723,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fa92b8"} 
[2026-08-08 20:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:57: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-08-08 20:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 20:57: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-08-08 20:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:57: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-08-08 20:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267896832001,"66":27289,"75":206,"83":43008,"24":20,"16":375928145137631232,"44":-1562467565130801152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267896832001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375928145137631232,"km_value":375928145137631.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562467565130801152,"description":"Unknown IO ID 44"} 
[2026-08-08 20:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267896832001,"power":27289,"unknown_75":206,"unknown_83":43008,"ignition":20,"odometer":null,"unknown_44":-1562467565130801152}} 
[2026-08-08 20:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:15] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:15] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:31] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:57:31] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:57:31] local.INFO: IMEI packet received {"connection_id":153195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":153195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:57:36] local.INFO: TCP Data received {"connection_id":150798,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:57:36] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:57:36] local.INFO: IMEI packet received {"connection_id":150798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":150798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:57:36] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:57:36] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:57:36] local.INFO: IMEI packet received {"connection_id":153195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":153195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:57:37] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f98918012d76240005ec0328000601302b..."} 
[2026-08-08 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f98918012d76240005ec0328000601302b..."} 
[2026-08-08 20:57:37] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f98918012d76240005ec0328000601302b..."} 
[2026-08-08 20:57:37] local.INFO: Packet analysis {"connection_id":153195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f9"} 
[2026-08-08 20:57:37] local.INFO: Extracted packet for processing {"connection_id":153195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f9"} 
[2026-08-08 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":762717184,"raw_latitude":99353384,"longitude_deg":76.2717184,"latitude_deg":9.9353384,"altitude":6,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d762400","hex_latitude":"05ec0328","is_valid_coordinates":true} 
[2026-08-08 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-08-08 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267874304001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359189558722560,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8512929221071546368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202655000,"timestamp_ms":1786202655000,"timestamp_seconds":1786202655,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f98918"} 
[2026-08-08 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-08-08 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-08 20:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267874304001,"66":12037,"191":206,"87":12288,"24":0,"16":116359189558722560,"45":8512929221071546368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267874304001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:37] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:57:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359189558722560,"km_value":116359189558722.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8512929221071546368,"description":"Unknown IO ID 45"} 
[2026-08-08 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267874304001,"power":12037,"unknown_191":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8512929221071546368}} 
[2026-08-08 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":153195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:37] local.INFO: GPS data processed {"connection_id":153195,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:37] local.INFO: Acknowledgment sent {"connection_id":153195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:41] local.INFO: TCP Data received {"connection_id":150798,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:57:41] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:57:41] local.INFO: IMEI packet received {"connection_id":150798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":150798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:57:42] local.INFO: TCP Data received {"connection_id":150798,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:57:42] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f7d398012d196a80071fef680042011725..."} 
[2026-08-08 20:57:42] local.INFO: Packet analysis {"connection_id":150798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:57:42] local.INFO: Extracted packet for processing {"connection_id":150798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f7"} 
[2026-08-08 20:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267773952001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202543000,"timestamp_ms":1786202543000,"timestamp_seconds":1786202543,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f7d398"} 
[2026-08-08 20:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 20:57: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-08-08 20:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267773952001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267773952001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267773952001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":150798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:42] local.INFO: GPS data processed {"connection_id":150798,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:42] local.INFO: Acknowledgment sent {"connection_id":150798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:57:46] local.INFO: TCP Data received {"connection_id":151715,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fa9e70012cea4f00071f46f0000600b831..."} 
[2026-08-08 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fa9e70012cea4f00071f46f0000600b831..."} 
[2026-08-08 20:57:46] local.INFO: Processing buffer {"connection_id":151715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fa9e70012cea4f00071f46f0000600b831..."} 
[2026-08-08 20:57:46] local.INFO: Packet analysis {"connection_id":151715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:57:46] local.INFO: Extracted packet for processing {"connection_id":151715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:57:46] local.INFO: GPS Element Parsed {"raw_longitude":753553152,"raw_latitude":119490288,"longitude_deg":75.3553152,"latitude_deg":11.9490288,"altitude":6,"angle":184,"satellites":49,"speed":22,"hex_longitude":"2cea4f00","hex_latitude":"071f46f0","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267897088001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375928226742009856,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562678671363452928,"note":"Value kept but may cause issues"} 
[2026-08-08 20:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786202726000,"timestamp_ms":1786202726000,"timestamp_seconds":1786202726,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fa9e70"} 
[2026-08-08 20:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":153,"data_length":795,"current_offset":136} 
[2026-08-08 20:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267897088001,"66":27343,"75":206,"83":43008,"24":22,"16":375928226742009856,"44":-1562678671363452928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-08-08 20:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267897088001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:57:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-08 20:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375928226742009856,"km_value":375928226742009.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562678671363452928,"description":"Unknown IO ID 44"} 
[2026-08-08 20:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267897088001,"power":27343,"unknown_75":206,"unknown_83":43008,"ignition":22,"odometer":null,"unknown_44":-1562678671363452928}} 
[2026-08-08 20:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":151715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:57:46] local.INFO: GPS data processed {"connection_id":151715,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:57:46] local.INFO: Acknowledgment sent {"connection_id":151715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:05] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:05] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:05] local.INFO: IMEI packet received {"connection_id":153196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":153196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:58:06] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:06] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:06] local.INFO: IMEI packet received {"connection_id":153196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":153196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:58:08] local.INFO: TCP Data received {"connection_id":153195,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1f9db20012d761d0005ec0620000701272c..."} 
[2026-08-08 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1f9db20012d761d0005ec0620000701272c..."} 
[2026-08-08 20:58:08] local.INFO: Processing buffer {"connection_id":153195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1f9db20012d761d0005ec0620000701272c..."} 
[2026-08-08 20:58:08] local.INFO: Packet analysis {"connection_id":153195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1f9"} 
[2026-08-08 20:58:08] local.INFO: Extracted packet for processing {"connection_id":153195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1f9"} 
[2026-08-08 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":762715392,"raw_latitude":99354144,"longitude_deg":76.2715392,"latitude_deg":9.9354144,"altitude":7,"angle":295,"satellites":44,"speed":3,"hex_longitude":"2d761d00","hex_latitude":"05ec0620","is_valid_coordinates":true} 
[2026-08-08 20: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-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267879680001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359292637937664,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8512929221071546368,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786202676000,"timestamp_ms":1786202676000,"timestamp_seconds":1786202676,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1f9db20"} 
[2026-08-08 20:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3791137160,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4170639361,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4227858440,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3442721326374060056,"corrected_to":0} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2818649462,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1442981468039993811,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,191,87,24,241,157,16,100,159,55,45,3,6,44,10,66,232,253,7,42,99,229,128,1,240,239,227,225,235,4,113,205,2,119,47,64,199,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3442721326374060056,"validated":0}]} 
[2026-08-08 20:58:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432680000446005248,"timestamp_seconds":432680000446005.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 20:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267879680001,"66":11950,"191":206,"87":12288,"24":3,"16":116359292637937664,"45":8512929221071546368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267879680001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:08] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359292637937664,"km_value":116359292637937.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8512929221071546368,"description":"Unknown IO ID 45"} 
[2026-08-08 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267879680001,"power":11950,"unknown_191":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8512929221071546368}} 
[2026-08-08 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":153195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:08] local.INFO: GPS data processed {"connection_id":153195,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:08] local.INFO: Acknowledgment sent {"connection_id":153195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:12] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:12] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:58:12] local.INFO: IMEI packet received {"connection_id":153196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":153196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:58:14] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fad138012cea4a00071f2458000700bb2e..."} 
[2026-08-08 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fad138012cea4a00071f2458000700bb2e..."} 
[2026-08-08 20:58:14] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fad138012cea4a00071f2458000700bb2e..."} 
[2026-08-08 20:58:14] local.INFO: Packet analysis {"connection_id":153196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:58:14] local.INFO: Extracted packet for processing {"connection_id":153196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fa"} 
[2026-08-08 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753551872,"raw_latitude":119481432,"longitude_deg":75.3551872,"latitude_deg":11.9481432,"altitude":7,"angle":187,"satellites":46,"speed":31,"hex_longitude":"2cea4a00","hex_latitude":"071f2458","is_valid_coordinates":true} 
[2026-08-08 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267897856001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375928660533706752,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563030515084759040,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202739000,"timestamp_ms":1786202739000,"timestamp_seconds":1786202739,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fad138"} 
[2026-08-08 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 20:58: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-08-08 20:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:58: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-08-08 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267897856001,"66":27463,"76":206,"83":43008,"24":31,"16":375928660533706752,"44":-1563030515084759040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267897856001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375928660533706752,"km_value":375928660533706.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563030515084759040,"description":"Unknown IO ID 44"} 
[2026-08-08 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267897856001,"power":27463,"unknown_76":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1563030515084759040}} 
[2026-08-08 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":153196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:14] local.INFO: GPS data processed {"connection_id":153196,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:14] local.INFO: Acknowledgment sent {"connection_id":153196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:14] local.INFO: TCP Data received {"connection_id":150798,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:58:14] local.INFO: Processing buffer {"connection_id":150798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:58:14] local.INFO: Packet analysis {"connection_id":150798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:58:14] local.INFO: Extracted packet for processing {"connection_id":150798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":150798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:14] local.INFO: GPS data processed {"connection_id":150798,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:14] local.INFO: Acknowledgment sent {"connection_id":150798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:14] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fb0018012cea41c0071f0080000900c12e..."} 
[2026-08-08 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fb0018012cea41c0071f0080000900c12e..."} 
[2026-08-08 20:58:14] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fb0018012cea41c0071f0080000900c12e..."} 
[2026-08-08 20:58:14] local.INFO: Packet analysis {"connection_id":153196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:58:14] local.INFO: Extracted packet for processing {"connection_id":153196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753549760,"raw_latitude":119472256,"longitude_deg":75.354976,"latitude_deg":11.9472256,"altitude":9,"angle":193,"satellites":46,"speed":32,"hex_longitude":"2cea41c0","hex_latitude":"071f0080","is_valid_coordinates":true} 
[2026-08-08 20:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267901184001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375929115800240128,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564437889970579456,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202751000,"timestamp_ms":1786202751000,"timestamp_seconds":1786202751,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fb0018"} 
[2026-08-08 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 20:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:58: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-08-08 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267901184001,"66":27463,"76":206,"83":43008,"24":32,"16":375929115800240128,"44":-1564437889970579456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267901184001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375929115800240128,"km_value":375929115800240.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564437889970579456,"description":"Unknown IO ID 44"} 
[2026-08-08 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267901184001,"power":27463,"unknown_76":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1564437889970579456}} 
[2026-08-08 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":153196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:14] local.INFO: GPS data processed {"connection_id":153196,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:14] local.INFO: Acknowledgment sent {"connection_id":153196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:31] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:58:31] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:58:31] local.INFO: IMEI packet received {"connection_id":150799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":150799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:58:33] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:58:33] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:58:33] local.INFO: IMEI packet received {"connection_id":150799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":150799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:58:34] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fcf800012d760d4005ebf7c0000900d22c..."} 
[2026-08-08 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fcf800012d760d4005ebf7c0000900d22c..."} 
[2026-08-08 20:58:34] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fcf800012d760d4005ebf7c0000900d22c..."} 
[2026-08-08 20:58:34] local.INFO: Packet analysis {"connection_id":150799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:58:34] local.INFO: Extracted packet for processing {"connection_id":150799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762711360,"raw_latitude":99350464,"longitude_deg":76.271136,"latitude_deg":9.9350464,"altitude":9,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d760d40","hex_latitude":"05ebf7c0","is_valid_coordinates":true} 
[2026-08-08 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267931904001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359584695713792,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8506525665350631424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786202880000,"timestamp_ms":1786202880000,"timestamp_seconds":1786202880,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fcf800"} 
[2026-08-08 20:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":150799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":150799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":150799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267931904001,"66":11874,"191":206,"87":12288,"24":0,"16":116359584695713792,"45":8506525665350631424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267931904001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:34] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:58:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359584695713792,"km_value":116359584695713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8506525665350631424,"description":"Unknown IO ID 45"} 
[2026-08-08 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267931904001,"power":11874,"unknown_191":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8506525665350631424}} 
[2026-08-08 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":150799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:34] local.INFO: GPS data processed {"connection_id":150799,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:34] local.INFO: Acknowledgment sent {"connection_id":150799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:36] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:58:36] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:58:36] local.INFO: IMEI packet received {"connection_id":150504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":150504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:58:41] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:58:41] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:58:41] local.INFO: IMEI packet received {"connection_id":150504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":150504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:58:42] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:58:42] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:58:42] local.INFO: Packet analysis {"connection_id":150504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:58:42] local.INFO: Extracted packet for processing {"connection_id":150504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58: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-08-08 20:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 20:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":150504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:43] local.INFO: GPS data processed {"connection_id":150504,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:43] local.INFO: Acknowledgment sent {"connection_id":150504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:58:54] local.INFO: TCP Data received {"connection_id":153196,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fb2b10012cea3700071edc60000a00c52f..."} 
[2026-08-08 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fb2b10012cea3700071edc60000a00c52f..."} 
[2026-08-08 20:58:54] local.INFO: Processing buffer {"connection_id":153196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fb2b10012cea3700071edc60000a00c52f..."} 
[2026-08-08 20:58:54] local.INFO: Packet analysis {"connection_id":153196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:58:54] local.INFO: Extracted packet for processing {"connection_id":153196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":753547008,"raw_latitude":119463008,"longitude_deg":75.3547008,"latitude_deg":11.9463008,"altitude":10,"angle":197,"satellites":47,"speed":31,"hex_longitude":"2cea3700","hex_latitude":"071edc60","is_valid_coordinates":true} 
[2026-08-08 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267904256001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375929583951675392,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1566760058530791424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1786202762000,"timestamp_ms":1786202762000,"timestamp_seconds":1786202762,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fb2b10"} 
[2026-08-08 20:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 20:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":153196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":153196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267904256001,"66":27267,"76":206,"83":43008,"24":31,"16":375929583951675392,"44":-1566760058530791424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-08-08 20:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267904256001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:58:54] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-08 20:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375929583951675392,"km_value":375929583951675.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1566760058530791424,"description":"Unknown IO ID 44"} 
[2026-08-08 20:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267904256001,"power":27267,"unknown_76":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1566760058530791424}} 
[2026-08-08 20:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":153196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:58:54] local.INFO: GPS data processed {"connection_id":153196,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:58:54] local.INFO: Acknowledgment sent {"connection_id":153196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:06] local.INFO: TCP Data received {"connection_id":150799,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fd3a68012d760bc005ebf630000900df2a..."} 
[2026-08-08 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fd3a68012d760bc005ebf630000900df2a..."} 
[2026-08-08 20:59:06] local.INFO: Processing buffer {"connection_id":150799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fd3a68012d760bc005ebf630000900df2a..."} 
[2026-08-08 20:59:06] local.INFO: Packet analysis {"connection_id":150799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fd"} 
[2026-08-08 20:59:06] local.INFO: Extracted packet for processing {"connection_id":150799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fd"} 
[2026-08-08 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762710976,"raw_latitude":99350064,"longitude_deg":76.2710976,"latitude_deg":9.9350064,"altitude":9,"angle":223,"satellites":42,"speed":3,"hex_longitude":"2d760bc0","hex_latitude":"05ebf630","is_valid_coordinates":true} 
[2026-08-08 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267937280001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359610465517568,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8506525665350631424,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786202897000,"timestamp_ms":1786202897000,"timestamp_seconds":1786202897,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fd3a68"} 
[2026-08-08 20:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59: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-08-08 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:06] 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-08-08 20:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267937280001,"66":12156,"191":206,"87":12288,"24":3,"16":116359610465517568,"45":8506525665350631424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267937280001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359610465517568,"km_value":116359610465517.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8506525665350631424,"description":"Unknown IO ID 45"} 
[2026-08-08 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267937280001,"power":12156,"unknown_191":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8506525665350631424}} 
[2026-08-08 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":150799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:06] local.INFO: GPS data processed {"connection_id":150799,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:06] local.INFO: Acknowledgment sent {"connection_id":150799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:10] local.INFO: TCP Data received {"connection_id":150505,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:10] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:10] local.INFO: IMEI packet received {"connection_id":150505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 20:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":150505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:59:11] local.INFO: TCP Data received {"connection_id":150505,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:11] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:11] local.INFO: IMEI packet received {"connection_id":150505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":150505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:59:14] local.INFO: TCP Data received {"connection_id":150504,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:14] local.INFO: Processing buffer {"connection_id":150504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:14] local.INFO: Packet analysis {"connection_id":150504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:59:14] local.INFO: Extracted packet for processing {"connection_id":150504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20: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-08-08 20:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 20:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20: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":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":150504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:14] local.INFO: GPS data processed {"connection_id":150504,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:14] local.INFO: Acknowledgment sent {"connection_id":150504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:16] local.INFO: TCP Data received {"connection_id":150505,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:16] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 20:59:16] local.INFO: IMEI packet received {"connection_id":150505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 20:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":150505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:59:16] local.INFO: TCP Data received {"connection_id":150505,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fb5608012cea2b00071eba18000a00c42c..."} 
[2026-08-08 20:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fb5608012cea2b00071eba18000a00c42c..."} 
[2026-08-08 20:59:16] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fb5608012cea2b00071eba18000a00c42c..."} 
[2026-08-08 20:59:16] local.INFO: Packet analysis {"connection_id":150505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:59:16] local.INFO: Extracted packet for processing {"connection_id":150505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:59:16] local.INFO: GPS Element Parsed {"raw_longitude":753543936,"raw_latitude":119454232,"longitude_deg":75.3543936,"latitude_deg":11.9454232,"altitude":10,"angle":196,"satellites":44,"speed":37,"hex_longitude":"2cea2b00","hex_latitude":"071eba18","is_valid_coordinates":true} 
[2026-08-08 20:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267907072001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375930034923241472,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1569785914532798464,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:16] 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-08-08 20:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786202773000,"timestamp_ms":1786202773000,"timestamp_seconds":1786202773,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fb5608"} 
[2026-08-08 20:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59: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-08-08 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267907072001,"66":27332,"68":206,"83":43008,"24":37,"16":375930034923241472,"44":-1569785914532798464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 20:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267907072001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:16] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 20:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375930034923241472,"km_value":375930034923241.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1569785914532798464,"description":"Unknown IO ID 44"} 
[2026-08-08 20:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267907072001,"power":27332,"unknown_68":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1569785914532798464}} 
[2026-08-08 20:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":150505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:16] local.INFO: GPS data processed {"connection_id":150505,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:16] local.INFO: Acknowledgment sent {"connection_id":150505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:20] local.INFO: TCP Data received {"connection_id":150505,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fb7d18012cea20c0071e96c0000a00be2e..."} 
[2026-08-08 20:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fb7d18012cea20c0071e96c0000a00be2e..."} 
[2026-08-08 20:59:20] local.INFO: Processing buffer {"connection_id":150505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fb7d18012cea20c0071e96c0000a00be2e..."} 
[2026-08-08 20:59:20] local.INFO: Packet analysis {"connection_id":150505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:59:20] local.INFO: Extracted packet for processing {"connection_id":150505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":753541312,"raw_latitude":119445184,"longitude_deg":75.3541312,"latitude_deg":11.9445184,"altitude":10,"angle":190,"satellites":46,"speed":38,"hex_longitude":"2cea20c0","hex_latitude":"071e96c0","is_valid_coordinates":true} 
[2026-08-08 20:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267909888001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375930490189774848,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1573163614255572992,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:20] 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-08-08 20:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786202783000,"timestamp_ms":1786202783000,"timestamp_seconds":1786202783,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fb7d18"} 
[2026-08-08 20:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 20:59: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-08-08 20:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 20:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 20:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267909888001,"66":27300,"68":206,"83":43008,"24":38,"16":375930490189774848,"44":-1573163614255572992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 20:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 20:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267909888001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 20:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375930490189774848,"km_value":375930490189774.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1573163614255572992,"description":"Unknown IO ID 44"} 
[2026-08-08 20:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267909888001,"power":27300,"unknown_68":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1573163614255572992}} 
[2026-08-08 20:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":150505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:20] local.INFO: GPS data processed {"connection_id":150505,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:20] local.INFO: Acknowledgment sent {"connection_id":150505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:33] local.INFO: TCP Data received {"connection_id":150506,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:59:33] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:59:33] local.INFO: IMEI packet received {"connection_id":150506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 20:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":150506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:59:37] local.INFO: TCP Data received {"connection_id":150506,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:59:37] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 20:59:37] local.INFO: IMEI packet received {"connection_id":150506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 20:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":150506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:59:41] local.INFO: TCP Data received {"connection_id":151716,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:59:41] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:59:41] local.INFO: IMEI packet received {"connection_id":151716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 20:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":151716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 20:59:46] local.INFO: TCP Data received {"connection_id":151716,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:59:46] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 20:59:46] local.INFO: IMEI packet received {"connection_id":151716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 20:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":151716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 20:59:47] local.INFO: TCP Data received {"connection_id":151716,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:47] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:47] local.INFO: Packet analysis {"connection_id":151716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:59:47] local.INFO: Extracted packet for processing {"connection_id":151716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 20:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":151716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:48] local.INFO: GPS data processed {"connection_id":151716,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:48] local.INFO: Acknowledgment sent {"connection_id":151716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:49] local.INFO: TCP Data received {"connection_id":150506,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fd7500012d7607c005ebf188000800d32d..."} 
[2026-08-08 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fd7500012d7607c005ebf188000800d32d..."} 
[2026-08-08 20:59:49] local.INFO: Processing buffer {"connection_id":150506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fd7500012d7607c005ebf188000800d32d..."} 
[2026-08-08 20:59:49] local.INFO: Packet analysis {"connection_id":150506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fd"} 
[2026-08-08 20:59:49] local.INFO: Extracted packet for processing {"connection_id":150506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fd"} 
[2026-08-08 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":762709952,"raw_latitude":99348872,"longitude_deg":76.2709952,"latitude_deg":9.9348872,"altitude":8,"angle":211,"satellites":45,"speed":2,"hex_longitude":"2d7607c0","hex_latitude":"05ebf188","is_valid_coordinates":true} 
[2026-08-08 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267941632001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359687774928896,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8506103452885463040,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786202912000,"timestamp_ms":1786202912000,"timestamp_seconds":1786202912,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fd7500"} 
[2026-08-08 20:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 20:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 20:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 20:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267941632001,"66":11895,"191":206,"87":12288,"24":2,"16":116359687774928896,"45":8506103452885463040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 20:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 20:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 20:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267941632001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 20:59:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 20:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359687774928896,"km_value":116359687774928.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8506103452885463040,"description":"Unknown IO ID 45"} 
[2026-08-08 20:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267941632001,"power":11895,"unknown_191":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8506103452885463040}} 
[2026-08-08 20:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":150506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:49] local.INFO: GPS data processed {"connection_id":150506,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:49] local.INFO: Acknowledgment sent {"connection_id":150506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 20:59:51] local.INFO: TCP Data received {"connection_id":151716,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:51] local.INFO: Processing buffer {"connection_id":151716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 20:59:51] local.INFO: Packet analysis {"connection_id":151716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:59:51] local.INFO: Extracted packet for processing {"connection_id":151716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 20:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 20:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 20:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 20:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 20:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 20:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 20:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 20:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 20:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 20:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 20:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 20:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 20:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 20:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 20:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 20:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 20:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 20:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 20:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 20:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 20:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 20:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 20:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 20:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 20:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 20:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 20:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":151716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 20:59:51] local.INFO: GPS data processed {"connection_id":151716,"processed":1,"errors":0,"total":1} 
[2026-08-08 20:59:51] local.INFO: Acknowledgment sent {"connection_id":151716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:00:04] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:00:04] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:00:04] local.INFO: IMEI packet received {"connection_id":151717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":151717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:00:09] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:00:09] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:00:09] local.INFO: IMEI packet received {"connection_id":151717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":151717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:00:13] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fba428012cea1a80071e71a0000900bc2e..."} 
[2026-08-08 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fba428012cea1a80071e71a0000900bc2e..."} 
[2026-08-08 21:00:13] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fba428012cea1a80071e71a0000900bc2e..."} 
[2026-08-08 21:00:13] local.INFO: Packet analysis {"connection_id":151717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 21:00:13] local.INFO: Extracted packet for processing {"connection_id":151717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 21:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753539712,"raw_latitude":119435680,"longitude_deg":75.3539712,"latitude_deg":11.943568,"altitude":9,"angle":188,"satellites":46,"speed":37,"hex_longitude":"2cea1a80","hex_latitude":"071e71a0","is_valid_coordinates":true} 
[2026-08-08 21:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267912448001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375930958341210112,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1576048732769173504,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:13] 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-08-08 21:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786202793000,"timestamp_ms":1786202793000,"timestamp_seconds":1786202793,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fba428"} 
[2026-08-08 21:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 21:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267912448001,"66":27300,"68":206,"83":43008,"24":37,"16":375930958341210112,"44":-1576048732769173504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-08-08 21:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267912448001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:00:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-08 21:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375930958341210112,"km_value":375930958341210.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1576048732769173504,"description":"Unknown IO ID 44"} 
[2026-08-08 21:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267912448001,"power":27300,"unknown_68":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1576048732769173504}} 
[2026-08-08 21:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":151717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:00:13] local.INFO: GPS data processed {"connection_id":151717,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:00:13] local.INFO: Acknowledgment sent {"connection_id":151717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:00:29] local.INFO: TCP Data received {"connection_id":150507,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:29] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:29] local.INFO: IMEI packet received {"connection_id":150507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":150507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:00:32] local.INFO: TCP Data received {"connection_id":150507,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:32] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:32] local.INFO: IMEI packet received {"connection_id":150507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":150507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:00:36] local.INFO: TCP Data received {"connection_id":150800,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:00:36] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:00:36] local.INFO: IMEI packet received {"connection_id":150800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:00:36] local.INFO: TCP Data received {"connection_id":150507,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:36] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:00:36] local.INFO: IMEI packet received {"connection_id":150507,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150507,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:00:37] local.INFO: TCP Data received {"connection_id":150507,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fd9440012d76074005ebf0e0000800e32d..."} 
[2026-08-08 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fd9440012d76074005ebf0e0000800e32d..."} 
[2026-08-08 21:00:37] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fd9440012d76074005ebf0e0000800e32d..."} 
[2026-08-08 21:00:37] local.INFO: Packet analysis {"connection_id":150507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fd"} 
[2026-08-08 21:00:37] local.INFO: Extracted packet for processing {"connection_id":150507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fd"} 
[2026-08-08 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":762709824,"raw_latitude":99348704,"longitude_deg":76.2709824,"latitude_deg":9.9348704,"altitude":8,"angle":227,"satellites":45,"speed":2,"hex_longitude":"2d760740","hex_latitude":"05ebf0e0","is_valid_coordinates":true} 
[2026-08-08 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267945472001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116359700659830784,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8504977552978315264,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786202920000,"timestamp_ms":1786202920000,"timestamp_seconds":1786202920,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fd9440"} 
[2026-08-08 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:00: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-08-08 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267945472001,"66":12232,"191":206,"87":12288,"24":2,"16":116359700659830784,"45":8504977552978315264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-08-08 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267945472001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116359700659830784,"km_value":116359700659830.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8504977552978315264,"description":"Unknown IO ID 45"} 
[2026-08-08 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267945472001,"power":12232,"unknown_191":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8504977552978315264}} 
[2026-08-08 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":150507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:00:37] local.INFO: GPS data processed {"connection_id":150507,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:00:37] local.INFO: Acknowledgment sent {"connection_id":150507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:00:41] local.INFO: TCP Data received {"connection_id":150800,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:00:41] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:00:41] local.INFO: IMEI packet received {"connection_id":150800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":150800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:00:42] local.INFO: TCP Data received {"connection_id":150800,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:00:42] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:00:42] local.INFO: Packet analysis {"connection_id":150800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:00:42] local.INFO: Extracted packet for processing {"connection_id":150800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00: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-08-08 21:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 21:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 21:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:00:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":150800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:00:42] local.INFO: GPS data processed {"connection_id":150800,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:00:42] local.INFO: Acknowledgment sent {"connection_id":150800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:00:51] local.INFO: TCP Data received {"connection_id":151717,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fbc750012cea1780071e4f08000800b72e..."} 
[2026-08-08 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fbc750012cea1780071e4f08000800b72e..."} 
[2026-08-08 21:00:51] local.INFO: Processing buffer {"connection_id":151717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fbc750012cea1780071e4f08000800b72e..."} 
[2026-08-08 21:00:51] local.INFO: Packet analysis {"connection_id":151717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 21:00:51] local.INFO: Extracted packet for processing {"connection_id":151717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 21:00:51] local.INFO: GPS Element Parsed {"raw_longitude":753538944,"raw_latitude":119426824,"longitude_deg":75.3538944,"latitude_deg":11.9426824,"altitude":8,"angle":183,"satellites":46,"speed":42,"hex_longitude":"2cea1780","hex_latitude":"071e4f08","is_valid_coordinates":true} 
[2026-08-08 21:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267915008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375931387837939712,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577807951376048128,"note":"Value kept but may cause issues"} 
[2026-08-08 21:00:51] 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-08-08 21:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786202802000,"timestamp_ms":1786202802000,"timestamp_seconds":1786202802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fbc750"} 
[2026-08-08 21:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 21:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267915008001,"66":27321,"109":206,"83":43008,"24":42,"16":375931387837939712,"44":-1577807951376048128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-08-08 21:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267915008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:00:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 21:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375931387837939712,"km_value":375931387837939.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577807951376048128,"description":"Unknown IO ID 44"} 
[2026-08-08 21:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267915008001,"power":27321,"unknown_109":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1577807951376048128}} 
[2026-08-08 21:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":151717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:00:51] local.INFO: GPS data processed {"connection_id":151717,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:00:51] local.INFO: Acknowledgment sent {"connection_id":151717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:09] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:01:09] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:01:09] local.INFO: IMEI packet received {"connection_id":151718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":151718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:01:09] local.INFO: TCP Data received {"connection_id":150507,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ffb720012d7578c005eb6540000201302b..."} 
[2026-08-08 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ffb720012d7578c005eb6540000201302b..."} 
[2026-08-08 21:01:09] local.INFO: Processing buffer {"connection_id":150507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ffb720012d7578c005eb6540000201302b..."} 
[2026-08-08 21:01:09] local.INFO: Packet analysis {"connection_id":150507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:01:09] local.INFO: Extracted packet for processing {"connection_id":150507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:01:09] local.INFO: GPS Element Parsed {"raw_longitude":762673344,"raw_latitude":99312960,"longitude_deg":76.2673344,"latitude_deg":9.931296,"altitude":2,"angle":304,"satellites":43,"speed":11,"hex_longitude":"2d7578c0","hex_latitude":"05eb6540","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267983104001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116362208920731648,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465008106276177920,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786203060000,"timestamp_ms":1786203060000,"timestamp_seconds":1786203060,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ffb720"} 
[2026-08-08 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-08-08 21:01: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-08-08 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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150507,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267983104001,"66":11624,"186":206,"87":12288,"24":11,"16":116362208920731648,"45":8465008106276177920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 21:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267983104001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 21:01:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116362208920731648,"km_value":116362208920731.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465008106276177920,"description":"Unknown IO ID 45"} 
[2026-08-08 21:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267983104001,"power":11624,"unknown_186":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8465008106276177920}} 
[2026-08-08 21:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":150507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:09] local.INFO: GPS data processed {"connection_id":150507,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:09] local.INFO: Acknowledgment sent {"connection_id":150507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:14] local.INFO: TCP Data received {"connection_id":150800,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:01:14] local.INFO: Processing buffer {"connection_id":150800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:01:14] local.INFO: Packet analysis {"connection_id":150800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:01:14] local.INFO: Extracted packet for processing {"connection_id":150800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 21:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":150800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:14] local.INFO: GPS data processed {"connection_id":150800,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:14] local.INFO: Acknowledgment sent {"connection_id":150800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:29] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:01:29] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:01:29] local.INFO: IMEI packet received {"connection_id":151718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":151718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:01:31] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:31] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:31] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:01:31] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fbe690012cea1540071e2b58000900b72d..."} 
[2026-08-08 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fbe690012cea1540071e2b58000900b72d..."} 
[2026-08-08 21:01:31] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fbe690012cea1540071e2b58000900b72d..."} 
[2026-08-08 21:01:31] local.INFO: Packet analysis {"connection_id":151718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 21:01:31] local.INFO: Extracted packet for processing {"connection_id":151718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fb"} 
[2026-08-08 21:01:31] local.INFO: GPS Element Parsed {"raw_longitude":753538368,"raw_latitude":119417688,"longitude_deg":75.3538368,"latitude_deg":11.9417688,"altitude":9,"angle":183,"satellites":45,"speed":48,"hex_longitude":"2cea1540","hex_latitude":"071e2b58","is_valid_coordinates":true} 
[2026-08-08 21:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267917312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375931830219571200,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578652376308447232,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:31] 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-08-08 21:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786202810000,"timestamp_ms":1786202810000,"timestamp_seconds":1786202810,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fbe690"} 
[2026-08-08 21:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267917312001,"66":27180,"109":206,"83":43008,"24":48,"16":375931830219571200,"44":-1578652376308447232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-08-08 21:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267917312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 21:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375931830219571200,"km_value":375931830219571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578652376308447232,"description":"Unknown IO ID 44"} 
[2026-08-08 21:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267917312001,"power":27180,"unknown_109":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1578652376308447232}} 
[2026-08-08 21:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":151718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:31] local.INFO: GPS data processed {"connection_id":151718,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:31] local.INFO: Acknowledgment sent {"connection_id":151718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:32] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:32] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:32] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:01:33] local.INFO: TCP Data received {"connection_id":151718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc05d0012cea12c0071e05a0000800b82d..."} 
[2026-08-08 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc05d0012cea12c0071e05a0000800b82d..."} 
[2026-08-08 21:01:33] local.INFO: Processing buffer {"connection_id":151718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc05d0012cea12c0071e05a0000800b82d..."} 
[2026-08-08 21:01:33] local.INFO: Packet analysis {"connection_id":151718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:01:33] local.INFO: Extracted packet for processing {"connection_id":151718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":753537728,"raw_latitude":119408032,"longitude_deg":75.3537728,"latitude_deg":11.9408032,"altitude":8,"angle":184,"satellites":45,"speed":45,"hex_longitude":"2cea12c0","hex_latitude":"071e05a0","is_valid_coordinates":true} 
[2026-08-08 21:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267919360001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375932302665973760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579285695008385024,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:33] 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-08-08 21:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786202818000,"timestamp_ms":1786202818000,"timestamp_seconds":1786202818,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc05d0"} 
[2026-08-08 21:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:01: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":44,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":151718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":151718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267919360001,"66":27539,"109":206,"83":43008,"24":45,"16":375932302665973760,"44":-1579285695008385024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-08-08 21:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267919360001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 21:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375932302665973760,"km_value":375932302665973.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579285695008385024,"description":"Unknown IO ID 44"} 
[2026-08-08 21:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267919360001,"power":27539,"unknown_109":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1579285695008385024}} 
[2026-08-08 21:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":151718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:33] local.INFO: GPS data processed {"connection_id":151718,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:33] local.INFO: Acknowledgment sent {"connection_id":151718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:35] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:35] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:35] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:01:36] local.INFO: TCP Data received {"connection_id":153197,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:01:36] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:01:36] local.INFO: IMEI packet received {"connection_id":153197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":153197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:01:36] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:36] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:01:36] local.INFO: IMEI packet received {"connection_id":151719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":151719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:01:37] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ffbb08012d7577c005eb66080002013d2d..."} 
[2026-08-08 21:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ffbb08012d7577c005eb66080002013d2d..."} 
[2026-08-08 21:01:37] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ffbb08012d7577c005eb66080002013d2d..."} 
[2026-08-08 21:01:37] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:01:37] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":762673088,"raw_latitude":99313160,"longitude_deg":76.2673088,"latitude_deg":9.931316,"altitude":2,"angle":317,"satellites":45,"speed":13,"hex_longitude":"2d7577c0","hex_latitude":"05eb6608","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267983360001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116362226100600832,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8464726631299497984,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203061000,"timestamp_ms":1786203061000,"timestamp_seconds":1786203061,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ffbb08"} 
[2026-08-08 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-08-08 21:01: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-08-08 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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267983360001,"66":11624,"186":206,"87":12288,"24":13,"16":116362226100600832,"45":8464726631299497984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 21:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267983360001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 21:01:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116362226100600832,"km_value":116362226100600.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8464726631299497984,"description":"Unknown IO ID 45"} 
[2026-08-08 21:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267983360001,"power":11624,"unknown_186":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8464726631299497984}} 
[2026-08-08 21:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:37] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:37] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:41] local.INFO: TCP Data received {"connection_id":153197,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:01:41] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:01:41] local.INFO: IMEI packet received {"connection_id":153197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":153197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:01:42] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ffc2d8012d75764005eb67f00002014b2e..."} 
[2026-08-08 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ffc2d8012d75764005eb67f00002014b2e..."} 
[2026-08-08 21:01:42] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ffc2d8012d75764005eb67f00002014b2e..."} 
[2026-08-08 21:01:42] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:01:42] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":762672704,"raw_latitude":99313648,"longitude_deg":76.2672704,"latitude_deg":9.9313648,"altitude":2,"angle":331,"satellites":46,"speed":9,"hex_longitude":"2d757640","hex_latitude":"05eb67f0","is_valid_coordinates":true} 
[2026-08-08 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267983616001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116362256165371904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8464445156322838528,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203063000,"timestamp_ms":1786203063000,"timestamp_seconds":1786203063,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ffc2d8"} 
[2026-08-08 21:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267983616001,"66":12102,"186":206,"87":12288,"24":9,"16":116362256165371904,"45":8464445156322838528},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267983616001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116362256165371904,"km_value":116362256165371.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8464445156322838528,"description":"Unknown IO ID 45"} 
[2026-08-08 21:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267983616001,"power":12102,"unknown_186":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8464445156322838528}} 
[2026-08-08 21:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:42] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:42] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:01:42] local.INFO: TCP Data received {"connection_id":153197,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:01:42] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:01:42] local.INFO: Packet analysis {"connection_id":153197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:01:42] local.INFO: Extracted packet for processing {"connection_id":153197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:01: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-08-08 21:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 21:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 21:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":153197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:01:43] local.INFO: GPS data processed {"connection_id":153197,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:01:43] local.INFO: Acknowledgment sent {"connection_id":153197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:02:04] local.INFO: TCP Data received {"connection_id":150508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:02:04] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:02:04] local.INFO: IMEI packet received {"connection_id":150508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":150508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:02:09] local.INFO: TCP Data received {"connection_id":150508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:02:09] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:02:09] local.INFO: IMEI packet received {"connection_id":150508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":150508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:02:10] local.INFO: TCP Data received {"connection_id":150508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ff5d48012cea0600071d4920000500ba30..."} 
[2026-08-08 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ff5d48012cea0600071d4920000500ba30..."} 
[2026-08-08 21:02:10] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ff5d48012cea0600071d4920000500ba30..."} 
[2026-08-08 21:02:10] local.INFO: Packet analysis {"connection_id":150508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:02:10] local.INFO: Extracted packet for processing {"connection_id":150508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":753534464,"raw_latitude":119359776,"longitude_deg":75.3534464,"latitude_deg":11.9359776,"altitude":5,"angle":186,"satellites":48,"speed":10,"hex_longitude":"2cea0600","hex_latitude":"071d4920","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267972096001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375934664897986560,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583296713440423936,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:10] 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-08-08 21:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203037000,"timestamp_ms":1786203037000,"timestamp_seconds":1786203037,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ff5d48"} 
[2026-08-08 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-08-08 21:02: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-08-08 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-08 21:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267972096001,"66":27267,"245":206,"83":41216,"24":10,"16":375934664897986560,"44":-1583296713440423936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267972096001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375934664897986560,"km_value":375934664897986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583296713440423936,"description":"Unknown IO ID 44"} 
[2026-08-08 21:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267972096001,"power":27267,"geofence_id":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1583296713440423936}} 
[2026-08-08 21:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":150508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:02:10] local.INFO: GPS data processed {"connection_id":150508,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:02:10] local.INFO: Acknowledgment sent {"connection_id":150508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:02:14] local.INFO: TCP Data received {"connection_id":151719,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ffda48012d7573c005eb6b380002013f2b..."} 
[2026-08-08 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ffda48012d7573c005eb6b380002013f2b..."} 
[2026-08-08 21:02:14] local.INFO: Processing buffer {"connection_id":151719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ffda48012d7573c005eb6b380002013f2b..."} 
[2026-08-08 21:02:14] local.INFO: Packet analysis {"connection_id":151719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:02:14] local.INFO: Extracted packet for processing {"connection_id":151719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":762672064,"raw_latitude":99314488,"longitude_deg":76.2672064,"latitude_deg":9.9314488,"altitude":2,"angle":319,"satellites":43,"speed":11,"hex_longitude":"2d7573c0","hex_latitude":"05eb6b38","is_valid_coordinates":true} 
[2026-08-08 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267984128001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116362307704979456,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8464022943857897472,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203069000,"timestamp_ms":1786203069000,"timestamp_seconds":1786203069,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ffda48"} 
[2026-08-08 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 21:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267984128001,"66":12069,"186":206,"87":12288,"24":11,"16":116362307704979456,"45":8464022943857897472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267984128001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116362307704979456,"km_value":116362307704979.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8464022943857897472,"description":"Unknown IO ID 45"} 
[2026-08-08 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267984128001,"power":12069,"unknown_186":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8464022943857897472}} 
[2026-08-08 21:02:14] local.INFO: TCP Data received {"connection_id":153197,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:02:14] local.INFO: Processing buffer {"connection_id":153197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:02:14] local.INFO: Packet analysis {"connection_id":153197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:02:14] local.INFO: Extracted packet for processing {"connection_id":153197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 21:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":151719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:02:14] local.INFO: GPS data processed {"connection_id":151719,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:02:14] local.INFO: Acknowledgment sent {"connection_id":151719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":153197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:02:14] local.INFO: GPS data processed {"connection_id":153197,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:02:14] local.INFO: Acknowledgment sent {"connection_id":153197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:02:31] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:02:31] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:02:31] local.INFO: IMEI packet received {"connection_id":150801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":150801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:02:36] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:02:36] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:02:36] local.INFO: IMEI packet received {"connection_id":150509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:02:36] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:02:36] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:02:36] local.INFO: IMEI packet received {"connection_id":150801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:02:40] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fff5a0012d756a8005eb7538000201302c..."} 
[2026-08-08 21:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fff5a0012d756a8005eb7538000201302c..."} 
[2026-08-08 21:02:40] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fff5a0012d756a8005eb7538000201302c..."} 
[2026-08-08 21:02:40] local.INFO: Packet analysis {"connection_id":150801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:02:40] local.INFO: Extracted packet for processing {"connection_id":150801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:02:40] local.INFO: GPS Element Parsed {"raw_longitude":762669696,"raw_latitude":99317048,"longitude_deg":76.2669696,"latitude_deg":9.9317048,"altitude":2,"angle":304,"satellites":44,"speed":21,"hex_longitude":"2d756a80","hex_latitude":"05eb7538","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267985664001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116362475208704000,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8463319256416335872,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786203076000,"timestamp_ms":1786203076000,"timestamp_seconds":1786203076,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fff5a0"} 
[2026-08-08 21:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:02: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-08-08 21: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 21:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267985664001,"66":12004,"186":206,"87":12288,"24":21,"16":116362475208704000,"45":8463319256416335872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-08-08 21:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267985664001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:02:40] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-08 21:02:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116362475208704000,"km_value":116362475208704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8463319256416335872,"description":"Unknown IO ID 45"} 
[2026-08-08 21:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267985664001,"power":12004,"unknown_186":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8463319256416335872}} 
[2026-08-08 21:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":150801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:02:40] local.INFO: GPS data processed {"connection_id":150801,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:02:40] local.INFO: Acknowledgment sent {"connection_id":150801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:02:41] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:02:41] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:02:41] local.INFO: IMEI packet received {"connection_id":150509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:02:42] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:02:42] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1fc6b60012d196a80071fef680042011727..."} 
[2026-08-08 21:02:42] local.INFO: Packet analysis {"connection_id":150509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:02:42] local.INFO: Extracted packet for processing {"connection_id":150509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1fc"} 
[2026-08-08 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267851008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:02: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-08-08 21:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786202844000,"timestamp_ms":1786202844000,"timestamp_seconds":1786202844,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1fc6b60"} 
[2026-08-08 21:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 21:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267851008001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267851008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:02:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267851008001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":150509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:02:42] local.INFO: GPS data processed {"connection_id":150509,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:02:42] local.INFO: Acknowledgment sent {"connection_id":150509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:02] local.INFO: TCP Data received {"connection_id":150508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe1ffaf50012cea04c0071d3be8000600b730..."} 
[2026-08-08 21:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe1ffaf50012cea04c0071d3be8000600b730..."} 
[2026-08-08 21:03:02] local.INFO: Processing buffer {"connection_id":150508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe1ffaf50012cea04c0071d3be8000600b730..."} 
[2026-08-08 21:03:02] local.INFO: Packet analysis {"connection_id":150508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:03:02] local.INFO: Extracted packet for processing {"connection_id":150508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe1ff"} 
[2026-08-08 21:03:02] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119356392,"longitude_deg":75.3534144,"latitude_deg":11.9356392,"altitude":6,"angle":183,"satellites":48,"speed":0,"hex_longitude":"2cea04c0","hex_latitude":"071d3be8","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267977472001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375934832401711104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583578188418048000,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:02] 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-08-08 21:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786203058000,"timestamp_ms":1786203058000,"timestamp_seconds":1786203058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe1ffaf50"} 
[2026-08-08 21:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267977472001,"66":27517,"245":206,"83":41216,"24":0,"16":375934832401711104,"44":-1583578188418048000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267977472001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375934832401711104,"km_value":375934832401711.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583578188418048000,"description":"Unknown IO ID 44"} 
[2026-08-08 21:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267977472001,"power":27517,"geofence_id":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1583578188418048000}} 
[2026-08-08 21:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":150508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:02] local.INFO: GPS data processed {"connection_id":150508,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:02] local.INFO: Acknowledgment sent {"connection_id":150508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:11] local.INFO: TCP Data received {"connection_id":150801,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2017c40012d74ea4005ebfe680004012929..."} 
[2026-08-08 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2017c40012d74ea4005ebfe680004012929..."} 
[2026-08-08 21:03:11] local.INFO: Processing buffer {"connection_id":150801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2017c40012d74ea4005ebfe680004012929..."} 
[2026-08-08 21:03:11] local.INFO: Packet analysis {"connection_id":150801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:11] local.INFO: Extracted packet for processing {"connection_id":150801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":762636864,"raw_latitude":99352168,"longitude_deg":76.2636864,"latitude_deg":9.9352168,"altitude":4,"angle":297,"satellites":41,"speed":28,"hex_longitude":"2d74ea40","hex_latitude":"05ebfe68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268011264001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116364880390389760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8428908940522170368,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786203176000,"timestamp_ms":1786203176000,"timestamp_seconds":1786203176,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2017c40"} 
[2026-08-08 21:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268011264001,"66":12058,"157":206,"87":12288,"24":28,"16":116364880390389760,"45":8428908940522170368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 21:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268011264001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 21:03:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116364880390389760,"km_value":116364880390389.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8428908940522170368,"description":"Unknown IO ID 45"} 
[2026-08-08 21:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268011264001,"power":12058,"unknown_157":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8428908940522170368}} 
[2026-08-08 21:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":150801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:11] local.INFO: GPS data processed {"connection_id":150801,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:11] local.INFO: Acknowledgment sent {"connection_id":150801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:12] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:03:12] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:03:12] local.INFO: IMEI packet received {"connection_id":150802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":150802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:03:14] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:03:14] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:03:14] local.INFO: IMEI packet received {"connection_id":150802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":150802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:03:14] local.INFO: TCP Data received {"connection_id":150509,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:14] local.INFO: Processing buffer {"connection_id":150509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:14] local.INFO: Packet analysis {"connection_id":150509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:14] local.INFO: Extracted packet for processing {"connection_id":150509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:14] 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-08-08 21:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":150509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:14] local.INFO: GPS data processed {"connection_id":150509,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:14] local.INFO: Acknowledgment sent {"connection_id":150509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:15] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2000158012cea0400071d3260000800b530..."} 
[2026-08-08 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2000158012cea0400071d3260000800b530..."} 
[2026-08-08 21:03:15] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2000158012cea0400071d3260000800b530..."} 
[2026-08-08 21:03:15] local.INFO: Packet analysis {"connection_id":150802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:03:15] local.INFO: Extracted packet for processing {"connection_id":150802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":753533952,"raw_latitude":119353952,"longitude_deg":75.3533952,"latitude_deg":11.9353952,"altitude":8,"angle":181,"satellites":48,"speed":0,"hex_longitude":"2cea0400","hex_latitude":"071d3260","is_valid_coordinates":true} 
[2026-08-08 21:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267982848001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375934952660795392,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583930032139802624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:15] 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-08-08 21:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786203079000,"timestamp_ms":1786203079000,"timestamp_seconds":1786203079,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2000158"} 
[2026-08-08 21:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:03: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-08-08 21:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267982848001,"66":27397,"245":206,"83":41216,"24":0,"16":375934952660795392,"44":-1583930032139802624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267982848001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375934952660795392,"km_value":375934952660795.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583930032139802624,"description":"Unknown IO ID 44"} 
[2026-08-08 21:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267982848001,"power":27397,"geofence_id":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1583930032139802624}} 
[2026-08-08 21:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":150802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:15] local.INFO: GPS data processed {"connection_id":150802,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:15] local.INFO: Acknowledgment sent {"connection_id":150802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:19] local.INFO: TCP Data received {"connection_id":150802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2005360012cea0340071d2780000800b830..."} 
[2026-08-08 21:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2005360012cea0340071d2780000800b830..."} 
[2026-08-08 21:03:19] local.INFO: Processing buffer {"connection_id":150802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2005360012cea0340071d2780000800b830..."} 
[2026-08-08 21:03:19] local.INFO: Packet analysis {"connection_id":150802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:03:19] local.INFO: Extracted packet for processing {"connection_id":150802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:03:19] local.INFO: GPS Element Parsed {"raw_longitude":753533760,"raw_latitude":119351168,"longitude_deg":75.353376,"latitude_deg":11.9351168,"altitude":8,"angle":184,"satellites":48,"speed":6,"hex_longitude":"2cea0340","hex_latitude":"071d2780","is_valid_coordinates":true} 
[2026-08-08 21:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267988224001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935090099748864,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584141138372960256,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:19] 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-08-08 21:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786203100000,"timestamp_ms":1786203100000,"timestamp_seconds":1786203100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2005360"} 
[2026-08-08 21:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:03: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-08-08 21:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:03: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-08-08 21:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267988224001,"66":27397,"209":206,"83":41216,"24":6,"16":375935090099748864,"44":-1584141138372960256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 21:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267988224001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:19] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 21:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935090099748864,"km_value":375935090099748.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584141138372960256,"description":"Unknown IO ID 44"} 
[2026-08-08 21:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267988224001,"power":27397,"unknown_209":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1584141138372960256}} 
[2026-08-08 21:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":150802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:19] local.INFO: GPS data processed {"connection_id":150802,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:19] local.INFO: Acknowledgment sent {"connection_id":150802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:36] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:03:36] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:03:36] local.INFO: IMEI packet received {"connection_id":153198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":153198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:03:41] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:03:41] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:03:41] local.INFO: IMEI packet received {"connection_id":153198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":153198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:03:41] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:03:41] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:03:41] local.INFO: IMEI packet received {"connection_id":151720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":151720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:03:42] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2018410012d74e50005ec00600004011c28..."} 
[2026-08-08 21:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2018410012d74e50005ec00600004011c28..."} 
[2026-08-08 21:03:42] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2018410012d74e50005ec00600004011c28..."} 
[2026-08-08 21:03:42] local.INFO: Packet analysis {"connection_id":153198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:42] local.INFO: Extracted packet for processing {"connection_id":153198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:42] local.INFO: GPS Element Parsed {"raw_longitude":762635520,"raw_latitude":99352672,"longitude_deg":76.263552,"latitude_deg":9.9352672,"altitude":4,"angle":284,"satellites":40,"speed":26,"hex_longitude":"2d74e500","hex_latitude":"05ec0060","is_valid_coordinates":true} 
[2026-08-08 21:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268013056001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116364949109866496,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8424616447128266752,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203178000,"timestamp_ms":1786203178000,"timestamp_seconds":1786203178,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2018410"} 
[2026-08-08 21:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268013056001,"66":11895,"157":206,"87":12288,"24":26,"16":116364949109866496,"45":8424616447128266752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268013056001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116364949109866496,"km_value":116364949109866.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8424616447128266752,"description":"Unknown IO ID 45"} 
[2026-08-08 21:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268013056001,"power":11895,"unknown_157":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8424616447128266752}} 
[2026-08-08 21:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":153198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:42] local.INFO: GPS data processed {"connection_id":153198,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:42] local.INFO: Acknowledgment sent {"connection_id":153198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:42] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2018fc8012d74de0005ec01500005010e2a..."} 
[2026-08-08 21:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2018fc8012d74de0005ec01500005010e2a..."} 
[2026-08-08 21:03:42] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2018fc8012d74de0005ec01500005010e2a..."} 
[2026-08-08 21:03:42] local.INFO: Packet analysis {"connection_id":153198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:42] local.INFO: Extracted packet for processing {"connection_id":153198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:42] local.INFO: GPS Element Parsed {"raw_longitude":762633728,"raw_latitude":99352912,"longitude_deg":76.2633728,"latitude_deg":9.9352912,"altitude":5,"angle":270,"satellites":42,"speed":19,"hex_longitude":"2d74de00","hex_latitude":"05ec0150","is_valid_coordinates":true} 
[2026-08-08 21:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268013568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116365035009212416,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8423138703500664832,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203181000,"timestamp_ms":1786203181000,"timestamp_seconds":1786203181,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2018fc8"} 
[2026-08-08 21:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268013568001,"66":12135,"157":206,"87":12288,"24":19,"16":116365035009212416,"45":8423138703500664832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 21:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268013568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116365035009212416,"km_value":116365035009212.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8423138703500664832,"description":"Unknown IO ID 45"} 
[2026-08-08 21:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268013568001,"power":12135,"unknown_157":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8423138703500664832}} 
[2026-08-08 21:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":153198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:42] local.INFO: GPS data processed {"connection_id":153198,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:42] local.INFO: Acknowledgment sent {"connection_id":153198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:46] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:03:46] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:03:46] local.INFO: IMEI packet received {"connection_id":151720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":151720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:03:47] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:47] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:47] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:47] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:47] 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-08-08 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:03: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-08-08 21:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:03:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:48] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:48] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:03:51] local.INFO: TCP Data received {"connection_id":151720,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:51] local.INFO: Processing buffer {"connection_id":151720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:03:51] local.INFO: Packet analysis {"connection_id":151720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:51] local.INFO: Extracted packet for processing {"connection_id":151720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:03:51] 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-08-08 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":151720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:03:51] local.INFO: GPS data processed {"connection_id":151720,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:03:51] local.INFO: Acknowledgment sent {"connection_id":151720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:04:13] local.INFO: TCP Data received {"connection_id":153198,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe201dde8012d74c38005ebff78000601132d..."} 
[2026-08-08 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe201dde8012d74c38005ebff78000601132d..."} 
[2026-08-08 21:04:13] local.INFO: Processing buffer {"connection_id":153198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe201dde8012d74c38005ebff78000601132d..."} 
[2026-08-08 21:04:13] local.INFO: Packet analysis {"connection_id":153198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:04:13] local.INFO: Extracted packet for processing {"connection_id":153198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:04:13] local.INFO: GPS Element Parsed {"raw_longitude":762626944,"raw_latitude":99352440,"longitude_deg":76.2626944,"latitude_deg":9.935244,"altitude":6,"angle":275,"satellites":45,"speed":5,"hex_longitude":"2d74c380","hex_latitude":"05ebff78","is_valid_coordinates":true} 
[2026-08-08 21:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268014336001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116365361426726912,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8421168378663751680,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786203201000,"timestamp_ms":1786203201000,"timestamp_seconds":1786203201,"priority":1,"record_length":96,"hex_timestamp":"0000019fe201dde8"} 
[2026-08-08 21:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 21:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268014336001,"66":11874,"140":206,"87":12288,"24":5,"16":116365361426726912,"45":8421168378663751680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 21:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268014336001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:04:13] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 21:04:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116365361426726912,"km_value":116365361426726.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8421168378663751680,"description":"Unknown IO ID 45"} 
[2026-08-08 21:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268014336001,"power":11874,"unknown_140":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8421168378663751680}} 
[2026-08-08 21:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":153198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:04:13] local.INFO: GPS data processed {"connection_id":153198,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:04:13] local.INFO: Acknowledgment sent {"connection_id":153198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:04:31] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:04:31] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:04:31] local.INFO: IMEI packet received {"connection_id":150803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":150803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:04:36] local.INFO: TCP Data received {"connection_id":153199,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:04:36] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:04:36] local.INFO: IMEI packet received {"connection_id":153199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":153199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:04:36] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:04:36] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:04:36] local.INFO: IMEI packet received {"connection_id":150803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":150803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:04:37] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2022820012d74ac4005ebff90000701222b..."} 
[2026-08-08 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2022820012d74ac4005ebff90000701222b..."} 
[2026-08-08 21:04:37] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2022820012d74ac4005ebff90000701222b..."} 
[2026-08-08 21:04:37] local.INFO: Packet analysis {"connection_id":150803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:04:37] local.INFO: Extracted packet for processing {"connection_id":150803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":762620992,"raw_latitude":99352464,"longitude_deg":76.2620992,"latitude_deg":9.9352464,"altitude":7,"angle":290,"satellites":43,"speed":7,"hex_longitude":"2d74ac40","hex_latitude":"05ebff90","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268019456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116365644894568448,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8413709291780798464,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203220000,"timestamp_ms":1786203220000,"timestamp_seconds":1786203220,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2022820"} 
[2026-08-08 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-08-08 21:04: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-08-08 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 21:04:37] 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-08-08 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-08-08 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-08-08 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268019456001,"66":11700,"140":206,"87":12288,"24":7,"16":116365644894568448,"45":8413709291780798464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268019456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:04:37] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 21:04:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116365644894568448,"km_value":116365644894568.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8413709291780798464,"description":"Unknown IO ID 45"} 
[2026-08-08 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268019456001,"power":11700,"unknown_140":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8413709291780798464}} 
[2026-08-08 21:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":150803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:04:37] local.INFO: GPS data processed {"connection_id":150803,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:04:37] local.INFO: Acknowledgment sent {"connection_id":150803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:04:41] local.INFO: TCP Data received {"connection_id":153199,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:04:41] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:04:41] local.INFO: IMEI packet received {"connection_id":153199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":153199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:04:42] local.INFO: TCP Data received {"connection_id":153199,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:04:42] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:04:42] local.INFO: Packet analysis {"connection_id":153199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:04:42] local.INFO: Extracted packet for processing {"connection_id":153199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:04:42] 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-08-08 21:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:04:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":153199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:04:42] local.INFO: GPS data processed {"connection_id":153199,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:04:42] local.INFO: Acknowledgment sent {"connection_id":153199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:04:42] local.INFO: TCP Data received {"connection_id":150510,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:04:42] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:04:42] local.INFO: IMEI packet received {"connection_id":150510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":150510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:04:47] local.INFO: TCP Data received {"connection_id":150510,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:04:47] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:04:47] local.INFO: IMEI packet received {"connection_id":150510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":150510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:04:49] local.INFO: TCP Data received {"connection_id":150510,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20066e8012cea0340071d2408000800ad30..."} 
[2026-08-08 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20066e8012cea0340071d2408000800ad30..."} 
[2026-08-08 21:04:49] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20066e8012cea0340071d2408000800ad30..."} 
[2026-08-08 21:04:49] local.INFO: Packet analysis {"connection_id":150510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:04:49] local.INFO: Extracted packet for processing {"connection_id":150510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:04:49] local.INFO: GPS Element Parsed {"raw_longitude":753533760,"raw_latitude":119350280,"longitude_deg":75.353376,"latitude_deg":11.935028,"altitude":8,"angle":173,"satellites":48,"speed":8,"hex_longitude":"2cea0340","hex_latitude":"071d2408","is_valid_coordinates":true} 
[2026-08-08 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267993600001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935133049421824,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584352244606205952,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:49] 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-08-08 21:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786203105000,"timestamp_ms":1786203105000,"timestamp_seconds":1786203105,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20066e8"} 
[2026-08-08 21:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:04: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-08-08 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267993600001,"66":27300,"209":206,"83":41216,"24":8,"16":375935133049421824,"44":-1584352244606205952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267993600001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935133049421824,"km_value":375935133049421.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584352244606205952,"description":"Unknown IO ID 44"} 
[2026-08-08 21:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267993600001,"power":27300,"unknown_209":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1584352244606205952}} 
[2026-08-08 21:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":150510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:04:49] local.INFO: GPS data processed {"connection_id":150510,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:04:49] local.INFO: Acknowledgment sent {"connection_id":150510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:04:49] local.INFO: TCP Data received {"connection_id":150510,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2007e58012cea0340071d1f60000800bc2f..."} 
[2026-08-08 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2007e58012cea0340071d1f60000800bc2f..."} 
[2026-08-08 21:04:49] local.INFO: Processing buffer {"connection_id":150510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2007e58012cea0340071d1f60000800bc2f..."} 
[2026-08-08 21:04:49] local.INFO: Packet analysis {"connection_id":150510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:04:49] local.INFO: Extracted packet for processing {"connection_id":150510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:04:49] local.INFO: GPS Element Parsed {"raw_longitude":753533760,"raw_latitude":119349088,"longitude_deg":75.353376,"latitude_deg":11.9349088,"altitude":8,"angle":188,"satellites":47,"speed":6,"hex_longitude":"2cea0340","hex_latitude":"071d1f60","is_valid_coordinates":true} 
[2026-08-08 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267994880001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935188883996672,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584352244606433280,"note":"Value kept but may cause issues"} 
[2026-08-08 21:04:49] 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-08-08 21:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786203111000,"timestamp_ms":1786203111000,"timestamp_seconds":1786203111,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2007e58"} 
[2026-08-08 21:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:04: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-08-08 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 21:04: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-08-08 21:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267994880001,"66":27300,"209":206,"83":41216,"24":6,"16":375935188883996672,"44":-1584352244606433280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 21:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267994880001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935188883996672,"km_value":375935188883996.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584352244606433280,"description":"Unknown IO ID 44"} 
[2026-08-08 21:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267994880001,"power":27300,"unknown_209":206,"unknown_83":41216,"ignition":6,"odometer":null,"unknown_44":-1584352244606433280}} 
[2026-08-08 21:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":150510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:04:49] local.INFO: GPS data processed {"connection_id":150510,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:04:49] local.ERROR: TCP Connection error {"connection_id":150510,"code":2,"message":"client closed"} 
[2026-08-08 21:04:49] local.INFO: Acknowledgment sent {"connection_id":150510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:05:08] local.INFO: TCP Data received {"connection_id":150803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2027258012d74a48005ec0430000901312c..."} 
[2026-08-08 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2027258012d74a48005ec0430000901312c..."} 
[2026-08-08 21:05:08] local.INFO: Processing buffer {"connection_id":150803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2027258012d74a48005ec0430000901312c..."} 
[2026-08-08 21:05:08] local.INFO: Packet analysis {"connection_id":150803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:05:08] local.INFO: Extracted packet for processing {"connection_id":150803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":762619008,"raw_latitude":99353648,"longitude_deg":76.2619008,"latitude_deg":9.9353648,"altitude":9,"angle":305,"satellites":44,"speed":5,"hex_longitude":"2d74a480","hex_latitude":"05ec0430","is_valid_coordinates":true} 
[2026-08-08 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268024320001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116365765153652736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407164998572281856,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786203239000,"timestamp_ms":1786203239000,"timestamp_seconds":1786203239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2027258"} 
[2026-08-08 21:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:05: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-08-08 21: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-08 21:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268024320001,"66":12113,"140":206,"87":12288,"24":5,"16":116365765153652736,"45":8407164998572281856},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 21:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268024320001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:05:08] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 21:05:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116365765153652736,"km_value":116365765153652.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407164998572281856,"description":"Unknown IO ID 45"} 
[2026-08-08 21:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268024320001,"power":12113,"unknown_140":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8407164998572281856}} 
[2026-08-08 21:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":150803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:05:08] local.INFO: GPS data processed {"connection_id":150803,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:05:08] local.INFO: Acknowledgment sent {"connection_id":150803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:05:09] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:05:09] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:05:09] local.INFO: IMEI packet received {"connection_id":150804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":150804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:05:14] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:05:14] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:05:14] local.INFO: IMEI packet received {"connection_id":150804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":150804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:05:14] local.INFO: TCP Data received {"connection_id":153199,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:05:14] local.INFO: Processing buffer {"connection_id":153199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:05:14] local.INFO: Packet analysis {"connection_id":153199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:05:14] local.INFO: Extracted packet for processing {"connection_id":153199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:05:14] 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-08-08 21:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:05:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":153199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:05:14] local.INFO: GPS data processed {"connection_id":153199,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:05:14] local.INFO: Acknowledgment sent {"connection_id":153199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:05:15] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe200d060012cea01c0071d1320000700af31..."} 
[2026-08-08 21:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe200d060012cea01c0071d1320000700af31..."} 
[2026-08-08 21:05:15] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe200d060012cea01c0071d1320000700af31..."} 
[2026-08-08 21:05:15] local.INFO: Packet analysis {"connection_id":150804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:05:15] local.INFO: Extracted packet for processing {"connection_id":150804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753533376,"raw_latitude":119345952,"longitude_deg":75.3533376,"latitude_deg":11.9345952,"altitude":7,"angle":175,"satellites":49,"speed":5,"hex_longitude":"2cea01c0","hex_latitude":"071d1320","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267996416001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935347797786624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584352244606738432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786203132000,"timestamp_ms":1786203132000,"timestamp_seconds":1786203132,"priority":1,"record_length":96,"hex_timestamp":"0000019fe200d060"} 
[2026-08-08 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-08-08 21:05: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-08-08 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 21:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:05: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-08-08 21:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267996416001,"66":27517,"155":206,"83":43008,"24":5,"16":375935347797786624,"44":-1584352244606738432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,44]} 
[2026-08-08 21:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267996416001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:05:15] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:05:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935347797786624,"km_value":375935347797786.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584352244606738432,"description":"Unknown IO ID 44"} 
[2026-08-08 21:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267996416001,"power":27517,"unknown_155":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1584352244606738432}} 
[2026-08-08 21:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":150804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:05:15] local.INFO: GPS data processed {"connection_id":150804,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:05:15] local.INFO: Acknowledgment sent {"connection_id":150804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:05:31] local.INFO: TCP Data received {"connection_id":150511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:05:31] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:05:31] local.INFO: IMEI packet received {"connection_id":150511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":150511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:05:36] local.INFO: TCP Data received {"connection_id":150512,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:05:36] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:05:36] local.INFO: IMEI packet received {"connection_id":150512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:05:36] local.INFO: TCP Data received {"connection_id":150511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:05:36] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:05:36] local.INFO: IMEI packet received {"connection_id":150511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:05:37] local.INFO: TCP Data received {"connection_id":150511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2027a28012d74a34005ec05300009013f2c..."} 
[2026-08-08 21:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2027a28012d74a34005ec05300009013f2c..."} 
[2026-08-08 21:05:37] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2027a28012d74a34005ec05300009013f2c..."} 
[2026-08-08 21:05:37] local.INFO: Packet analysis {"connection_id":150511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:05:37] local.INFO: Extracted packet for processing {"connection_id":150511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":762618688,"raw_latitude":99353904,"longitude_deg":76.2618688,"latitude_deg":9.9353904,"altitude":9,"angle":319,"satellites":44,"speed":5,"hex_longitude":"2d74a340","hex_latitude":"05ec0530","is_valid_coordinates":true} 
[2026-08-08 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268029184001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116365782333521920,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8404983567503077376,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203241000,"timestamp_ms":1786203241000,"timestamp_seconds":1786203241,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2027a28"} 
[2026-08-08 21:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:05: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-08-08 21: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 21:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268029184001,"66":11787,"140":206,"87":12288,"24":5,"16":116365782333521920,"45":8404983567503077376},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 21:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268029184001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:05:37] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 21:05:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116365782333521920,"km_value":116365782333521.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8404983567503077376,"description":"Unknown IO ID 45"} 
[2026-08-08 21:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268029184001,"power":11787,"unknown_140":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8404983567503077376}} 
[2026-08-08 21:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":150511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:05:37] local.INFO: GPS data processed {"connection_id":150511,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:05:37] local.INFO: Acknowledgment sent {"connection_id":150511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:05:41] local.INFO: TCP Data received {"connection_id":150512,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:05:41] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:05:41] local.INFO: IMEI packet received {"connection_id":150512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":150512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:05:42] local.INFO: TCP Data received {"connection_id":150512,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:05:42] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:05:42] local.INFO: Packet analysis {"connection_id":150512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:05:42] local.INFO: Extracted packet for processing {"connection_id":150512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05: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-08-08 21:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:05:42] 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-08-08 21:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:05: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-08-08 21:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:05:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":150512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:05:42] local.INFO: GPS data processed {"connection_id":150512,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:05:42] local.INFO: Acknowledgment sent {"connection_id":150512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:05:46] local.INFO: TCP Data received {"connection_id":150804,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe200d060012cea01c0071d1320000700af31..."} 
[2026-08-08 21:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe200d060012cea01c0071d1320000700af31..."} 
[2026-08-08 21:05:46] local.INFO: Processing buffer {"connection_id":150804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe200d060012cea01c0071d1320000700af31..."} 
[2026-08-08 21:05:46] local.INFO: Packet analysis {"connection_id":150804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:05:46] local.INFO: Extracted packet for processing {"connection_id":150804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:05:46] local.INFO: GPS Element Parsed {"raw_longitude":753533376,"raw_latitude":119345952,"longitude_deg":75.3533376,"latitude_deg":11.9345952,"altitude":7,"angle":175,"satellites":49,"speed":5,"hex_longitude":"2cea01c0","hex_latitude":"071d1320","is_valid_coordinates":true} 
[2026-08-08 21:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268001792001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935347797786624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584774457072607232,"note":"Value kept but may cause issues"} 
[2026-08-08 21:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786203132000,"timestamp_ms":1786203132000,"timestamp_seconds":1786203132,"priority":1,"record_length":96,"hex_timestamp":"0000019fe200d060"} 
[2026-08-08 21:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 21:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:05: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-08-08 21:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268001792001,"66":27517,"155":206,"83":43008,"24":5,"16":375935347797786624,"44":-1584774457072607232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,44]} 
[2026-08-08 21:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268001792001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:05:46] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935347797786624,"km_value":375935347797786.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584774457072607232,"description":"Unknown IO ID 44"} 
[2026-08-08 21:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268001792001,"power":27517,"unknown_155":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1584774457072607232}} 
[2026-08-08 21:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":150804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:05:46] local.INFO: GPS data processed {"connection_id":150804,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:05:46] local.INFO: Acknowledgment sent {"connection_id":150804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:06:06] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:06:06] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:06:06] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:06:08] local.INFO: TCP Data received {"connection_id":150511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe202acf0012d74948005ec15100009012f2c..."} 
[2026-08-08 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe202acf0012d74948005ec15100009012f2c..."} 
[2026-08-08 21:06:08] local.INFO: Processing buffer {"connection_id":150511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe202acf0012d74948005ec15100009012f2c..."} 
[2026-08-08 21:06:08] local.INFO: Packet analysis {"connection_id":150511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:06:08] local.INFO: Extracted packet for processing {"connection_id":150511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe202"} 
[2026-08-08 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":762614912,"raw_latitude":99357968,"longitude_deg":76.2614912,"latitude_deg":9.9357968,"altitude":9,"angle":303,"satellites":44,"speed":19,"hex_longitude":"2d749480","hex_latitude":"05ec1510","is_valid_coordinates":true} 
[2026-08-08 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268029696001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116366052916461568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8404631723782254592,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786203254000,"timestamp_ms":1786203254000,"timestamp_seconds":1786203254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe202acf0"} 
[2026-08-08 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:06: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-08-08 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":7583498822538493952,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3791748160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6925971761221522060,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1419575502,"corrected_to":0} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6282521583262892034,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":249,"raw_value":-9221705245275454463,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2954392141880625664,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,140,87,24,241,157,16,106,159,114,45,128,4,9,44,10,66,40,64,255,7,43,105,221,1,240,98,227,226,236,113,205,19,132,229,96,239,46,2,90,206,249,59],"length":533,"final_offset":663,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1419575502,"validated":0}]} 
[2026-08-08 21:06:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648869279529500672,"timestamp_seconds":648869279529500.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268029696001,"66":11515,"140":206,"87":12288,"24":19,"16":116366052916461568,"45":8404631723782254592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,87,24,16,45]} 
[2026-08-08 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268029696001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:06:08] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-08 21:06:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116366052916461568,"km_value":116366052916461.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8404631723782254592,"description":"Unknown IO ID 45"} 
[2026-08-08 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268029696001,"power":11515,"unknown_140":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8404631723782254592}} 
[2026-08-08 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":150511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:06:08] local.INFO: GPS data processed {"connection_id":150511,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:06:08] local.INFO: Acknowledgment sent {"connection_id":150511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:06:14] local.INFO: TCP Data received {"connection_id":150512,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:06:14] local.INFO: Processing buffer {"connection_id":150512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:06:14] local.INFO: Packet analysis {"connection_id":150512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:06:14] local.INFO: Extracted packet for processing {"connection_id":150512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:06:14] 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-08-08 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:06:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":150512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:06:14] local.INFO: GPS data processed {"connection_id":150512,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:06:14] local.INFO: Acknowledgment sent {"connection_id":150512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:06:18] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:06:18] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:06:18] local.INFO: IMEI packet received {"connection_id":151721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":151721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:06:19] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe200e000012cea0180071d1028000700be31..."} 
[2026-08-08 21:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe200e000012cea0180071d1028000700be31..."} 
[2026-08-08 21:06:19] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe200e000012cea0180071d1028000700be31..."} 
[2026-08-08 21:06:19] local.INFO: Packet analysis {"connection_id":151721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:06:19] local.INFO: Extracted packet for processing {"connection_id":151721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:06:19] local.INFO: GPS Element Parsed {"raw_longitude":753533312,"raw_latitude":119345192,"longitude_deg":75.3533312,"latitude_deg":11.9345192,"altitude":7,"angle":190,"satellites":49,"speed":9,"hex_longitude":"2cea0180","hex_latitude":"071d1028","is_valid_coordinates":true} 
[2026-08-08 21:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268001792001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935382157524992,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584774457072607232,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786203136000,"timestamp_ms":1786203136000,"timestamp_seconds":1786203136,"priority":1,"record_length":96,"hex_timestamp":"0000019fe200e000"} 
[2026-08-08 21:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 21:06: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-08-08 21:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:06: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-08-08 21:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268001792001,"66":27463,"155":206,"83":43008,"24":9,"16":375935382157524992,"44":-1584774457072607232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,44]} 
[2026-08-08 21:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268001792001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:06:19] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-08 21:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935382157524992,"km_value":375935382157525.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584774457072607232,"description":"Unknown IO ID 44"} 
[2026-08-08 21:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268001792001,"power":27463,"unknown_155":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1584774457072607232}} 
[2026-08-08 21:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":151721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:06:19] local.INFO: GPS data processed {"connection_id":151721,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:06:19] local.INFO: Acknowledgment sent {"connection_id":151721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:06:20] local.INFO: TCP Data received {"connection_id":151721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe200fb58012cea0140071d0b00000700b330..."} 
[2026-08-08 21:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe200fb58012cea0140071d0b00000700b330..."} 
[2026-08-08 21:06:20] local.INFO: Processing buffer {"connection_id":151721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe200fb58012cea0140071d0b00000700b330..."} 
[2026-08-08 21:06:20] local.INFO: Packet analysis {"connection_id":151721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:06:20] local.INFO: Extracted packet for processing {"connection_id":151721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe200"} 
[2026-08-08 21:06:20] local.INFO: GPS Element Parsed {"raw_longitude":753533248,"raw_latitude":119343872,"longitude_deg":75.3533248,"latitude_deg":11.9343872,"altitude":7,"angle":179,"satellites":48,"speed":5,"hex_longitude":"2cea0140","hex_latitude":"071d0b00","is_valid_coordinates":true} 
[2026-08-08 21:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268002816001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375935446582034432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584844825816979456,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:20] 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-08-08 21:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786203143000,"timestamp_ms":1786203143000,"timestamp_seconds":1786203143,"priority":1,"record_length":96,"hex_timestamp":"0000019fe200fb58"} 
[2026-08-08 21:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 21:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":151721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":151721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:06: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-08-08 21:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268002816001,"66":27463,"209":206,"83":41216,"24":5,"16":375935446582034432,"44":-1584844825816979456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 21:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268002816001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:06:20] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 21:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375935446582034432,"km_value":375935446582034.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584844825816979456,"description":"Unknown IO ID 44"} 
[2026-08-08 21:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268002816001,"power":27463,"unknown_209":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1584844825816979456}} 
[2026-08-08 21:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":151721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:06:20] local.INFO: GPS data processed {"connection_id":151721,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:06:20] local.INFO: Acknowledgment sent {"connection_id":151721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:06:31] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:06:31] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:06:31] local.INFO: IMEI packet received {"connection_id":150805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":150805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:06:36] local.INFO: TCP Data received {"connection_id":150513,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:06:36] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:06:36] local.INFO: IMEI packet received {"connection_id":150513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":150513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:06:36] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:06:36] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:06:36] local.INFO: IMEI packet received {"connection_id":150805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":150805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:06:37] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2043b60012d73c50005ebfea8000901002a..."} 
[2026-08-08 21:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2043b60012d73c50005ebfea8000901002a..."} 
[2026-08-08 21:06:37] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2043b60012d73c50005ebfea8000901002a..."} 
[2026-08-08 21:06:37] local.INFO: Packet analysis {"connection_id":150805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:06:37] local.INFO: Extracted packet for processing {"connection_id":150805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762561792,"raw_latitude":99352232,"longitude_deg":76.2561792,"latitude_deg":9.9352232,"altitude":9,"angle":256,"satellites":42,"speed":26,"hex_longitude":"2d73c500","hex_latitude":"05ebfea8","is_valid_coordinates":true} 
[2026-08-08 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268055040001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116368629896839168,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8352136640625780736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203356000,"timestamp_ms":1786203356000,"timestamp_seconds":1786203356,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2043b60"} 
[2026-08-08 21:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:06: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-08-08 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 21:06: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-08-08 21:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268055040001,"66":12015,"141":206,"87":12288,"24":26,"16":116368629896839168,"45":8352136640625780736},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,87,24,16,45]} 
[2026-08-08 21:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268055040001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:06:37] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-08 21:06:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116368629896839168,"km_value":116368629896839.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8352136640625780736,"description":"Unknown IO ID 45"} 
[2026-08-08 21:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268055040001,"power":12015,"unknown_141":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8352136640625780736}} 
[2026-08-08 21:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":150805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:06:37] local.INFO: GPS data processed {"connection_id":150805,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:06:37] local.INFO: Acknowledgment sent {"connection_id":150805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:06:41] local.INFO: TCP Data received {"connection_id":150513,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:06:41] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:06:41] local.INFO: IMEI packet received {"connection_id":150513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":150513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:06:42] local.INFO: TCP Data received {"connection_id":150513,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:06:42] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:06:42] local.INFO: Packet analysis {"connection_id":150513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:06:42] local.INFO: Extracted packet for processing {"connection_id":150513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 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-08-08 21:06:42] 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-08-08 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":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:06: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-08-08 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-08-08 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-08-08 21:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:06:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":150513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:06:43] local.INFO: GPS data processed {"connection_id":150513,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:06:43] local.INFO: Acknowledgment sent {"connection_id":150513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:02] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:02] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:02] local.INFO: IMEI packet received {"connection_id":153200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":153200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:07:04] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:04] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:04] local.INFO: IMEI packet received {"connection_id":153200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":153200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:07:09] local.INFO: TCP Data received {"connection_id":150805,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2053d30012d73398005ec05f8000400da2b..."} 
[2026-08-08 21:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2053d30012d73398005ec05f8000400da2b..."} 
[2026-08-08 21:07:09] local.INFO: Processing buffer {"connection_id":150805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2053d30012d73398005ec05f8000400da2b..."} 
[2026-08-08 21:07:09] local.INFO: Packet analysis {"connection_id":150805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:07:09] local.INFO: Extracted packet for processing {"connection_id":150805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:07:09] local.INFO: GPS Element Parsed {"raw_longitude":762526080,"raw_latitude":99354104,"longitude_deg":76.252608,"latitude_deg":9.9354104,"altitude":4,"angle":218,"satellites":43,"speed":11,"hex_longitude":"2d733980","hex_latitude":"05ec05f8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268075776001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116370377948528640,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8303089625933989888,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786203422000,"timestamp_ms":1786203422000,"timestamp_seconds":1786203422,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2053d30"} 
[2026-08-08 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-08-08 21:07: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-08-08 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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-08 21:07:09] 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-08-08 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-08-08 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-08-08 21:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268075776001,"66":11254,"53":206,"87":12288,"24":11,"16":116370377948528640,"45":8303089625933989888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,87,24,16,45]} 
[2026-08-08 21:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268075776001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 21:07:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116370377948528640,"km_value":116370377948528.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8303089625933989888,"description":"Unknown IO ID 45"} 
[2026-08-08 21:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268075776001,"power":11254,"unknown_53":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8303089625933989888}} 
[2026-08-08 21:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":150805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:09] local.INFO: GPS data processed {"connection_id":150805,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:09] local.INFO: Acknowledgment sent {"connection_id":150805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:14] local.INFO: TCP Data received {"connection_id":150513,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:07:14] local.INFO: Processing buffer {"connection_id":150513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:07:14] local.INFO: Packet analysis {"connection_id":150513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:07:14] local.INFO: Extracted packet for processing {"connection_id":150513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:07:14] 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-08-08 21:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":150513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:14] local.INFO: GPS data processed {"connection_id":150513,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:14] local.INFO: Acknowledgment sent {"connection_id":150513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:15] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:15] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:07:15] local.INFO: IMEI packet received {"connection_id":153200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":153200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:07:18] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe203e570012cea0bc0071bdf30000f009a32..."} 
[2026-08-08 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe203e570012cea0bc0071bdf30000f009a32..."} 
[2026-08-08 21:07:18] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe203e570012cea0bc0071bdf30000f009a32..."} 
[2026-08-08 21:07:18] local.INFO: Packet analysis {"connection_id":153200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe203"} 
[2026-08-08 21:07:18] local.INFO: Extracted packet for processing {"connection_id":153200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe203"} 
[2026-08-08 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":753535936,"raw_latitude":119267120,"longitude_deg":75.3535936,"latitude_deg":11.926712,"altitude":15,"angle":154,"satellites":50,"speed":5,"hex_longitude":"2cea0bc0","hex_latitude":"071bdf30","is_valid_coordinates":true} 
[2026-08-08 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268048128001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375939234743189504,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582804132255289344,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:18] 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-08-08 21:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786203334000,"timestamp_ms":1786203334000,"timestamp_seconds":1786203334,"priority":1,"record_length":96,"hex_timestamp":"0000019fe203e570"} 
[2026-08-08 21:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:07: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-08-08 21:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":153200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":153200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":153200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268048128001,"66":27365,"209":206,"83":41216,"24":5,"16":375939234743189504,"44":-1582804132255289344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-08-08 21:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268048128001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:18] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 21:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375939234743189504,"km_value":375939234743189.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582804132255289344,"description":"Unknown IO ID 44"} 
[2026-08-08 21:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268048128001,"power":27365,"unknown_209":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1582804132255289344}} 
[2026-08-08 21:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":153200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:18] local.INFO: GPS data processed {"connection_id":153200,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:18] local.INFO: Acknowledgment sent {"connection_id":153200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:31] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:31] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:31] local.INFO: IMEI packet received {"connection_id":150514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":150514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:07:35] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:35] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:35] local.INFO: IMEI packet received {"connection_id":150514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":150514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:07:36] local.INFO: TCP Data received {"connection_id":150806,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:07:36] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:07:36] local.INFO: IMEI packet received {"connection_id":150806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":150806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:07:36] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:36] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:07:36] local.INFO: IMEI packet received {"connection_id":150514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":150514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:07:36] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2054118012d73390005ec04f0000400c92b..."} 
[2026-08-08 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2054118012d73390005ec04f0000400c92b..."} 
[2026-08-08 21:07:36] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2054118012d73390005ec04f0000400c92b..."} 
[2026-08-08 21:07:36] local.INFO: Packet analysis {"connection_id":150514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:07:36] local.INFO: Extracted packet for processing {"connection_id":150514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":762525952,"raw_latitude":99353840,"longitude_deg":76.2525952,"latitude_deg":9.935384,"altitude":4,"angle":201,"satellites":43,"speed":12,"hex_longitude":"2d733900","hex_latitude":"05ec04f0","is_valid_coordinates":true} 
[2026-08-08 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268076032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116370395128397824,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302808150957225984,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786203423000,"timestamp_ms":1786203423000,"timestamp_seconds":1786203423,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2054118"} 
[2026-08-08 21:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:07: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-08-08 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 21:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268076032001,"66":11254,"53":206,"87":12288,"24":12,"16":116370395128397824,"45":8302808150957225984},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,87,24,16,45]} 
[2026-08-08 21:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268076032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116370395128397824,"km_value":116370395128397.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302808150957225984,"description":"Unknown IO ID 45"} 
[2026-08-08 21:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268076032001,"power":11254,"unknown_53":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8302808150957225984}} 
[2026-08-08 21:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":150514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:37] local.INFO: GPS data processed {"connection_id":150514,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:37] local.INFO: Acknowledgment sent {"connection_id":150514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:41] local.INFO: TCP Data received {"connection_id":150806,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:07:41] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:07:41] local.INFO: IMEI packet received {"connection_id":150806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:07:41] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2054500012d7338c005ec03c0000400bd2c..."} 
[2026-08-08 21:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2054500012d7338c005ec03c0000400bd2c..."} 
[2026-08-08 21:07:41] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2054500012d7338c005ec03c0000400bd2c..."} 
[2026-08-08 21:07:41] local.INFO: Packet analysis {"connection_id":150514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:07:41] local.INFO: Extracted packet for processing {"connection_id":150514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:07:41] local.INFO: GPS Element Parsed {"raw_longitude":762525888,"raw_latitude":99353536,"longitude_deg":76.2525888,"latitude_deg":9.9353536,"altitude":4,"angle":189,"satellites":44,"speed":12,"hex_longitude":"2d7338c0","hex_latitude":"05ec03c0","is_valid_coordinates":true} 
[2026-08-08 21:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268076288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116370408013299712,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302667413468803072,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203424000,"timestamp_ms":1786203424000,"timestamp_seconds":1786203424,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2054500"} 
[2026-08-08 21:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 21:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268076288001,"66":11874,"53":206,"87":12288,"24":12,"16":116370408013299712,"45":8302667413468803072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,87,24,16,45]} 
[2026-08-08 21:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268076288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-08 21:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116370408013299712,"km_value":116370408013299.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302667413468803072,"description":"Unknown IO ID 45"} 
[2026-08-08 21:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268076288001,"power":11874,"unknown_53":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8302667413468803072}} 
[2026-08-08 21:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":150514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:42] local.INFO: GPS data processed {"connection_id":150514,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:42] local.INFO: Acknowledgment sent {"connection_id":150514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:42] local.INFO: TCP Data received {"connection_id":150806,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:07:42] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2010328012d196a80071fef680042011727..."} 
[2026-08-08 21:07:42] local.INFO: Packet analysis {"connection_id":150806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:07:42] local.INFO: Extracted packet for processing {"connection_id":150806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe201"} 
[2026-08-08 21:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457267928064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203145000,"timestamp_ms":1786203145000,"timestamp_seconds":1786203145,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2010328"} 
[2026-08-08 21:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:07:42] 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-08-08 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:07: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-08-08 21:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457267928064001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457267928064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457267928064001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":150806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:43] local.INFO: GPS data processed {"connection_id":150806,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:43] local.INFO: Acknowledgment sent {"connection_id":150806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:07:57] local.INFO: TCP Data received {"connection_id":153200,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2042008012cea0f40071bd660001100a830..."} 
[2026-08-08 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2042008012cea0f40071bd660001100a830..."} 
[2026-08-08 21:07:57] local.INFO: Processing buffer {"connection_id":153200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2042008012cea0f40071bd660001100a830..."} 
[2026-08-08 21:07:57] local.INFO: Packet analysis {"connection_id":153200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:07:57] local.INFO: Extracted packet for processing {"connection_id":153200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":753536832,"raw_latitude":119264864,"longitude_deg":75.3536832,"latitude_deg":11.9264864,"altitude":17,"angle":168,"satellites":48,"speed":12,"hex_longitude":"2cea0f40","hex_latitude":"071bd660","is_valid_coordinates":true} 
[2026-08-08 21:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268053504001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375939355002273792,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581959707325681664,"note":"Value kept but may cause issues"} 
[2026-08-08 21:07:57] 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-08-08 21:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1786203349000,"timestamp_ms":1786203349000,"timestamp_seconds":1786203349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2042008"} 
[2026-08-08 21:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 21:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":153200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":153200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":153200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268053504001,"66":27484,"245":206,"83":41216,"24":12,"16":375939355002273792,"44":-1581959707325681664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268053504001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375939355002273792,"km_value":375939355002273.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581959707325681664,"description":"Unknown IO ID 44"} 
[2026-08-08 21:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268053504001,"power":27484,"geofence_id":206,"unknown_83":41216,"ignition":12,"odometer":null,"unknown_44":-1581959707325681664}} 
[2026-08-08 21:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":153200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:07:57] local.INFO: GPS data processed {"connection_id":153200,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:07:57] local.INFO: Acknowledgment sent {"connection_id":153200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:04] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:08:04] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:08:04] local.INFO: IMEI packet received {"connection_id":150515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":150515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:08:08] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:08:08] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:08:08] local.INFO: IMEI packet received {"connection_id":150515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":150515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:08:09] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20481b0012cea26c0071b9118000b00a22b..."} 
[2026-08-08 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20481b0012cea26c0071b9118000b00a22b..."} 
[2026-08-08 21:08:09] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20481b0012cea26c0071b9118000b00a22b..."} 
[2026-08-08 21:08:09] local.INFO: Packet analysis {"connection_id":150515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:08:09] local.INFO: Extracted packet for processing {"connection_id":150515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":753542848,"raw_latitude":119247128,"longitude_deg":75.3542848,"latitude_deg":11.9247128,"altitude":11,"angle":162,"satellites":43,"speed":38,"hex_longitude":"2cea26c0","hex_latitude":"071b9118","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268061184001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375940261240373248,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577807951422074880,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08: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-08-08 21:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786203374000,"timestamp_ms":1786203374000,"timestamp_seconds":1786203374,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20481b0"} 
[2026-08-08 21:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 21:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268061184001,"66":27321,"245":206,"83":41216,"24":38,"16":375940261240373248,"44":-1577807951422074880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268061184001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375940261240373248,"km_value":375940261240373.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577807951422074880,"description":"Unknown IO ID 44"} 
[2026-08-08 21:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268061184001,"power":27321,"geofence_id":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1577807951422074880}} 
[2026-08-08 21:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":150515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:09] local.INFO: GPS data processed {"connection_id":150515,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:09] local.INFO: Acknowledgment sent {"connection_id":150515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:13] local.INFO: TCP Data received {"connection_id":150514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2057f98012d73374005ebf3b8000300b02a..."} 
[2026-08-08 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2057f98012d73374005ebf3b8000300b02a..."} 
[2026-08-08 21:08:13] local.INFO: Processing buffer {"connection_id":150514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2057f98012d73374005ebf3b8000300b02a..."} 
[2026-08-08 21:08:13] local.INFO: Packet analysis {"connection_id":150514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:13] local.INFO: Extracted packet for processing {"connection_id":150514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:13] local.INFO: GPS Element Parsed {"raw_longitude":762525504,"raw_latitude":99349432,"longitude_deg":76.2525504,"latitude_deg":9.9349432,"altitude":3,"angle":176,"satellites":42,"speed":7,"hex_longitude":"2d733740","hex_latitude":"05ebf3b8","is_valid_coordinates":true} 
[2026-08-08 21:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268076544001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116370609876762624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302597044724547584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786203439000,"timestamp_ms":1786203439000,"timestamp_seconds":1786203439,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2057f98"} 
[2026-08-08 21:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:08: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-08-08 21:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 21:08: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-08-08 21:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268076544001,"66":11917,"239":206,"87":12288,"24":7,"16":116370609876762624,"45":8302597044724547584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,87,24,16,45]} 
[2026-08-08 21:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268076544001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 21:08:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116370609876762624,"km_value":116370609876762.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302597044724547584,"description":"Unknown IO ID 45"} 
[2026-08-08 21:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268076544001,"power":11917,"unknown_239":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8302597044724547584}} 
[2026-08-08 21:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":150514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:13] local.INFO: GPS data processed {"connection_id":150514,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:13] local.INFO: Acknowledgment sent {"connection_id":150514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:15] local.INFO: TCP Data received {"connection_id":150806,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:08:15] local.INFO: Processing buffer {"connection_id":150806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:08:15] local.INFO: Packet analysis {"connection_id":150806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:15] local.INFO: Extracted packet for processing {"connection_id":150806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:08: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-08-08 21:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:08: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-08-08 21:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":150806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:15] local.INFO: GPS data processed {"connection_id":150806,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:15] local.INFO: Acknowledgment sent {"connection_id":150806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:36] local.INFO: TCP Data received {"connection_id":153201,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:08:36] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:08:36] local.INFO: IMEI packet received {"connection_id":153201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":153201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:08:36] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:08:36] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:08:36] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:08:39] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:08:39] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:08:39] local.INFO: IMEI packet received {"connection_id":151722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":151722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:08:40] local.INFO: TCP Data received {"connection_id":150515,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe204a8c0012cea31c0071b6fa8000a00a02e..."} 
[2026-08-08 21:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe204a8c0012cea31c0071b6fa8000a00a02e..."} 
[2026-08-08 21:08:40] local.INFO: Processing buffer {"connection_id":150515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe204a8c0012cea31c0071b6fa8000a00a02e..."} 
[2026-08-08 21:08:40] local.INFO: Packet analysis {"connection_id":150515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:08:40] local.INFO: Extracted packet for processing {"connection_id":150515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:08:40] local.INFO: GPS Element Parsed {"raw_longitude":753545664,"raw_latitude":119238568,"longitude_deg":75.3545664,"latitude_deg":11.9238568,"altitude":10,"angle":160,"satellites":46,"speed":32,"hex_longitude":"2cea31c0","hex_latitude":"071b6fa8","is_valid_coordinates":true} 
[2026-08-08 21:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268063744001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375940699327037440,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574359882959611904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:40] 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-08-08 21:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786203384000,"timestamp_ms":1786203384000,"timestamp_seconds":1786203384,"priority":1,"record_length":96,"hex_timestamp":"0000019fe204a8c0"} 
[2026-08-08 21:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:08: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-08-08 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 21:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:08: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-08-08 21:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268063744001,"66":27463,"245":206,"83":41216,"24":32,"16":375940699327037440,"44":-1574359882959611904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268063744001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375940699327037440,"km_value":375940699327037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574359882959611904,"description":"Unknown IO ID 44"} 
[2026-08-08 21:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268063744001,"power":27463,"geofence_id":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1574359882959611904}} 
[2026-08-08 21:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":150515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:40] local.INFO: GPS data processed {"connection_id":150515,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:40] local.INFO: Acknowledgment sent {"connection_id":150515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:40] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe205ba30012d73398005ebcec0000100b02b..."} 
[2026-08-08 21:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe205ba30012d73398005ebcec0000100b02b..."} 
[2026-08-08 21:08:40] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe205ba30012d73398005ebcec0000100b02b..."} 
[2026-08-08 21:08:40] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:40] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:40] local.INFO: GPS Element Parsed {"raw_longitude":762526080,"raw_latitude":99339968,"longitude_deg":76.252608,"latitude_deg":9.9339968,"altitude":1,"angle":176,"satellites":43,"speed":31,"hex_longitude":"2d733980","hex_latitude":"05ebcec0","is_valid_coordinates":true} 
[2026-08-08 21:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268080384001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116371069438263296,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302174832258430976,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786203454000,"timestamp_ms":1786203454000,"timestamp_seconds":1786203454,"priority":1,"record_length":96,"hex_timestamp":"0000019fe205ba30"} 
[2026-08-08 21:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 21:08: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-08-08 21:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268080384001,"66":11798,"239":206,"87":12288,"24":31,"16":116371069438263296,"45":8302174832258430976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,87,24,16,45]} 
[2026-08-08 21:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268080384001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116371069438263296,"km_value":116371069438263.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302174832258430976,"description":"Unknown IO ID 45"} 
[2026-08-08 21:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268080384001,"power":11798,"unknown_239":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8302174832258430976}} 
[2026-08-08 21:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:40] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:40] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:41] local.INFO: TCP Data received {"connection_id":153201,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:08:41] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:08:41] local.INFO: IMEI packet received {"connection_id":153201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":153201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:08:41] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe205e528012d733c4005ebaa78000100ae2a..."} 
[2026-08-08 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe205e528012d733c4005ebaa78000100ae2a..."} 
[2026-08-08 21:08:41] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe205e528012d733c4005ebaa78000100ae2a..."} 
[2026-08-08 21:08:41] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:41] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":762526784,"raw_latitude":99330680,"longitude_deg":76.2526784,"latitude_deg":9.933068,"altitude":1,"angle":174,"satellites":42,"speed":33,"hex_longitude":"2d733c40","hex_latitude":"05ebaa78","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268084224001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116371524704796672,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302808150953607168,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203465000,"timestamp_ms":1786203465000,"timestamp_seconds":1786203465,"priority":1,"record_length":96,"hex_timestamp":"0000019fe205e528"} 
[2026-08-08 21:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:08: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-08-08 21: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":7941816467891159040,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3791992160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847132912,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184167801037,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13445173,"corrected_to":0} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":236,"raw_value":515662178827512576,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":674562254,"corrected_to":0} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2147871750,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262378,"corrected_to":0} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6282521583261908994,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":63,"raw_value":-9221705144343723007,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3242606025357920768,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":136,"raw_value":57746578337584944,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:41] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,239,87,24,241,157,16,110,159,127,45,64,243,3,42,10,66,69,192,4,44,53,65,1,240,246,227,226,236,113,205,11,57,58,200,43,2,89,206,63,13,136,5],"length":632,"final_offset":762,"validated_count":43,"validation_warnings":[{"io_id":246,"original":13445173,"validated":0},{"io_id":205,"original":674562254,"validated":0},{"io_id":200,"original":262378,"validated":0}]} 
[2026-08-08 21:08:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72251292770041856,"timestamp_seconds":72251292770041.86,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268084224001,"66":12135,"239":206,"87":12288,"24":33,"16":116371524704796672,"45":8302808150953607168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,87,24,16,45]} 
[2026-08-08 21:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268084224001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 21:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116371524704796672,"km_value":116371524704796.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302808150953607168,"description":"Unknown IO ID 45"} 
[2026-08-08 21:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268084224001,"power":12135,"unknown_239":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8302808150953607168}} 
[2026-08-08 21:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:41] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:41] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:08:42] local.INFO: TCP Data received {"connection_id":153201,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:08:42] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:08:42] local.INFO: Packet analysis {"connection_id":153201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:42] local.INFO: Extracted packet for processing {"connection_id":153201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:08: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-08-08 21:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:08:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":153201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:08:43] local.INFO: GPS data processed {"connection_id":153201,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:08:43] local.INFO: Acknowledgment sent {"connection_id":153201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:09:04] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:04] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:04] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:09:07] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:08] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:08] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:09:09] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:09] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:09:09] local.INFO: IMEI packet received {"connection_id":151723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":151723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:09:09] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe204d3b8012cea3c80071b4cc8000a00a32e..."} 
[2026-08-08 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe204d3b8012cea3c80071b4cc8000a00a32e..."} 
[2026-08-08 21:09:09] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe204d3b8012cea3c80071b4cc8000a00a32e..."} 
[2026-08-08 21:09:09] local.INFO: Packet analysis {"connection_id":151723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:09:09] local.INFO: Extracted packet for processing {"connection_id":151723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":753548416,"raw_latitude":119229640,"longitude_deg":75.3548416,"latitude_deg":11.922964,"altitude":10,"angle":163,"satellites":46,"speed":32,"hex_longitude":"2cea3c80","hex_latitude":"071b4cc8","is_valid_coordinates":true} 
[2026-08-08 21:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268066304001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375941150298603520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571263658217986048,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09: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-08-08 21:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786203395000,"timestamp_ms":1786203395000,"timestamp_seconds":1786203395,"priority":1,"record_length":96,"hex_timestamp":"0000019fe204d3b8"} 
[2026-08-08 21:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:09: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-08-08 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-08-08 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-08-08 21:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268066304001,"66":27343,"245":206,"83":41216,"24":32,"16":375941150298603520,"44":-1571263658217986048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268066304001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375941150298603520,"km_value":375941150298603.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571263658217986048,"description":"Unknown IO ID 44"} 
[2026-08-08 21:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268066304001,"power":27343,"geofence_id":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1571263658217986048}} 
[2026-08-08 21:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":151723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:09:09] local.INFO: GPS data processed {"connection_id":151723,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:09:09] local.INFO: Acknowledgment sent {"connection_id":151723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:09:12] local.INFO: TCP Data received {"connection_id":151722,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2063348012d733e8005eb89a8000500f02b..."} 
[2026-08-08 21:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2063348012d733e8005eb89a8000500f02b..."} 
[2026-08-08 21:09:12] local.INFO: Processing buffer {"connection_id":151722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2063348012d733e8005eb89a8000500f02b..."} 
[2026-08-08 21:09:12] local.INFO: Packet analysis {"connection_id":151722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe206"} 
[2026-08-08 21:09:12] local.INFO: Extracted packet for processing {"connection_id":151722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe206"} 
[2026-08-08 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762527360,"raw_latitude":99322280,"longitude_deg":76.252736,"latitude_deg":9.932228,"altitude":5,"angle":240,"satellites":43,"speed":5,"hex_longitude":"2d733e80","hex_latitude":"05eb89a8","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268087040001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116371937021657088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8303582207137183744,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786203485000,"timestamp_ms":1786203485000,"timestamp_seconds":1786203485,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2063348"} 
[2026-08-08 21:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 21:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268087040001,"66":11776,"239":206,"87":12288,"24":5,"16":116371937021657088,"45":8303582207137183744},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,87,24,16,45]} 
[2026-08-08 21:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268087040001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116371937021657088,"km_value":116371937021657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8303582207137183744,"description":"Unknown IO ID 45"} 
[2026-08-08 21:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268087040001,"power":11776,"unknown_239":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8303582207137183744}} 
[2026-08-08 21:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":151722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:09:13] local.INFO: GPS data processed {"connection_id":151722,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:09:13] local.INFO: Acknowledgment sent {"connection_id":151722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:09:15] local.INFO: TCP Data received {"connection_id":153201,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:09:15] local.INFO: Processing buffer {"connection_id":153201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:09:15] local.INFO: Packet analysis {"connection_id":153201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:09:15] local.INFO: Extracted packet for processing {"connection_id":153201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 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-08-08 21:09: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-08-08 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":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:09: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-08-08 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-08-08 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-08-08 21:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":153201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:09:15] local.INFO: GPS data processed {"connection_id":153201,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:09:15] local.INFO: Acknowledgment sent {"connection_id":153201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:09:31] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:09:31] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:09:31] local.INFO: IMEI packet received {"connection_id":150807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":150807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:09:36] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:09:36] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:09:36] local.INFO: IMEI packet received {"connection_id":150807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":150807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:09:36] local.INFO: TCP Data received {"connection_id":150516,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:09:36] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:09:36] local.INFO: IMEI packet received {"connection_id":150516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":150516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:09:37] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2063b18012d733d8005eb8950000500fd29..."} 
[2026-08-08 21:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2063b18012d733d8005eb8950000500fd29..."} 
[2026-08-08 21:09:37] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2063b18012d733d8005eb8950000500fd29..."} 
[2026-08-08 21:09:37] local.INFO: Packet analysis {"connection_id":150807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe206"} 
[2026-08-08 21:09:37] local.INFO: Extracted packet for processing {"connection_id":150807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe206"} 
[2026-08-08 21:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762527104,"raw_latitude":99322192,"longitude_deg":76.2527104,"latitude_deg":9.9322192,"altitude":5,"angle":253,"satellites":41,"speed":6,"hex_longitude":"2d733d80","hex_latitude":"05eb8950","is_valid_coordinates":true} 
[2026-08-08 21:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268092160001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116371954201526272,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8304215525832632320,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203487000,"timestamp_ms":1786203487000,"timestamp_seconds":1786203487,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2063b18"} 
[2026-08-08 21:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:09: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-08-08 21: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-08 21:09:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3791994160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:37] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4127247656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":674562254,"corrected_to":0} 
[2026-08-08 21:09:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,239,87,24,241,157,16,111,159,229,45,64,170,1,42,10,66,186,128,206,43,110,127,240,141,227,226,236,4,113,205,12,65,57,53,2],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":674562254,"validated":0}]} 
[2026-08-08 21:09:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360552037664227328,"timestamp_seconds":360552037664227.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268092160001,"66":12015,"239":206,"87":12288,"24":6,"16":116371954201526272,"45":8304215525832632320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,87,24,16,45]} 
[2026-08-08 21:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268092160001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:09:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-08 21:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116371954201526272,"km_value":116371954201526.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8304215525832632320,"description":"Unknown IO ID 45"} 
[2026-08-08 21:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268092160001,"power":12015,"unknown_239":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8304215525832632320}} 
[2026-08-08 21:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":150807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:09:37] local.INFO: GPS data processed {"connection_id":150807,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:09:37] local.INFO: Acknowledgment sent {"connection_id":150807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:09:40] local.INFO: TCP Data received {"connection_id":151723,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe204feb0012cea4700071b29d8000900a32e..."} 
[2026-08-08 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe204feb0012cea4700071b29d8000900a32e..."} 
[2026-08-08 21:09:40] local.INFO: Processing buffer {"connection_id":151723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe204feb0012cea4700071b29d8000900a32e..."} 
[2026-08-08 21:09:40] local.INFO: Packet analysis {"connection_id":151723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:09:40] local.INFO: Extracted packet for processing {"connection_id":151723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe204"} 
[2026-08-08 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":753551104,"raw_latitude":119220696,"longitude_deg":75.3551104,"latitude_deg":11.9220696,"altitude":9,"angle":163,"satellites":46,"speed":34,"hex_longitude":"2cea4700","hex_latitude":"071b29d8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268069120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375941605565136896,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568237802220632064,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:40] 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-08-08 21:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786203406000,"timestamp_ms":1786203406000,"timestamp_seconds":1786203406,"priority":1,"record_length":96,"hex_timestamp":"0000019fe204feb0"} 
[2026-08-08 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-08-08 21:09: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-08-08 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-08-08 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-08-08 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-08-08 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-08-08 21:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:09: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-08-08 21:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268069120001,"66":27234,"245":206,"83":41216,"24":34,"16":375941605565136896,"44":-1568237802220632064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-08-08 21:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268069120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375941605565136896,"km_value":375941605565136.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568237802220632064,"description":"Unknown IO ID 44"} 
[2026-08-08 21:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268069120001,"power":27234,"geofence_id":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1568237802220632064}} 
[2026-08-08 21:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":151723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:09:40] local.INFO: GPS data processed {"connection_id":151723,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:09:40] local.INFO: Acknowledgment sent {"connection_id":151723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:09:41] local.INFO: TCP Data received {"connection_id":150516,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:09:41] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:09:41] local.INFO: IMEI packet received {"connection_id":150516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":150516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:09:42] local.INFO: TCP Data received {"connection_id":150516,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:09:42] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:09:42] local.INFO: Packet analysis {"connection_id":150516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:09:42] local.INFO: Extracted packet for processing {"connection_id":150516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:09: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-08-08 21:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:09: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-08-08 21:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:09:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":150516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:09:43] local.INFO: GPS data processed {"connection_id":150516,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:09:43] local.INFO: Acknowledgment sent {"connection_id":150516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:10:04] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:04] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:04] local.INFO: IMEI packet received {"connection_id":150808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":150808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:10:07] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:07] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:07] local.INFO: IMEI packet received {"connection_id":150808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":150808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:10:09] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:09] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:10:09] local.INFO: IMEI packet received {"connection_id":150808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":150808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:10:10] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2073130012ceb0740071a3e60001d007330..."} 
[2026-08-08 21:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2073130012ceb0740071a3e60001d007330..."} 
[2026-08-08 21:10:10] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2073130012ceb0740071a3e60001d007330..."} 
[2026-08-08 21:10:10] local.INFO: Packet analysis {"connection_id":150808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:10] local.INFO: Extracted packet for processing {"connection_id":150808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119160416,"longitude_deg":75.360032,"latitude_deg":11.9160416,"altitude":29,"angle":115,"satellites":48,"speed":15,"hex_longitude":"2ceb0740","hex_latitude":"071a3e60","is_valid_coordinates":true} 
[2026-08-08 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268103424001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375945647129362432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1520387056196548608,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:10] 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-08-08 21:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203550000,"timestamp_ms":1786203550000,"timestamp_seconds":1786203550,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2073130"} 
[2026-08-08 21:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:10: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-08-08 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 21:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:10: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-08-08 21:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268103424001,"66":27300,"104":206,"83":41216,"24":15,"16":375945647129362432,"44":-1520387056196548608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268103424001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:10:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375945647129362432,"km_value":375945647129362.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1520387056196548608,"description":"Unknown IO ID 44"} 
[2026-08-08 21:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268103424001,"power":27300,"unknown_104":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1520387056196548608}} 
[2026-08-08 21:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":150808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:10:10] local.INFO: GPS data processed {"connection_id":150808,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:10:10] local.INFO: Acknowledgment sent {"connection_id":150808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:10:11] local.INFO: TCP Data received {"connection_id":150807,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe207a660012d72df8005eb5920000500c32a..."} 
[2026-08-08 21:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe207a660012d72df8005eb5920000500c32a..."} 
[2026-08-08 21:10:11] local.INFO: Processing buffer {"connection_id":150807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe207a660012d72df8005eb5920000500c32a..."} 
[2026-08-08 21:10:11] local.INFO: Packet analysis {"connection_id":150807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:11] local.INFO: Extracted packet for processing {"connection_id":150807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:11] local.INFO: GPS Element Parsed {"raw_longitude":762503040,"raw_latitude":99309856,"longitude_deg":76.250304,"latitude_deg":9.9309856,"altitude":5,"angle":195,"satellites":42,"speed":10,"hex_longitude":"2d72df80","hex_latitude":"05eb5920","is_valid_coordinates":true} 
[2026-08-08 21:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268116224001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116373264166551552,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8277545771786178560,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786203580000,"timestamp_ms":1786203580000,"timestamp_seconds":1786203580,"priority":1,"record_length":96,"hex_timestamp":"0000019fe207a660"} 
[2026-08-08 21:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:10: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-08-08 21: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 21:10: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-08-08 21:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268116224001,"66":11874,"241":206,"87":12288,"24":10,"16":116373264166551552,"45":8277545771786178560},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 21:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268116224001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:10:11] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 21:10:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116373264166551552,"km_value":116373264166551.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8277545771786178560,"description":"Unknown IO ID 45"} 
[2026-08-08 21:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268116224001,"power":11874,"unknown_241":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8277545771786178560}} 
[2026-08-08 21:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":150807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:10:11] local.INFO: GPS data processed {"connection_id":150807,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:10:11] local.INFO: Acknowledgment sent {"connection_id":150807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:10:14] local.INFO: TCP Data received {"connection_id":150516,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:10:14] local.INFO: Processing buffer {"connection_id":150516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:10:14] local.INFO: Packet analysis {"connection_id":150516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:10:14] local.INFO: Extracted packet for processing {"connection_id":150516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:10:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":150516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:10:14] local.INFO: GPS data processed {"connection_id":150516,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:10:14] local.INFO: Acknowledgment sent {"connection_id":150516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:10:31] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:10:31] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:10:31] local.INFO: IMEI packet received {"connection_id":150809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":150809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:10:36] local.INFO: TCP Data received {"connection_id":151724,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:10:36] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:10:36] local.INFO: IMEI packet received {"connection_id":151724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":151724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:10:36] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:10:36] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:10:36] local.INFO: IMEI packet received {"connection_id":150809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":150809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:10:37] local.INFO: TCP Data received {"connection_id":150809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe207aa48012d72df4005eb57f0000500b42a..."} 
[2026-08-08 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe207aa48012d72df4005eb57f0000500b42a..."} 
[2026-08-08 21:10:37] local.INFO: Processing buffer {"connection_id":150809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe207aa48012d72df4005eb57f0000500b42a..."} 
[2026-08-08 21:10:37] local.INFO: Packet analysis {"connection_id":150809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:37] local.INFO: Extracted packet for processing {"connection_id":150809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":762502976,"raw_latitude":99309552,"longitude_deg":76.2502976,"latitude_deg":9.9309552,"altitude":5,"angle":180,"satellites":42,"speed":12,"hex_longitude":"2d72df40","hex_latitude":"05eb57f0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268116480001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116373281346420736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8277475403041939456,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203581000,"timestamp_ms":1786203581000,"timestamp_seconds":1786203581,"priority":1,"record_length":96,"hex_timestamp":"0000019fe207aa48"} 
[2026-08-08 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-08-08 21:10: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-08-08 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 21:10:37] 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-08-08 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-08-08 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-08-08 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268116480001,"66":11874,"241":206,"87":12288,"24":12,"16":116373281346420736,"45":8277475403041939456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,87,24,16,45]} 
[2026-08-08 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268116480001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:10:37] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-08 21:10:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116373281346420736,"km_value":116373281346420.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8277475403041939456,"description":"Unknown IO ID 45"} 
[2026-08-08 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268116480001,"power":11874,"unknown_241":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8277475403041939456}} 
[2026-08-08 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":150809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:10:37] local.INFO: GPS data processed {"connection_id":150809,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:10:37] local.INFO: Acknowledgment sent {"connection_id":150809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:10:41] local.INFO: TCP Data received {"connection_id":151724,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:10:41] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:10:41] local.INFO: IMEI packet received {"connection_id":151724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":151724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:10:41] local.INFO: TCP Data received {"connection_id":150808,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2073130012ceb0740071a3e60001d007330..."} 
[2026-08-08 21:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2073130012ceb0740071a3e60001d007330..."} 
[2026-08-08 21:10:41] local.INFO: Processing buffer {"connection_id":150808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2073130012ceb0740071a3e60001d007330..."} 
[2026-08-08 21:10:41] local.INFO: Packet analysis {"connection_id":150808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:41] local.INFO: Extracted packet for processing {"connection_id":150808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119160416,"longitude_deg":75.360032,"latitude_deg":11.9160416,"altitude":29,"angle":115,"satellites":48,"speed":15,"hex_longitude":"2ceb0740","hex_latitude":"071a3e60","is_valid_coordinates":true} 
[2026-08-08 21:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268108800001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375945647129362432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710267904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10: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-08-08 21:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203550000,"timestamp_ms":1786203550000,"timestamp_seconds":1786203550,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2073130"} 
[2026-08-08 21:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:10: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-08-08 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 21:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:10: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-08-08 21:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268108800001,"66":27300,"104":206,"83":41216,"24":15,"16":375945647129362432,"44":-1511168750710267904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268108800001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:10:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375945647129362432,"km_value":375945647129362.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710267904,"description":"Unknown IO ID 44"} 
[2026-08-08 21:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268108800001,"power":27300,"unknown_104":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1511168750710267904}} 
[2026-08-08 21:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":150808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:10:41] local.INFO: GPS data processed {"connection_id":150808,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:10:41] local.INFO: Acknowledgment sent {"connection_id":150808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:10:43] local.INFO: TCP Data received {"connection_id":151724,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:10:43] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:10:43] local.INFO: Packet analysis {"connection_id":151724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:10:43] local.INFO: Extracted packet for processing {"connection_id":151724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:10:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":151724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:10:43] local.INFO: GPS data processed {"connection_id":151724,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:10:43] local.INFO: Acknowledgment sent {"connection_id":151724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:11:09] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:11:09] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:11:09] local.INFO: IMEI packet received {"connection_id":153202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":153202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:11:10] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:11:10] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:11:10] local.INFO: IMEI packet received {"connection_id":153202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":153202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:11:11] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2077b68012ceb2900071a3078001b007230..."} 
[2026-08-08 21:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2077b68012ceb2900071a3078001b007230..."} 
[2026-08-08 21:11:11] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2077b68012ceb2900071a3078001b007230..."} 
[2026-08-08 21:11:11] local.INFO: Packet analysis {"connection_id":153202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:11:11] local.INFO: Extracted packet for processing {"connection_id":153202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:11:11] local.INFO: GPS Element Parsed {"raw_longitude":753608960,"raw_latitude":119156856,"longitude_deg":75.360896,"latitude_deg":11.9156856,"altitude":27,"angle":114,"satellites":48,"speed":22,"hex_longitude":"2ceb2900","hex_latitude":"071a3078","is_valid_coordinates":true} 
[2026-08-08 21:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268108800001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375946089510993920,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710267904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786203569000,"timestamp_ms":1786203569000,"timestamp_seconds":1786203569,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2077b68"} 
[2026-08-08 21:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 21:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:11: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-08-08 21:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268108800001,"66":27332,"135":206,"83":41216,"24":22,"16":375946089510993920,"44":-1511168750710267904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268108800001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:11:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375946089510993920,"km_value":375946089510993.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710267904,"description":"Unknown IO ID 44"} 
[2026-08-08 21:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268108800001,"power":27332,"unknown_135":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1511168750710267904}} 
[2026-08-08 21:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":153202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:11:11] local.INFO: GPS data processed {"connection_id":153202,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:11:11] local.INFO: Acknowledgment sent {"connection_id":153202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:11:15] local.INFO: TCP Data received {"connection_id":151724,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:11:15] local.INFO: Processing buffer {"connection_id":151724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:11:15] local.INFO: Packet analysis {"connection_id":151724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:11:15] local.INFO: Extracted packet for processing {"connection_id":151724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:11: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-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:11: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-08-08 21:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:11:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":151724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:11:15] local.INFO: GPS data processed {"connection_id":151724,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:11:15] local.INFO: Acknowledgment sent {"connection_id":151724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:11:26] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:11:26] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:11:26] local.INFO: IMEI packet received {"connection_id":150810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":150810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:11:31] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:11:31] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:11:31] local.INFO: IMEI packet received {"connection_id":150810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":150810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:11:32] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2092148012d73154005ea65d0000200a12a..."} 
[2026-08-08 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2092148012d73154005ea65d0000200a12a..."} 
[2026-08-08 21:11:32] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2092148012d73154005ea65d0000200a12a..."} 
[2026-08-08 21:11:32] local.INFO: Packet analysis {"connection_id":150810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:11:32] local.INFO: Extracted packet for processing {"connection_id":150810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:11:32] local.INFO: GPS Element Parsed {"raw_longitude":762516800,"raw_latitude":99247568,"longitude_deg":76.25168,"latitude_deg":9.9247568,"altitude":2,"angle":161,"satellites":42,"speed":26,"hex_longitude":"2d731540","hex_latitude":"05ea65d0","is_valid_coordinates":true} 
[2026-08-08 21:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268137984001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116376373722873856,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8290352883212879872,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1786203677000,"timestamp_ms":1786203677000,"timestamp_seconds":1786203677,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2092148"} 
[2026-08-08 21:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:11: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-08-08 21:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 21:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":150810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":150810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":150810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:11:32] 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-08-08 21:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268137984001,"66":12048,"99":206,"87":12288,"24":26,"16":116376373722873856,"45":8290352883212879872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268137984001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:11:32] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:11:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116376373722873856,"km_value":116376373722873.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8290352883212879872,"description":"Unknown IO ID 45"} 
[2026-08-08 21:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268137984001,"power":12048,"unknown_99":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8290352883212879872}} 
[2026-08-08 21:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":150810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:11:33] local.INFO: GPS data processed {"connection_id":150810,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:11:33] local.INFO: Acknowledgment sent {"connection_id":150810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:11:36] local.INFO: TCP Data received {"connection_id":153203,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:11:36] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:11:36] local.INFO: IMEI packet received {"connection_id":153203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":153203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:11:41] local.INFO: TCP Data received {"connection_id":153203,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:11:41] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:11:41] local.INFO: IMEI packet received {"connection_id":153203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":153203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:11:42] local.INFO: TCP Data received {"connection_id":153202,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe207c1b8012ceb48c0071a2198001b00722f..."} 
[2026-08-08 21:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe207c1b8012ceb48c0071a2198001b00722f..."} 
[2026-08-08 21:11:42] local.INFO: Processing buffer {"connection_id":153202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe207c1b8012ceb48c0071a2198001b00722f..."} 
[2026-08-08 21:11:42] local.INFO: Packet analysis {"connection_id":153202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:11:42] local.INFO: Extracted packet for processing {"connection_id":153202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe207"} 
[2026-08-08 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":753617088,"raw_latitude":119153048,"longitude_deg":75.3617088,"latitude_deg":11.9153048,"altitude":27,"angle":114,"satellites":47,"speed":18,"hex_longitude":"2ceb48c0","hex_latitude":"071a2198","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268113664001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375946519007723520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1501668970247194624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203587000,"timestamp_ms":1786203587000,"timestamp_seconds":1786203587,"priority":1,"record_length":96,"hex_timestamp":"0000019fe207c1b8"} 
[2026-08-08 21:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 21:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:11: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-08-08 21:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268113664001,"66":27343,"135":206,"83":41216,"24":18,"16":375946519007723520,"44":-1501668970247194624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268113664001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375946519007723520,"km_value":375946519007723.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1501668970247194624,"description":"Unknown IO ID 44"} 
[2026-08-08 21:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268113664001,"power":27343,"unknown_135":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1501668970247194624}} 
[2026-08-08 21:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":153202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:11:42] local.INFO: GPS data processed {"connection_id":153202,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:11:42] local.INFO: Acknowledgment sent {"connection_id":153202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:11:42] local.INFO: TCP Data received {"connection_id":153203,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:11:42] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:11:42] local.INFO: Packet analysis {"connection_id":153203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:11:42] local.INFO: Extracted packet for processing {"connection_id":153203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:11: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-08-08 21: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-08-08 21:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":153203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:11:42] local.INFO: GPS data processed {"connection_id":153203,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:11:42] local.INFO: Acknowledgment sent {"connection_id":153203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:04] local.INFO: TCP Data received {"connection_id":150810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2095410012d73204005ea43980004009d2a..."} 
[2026-08-08 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2095410012d73204005ea43980004009d2a..."} 
[2026-08-08 21:12:04] local.INFO: Processing buffer {"connection_id":150810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2095410012d73204005ea43980004009d2a..."} 
[2026-08-08 21:12:04] local.INFO: Packet analysis {"connection_id":150810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:12:04] local.INFO: Extracted packet for processing {"connection_id":150810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762519616,"raw_latitude":99238808,"longitude_deg":76.2519616,"latitude_deg":9.9238808,"altitude":4,"angle":157,"satellites":42,"speed":28,"hex_longitude":"2d732040","hex_latitude":"05ea4398","is_valid_coordinates":true} 
[2026-08-08 21:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268141312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116376820399472640,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8292604683024191488,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786203690000,"timestamp_ms":1786203690000,"timestamp_seconds":1786203690,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2095410"} 
[2026-08-08 21:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578338601961775872,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3792181160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7101815972549361664,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505375356420096,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4034396160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628346918023153,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3454543275395907608,"corrected_to":0} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3489738098,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257766,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1508529953308630229,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194833408,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84850278683503412,"corrected_to":0} 
[2026-08-08 21:12:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":282205842578688,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,99,87,24,241,157,16,115,159,238,45,64,138,1,42,10,66,155,191,170,43,114,133,128,240,37,227,226,234,4,113,205,23,58,237,56,239,46,2,5,69,200,160],"length":583,"final_offset":713,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3454543275395907608,"validated":0},{"io_id":200,"original":84850278683503412,"validated":0}]} 
[2026-08-08 21:12:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144292389838258176,"timestamp_seconds":144292389838258.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:12:04] 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-08-08 21:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268141312001,"66":12189,"117":206,"87":12288,"24":28,"16":116376820399472640,"45":8292604683024191488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268141312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:12:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116376820399472640,"km_value":116376820399472.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8292604683024191488,"description":"Unknown IO ID 45"} 
[2026-08-08 21:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268141312001,"power":12189,"unknown_117":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8292604683024191488}} 
[2026-08-08 21:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":150810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:04] local.INFO: GPS data processed {"connection_id":150810,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:04] local.INFO: Acknowledgment sent {"connection_id":150810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:04] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:12:04] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:12:04] local.INFO: IMEI packet received {"connection_id":150811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":150811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:12:08] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:12:08] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:12:08] local.INFO: IMEI packet received {"connection_id":150811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":150811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:12:09] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2080038012ceb6900071a11380019007a2e..."} 
[2026-08-08 21:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2080038012ceb6900071a11380019007a2e..."} 
[2026-08-08 21:12:09] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2080038012ceb6900071a11380019007a2e..."} 
[2026-08-08 21:12:09] local.INFO: Packet analysis {"connection_id":150811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe208"} 
[2026-08-08 21:12:09] local.INFO: Extracted packet for processing {"connection_id":150811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe208"} 
[2026-08-08 21:12:09] local.INFO: GPS Element Parsed {"raw_longitude":753625344,"raw_latitude":119148856,"longitude_deg":75.3625344,"latitude_deg":11.9148856,"altitude":25,"angle":122,"satellites":46,"speed":19,"hex_longitude":"2ceb6900","hex_latitude":"071a1138","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268118272001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375946961389355008,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492732139737606144,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12: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-08-08 21:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786203603000,"timestamp_ms":1786203603000,"timestamp_seconds":1786203603,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2080038"} 
[2026-08-08 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-08-08 21: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-08-08 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268118272001,"66":27463,"135":206,"83":41216,"24":19,"16":375946961389355008,"44":-1492732139737606144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268118272001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:12:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375946961389355008,"km_value":375946961389355.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492732139737606144,"description":"Unknown IO ID 44"} 
[2026-08-08 21:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268118272001,"power":27463,"unknown_135":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1492732139737606144}} 
[2026-08-08 21:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":150811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:09] local.INFO: GPS data processed {"connection_id":150811,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:09] local.INFO: Acknowledgment sent {"connection_id":150811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:14] local.INFO: TCP Data received {"connection_id":153203,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:14] local.INFO: Processing buffer {"connection_id":153203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:14] local.INFO: Packet analysis {"connection_id":153203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:12:14] local.INFO: Extracted packet for processing {"connection_id":153203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":153203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:14] local.INFO: GPS data processed {"connection_id":153203,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:14] local.INFO: Acknowledgment sent {"connection_id":153203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:31] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:31] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:31] local.INFO: IMEI packet received {"connection_id":150517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":150517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:12:32] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:32] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:32] local.INFO: IMEI packet received {"connection_id":150517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":150517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:12:35] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:35] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:12:35] local.INFO: IMEI packet received {"connection_id":150517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":150517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:12:36] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d73058005e9f290000700f627..."} 
[2026-08-08 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d73058005e9f290000700f627..."} 
[2026-08-08 21:12:36] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d73058005e9f290000700f627..."} 
[2026-08-08 21:12:36] local.INFO: Packet analysis {"connection_id":150517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:12:36] local.INFO: Extracted packet for processing {"connection_id":150517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":762512768,"raw_latitude":99218064,"longitude_deg":76.2512768,"latitude_deg":9.9218064,"altitude":7,"angle":246,"satellites":39,"speed":22,"hex_longitude":"2d730580","hex_latitude":"05e9f290","is_valid_coordinates":true} 
[2026-08-08 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268158720001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116378246328614912,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8289297352040427520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:12: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-08-08 21:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2379,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:12:36] 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-08-08 21:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268158720001,"66":11526,"117":206,"87":12288,"24":22,"16":116378246328614912,"45":8289297352040427520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268158720001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116378246328614912,"km_value":116378246328614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8289297352040427520,"description":"Unknown IO ID 45"} 
[2026-08-08 21:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268158720001,"power":11526,"unknown_117":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8289297352040427520}} 
[2026-08-08 21:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":150517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:36] local.INFO: GPS data processed {"connection_id":150517,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:36] local.INFO: Acknowledgment sent {"connection_id":150517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:39] local.INFO: TCP Data received {"connection_id":150811,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe209c170012cec214007190cd0001c006d2d..."} 
[2026-08-08 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe209c170012cec214007190cd0001c006d2d..."} 
[2026-08-08 21:12:39] local.INFO: Processing buffer {"connection_id":150811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe209c170012cec214007190cd0001c006d2d..."} 
[2026-08-08 21:12:39] local.INFO: Packet analysis {"connection_id":150811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:12:39] local.INFO: Extracted packet for processing {"connection_id":150811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":753672512,"raw_latitude":119082192,"longitude_deg":75.3672512,"latitude_deg":11.9082192,"altitude":28,"angle":109,"satellites":45,"speed":14,"hex_longitude":"2cec2140","hex_latitude":"07190cd0","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268151296001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375950990068678656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1432566863483752448,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786203718000,"timestamp_ms":1786203718000,"timestamp_seconds":1786203718,"priority":1,"record_length":96,"hex_timestamp":"0000019fe209c170"} 
[2026-08-08 21:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:12: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-08-08 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268151296001,"66":27376,"138":206,"83":41216,"24":14,"16":375950990068678656,"44":-1432566863483752448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-08 21:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268151296001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:39] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-08 21:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375950990068678656,"km_value":375950990068678.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1432566863483752448,"description":"Unknown IO ID 44"} 
[2026-08-08 21:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268151296001,"power":27376,"unknown_138":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1432566863483752448}} 
[2026-08-08 21:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":150811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:39] local.INFO: GPS data processed {"connection_id":150811,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:39] local.INFO: Acknowledgment sent {"connection_id":150811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:41] local.INFO: TCP Data received {"connection_id":150812,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:12:41] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:12:41] local.INFO: IMEI packet received {"connection_id":150812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":150812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:12:46] local.INFO: TCP Data received {"connection_id":150812,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:12:46] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:12:46] local.INFO: IMEI packet received {"connection_id":150812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":150812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:12:47] local.INFO: TCP Data received {"connection_id":150812,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:47] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:47] local.INFO: Packet analysis {"connection_id":150812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:12:47] local.INFO: Extracted packet for processing {"connection_id":150812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:12:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":150812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:47] local.INFO: GPS data processed {"connection_id":150812,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:47] local.INFO: Acknowledgment sent {"connection_id":150812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:12:52] local.INFO: TCP Data received {"connection_id":150812,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:52] local.INFO: Processing buffer {"connection_id":150812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2059af0012d196a80071fef680042011727..."} 
[2026-08-08 21:12:52] local.INFO: Packet analysis {"connection_id":150812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:12:52] local.INFO: Extracted packet for processing {"connection_id":150812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe205"} 
[2026-08-08 21:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268005120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786203446000,"timestamp_ms":1786203446000,"timestamp_seconds":1786203446,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2059af0"} 
[2026-08-08 21:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":150812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":150812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":150812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268005120001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268005120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268005120001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":150812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:12:52] local.INFO: GPS data processed {"connection_id":150812,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:12:52] local.INFO: Acknowledgment sent {"connection_id":150812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:13:04] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:04] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:04] local.INFO: IMEI packet received {"connection_id":153204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":153204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:13:04] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:04] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:04] local.INFO: IMEI packet received {"connection_id":153204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":153204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:13:07] local.INFO: TCP Data received {"connection_id":150517,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a3e70012d72ffc005e9ef98000700ea2a..."} 
[2026-08-08 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a3e70012d72ffc005e9ef98000700ea2a..."} 
[2026-08-08 21:13:07] local.INFO: Processing buffer {"connection_id":150517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a3e70012d72ffc005e9ef98000700ea2a..."} 
[2026-08-08 21:13:07] local.INFO: Packet analysis {"connection_id":150517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:07] local.INFO: Extracted packet for processing {"connection_id":150517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":762511296,"raw_latitude":99217304,"longitude_deg":76.2511296,"latitude_deg":9.9217304,"altitude":7,"angle":234,"satellites":42,"speed":19,"hex_longitude":"2d72ffc0","hex_latitude":"05e9ef98","is_valid_coordinates":true} 
[2026-08-08 21:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116378323638026240,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8288171452133445632,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786203750000,"timestamp_ms":1786203750000,"timestamp_seconds":1786203750,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a3e70"} 
[2026-08-08 21:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3639624277523222528,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2158973269612596429,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":426163525740921075,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2814749767761924,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2104819918,"corrected_to":0} 
[2026-08-08 21:13:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526141,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,117,87,24,241,157,16,159,42,45,128,244,7,40,10,66,27,192,250,6,15,1,240,98,227,226,234,4,113,205,209,50,41,239,47,2],"length":483,"final_offset":613,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2104819918,"validated":0}]} 
[2026-08-08 21:13:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504673805631094784,"timestamp_seconds":504673805631094.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:13:07] 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-08-08 21:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":12026,"117":206,"87":12288,"24":19,"16":116378323638026240,"45":8288171452133445632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:13:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:13:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116378323638026240,"km_value":116378323638026.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8288171452133445632,"description":"Unknown IO ID 45"} 
[2026-08-08 21:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":12026,"unknown_117":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8288171452133445632}} 
[2026-08-08 21:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":150517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:13:07] local.INFO: GPS data processed {"connection_id":150517,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:13:07] local.INFO: Acknowledgment sent {"connection_id":150517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:13:09] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:09] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:13:09] local.INFO: IMEI packet received {"connection_id":153204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":153204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:13:10] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe209fff0012cec2a0007190598001800f42f..."} 
[2026-08-08 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe209fff0012cec2a0007190598001800f42f..."} 
[2026-08-08 21:13:10] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe209fff0012cec2a0007190598001800f42f..."} 
[2026-08-08 21:13:10] local.INFO: Packet analysis {"connection_id":153204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:13:10] local.INFO: Extracted packet for processing {"connection_id":153204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe209"} 
[2026-08-08 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":753674752,"raw_latitude":119080344,"longitude_deg":75.3674752,"latitude_deg":11.9080344,"altitude":24,"angle":244,"satellites":47,"speed":10,"hex_longitude":"2cec2a00","hex_latitude":"07190598","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268155648001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375951204817043456,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429048426275391488,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203734000,"timestamp_ms":1786203734000,"timestamp_seconds":1786203734,"priority":1,"record_length":96,"hex_timestamp":"0000019fe209fff0"} 
[2026-08-08 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-08-08 21: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-08-08 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268155648001,"66":27484,"138":206,"83":41216,"24":10,"16":375951204817043456,"44":-1429048426275391488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-08 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268155648001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375951204817043456,"km_value":375951204817043.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429048426275391488,"description":"Unknown IO ID 44"} 
[2026-08-08 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268155648001,"power":27484,"unknown_138":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1429048426275391488}} 
[2026-08-08 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":153204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:13:10] local.INFO: GPS data processed {"connection_id":153204,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:13:10] local.INFO: Acknowledgment sent {"connection_id":153204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:13:31] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:13:31] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:13:31] local.INFO: IMEI packet received {"connection_id":150518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":150518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:13:36] local.INFO: TCP Data received {"connection_id":150519,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:13:36] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:13:36] local.INFO: IMEI packet received {"connection_id":150519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":150519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:13:36] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:13:36] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:13:36] local.INFO: IMEI packet received {"connection_id":150518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":150518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:13:37] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a4e10012d72fb4005e9ec68000700fa2b..."} 
[2026-08-08 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a4e10012d72fb4005e9ec68000700fa2b..."} 
[2026-08-08 21:13:37] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a4e10012d72fb4005e9ec68000700fa2b..."} 
[2026-08-08 21:13:37] local.INFO: Packet analysis {"connection_id":150518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:37] local.INFO: Extracted packet for processing {"connection_id":150518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":762510144,"raw_latitude":99216488,"longitude_deg":76.2510144,"latitude_deg":9.9216488,"altitude":7,"angle":250,"satellites":43,"speed":9,"hex_longitude":"2d72fb40","hex_latitude":"05e9ec68","is_valid_coordinates":true} 
[2026-08-08 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268160000001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116378392357502976,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8286552971017164800,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203754000,"timestamp_ms":1786203754000,"timestamp_seconds":1786203754,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a4e10"} 
[2026-08-08 21:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:13: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-08-08 21: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 21:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:13:37] 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-08-08 21:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268160000001,"66":12135,"117":206,"87":12288,"24":9,"16":116378392357502976,"45":8286552971017164800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268160000001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:13:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:13:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116378392357502976,"km_value":116378392357502.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8286552971017164800,"description":"Unknown IO ID 45"} 
[2026-08-08 21:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268160000001,"power":12135,"unknown_117":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8286552971017164800}} 
[2026-08-08 21:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":150518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:13:37] local.INFO: GPS data processed {"connection_id":150518,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:13:37] local.INFO: Acknowledgment sent {"connection_id":150518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:13:41] local.INFO: TCP Data received {"connection_id":150519,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:13:41] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:13:41] local.INFO: IMEI packet received {"connection_id":150519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":150519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:13:43] local.INFO: TCP Data received {"connection_id":150519,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:13:43] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:13:43] local.INFO: Packet analysis {"connection_id":150519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:43] local.INFO: Extracted packet for processing {"connection_id":150519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":150519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:13:43] local.INFO: GPS data processed {"connection_id":150519,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:13:43] local.INFO: Acknowledgment sent {"connection_id":150519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:13:43] local.INFO: TCP Data received {"connection_id":153204,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a03d8012cec294007190530001801002f..."} 
[2026-08-08 21:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a03d8012cec294007190530001801002f..."} 
[2026-08-08 21:13:43] local.INFO: Processing buffer {"connection_id":153204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a03d8012cec294007190530001801002f..."} 
[2026-08-08 21:13:43] local.INFO: Packet analysis {"connection_id":153204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:43] local.INFO: Extracted packet for processing {"connection_id":153204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":753674560,"raw_latitude":119080240,"longitude_deg":75.367456,"latitude_deg":11.908024,"altitude":24,"angle":256,"satellites":47,"speed":10,"hex_longitude":"2cec2940","hex_latitude":"07190530","is_valid_coordinates":true} 
[2026-08-08 21:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268155904001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375951217701945344,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429329901252143104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786203735000,"timestamp_ms":1786203735000,"timestamp_seconds":1786203735,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a03d8"} 
[2026-08-08 21:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 21:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268155904001,"66":27321,"138":206,"83":41216,"24":10,"16":375951217701945344,"44":-1429329901252143104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-08 21:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268155904001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375951217701945344,"km_value":375951217701945.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429329901252143104,"description":"Unknown IO ID 44"} 
[2026-08-08 21:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268155904001,"power":27321,"unknown_138":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1429329901252143104}} 
[2026-08-08 21:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":153204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:13:43] local.INFO: GPS data processed {"connection_id":153204,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:13:43] local.INFO: Acknowledgment sent {"connection_id":153204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:04] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:14:04] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:14:04] local.INFO: IMEI packet received {"connection_id":151725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":151725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:14:08] local.INFO: TCP Data received {"connection_id":150518,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a88a8012d72ebc005e9e888000700ef2b..."} 
[2026-08-08 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a88a8012d72ebc005e9e888000700ef2b..."} 
[2026-08-08 21:14:08] local.INFO: Processing buffer {"connection_id":150518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a88a8012d72ebc005e9e888000700ef2b..."} 
[2026-08-08 21:14:08] local.INFO: Packet analysis {"connection_id":150518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:08] local.INFO: Extracted packet for processing {"connection_id":150518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":762506176,"raw_latitude":99215496,"longitude_deg":76.2506176,"latitude_deg":9.9215496,"altitude":7,"angle":239,"satellites":43,"speed":6,"hex_longitude":"2d72ebc0","hex_latitude":"05e9e888","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268161024001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116378585631031296,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8285286333621757952,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786203769000,"timestamp_ms":1786203769000,"timestamp_seconds":1786203769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a88a8"} 
[2026-08-08 21:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14: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-08-08 21: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 21:14: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-08-08 21: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-08-08 21:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:14:08] 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-08-08 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268161024001,"66":12004,"117":206,"87":12288,"24":6,"16":116378585631031296,"45":8285286333621757952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268161024001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:14:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116378585631031296,"km_value":116378585631031.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8285286333621757952,"description":"Unknown IO ID 45"} 
[2026-08-08 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268161024001,"power":12004,"unknown_117":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8285286333621757952}} 
[2026-08-08 21:14:08] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:14:08] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:14:08] local.INFO: IMEI packet received {"connection_id":151725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":151725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":150518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:08] local.INFO: GPS data processed {"connection_id":150518,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:08] local.INFO: Acknowledgment sent {"connection_id":150518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:09] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20ad6c8012cebb84007198348001c01442b..."} 
[2026-08-08 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20ad6c8012cebb84007198348001c01442b..."} 
[2026-08-08 21:14:09] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20ad6c8012cebb84007198348001c01442b..."} 
[2026-08-08 21:14:09] local.INFO: Packet analysis {"connection_id":151725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:09] local.INFO: Extracted packet for processing {"connection_id":151725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":753645632,"raw_latitude":119112520,"longitude_deg":75.3645632,"latitude_deg":11.911252,"altitude":28,"angle":324,"satellites":43,"speed":37,"hex_longitude":"2cebb840","hex_latitude":"07198348","is_valid_coordinates":true} 
[2026-08-08 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268167424001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375953365185593344,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1456562605242726400,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14: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-08-08 21:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786203789000,"timestamp_ms":1786203789000,"timestamp_seconds":1786203789,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20ad6c8"} 
[2026-08-08 21:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14: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-08-08 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 21:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268167424001,"66":27463,"135":206,"83":41216,"24":37,"16":375953365185593344,"44":-1456562605242726400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268167424001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:09] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375953365185593344,"km_value":375953365185593.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1456562605242726400,"description":"Unknown IO ID 44"} 
[2026-08-08 21:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268167424001,"power":27463,"unknown_135":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1456562605242726400}} 
[2026-08-08 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":151725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:09] local.INFO: GPS data processed {"connection_id":151725,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:09] local.INFO: Acknowledgment sent {"connection_id":151725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:14] local.INFO: TCP Data received {"connection_id":150519,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:14:14] local.INFO: Processing buffer {"connection_id":150519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:14:14] local.INFO: Packet analysis {"connection_id":150519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:14] local.INFO: Extracted packet for processing {"connection_id":150519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":150519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:14] local.INFO: GPS data processed {"connection_id":150519,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:14] local.INFO: Acknowledgment sent {"connection_id":150519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:32] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:32] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:32] local.INFO: IMEI packet received {"connection_id":150813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":150813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:14:36] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:14:36] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:14:36] local.INFO: IMEI packet received {"connection_id":151726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":151726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:14:36] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:36] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:36] local.INFO: IMEI packet received {"connection_id":150813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":150813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:14:40] local.INFO: TCP Data received {"connection_id":151725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20b01c0012ceba4800719a278001b014e2d..."} 
[2026-08-08 21:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20b01c0012ceba4800719a278001b014e2d..."} 
[2026-08-08 21:14:40] local.INFO: Processing buffer {"connection_id":151725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20b01c0012ceba4800719a278001b014e2d..."} 
[2026-08-08 21:14:40] local.INFO: Packet analysis {"connection_id":151725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:14:40] local.INFO: Extracted packet for processing {"connection_id":151725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:14:40] local.INFO: GPS Element Parsed {"raw_longitude":753640576,"raw_latitude":119120504,"longitude_deg":75.3640576,"latitude_deg":11.9120504,"altitude":27,"angle":334,"satellites":45,"speed":30,"hex_longitude":"2ceba480","hex_latitude":"0719a278","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268169984001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375953820452126720,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1461347679844743168,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14: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-08-08 21:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786203800000,"timestamp_ms":1786203800000,"timestamp_seconds":1786203800,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20b01c0"} 
[2026-08-08 21:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14: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-08-08 21: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":71,"data_length":795,"current_offset":136} 
[2026-08-08 21:14: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-08-08 21: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-08-08 21:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:14: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-08-08 21:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268169984001,"66":27463,"135":206,"83":41216,"24":30,"16":375953820452126720,"44":-1461347679844743168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268169984001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375953820452126720,"km_value":375953820452126.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1461347679844743168,"description":"Unknown IO ID 44"} 
[2026-08-08 21:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268169984001,"power":27463,"unknown_135":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1461347679844743168}} 
[2026-08-08 21:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":151725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:40] local.INFO: GPS data processed {"connection_id":151725,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:40] local.INFO: Acknowledgment sent {"connection_id":151725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:41] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:14:41] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:14:41] local.INFO: IMEI packet received {"connection_id":151726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":151726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:14:41] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:41] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:14:41] local.INFO: IMEI packet received {"connection_id":150813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":150813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:14:42] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20ab3a0012d72ea4005e9e690000700b829..."} 
[2026-08-08 21:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20ab3a0012d72ea4005e9e690000700b829..."} 
[2026-08-08 21:14:42] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20ab3a0012d72ea4005e9e690000700b829..."} 
[2026-08-08 21:14:42] local.INFO: Packet analysis {"connection_id":150813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:42] local.INFO: Extracted packet for processing {"connection_id":150813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":762505792,"raw_latitude":99214992,"longitude_deg":76.2505792,"latitude_deg":9.9214992,"altitude":7,"angle":184,"satellites":41,"speed":9,"hex_longitude":"2d72ea40","hex_latitude":"05e9e690","is_valid_coordinates":true} 
[2026-08-08 21:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268164864001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116378619990769664,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8280923471482488832,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203780000,"timestamp_ms":1786203780000,"timestamp_seconds":1786203780,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20ab3a0"} 
[2026-08-08 21:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 21:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:14:42] 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-08-08 21:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268164864001,"66":12058,"117":206,"87":12288,"24":9,"16":116378619990769664,"45":8280923471482488832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268164864001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116378619990769664,"km_value":116378619990769.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8280923471482488832,"description":"Unknown IO ID 45"} 
[2026-08-08 21:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268164864001,"power":12058,"unknown_117":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8280923471482488832}} 
[2026-08-08 21:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":150813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:42] local.INFO: GPS data processed {"connection_id":150813,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:42] local.INFO: Acknowledgment sent {"connection_id":150813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:42] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:14:42] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:14:42] local.INFO: Packet analysis {"connection_id":151726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:42] local.INFO: Extracted packet for processing {"connection_id":151726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:14: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-08-08 21:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":151726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:42] local.INFO: GPS data processed {"connection_id":151726,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:42] local.INFO: Acknowledgment sent {"connection_id":151726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:14:43] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20ab788012d72ea8005e9e588000700a429..."} 
[2026-08-08 21:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20ab788012d72ea8005e9e588000700a429..."} 
[2026-08-08 21:14:43] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20ab788012d72ea8005e9e588000700a429..."} 
[2026-08-08 21:14:43] local.INFO: Packet analysis {"connection_id":150813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:43] local.INFO: Extracted packet for processing {"connection_id":150813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:14:43] local.INFO: GPS Element Parsed {"raw_longitude":762505856,"raw_latitude":99214728,"longitude_deg":76.2505856,"latitude_deg":9.9214728,"altitude":7,"angle":164,"satellites":41,"speed":12,"hex_longitude":"2d72ea80","hex_latitude":"05e9e588","is_valid_coordinates":true} 
[2026-08-08 21:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268167680001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116378632875671552,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8280501259017293824,"note":"Value kept but may cause issues"} 
[2026-08-08 21:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786203781000,"timestamp_ms":1786203781000,"timestamp_seconds":1786203781,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20ab788"} 
[2026-08-08 21:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 21:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:14:43] 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-08-08 21:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268167680001,"66":12058,"117":206,"87":12288,"24":12,"16":116378632875671552,"45":8280501259017293824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-08-08 21:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268167680001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:14:43] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-08 21:14:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116378632875671552,"km_value":116378632875671.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8280501259017293824,"description":"Unknown IO ID 45"} 
[2026-08-08 21:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268167680001,"power":12058,"unknown_117":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8280501259017293824}} 
[2026-08-08 21:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":150813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:14:43] local.INFO: GPS data processed {"connection_id":150813,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:14:43] local.INFO: Acknowledgment sent {"connection_id":150813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:04] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:15:04] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:15:04] local.INFO: IMEI packet received {"connection_id":153205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":153205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:15:09] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:15:09] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:15:09] local.INFO: IMEI packet received {"connection_id":153205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":153205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:15:10] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20b28d0012ceb92c00719c1c0001b014b30..."} 
[2026-08-08 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20b28d0012ceb92c00719c1c0001b014b30..."} 
[2026-08-08 21:15:10] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20b28d0012ceb92c00719c1c0001b014b30..."} 
[2026-08-08 21:15:10] local.INFO: Packet analysis {"connection_id":153205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:15:10] local.INFO: Extracted packet for processing {"connection_id":153205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":753636032,"raw_latitude":119128512,"longitude_deg":75.3636032,"latitude_deg":11.9128512,"altitude":27,"angle":331,"satellites":48,"speed":39,"hex_longitude":"2ceb92c0","hex_latitude":"0719c1c0","is_valid_coordinates":true} 
[2026-08-08 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268172800001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375954267128725504,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1466906810632734720,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203810000,"timestamp_ms":1786203810000,"timestamp_seconds":1786203810,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20b28d0"} 
[2026-08-08 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:15: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-08-08 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268172800001,"66":27245,"135":206,"83":41216,"24":39,"16":375954267128725504,"44":-1466906810632734720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268172800001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375954267128725504,"km_value":375954267128725.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1466906810632734720,"description":"Unknown IO ID 44"} 
[2026-08-08 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268172800001,"power":27245,"unknown_135":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1466906810632734720}} 
[2026-08-08 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":153205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:10] local.INFO: GPS data processed {"connection_id":153205,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:10] local.INFO: Acknowledgment sent {"connection_id":153205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:14] local.INFO: TCP Data received {"connection_id":150813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20aee38012d72f84005e9c5280007009d2c..."} 
[2026-08-08 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20aee38012d72f84005e9c5280007009d2c..."} 
[2026-08-08 21:15:14] local.INFO: Processing buffer {"connection_id":150813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20aee38012d72f84005e9c5280007009d2c..."} 
[2026-08-08 21:15:14] local.INFO: Packet analysis {"connection_id":150813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:14] local.INFO: Extracted packet for processing {"connection_id":150813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":762509376,"raw_latitude":99206440,"longitude_deg":76.2509376,"latitude_deg":9.920644,"altitude":7,"angle":157,"satellites":44,"speed":35,"hex_longitude":"2d72f840","hex_latitude":"05e9c528","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268167936001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116379070962335744,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8280571627761403904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203795000,"timestamp_ms":1786203795000,"timestamp_seconds":1786203795,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20aee38"} 
[2026-08-08 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-08-08 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 21:15: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-08-08 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-08-08 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-08-08 21:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:15:14] 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-08-08 21:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268167936001,"66":12015,"217":206,"87":12288,"24":35,"16":116379070962335744,"45":8280571627761403904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268167936001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116379070962335744,"km_value":116379070962335.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8280571627761403904,"description":"Unknown IO ID 45"} 
[2026-08-08 21:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268167936001,"power":12015,"unknown_217":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8280571627761403904}} 
[2026-08-08 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":150813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:14] local.INFO: GPS data processed {"connection_id":150813,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:14] local.INFO: Acknowledgment sent {"connection_id":150813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:14] local.INFO: TCP Data received {"connection_id":151726,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:14] local.INFO: Processing buffer {"connection_id":151726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:14] local.INFO: Packet analysis {"connection_id":151726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:14] local.INFO: Extracted packet for processing {"connection_id":151726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 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-08-08 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":151726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:14] local.INFO: GPS data processed {"connection_id":151726,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:14] local.INFO: Acknowledgment sent {"connection_id":151726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:31] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:31] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:31] local.INFO: IMEI packet received {"connection_id":153206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":153206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:15:32] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:32] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:32] local.INFO: IMEI packet received {"connection_id":153206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":153206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:15:36] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:36] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:15:36] local.INFO: IMEI packet received {"connection_id":153206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":153206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:15:37] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20cb740012d736a8005e842100000009c27..."} 
[2026-08-08 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20cb740012d736a8005e842100000009c27..."} 
[2026-08-08 21:15:37] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20cb740012d736a8005e842100000009c27..."} 
[2026-08-08 21:15:37] local.INFO: Packet analysis {"connection_id":153206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:15:37] local.INFO: Extracted packet for processing {"connection_id":153206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":762538624,"raw_latitude":99107344,"longitude_deg":76.2538624,"latitude_deg":9.9107344,"altitude":0,"angle":156,"satellites":39,"speed":39,"hex_longitude":"2d736a80","hex_latitude":"05e84210","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268198912001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116384087484137472,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8312730143825391616,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786203912000,"timestamp_ms":1786203912000,"timestamp_seconds":1786203912,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20cb740"} 
[2026-08-08 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-08-08 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:37] 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-08-08 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-08-08 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-08-08 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:15:37] 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-08-08 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268198912001,"66":12200,"99":206,"87":12288,"24":39,"16":116384087484137472,"45":8312730143825391616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268198912001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:15:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116384087484137472,"km_value":116384087484137.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8312730143825391616,"description":"Unknown IO ID 45"} 
[2026-08-08 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268198912001,"power":12200,"unknown_99":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8312730143825391616}} 
[2026-08-08 21:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":153206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:37] local.INFO: GPS data processed {"connection_id":153206,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:37] local.INFO: Acknowledgment sent {"connection_id":153206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:41] local.INFO: TCP Data received {"connection_id":153205,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20b53c8012ceb82800719e0900019014f30..."} 
[2026-08-08 21:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20b53c8012ceb82800719e0900019014f30..."} 
[2026-08-08 21:15:41] local.INFO: Processing buffer {"connection_id":153205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20b53c8012ceb82800719e0900019014f30..."} 
[2026-08-08 21:15:41] local.INFO: Packet analysis {"connection_id":153205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:15:41] local.INFO: Extracted packet for processing {"connection_id":153205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753631872,"raw_latitude":119136400,"longitude_deg":75.3631872,"latitude_deg":11.91364,"altitude":25,"angle":335,"satellites":48,"speed":20,"hex_longitude":"2ceb8280","hex_latitude":"0719e090","is_valid_coordinates":true} 
[2026-08-08 21:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268175360001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375954696625455104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1471902991467298816,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203821000,"timestamp_ms":1786203821000,"timestamp_seconds":1786203821,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20b53c8"} 
[2026-08-08 21:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:15: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-08-08 21:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:15: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-08-08 21:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268175360001,"66":27376,"135":206,"83":41216,"24":20,"16":375954696625455104,"44":-1471902991467298816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268175360001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375954696625455104,"km_value":375954696625455.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1471902991467298816,"description":"Unknown IO ID 44"} 
[2026-08-08 21:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268175360001,"power":27376,"unknown_135":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1471902991467298816}} 
[2026-08-08 21:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":153205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:41] local.INFO: GPS data processed {"connection_id":153205,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:41] local.INFO: Acknowledgment sent {"connection_id":153205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:41] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20cda68012d7377c005e821180000009a26..."} 
[2026-08-08 21:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20cda68012d7377c005e821180000009a26..."} 
[2026-08-08 21:15:41] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20cda68012d7377c005e821180000009a26..."} 
[2026-08-08 21:15:41] local.INFO: Packet analysis {"connection_id":153206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:15:41] local.INFO: Extracted packet for processing {"connection_id":153206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:15:41] local.INFO: GPS Element Parsed {"raw_longitude":762542016,"raw_latitude":99098904,"longitude_deg":76.2542016,"latitude_deg":9.9098904,"altitude":0,"angle":154,"satellites":38,"speed":40,"hex_longitude":"2d7377c0","hex_latitude":"05e82118","is_valid_coordinates":true} 
[2026-08-08 21:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268201472001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116384525570801664,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8316600424752877568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203921000,"timestamp_ms":1786203921000,"timestamp_seconds":1786203921,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20cda68"} 
[2026-08-08 21:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:15: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-08-08 21:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:41] 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-08-08 21:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:15:41] 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-08-08 21:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268201472001,"66":12232,"99":206,"87":12288,"24":40,"16":116384525570801664,"45":8316600424752877568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268201472001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116384525570801664,"km_value":116384525570801.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8316600424752877568,"description":"Unknown IO ID 45"} 
[2026-08-08 21:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268201472001,"power":12232,"unknown_99":206,"unknown_87":12288,"ignition":40,"odometer":null,"unknown_45":8316600424752877568}} 
[2026-08-08 21:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":153206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:41] local.INFO: GPS data processed {"connection_id":153206,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:41] local.INFO: Acknowledgment sent {"connection_id":153206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:44] local.INFO: TCP Data received {"connection_id":153207,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:15:44] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:15:44] local.INFO: IMEI packet received {"connection_id":153207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":153207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:15:46] local.INFO: TCP Data received {"connection_id":153207,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:15:46] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:15:46] local.INFO: IMEI packet received {"connection_id":153207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":153207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:15:47] local.INFO: TCP Data received {"connection_id":153207,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:47] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:47] local.INFO: Packet analysis {"connection_id":153207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:47] local.INFO: Extracted packet for processing {"connection_id":153207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":153207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:47] local.INFO: GPS data processed {"connection_id":153207,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:47] local.INFO: Acknowledgment sent {"connection_id":153207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:15:51] local.INFO: TCP Data received {"connection_id":153207,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:51] local.INFO: Processing buffer {"connection_id":153207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:15:51] local.INFO: Packet analysis {"connection_id":153207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:51] local.INFO: Extracted packet for processing {"connection_id":153207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:15:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:15:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":153207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:15:51] local.INFO: GPS data processed {"connection_id":153207,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:15:51] local.INFO: Acknowledgment sent {"connection_id":153207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:16:04] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:16:04] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:16:04] local.INFO: IMEI packet received {"connection_id":150814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":150814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:16:09] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:16:09] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:16:09] local.INFO: IMEI packet received {"connection_id":150814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":150814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:16:10] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20b8a78012ceb7500071a00b00018014e30..."} 
[2026-08-08 21:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20b8a78012ceb7500071a00b00018014e30..."} 
[2026-08-08 21:16:10] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20b8a78012ceb7500071a00b00018014e30..."} 
[2026-08-08 21:16:10] local.INFO: Packet analysis {"connection_id":150814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:16:10] local.INFO: Extracted packet for processing {"connection_id":150814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":753628416,"raw_latitude":119144624,"longitude_deg":75.3628416,"latitude_deg":11.9144624,"altitude":24,"angle":334,"satellites":48,"speed":29,"hex_longitude":"2ceb7500","hex_latitude":"071a00b0","is_valid_coordinates":true} 
[2026-08-08 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268178176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375955130417152000,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476476959836827648,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203835000,"timestamp_ms":1786203835000,"timestamp_seconds":1786203835,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20b8a78"} 
[2026-08-08 21:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 21:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268178176001,"66":27332,"135":206,"83":41216,"24":29,"16":375955130417152000,"44":-1476476959836827648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268178176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:16:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375955130417152000,"km_value":375955130417152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476476959836827648,"description":"Unknown IO ID 44"} 
[2026-08-08 21:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268178176001,"power":27332,"unknown_135":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1476476959836827648}} 
[2026-08-08 21:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":150814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:16:10] local.INFO: GPS data processed {"connection_id":150814,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:16:10] local.INFO: Acknowledgment sent {"connection_id":150814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:16:12] local.INFO: TCP Data received {"connection_id":153206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20cfd90012d7388c005e800080000009f24..."} 
[2026-08-08 21:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20cfd90012d7388c005e800080000009f24..."} 
[2026-08-08 21:16:12] local.INFO: Processing buffer {"connection_id":153206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20cfd90012d7388c005e800080000009f24..."} 
[2026-08-08 21:16:12] local.INFO: Packet analysis {"connection_id":153206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:16:12] local.INFO: Extracted packet for processing {"connection_id":153206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:16:12] local.INFO: GPS Element Parsed {"raw_longitude":762546368,"raw_latitude":99090440,"longitude_deg":76.2546368,"latitude_deg":9.909044,"altitude":0,"angle":159,"satellites":36,"speed":44,"hex_longitude":"2d7388c0","hex_latitude":"05e80008","is_valid_coordinates":true} 
[2026-08-08 21:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268203776001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116384989427269632,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8320329968192133120,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786203930000,"timestamp_ms":1786203930000,"timestamp_seconds":1786203930,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20cfd90"} 
[2026-08-08 21:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 21:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:16:12] 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-08-08 21:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268203776001,"66":12232,"99":206,"87":12288,"24":44,"16":116384989427269632,"45":8320329968192133120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268203776001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:16:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:16:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116384989427269632,"km_value":116384989427269.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8320329968192133120,"description":"Unknown IO ID 45"} 
[2026-08-08 21:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268203776001,"power":12232,"unknown_99":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8320329968192133120}} 
[2026-08-08 21:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":153206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:16:13] local.INFO: GPS data processed {"connection_id":153206,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:16:13] local.INFO: Acknowledgment sent {"connection_id":153206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:16:31] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:16:31] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:16:31] local.INFO: IMEI packet received {"connection_id":150520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":150520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:16:34] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:16:34] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:16:34] local.INFO: IMEI packet received {"connection_id":150520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":150520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:16:35] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20d1cd0012d73960005e7de380001009e25..."} 
[2026-08-08 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20d1cd0012d73960005e7de380001009e25..."} 
[2026-08-08 21:16:35] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20d1cd0012d73960005e7de380001009e25..."} 
[2026-08-08 21:16:35] local.INFO: Packet analysis {"connection_id":150520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:16:35] local.INFO: Extracted packet for processing {"connection_id":150520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":762549760,"raw_latitude":99081784,"longitude_deg":76.254976,"latitude_deg":9.9081784,"altitude":1,"angle":158,"satellites":37,"speed":44,"hex_longitude":"2d739600","hex_latitude":"05e7de38","is_valid_coordinates":true} 
[2026-08-08 21:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268206080001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116385436103868416,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8325115042794047488,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786203938000,"timestamp_ms":1786203938000,"timestamp_seconds":1786203938,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20d1cd0"} 
[2026-08-08 21:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 21:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:16:35] 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-08-08 21:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268206080001,"66":11917,"99":206,"87":12288,"24":44,"16":116385436103868416,"45":8325115042794047488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268206080001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:16:35] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116385436103868416,"km_value":116385436103868.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8325115042794047488,"description":"Unknown IO ID 45"} 
[2026-08-08 21:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268206080001,"power":11917,"unknown_99":206,"unknown_87":12288,"ignition":44,"odometer":null,"unknown_45":8325115042794047488}} 
[2026-08-08 21:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":150520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:16:35] local.INFO: GPS data processed {"connection_id":150520,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:16:35] local.INFO: Acknowledgment sent {"connection_id":150520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:16:36] local.INFO: TCP Data received {"connection_id":153208,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:16:36] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:16:36] local.INFO: IMEI packet received {"connection_id":153208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":153208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:16:41] local.INFO: TCP Data received {"connection_id":153208,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:16:41] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:16:41] local.INFO: IMEI packet received {"connection_id":153208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":153208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:16:42] local.INFO: TCP Data received {"connection_id":153208,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:16:42] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:16:42] local.INFO: Packet analysis {"connection_id":153208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:16:42] local.INFO: Extracted packet for processing {"connection_id":153208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:16: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-08-08 21:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:16:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":153208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:16:42] local.INFO: GPS data processed {"connection_id":153208,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:16:42] local.INFO: Acknowledgment sent {"connection_id":153208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:16:49] local.INFO: TCP Data received {"connection_id":150814,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20b9a18012ceb6f00071a0a700018013e2f..."} 
[2026-08-08 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20b9a18012ceb6f00071a0a700018013e2f..."} 
[2026-08-08 21:16:49] local.INFO: Processing buffer {"connection_id":150814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20b9a18012ceb6f00071a0a700018013e2f..."} 
[2026-08-08 21:16:49] local.INFO: Packet analysis {"connection_id":150814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:16:49] local.INFO: Extracted packet for processing {"connection_id":150814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":753626880,"raw_latitude":119147120,"longitude_deg":75.362688,"latitude_deg":11.914712,"altitude":24,"angle":318,"satellites":47,"speed":29,"hex_longitude":"2ceb6f00","hex_latitude":"071a0a70","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268181760001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375955272151072768,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480276872020316160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786203839000,"timestamp_ms":1786203839000,"timestamp_seconds":1786203839,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20b9a18"} 
[2026-08-08 21:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:16: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-08-08 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 21:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268181760001,"66":27397,"135":206,"83":41216,"24":29,"16":375955272151072768,"44":-1480276872020316160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268181760001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:16:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375955272151072768,"km_value":375955272151072.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480276872020316160,"description":"Unknown IO ID 44"} 
[2026-08-08 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268181760001,"power":27397,"unknown_135":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1480276872020316160}} 
[2026-08-08 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":150814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:16:49] local.INFO: GPS data processed {"connection_id":150814,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:16:49] local.INFO: Acknowledgment sent {"connection_id":150814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:06] local.INFO: TCP Data received {"connection_id":150520,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20d3ff8012d73a40005e7bc180002009f28..."} 
[2026-08-08 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20d3ff8012d73a40005e7bc180002009f28..."} 
[2026-08-08 21:17:06] local.INFO: Processing buffer {"connection_id":150520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20d3ff8012d73a40005e7bc180002009f28..."} 
[2026-08-08 21:17:06] local.INFO: Packet analysis {"connection_id":150520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:17:06] local.INFO: Extracted packet for processing {"connection_id":150520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762553344,"raw_latitude":99073048,"longitude_deg":76.2553344,"latitude_deg":9.9073048,"altitude":2,"angle":159,"satellites":40,"speed":40,"hex_longitude":"2d73a400","hex_latitude":"05e7bc18","is_valid_coordinates":true} 
[2026-08-08 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268208128001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116385895665369088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8328844586233247744,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786203947000,"timestamp_ms":1786203947000,"timestamp_seconds":1786203947,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20d3ff8"} 
[2026-08-08 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 21:17:06] 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-08-08 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:17:06] 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-08-08 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268208128001,"66":12015,"99":206,"87":12288,"24":40,"16":116385895665369088,"45":8328844586233247744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268208128001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116385895665369088,"km_value":116385895665369.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8328844586233247744,"description":"Unknown IO ID 45"} 
[2026-08-08 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268208128001,"power":12015,"unknown_99":206,"unknown_87":12288,"ignition":40,"odometer":null,"unknown_45":8328844586233247744}} 
[2026-08-08 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":150520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:06] local.INFO: GPS data processed {"connection_id":150520,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:06] local.INFO: Acknowledgment sent {"connection_id":150520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:09] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:17:09] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:17:09] local.INFO: IMEI packet received {"connection_id":150815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":150815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:17:12] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:17:12] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:17:12] local.INFO: IMEI packet received {"connection_id":150815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":150815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:17:13] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20ba5d0012ceb6840071a10400017012f2c..."} 
[2026-08-08 21:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20ba5d0012ceb6840071a10400017012f2c..."} 
[2026-08-08 21:17:13] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20ba5d0012ceb6840071a10400017012f2c..."} 
[2026-08-08 21:17:13] local.INFO: Packet analysis {"connection_id":150815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:17:13] local.INFO: Extracted packet for processing {"connection_id":150815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753625152,"raw_latitude":119148608,"longitude_deg":75.3625152,"latitude_deg":11.9148608,"altitude":23,"angle":303,"satellites":44,"speed":31,"hex_longitude":"2ceb6840","hex_latitude":"071a1040","is_valid_coordinates":true} 
[2026-08-08 21:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268182784001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375955379525255168,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481965721879941120,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786203842000,"timestamp_ms":1786203842000,"timestamp_seconds":1786203842,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20ba5d0"} 
[2026-08-08 21:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268182784001,"66":27376,"135":206,"83":41216,"24":31,"16":375955379525255168,"44":-1481965721879941120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 21:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268182784001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:13] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 21:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375955379525255168,"km_value":375955379525255.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481965721879941120,"description":"Unknown IO ID 44"} 
[2026-08-08 21:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268182784001,"power":27376,"unknown_135":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1481965721879941120}} 
[2026-08-08 21:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":150815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:13] local.INFO: GPS data processed {"connection_id":150815,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:13] local.INFO: Acknowledgment sent {"connection_id":150815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:14] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20bdc80012ceb48c0071a20d0001701252f..."} 
[2026-08-08 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20bdc80012ceb48c0071a20d0001701252f..."} 
[2026-08-08 21:17:14] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20bdc80012ceb48c0071a20d0001701252f..."} 
[2026-08-08 21:17:14] local.INFO: Packet analysis {"connection_id":150815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:17:14] local.INFO: Extracted packet for processing {"connection_id":150815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20b"} 
[2026-08-08 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":753617088,"raw_latitude":119152848,"longitude_deg":75.3617088,"latitude_deg":11.9152848,"altitude":23,"angle":293,"satellites":47,"speed":20,"hex_longitude":"2ceb48c0","hex_latitude":"071a20d0","is_valid_coordinates":true} 
[2026-08-08 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268183552001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375955813316952064,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483865677972357120,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:14] 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-08-08 21:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203856000,"timestamp_ms":1786203856000,"timestamp_seconds":1786203856,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20bdc80"} 
[2026-08-08 21:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 21:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:17: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-08-08 21:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268183552001,"66":27463,"104":206,"83":41216,"24":20,"16":375955813316952064,"44":-1483865677972357120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268183552001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375955813316952064,"km_value":375955813316952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483865677972357120,"description":"Unknown IO ID 44"} 
[2026-08-08 21:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268183552001,"power":27463,"unknown_104":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1483865677972357120}} 
[2026-08-08 21:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":150815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:14] local.INFO: GPS data processed {"connection_id":150815,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:14] local.INFO: Acknowledgment sent {"connection_id":150815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:14] local.INFO: TCP Data received {"connection_id":153208,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:17:14] local.INFO: Processing buffer {"connection_id":153208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:17:14] local.INFO: Packet analysis {"connection_id":153208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:17:14] local.INFO: Extracted packet for processing {"connection_id":153208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 21:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":153208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:14] local.INFO: GPS data processed {"connection_id":153208,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:14] local.INFO: Acknowledgment sent {"connection_id":153208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:31] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:31] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:31] local.INFO: IMEI packet received {"connection_id":150816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":150816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:17:32] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:32] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:32] local.INFO: IMEI packet received {"connection_id":150816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":150816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:17:36] local.INFO: TCP Data received {"connection_id":150817,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:17:36] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:17:36] local.INFO: IMEI packet received {"connection_id":150817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":150817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:17:36] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:36] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:17:36] local.INFO: IMEI packet received {"connection_id":150816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":150816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:17:38] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20d6708012d73afc005e79898000300a529..."} 
[2026-08-08 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20d6708012d73afc005e79898000300a529..."} 
[2026-08-08 21:17:38] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20d6708012d73afc005e79898000300a529..."} 
[2026-08-08 21:17:38] local.INFO: Packet analysis {"connection_id":150816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:17:38] local.INFO: Extracted packet for processing {"connection_id":150816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":762556352,"raw_latitude":99063960,"longitude_deg":76.2556352,"latitude_deg":9.906396,"altitude":3,"angle":165,"satellites":41,"speed":40,"hex_longitude":"2d73afc0","hex_latitude":"05e79898","is_valid_coordinates":true} 
[2026-08-08 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268210432001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116386359521837056,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8332785235904960512,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786203957000,"timestamp_ms":1786203957000,"timestamp_seconds":1786203957,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20d6708"} 
[2026-08-08 21:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 21:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:17:38] 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-08-08 21:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268210432001,"66":12058,"99":206,"87":12288,"24":40,"16":116386359521837056,"45":8332785235904960512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-08 21:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268210432001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116386359521837056,"km_value":116386359521837.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8332785235904960512,"description":"Unknown IO ID 45"} 
[2026-08-08 21:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268210432001,"power":12058,"unknown_99":206,"unknown_87":12288,"ignition":40,"odometer":null,"unknown_45":8332785235904960512}} 
[2026-08-08 21:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":150816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:38] local.INFO: GPS data processed {"connection_id":150816,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:38] local.INFO: Acknowledgment sent {"connection_id":150816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:41] local.INFO: TCP Data received {"connection_id":150817,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:17:41] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:17:41] local.INFO: IMEI packet received {"connection_id":150817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":150817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:17:42] local.INFO: TCP Data received {"connection_id":150817,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:17:42] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20a32b8012d196a80071fef68004201172a..."} 
[2026-08-08 21:17:42] local.INFO: Packet analysis {"connection_id":150817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:17:42] local.INFO: Extracted packet for processing {"connection_id":150817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20a"} 
[2026-08-08 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268082176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17: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-08-08 21:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786203747000,"timestamp_ms":1786203747000,"timestamp_seconds":1786203747,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20a32b8"} 
[2026-08-08 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-08-08 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:17: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-08-08 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-08-08 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-08-08 21:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268082176001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268082176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268082176001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":150817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:42] local.INFO: GPS data processed {"connection_id":150817,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:42] local.INFO: Acknowledgment sent {"connection_id":150817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:17:44] local.INFO: TCP Data received {"connection_id":150815,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20c2e88012ceb27c0071a2f900017012432..."} 
[2026-08-08 21:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20c2e88012ceb27c0071a2f900017012432..."} 
[2026-08-08 21:17:44] local.INFO: Processing buffer {"connection_id":150815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20c2e88012ceb27c0071a2f900017012432..."} 
[2026-08-08 21:17:44] local.INFO: Packet analysis {"connection_id":150815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:17:44] local.INFO: Extracted packet for processing {"connection_id":150815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:17:44] local.INFO: GPS Element Parsed {"raw_longitude":753608640,"raw_latitude":119156624,"longitude_deg":75.360864,"latitude_deg":11.9156624,"altitude":23,"angle":292,"satellites":50,"speed":18,"hex_longitude":"2ceb27c0","hex_latitude":"071a2f90","is_valid_coordinates":true} 
[2026-08-08 21:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268187136001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956255698583552,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492732139737657344,"note":"Value kept but may cause issues"} 
[2026-08-08 21:17:44] 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-08-08 21:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786203877000,"timestamp_ms":1786203877000,"timestamp_seconds":1786203877,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20c2e88"} 
[2026-08-08 21:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 21:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268187136001,"66":27245,"104":206,"83":41216,"24":18,"16":375956255698583552,"44":-1492732139737657344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268187136001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:17:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956255698583552,"km_value":375956255698583.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:17:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492732139737657344,"description":"Unknown IO ID 44"} 
[2026-08-08 21:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268187136001,"power":27245,"unknown_104":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1492732139737657344}} 
[2026-08-08 21:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":150815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:17:45] local.INFO: GPS data processed {"connection_id":150815,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:17:45] local.INFO: Acknowledgment sent {"connection_id":150815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:04] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:18:04] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:18:04] local.INFO: IMEI packet received {"connection_id":150818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":150818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:18:09] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:18:09] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:18:09] local.INFO: IMEI packet received {"connection_id":150818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":150818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:18:10] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20c2e88012ceb27c0071a2f900017012432..."} 
[2026-08-08 21:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20c2e88012ceb27c0071a2f900017012432..."} 
[2026-08-08 21:18:10] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20c2e88012ceb27c0071a2f900017012432..."} 
[2026-08-08 21:18:10] local.INFO: Packet analysis {"connection_id":150818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:18:10] local.INFO: Extracted packet for processing {"connection_id":150818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":753608640,"raw_latitude":119156624,"longitude_deg":75.360864,"latitude_deg":11.9156624,"altitude":23,"angle":292,"satellites":50,"speed":18,"hex_longitude":"2ceb27c0","hex_latitude":"071a2f90","is_valid_coordinates":true} 
[2026-08-08 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268192512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956255698583552,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502020813968142336,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:10] 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-08-08 21:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203877000,"timestamp_ms":1786203877000,"timestamp_seconds":1786203877,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20c2e88"} 
[2026-08-08 21:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268192512001,"66":27245,"104":206,"83":41216,"24":18,"16":375956255698583552,"44":-1502020813968142336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268192512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956255698583552,"km_value":375956255698583.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502020813968142336,"description":"Unknown IO ID 44"} 
[2026-08-08 21:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268192512001,"power":27245,"unknown_104":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1502020813968142336}} 
[2026-08-08 21:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":150818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:10] local.INFO: GPS data processed {"connection_id":150818,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:10] local.INFO: Acknowledgment sent {"connection_id":150818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:10] local.INFO: TCP Data received {"connection_id":150816,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20f2070012d7428c005e5ead80001009f26..."} 
[2026-08-08 21:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20f2070012d7428c005e5ead80001009f26..."} 
[2026-08-08 21:18:10] local.INFO: Processing buffer {"connection_id":150816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20f2070012d7428c005e5ead80001009f26..."} 
[2026-08-08 21:18:10] local.INFO: Packet analysis {"connection_id":150816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:18:10] local.INFO: Extracted packet for processing {"connection_id":150816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":762587328,"raw_latitude":98953944,"longitude_deg":76.2587328,"latitude_deg":9.8953944,"altitude":1,"angle":159,"satellites":38,"speed":39,"hex_longitude":"2d7428c0","hex_latitude":"05e5ead8","is_valid_coordinates":true} 
[2026-08-08 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268239360001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116391921504485376,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8366210389361139712,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204070000,"timestamp_ms":1786204070000,"timestamp_seconds":1786204070,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20f2070"} 
[2026-08-08 21:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 21:18: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-08-08 21:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:18:10] 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-08-08 21:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268239360001,"66":11950,"98":206,"87":12288,"24":39,"16":116391921504485376,"45":8366210389361139712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 21:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268239360001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116391921504485376,"km_value":116391921504485.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8366210389361139712,"description":"Unknown IO ID 45"} 
[2026-08-08 21:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268239360001,"power":11950,"unknown_98":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8366210389361139712}} 
[2026-08-08 21:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":150816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:10] local.INFO: GPS data processed {"connection_id":150816,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:10] local.INFO: Acknowledgment sent {"connection_id":150816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:14] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20c8090012ceb0900071a3c080018011d31..."} 
[2026-08-08 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20c8090012ceb0900071a3c080018011d31..."} 
[2026-08-08 21:18:14] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20c8090012ceb0900071a3c080018011d31..."} 
[2026-08-08 21:18:14] local.INFO: Packet analysis {"connection_id":150818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:18:14] local.INFO: Extracted packet for processing {"connection_id":150818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":753600768,"raw_latitude":119159816,"longitude_deg":75.3600768,"latitude_deg":11.9159816,"altitude":24,"angle":285,"satellites":49,"speed":8,"hex_longitude":"2ceb0900","hex_latitude":"071a3c08","is_valid_coordinates":true} 
[2026-08-08 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268192512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956659425509376,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502020813968142336,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:14] 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-08-08 21:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786203898000,"timestamp_ms":1786203898000,"timestamp_seconds":1786203898,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20c8090"} 
[2026-08-08 21:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":109,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268192512001,"66":27397,"104":206,"83":41216,"24":8,"16":375956659425509376,"44":-1502020813968142336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268192512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956659425509376,"km_value":375956659425509.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502020813968142336,"description":"Unknown IO ID 44"} 
[2026-08-08 21:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268192512001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1502020813968142336}} 
[2026-08-08 21:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:14] local.INFO: GPS data processed {"connection_id":150818,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:14] local.INFO: Acknowledgment sent {"connection_id":150818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:14] local.INFO: TCP Data received {"connection_id":150817,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:14] local.INFO: Processing buffer {"connection_id":150817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:14] local.INFO: Packet analysis {"connection_id":150817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:18:14] local.INFO: Extracted packet for processing {"connection_id":150817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:14] local.INFO: GPS data processed {"connection_id":150817,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:14] local.INFO: Acknowledgment sent {"connection_id":150817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:36] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:18:36] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:18:36] local.INFO: IMEI packet received {"connection_id":151727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":151727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:18:41] local.INFO: TCP Data received {"connection_id":153209,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:18:41] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:18:41] local.INFO: IMEI packet received {"connection_id":153209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":153209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:18:41] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:18:41] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:18:41] local.INFO: IMEI packet received {"connection_id":151727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":151727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:18:42] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20f4780012d7431c005e5c860000000ab27..."} 
[2026-08-08 21:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20f4780012d7431c005e5c860000000ab27..."} 
[2026-08-08 21:18:42] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20f4780012d7431c005e5c860000000ab27..."} 
[2026-08-08 21:18:42] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:18:42] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:18:42] local.INFO: GPS Element Parsed {"raw_longitude":762589632,"raw_latitude":98945120,"longitude_deg":76.2589632,"latitude_deg":9.894512,"altitude":0,"angle":171,"satellites":39,"speed":35,"hex_longitude":"2d7431c0","hex_latitude":"05e5c860","is_valid_coordinates":true} 
[2026-08-08 21:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268241920001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116392363886116864,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8370151039032809472,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204080000,"timestamp_ms":1786204080000,"timestamp_seconds":1786204080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20f4780"} 
[2026-08-08 21:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18: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-08-08 21: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:18:42] 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-08-08 21:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268241920001,"66":12037,"98":206,"87":12288,"24":35,"16":116392363886116864,"45":8370151039032809472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 21:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268241920001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:42] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 21:18:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116392363886116864,"km_value":116392363886116.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8370151039032809472,"description":"Unknown IO ID 45"} 
[2026-08-08 21:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268241920001,"power":12037,"unknown_98":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8370151039032809472}} 
[2026-08-08 21:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:42] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:42] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:43] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20f4780012d7431c005e5c860000000ab27..."} 
[2026-08-08 21:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20f4780012d7431c005e5c860000000ab27..."} 
[2026-08-08 21:18:43] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20f4780012d7431c005e5c860000000ab27..."} 
[2026-08-08 21:18:43] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:18:43] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:18:43] local.INFO: GPS Element Parsed {"raw_longitude":762589632,"raw_latitude":98945120,"longitude_deg":76.2589632,"latitude_deg":9.894512,"altitude":0,"angle":171,"satellites":39,"speed":35,"hex_longitude":"2d7431c0","hex_latitude":"05e5c860","is_valid_coordinates":true} 
[2026-08-08 21:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268244480001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116392363886116864,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8372684313820946432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786204080000,"timestamp_ms":1786204080000,"timestamp_seconds":1786204080,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20f4780"} 
[2026-08-08 21:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18: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-08-08 21:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2882303761684890624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2155151360,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3792600160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2837831601422860312,"corrected_to":0} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1836307563621078488,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195031040,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,98,87,24,241,157,16,130,159,32,45,192,234,1,38,10,66,129,249,13,2,39,210,64,240,255,227,226,230,4,113,205,37,40,239,47,5,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2837831601422860312,"validated":0}]} 
[2026-08-08 21:18:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188183994368000,"timestamp_seconds":188183994368,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:18:43] 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-08-08 21:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268244480001,"66":12037,"98":206,"87":12288,"24":35,"16":116392363886116864,"45":8372684313820946432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 21:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268244480001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:43] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 21:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116392363886116864,"km_value":116392363886116.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8372684313820946432,"description":"Unknown IO ID 45"} 
[2026-08-08 21:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268244480001,"power":12037,"unknown_98":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8372684313820946432}} 
[2026-08-08 21:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:44] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:44] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:45] local.INFO: TCP Data received {"connection_id":150818,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20cd298012ceb0580071a3f30001a01212d..."} 
[2026-08-08 21:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20cd298012ceb0580071a3f30001a01212d..."} 
[2026-08-08 21:18:45] local.INFO: Processing buffer {"connection_id":150818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20cd298012ceb0580071a3f30001a01212d..."} 
[2026-08-08 21:18:45] local.INFO: Packet analysis {"connection_id":150818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:18:45] local.INFO: Extracted packet for processing {"connection_id":150818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20c"} 
[2026-08-08 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":753599872,"raw_latitude":119160624,"longitude_deg":75.3599872,"latitude_deg":11.9160624,"altitude":26,"angle":289,"satellites":45,"speed":0,"hex_longitude":"2ceb0580","hex_latitude":"071a3f30","is_valid_coordinates":true} 
[2026-08-08 21:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268197888001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956723850018816,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510676169501177856,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:45] 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-08-08 21:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786203919000,"timestamp_ms":1786203919000,"timestamp_seconds":1786203919,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20cd298"} 
[2026-08-08 21:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:18: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-08-08 21:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268197888001,"66":27397,"104":206,"83":41216,"24":0,"16":375956723850018816,"44":-1510676169501177856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268197888001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956723850018816,"km_value":375956723850018.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510676169501177856,"description":"Unknown IO ID 44"} 
[2026-08-08 21:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268197888001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1510676169501177856}} 
[2026-08-08 21:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":150818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:45] local.INFO: GPS data processed {"connection_id":150818,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:45] local.INFO: Acknowledgment sent {"connection_id":150818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:46] local.INFO: TCP Data received {"connection_id":153209,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:18:46] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:18:46] local.INFO: IMEI packet received {"connection_id":153209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":153209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:18:47] local.INFO: TCP Data received {"connection_id":153209,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:47] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:47] local.INFO: Packet analysis {"connection_id":153209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:18:47] local.INFO: Extracted packet for processing {"connection_id":153209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":153209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:47] local.INFO: GPS data processed {"connection_id":153209,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:47] local.INFO: Acknowledgment sent {"connection_id":153209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:18:52] local.INFO: TCP Data received {"connection_id":153209,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:52] local.INFO: Processing buffer {"connection_id":153209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:18:52] local.INFO: Packet analysis {"connection_id":153209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:18:52] local.INFO: Extracted packet for processing {"connection_id":153209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:18:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:18:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":153209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:18:52] local.INFO: GPS data processed {"connection_id":153209,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:18:52] local.INFO: Acknowledgment sent {"connection_id":153209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:19:04] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:19:04] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:19:04] local.INFO: IMEI packet received {"connection_id":150521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":150521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:19:09] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:19:09] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:19:09] local.INFO: IMEI packet received {"connection_id":150521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":150521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:19:10] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20d24a0012ceb0700071a3e98001a01212e..."} 
[2026-08-08 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20d24a0012ceb0700071a3e98001a01212e..."} 
[2026-08-08 21:19:10] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20d24a0012ceb0700071a3e98001a01212e..."} 
[2026-08-08 21:19:10] local.INFO: Packet analysis {"connection_id":150521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:19:10] local.INFO: Extracted packet for processing {"connection_id":150521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119160472,"longitude_deg":75.3600256,"latitude_deg":11.9160472,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0700","hex_latitude":"071a3e98","is_valid_coordinates":true} 
[2026-08-08 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268203264001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956745324855296,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511661331919458304,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:10] 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-08-08 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203940000,"timestamp_ms":1786203940000,"timestamp_seconds":1786203940,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20d24a0"} 
[2026-08-08 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:19: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-08-08 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268203264001,"66":27484,"104":206,"83":41216,"24":0,"16":375956745324855296,"44":-1511661331919458304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268203264001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956745324855296,"km_value":375956745324855.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511661331919458304,"description":"Unknown IO ID 44"} 
[2026-08-08 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268203264001,"power":27484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511661331919458304}} 
[2026-08-08 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":150521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:19:10] local.INFO: GPS data processed {"connection_id":150521,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:19:10] local.INFO: Acknowledgment sent {"connection_id":150521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:19:15] local.INFO: TCP Data received {"connection_id":151727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20f6e90012d74378005e5a4f8000200a927..."} 
[2026-08-08 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20f6e90012d74378005e5a4f8000200a927..."} 
[2026-08-08 21:19:15] local.INFO: Processing buffer {"connection_id":151727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20f6e90012d74378005e5a4f8000200a927..."} 
[2026-08-08 21:19:15] local.INFO: Packet analysis {"connection_id":151727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:19:15] local.INFO: Extracted packet for processing {"connection_id":151727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":762591104,"raw_latitude":98936056,"longitude_deg":76.2591104,"latitude_deg":9.8936056,"altitude":2,"angle":169,"satellites":39,"speed":36,"hex_longitude":"2d743780","hex_latitude":"05e5a4f8","is_valid_coordinates":true} 
[2026-08-08 21:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268244480001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116392806267748352,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8372684313820946432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786204090000,"timestamp_ms":1786204090000,"timestamp_seconds":1786204090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20f6e90"} 
[2026-08-08 21:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2882303761684890624,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2162163712,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3792609160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":24576,"corrected_to":0} 
[2026-08-08 21:19:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2837831601422860312,"corrected_to":0} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2952867188,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2147870267,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807143,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1846431866689639129,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194836224,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,98,87,24,241,157,16,130,159,71,45,192,200,39,10,66,32,234,1,38,129,249,240,141,227,226,230,4,113,205,30,194,13,80,239,46,2,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":200,"original":24576,"validated":0},{"io_id":205,"original":2837831601422860312,"validated":0}]} 
[2026-08-08 21:19:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188183994368000,"timestamp_seconds":188183994368,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:19:15] 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-08-08 21:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268244480001,"66":12135,"98":206,"87":12288,"24":36,"16":116392806267748352,"45":8372684313820946432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 21:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268244480001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:19:15] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 21:19:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116392806267748352,"km_value":116392806267748.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8372684313820946432,"description":"Unknown IO ID 45"} 
[2026-08-08 21:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268244480001,"power":12135,"unknown_98":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8372684313820946432}} 
[2026-08-08 21:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":151727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:19:15] local.INFO: GPS data processed {"connection_id":151727,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:19:15] local.INFO: Acknowledgment sent {"connection_id":151727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:19:31] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:31] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:31] local.INFO: IMEI packet received {"connection_id":151728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":151728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:19:33] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:33] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:33] local.INFO: IMEI packet received {"connection_id":151728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":151728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:19:36] local.INFO: TCP Data received {"connection_id":150819,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:19:36] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:19:36] local.INFO: IMEI packet received {"connection_id":150819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":150819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:19:36] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:36] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:19:36] local.INFO: IMEI packet received {"connection_id":151728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":151728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:19:37] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20f95a0012d74400005e58278000600a428..."} 
[2026-08-08 21:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20f95a0012d74400005e58278000600a428..."} 
[2026-08-08 21:19:37] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20f95a0012d74400005e58278000600a428..."} 
[2026-08-08 21:19:37] local.INFO: Packet analysis {"connection_id":151728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:19:37] local.INFO: Extracted packet for processing {"connection_id":151728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762593280,"raw_latitude":98927224,"longitude_deg":76.259328,"latitude_deg":9.8927224,"altitude":6,"angle":164,"satellites":40,"speed":34,"hex_longitude":"2d744000","hex_latitude":"05e58278","is_valid_coordinates":true} 
[2026-08-08 21:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268247040001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116393248649379840,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8374302794934712320,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204100000,"timestamp_ms":1786204100000,"timestamp_seconds":1786204100,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20f95a0"} 
[2026-08-08 21:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 21:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:19:37] 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-08-08 21:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268247040001,"66":12156,"98":206,"87":12288,"24":34,"16":116393248649379840,"45":8374302794934712320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 21:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268247040001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116393248649379840,"km_value":116393248649379.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8374302794934712320,"description":"Unknown IO ID 45"} 
[2026-08-08 21:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268247040001,"power":12156,"unknown_98":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8374302794934712320}} 
[2026-08-08 21:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":151728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:19:37] local.INFO: GPS data processed {"connection_id":151728,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:19:37] local.INFO: Acknowledgment sent {"connection_id":151728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:19:41] local.INFO: TCP Data received {"connection_id":150819,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:19:41] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:19:41] local.INFO: IMEI packet received {"connection_id":150819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":150819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:19:41] local.INFO: TCP Data received {"connection_id":150521,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20d76a8012ceb0780071a3e90001901212e..."} 
[2026-08-08 21:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20d76a8012ceb0780071a3e90001901212e..."} 
[2026-08-08 21:19:41] local.INFO: Processing buffer {"connection_id":150521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20d76a8012ceb0780071a3e90001901212e..."} 
[2026-08-08 21:19:41] local.INFO: Packet analysis {"connection_id":150521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:19:41] local.INFO: Extracted packet for processing {"connection_id":150521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119160464,"longitude_deg":75.3600384,"latitude_deg":11.9160464,"altitude":25,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3e90","is_valid_coordinates":true} 
[2026-08-08 21:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268208640001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956753914789888,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454431232,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19: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-08-08 21:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203961000,"timestamp_ms":1786203961000,"timestamp_seconds":1786203961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20d76a8"} 
[2026-08-08 21:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:19: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-08-08 21:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 21:19: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-08-08 21:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:19: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-08-08 21:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268208640001,"66":27213,"104":206,"83":41216,"24":0,"16":375956753914789888,"44":-1511239119454431232},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268208640001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:19:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956753914789888,"km_value":375956753914789.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454431232,"description":"Unknown IO ID 44"} 
[2026-08-08 21:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268208640001,"power":27213,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454431232}} 
[2026-08-08 21:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":150521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:19:41] local.INFO: GPS data processed {"connection_id":150521,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:19:41] local.INFO: Acknowledgment sent {"connection_id":150521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:19:42] local.INFO: TCP Data received {"connection_id":150819,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:19:42] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:19:42] local.INFO: Packet analysis {"connection_id":150819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:19:42] local.INFO: Extracted packet for processing {"connection_id":150819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:19: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-08-08 21:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:19: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-08-08 21:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:19:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":150819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:19:42] local.INFO: GPS data processed {"connection_id":150819,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:19:42] local.INFO: Acknowledgment sent {"connection_id":150819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:20:04] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:20:04] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:20:04] local.INFO: IMEI packet received {"connection_id":150522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":150522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:20:08] local.INFO: TCP Data received {"connection_id":151728,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20fbcb0012d7447c005e560a0000300a829..."} 
[2026-08-08 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20fbcb0012d7447c005e560a0000300a829..."} 
[2026-08-08 21:20:08] local.INFO: Processing buffer {"connection_id":151728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20fbcb0012d7447c005e560a0000300a829..."} 
[2026-08-08 21:20:08] local.INFO: Packet analysis {"connection_id":151728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:20:08] local.INFO: Extracted packet for processing {"connection_id":151728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":762595264,"raw_latitude":98918560,"longitude_deg":76.2595264,"latitude_deg":9.891856,"altitude":3,"angle":168,"satellites":41,"speed":37,"hex_longitude":"2d7447c0","hex_latitude":"05e560a0","is_valid_coordinates":true} 
[2026-08-08 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268249600001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116393682441076736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8376695332234491904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786204110000,"timestamp_ms":1786204110000,"timestamp_seconds":1786204110,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20fbcb0"} 
[2026-08-08 21:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:20: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-08-08 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 21:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:20:08] 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-08-08 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268249600001,"66":12298,"98":206,"87":12288,"24":37,"16":116393682441076736,"45":8376695332234491904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-08 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268249600001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116393682441076736,"km_value":116393682441076.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8376695332234491904,"description":"Unknown IO ID 45"} 
[2026-08-08 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268249600001,"power":12298,"unknown_98":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8376695332234491904}} 
[2026-08-08 21:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":151728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:20:08] local.INFO: GPS data processed {"connection_id":151728,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:20:08] local.INFO: Acknowledgment sent {"connection_id":151728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:20:09] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:20:09] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:20:09] local.INFO: IMEI packet received {"connection_id":150522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":150522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:20:10] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20dc8b0012ceb0880071a3de00019012130..."} 
[2026-08-08 21:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20dc8b0012ceb0880071a3de00019012130..."} 
[2026-08-08 21:20:10] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20dc8b0012ceb0880071a3de00019012130..."} 
[2026-08-08 21:20:10] local.INFO: Packet analysis {"connection_id":150522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:20:10] local.INFO: Extracted packet for processing {"connection_id":150522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":753600640,"raw_latitude":119160288,"longitude_deg":75.360064,"latitude_deg":11.9160288,"altitude":25,"angle":289,"satellites":48,"speed":1,"hex_longitude":"2ceb0880","hex_latitude":"071a3de0","is_valid_coordinates":true} 
[2026-08-08 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268214016001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956771094659072,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966077952,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:10] 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-08-08 21:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203982000,"timestamp_ms":1786203982000,"timestamp_seconds":1786203982,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20dc8b0"} 
[2026-08-08 21:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 21:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268214016001,"66":27843,"104":206,"83":41216,"24":1,"16":375956771094659072,"44":-1511098381966077952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268214016001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:20:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956771094659072,"km_value":375956771094659.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966077952,"description":"Unknown IO ID 44"} 
[2026-08-08 21:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268214016001,"power":27843,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1511098381966077952}} 
[2026-08-08 21:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":150522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:20:10] local.INFO: GPS data processed {"connection_id":150522,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:20:10] local.INFO: Acknowledgment sent {"connection_id":150522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:20:14] local.INFO: TCP Data received {"connection_id":150819,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:20:14] local.INFO: Processing buffer {"connection_id":150819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:20:14] local.INFO: Packet analysis {"connection_id":150819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:20:14] local.INFO: Extracted packet for processing {"connection_id":150819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:20:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":150819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:20:14] local.INFO: GPS data processed {"connection_id":150819,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:20:14] local.INFO: Acknowledgment sent {"connection_id":150819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:20:31] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:20:31] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:20:31] local.INFO: IMEI packet received {"connection_id":150523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":150523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:20:36] local.INFO: TCP Data received {"connection_id":151729,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:20:36] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:20:36] local.INFO: IMEI packet received {"connection_id":151729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":151729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:20:36] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:20:36] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:20:36] local.INFO: IMEI packet received {"connection_id":150523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":150523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:20:37] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20fdfd8012d74504005e53d70000200a228..."} 
[2026-08-08 21:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20fdfd8012d74504005e53d70000200a228..."} 
[2026-08-08 21:20:37] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20fdfd8012d74504005e53d70000200a228..."} 
[2026-08-08 21:20:37] local.INFO: Packet analysis {"connection_id":150523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:20:37] local.INFO: Extracted packet for processing {"connection_id":150523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20f"} 
[2026-08-08 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":762597440,"raw_latitude":98909552,"longitude_deg":76.259744,"latitude_deg":9.8909552,"altitude":2,"angle":162,"satellites":40,"speed":42,"hex_longitude":"2d745040","hex_latitude":"05e53d70","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268252160001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116394129117675520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8378876763301781504,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204119000,"timestamp_ms":1786204119000,"timestamp_seconds":1786204119,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20fdfd8"} 
[2026-08-08 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-08-08 21:20: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-08-08 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902753919488,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2178285568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2157555930404916208,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3221612010,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3354338178589917390,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":45360352858210304,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3859652608,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3361734656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":660734158,"corrected_to":0} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":38,"raw_value":8444249301975044,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288103,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":129,"raw_value":7566047373982433281,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":425079098038354082,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,98,87,24,241,157,16,131,159,149,45,130,6,40,10,66,110,128,164,2,39,71,192,1,240,5,227,226,229,4,113,205,35,32,216,38,239,46,129,64],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":660734158,"validated":0}]} 
[2026-08-08 21:20:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216357676163334144,"timestamp_seconds":216357676163334.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 21:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:20:37] 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-08-08 21:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268252160001,"66":12026,"219":206,"87":12288,"24":42,"16":116394129117675520,"45":8378876763301781504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268252160001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:20:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:20:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116394129117675520,"km_value":116394129117675.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8378876763301781504,"description":"Unknown IO ID 45"} 
[2026-08-08 21:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268252160001,"power":12026,"unknown_219":206,"unknown_87":12288,"ignition":42,"odometer":null,"unknown_45":8378876763301781504}} 
[2026-08-08 21:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":150523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:20:37] local.INFO: GPS data processed {"connection_id":150523,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:20:37] local.INFO: Acknowledgment sent {"connection_id":150523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:20:41] local.INFO: TCP Data received {"connection_id":150522,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:20:41] local.INFO: Processing buffer {"connection_id":150522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:20:41] local.INFO: Packet analysis {"connection_id":150522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:20:41] local.INFO: Extracted packet for processing {"connection_id":150522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159552,"longitude_deg":75.360032,"latitude_deg":11.9159552,"altitude":25,"angle":289,"satellites":50,"speed":1,"hex_longitude":"2ceb0740","hex_latitude":"071a3b00","is_valid_coordinates":true} 
[2026-08-08 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268219392001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510816906989412352,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20: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-08-08 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203994000,"timestamp_ms":1786203994000,"timestamp_seconds":1786203994,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20df790"} 
[2026-08-08 21:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:20: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-08-08 21:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 21:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268219392001,"66":27821,"104":206,"83":41216,"24":1,"16":375956809749364736,"44":-1510816906989412352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268219392001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:20:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510816906989412352,"description":"Unknown IO ID 44"} 
[2026-08-08 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268219392001,"power":27821,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1510816906989412352}} 
[2026-08-08 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":150522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:20:41] local.INFO: GPS data processed {"connection_id":150522,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:20:41] local.INFO: Acknowledgment sent {"connection_id":150522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:20:41] local.INFO: TCP Data received {"connection_id":151729,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:20:41] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:20:41] local.INFO: IMEI packet received {"connection_id":151729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:20:42] local.INFO: TCP Data received {"connection_id":151729,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:20:42] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:20:42] local.INFO: Packet analysis {"connection_id":151729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:20:42] local.INFO: Extracted packet for processing {"connection_id":151729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:20: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-08-08 21:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:20:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":151729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:20:42] local.INFO: GPS data processed {"connection_id":151729,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:20:42] local.INFO: Acknowledgment sent {"connection_id":151729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:21:04] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:21:04] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:21:04] local.INFO: IMEI packet received {"connection_id":151730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":151730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:21:08] local.INFO: TCP Data received {"connection_id":150523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2102df8012d7458c005e524e0000000a028..."} 
[2026-08-08 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2102df8012d7458c005e524e0000000a028..."} 
[2026-08-08 21:21:08] local.INFO: Processing buffer {"connection_id":150523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2102df8012d7458c005e524e0000000a028..."} 
[2026-08-08 21:21:08] local.INFO: Packet analysis {"connection_id":150523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe210"} 
[2026-08-08 21:21:08] local.INFO: Extracted packet for processing {"connection_id":150523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe210"} 
[2026-08-08 21:21:08] local.INFO: GPS Element Parsed {"raw_longitude":762599616,"raw_latitude":98903264,"longitude_deg":76.2599616,"latitude_deg":9.8903264,"altitude":0,"angle":160,"satellites":40,"speed":0,"hex_longitude":"2d7458c0","hex_latitude":"05e524e0","is_valid_coordinates":true} 
[2026-08-08 21:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268254464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116394459830157312,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8381269300601516032,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786204139000,"timestamp_ms":1786204139000,"timestamp_seconds":1786204139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2102df8"} 
[2026-08-08 21:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:21: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-08-08 21:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 21:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:21:08] 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-08-08 21:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268254464001,"66":11624,"219":206,"87":12288,"24":0,"16":116394459830157312,"45":8381269300601516032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268254464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:21:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:21:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116394459830157312,"km_value":116394459830157.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8381269300601516032,"description":"Unknown IO ID 45"} 
[2026-08-08 21:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268254464001,"power":11624,"unknown_219":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8381269300601516032}} 
[2026-08-08 21:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":150523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:21:08] local.INFO: GPS data processed {"connection_id":150523,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:21:08] local.INFO: Acknowledgment sent {"connection_id":150523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:21:09] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:21:09] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:21:09] local.INFO: IMEI packet received {"connection_id":151730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":151730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:21:10] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:21:10] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:21:10] local.INFO: Packet analysis {"connection_id":151730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:21:10] local.INFO: Extracted packet for processing {"connection_id":151730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:21:10] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159552,"longitude_deg":75.360032,"latitude_deg":11.9159552,"altitude":25,"angle":289,"satellites":50,"speed":1,"hex_longitude":"2ceb0740","hex_latitude":"071a3b00","is_valid_coordinates":true} 
[2026-08-08 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268219392001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510816906989412352,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:10] 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-08-08 21:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203994000,"timestamp_ms":1786203994000,"timestamp_seconds":1786203994,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20df790"} 
[2026-08-08 21:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:21: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-08-08 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268219392001,"66":27821,"104":206,"83":41216,"24":1,"16":375956809749364736,"44":-1510816906989412352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268219392001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:21:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510816906989412352,"description":"Unknown IO ID 44"} 
[2026-08-08 21:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268219392001,"power":27821,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1510816906989412352}} 
[2026-08-08 21:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":151730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:21:10] local.INFO: GPS data processed {"connection_id":151730,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:21:10] local.INFO: Acknowledgment sent {"connection_id":151730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:21:14] local.INFO: TCP Data received {"connection_id":151729,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:21:14] local.INFO: Processing buffer {"connection_id":151729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:21:14] local.INFO: Packet analysis {"connection_id":151729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:21:14] local.INFO: Extracted packet for processing {"connection_id":151729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:21:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:21:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":151729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:21:14] local.INFO: GPS data processed {"connection_id":151729,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:21:14] local.INFO: Acknowledgment sent {"connection_id":151729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:21:31] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:21:31] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:21:31] local.INFO: IMEI packet received {"connection_id":150820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":150820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:21:36] local.INFO: TCP Data received {"connection_id":150821,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:21:36] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:21:36] local.INFO: IMEI packet received {"connection_id":150821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":150821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:21:36] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:21:36] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:21:36] local.INFO: IMEI packet received {"connection_id":150820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":150820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:21:37] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2108000012d745e0005e514c0000100a22a..."} 
[2026-08-08 21:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2108000012d745e0005e514c0000100a22a..."} 
[2026-08-08 21:21:37] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2108000012d745e0005e514c0000100a22a..."} 
[2026-08-08 21:21:37] local.INFO: Packet analysis {"connection_id":150820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe210"} 
[2026-08-08 21:21:37] local.INFO: Extracted packet for processing {"connection_id":150820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe210"} 
[2026-08-08 21:21:37] local.INFO: GPS Element Parsed {"raw_longitude":762600960,"raw_latitude":98899136,"longitude_deg":76.260096,"latitude_deg":9.8899136,"altitude":1,"angle":162,"satellites":42,"speed":25,"hex_longitude":"2d745e00","hex_latitude":"05e514c0","is_valid_coordinates":true} 
[2026-08-08 21:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268259584001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116394670283554816,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8383661837901946880,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204160000,"timestamp_ms":1786204160000,"timestamp_seconds":1786204160,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2108000"} 
[2026-08-08 21:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-08 21:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:21:37] 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-08-08 21:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268259584001,"66":11874,"219":206,"87":12288,"24":25,"16":116394670283554816,"45":8383661837901946880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268259584001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:21:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:21:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116394670283554816,"km_value":116394670283554.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8383661837901946880,"description":"Unknown IO ID 45"} 
[2026-08-08 21:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268259584001,"power":11874,"unknown_219":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8383661837901946880}} 
[2026-08-08 21:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":150820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:21:37] local.INFO: GPS data processed {"connection_id":150820,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:21:37] local.INFO: Acknowledgment sent {"connection_id":150820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:21:41] local.INFO: TCP Data received {"connection_id":150821,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:21:41] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:21:41] local.INFO: IMEI packet received {"connection_id":150821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":150821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:21:41] local.INFO: TCP Data received {"connection_id":151730,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:21:41] local.INFO: Processing buffer {"connection_id":151730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:21:41] local.INFO: Packet analysis {"connection_id":151730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:21:41] local.INFO: Extracted packet for processing {"connection_id":151730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159552,"longitude_deg":75.360032,"latitude_deg":11.9159552,"altitude":25,"angle":289,"satellites":50,"speed":1,"hex_longitude":"2ceb0740","hex_latitude":"071a3b00","is_valid_coordinates":true} 
[2026-08-08 21:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268219392001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510816906989412352,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21: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-08-08 21:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786203994000,"timestamp_ms":1786203994000,"timestamp_seconds":1786203994,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20df790"} 
[2026-08-08 21:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:21: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-08-08 21:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 21:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:21: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-08-08 21:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268219392001,"66":27821,"104":206,"83":41216,"24":1,"16":375956809749364736,"44":-1510816906989412352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268219392001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:21:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510816906989412352,"description":"Unknown IO ID 44"} 
[2026-08-08 21:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268219392001,"power":27821,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1510816906989412352}} 
[2026-08-08 21:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":151730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:21:41] local.INFO: GPS data processed {"connection_id":151730,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:21:41] local.INFO: Acknowledgment sent {"connection_id":151730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:21:42] local.INFO: TCP Data received {"connection_id":150821,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:21:42] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:21:42] local.INFO: Packet analysis {"connection_id":150821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:21:42] local.INFO: Extracted packet for processing {"connection_id":150821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:21: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-08-08 21:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:21: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-08-08 21:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:21:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":150821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:21:42] local.INFO: GPS data processed {"connection_id":150821,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:21:42] local.INFO: Acknowledgment sent {"connection_id":150821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:22:04] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:22:04] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:22:04] local.INFO: IMEI packet received {"connection_id":151731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":151731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:22:08] local.INFO: TCP Data received {"connection_id":150820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe210aee0012d7467c005e4f250000200a52a..."} 
[2026-08-08 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe210aee0012d7467c005e4f250000200a52a..."} 
[2026-08-08 21:22:08] local.INFO: Processing buffer {"connection_id":150820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe210aee0012d7467c005e4f250000200a52a..."} 
[2026-08-08 21:22:08] local.INFO: Packet analysis {"connection_id":150820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe210"} 
[2026-08-08 21:22:08] local.INFO: Extracted packet for processing {"connection_id":150820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe210"} 
[2026-08-08 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":762603456,"raw_latitude":98890320,"longitude_deg":76.2603456,"latitude_deg":9.889032,"altitude":2,"angle":165,"satellites":42,"speed":30,"hex_longitude":"2d7467c0","hex_latitude":"05e4f250","is_valid_coordinates":true} 
[2026-08-08 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268264960001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116395112665186304,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8385139581528621056,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786204172000,"timestamp_ms":1786204172000,"timestamp_seconds":1786204172,"priority":1,"record_length":96,"hex_timestamp":"0000019fe210aee0"} 
[2026-08-08 21:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:22: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-08-08 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 21:22:08] 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-08-08 21:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:22:08] 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-08-08 21:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268264960001,"66":12102,"219":206,"87":12288,"24":30,"16":116395112665186304,"45":8385139581528621056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268264960001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:22:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:22:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116395112665186304,"km_value":116395112665186.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8385139581528621056,"description":"Unknown IO ID 45"} 
[2026-08-08 21:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268264960001,"power":12102,"unknown_219":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8385139581528621056}} 
[2026-08-08 21:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":150820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:22:08] local.INFO: GPS data processed {"connection_id":150820,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:22:08] local.INFO: Acknowledgment sent {"connection_id":150820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:22:09] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:22:09] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:22:09] local.INFO: IMEI packet received {"connection_id":151731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":151731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:22:10] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:22:10] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20df790012ceb0740071a3b000019012132..."} 
[2026-08-08 21:22:10] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:22:10] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20d"} 
[2026-08-08 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159552,"longitude_deg":75.360032,"latitude_deg":11.9159552,"altitude":25,"angle":289,"satellites":50,"speed":1,"hex_longitude":"2ceb0740","hex_latitude":"071a3b00","is_valid_coordinates":true} 
[2026-08-08 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268219392001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510816906989412352,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:10] 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-08-08 21:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786203994000,"timestamp_ms":1786203994000,"timestamp_seconds":1786203994,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20df790"} 
[2026-08-08 21:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:22: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-08-08 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268219392001,"66":27821,"104":206,"83":41216,"24":1,"16":375956809749364736,"44":-1510816906989412352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268219392001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:22:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510816906989412352,"description":"Unknown IO ID 44"} 
[2026-08-08 21:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268219392001,"power":27821,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1510816906989412352}} 
[2026-08-08 21:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:22:10] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:22:10] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:22:14] local.INFO: TCP Data received {"connection_id":150821,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:22:14] local.INFO: Processing buffer {"connection_id":150821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:22:14] local.INFO: Packet analysis {"connection_id":150821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:22:14] local.INFO: Extracted packet for processing {"connection_id":150821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":150821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:22:14] local.INFO: GPS data processed {"connection_id":150821,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:22:14] local.INFO: Acknowledgment sent {"connection_id":150821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:22:34] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:34] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:34] local.INFO: IMEI packet received {"connection_id":150822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":150822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:22:36] local.INFO: TCP Data received {"connection_id":150823,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:22:36] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:22:36] local.INFO: IMEI packet received {"connection_id":150823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:22:36] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:36] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:36] local.INFO: IMEI packet received {"connection_id":150822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:22:41] local.INFO: TCP Data received {"connection_id":151731,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:22:41] local.INFO: Processing buffer {"connection_id":151731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:22:41] local.INFO: Packet analysis {"connection_id":151731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:22:41] local.INFO: Extracted packet for processing {"connection_id":151731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 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-08-08 21: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-08-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:22: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-08-08 21:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:22:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:22:41] local.INFO: TCP Data received {"connection_id":150823,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:22:41] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:22:41] local.INFO: IMEI packet received {"connection_id":150823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":150823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":151731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:22:41] local.INFO: GPS data processed {"connection_id":151731,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:22:41] local.INFO: Acknowledgment sent {"connection_id":151731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:22:41] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:41] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:22:41] local.INFO: IMEI packet received {"connection_id":150822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":150822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:22:42] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe212dd78012d74c48005e39590000200a329..."} 
[2026-08-08 21:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe212dd78012d74c48005e39590000200a329..."} 
[2026-08-08 21:22:42] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe212dd78012d74c48005e39590000200a329..."} 
[2026-08-08 21:22:42] local.INFO: Packet analysis {"connection_id":150822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:22:42] local.INFO: Extracted packet for processing {"connection_id":150822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":762627200,"raw_latitude":98801040,"longitude_deg":76.26272,"latitude_deg":9.880104,"altitude":2,"angle":163,"satellites":41,"speed":29,"hex_longitude":"2d74c480","hex_latitude":"05e39590","is_valid_coordinates":true} 
[2026-08-08 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268301568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116399596611043328,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8411105648107403264,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204315000,"timestamp_ms":1786204315000,"timestamp_seconds":1786204315,"priority":1,"record_length":96,"hex_timestamp":"0000019fe212dd78"} 
[2026-08-08 21:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:22: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-08-08 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 21:22: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-08-08 21:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:22:42] 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-08-08 21:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268301568001,"66":12102,"219":206,"87":12288,"24":29,"16":116399596611043328,"45":8411105648107403264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268301568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116399596611043328,"km_value":116399596611043.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8411105648107403264,"description":"Unknown IO ID 45"} 
[2026-08-08 21:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268301568001,"power":12102,"unknown_219":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8411105648107403264}} 
[2026-08-08 21:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":150822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:22:42] local.INFO: GPS data processed {"connection_id":150822,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:22:42] local.INFO: Acknowledgment sent {"connection_id":150822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:22:44] local.INFO: TCP Data received {"connection_id":150823,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:22:44] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe20eca80012d196a80071fef680042011726..."} 
[2026-08-08 21:22:44] local.INFO: Packet analysis {"connection_id":150823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:22:44] local.INFO: Extracted packet for processing {"connection_id":150823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe20e"} 
[2026-08-08 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268159232001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786204048000,"timestamp_ms":1786204048000,"timestamp_seconds":1786204048,"priority":1,"record_length":96,"hex_timestamp":"0000019fe20eca80"} 
[2026-08-08 21:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268159232001,"66":2144,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268159232001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:22:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268159232001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":150823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:22:44] local.INFO: GPS data processed {"connection_id":150823,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:22:44] local.INFO: Acknowledgment sent {"connection_id":150823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:23:04] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:23:04] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:23:04] local.INFO: IMEI packet received {"connection_id":153210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":153210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:23:09] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:23:09] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:23:09] local.INFO: IMEI packet received {"connection_id":153210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":153210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:23:10] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:23:10] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:23:10] local.INFO: Packet analysis {"connection_id":153210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:23:10] local.INFO: Extracted packet for processing {"connection_id":153210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:10] 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-08-08 21:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":153210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:23:10] local.INFO: GPS data processed {"connection_id":153210,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:23:10] local.INFO: Acknowledgment sent {"connection_id":153210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:23:13] local.INFO: TCP Data received {"connection_id":150822,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2131040012d74cec005e37230000500a229..."} 
[2026-08-08 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2131040012d74cec005e37230000500a229..."} 
[2026-08-08 21:23:13] local.INFO: Processing buffer {"connection_id":150822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2131040012d74cec005e37230000500a229..."} 
[2026-08-08 21:23:13] local.INFO: Packet analysis {"connection_id":150822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:13] local.INFO: Extracted packet for processing {"connection_id":150822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:13] local.INFO: GPS Element Parsed {"raw_longitude":762629824,"raw_latitude":98791984,"longitude_deg":76.2629824,"latitude_deg":9.8791984,"altitude":5,"angle":162,"satellites":41,"speed":24,"hex_longitude":"2d74cec0","hex_latitude":"05e37230","is_valid_coordinates":true} 
[2026-08-08 21:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268304640001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116400051877576704,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8413990766616350720,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786204328000,"timestamp_ms":1786204328000,"timestamp_seconds":1786204328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2131040"} 
[2026-08-08 21:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 21:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:23: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-08-08 21:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268304640001,"66":11906,"219":206,"87":12288,"24":24,"16":116400051877576704,"45":8413990766616350720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268304640001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116400051877576704,"km_value":116400051877576.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8413990766616350720,"description":"Unknown IO ID 45"} 
[2026-08-08 21:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268304640001,"power":11906,"unknown_219":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8413990766616350720}} 
[2026-08-08 21:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":150822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:23:13] local.INFO: GPS data processed {"connection_id":150822,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:23:13] local.INFO: Acknowledgment sent {"connection_id":150822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:23:16] local.INFO: TCP Data received {"connection_id":150823,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:23:16] local.INFO: Processing buffer {"connection_id":150823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:23:16] local.INFO: Packet analysis {"connection_id":150823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:16] local.INFO: Extracted packet for processing {"connection_id":150823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:23: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-08-08 21:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:23:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":150823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:23:16] local.INFO: GPS data processed {"connection_id":150823,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:23:16] local.INFO: Acknowledgment sent {"connection_id":150823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:23:31] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:23:31] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:23:31] local.INFO: IMEI packet received {"connection_id":150524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":150524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:23:36] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:23:36] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:23:36] local.INFO: IMEI packet received {"connection_id":150524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:23:37] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2134308012d74d98005e34fb0000600a328..."} 
[2026-08-08 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2134308012d74d98005e34fb0000600a328..."} 
[2026-08-08 21:23:37] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2134308012d74d98005e34fb0000600a328..."} 
[2026-08-08 21:23:37] local.INFO: Packet analysis {"connection_id":150524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:37] local.INFO: Extracted packet for processing {"connection_id":150524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":762632576,"raw_latitude":98783152,"longitude_deg":76.2632576,"latitude_deg":9.8783152,"altitude":6,"angle":163,"satellites":40,"speed":31,"hex_longitude":"2d74d980","hex_latitude":"05e34fb0","is_valid_coordinates":true} 
[2026-08-08 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268307968001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116400502849142784,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8416875885125316608,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204341000,"timestamp_ms":1786204341000,"timestamp_seconds":1786204341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2134308"} 
[2026-08-08 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-08 21:23:37] 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-08-08 21:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:23:37] 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-08-08 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268307968001,"66":11874,"219":206,"87":12288,"24":31,"16":116400502849142784,"45":8416875885125316608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268307968001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:23:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116400502849142784,"km_value":116400502849142.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8416875885125316608,"description":"Unknown IO ID 45"} 
[2026-08-08 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268307968001,"power":11874,"unknown_219":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8416875885125316608}} 
[2026-08-08 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":150524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:23:37] local.INFO: GPS data processed {"connection_id":150524,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:23:37] local.INFO: Acknowledgment sent {"connection_id":150524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:23:41] local.INFO: TCP Data received {"connection_id":153210,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:23:41] local.INFO: Processing buffer {"connection_id":153210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:23:41] local.INFO: Packet analysis {"connection_id":153210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:23:41] local.INFO: Extracted packet for processing {"connection_id":153210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23: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-08-08 21:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:23: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-08-08 21:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:23:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":153210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:23:41] local.INFO: GPS data processed {"connection_id":153210,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:23:41] local.INFO: Acknowledgment sent {"connection_id":153210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:23:41] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:23:41] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:23:41] local.INFO: IMEI packet received {"connection_id":151732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":151732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:23:46] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:23:46] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:23:46] local.INFO: IMEI packet received {"connection_id":151732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":151732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:23:47] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:23:47] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:23:47] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:47] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:23:47] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:23:47] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:24:09] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:24:09] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:24:09] local.INFO: IMEI packet received {"connection_id":151733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":151733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:24:09] local.INFO: TCP Data received {"connection_id":150524,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e010000019fe21371e8012d74e38005e32e60000800a32a..."} 
[2026-08-08 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150524,"packet_length":93,"packet_hex":"00000000000000518e010000019fe21371e8012d74e38005e32e60000800a32a..."} 
[2026-08-08 21:24:09] local.INFO: Processing buffer {"connection_id":150524,"buffer_length":93,"buffer_hex":"00000000000000518e010000019fe21371e8012d74e38005e32e60000800a32a..."} 
[2026-08-08 21:24:09] local.INFO: Packet analysis {"connection_id":150524,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019fe213"} 
[2026-08-08 21:24:09] local.INFO: Extracted packet for processing {"connection_id":150524,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019fe213"} 
[2026-08-08 21:24:09] local.INFO: GPS Element Parsed {"raw_longitude":762635136,"raw_latitude":98774624,"longitude_deg":76.2635136,"latitude_deg":9.8774624,"altitude":8,"angle":163,"satellites":42,"speed":28,"hex_longitude":"2d74e380","hex_latitude":"05e32e60","is_valid_coordinates":true} 
[2026-08-08 21: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":93,"current_offset":40} 
[2026-08-08 21:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:24:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:24:09] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-08 21:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150524,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-08 21:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150524,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 21:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150524,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-08 21:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-08 21:24:09] local.WARNING: DEBUG: No valid data to process  
[2026-08-08 21:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":150524,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-08 21:24:09] local.ERROR: GPS data processing failed {"connection_id":150524,"error":"No valid data to process"} 
[2026-08-08 21:24:09] local.INFO: Acknowledgment sent {"connection_id":150524,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-08 21:24:14] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:24:14] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:24:14] local.INFO: IMEI packet received {"connection_id":151733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":151733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:24:15] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:24:15] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:24:15] local.INFO: Packet analysis {"connection_id":151733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:24:15] local.INFO: Extracted packet for processing {"connection_id":151733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:24:15] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:15] 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-08-08 21:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:24: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-08-08 21:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:24:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:24:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":151733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:24:15] local.INFO: GPS data processed {"connection_id":151733,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:24:15] local.INFO: Acknowledgment sent {"connection_id":151733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:24:19] local.INFO: TCP Data received {"connection_id":151732,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:24:19] local.INFO: Processing buffer {"connection_id":151732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:24:19] local.INFO: Packet analysis {"connection_id":151732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:24:19] local.INFO: Extracted packet for processing {"connection_id":151732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":151732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:24:19] local.INFO: GPS data processed {"connection_id":151732,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:24:19] local.INFO: Acknowledgment sent {"connection_id":151732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:24:19] local.INFO: TCP Data received {"connection_id":151733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:24:19] local.INFO: Processing buffer {"connection_id":151733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:24:19] local.INFO: Packet analysis {"connection_id":151733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:24:19] local.INFO: Extracted packet for processing {"connection_id":151733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:19] 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-08-08 21:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:24: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-08-08 21:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":151733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:24:19] local.INFO: GPS data processed {"connection_id":151733,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:24:19] local.INFO: Acknowledgment sent {"connection_id":151733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:24:31] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:24:31] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:24:31] local.INFO: IMEI packet received {"connection_id":150824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":150824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:24:36] local.INFO: TCP Data received {"connection_id":150825,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:24:36] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:24:36] local.INFO: IMEI packet received {"connection_id":150825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":150825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:24:36] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:24:36] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:24:36] local.INFO: IMEI packet received {"connection_id":150824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":150824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:24:37] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe213c008012d74e80005e323c80007009e2a..."} 
[2026-08-08 21:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe213c008012d74e80005e323c80007009e2a..."} 
[2026-08-08 21:24:37] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe213c008012d74e80005e323c80007009e2a..."} 
[2026-08-08 21:24:37] local.INFO: Packet analysis {"connection_id":150824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:24:37] local.INFO: Extracted packet for processing {"connection_id":150824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":762636288,"raw_latitude":98771912,"longitude_deg":76.2636288,"latitude_deg":9.8771912,"altitude":7,"angle":158,"satellites":42,"speed":0,"hex_longitude":"2d74e800","hex_latitude":"05e323c8","is_valid_coordinates":true} 
[2026-08-08 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268314368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116401078374760448,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8422716490887618560,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204373000,"timestamp_ms":1786204373000,"timestamp_seconds":1786204373,"priority":1,"record_length":96,"hex_timestamp":"0000019fe213c008"} 
[2026-08-08 21:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 21:24:37] 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-08-08 21:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:24:37] 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-08-08 21:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268314368001,"66":12037,"219":206,"87":12288,"24":0,"16":116401078374760448,"45":8422716490887618560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268314368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116401078374760448,"km_value":116401078374760.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8422716490887618560,"description":"Unknown IO ID 45"} 
[2026-08-08 21:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268314368001,"power":12037,"unknown_219":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8422716490887618560}} 
[2026-08-08 21:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":150824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:24:37] local.INFO: GPS data processed {"connection_id":150824,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:24:37] local.INFO: Acknowledgment sent {"connection_id":150824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:24:41] local.INFO: TCP Data received {"connection_id":150825,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:24:41] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:24:41] local.INFO: IMEI packet received {"connection_id":150825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":150825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:24:42] local.INFO: TCP Data received {"connection_id":150825,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:24:42] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:24:42] local.INFO: Packet analysis {"connection_id":150825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:24:42] local.INFO: Extracted packet for processing {"connection_id":150825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:24: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-08-08 21:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:24:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":150825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:24:42] local.INFO: GPS data processed {"connection_id":150825,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:24:42] local.INFO: Acknowledgment sent {"connection_id":150825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:25:04] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:25:04] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:25:04] local.INFO: IMEI packet received {"connection_id":151734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":151734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:25:08] local.INFO: TCP Data received {"connection_id":150824,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe213d778012d74e80005e322c8000700ab28..."} 
[2026-08-08 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe213d778012d74e80005e322c8000700ab28..."} 
[2026-08-08 21:25:08] local.INFO: Processing buffer {"connection_id":150824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe213d778012d74e80005e322c8000700ab28..."} 
[2026-08-08 21:25:08] local.INFO: Packet analysis {"connection_id":150824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:25:08] local.INFO: Extracted packet for processing {"connection_id":150824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762636288,"raw_latitude":98771656,"longitude_deg":76.2636288,"latitude_deg":9.8771656,"altitude":7,"angle":171,"satellites":40,"speed":3,"hex_longitude":"2d74e800","hex_latitude":"05e322c8","is_valid_coordinates":true} 
[2026-08-08 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268319488001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116401091259662336,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8423983128282122240,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786204379000,"timestamp_ms":1786204379000,"timestamp_seconds":1786204379,"priority":1,"record_length":96,"hex_timestamp":"0000019fe213d778"} 
[2026-08-08 21:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:25: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-08-08 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2288386048,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3792860160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2509242370,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3952753984173768728,"corrected_to":0} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2550214004,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2027631382980680920,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194763776,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,219,87,24,241,157,16,138,159,113,45,128,46,8,42,10,66,67,79,6,40,137,192,1,240,130,227,226,4,205,29,174,186,56,43,239,47,2,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3952753984173768728,"validated":0}]} 
[2026-08-08 21:25:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504577061491310592,"timestamp_seconds":504577061491310.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:25:08] 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-08-08 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268319488001,"66":12200,"219":206,"87":12288,"24":3,"16":116401091259662336,"45":8423983128282122240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,87,24,16,45]} 
[2026-08-08 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268319488001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116401091259662336,"km_value":116401091259662.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8423983128282122240,"description":"Unknown IO ID 45"} 
[2026-08-08 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268319488001,"power":12200,"unknown_219":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8423983128282122240}} 
[2026-08-08 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":150824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:25:08] local.INFO: GPS data processed {"connection_id":150824,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:25:08] local.INFO: Acknowledgment sent {"connection_id":150824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:25:09] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:25:09] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:25:09] local.INFO: IMEI packet received {"connection_id":151734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":151734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:25:10] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:25:10] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:25:10] local.INFO: Packet analysis {"connection_id":151734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:25:10] local.INFO: Extracted packet for processing {"connection_id":151734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:10] 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-08-08 21:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:25: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-08-08 21:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:25:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:25:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":151734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:25:10] local.INFO: GPS data processed {"connection_id":151734,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:25:10] local.INFO: Acknowledgment sent {"connection_id":151734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:25:14] local.INFO: TCP Data received {"connection_id":150825,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:25:14] local.INFO: Processing buffer {"connection_id":150825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:25:14] local.INFO: Packet analysis {"connection_id":150825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:25:14] local.INFO: Extracted packet for processing {"connection_id":150825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:25:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":150825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:25:14] local.INFO: GPS data processed {"connection_id":150825,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:25:14] local.INFO: Acknowledgment sent {"connection_id":150825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:25:36] local.INFO: TCP Data received {"connection_id":150826,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:25:36] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:25:36] local.INFO: IMEI packet received {"connection_id":150826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":150826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:25:41] local.INFO: TCP Data received {"connection_id":151734,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:25:41] local.INFO: Processing buffer {"connection_id":151734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:25:41] local.INFO: Packet analysis {"connection_id":151734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:25:41] local.INFO: Extracted packet for processing {"connection_id":151734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25: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-08-08 21:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 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-08-08 21: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-08-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:25: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-08-08 21:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:25:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":151734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:25:41] local.INFO: GPS data processed {"connection_id":151734,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:25:41] local.INFO: Acknowledgment sent {"connection_id":151734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:25:41] local.INFO: TCP Data received {"connection_id":150826,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:25:41] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:25:41] local.INFO: IMEI packet received {"connection_id":150826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":150826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:25:42] local.INFO: TCP Data received {"connection_id":150826,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:25:42] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:25:42] local.INFO: Packet analysis {"connection_id":150826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:25:42] local.INFO: Extracted packet for processing {"connection_id":150826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25: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-08-08 21:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:25: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-08-08 21:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:25:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":150826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:25:42] local.INFO: GPS data processed {"connection_id":150826,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:25:42] local.INFO: Acknowledgment sent {"connection_id":150826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:25:46] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:25:46] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:25:46] local.INFO: IMEI packet received {"connection_id":153211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":153211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:25:50] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:25:50] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:25:50] local.INFO: IMEI packet received {"connection_id":153211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":153211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:25:52] local.INFO: TCP Data received {"connection_id":153211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe215fe40012d75638005e1d488000400a529..."} 
[2026-08-08 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe215fe40012d75638005e1d488000400a529..."} 
[2026-08-08 21:25:52] local.INFO: Processing buffer {"connection_id":153211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe215fe40012d75638005e1d488000400a529..."} 
[2026-08-08 21:25:52] local.INFO: Packet analysis {"connection_id":153211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe215"} 
[2026-08-08 21:25:52] local.INFO: Extracted packet for processing {"connection_id":153211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe215"} 
[2026-08-08 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":762667904,"raw_latitude":98686088,"longitude_deg":76.2667904,"latitude_deg":9.8686088,"altitude":4,"angle":165,"satellites":41,"speed":30,"hex_longitude":"2d756380","hex_latitude":"05e1d488","is_valid_coordinates":true} 
[2026-08-08 21:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268354304001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116405527960879104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8456352750584199168,"note":"Value kept but may cause issues"} 
[2026-08-08 21:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786204520000,"timestamp_ms":1786204520000,"timestamp_seconds":1786204520,"priority":1,"record_length":96,"hex_timestamp":"0000019fe215fe40"} 
[2026-08-08 21:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 21:25:52] 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-08-08 21:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:25:52] 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-08-08 21:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268354304001,"66":11830,"217":206,"87":12288,"24":30,"16":116405527960879104,"45":8456352750584199168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 21:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268354304001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116405527960879104,"km_value":116405527960879.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8456352750584199168,"description":"Unknown IO ID 45"} 
[2026-08-08 21:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268354304001,"power":11830,"unknown_217":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8456352750584199168}} 
[2026-08-08 21:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":153211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:25:52] local.INFO: GPS data processed {"connection_id":153211,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:25:52] local.INFO: Acknowledgment sent {"connection_id":153211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:04] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:26:04] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:26:04] local.INFO: IMEI packet received {"connection_id":153212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":153212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:26:09] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:26:09] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:26:09] local.INFO: IMEI packet received {"connection_id":153212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":153212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:26:10] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:26:10] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:26:10] local.INFO: Packet analysis {"connection_id":153212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:26:10] local.INFO: Extracted packet for processing {"connection_id":153212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:26:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:10] 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-08-08 21:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":153212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:10] local.INFO: GPS data processed {"connection_id":153212,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:10] local.INFO: Acknowledgment sent {"connection_id":153212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:14] local.INFO: TCP Data received {"connection_id":150826,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:14] local.INFO: Processing buffer {"connection_id":150826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:14] local.INFO: Packet analysis {"connection_id":150826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:26:14] local.INFO: Extracted packet for processing {"connection_id":150826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":150826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:14] local.INFO: GPS data processed {"connection_id":150826,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:14] local.INFO: Acknowledgment sent {"connection_id":150826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:31] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:31] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:31] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:26:34] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:34] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:34] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:26:36] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:36] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:26:36] local.INFO: IMEI packet received {"connection_id":150525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:26:37] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2164490012d756cc005e1b200000300a42a..."} 
[2026-08-08 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2164490012d756cc005e1b200000300a42a..."} 
[2026-08-08 21:26:37] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2164490012d756cc005e1b200000300a42a..."} 
[2026-08-08 21:26:37] local.INFO: Packet analysis {"connection_id":150525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:26:37] local.INFO: Extracted packet for processing {"connection_id":150525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":762670272,"raw_latitude":98677248,"longitude_deg":76.2670272,"latitude_deg":9.8677248,"altitude":3,"angle":164,"satellites":42,"speed":33,"hex_longitude":"2d756cc0","hex_latitude":"05e1b200","is_valid_coordinates":true} 
[2026-08-08 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268357120001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116405970342510592,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8458745287883917312,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204538000,"timestamp_ms":1786204538000,"timestamp_seconds":1786204538,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2164490"} 
[2026-08-08 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:37] 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-08-08 21:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:26:37] 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-08-08 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268357120001,"66":11634,"217":206,"87":12288,"24":33,"16":116405970342510592,"45":8458745287883917312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268357120001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 21:26:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116405970342510592,"km_value":116405970342510.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8458745287883917312,"description":"Unknown IO ID 45"} 
[2026-08-08 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268357120001,"power":11634,"unknown_217":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8458745287883917312}} 
[2026-08-08 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":150525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:37] local.INFO: GPS data processed {"connection_id":150525,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:37] local.INFO: Acknowledgment sent {"connection_id":150525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:41] local.INFO: TCP Data received {"connection_id":153212,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:26:41] local.INFO: Processing buffer {"connection_id":153212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:26:41] local.INFO: Packet analysis {"connection_id":153212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:26:41] local.INFO: Extracted packet for processing {"connection_id":153212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26: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-08-08 21:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":153212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:41] local.INFO: GPS data processed {"connection_id":153212,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:41] local.INFO: Acknowledgment sent {"connection_id":153212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:41] local.INFO: TCP Data received {"connection_id":153213,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:26:41] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:26:41] local.INFO: IMEI packet received {"connection_id":153213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":153213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:26:42] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2166f88012d75770005e18e38000200a32a..."} 
[2026-08-08 21:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2166f88012d75770005e18e38000200a32a..."} 
[2026-08-08 21:26:42] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2166f88012d75770005e18e38000200a32a..."} 
[2026-08-08 21:26:42] local.INFO: Packet analysis {"connection_id":150525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:26:42] local.INFO: Extracted packet for processing {"connection_id":150525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:26:42] local.INFO: GPS Element Parsed {"raw_longitude":762672896,"raw_latitude":98668088,"longitude_deg":76.2672896,"latitude_deg":9.8668088,"altitude":2,"angle":163,"satellites":42,"speed":31,"hex_longitude":"2d757700","hex_latitude":"05e18e38","is_valid_coordinates":true} 
[2026-08-08 21:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268361728001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116406434198978560,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8461348931416227840,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204549000,"timestamp_ms":1786204549000,"timestamp_seconds":1786204549,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2166f88"} 
[2026-08-08 21:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:26: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-08-08 21: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:26:42] 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-08-08 21:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268361728001,"66":11852,"217":206,"87":12288,"24":31,"16":116406434198978560,"45":8461348931416227840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 21:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268361728001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:42] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 21:26:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116406434198978560,"km_value":116406434198978.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8461348931416227840,"description":"Unknown IO ID 45"} 
[2026-08-08 21:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268361728001,"power":11852,"unknown_217":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8461348931416227840}} 
[2026-08-08 21:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":150525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:42] local.INFO: GPS data processed {"connection_id":150525,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:42] local.INFO: Acknowledgment sent {"connection_id":150525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:46] local.INFO: TCP Data received {"connection_id":153213,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:26:46] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:26:46] local.INFO: IMEI packet received {"connection_id":153213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":153213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:26:47] local.INFO: TCP Data received {"connection_id":153213,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:47] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:47] local.INFO: Packet analysis {"connection_id":153213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:26:47] local.INFO: Extracted packet for processing {"connection_id":153213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":153213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:47] local.INFO: GPS data processed {"connection_id":153213,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:47] local.INFO: Acknowledgment sent {"connection_id":153213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:26:52] local.INFO: TCP Data received {"connection_id":153213,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:52] local.INFO: Processing buffer {"connection_id":153213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:26:52] local.INFO: Packet analysis {"connection_id":153213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:26:52] local.INFO: Extracted packet for processing {"connection_id":153213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:26:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:26:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":153213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:26:52] local.INFO: GPS data processed {"connection_id":153213,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:26:52] local.INFO: Acknowledgment sent {"connection_id":153213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:27:04] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:27:04] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:27:04] local.INFO: IMEI packet received {"connection_id":151735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":151735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:27:09] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:27:09] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:27:09] local.INFO: IMEI packet received {"connection_id":151735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":151735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:27:10] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:27:10] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2129728012ceb0780071a3af0001a01212e..."} 
[2026-08-08 21:27:10] local.INFO: Packet analysis {"connection_id":151735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:27:10] local.INFO: Extracted packet for processing {"connection_id":151735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe212"} 
[2026-08-08 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":46,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268222464001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710489088,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:10] 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-08-08 21:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204297000,"timestamp_ms":1786204297000,"timestamp_seconds":1786204297,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2129728"} 
[2026-08-08 21:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:27: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-08-08 21:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268222464001,"66":26408,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511168750710489088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268222464001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:27:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:27:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710489088,"description":"Unknown IO ID 44"} 
[2026-08-08 21:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268222464001,"power":26408,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710489088}} 
[2026-08-08 21:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":151735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:27:10] local.INFO: GPS data processed {"connection_id":151735,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:27:10] local.INFO: Acknowledgment sent {"connection_id":151735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:27:16] local.INFO: TCP Data received {"connection_id":150525,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe216a250012d75818005e16b48000100a42a..."} 
[2026-08-08 21:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe216a250012d75818005e16b48000100a42a..."} 
[2026-08-08 21:27:16] local.INFO: Processing buffer {"connection_id":150525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe216a250012d75818005e16b48000100a42a..."} 
[2026-08-08 21:27:16] local.INFO: Packet analysis {"connection_id":150525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:27:16] local.INFO: Extracted packet for processing {"connection_id":150525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:27:16] local.INFO: GPS Element Parsed {"raw_longitude":762675584,"raw_latitude":98659144,"longitude_deg":76.2675584,"latitude_deg":9.8659144,"altitude":1,"angle":164,"satellites":42,"speed":19,"hex_longitude":"2d758180","hex_latitude":"05e16b48","is_valid_coordinates":true} 
[2026-08-08 21:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268364544001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116406885170544640,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8464234049925167104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786204562000,"timestamp_ms":1786204562000,"timestamp_seconds":1786204562,"priority":1,"record_length":96,"hex_timestamp":"0000019fe216a250"} 
[2026-08-08 21:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 21:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:27:16] 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-08-08 21:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268364544001,"66":12037,"217":206,"87":12288,"24":19,"16":116406885170544640,"45":8464234049925167104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-08-08 21:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268364544001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:27:16] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 21:27:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116406885170544640,"km_value":116406885170544.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8464234049925167104,"description":"Unknown IO ID 45"} 
[2026-08-08 21:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268364544001,"power":12037,"unknown_217":206,"unknown_87":12288,"ignition":19,"odometer":null,"unknown_45":8464234049925167104}} 
[2026-08-08 21:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":150525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:27:16] local.INFO: GPS data processed {"connection_id":150525,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:27:16] local.INFO: Acknowledgment sent {"connection_id":150525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:27:32] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:32] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:32] local.INFO: IMEI packet received {"connection_id":150827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":150827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:27:32] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:32] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:32] local.INFO: IMEI packet received {"connection_id":150827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":150827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:27:36] local.INFO: TCP Data received {"connection_id":150526,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:27:36] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:27:36] local.INFO: IMEI packet received {"connection_id":150526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:27:36] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:36] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:27:36] local.INFO: IMEI packet received {"connection_id":150827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":150827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:27:41] local.INFO: TCP Data received {"connection_id":151735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:27:41] local.INFO: Processing buffer {"connection_id":151735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:27:41] local.INFO: Packet analysis {"connection_id":151735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:27:41] local.INFO: Extracted packet for processing {"connection_id":151735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27: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-08-08 21:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:27: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-08-08 21:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:27: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-08-08 21:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":151735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:27:41] local.INFO: GPS data processed {"connection_id":151735,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:27:41] local.INFO: Acknowledgment sent {"connection_id":151735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:27:41] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe216e4b8012d75898005e14800000200a72b..."} 
[2026-08-08 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe216e4b8012d75898005e14800000200a72b..."} 
[2026-08-08 21:27:41] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe216e4b8012d75898005e14800000200a72b..."} 
[2026-08-08 21:27:41] local.INFO: Packet analysis {"connection_id":150827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:27:41] local.INFO: Extracted packet for processing {"connection_id":150827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe216"} 
[2026-08-08 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":762677632,"raw_latitude":98650112,"longitude_deg":76.2677632,"latitude_deg":9.8650112,"altitude":2,"angle":167,"satellites":43,"speed":22,"hex_longitude":"2d758980","hex_latitude":"05e14800","is_valid_coordinates":true} 
[2026-08-08 21:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268367872001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116407336142110720,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8467189537178339328,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204579000,"timestamp_ms":1786204579000,"timestamp_seconds":1786204579,"priority":1,"record_length":96,"hex_timestamp":"0000019fe216e4b8"} 
[2026-08-08 21:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2377900603419395072,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2372141056,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3793059160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272950,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4160225282,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3952191034220347416,"corrected_to":0} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3221611034,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2144135635026271701,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194769408,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:41] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,217,87,24,241,157,16,143,159,111,45,142,2,42,10,66,68,192,178,3,254,128,1,240,54,227,226,225,4,113,205,33,168,80,216,239,5,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3952191034220347416,"validated":0}]} 
[2026-08-08 21:27:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72238094334754816,"timestamp_seconds":72238094334754.81,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:27:41] 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-08-08 21:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268367872001,"66":11852,"21":206,"87":12288,"24":22,"16":116407336142110720,"45":8467189537178339328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-08-08 21:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268367872001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116407336142110720,"km_value":116407336142110.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8467189537178339328,"description":"Unknown IO ID 45"} 
[2026-08-08 21:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268367872001,"power":11852,"unknown_21":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8467189537178339328}} 
[2026-08-08 21:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":150827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:27:41] local.INFO: GPS data processed {"connection_id":150827,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:27:41] local.INFO: Acknowledgment sent {"connection_id":150827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:27:41] local.INFO: TCP Data received {"connection_id":150526,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:27:41] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:27:41] local.INFO: IMEI packet received {"connection_id":150526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":150526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:27:42] local.INFO: TCP Data received {"connection_id":150526,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:27:42] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2136248012d196a80071fef680042011727..."} 
[2026-08-08 21:27:42] local.INFO: Packet analysis {"connection_id":150526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:27:42] local.INFO: Extracted packet for processing {"connection_id":150526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe213"} 
[2026-08-08 21:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268236288001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204349000,"timestamp_ms":1786204349000,"timestamp_seconds":1786204349,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2136248"} 
[2026-08-08 21:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-08 21:27: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-08-08 21:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268236288001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268236288001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:27:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268236288001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":150526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:27:42] local.INFO: GPS data processed {"connection_id":150526,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:27:42] local.INFO: Acknowledgment sent {"connection_id":150526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:28:04] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:28:04] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:28:04] local.INFO: IMEI packet received {"connection_id":151736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":151736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:28:09] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:28:09] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:28:09] local.INFO: IMEI packet received {"connection_id":151736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":151736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:28:10] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:28:10] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:28:10] local.INFO: Packet analysis {"connection_id":151736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:10] local.INFO: Extracted packet for processing {"connection_id":151736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:10] 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-08-08 21:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:28:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":151736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:28:10] local.INFO: GPS data processed {"connection_id":151736,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:28:10] local.INFO: Acknowledgment sent {"connection_id":151736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:28:14] local.INFO: TCP Data received {"connection_id":150526,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:28:14] local.INFO: Processing buffer {"connection_id":150526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:28:14] local.INFO: Packet analysis {"connection_id":150526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:14] local.INFO: Extracted packet for processing {"connection_id":150526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:28:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:28:14] local.INFO: GPS data processed {"connection_id":150526,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:28:14] local.INFO: Acknowledgment sent {"connection_id":150526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:28:25] local.INFO: TCP Data received {"connection_id":150827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2171780012d758fc005e12600000400ac2b..."} 
[2026-08-08 21:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2171780012d758fc005e12600000400ac2b..."} 
[2026-08-08 21:28:25] local.INFO: Processing buffer {"connection_id":150827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2171780012d758fc005e12600000400ac2b..."} 
[2026-08-08 21:28:25] local.INFO: Packet analysis {"connection_id":150827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:25] local.INFO: Extracted packet for processing {"connection_id":150827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:25] local.INFO: GPS Element Parsed {"raw_longitude":762679232,"raw_latitude":98641408,"longitude_deg":76.2679232,"latitude_deg":9.8641408,"altitude":4,"angle":172,"satellites":43,"speed":33,"hex_longitude":"2d758fc0","hex_latitude":"05e12600","is_valid_coordinates":true} 
[2026-08-08 21:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268372224001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116407765638840320,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8469441336989712384,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786204592000,"timestamp_ms":1786204592000,"timestamp_seconds":1786204592,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2171780"} 
[2026-08-08 21:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-08 21:28: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-08-08 21:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:28:25] 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-08-08 21:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268372224001,"66":11515,"21":206,"87":12288,"24":33,"16":116407765638840320,"45":8469441336989712384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-08-08 21:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268372224001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:28:25] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-08 21:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116407765638840320,"km_value":116407765638840.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8469441336989712384,"description":"Unknown IO ID 45"} 
[2026-08-08 21:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268372224001,"power":11515,"unknown_21":206,"unknown_87":12288,"ignition":33,"odometer":null,"unknown_45":8469441336989712384}} 
[2026-08-08 21:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":150827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:28:25] local.INFO: GPS data processed {"connection_id":150827,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:28:25] local.INFO: Acknowledgment sent {"connection_id":150827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:28:31] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:28:31] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:28:31] local.INFO: IMEI packet received {"connection_id":151737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":151737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:28:36] local.INFO: TCP Data received {"connection_id":150828,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:28:36] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:28:36] local.INFO: IMEI packet received {"connection_id":150828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":150828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:28:36] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:28:36] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:28:36] local.INFO: IMEI packet received {"connection_id":151737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":151737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:28:37] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe218c148012d75e58005dfe8c0000300d22a..."} 
[2026-08-08 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe218c148012d75e58005dfe8c0000300d22a..."} 
[2026-08-08 21:28:37] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe218c148012d75e58005dfe8c0000300d22a..."} 
[2026-08-08 21:28:37] local.INFO: Packet analysis {"connection_id":151737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe218"} 
[2026-08-08 21:28:37] local.INFO: Extracted packet for processing {"connection_id":151737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe218"} 
[2026-08-08 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":762701184,"raw_latitude":98560192,"longitude_deg":76.2701184,"latitude_deg":9.8560192,"altitude":3,"angle":210,"satellites":42,"speed":17,"hex_longitude":"2d75e580","hex_latitude":"05dfe8c0","is_valid_coordinates":true} 
[2026-08-08 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268403200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116411850152738816,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8495477772312528896,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786204701000,"timestamp_ms":1786204701000,"timestamp_seconds":1786204701,"priority":1,"record_length":96,"hex_timestamp":"0000019fe218c148"} 
[2026-08-08 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:28:37] 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-08-08 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268403200001,"66":11743,"43":206,"87":12288,"24":17,"16":116411850152738816,"45":8495477772312528896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,87,24,16,45]} 
[2026-08-08 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268403200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:28:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-08 21:28:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116411850152738816,"km_value":116411850152738.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8495477772312528896,"description":"Unknown IO ID 45"} 
[2026-08-08 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268403200001,"power":11743,"unknown_43":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8495477772312528896}} 
[2026-08-08 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":151737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:28:37] local.INFO: GPS data processed {"connection_id":151737,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:28:37] local.INFO: Acknowledgment sent {"connection_id":151737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:28:41] local.INFO: TCP Data received {"connection_id":150828,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:28:41] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:28:41] local.INFO: IMEI packet received {"connection_id":150828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":150828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:28:41] local.INFO: TCP Data received {"connection_id":151736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:28:41] local.INFO: Processing buffer {"connection_id":151736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:28:41] local.INFO: Packet analysis {"connection_id":151736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:41] local.INFO: Extracted packet for processing {"connection_id":151736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28: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-08-08 21:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:28: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-08-08 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:28: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-08-08 21:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:28:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":151736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:28:41] local.INFO: GPS data processed {"connection_id":151736,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:28:41] local.INFO: Acknowledgment sent {"connection_id":151736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:28:42] local.INFO: TCP Data received {"connection_id":150828,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:28:42] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:28:42] local.INFO: Packet analysis {"connection_id":150828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:42] local.INFO: Extracted packet for processing {"connection_id":150828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:28:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:28: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-08-08 21:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:28: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-08-08 21: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-08-08 21:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:28:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":150828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:28:42] local.INFO: GPS data processed {"connection_id":150828,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:28:42] local.INFO: Acknowledgment sent {"connection_id":150828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:29:04] local.INFO: TCP Data received {"connection_id":150527,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:29:04] local.INFO: Processing buffer {"connection_id":150527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:29:04] local.INFO: IMEI packet received {"connection_id":150527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":150527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:29:09] local.INFO: TCP Data received {"connection_id":150527,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:29:09] local.INFO: Processing buffer {"connection_id":150527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:29:09] local.INFO: IMEI packet received {"connection_id":150527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":150527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:29:10] local.INFO: TCP Data received {"connection_id":151737,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe218c530012d75e44005dfe778000300e72a..."} 
[2026-08-08 21:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe218c530012d75e44005dfe778000300e72a..."} 
[2026-08-08 21:29:10] local.INFO: Processing buffer {"connection_id":151737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe218c530012d75e44005dfe778000300e72a..."} 
[2026-08-08 21:29:10] local.INFO: Packet analysis {"connection_id":151737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe218"} 
[2026-08-08 21:29:10] local.INFO: Extracted packet for processing {"connection_id":151737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe218"} 
[2026-08-08 21:29:10] local.INFO: GPS Element Parsed {"raw_longitude":762700864,"raw_latitude":98559864,"longitude_deg":76.2700864,"latitude_deg":9.8559864,"altitude":3,"angle":231,"satellites":42,"speed":18,"hex_longitude":"2d75e440","hex_latitude":"05dfe778","is_valid_coordinates":true} 
[2026-08-08 21:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268403456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116411871627575296,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8495337034824073216,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204702000,"timestamp_ms":1786204702000,"timestamp_seconds":1786204702,"priority":1,"record_length":96,"hex_timestamp":"0000019fe218c530"} 
[2026-08-08 21:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:29: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-08-08 21: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-08 21:29: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-08-08 21:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:29:10] 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-08-08 21:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268403456001,"66":12156,"43":206,"87":12288,"24":18,"16":116411871627575296,"45":8495337034824073216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,87,24,16,45]} 
[2026-08-08 21:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268403456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116411871627575296,"km_value":116411871627575.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8495337034824073216,"description":"Unknown IO ID 45"} 
[2026-08-08 21:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268403456001,"power":12156,"unknown_43":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8495337034824073216}} 
[2026-08-08 21:29:10] local.INFO: TCP Data received {"connection_id":150527,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:29:10] local.INFO: Processing buffer {"connection_id":150527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:29:10] local.INFO: Packet analysis {"connection_id":150527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:29:10] local.INFO: Extracted packet for processing {"connection_id":150527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:29:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:10] 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-08-08 21:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:29: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-08-08 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":150527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:29:10] local.INFO: GPS data processed {"connection_id":150527,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:29:10] local.INFO: Acknowledgment sent {"connection_id":150527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":151737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:29:10] local.INFO: GPS data processed {"connection_id":151737,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:29:10] local.INFO: Acknowledgment sent {"connection_id":151737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:29:14] local.INFO: TCP Data received {"connection_id":150828,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:29:14] local.INFO: Processing buffer {"connection_id":150828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:29:14] local.INFO: Packet analysis {"connection_id":150828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:29:14] local.INFO: Extracted packet for processing {"connection_id":150828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:29:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:29:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":150828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:29:14] local.INFO: GPS data processed {"connection_id":150828,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:29:14] local.INFO: Acknowledgment sent {"connection_id":150828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:29:31] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:31] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:31] local.INFO: IMEI packet received {"connection_id":153214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":153214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:29:31] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:31] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:31] local.INFO: IMEI packet received {"connection_id":153214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":153214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:29:33] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:33] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:33] local.INFO: IMEI packet received {"connection_id":153214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":153214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:29:34] local.INFO: TCP Data received {"connection_id":153214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:34] local.INFO: Processing buffer {"connection_id":153214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:29:34] local.INFO: IMEI packet received {"connection_id":153214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":153214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:29:36] local.INFO: TCP Data received {"connection_id":150528,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:29:36] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:29:36] local.INFO: IMEI packet received {"connection_id":150528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:29:41] local.INFO: TCP Data received {"connection_id":150528,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:29:41] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:29:41] local.INFO: IMEI packet received {"connection_id":150528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":150528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:29:42] local.INFO: TCP Data received {"connection_id":150528,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:29:42] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:29:42] local.INFO: Packet analysis {"connection_id":150528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:29:42] local.INFO: Extracted packet for processing {"connection_id":150528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:29: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-08-08 21:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:29:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":150528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:29:42] local.INFO: GPS data processed {"connection_id":150528,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:29:42] local.INFO: Acknowledgment sent {"connection_id":150528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:30:02] local.INFO: TCP Data received {"connection_id":150527,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:02] local.INFO: Processing buffer {"connection_id":150527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:02] local.INFO: Packet analysis {"connection_id":150527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:02] local.INFO: Extracted packet for processing {"connection_id":150527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:02] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:02] 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-08-08 21:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":150527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":150527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":150527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:30:02] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":150527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:30:02] local.INFO: GPS data processed {"connection_id":150527,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:30:02] local.INFO: Acknowledgment sent {"connection_id":150527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:30:09] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:30:09] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:30:09] local.INFO: IMEI packet received {"connection_id":150829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":150829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:30:14] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:30:14] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:30:14] local.INFO: IMEI packet received {"connection_id":150829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":150829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:30:14] local.INFO: TCP Data received {"connection_id":150528,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:14] local.INFO: Processing buffer {"connection_id":150528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:14] local.INFO: Packet analysis {"connection_id":150528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:14] local.INFO: Extracted packet for processing {"connection_id":150528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:30:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":150528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:30:14] local.INFO: GPS data processed {"connection_id":150528,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:30:14] local.INFO: Acknowledgment sent {"connection_id":150528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:30:15] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:15] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:15] local.INFO: Packet analysis {"connection_id":150829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:15] local.INFO: Extracted packet for processing {"connection_id":150829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:15] 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-08-08 21:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:30: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-08-08 21:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:30:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":150829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:30:15] local.INFO: GPS data processed {"connection_id":150829,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:30:15] local.INFO: Acknowledgment sent {"connection_id":150829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:30:19] local.INFO: TCP Data received {"connection_id":150829,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:19] local.INFO: Processing buffer {"connection_id":150829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:30:19] local.INFO: Packet analysis {"connection_id":150829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:19] local.INFO: Extracted packet for processing {"connection_id":150829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:19] 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-08-08 21:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:30: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-08-08 21:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:30:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":150829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:30:19] local.INFO: GPS data processed {"connection_id":150829,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:30:19] local.INFO: Acknowledgment sent {"connection_id":150829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:30:41] local.INFO: TCP Data received {"connection_id":153215,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:30:41] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:30:41] local.INFO: IMEI packet received {"connection_id":153215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":153215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:30:46] local.INFO: TCP Data received {"connection_id":153215,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:30:46] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:30:46] local.INFO: IMEI packet received {"connection_id":153215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":153215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:30:48] local.INFO: TCP Data received {"connection_id":153215,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:48] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:48] local.INFO: Packet analysis {"connection_id":153215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:48] local.INFO: Extracted packet for processing {"connection_id":153215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":153215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:30:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":153215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:30:48] local.INFO: GPS data processed {"connection_id":153215,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:30:48] local.INFO: Acknowledgment sent {"connection_id":153215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:30:52] local.INFO: TCP Data received {"connection_id":153215,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:52] local.INFO: Processing buffer {"connection_id":153215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:30:52] local.INFO: Packet analysis {"connection_id":153215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:52] local.INFO: Extracted packet for processing {"connection_id":153215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":153215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":153215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":153215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:30:52] local.INFO: GPS data processed {"connection_id":153215,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:30:52] local.INFO: Acknowledgment sent {"connection_id":153215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:31:04] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:31:04] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:31:04] local.INFO: IMEI packet received {"connection_id":150529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":150529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:31:09] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:31:09] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:31:09] local.INFO: IMEI packet received {"connection_id":150529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":150529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:31:10] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:31:10] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:31:10] local.INFO: Packet analysis {"connection_id":150529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:31:10] local.INFO: Extracted packet for processing {"connection_id":150529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:10] 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-08-08 21:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:31: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-08-08 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:31: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-08-08 21:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:31:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:31:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":150529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:31:10] local.INFO: GPS data processed {"connection_id":150529,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:31:10] local.INFO: Acknowledgment sent {"connection_id":150529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:31:36] local.INFO: TCP Data received {"connection_id":151738,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:31:36] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:31:36] local.INFO: IMEI packet received {"connection_id":151738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":151738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:31:41] local.INFO: TCP Data received {"connection_id":151738,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:31:41] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:31:41] local.INFO: IMEI packet received {"connection_id":151738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":151738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:31:42] local.INFO: TCP Data received {"connection_id":151738,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:31:42] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:31:42] local.INFO: Packet analysis {"connection_id":151738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:31:42] local.INFO: Extracted packet for processing {"connection_id":151738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:31: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-08-08 21:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:31:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":151738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:31:42] local.INFO: GPS data processed {"connection_id":151738,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:31:42] local.INFO: Acknowledgment sent {"connection_id":151738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:31:49] local.INFO: TCP Data received {"connection_id":150529,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:31:49] local.INFO: Processing buffer {"connection_id":150529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:31:49] local.INFO: Packet analysis {"connection_id":150529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:31:49] local.INFO: Extracted packet for processing {"connection_id":150529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:31:49] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:31:49] 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-08-08 21:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":150529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":150529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:31:49] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":150529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:31:49] local.INFO: GPS data processed {"connection_id":150529,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:31:49] local.INFO: Acknowledgment sent {"connection_id":150529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:32:04] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:32:04] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:32:04] local.INFO: IMEI packet received {"connection_id":153216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":153216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:32:09] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:32:09] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:32:09] local.INFO: IMEI packet received {"connection_id":153216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":153216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:32:10] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:32:10] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2172ef0012ceb0780071a3af0001a01212f..."} 
[2026-08-08 21:32:10] local.INFO: Packet analysis {"connection_id":153216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:32:10] local.INFO: Extracted packet for processing {"connection_id":153216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":47,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268300032001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:10] 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-08-08 21:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204598000,"timestamp_ms":1786204598000,"timestamp_seconds":1786204598,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2172ef0"} 
[2026-08-08 21:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:32: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-08-08 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-08 21:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268300032001,"66":26115,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268300032001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:32:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268300032001,"power":26115,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":153216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:32:10] local.INFO: GPS data processed {"connection_id":153216,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:32:10] local.INFO: Acknowledgment sent {"connection_id":153216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:32:14] local.INFO: TCP Data received {"connection_id":151738,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:32:14] local.INFO: Processing buffer {"connection_id":151738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:32:14] local.INFO: Packet analysis {"connection_id":151738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:32:14] local.INFO: Extracted packet for processing {"connection_id":151738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:32:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":151738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:32:14] local.INFO: GPS data processed {"connection_id":151738,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:32:14] local.INFO: Acknowledgment sent {"connection_id":151738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:32:36] local.INFO: TCP Data received {"connection_id":150833,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:32:36] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:32:36] local.INFO: IMEI packet received {"connection_id":150833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":150833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:32:41] local.INFO: TCP Data received {"connection_id":153216,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:32:41] local.INFO: Processing buffer {"connection_id":153216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:32:41] local.INFO: Packet analysis {"connection_id":153216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:32:41] local.INFO: Extracted packet for processing {"connection_id":153216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32: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-08-08 21:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:32: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-08-08 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:32:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":153216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:32:41] local.INFO: GPS data processed {"connection_id":153216,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:32:41] local.INFO: Acknowledgment sent {"connection_id":153216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:32:41] local.INFO: TCP Data received {"connection_id":150833,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:32:41] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:32:41] local.INFO: IMEI packet received {"connection_id":150833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":150833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:32:42] local.INFO: TCP Data received {"connection_id":150833,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:32:42] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe217fa10012d196a80071fef680042011727..."} 
[2026-08-08 21:32:42] local.INFO: Packet analysis {"connection_id":150833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:32:42] local.INFO: Extracted packet for processing {"connection_id":150833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe217"} 
[2026-08-08 21:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268313344001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:32: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-08-08 21:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204650000,"timestamp_ms":1786204650000,"timestamp_seconds":1786204650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe217fa10"} 
[2026-08-08 21:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:32: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-08-08 21:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268313344001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268313344001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:32:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268313344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":150833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:32:42] local.INFO: GPS data processed {"connection_id":150833,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:32:42] local.INFO: Acknowledgment sent {"connection_id":150833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:33:04] local.INFO: TCP Data received {"connection_id":150530,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:33:04] local.INFO: Processing buffer {"connection_id":150530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:33:04] local.INFO: IMEI packet received {"connection_id":150530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":150530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:33:09] local.INFO: TCP Data received {"connection_id":150530,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:33:09] local.INFO: Processing buffer {"connection_id":150530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:33:09] local.INFO: IMEI packet received {"connection_id":150530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":150530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:33:10] local.INFO: TCP Data received {"connection_id":150530,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:33:10] local.INFO: Processing buffer {"connection_id":150530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:33:10] local.INFO: Packet analysis {"connection_id":150530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:33:10] local.INFO: Extracted packet for processing {"connection_id":150530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:10] 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-08-08 21:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:33: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-08-08 21:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:33: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-08-08 21:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":150530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:33:10] local.INFO: GPS data processed {"connection_id":150530,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:33:10] local.INFO: Acknowledgment sent {"connection_id":150530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:33:14] local.INFO: TCP Data received {"connection_id":150833,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:33:14] local.INFO: Processing buffer {"connection_id":150833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:33:14] local.INFO: Packet analysis {"connection_id":150833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:33:14] local.INFO: Extracted packet for processing {"connection_id":150833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:33:14] 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-08-08 21:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:33:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":150833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:33:14] local.INFO: GPS data processed {"connection_id":150833,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:33:14] local.INFO: Acknowledgment sent {"connection_id":150833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:33:41] local.INFO: TCP Data received {"connection_id":150530,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:33:41] local.INFO: Processing buffer {"connection_id":150530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:33:41] local.INFO: Packet analysis {"connection_id":150530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:33:41] local.INFO: Extracted packet for processing {"connection_id":150530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:33:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33: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-08-08 21:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:33: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-08-08 21:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":150530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:33:41] local.INFO: GPS data processed {"connection_id":150530,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:33:41] local.INFO: Acknowledgment sent {"connection_id":150530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:33:41] local.INFO: TCP Data received {"connection_id":151740,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:33:41] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:33:41] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:33:46] local.INFO: TCP Data received {"connection_id":151740,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:33:46] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:33:46] local.INFO: IMEI packet received {"connection_id":151740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":151740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:33:47] local.INFO: TCP Data received {"connection_id":151740,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:33:47] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:33:47] local.INFO: Packet analysis {"connection_id":151740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:33:47] local.INFO: Extracted packet for processing {"connection_id":151740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:33:47] 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-08-08 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:33: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-08-08 21:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":151740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:33:47] local.INFO: GPS data processed {"connection_id":151740,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:33:47] local.INFO: Acknowledgment sent {"connection_id":151740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:34:04] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:34:04] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:34:04] local.INFO: IMEI packet received {"connection_id":151741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":151741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:34:09] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:34:09] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:34:09] local.INFO: IMEI packet received {"connection_id":151741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":151741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:34:10] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:34:10] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:34:10] local.INFO: Packet analysis {"connection_id":151741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:34:10] local.INFO: Extracted packet for processing {"connection_id":151741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:34:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:10] 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-08-08 21:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:34: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-08-08 21:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:34: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-08-08 21:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:34:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":151741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:34:10] local.INFO: GPS data processed {"connection_id":151741,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:34:10] local.INFO: Acknowledgment sent {"connection_id":151741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:34:19] local.INFO: TCP Data received {"connection_id":151740,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:34:19] local.INFO: Processing buffer {"connection_id":151740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:34:19] local.INFO: Packet analysis {"connection_id":151740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:34:19] local.INFO: Extracted packet for processing {"connection_id":151740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:34:19] 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-08-08 21:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":151740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:34:19] local.INFO: GPS data processed {"connection_id":151740,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:34:19] local.INFO: Acknowledgment sent {"connection_id":151740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:34:35] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:34:35] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:34:35] local.INFO: IMEI packet received {"connection_id":150834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":150834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:34:36] local.INFO: TCP Data received {"connection_id":150835,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:34:36] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:34:36] local.INFO: IMEI packet received {"connection_id":150835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":150835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:34:36] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21cd828012d75b90005ddd568000600a528..."} 
[2026-08-08 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21cd828012d75b90005ddd568000600a528..."} 
[2026-08-08 21:34:36] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21cd828012d75b90005ddd568000600a528..."} 
[2026-08-08 21:34:36] local.INFO: Packet analysis {"connection_id":150834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:34:36] local.INFO: Extracted packet for processing {"connection_id":150834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":762689792,"raw_latitude":98424168,"longitude_deg":76.2689792,"latitude_deg":9.8424168,"altitude":6,"angle":165,"satellites":40,"speed":36,"hex_longitude":"2d75b900","hex_latitude":"05ddd568","is_valid_coordinates":true} 
[2026-08-08 21:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268469504001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116420560346415104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480770704746706944,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786204969000,"timestamp_ms":1786204969000,"timestamp_seconds":1786204969,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21cd828"} 
[2026-08-08 21:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:34: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-08-08 21:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 21:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:34:36] 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-08-08 21:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268469504001,"66":12037,"157":206,"87":12288,"24":36,"16":116420560346415104,"45":8480770704746706944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 21:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268469504001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116420560346415104,"km_value":116420560346415.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480770704746706944,"description":"Unknown IO ID 45"} 
[2026-08-08 21:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268469504001,"power":12037,"unknown_157":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8480770704746706944}} 
[2026-08-08 21:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":150834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:34:36] local.INFO: GPS data processed {"connection_id":150834,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:34:36] local.INFO: Acknowledgment sent {"connection_id":150834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:34:41] local.INFO: TCP Data received {"connection_id":151741,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:34:41] local.INFO: Processing buffer {"connection_id":151741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:34:41] local.INFO: Packet analysis {"connection_id":151741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:34:41] local.INFO: Extracted packet for processing {"connection_id":151741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34: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-08-08 21:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:34: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-08-08 21:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:34:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":151741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:34:41] local.INFO: GPS data processed {"connection_id":151741,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:34:41] local.INFO: Acknowledgment sent {"connection_id":151741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:34:42] local.INFO: TCP Data received {"connection_id":150835,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:34:42] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:34:42] local.INFO: IMEI packet received {"connection_id":150835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":150835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:34:43] local.INFO: TCP Data received {"connection_id":150835,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:34:43] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:34:43] local.INFO: Packet analysis {"connection_id":150835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:34:43] local.INFO: Extracted packet for processing {"connection_id":150835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:34:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":150835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:34:43] local.INFO: GPS data processed {"connection_id":150835,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:34:43] local.INFO: Acknowledgment sent {"connection_id":150835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:08] local.INFO: TCP Data received {"connection_id":150834,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21cff38012d75c18005ddb258000500a728..."} 
[2026-08-08 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21cff38012d75c18005ddb258000500a728..."} 
[2026-08-08 21:35:08] local.INFO: Processing buffer {"connection_id":150834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21cff38012d75c18005ddb258000500a728..."} 
[2026-08-08 21:35:08] local.INFO: Packet analysis {"connection_id":150834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:35:08] local.INFO: Extracted packet for processing {"connection_id":150834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762691968,"raw_latitude":98415192,"longitude_deg":76.2691968,"latitude_deg":9.8415192,"altitude":5,"angle":167,"satellites":40,"speed":34,"hex_longitude":"2d75c180","hex_latitude":"05ddb258","is_valid_coordinates":true} 
[2026-08-08 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268472064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116421007023013888,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8482811398325626880,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35: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-08-08 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786204979000,"timestamp_ms":1786204979000,"timestamp_seconds":1786204979,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21cff38"} 
[2026-08-08 21:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:35: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-08-08 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2581004288,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2952867189,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3793475160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":30720,"corrected_to":0} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3974990507333910552,"corrected_to":0} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182216824717568,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2410164672440258775,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194822144,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:08] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,155,159,177,45,192,247,6,41,10,66,126,27,83,1,240,124,227,154,226,222,4,113,205,32,141,239,47,42,2,5,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":247,"original":30720,"validated":0},{"io_id":205,"original":3974990507333910552,"validated":0}]} 
[2026-08-08 21:35:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432527155447201792,"timestamp_seconds":432527155447201.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 21:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:35:08] 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-08-08 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268472064001,"66":12004,"157":206,"87":12288,"24":34,"16":116421007023013888,"45":8482811398325626880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-08 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268472064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 21:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116421007023013888,"km_value":116421007023013.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8482811398325626880,"description":"Unknown IO ID 45"} 
[2026-08-08 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268472064001,"power":12004,"unknown_157":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8482811398325626880}} 
[2026-08-08 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":150834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:08] local.INFO: GPS data processed {"connection_id":150834,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:08] local.INFO: Acknowledgment sent {"connection_id":150834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:09] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:35:09] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:35:09] local.INFO: IMEI packet received {"connection_id":150836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":150836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:35:14] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:35:14] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:35:14] local.INFO: IMEI packet received {"connection_id":150836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":150836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:35:15] local.INFO: TCP Data received {"connection_id":150835,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:35:15] local.INFO: Processing buffer {"connection_id":150835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:35:15] local.INFO: Packet analysis {"connection_id":150835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:35:15] local.INFO: Extracted packet for processing {"connection_id":150835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:35:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":150835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:15] local.INFO: GPS data processed {"connection_id":150835,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:15] local.INFO: Acknowledgment sent {"connection_id":150835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:18] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:35:18] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:35:18] local.INFO: Packet analysis {"connection_id":150836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:35:18] local.INFO: Extracted packet for processing {"connection_id":150836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:18] 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-08-08 21:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:18] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":150836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:18] local.INFO: GPS data processed {"connection_id":150836,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:18] local.INFO: Acknowledgment sent {"connection_id":150836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:19] local.INFO: TCP Data received {"connection_id":150836,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:35:19] local.INFO: Processing buffer {"connection_id":150836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:35:19] local.INFO: Packet analysis {"connection_id":150836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:35:19] local.INFO: Extracted packet for processing {"connection_id":150836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:19] 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-08-08 21:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:35: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-08-08 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":150836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:19] local.INFO: GPS data processed {"connection_id":150836,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:19] local.INFO: Acknowledgment sent {"connection_id":150836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:31] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:31] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:31] local.INFO: IMEI packet received {"connection_id":150837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":150837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:35:34] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:34] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:34] local.INFO: IMEI packet received {"connection_id":150837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":150837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:35:36] local.INFO: TCP Data received {"connection_id":153217,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:35:36] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:35:36] local.INFO: IMEI packet received {"connection_id":153217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":153217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:35:36] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:36] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:35:36] local.INFO: IMEI packet received {"connection_id":150837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":150837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:35:37] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21ed010012d7604c005dc28b0000300a129..."} 
[2026-08-08 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21ed010012d7604c005dc28b0000300a129..."} 
[2026-08-08 21:35:37] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21ed010012d7604c005dc28b0000300a129..."} 
[2026-08-08 21:35:37] local.INFO: Packet analysis {"connection_id":150837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21e"} 
[2026-08-08 21:35:37] local.INFO: Extracted packet for processing {"connection_id":150837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21e"} 
[2026-08-08 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":762709184,"raw_latitude":98314416,"longitude_deg":76.2709184,"latitude_deg":9.8314416,"altitude":3,"angle":161,"satellites":41,"speed":22,"hex_longitude":"2d7604c0","hex_latitude":"05dc28b0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268501760001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116425967710240768,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8501951696716146688,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205098000,"timestamp_ms":1786205098000,"timestamp_seconds":1786205098,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21ed010"} 
[2026-08-08 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-08-08 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 21:35: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-08-08 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-08-08 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-08-08 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:35:37] 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-08-08 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268501760001,"66":12232,"155":206,"87":12288,"24":22,"16":116425967710240768,"45":8501951696716146688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268501760001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:35:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116425967710240768,"km_value":116425967710240.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8501951696716146688,"description":"Unknown IO ID 45"} 
[2026-08-08 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268501760001,"power":12232,"unknown_155":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8501951696716146688}} 
[2026-08-08 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":150837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:37] local.INFO: GPS data processed {"connection_id":150837,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:37] local.INFO: Acknowledgment sent {"connection_id":150837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:41] local.INFO: TCP Data received {"connection_id":153217,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:35:41] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:35:41] local.INFO: IMEI packet received {"connection_id":153217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":153217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:35:42] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21efb08012d76114005dc05f00002009f29..."} 
[2026-08-08 21:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21efb08012d76114005dc05f00002009f29..."} 
[2026-08-08 21:35:42] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21efb08012d76114005dc05f00002009f29..."} 
[2026-08-08 21:35:42] local.INFO: Packet analysis {"connection_id":150837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21e"} 
[2026-08-08 21:35:42] local.INFO: Extracted packet for processing {"connection_id":150837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21e"} 
[2026-08-08 21:35:42] local.INFO: GPS Element Parsed {"raw_longitude":762712384,"raw_latitude":98305520,"longitude_deg":76.2712384,"latitude_deg":9.830552,"altitude":2,"angle":159,"satellites":41,"speed":36,"hex_longitude":"2d761140","hex_latitude":"05dc05f0","is_valid_coordinates":true} 
[2026-08-08 21:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268505088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116426427271741440,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8504133127783362560,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205109000,"timestamp_ms":1786205109000,"timestamp_seconds":1786205109,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21efb08"} 
[2026-08-08 21:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 21:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:35:42] 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-08-08 21:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268505088001,"66":11254,"155":206,"87":12288,"24":36,"16":116426427271741440,"45":8504133127783362560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268505088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116426427271741440,"km_value":116426427271741.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8504133127783362560,"description":"Unknown IO ID 45"} 
[2026-08-08 21:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268505088001,"power":11254,"unknown_155":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8504133127783362560}} 
[2026-08-08 21:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":150837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:42] local.INFO: GPS data processed {"connection_id":150837,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:42] local.INFO: Acknowledgment sent {"connection_id":150837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:35:42] local.INFO: TCP Data received {"connection_id":153217,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:35:42] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:35:42] local.INFO: Packet analysis {"connection_id":153217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:35:42] local.INFO: Extracted packet for processing {"connection_id":153217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:35:42] 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-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:35: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-08-08 21:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":153217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:35:42] local.INFO: GPS data processed {"connection_id":153217,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:35:42] local.INFO: Acknowledgment sent {"connection_id":153217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:36:04] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:36:04] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:36:04] local.INFO: IMEI packet received {"connection_id":150531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":150531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:36:09] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:36:09] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:36:09] local.INFO: IMEI packet received {"connection_id":150531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":150531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:36:10] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:36:10] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:36:10] local.INFO: Packet analysis {"connection_id":150531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:36:10] local.INFO: Extracted packet for processing {"connection_id":150531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:10] 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-08-08 21:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 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-08-08 21:36: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-08-08 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:36: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-08-08 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-08-08 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-08-08 21:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:36:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:36:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":150531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:36:10] local.INFO: GPS data processed {"connection_id":150531,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:36:10] local.INFO: Acknowledgment sent {"connection_id":150531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:36:13] local.INFO: TCP Data received {"connection_id":150837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21f29e8012d761c0005dbe378000200a628..."} 
[2026-08-08 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21f29e8012d761c0005dbe378000200a628..."} 
[2026-08-08 21:36:13] local.INFO: Processing buffer {"connection_id":150837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21f29e8012d761c0005dbe378000200a628..."} 
[2026-08-08 21:36:13] local.INFO: Packet analysis {"connection_id":150837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:36:13] local.INFO: Extracted packet for processing {"connection_id":150837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:36:13] local.INFO: GPS Element Parsed {"raw_longitude":762715136,"raw_latitude":98296696,"longitude_deg":76.2715136,"latitude_deg":9.8296696,"altitude":2,"angle":166,"satellites":40,"speed":30,"hex_longitude":"2d761c00","hex_latitude":"05dbe378","is_valid_coordinates":true} 
[2026-08-08 21:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268507904001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116426873948340224,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8507651564989968384,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786205121000,"timestamp_ms":1786205121000,"timestamp_seconds":1786205121,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21f29e8"} 
[2026-08-08 21:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:36: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-08-08 21:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-08 21:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:36: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-08-08 21:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268507904001,"66":12015,"155":206,"87":12288,"24":30,"16":116426873948340224,"45":8507651564989968384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268507904001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:36:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:36:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116426873948340224,"km_value":116426873948340.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8507651564989968384,"description":"Unknown IO ID 45"} 
[2026-08-08 21:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268507904001,"power":12015,"unknown_155":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8507651564989968384}} 
[2026-08-08 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":150837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:36:14] local.INFO: GPS data processed {"connection_id":150837,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:36:14] local.INFO: Acknowledgment sent {"connection_id":150837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:36:14] local.INFO: TCP Data received {"connection_id":153217,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:36:14] local.INFO: Processing buffer {"connection_id":153217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:36:14] local.INFO: Packet analysis {"connection_id":153217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:36:14] local.INFO: Extracted packet for processing {"connection_id":153217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 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-08-08 21:36:14] 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-08-08 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":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:36:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":153217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:36:14] local.INFO: GPS data processed {"connection_id":153217,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:36:14] local.INFO: Acknowledgment sent {"connection_id":153217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:36:36] local.INFO: TCP Data received {"connection_id":150838,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:36:36] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:36:36] local.INFO: IMEI packet received {"connection_id":150838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:36:36] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:36:36] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:36:36] local.INFO: IMEI packet received {"connection_id":150532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:36:39] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:36:39] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:36:39] local.INFO: IMEI packet received {"connection_id":150532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":150532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:36:40] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21f58c8012d7627c005dbc048000200a028..."} 
[2026-08-08 21:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21f58c8012d7627c005dbc048000200a028..."} 
[2026-08-08 21:36:40] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21f58c8012d7627c005dbc048000200a028..."} 
[2026-08-08 21:36:40] local.INFO: Packet analysis {"connection_id":150532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:36:40] local.INFO: Extracted packet for processing {"connection_id":150532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:36:40] local.INFO: GPS Element Parsed {"raw_longitude":762718144,"raw_latitude":98287688,"longitude_deg":76.2718144,"latitude_deg":9.8287688,"altitude":2,"angle":160,"satellites":40,"speed":35,"hex_longitude":"2d7627c0","hex_latitude":"05dbc048","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268510976001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116427333509840896,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8510677420987348992,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786205133000,"timestamp_ms":1786205133000,"timestamp_seconds":1786205133,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21f58c8"} 
[2026-08-08 21:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:36: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-08-08 21: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":239,"data_length":795,"current_offset":136} 
[2026-08-08 21:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:36:40] 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-08-08 21:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268510976001,"66":11308,"155":206,"87":12288,"24":35,"16":116427333509840896,"45":8510677420987348992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268510976001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:36:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:36:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116427333509840896,"km_value":116427333509840.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8510677420987348992,"description":"Unknown IO ID 45"} 
[2026-08-08 21:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268510976001,"power":11308,"unknown_155":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8510677420987348992}} 
[2026-08-08 21:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":150532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:36:40] local.INFO: GPS data processed {"connection_id":150532,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:36:40] local.INFO: Acknowledgment sent {"connection_id":150532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:36:41] local.INFO: TCP Data received {"connection_id":150838,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:36:41] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:36:41] local.INFO: IMEI packet received {"connection_id":150838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":150838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:36:41] local.INFO: TCP Data received {"connection_id":150531,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:36:41] local.INFO: Processing buffer {"connection_id":150531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:36:41] local.INFO: Packet analysis {"connection_id":150531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:36:41] local.INFO: Extracted packet for processing {"connection_id":150531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36: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-08-08 21:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:36:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":150531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:36:41] local.INFO: GPS data processed {"connection_id":150531,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:36:41] local.INFO: Acknowledgment sent {"connection_id":150531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:36:42] local.INFO: TCP Data received {"connection_id":150838,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:36:42] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:36:42] local.INFO: Packet analysis {"connection_id":150838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:36:42] local.INFO: Extracted packet for processing {"connection_id":150838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:36: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-08-08 21:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:36:42] 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-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:36: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-08-08 21: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-08-08 21:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:36:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":150838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:36:42] local.INFO: GPS data processed {"connection_id":150838,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:36:42] local.INFO: Acknowledgment sent {"connection_id":150838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:04] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:37:04] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:37:04] local.INFO: IMEI packet received {"connection_id":151742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":151742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:37:09] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:37:09] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:37:09] local.INFO: IMEI packet received {"connection_id":151742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":151742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:37:10] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:37:10] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21bc6b8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:37:10] local.INFO: Packet analysis {"connection_id":151742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:37:10] local.INFO: Extracted packet for processing {"connection_id":151742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21b"} 
[2026-08-08 21:37:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268377088001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:10] 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-08-08 21:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786204899000,"timestamp_ms":1786204899000,"timestamp_seconds":1786204899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21bc6b8"} 
[2026-08-08 21:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-08 21:37: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-08-08 21:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268377088001,"66":25973,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268377088001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268377088001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":151742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:10] local.INFO: GPS data processed {"connection_id":151742,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:10] local.INFO: Acknowledgment sent {"connection_id":151742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:12] local.INFO: TCP Data received {"connection_id":150532,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21f83c0012d76340005db9c40000000a228..."} 
[2026-08-08 21:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21f83c0012d76340005db9c40000000a228..."} 
[2026-08-08 21:37:12] local.INFO: Processing buffer {"connection_id":150532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21f83c0012d76340005db9c40000000a228..."} 
[2026-08-08 21:37:12] local.INFO: Packet analysis {"connection_id":150532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:37:12] local.INFO: Extracted packet for processing {"connection_id":150532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:37:12] local.INFO: GPS Element Parsed {"raw_longitude":762721280,"raw_latitude":98278464,"longitude_deg":76.272128,"latitude_deg":9.8278464,"altitude":0,"angle":162,"satellites":40,"speed":35,"hex_longitude":"2d763400","hex_latitude":"05db9c40","is_valid_coordinates":true} 
[2026-08-08 21:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268514048001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116427805956243456,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8513984751961393152,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786205144000,"timestamp_ms":1786205144000,"timestamp_seconds":1786205144,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21f83c0"} 
[2026-08-08 21:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 21:37:12] 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-08-08 21:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:37:12] 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-08-08 21:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268514048001,"66":11928,"155":206,"87":12288,"24":35,"16":116427805956243456,"45":8513984751961393152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268514048001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116427805956243456,"km_value":116427805956243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8513984751961393152,"description":"Unknown IO ID 45"} 
[2026-08-08 21:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268514048001,"power":11928,"unknown_155":206,"unknown_87":12288,"ignition":35,"odometer":null,"unknown_45":8513984751961393152}} 
[2026-08-08 21:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":150532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:12] local.INFO: GPS data processed {"connection_id":150532,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:12] local.INFO: Acknowledgment sent {"connection_id":150532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:14] local.INFO: TCP Data received {"connection_id":150838,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:14] local.INFO: Processing buffer {"connection_id":150838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:14] local.INFO: Packet analysis {"connection_id":150838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:37:14] local.INFO: Extracted packet for processing {"connection_id":150838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:37:14] 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-08-08 21:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":150838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:15] local.INFO: GPS data processed {"connection_id":150838,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:15] local.INFO: Acknowledgment sent {"connection_id":150838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:31] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:37:31] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:37:31] local.INFO: IMEI packet received {"connection_id":150533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":150533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:37:36] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:37:36] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:37:36] local.INFO: IMEI packet received {"connection_id":150533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":150533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:37:37] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21faeb8012d763d4005db7808000000a728..."} 
[2026-08-08 21:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21faeb8012d763d4005db7808000000a728..."} 
[2026-08-08 21:37:37] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21faeb8012d763d4005db7808000000a728..."} 
[2026-08-08 21:37:37] local.INFO: Packet analysis {"connection_id":150533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:37:37] local.INFO: Extracted packet for processing {"connection_id":150533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":762723648,"raw_latitude":98269192,"longitude_deg":76.2723648,"latitude_deg":9.8269192,"altitude":0,"angle":167,"satellites":40,"speed":34,"hex_longitude":"2d763d40","hex_latitude":"05db7808","is_valid_coordinates":true} 
[2026-08-08 21:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268516864001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116428269812711424,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8517432820423737344,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205155000,"timestamp_ms":1786205155000,"timestamp_seconds":1786205155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21faeb8"} 
[2026-08-08 21:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-08 21:37:37] 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-08-08 21:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:37:37] 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-08-08 21:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268516864001,"66":12015,"155":206,"87":12288,"24":34,"16":116428269812711424,"45":8517432820423737344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268516864001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116428269812711424,"km_value":116428269812711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8517432820423737344,"description":"Unknown IO ID 45"} 
[2026-08-08 21:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268516864001,"power":12015,"unknown_155":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8517432820423737344}} 
[2026-08-08 21:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":150533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:37] local.INFO: GPS data processed {"connection_id":150533,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:37] local.INFO: Acknowledgment sent {"connection_id":150533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:40] local.INFO: TCP Data received {"connection_id":151742,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:37:40] local.INFO: Processing buffer {"connection_id":151742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:37:40] local.INFO: Packet analysis {"connection_id":151742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:37:40] local.INFO: Extracted packet for processing {"connection_id":151742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:37:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37: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-08-08 21:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:37: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-08-08 21:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:37:40] 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-08-08 21:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:37:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":151742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:40] local.INFO: GPS data processed {"connection_id":151742,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:40] local.INFO: Acknowledgment sent {"connection_id":151742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:42] local.INFO: TCP Data received {"connection_id":151743,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:37:42] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:37:42] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:37:46] local.INFO: TCP Data received {"connection_id":151743,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:37:46] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:37:46] local.INFO: IMEI packet received {"connection_id":151743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":151743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:37:47] local.INFO: TCP Data received {"connection_id":151743,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:47] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:47] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:37:47] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:37:47] 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-08-08 21:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:37: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-08-08 21:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:47] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:47] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:37:51] local.INFO: TCP Data received {"connection_id":151743,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:51] local.INFO: Processing buffer {"connection_id":151743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21c91d8012d196a80071fef680042011725..."} 
[2026-08-08 21:37:51] local.INFO: Packet analysis {"connection_id":151743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:37:51] local.INFO: Extracted packet for processing {"connection_id":151743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21c"} 
[2026-08-08 21:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268390400001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786204951000,"timestamp_ms":1786204951000,"timestamp_seconds":1786204951,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21c91d8"} 
[2026-08-08 21:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:37:51] 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-08-08 21:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268390400001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268390400001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:37:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:37:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268390400001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":151743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:37:51] local.INFO: GPS data processed {"connection_id":151743,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:37:51] local.INFO: Acknowledgment sent {"connection_id":151743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:38:04] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:38:04] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:38:04] local.INFO: IMEI packet received {"connection_id":150839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":150839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:38:08] local.INFO: TCP Data received {"connection_id":150533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe21fd5c8012d76448005db5638000100a828..."} 
[2026-08-08 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe21fd5c8012d76448005db5638000100a828..."} 
[2026-08-08 21:38:08] local.INFO: Processing buffer {"connection_id":150533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe21fd5c8012d76448005db5638000100a828..."} 
[2026-08-08 21:38:08] local.INFO: Packet analysis {"connection_id":150533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:38:08] local.INFO: Extracted packet for processing {"connection_id":150533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe21f"} 
[2026-08-08 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":762725504,"raw_latitude":98260536,"longitude_deg":76.2725504,"latitude_deg":9.8260536,"altitude":1,"angle":168,"satellites":40,"speed":34,"hex_longitude":"2d764480","hex_latitude":"05db5638","is_valid_coordinates":true} 
[2026-08-08 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268519680001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116428699309441024,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8520036463955937280,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786205165000,"timestamp_ms":1786205165000,"timestamp_seconds":1786205165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe21fd5c8"} 
[2026-08-08 21:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 21:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:38:08] 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-08-08 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268519680001,"66":12069,"155":206,"87":12288,"24":34,"16":116428699309441024,"45":8520036463955937280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268519680001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:38:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116428699309441024,"km_value":116428699309441.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8520036463955937280,"description":"Unknown IO ID 45"} 
[2026-08-08 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268519680001,"power":12069,"unknown_155":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8520036463955937280}} 
[2026-08-08 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":150533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:38:08] local.INFO: GPS data processed {"connection_id":150533,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:38:08] local.INFO: Acknowledgment sent {"connection_id":150533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:38:09] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:38:09] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:38:09] local.INFO: IMEI packet received {"connection_id":150839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":150839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:38:10] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:38:10] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:38:10] local.INFO: Packet analysis {"connection_id":150839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:38:10] local.INFO: Extracted packet for processing {"connection_id":150839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:38:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:10] 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-08-08 21:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":150839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:38:10] local.INFO: GPS data processed {"connection_id":150839,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:38:10] local.INFO: Acknowledgment sent {"connection_id":150839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:38:31] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:38:31] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:38:31] local.INFO: IMEI packet received {"connection_id":151744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":151744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:38:36] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:38:36] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:38:36] local.INFO: IMEI packet received {"connection_id":151744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":151744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:38:36] local.INFO: TCP Data received {"connection_id":153218,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:38:36] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:38:36] local.INFO: IMEI packet received {"connection_id":153218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":153218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:38:37] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22004a8012d764d0005db32c8000100a828..."} 
[2026-08-08 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22004a8012d764d0005db32c8000100a828..."} 
[2026-08-08 21:38:37] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22004a8012d764d0005db32c8000100a828..."} 
[2026-08-08 21:38:37] local.INFO: Packet analysis {"connection_id":151744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:38:37] local.INFO: Extracted packet for processing {"connection_id":151744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":762727680,"raw_latitude":98251464,"longitude_deg":76.272768,"latitude_deg":9.8251464,"altitude":1,"angle":168,"satellites":40,"speed":29,"hex_longitude":"2d764d00","hex_latitude":"05db32c8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268522240001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116429154575974400,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522077157534873600,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205177000,"timestamp_ms":1786205177000,"timestamp_seconds":1786205177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22004a8"} 
[2026-08-08 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-08-08 21:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 21:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:38:37] 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-08-08 21:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268522240001,"66":12232,"155":206,"87":12288,"24":29,"16":116429154575974400,"45":8522077157534873600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-08-08 21:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268522240001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:38:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-08 21:38:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116429154575974400,"km_value":116429154575974.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522077157534873600,"description":"Unknown IO ID 45"} 
[2026-08-08 21:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268522240001,"power":12232,"unknown_155":206,"unknown_87":12288,"ignition":29,"odometer":null,"unknown_45":8522077157534873600}} 
[2026-08-08 21:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":151744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:38:37] local.INFO: GPS data processed {"connection_id":151744,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:38:37] local.INFO: Acknowledgment sent {"connection_id":151744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:38:41] local.INFO: TCP Data received {"connection_id":150839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:38:41] local.INFO: Processing buffer {"connection_id":150839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:38:41] local.INFO: Packet analysis {"connection_id":150839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:38:41] local.INFO: Extracted packet for processing {"connection_id":150839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38: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-08-08 21:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:38:41] 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-08-08 21:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":150839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:38:41] local.INFO: GPS data processed {"connection_id":150839,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:38:41] local.INFO: Acknowledgment sent {"connection_id":150839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:38:41] local.INFO: TCP Data received {"connection_id":153218,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:38:41] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:38:41] local.INFO: IMEI packet received {"connection_id":153218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":153218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:38:42] local.INFO: TCP Data received {"connection_id":153218,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:38:42] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:38:42] local.INFO: Packet analysis {"connection_id":153218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:38:42] local.INFO: Extracted packet for processing {"connection_id":153218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:38:42] 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-08-08 21:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:38: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-08-08 21:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":153218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:38:42] local.INFO: GPS data processed {"connection_id":153218,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:38:42] local.INFO: Acknowledgment sent {"connection_id":153218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:39:08] local.INFO: TCP Data received {"connection_id":151744,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2224e98012d76a14005d9d1f80005005729..."} 
[2026-08-08 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2224e98012d76a14005d9d1f80005005729..."} 
[2026-08-08 21:39:08] local.INFO: Processing buffer {"connection_id":151744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2224e98012d76a14005d9d1f80005005729..."} 
[2026-08-08 21:39:08] local.INFO: Packet analysis {"connection_id":151744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:39:08] local.INFO: Extracted packet for processing {"connection_id":151744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":762749248,"raw_latitude":98161144,"longitude_deg":76.2749248,"latitude_deg":9.8161144,"altitude":5,"angle":87,"satellites":41,"speed":13,"hex_longitude":"2d76a140","hex_latitude":"05d9d1f8","is_valid_coordinates":true} 
[2026-08-08 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268563456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116433672881569792,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8547832117878462464,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39: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-08-08 21:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786205327000,"timestamp_ms":1786205327000,"timestamp_seconds":1786205327,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2224e98"} 
[2026-08-08 21:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:39: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-08-08 21: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 21:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:39:08] 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-08-08 21:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268563456001,"66":12232,"168":206,"87":12288,"24":13,"16":116433672881569792,"45":8547832117878462464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-08-08 21:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268563456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:39:08] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-08 21:39:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116433672881569792,"km_value":116433672881569.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8547832117878462464,"description":"Unknown IO ID 45"} 
[2026-08-08 21:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268563456001,"power":12232,"unknown_168":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8547832117878462464}} 
[2026-08-08 21:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":151744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:39:08] local.INFO: GPS data processed {"connection_id":151744,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:39:08] local.INFO: Acknowledgment sent {"connection_id":151744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:39:09] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:39:09] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:39:09] local.INFO: IMEI packet received {"connection_id":150534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":150534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:39:14] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:39:14] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:39:14] local.INFO: IMEI packet received {"connection_id":150534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":150534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:39:14] local.INFO: TCP Data received {"connection_id":153218,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:39:14] local.INFO: Processing buffer {"connection_id":153218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:39:14] local.INFO: Packet analysis {"connection_id":153218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:39:14] local.INFO: Extracted packet for processing {"connection_id":153218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:39:14] 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-08-08 21:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:39:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":153218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:39:14] local.INFO: GPS data processed {"connection_id":153218,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:39:14] local.INFO: Acknowledgment sent {"connection_id":153218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:39:15] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:39:15] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:39:15] local.INFO: Packet analysis {"connection_id":150534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:39:15] local.INFO: Extracted packet for processing {"connection_id":150534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:15] 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-08-08 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:39: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-08-08 21:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:39:15] 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-08-08 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:39:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:39:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":150534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:39:15] local.INFO: GPS data processed {"connection_id":150534,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:39:15] local.INFO: Acknowledgment sent {"connection_id":150534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:39:19] local.INFO: TCP Data received {"connection_id":150534,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:39:19] local.INFO: Processing buffer {"connection_id":150534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:39:19] local.INFO: Packet analysis {"connection_id":150534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:39:19] local.INFO: Extracted packet for processing {"connection_id":150534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:39:19] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:19] 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-08-08 21:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:39: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-08-08 21: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-08-08 21:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:39:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":150534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:39:19] local.INFO: GPS data processed {"connection_id":150534,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:39:19] local.INFO: Acknowledgment sent {"connection_id":150534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:39:31] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:39:31] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:39:31] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:39:36] local.INFO: TCP Data received {"connection_id":150535,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:39:36] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:39:36] local.INFO: IMEI packet received {"connection_id":150535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":150535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:39:36] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:39:36] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:39:36] local.INFO: IMEI packet received {"connection_id":151745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":151745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:39:37] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2225280012d76a2c005d9d2480005004b2a..."} 
[2026-08-08 21:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2225280012d76a2c005d9d2480005004b2a..."} 
[2026-08-08 21:39:37] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2225280012d76a2c005d9d2480005004b2a..."} 
[2026-08-08 21:39:37] local.INFO: Packet analysis {"connection_id":151745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:39:37] local.INFO: Extracted packet for processing {"connection_id":151745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":762749632,"raw_latitude":98161224,"longitude_deg":76.2749632,"latitude_deg":9.8161224,"altitude":5,"angle":75,"satellites":42,"speed":17,"hex_longitude":"2d76a2c0","hex_latitude":"05d9d248","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268563712001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116433694356406272,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8548183961599342592,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:37] 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-08-08 21:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205328000,"timestamp_ms":1786205328000,"timestamp_seconds":1786205328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2225280"} 
[2026-08-08 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-08-08 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 21:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:39:37] 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-08-08 21:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268563712001,"66":12189,"168":206,"87":12288,"24":17,"16":116433694356406272,"45":8548183961599342592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-08-08 21:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268563712001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:39:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-08 21:39:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116433694356406272,"km_value":116433694356406.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8548183961599342592,"description":"Unknown IO ID 45"} 
[2026-08-08 21:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268563712001,"power":12189,"unknown_168":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8548183961599342592}} 
[2026-08-08 21:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":151745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:39:37] local.INFO: GPS data processed {"connection_id":151745,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:39:37] local.INFO: Acknowledgment sent {"connection_id":151745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:39:41] local.INFO: TCP Data received {"connection_id":150535,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:39:41] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:39:41] local.INFO: IMEI packet received {"connection_id":150535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":150535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:39:43] local.INFO: TCP Data received {"connection_id":150535,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:39:43] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:39:43] local.INFO: Packet analysis {"connection_id":150535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:39:43] local.INFO: Extracted packet for processing {"connection_id":150535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 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-08-08 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:39:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":150535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:39:43] local.INFO: GPS data processed {"connection_id":150535,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:39:43] local.INFO: Acknowledgment sent {"connection_id":150535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:40:04] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:40:04] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:40:04] local.INFO: IMEI packet received {"connection_id":150840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":150840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:40:09] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:40:09] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:40:09] local.INFO: IMEI packet received {"connection_id":150840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":150840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:40:10] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:40:10] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:40:10] local.INFO: Packet analysis {"connection_id":150840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:40:10] local.INFO: Extracted packet for processing {"connection_id":150840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:10] 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-08-08 21:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:40:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":150840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:40:10] local.INFO: GPS data processed {"connection_id":150840,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:40:10] local.INFO: Acknowledgment sent {"connection_id":150840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:40:15] local.INFO: TCP Data received {"connection_id":150535,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:40:15] local.INFO: Processing buffer {"connection_id":150535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:40:15] local.INFO: Packet analysis {"connection_id":150535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:40:15] local.INFO: Extracted packet for processing {"connection_id":150535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:40: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-08-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:40: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-08-08 21:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:40:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":150535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:40:15] local.INFO: GPS data processed {"connection_id":150535,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:40:15] local.INFO: Acknowledgment sent {"connection_id":150535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:40:16] local.INFO: TCP Data received {"connection_id":151745,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2228548012d76c64005d9dbd00005004b2a..."} 
[2026-08-08 21:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2228548012d76c64005d9dbd00005004b2a..."} 
[2026-08-08 21:40:16] local.INFO: Processing buffer {"connection_id":151745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2228548012d76c64005d9dbd00005004b2a..."} 
[2026-08-08 21:40:16] local.INFO: Packet analysis {"connection_id":151745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:40:16] local.INFO: Extracted packet for processing {"connection_id":151745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:40:16] local.INFO: GPS Element Parsed {"raw_longitude":762758720,"raw_latitude":98163664,"longitude_deg":76.275872,"latitude_deg":9.8163664,"altitude":5,"angle":75,"satellites":42,"speed":31,"hex_longitude":"2d76c640","hex_latitude":"05d9dbd0","is_valid_coordinates":true} 
[2026-08-08 21:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268563968001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116434141033005056,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8548606174064429056,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:16] 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-08-08 21:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786205341000,"timestamp_ms":1786205341000,"timestamp_seconds":1786205341,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2228548"} 
[2026-08-08 21:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-08 21:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:40:16] 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-08-08 21:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268563968001,"66":12287,"168":206,"87":12288,"24":31,"16":116434141033005056,"45":8548606174064429056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-08-08 21:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268563968001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:40:16] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-08 21:40:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116434141033005056,"km_value":116434141033005.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8548606174064429056,"description":"Unknown IO ID 45"} 
[2026-08-08 21:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268563968001,"power":12287,"unknown_168":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8548606174064429056}} 
[2026-08-08 21:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":151745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:40:16] local.INFO: GPS data processed {"connection_id":151745,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:40:16] local.INFO: Acknowledgment sent {"connection_id":151745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:40:32] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:40:32] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:40:32] local.INFO: IMEI packet received {"connection_id":150536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":150536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:40:36] local.INFO: TCP Data received {"connection_id":150537,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:40:36] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:40:36] local.INFO: IMEI packet received {"connection_id":150537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":150537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:40:37] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:40:37] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:40:37] local.INFO: IMEI packet received {"connection_id":150536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":150536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:40:41] local.INFO: TCP Data received {"connection_id":150840,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:40:41] local.INFO: Processing buffer {"connection_id":150840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:40:41] local.INFO: Packet analysis {"connection_id":150840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:40:41] local.INFO: Extracted packet for processing {"connection_id":150840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40: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-08-08 21:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:40:41] 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-08-08 21:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:40:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":150840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:40:41] local.INFO: GPS data processed {"connection_id":150840,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:40:41] local.INFO: Acknowledgment sent {"connection_id":150840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:40:41] local.INFO: TCP Data received {"connection_id":150537,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:40:41] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:40:41] local.INFO: IMEI packet received {"connection_id":150537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":150537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:40:42] local.INFO: TCP Data received {"connection_id":150537,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:40:42] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:40:42] local.INFO: Packet analysis {"connection_id":150537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:40:42] local.INFO: Extracted packet for processing {"connection_id":150537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40: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-08-08 21:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:40:42] 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-08-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:40: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-08-08 21:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:40:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":150537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:40:42] local.INFO: GPS data processed {"connection_id":150537,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:40:42] local.INFO: Acknowledgment sent {"connection_id":150537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:40:43] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe222b040012d76ea8005d9e4080004004d2a..."} 
[2026-08-08 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe222b040012d76ea8005d9e4080004004d2a..."} 
[2026-08-08 21:40:43] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe222b040012d76ea8005d9e4080004004d2a..."} 
[2026-08-08 21:40:43] local.INFO: Packet analysis {"connection_id":150536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:40:43] local.INFO: Extracted packet for processing {"connection_id":150536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe222"} 
[2026-08-08 21:40:43] local.INFO: GPS Element Parsed {"raw_longitude":762768000,"raw_latitude":98165768,"longitude_deg":76.2768,"latitude_deg":9.8165768,"altitude":4,"angle":77,"satellites":42,"speed":34,"hex_longitude":"2d76ea80","hex_latitude":"05d9e408","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268567296001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116434596299538432,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8558598535738281984,"note":"Value kept but may cause issues"} 
[2026-08-08 21:40:43] 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-08-08 21:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786205352000,"timestamp_ms":1786205352000,"timestamp_seconds":1786205352,"priority":1,"record_length":96,"hex_timestamp":"0000019fe222b040"} 
[2026-08-08 21:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-08 21:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:40:43] 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-08-08 21:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268567296001,"66":12189,"168":206,"87":12288,"24":34,"16":116434596299538432,"45":8558598535738281984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-08-08 21:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268567296001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:40:43] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-08 21:40:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116434596299538432,"km_value":116434596299538.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8558598535738281984,"description":"Unknown IO ID 45"} 
[2026-08-08 21:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268567296001,"power":12189,"unknown_168":206,"unknown_87":12288,"ignition":34,"odometer":null,"unknown_45":8558598535738281984}} 
[2026-08-08 21:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":150536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:40:43] local.INFO: GPS data processed {"connection_id":150536,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:40:43] local.INFO: Acknowledgment sent {"connection_id":150536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:41:04] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:41:04] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:41:04] local.INFO: IMEI packet received {"connection_id":150841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":150841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:41:09] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:41:09] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:41:09] local.INFO: IMEI packet received {"connection_id":150841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":150841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:41:10] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:41:10] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:41:10] local.INFO: Packet analysis {"connection_id":150841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:41:10] local.INFO: Extracted packet for processing {"connection_id":150841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:10] 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-08-08 21:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 21:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:41:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":150841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:41:10] local.INFO: GPS data processed {"connection_id":150841,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:41:10] local.INFO: Acknowledgment sent {"connection_id":150841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:41:14] local.INFO: TCP Data received {"connection_id":150537,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:14] local.INFO: Processing buffer {"connection_id":150537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:14] local.INFO: Packet analysis {"connection_id":150537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:41:14] local.INFO: Extracted packet for processing {"connection_id":150537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:41:14] 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-08-08 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":150537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:41:14] local.INFO: GPS data processed {"connection_id":150537,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:41:14] local.INFO: Acknowledgment sent {"connection_id":150537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:41:14] local.INFO: TCP Data received {"connection_id":150536,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2242f10012d77f34005da7978000000402b..."} 
[2026-08-08 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2242f10012d77f34005da7978000000402b..."} 
[2026-08-08 21:41:14] local.INFO: Processing buffer {"connection_id":150536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2242f10012d77f34005da7978000000402b..."} 
[2026-08-08 21:41:14] local.INFO: Packet analysis {"connection_id":150536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:41:14] local.INFO: Extracted packet for processing {"connection_id":150536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":762835776,"raw_latitude":98204024,"longitude_deg":76.2835776,"latitude_deg":9.8204024,"altitude":0,"angle":64,"satellites":43,"speed":32,"hex_longitude":"2d77f340","hex_latitude":"05da7978","is_valid_coordinates":true} 
[2026-08-08 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268592128001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116438444590235648,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8633611617040941056,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:14] 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-08-08 21:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205450000,"timestamp_ms":1786205450000,"timestamp_seconds":1786205450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2242f10"} 
[2026-08-08 21:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 21:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:41:14] 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-08-08 21:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268592128001,"66":12058,"167":206,"87":12288,"24":32,"16":116438444590235648,"45":8633611617040941056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,87,24,16,45]} 
[2026-08-08 21:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268592128001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-08 21:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116438444590235648,"km_value":116438444590235.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8633611617040941056,"description":"Unknown IO ID 45"} 
[2026-08-08 21:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268592128001,"power":12058,"unknown_167":206,"unknown_87":12288,"ignition":32,"odometer":null,"unknown_45":8633611617040941056}} 
[2026-08-08 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":150536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:41:14] local.INFO: GPS data processed {"connection_id":150536,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:41:14] local.INFO: Acknowledgment sent {"connection_id":150536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:41:30] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:30] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:30] local.INFO: IMEI packet received {"connection_id":150842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":150842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:41:31] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:31] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:31] local.INFO: IMEI packet received {"connection_id":150842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":150842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:41:32] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:32] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:32] local.INFO: IMEI packet received {"connection_id":150842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":150842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:41:32] local.INFO: TCP Data received {"connection_id":150842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:32] local.INFO: Processing buffer {"connection_id":150842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:41:32] local.INFO: IMEI packet received {"connection_id":150842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":150842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:41:41] local.INFO: TCP Data received {"connection_id":150841,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:41:41] local.INFO: Processing buffer {"connection_id":150841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:41:41] local.INFO: Packet analysis {"connection_id":150841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:41:41] local.INFO: Extracted packet for processing {"connection_id":150841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41: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-08-08 21:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 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-08-08 21:41: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-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:41:41] 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-08-08 21:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:41:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":150841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:41:41] local.INFO: GPS data processed {"connection_id":150841,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:41:41] local.INFO: Acknowledgment sent {"connection_id":150841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:41:41] local.INFO: TCP Data received {"connection_id":150538,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:41:41] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:41:41] local.INFO: IMEI packet received {"connection_id":150538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":150538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:41:46] local.INFO: TCP Data received {"connection_id":150538,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:41:46] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:41:46] local.INFO: IMEI packet received {"connection_id":150538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":150538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:41:48] local.INFO: TCP Data received {"connection_id":150538,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:48] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:48] local.INFO: Packet analysis {"connection_id":150538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:41:48] local.INFO: Extracted packet for processing {"connection_id":150538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:41:48] 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-08-08 21:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:41:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:41:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":150538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:41:48] local.INFO: GPS data processed {"connection_id":150538,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:41:48] local.INFO: Acknowledgment sent {"connection_id":150538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:41:51] local.INFO: TCP Data received {"connection_id":150538,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:51] local.INFO: Processing buffer {"connection_id":150538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:41:51] local.INFO: Packet analysis {"connection_id":150538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:41:51] local.INFO: Extracted packet for processing {"connection_id":150538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 21:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:41:51] 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-08-08 21:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:41:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:41:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":150538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:41:51] local.INFO: GPS data processed {"connection_id":150538,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:41:51] local.INFO: Acknowledgment sent {"connection_id":150538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:42:04] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:42:04] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:42:04] local.INFO: IMEI packet received {"connection_id":151746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":151746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:42:09] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:42:09] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:42:09] local.INFO: IMEI packet received {"connection_id":151746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":151746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:42:10] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:42:10] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2205e80012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:42:10] local.INFO: Packet analysis {"connection_id":151746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:42:10] local.INFO: Extracted packet for processing {"connection_id":151746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe220"} 
[2026-08-08 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268454144001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:10] 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-08-08 21:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205200000,"timestamp_ms":1786205200000,"timestamp_seconds":1786205200,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2205e80"} 
[2026-08-08 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-08-08 21: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-08-08 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268454144001,"66":25843,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268454144001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:42:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268454144001,"power":25843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":151746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:42:10] local.INFO: GPS data processed {"connection_id":151746,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:42:10] local.INFO: Acknowledgment sent {"connection_id":151746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:42:36] local.INFO: TCP Data received {"connection_id":150844,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:42:36] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:42:36] local.INFO: IMEI packet received {"connection_id":150844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":150844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:42:40] local.INFO: TCP Data received {"connection_id":151746,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:42:40] local.INFO: Processing buffer {"connection_id":151746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:42:40] local.INFO: Packet analysis {"connection_id":151746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:42:40] local.INFO: Extracted packet for processing {"connection_id":151746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42: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-08-08 21:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 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-08-08 21:42: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-08-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:42:40] 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-08-08 21:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:42:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":151746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:42:40] local.INFO: GPS data processed {"connection_id":151746,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:42:40] local.INFO: Acknowledgment sent {"connection_id":151746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:42:41] local.INFO: TCP Data received {"connection_id":150844,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:42:41] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:42:41] local.INFO: IMEI packet received {"connection_id":150844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":150844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:42:42] local.INFO: TCP Data received {"connection_id":150844,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:42:42] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22129a0012d196a80071fef680042011725..."} 
[2026-08-08 21:42:42] local.INFO: Packet analysis {"connection_id":150844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:42:42] local.INFO: Extracted packet for processing {"connection_id":150844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe221"} 
[2026-08-08 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268467456001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205252000,"timestamp_ms":1786205252000,"timestamp_seconds":1786205252,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22129a0"} 
[2026-08-08 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-08-08 21:42:42] 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-08-08 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-08-08 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-08-08 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-08-08 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-08-08 21:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268467456001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268467456001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:42:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268467456001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":150844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:42:42] local.INFO: GPS data processed {"connection_id":150844,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:42:42] local.INFO: Acknowledgment sent {"connection_id":150844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:43:09] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:43:09] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:43:09] local.INFO: IMEI packet received {"connection_id":150539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":150539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:43:14] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:43:14] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:43:14] local.INFO: IMEI packet received {"connection_id":150539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":150539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:43:14] local.INFO: TCP Data received {"connection_id":150844,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:43:14] local.INFO: Processing buffer {"connection_id":150844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:43:14] local.INFO: Packet analysis {"connection_id":150844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:43:14] local.INFO: Extracted packet for processing {"connection_id":150844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 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-08-08 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":150844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:43:14] local.INFO: GPS data processed {"connection_id":150844,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:43:14] local.INFO: Acknowledgment sent {"connection_id":150844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:43:15] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:43:15] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:43:15] local.INFO: Packet analysis {"connection_id":150539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:43:15] local.INFO: Extracted packet for processing {"connection_id":150539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:15] 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-08-08 21:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:43: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-08-08 21:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:43:15] 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-08-08 21:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:43:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":150539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:43:15] local.INFO: GPS data processed {"connection_id":150539,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:43:15] local.INFO: Acknowledgment sent {"connection_id":150539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:43:19] local.INFO: TCP Data received {"connection_id":150539,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:43:19] local.INFO: Processing buffer {"connection_id":150539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:43:19] local.INFO: Packet analysis {"connection_id":150539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:43:19] local.INFO: Extracted packet for processing {"connection_id":150539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:43:19] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:19] 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-08-08 21:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:43:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":150539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:43:19] local.INFO: GPS data processed {"connection_id":150539,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:43:19] local.INFO: Acknowledgment sent {"connection_id":150539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:43:36] local.INFO: TCP Data received {"connection_id":150845,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:43:36] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:43:36] local.INFO: IMEI packet received {"connection_id":150845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":150845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:43:41] local.INFO: TCP Data received {"connection_id":150845,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:43:41] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:43:41] local.INFO: IMEI packet received {"connection_id":150845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":150845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:43:43] local.INFO: TCP Data received {"connection_id":150845,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:43:43] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:43:43] local.INFO: Packet analysis {"connection_id":150845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:43:43] local.INFO: Extracted packet for processing {"connection_id":150845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:43:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":150845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:43:43] local.INFO: GPS data processed {"connection_id":150845,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:43:43] local.INFO: Acknowledgment sent {"connection_id":150845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:44:04] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:44:04] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:44:04] local.INFO: IMEI packet received {"connection_id":150846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":150846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:44:09] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:44:09] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:44:09] local.INFO: IMEI packet received {"connection_id":150846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":150846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:44:10] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:44:10] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:44:10] local.INFO: Packet analysis {"connection_id":150846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:44:10] local.INFO: Extracted packet for processing {"connection_id":150846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:10] 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-08-08 21:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:44: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-08-08 21:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:44:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":150846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:44:10] local.INFO: GPS data processed {"connection_id":150846,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:44:10] local.INFO: Acknowledgment sent {"connection_id":150846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:44:15] local.INFO: TCP Data received {"connection_id":150845,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:44:15] local.INFO: Processing buffer {"connection_id":150845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:44:15] local.INFO: Packet analysis {"connection_id":150845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:44:15] local.INFO: Extracted packet for processing {"connection_id":150845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:44: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-08-08 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:44:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":150845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:44:15] local.INFO: GPS data processed {"connection_id":150845,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:44:15] local.INFO: Acknowledgment sent {"connection_id":150845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:44:35] local.INFO: TCP Data received {"connection_id":153220,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:44:35] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:44:35] local.INFO: IMEI packet received {"connection_id":153220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":153220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:44:40] local.INFO: TCP Data received {"connection_id":150846,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:44:40] local.INFO: Processing buffer {"connection_id":150846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:44:40] local.INFO: Packet analysis {"connection_id":150846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:44:40] local.INFO: Extracted packet for processing {"connection_id":150846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:44:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44: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-08-08 21:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:44: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-08-08 21: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:44:40] 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-08-08 21:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:44:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":150846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:44:40] local.INFO: GPS data processed {"connection_id":150846,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:44:40] local.INFO: Acknowledgment sent {"connection_id":150846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:44:41] local.INFO: TCP Data received {"connection_id":153220,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:44:41] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:44:41] local.INFO: IMEI packet received {"connection_id":153220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":153220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:44:42] local.INFO: TCP Data received {"connection_id":153220,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:44:42] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:44:42] local.INFO: Packet analysis {"connection_id":153220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:44:42] local.INFO: Extracted packet for processing {"connection_id":153220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:44: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-08-08 21:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:44: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-08-08 21:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:44:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":153220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:44:42] local.INFO: GPS data processed {"connection_id":153220,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:44:42] local.INFO: Acknowledgment sent {"connection_id":153220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:45:04] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:45:04] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:45:04] local.INFO: IMEI packet received {"connection_id":153221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":153221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:45:09] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:45:09] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:45:09] local.INFO: IMEI packet received {"connection_id":153221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":153221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:45:10] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:45:10] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:45:10] local.INFO: Packet analysis {"connection_id":153221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:45:10] local.INFO: Extracted packet for processing {"connection_id":153221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:45:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:10] 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-08-08 21:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:45: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-08-08 21:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:45:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":153221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:45:10] local.INFO: GPS data processed {"connection_id":153221,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:45:10] local.INFO: Acknowledgment sent {"connection_id":153221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:45:14] local.INFO: TCP Data received {"connection_id":153220,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:14] local.INFO: Processing buffer {"connection_id":153220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:14] local.INFO: Packet analysis {"connection_id":153220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:45:14] local.INFO: Extracted packet for processing {"connection_id":153220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:45:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":153220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:45:14] local.INFO: GPS data processed {"connection_id":153220,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:45:14] local.INFO: Acknowledgment sent {"connection_id":153220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:45:41] local.INFO: TCP Data received {"connection_id":153221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:45:41] local.INFO: Processing buffer {"connection_id":153221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:45:41] local.INFO: Packet analysis {"connection_id":153221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:45:41] local.INFO: Extracted packet for processing {"connection_id":153221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45: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-08-08 21:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:45: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-08-08 21:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:45:41] 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-08-08 21:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:45:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":153221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:45:41] local.INFO: GPS data processed {"connection_id":153221,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:45:41] local.INFO: Acknowledgment sent {"connection_id":153221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:45:41] local.INFO: TCP Data received {"connection_id":150541,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:45:41] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:45:41] local.INFO: IMEI packet received {"connection_id":150541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":150541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:45:46] local.INFO: TCP Data received {"connection_id":150541,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:45:46] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:45:46] local.INFO: IMEI packet received {"connection_id":150541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":150541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:45:47] local.INFO: TCP Data received {"connection_id":150541,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:47] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:47] local.INFO: Packet analysis {"connection_id":150541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:45:47] local.INFO: Extracted packet for processing {"connection_id":150541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:45: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-08-08 21:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":150541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:45:47] local.INFO: GPS data processed {"connection_id":150541,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:45:47] local.INFO: Acknowledgment sent {"connection_id":150541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:45:51] local.INFO: TCP Data received {"connection_id":150541,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:51] local.INFO: Processing buffer {"connection_id":150541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:45:51] local.INFO: Packet analysis {"connection_id":150541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:45:51] local.INFO: Extracted packet for processing {"connection_id":150541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:45:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:45:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":150541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:45:51] local.INFO: GPS data processed {"connection_id":150541,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:45:51] local.INFO: Acknowledgment sent {"connection_id":150541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:46:04] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:46:04] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:46:04] local.INFO: IMEI packet received {"connection_id":151748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":151748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:46:09] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:46:09] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:46:09] local.INFO: IMEI packet received {"connection_id":151748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":151748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:46:10] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:46:10] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:46:10] local.INFO: Packet analysis {"connection_id":151748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:46:10] local.INFO: Extracted packet for processing {"connection_id":151748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:46:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:10] 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-08-08 21:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:46: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-08-08 21:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:46:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":151748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:46:10] local.INFO: GPS data processed {"connection_id":151748,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:46:10] local.INFO: Acknowledgment sent {"connection_id":151748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:46:33] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:46:33] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:46:33] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:46:35] local.INFO: TCP Data received {"connection_id":153222,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:46:35] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:46:35] local.INFO: IMEI packet received {"connection_id":153222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":153222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:46:36] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:46:36] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:46:36] local.INFO: IMEI packet received {"connection_id":151749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":151749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:46:37] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2287ca0012d7acac005dab3600006004a2a..."} 
[2026-08-08 21:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2287ca0012d7acac005dab3600006004a2a..."} 
[2026-08-08 21:46:37] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2287ca0012d7acac005dab3600006004a2a..."} 
[2026-08-08 21:46:37] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe228"} 
[2026-08-08 21:46:37] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe228"} 
[2026-08-08 21:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98218848,"longitude_deg":76.3022016,"latitude_deg":9.8218848,"altitude":6,"angle":74,"satellites":42,"speed":35,"hex_longitude":"2d7acac0","hex_latitude":"05dab360","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268662016001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116448108266651648,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838173556369606656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:37] 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-08-08 21:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205732000,"timestamp_ms":1786205732000,"timestamp_seconds":1786205732,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2287ca0"} 
[2026-08-08 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-08-08 21:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 21:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:46:37] 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-08-08 21:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268662016001,"66":12232,"229":206,"85":15104,"24":35,"16":116448108266651648,"45":8838173556369606656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 21:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268662016001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:46:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 21:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116448108266651648,"km_value":116448108266651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838173556369606656,"description":"Unknown IO ID 45"} 
[2026-08-08 21:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268662016001,"power":12232,"unknown_229":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8838173556369606656}} 
[2026-08-08 21:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:46:37] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:46:37] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:46:41] local.INFO: TCP Data received {"connection_id":151748,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:46:41] local.INFO: Processing buffer {"connection_id":151748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:46:41] local.INFO: Packet analysis {"connection_id":151748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:46:41] local.INFO: Extracted packet for processing {"connection_id":151748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46: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-08-08 21:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 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-08-08 21: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-08-08 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:46: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-08-08 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-08-08 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-08-08 21:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:46:41] 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-08-08 21:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":151748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:46:41] local.INFO: GPS data processed {"connection_id":151748,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:46:41] local.INFO: Acknowledgment sent {"connection_id":151748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:46:41] local.INFO: TCP Data received {"connection_id":153222,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:46:41] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:46:41] local.INFO: IMEI packet received {"connection_id":153222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":153222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:46:41] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe228a798012d7aefc005dabe600006004c28..."} 
[2026-08-08 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe228a798012d7aefc005dabe600006004c28..."} 
[2026-08-08 21:46:41] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe228a798012d7aefc005dabe600006004c28..."} 
[2026-08-08 21:46:41] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe228"} 
[2026-08-08 21:46:41] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe228"} 
[2026-08-08 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98221664,"longitude_deg":76.3031488,"latitude_deg":9.8221664,"altitude":6,"angle":76,"satellites":40,"speed":36,"hex_longitude":"2d7aefc0","hex_latitude":"05dabe60","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268667392001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116448580713054208,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549299318784,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:41] 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-08-08 21:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205743000,"timestamp_ms":1786205743000,"timestamp_seconds":1786205743,"priority":1,"record_length":96,"hex_timestamp":"0000019fe228a798"} 
[2026-08-08 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-08-08 21: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-08-08 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-08 21:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:46:41] 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-08-08 21:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268667392001,"66":11450,"229":206,"85":15104,"24":36,"16":116448580713054208,"45":8848095549299318784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 21:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268667392001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116448580713054208,"km_value":116448580713054.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549299318784,"description":"Unknown IO ID 45"} 
[2026-08-08 21:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268667392001,"power":11450,"unknown_229":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8848095549299318784}} 
[2026-08-08 21:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:46:42] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:46:42] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:46:42] local.INFO: TCP Data received {"connection_id":153222,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:46:42] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:46:42] local.INFO: Packet analysis {"connection_id":153222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:46:42] local.INFO: Extracted packet for processing {"connection_id":153222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21: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-08-08 21:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:46: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-08-08 21:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:46:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":153222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:46:42] local.INFO: GPS data processed {"connection_id":153222,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:46:42] local.INFO: Acknowledgment sent {"connection_id":153222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:47:04] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:47:04] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:47:04] local.INFO: IMEI packet received {"connection_id":150847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":150847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:47:09] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:47:09] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:47:09] local.INFO: IMEI packet received {"connection_id":150847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":150847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:47:10] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:47:10] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe224f648012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:47:10] local.INFO: Packet analysis {"connection_id":150847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:47:10] local.INFO: Extracted packet for processing {"connection_id":150847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe224"} 
[2026-08-08 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268531200001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:10] 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-08-08 21:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205501000,"timestamp_ms":1786205501000,"timestamp_seconds":1786205501,"priority":1,"record_length":96,"hex_timestamp":"0000019fe224f648"} 
[2026-08-08 21:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-08 21:47: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-08-08 21:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268531200001,"66":25756,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268531200001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:47:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268531200001,"power":25756,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":150847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:47:10] local.INFO: GPS data processed {"connection_id":150847,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:47:10] local.INFO: Acknowledgment sent {"connection_id":150847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:47:13] local.INFO: TCP Data received {"connection_id":151749,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe228cea8012d7b130005dac6700006004d27..."} 
[2026-08-08 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe228cea8012d7b130005dac6700006004d27..."} 
[2026-08-08 21:47:13] local.INFO: Processing buffer {"connection_id":151749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe228cea8012d7b130005dac6700006004d27..."} 
[2026-08-08 21:47:13] local.INFO: Packet analysis {"connection_id":151749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe228"} 
[2026-08-08 21:47:13] local.INFO: Extracted packet for processing {"connection_id":151749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe228"} 
[2026-08-08 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763040512,"raw_latitude":98223728,"longitude_deg":76.3040512,"latitude_deg":9.8223728,"altitude":6,"angle":77,"satellites":39,"speed":31,"hex_longitude":"2d7b1300","hex_latitude":"05dac670","is_valid_coordinates":true} 
[2026-08-08 21:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268670208001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116449027389652992,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858510123438333952,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:13] 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-08-08 21:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786205753000,"timestamp_ms":1786205753000,"timestamp_seconds":1786205753,"priority":1,"record_length":96,"hex_timestamp":"0000019fe228cea8"} 
[2026-08-08 21:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:47: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-08-08 21:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-08 21:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:47: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-08-08 21:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268670208001,"66":12156,"229":206,"85":15104,"24":31,"16":116449027389652992,"45":8858510123438333952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-08 21:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268670208001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:47:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-08 21:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116449027389652992,"km_value":116449027389652.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858510123438333952,"description":"Unknown IO ID 45"} 
[2026-08-08 21:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268670208001,"power":12156,"unknown_229":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8858510123438333952}} 
[2026-08-08 21:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":151749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:47:13] local.INFO: GPS data processed {"connection_id":151749,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:47:13] local.INFO: Acknowledgment sent {"connection_id":151749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:47:14] local.INFO: TCP Data received {"connection_id":153222,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:47:14] local.INFO: Processing buffer {"connection_id":153222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:47:14] local.INFO: Packet analysis {"connection_id":153222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:47:14] local.INFO: Extracted packet for processing {"connection_id":153222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:47:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":153222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:47:14] local.INFO: GPS data processed {"connection_id":153222,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:47:14] local.INFO: Acknowledgment sent {"connection_id":153222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:47:31] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:47:31] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:47:31] local.INFO: IMEI packet received {"connection_id":150848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":150848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:47:35] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:47:35] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:47:35] local.INFO: IMEI packet received {"connection_id":150848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":150848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:47:36] local.INFO: TCP Data received {"connection_id":150542,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:47:36] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:47:36] local.INFO: IMEI packet received {"connection_id":150542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":150542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:47:36] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2290d28012d7b360005dacf600007004a2a..."} 
[2026-08-08 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2290d28012d7b360005dacf600007004a2a..."} 
[2026-08-08 21:47:36] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2290d28012d7b360005dacf600007004a2a..."} 
[2026-08-08 21:47:36] local.INFO: Packet analysis {"connection_id":150848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:47:36] local.INFO: Extracted packet for processing {"connection_id":150848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763049472,"raw_latitude":98226016,"longitude_deg":76.3049472,"latitude_deg":9.8226016,"altitude":7,"angle":74,"satellites":42,"speed":21,"hex_longitude":"2d7b3600","hex_latitude":"05dacf60","is_valid_coordinates":true} 
[2026-08-08 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268672768001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116449469771284480,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868432116367912960,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:36] 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-08-08 21:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205769000,"timestamp_ms":1786205769000,"timestamp_seconds":1786205769,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2290d28"} 
[2026-08-08 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-08-08 21: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-08-08 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 21:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:47:37] 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-08-08 21:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268672768001,"66":12341,"188":206,"85":15104,"24":21,"16":116449469771284480,"45":8868432116367912960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-08 21:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268672768001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116449469771284480,"km_value":116449469771284.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868432116367912960,"description":"Unknown IO ID 45"} 
[2026-08-08 21:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268672768001,"power":12341,"unknown_188":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8868432116367912960}} 
[2026-08-08 21:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":150848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:47:37] local.INFO: GPS data processed {"connection_id":150848,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:47:37] local.INFO: Acknowledgment sent {"connection_id":150848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:47:41] local.INFO: TCP Data received {"connection_id":150847,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:47:41] local.INFO: Processing buffer {"connection_id":150847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:47:41] local.INFO: Packet analysis {"connection_id":150847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:47:41] local.INFO: Extracted packet for processing {"connection_id":150847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47: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-08-08 21:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 21:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:47:41] 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-08-08 21:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:47:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":150847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:47:41] local.INFO: GPS data processed {"connection_id":150847,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:47:41] local.INFO: Acknowledgment sent {"connection_id":150847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:47:41] local.INFO: TCP Data received {"connection_id":150542,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:47:41] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:47:41] local.INFO: IMEI packet received {"connection_id":150542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":150542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:47:42] local.INFO: TCP Data received {"connection_id":150542,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:47:42] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe225c168012d196a80071fef680042011727..."} 
[2026-08-08 21:47:42] local.INFO: Packet analysis {"connection_id":150542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:47:42] local.INFO: Extracted packet for processing {"connection_id":150542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe225"} 
[2026-08-08 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268544512001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:47: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-08-08 21:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205553000,"timestamp_ms":1786205553000,"timestamp_seconds":1786205553,"priority":1,"record_length":96,"hex_timestamp":"0000019fe225c168"} 
[2026-08-08 21:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:47: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-08-08 21:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268544512001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268544512001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:47:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268544512001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":150542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:47:42] local.INFO: GPS data processed {"connection_id":150542,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:47:42] local.INFO: Acknowledgment sent {"connection_id":150542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:48:04] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:48:04] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:48:04] local.INFO: IMEI packet received {"connection_id":153223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":153223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:48:08] local.INFO: TCP Data received {"connection_id":150848,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a6cb8012d7c2a4005daead0000b00a12b..."} 
[2026-08-08 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a6cb8012d7c2a4005daead0000b00a12b..."} 
[2026-08-08 21:48:08] local.INFO: Processing buffer {"connection_id":150848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a6cb8012d7c2a4005daead0000b00a12b..."} 
[2026-08-08 21:48:08] local.INFO: Packet analysis {"connection_id":150848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:08] local.INFO: Extracted packet for processing {"connection_id":150848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":763112000,"raw_latitude":98233040,"longitude_deg":76.3112,"latitude_deg":9.823304,"altitude":11,"angle":161,"satellites":43,"speed":23,"hex_longitude":"2d7c2a40","hex_latitude":"05daead0","is_valid_coordinates":true} 
[2026-08-08 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268699392001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116452549262835712,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946541422407772160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:08] 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-08-08 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786205859000,"timestamp_ms":1786205859000,"timestamp_seconds":1786205859,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a6cb8"} 
[2026-08-08 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:48: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-08-08 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-08 21:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:48:08] 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-08-08 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268699392001,"66":12200,"187":206,"85":15104,"24":23,"16":116452549262835712,"45":8946541422407772160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268699392001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:48:08] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 21:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116452549262835712,"km_value":116452549262835.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946541422407772160,"description":"Unknown IO ID 45"} 
[2026-08-08 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268699392001,"power":12200,"unknown_187":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8946541422407772160}} 
[2026-08-08 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":150848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:48:08] local.INFO: GPS data processed {"connection_id":150848,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:48:08] local.INFO: Acknowledgment sent {"connection_id":150848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:48:09] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:48:09] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:48:09] local.INFO: IMEI packet received {"connection_id":153223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":153223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:48:10] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:48:10] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:48:10] local.INFO: Packet analysis {"connection_id":153223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:48:10] local.INFO: Extracted packet for processing {"connection_id":153223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:48:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:10] 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-08-08 21:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 21:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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-08-08 21: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-08-08 21:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":153223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:48:10] local.INFO: GPS data processed {"connection_id":153223,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:48:10] local.INFO: Acknowledgment sent {"connection_id":153223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:48:14] local.INFO: TCP Data received {"connection_id":150542,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:48:14] local.INFO: Processing buffer {"connection_id":150542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:48:14] local.INFO: Packet analysis {"connection_id":150542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:14] local.INFO: Extracted packet for processing {"connection_id":150542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 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-08-08 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":150542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:48:14] local.INFO: GPS data processed {"connection_id":150542,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:48:14] local.INFO: Acknowledgment sent {"connection_id":150542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:48:31] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:48:31] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:48:31] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:48:35] local.INFO: TCP Data received {"connection_id":151751,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:48:35] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:48:35] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:48:36] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:48:36] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:48:36] local.INFO: IMEI packet received {"connection_id":151750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":151750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:48:37] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a97b0012d7c358005dac840000a00a224..."} 
[2026-08-08 21:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a97b0012d7c358005dac840000a00a224..."} 
[2026-08-08 21:48:37] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a97b0012d7c358005dac840000a00a224..."} 
[2026-08-08 21:48:37] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:37] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763114880,"raw_latitude":98224192,"longitude_deg":76.311488,"latitude_deg":9.8224192,"altitude":10,"angle":162,"satellites":36,"speed":34,"hex_longitude":"2d7c3580","hex_latitude":"05dac840","is_valid_coordinates":true} 
[2026-08-08 21:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268699904001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116453000234401792,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947034003616747520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:37] 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-08-08 21:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205870000,"timestamp_ms":1786205870000,"timestamp_seconds":1786205870,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a97b0"} 
[2026-08-08 21:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-08 21:48:37] 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-08-08 21:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:48:37] 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-08-08 21:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268699904001,"66":12145,"187":206,"85":15104,"24":34,"16":116453000234401792,"45":8947034003616747520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 21:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268699904001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:48:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 21:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116453000234401792,"km_value":116453000234401.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947034003616747520,"description":"Unknown IO ID 45"} 
[2026-08-08 21:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268699904001,"power":12145,"unknown_187":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8947034003616747520}} 
[2026-08-08 21:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:48:37] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:48:37] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:48:41] local.INFO: TCP Data received {"connection_id":153223,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:48:41] local.INFO: Processing buffer {"connection_id":153223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:48:41] local.INFO: Packet analysis {"connection_id":153223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:48:41] local.INFO: Extracted packet for processing {"connection_id":153223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:48:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48: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-08-08 21:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 21:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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-08-08 21: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-08-08 21: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-08-08 21:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:48:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":153223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:48:41] local.INFO: GPS data processed {"connection_id":153223,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:48:41] local.INFO: Acknowledgment sent {"connection_id":153223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:48:41] local.INFO: TCP Data received {"connection_id":151751,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:48:41] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:48:41] local.INFO: IMEI packet received {"connection_id":151751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:48:42] local.INFO: TCP Data received {"connection_id":151751,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:48:42] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:48:42] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:42] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:48: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-08-08 21:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:48: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-08-08 21:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:48:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:48:42] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:48:42] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:04] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:49:04] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:49:04] local.INFO: IMEI packet received {"connection_id":153224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":153224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:49:08] local.INFO: TCP Data received {"connection_id":151750,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22bb0f0012d7c810005d9f5c80006006c2b..."} 
[2026-08-08 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22bb0f0012d7c810005d9f5c80006006c2b..."} 
[2026-08-08 21:49:08] local.INFO: Processing buffer {"connection_id":151750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22bb0f0012d7c810005d9f5c80006006c2b..."} 
[2026-08-08 21:49:08] local.INFO: Packet analysis {"connection_id":151750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22b"} 
[2026-08-08 21:49:08] local.INFO: Extracted packet for processing {"connection_id":151750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22b"} 
[2026-08-08 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763134208,"raw_latitude":98170312,"longitude_deg":76.3134208,"latitude_deg":9.8170312,"altitude":6,"angle":108,"satellites":43,"speed":9,"hex_longitude":"2d7c8100","hex_latitude":"05d9f5c8","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268720896001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116455856387653632,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971311220341989376,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:08] 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-08-08 21:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786205942000,"timestamp_ms":1786205942000,"timestamp_seconds":1786205942,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22bb0f0"} 
[2026-08-08 21:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:49: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-08-08 21: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-08 21:49:08] 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-08-08 21: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-08-08 21:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:49:08] 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-08-08 21:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268720896001,"66":12015,"187":206,"85":15104,"24":9,"16":116455856387653632,"45":8971311220341989376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 21:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268720896001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:08] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 21:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116455856387653632,"km_value":116455856387653.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971311220341989376,"description":"Unknown IO ID 45"} 
[2026-08-08 21:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268720896001,"power":12015,"unknown_187":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8971311220341989376}} 
[2026-08-08 21:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":151750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:08] local.INFO: GPS data processed {"connection_id":151750,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:08] local.INFO: Acknowledgment sent {"connection_id":151750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:09] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:49:09] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:49:09] local.INFO: IMEI packet received {"connection_id":153224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":153224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:49:10] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:49:10] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:49:10] local.INFO: Packet analysis {"connection_id":153224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:49:10] local.INFO: Extracted packet for processing {"connection_id":153224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:10] 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-08-08 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 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-08-08 21: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-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 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-08-08 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-08-08 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:49: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-08-08 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:49:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":153224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:10] local.INFO: GPS data processed {"connection_id":153224,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:10] local.INFO: Acknowledgment sent {"connection_id":153224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:14] local.INFO: TCP Data received {"connection_id":151751,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:14] local.INFO: Processing buffer {"connection_id":151751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:14] local.INFO: Packet analysis {"connection_id":151751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:49:14] local.INFO: Extracted packet for processing {"connection_id":151751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":151751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:14] local.INFO: GPS data processed {"connection_id":151751,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:14] local.INFO: Acknowledgment sent {"connection_id":151751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:31] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:49:31] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:49:31] local.INFO: IMEI packet received {"connection_id":153225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":153225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:49:36] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:49:36] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:49:36] local.INFO: IMEI packet received {"connection_id":153225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":153225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:49:37] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22bb4d8012d7c81c005d9f580000600822a..."} 
[2026-08-08 21:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22bb4d8012d7c81c005d9f580000600822a..."} 
[2026-08-08 21:49:37] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22bb4d8012d7c81c005d9f580000600822a..."} 
[2026-08-08 21:49:37] local.INFO: Packet analysis {"connection_id":153225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22b"} 
[2026-08-08 21:49:37] local.INFO: Extracted packet for processing {"connection_id":153225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22b"} 
[2026-08-08 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763134400,"raw_latitude":98170240,"longitude_deg":76.31344,"latitude_deg":9.817024,"altitude":6,"angle":130,"satellites":42,"speed":5,"hex_longitude":"2d7c81c0","hex_latitude":"05d9f580","is_valid_coordinates":true} 
[2026-08-08 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268721152001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116455864977588224,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957830338560,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:37] 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-08-08 21:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786205943000,"timestamp_ms":1786205943000,"timestamp_seconds":1786205943,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22bb4d8"} 
[2026-08-08 21:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 21:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:49:37] 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-08-08 21:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268721152001,"66":12015,"187":206,"85":15104,"24":5,"16":116455864977588224,"45":8971451957830338560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-08 21:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268721152001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-08 21:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116455864977588224,"km_value":116455864977588.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957830338560,"description":"Unknown IO ID 45"} 
[2026-08-08 21:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268721152001,"power":12015,"unknown_187":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8971451957830338560}} 
[2026-08-08 21:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":153225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:37] local.INFO: GPS data processed {"connection_id":153225,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:37] local.INFO: Acknowledgment sent {"connection_id":153225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:41] local.INFO: TCP Data received {"connection_id":153224,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:49:41] local.INFO: Processing buffer {"connection_id":153224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:49:41] local.INFO: Packet analysis {"connection_id":153224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:49:41] local.INFO: Extracted packet for processing {"connection_id":153224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49: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-08-08 21:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 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-08-08 21: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-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 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-08-08 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-08-08 21:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:49: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-08-08 21:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":153224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:41] local.INFO: GPS data processed {"connection_id":153224,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:41] local.INFO: Acknowledgment sent {"connection_id":153224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:41] local.INFO: TCP Data received {"connection_id":153226,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:49:41] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:49:41] local.INFO: IMEI packet received {"connection_id":153226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":153226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:49:46] local.INFO: TCP Data received {"connection_id":153226,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:49:46] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:49:46] local.INFO: IMEI packet received {"connection_id":153226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":153226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:49:47] local.INFO: TCP Data received {"connection_id":153226,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:47] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:47] local.INFO: Packet analysis {"connection_id":153226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:49:47] local.INFO: Extracted packet for processing {"connection_id":153226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:47] local.INFO: GPS data processed {"connection_id":153226,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:47] local.INFO: Acknowledgment sent {"connection_id":153226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:49:51] local.INFO: TCP Data received {"connection_id":153226,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:51] local.INFO: Processing buffer {"connection_id":153226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:49:51] local.INFO: Packet analysis {"connection_id":153226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:49:51] local.INFO: Extracted packet for processing {"connection_id":153226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":153226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:49:51] local.INFO: GPS data processed {"connection_id":153226,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:49:51] local.INFO: Acknowledgment sent {"connection_id":153226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:04] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:50:04] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:50:04] local.INFO: IMEI packet received {"connection_id":150849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":150849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:50:08] local.INFO: TCP Data received {"connection_id":153225,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22c7828012d7c868005d9f428000700ab29..."} 
[2026-08-08 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22c7828012d7c868005d9f428000700ab29..."} 
[2026-08-08 21:50:08] local.INFO: Processing buffer {"connection_id":153225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22c7828012d7c868005d9f428000700ab29..."} 
[2026-08-08 21:50:08] local.INFO: Packet analysis {"connection_id":153225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:50:08] local.INFO: Extracted packet for processing {"connection_id":153225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":98169896,"longitude_deg":76.3135616,"latitude_deg":9.8169896,"altitude":7,"angle":171,"satellites":41,"speed":3,"hex_longitude":"2d7c8680","hex_latitude":"05d9f428","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268733952001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456023891378176,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000070202173440,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:08] 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-08-08 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786205993000,"timestamp_ms":1786205993000,"timestamp_seconds":1786205993,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22c7828"} 
[2026-08-08 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-08-08 21:50: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-08-08 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 21:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:50:08] 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-08-08 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268733952001,"66":13015,"245":206,"85":15104,"24":3,"16":116456023891378176,"45":8973000070202173440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268733952001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456023891378176,"km_value":116456023891378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000070202173440,"description":"Unknown IO ID 45"} 
[2026-08-08 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268733952001,"power":13015,"geofence_id":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8973000070202173440}} 
[2026-08-08 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":153225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:08] local.INFO: GPS data processed {"connection_id":153225,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:08] local.INFO: Acknowledgment sent {"connection_id":153225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:09] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:50:09] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:50:09] local.INFO: IMEI packet received {"connection_id":150849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":150849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:50:10] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:50:10] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:50:10] local.INFO: Packet analysis {"connection_id":150849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:50:10] local.INFO: Extracted packet for processing {"connection_id":150849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:10] 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-08-08 21:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 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-08-08 21: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-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:50: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-08-08 21:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":150849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:10] local.INFO: GPS data processed {"connection_id":150849,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:10] local.INFO: Acknowledgment sent {"connection_id":150849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:36] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:50:36] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:50:36] local.INFO: IMEI packet received {"connection_id":150850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":150850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:50:37] local.INFO: TCP Data received {"connection_id":150851,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:50:37] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:50:37] local.INFO: IMEI packet received {"connection_id":150851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":150851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:50:41] local.INFO: TCP Data received {"connection_id":150851,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:50:41] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:50:41] local.INFO: IMEI packet received {"connection_id":150851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":150851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:50:41] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:50:41] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:50:41] local.INFO: IMEI packet received {"connection_id":150850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":150850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:50:42] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:50:42] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:50:42] local.INFO: Packet analysis {"connection_id":150850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:50:42] local.INFO: Extracted packet for processing {"connection_id":150850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763135552,"raw_latitude":98169616,"longitude_deg":76.3135552,"latitude_deg":9.8169616,"altitude":7,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7c8640","hex_latitude":"05d9f310","is_valid_coordinates":true} 
[2026-08-08 21:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268734208001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456045366214656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000070202140672,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50: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-08-08 21:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206000000,"timestamp_ms":1786206000000,"timestamp_seconds":1786206000,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22c9380"} 
[2026-08-08 21:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-08 21:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268734208001,"66":13461,"245":206,"85":15104,"24":0,"16":116456045366214656,"45":8973000070202140672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268734208001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456045366214656,"km_value":116456045366214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000070202140672,"description":"Unknown IO ID 45"} 
[2026-08-08 21:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268734208001,"power":13461,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973000070202140672}} 
[2026-08-08 21:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":150850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:42] local.INFO: GPS data processed {"connection_id":150850,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:42] local.INFO: Acknowledgment sent {"connection_id":150850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:42] local.INFO: TCP Data received {"connection_id":150851,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:50:42] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:50:42] local.INFO: Packet analysis {"connection_id":150851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:50:42] local.INFO: Extracted packet for processing {"connection_id":150851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50: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-08-08 21:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:50: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-08-08 21: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-08-08 21:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":150851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:42] local.INFO: GPS data processed {"connection_id":150851,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:42] local.INFO: Acknowledgment sent {"connection_id":150851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:45] local.INFO: TCP Data received {"connection_id":150849,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:50:45] local.INFO: Processing buffer {"connection_id":150849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:50:45] local.INFO: Packet analysis {"connection_id":150849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:50:45] local.INFO: Extracted packet for processing {"connection_id":150849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:50:45] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:45] 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-08-08 21:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 21:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":150849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:45] local.INFO: GPS data processed {"connection_id":150849,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:45] local.INFO: Acknowledgment sent {"connection_id":150849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:46] local.INFO: TCP Data received {"connection_id":150850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:50:46] local.INFO: Processing buffer {"connection_id":150850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:50:46] local.INFO: Packet analysis {"connection_id":150850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:50:46] local.INFO: Extracted packet for processing {"connection_id":150850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:50:46] local.INFO: GPS Element Parsed {"raw_longitude":763135552,"raw_latitude":98169616,"longitude_deg":76.3135552,"latitude_deg":9.8169616,"altitude":7,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7c8640","hex_latitude":"05d9f310","is_valid_coordinates":true} 
[2026-08-08 21:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268736000001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456045366214656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972929701457891328,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:46] 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-08-08 21:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786206000000,"timestamp_ms":1786206000000,"timestamp_seconds":1786206000,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22c9380"} 
[2026-08-08 21:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-08 21:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268736000001,"66":13461,"245":206,"85":15104,"24":0,"16":116456045366214656,"45":8972929701457891328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268736000001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456045366214656,"km_value":116456045366214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972929701457891328,"description":"Unknown IO ID 45"} 
[2026-08-08 21:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268736000001,"power":13461,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8972929701457891328}} 
[2026-08-08 21:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":150850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:46] local.INFO: GPS data processed {"connection_id":150850,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:46] local.INFO: Acknowledgment sent {"connection_id":150850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:50:47] local.INFO: TCP Data received {"connection_id":150851,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:50:47] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:50:47] local.INFO: Packet analysis {"connection_id":150851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:50:47] local.INFO: Extracted packet for processing {"connection_id":150851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:50:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":150851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:50:47] local.INFO: GPS data processed {"connection_id":150851,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:50:47] local.INFO: Acknowledgment sent {"connection_id":150851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:51:04] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:51:04] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:51:04] local.INFO: IMEI packet received {"connection_id":150852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":150852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:51:11] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:51:11] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:51:11] local.INFO: IMEI packet received {"connection_id":150852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":150852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:51:12] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:51:12] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:51:12] local.INFO: Packet analysis {"connection_id":150852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:51:12] local.INFO: Extracted packet for processing {"connection_id":150852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:12] 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-08-08 21:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 21:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:51: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-08-08 21:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:51:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":150852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:51:12] local.INFO: GPS data processed {"connection_id":150852,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:51:12] local.INFO: Acknowledgment sent {"connection_id":150852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:51:18] local.INFO: TCP Data received {"connection_id":150851,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:51:18] local.INFO: Processing buffer {"connection_id":150851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:51:18] local.INFO: Packet analysis {"connection_id":150851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:51:18] local.INFO: Extracted packet for processing {"connection_id":150851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":150851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:51:18] local.INFO: GPS data processed {"connection_id":150851,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:51:18] local.INFO: Acknowledgment sent {"connection_id":150851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:51:31] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:51:31] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:51:31] local.INFO: IMEI packet received {"connection_id":153227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":153227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:51:36] local.INFO: TCP Data received {"connection_id":150853,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:51:36] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:51:36] local.INFO: IMEI packet received {"connection_id":150853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":150853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:51:36] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:51:36] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:51:36] local.INFO: IMEI packet received {"connection_id":153227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":153227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:51:37] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:51:37] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22c9380012d7c864005d9f310000700a52b..."} 
[2026-08-08 21:51:37] local.INFO: Packet analysis {"connection_id":153227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:51:37] local.INFO: Extracted packet for processing {"connection_id":153227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22c"} 
[2026-08-08 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763135552,"raw_latitude":98169616,"longitude_deg":76.3135552,"latitude_deg":9.8169616,"altitude":7,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7c8640","hex_latitude":"05d9f310","is_valid_coordinates":true} 
[2026-08-08 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268736000001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456045366214656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972929701457891328,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:37] 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-08-08 21:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786206000000,"timestamp_ms":1786206000000,"timestamp_seconds":1786206000,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22c9380"} 
[2026-08-08 21:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-08 21:51: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-08-08 21:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:51: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-08-08 21:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268736000001,"66":13461,"245":206,"85":15104,"24":0,"16":116456045366214656,"45":8972929701457891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268736000001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456045366214656,"km_value":116456045366214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972929701457891328,"description":"Unknown IO ID 45"} 
[2026-08-08 21:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268736000001,"power":13461,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8972929701457891328}} 
[2026-08-08 21:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":153227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:51:37] local.INFO: GPS data processed {"connection_id":153227,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:51:37] local.INFO: Acknowledgment sent {"connection_id":153227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:51:41] local.INFO: TCP Data received {"connection_id":150853,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:51:41] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:51:41] local.INFO: IMEI packet received {"connection_id":150853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":150853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:51:42] local.INFO: TCP Data received {"connection_id":150853,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:51:42] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:51:42] local.INFO: Packet analysis {"connection_id":150853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:51:42] local.INFO: Extracted packet for processing {"connection_id":150853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51: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-08-08 21:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:51: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-08-08 21:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":150853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:51:42] local.INFO: GPS data processed {"connection_id":150853,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:51:42] local.INFO: Acknowledgment sent {"connection_id":150853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:51:43] local.INFO: TCP Data received {"connection_id":150852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:51:43] local.INFO: Processing buffer {"connection_id":150852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:51:43] local.INFO: Packet analysis {"connection_id":150852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:51:43] local.INFO: Extracted packet for processing {"connection_id":150852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:51:43] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:51:43] 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-08-08 21:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 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-08-08 21:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:51: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-08-08 21:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:51:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":150852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:51:43] local.INFO: GPS data processed {"connection_id":150852,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:51:43] local.INFO: Acknowledgment sent {"connection_id":150852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:52:03] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:52:03] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:52:03] local.INFO: IMEI packet received {"connection_id":151752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":151752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:52:08] local.INFO: TCP Data received {"connection_id":153227,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e73f8012d7c84c005d9f2e8000700a52a..."} 
[2026-08-08 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e73f8012d7c84c005d9f2e8000700a52a..."} 
[2026-08-08 21:52:08] local.INFO: Processing buffer {"connection_id":153227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e73f8012d7c84c005d9f2e8000700a52a..."} 
[2026-08-08 21:52:08] local.INFO: Packet analysis {"connection_id":153227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:52:08] local.INFO: Extracted packet for processing {"connection_id":153227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":98169576,"longitude_deg":76.3135168,"latitude_deg":9.8169576,"altitude":7,"angle":165,"satellites":42,"speed":0,"hex_longitude":"2d7c84c0","hex_latitude":"05d9f2e8","is_valid_coordinates":true} 
[2026-08-08 21:52: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-08-08 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268736000001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456045366214656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972929701457891328,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:08] 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-08-08 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786206123000,"timestamp_ms":1786206123000,"timestamp_seconds":1786206123,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e73f8"} 
[2026-08-08 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-08 21:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21: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-08-08 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268736000001,"66":13243,"245":206,"85":15104,"24":0,"16":116456045366214656,"45":8972929701457891328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268736000001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456045366214656,"km_value":116456045366214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972929701457891328,"description":"Unknown IO ID 45"} 
[2026-08-08 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268736000001,"power":13243,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8972929701457891328}} 
[2026-08-08 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":153227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:52:08] local.INFO: GPS data processed {"connection_id":153227,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:52:08] local.INFO: Acknowledgment sent {"connection_id":153227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:52:09] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:52:09] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:52:09] local.INFO: IMEI packet received {"connection_id":151752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:52:10] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:52:10] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2298e10012ceb0780071a3af0001a01212a..."} 
[2026-08-08 21:52:10] local.INFO: Packet analysis {"connection_id":151752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:52:10] local.INFO: Extracted packet for processing {"connection_id":151752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe229"} 
[2026-08-08 21:52:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268608256001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:10] 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-08-08 21:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786205802000,"timestamp_ms":1786205802000,"timestamp_seconds":1786205802,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2298e10"} 
[2026-08-08 21:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-08 21:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:52: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-08-08 21:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268608256001,"66":25734,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268608256001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:52:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268608256001,"power":25734,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":151752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:52:10] local.INFO: GPS data processed {"connection_id":151752,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:52:10] local.INFO: Acknowledgment sent {"connection_id":151752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:52:13] local.INFO: TCP Data received {"connection_id":150853,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:52:13] local.INFO: Processing buffer {"connection_id":150853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:52:13] local.INFO: Packet analysis {"connection_id":150853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:52:13] local.INFO: Extracted packet for processing {"connection_id":150853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:52:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:52:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":150853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:52:14] local.INFO: GPS data processed {"connection_id":150853,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:52:14] local.INFO: Acknowledgment sent {"connection_id":150853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:52:31] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:52:31] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:52:31] local.INFO: IMEI packet received {"connection_id":150543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":150543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:52:35] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:52:35] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:52:35] local.INFO: IMEI packet received {"connection_id":150543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":150543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:52:35] local.INFO: TCP Data received {"connection_id":150544,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:52:35] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:52:35] local.INFO: IMEI packet received {"connection_id":150544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":150544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:52:36] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e73f8012d7c84c005d9f2e8000700a52a..."} 
[2026-08-08 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e73f8012d7c84c005d9f2e8000700a52a..."} 
[2026-08-08 21:52:36] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e73f8012d7c84c005d9f2e8000700a52a..."} 
[2026-08-08 21:52:36] local.INFO: Packet analysis {"connection_id":150543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:52:36] local.INFO: Extracted packet for processing {"connection_id":150543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763135168,"raw_latitude":98169576,"longitude_deg":76.3135168,"latitude_deg":9.8169576,"altitude":7,"angle":165,"satellites":42,"speed":0,"hex_longitude":"2d7c84c0","hex_latitude":"05d9f2e8","is_valid_coordinates":true} 
[2026-08-08 21:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268767488001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456045366214656,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972507488992815104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:36] 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-08-08 21:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786206123000,"timestamp_ms":1786206123000,"timestamp_seconds":1786206123,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e73f8"} 
[2026-08-08 21:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:52: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-08-08 21: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 21:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":150543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":150543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":150543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:52: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-08-08 21:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268767488001,"66":13243,"245":206,"85":15104,"24":0,"16":116456045366214656,"45":8972507488992815104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268767488001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456045366214656,"km_value":116456045366214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972507488992815104,"description":"Unknown IO ID 45"} 
[2026-08-08 21:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268767488001,"power":13243,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8972507488992815104}} 
[2026-08-08 21:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":150543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:52:36] local.INFO: GPS data processed {"connection_id":150543,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:52:36] local.INFO: Acknowledgment sent {"connection_id":150543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:52:40] local.INFO: TCP Data received {"connection_id":151752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:52:40] local.INFO: Processing buffer {"connection_id":151752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:52:40] local.INFO: Packet analysis {"connection_id":151752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:52:40] local.INFO: Extracted packet for processing {"connection_id":151752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52: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-08-08 21:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 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-08-08 21:52: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-08-08 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:52:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":151752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:52:40] local.INFO: GPS data processed {"connection_id":151752,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:52:40] local.INFO: Acknowledgment sent {"connection_id":151752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:52:41] local.INFO: TCP Data received {"connection_id":150544,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:52:41] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:52:41] local.INFO: IMEI packet received {"connection_id":150544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":150544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:52:42] local.INFO: TCP Data received {"connection_id":150544,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:52:42] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22a5930012d196a80071fef680042011725..."} 
[2026-08-08 21:52:42] local.INFO: Packet analysis {"connection_id":150544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:52:42] local.INFO: Extracted packet for processing {"connection_id":150544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22a"} 
[2026-08-08 21:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":66,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268621568001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:52: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-08-08 21:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786205854000,"timestamp_ms":1786205854000,"timestamp_seconds":1786205854,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22a5930"} 
[2026-08-08 21:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 21:52: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-08-08 21:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268621568001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268621568001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:52:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268621568001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":150544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:52:42] local.INFO: GPS data processed {"connection_id":150544,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:52:42] local.INFO: Acknowledgment sent {"connection_id":150544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:53:04] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:53:04] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:53:04] local.INFO: IMEI packet received {"connection_id":151753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:53:07] local.INFO: TCP Data received {"connection_id":150543,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e9ef0012d7c874005d9efc00006001129..."} 
[2026-08-08 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e9ef0012d7c874005d9efc00006001129..."} 
[2026-08-08 21:53:07] local.INFO: Processing buffer {"connection_id":150543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e9ef0012d7c874005d9efc00006001129..."} 
[2026-08-08 21:53:07] local.INFO: Packet analysis {"connection_id":150543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:07] local.INFO: Extracted packet for processing {"connection_id":150543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98168768,"longitude_deg":76.3135808,"latitude_deg":9.8168768,"altitude":6,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d7c8740","hex_latitude":"05d9efc0","is_valid_coordinates":true} 
[2026-08-08 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268767488001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456088315887616,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972507488992815104,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53: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-08-08 21:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786206134000,"timestamp_ms":1786206134000,"timestamp_seconds":1786206134,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e9ef0"} 
[2026-08-08 21:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-08 21:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:53: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-08-08 21:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268767488001,"66":12461,"245":206,"85":15104,"24":0,"16":116456088315887616,"45":8972507488992815104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268767488001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456088315887616,"km_value":116456088315887.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972507488992815104,"description":"Unknown IO ID 45"} 
[2026-08-08 21:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268767488001,"power":12461,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8972507488992815104}} 
[2026-08-08 21:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":150543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:53:07] local.INFO: GPS data processed {"connection_id":150543,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:53:07] local.INFO: Acknowledgment sent {"connection_id":150543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:53:09] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:53:09] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:53:09] local.INFO: IMEI packet received {"connection_id":151753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":151753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:53:10] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:53:10] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:53:10] local.INFO: Packet analysis {"connection_id":151753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:10] local.INFO: Extracted packet for processing {"connection_id":151753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:10] 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-08-08 21:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:53: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-08-08 21: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-08-08 21: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-08-08 21:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:53: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-08-08 21:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":151753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:53:10] local.INFO: GPS data processed {"connection_id":151753,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:53:10] local.INFO: Acknowledgment sent {"connection_id":151753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:53:14] local.INFO: TCP Data received {"connection_id":150544,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:53:14] local.INFO: Processing buffer {"connection_id":150544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:53:14] local.INFO: Packet analysis {"connection_id":150544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:14] local.INFO: Extracted packet for processing {"connection_id":150544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:53:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":150544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:53:14] local.INFO: GPS data processed {"connection_id":150544,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:53:14] local.INFO: Acknowledgment sent {"connection_id":150544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:53:31] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:31] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:31] local.INFO: IMEI packet received {"connection_id":150854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":150854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:53:32] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:32] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:32] local.INFO: IMEI packet received {"connection_id":150854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":150854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:53:34] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:34] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:34] local.INFO: IMEI packet received {"connection_id":150854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":150854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:53:36] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:36] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:53:36] local.INFO: IMEI packet received {"connection_id":150854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":150854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:53:37] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22eed10012d7c874005d9efc8000600112b..."} 
[2026-08-08 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22eed10012d7c874005d9efc8000600112b..."} 
[2026-08-08 21:53:37] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22eed10012d7c874005d9efc8000600112b..."} 
[2026-08-08 21:53:37] local.INFO: Packet analysis {"connection_id":150854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:37] local.INFO: Extracted packet for processing {"connection_id":150854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98168776,"longitude_deg":76.3135808,"latitude_deg":9.8168776,"altitude":6,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d7c8740","hex_latitude":"05d9efc8","is_valid_coordinates":true} 
[2026-08-08 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268770304001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456088315887616,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176434384896,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:37] 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-08-08 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786206154000,"timestamp_ms":1786206154000,"timestamp_seconds":1786206154,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22eed10"} 
[2026-08-08 21:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":173,"data_length":795,"current_offset":136} 
[2026-08-08 21:53: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-08-08 21:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:53: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-08-08 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268770304001,"66":12917,"245":206,"85":15104,"24":0,"16":116456088315887616,"45":8973211176434384896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268770304001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456088315887616,"km_value":116456088315887.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176434384896,"description":"Unknown IO ID 45"} 
[2026-08-08 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268770304001,"power":12917,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973211176434384896}} 
[2026-08-08 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":150854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:53:37] local.INFO: GPS data processed {"connection_id":150854,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:53:37] local.INFO: Acknowledgment sent {"connection_id":150854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:53:41] local.INFO: TCP Data received {"connection_id":151753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:53:41] local.INFO: Processing buffer {"connection_id":151753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:53:41] local.INFO: Packet analysis {"connection_id":151753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:41] local.INFO: Extracted packet for processing {"connection_id":151753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53: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-08-08 21:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:53: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-08-08 21: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":134,"data_length":795,"current_offset":136} 
[2026-08-08 21:53: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-08-08 21:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:53: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-08-08 21:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":151753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:53:41] local.INFO: GPS data processed {"connection_id":151753,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:53:41] local.INFO: Acknowledgment sent {"connection_id":151753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:53:41] local.INFO: TCP Data received {"connection_id":150545,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:53:41] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:53:41] local.INFO: IMEI packet received {"connection_id":150545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":150545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:53:46] local.INFO: TCP Data received {"connection_id":150545,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:53:46] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:53:46] local.INFO: IMEI packet received {"connection_id":150545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":150545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:53:47] local.INFO: TCP Data received {"connection_id":150545,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:53:47] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:53:47] local.INFO: Packet analysis {"connection_id":150545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:47] local.INFO: Extracted packet for processing {"connection_id":150545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:53: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-08-08 21:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:53:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":150545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:53:47] local.INFO: GPS data processed {"connection_id":150545,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:53:47] local.INFO: Acknowledgment sent {"connection_id":150545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:04] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:54:04] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:54:04] local.INFO: IMEI packet received {"connection_id":153228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":153228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:54:08] local.INFO: TCP Data received {"connection_id":150854,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22f3f18012d7c874005d9efc80006001124..."} 
[2026-08-08 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22f3f18012d7c874005d9efc80006001124..."} 
[2026-08-08 21:54:08] local.INFO: Processing buffer {"connection_id":150854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22f3f18012d7c874005d9efc80006001124..."} 
[2026-08-08 21:54:08] local.INFO: Packet analysis {"connection_id":150854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22f"} 
[2026-08-08 21:54:08] local.INFO: Extracted packet for processing {"connection_id":150854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22f"} 
[2026-08-08 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98168776,"longitude_deg":76.3135808,"latitude_deg":9.8168776,"altitude":6,"angle":17,"satellites":36,"speed":0,"hex_longitude":"2d7c8740","hex_latitude":"05d9efc8","is_valid_coordinates":true} 
[2026-08-08 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775424001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456088315887616,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176434386944,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:08] 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-08-08 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786206175000,"timestamp_ms":1786206175000,"timestamp_seconds":1786206175,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22f3f18"} 
[2026-08-08 21:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:54: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-08-08 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-08 21:54: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-08-08 21:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:54: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-08-08 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775424001,"66":12885,"245":206,"85":15104,"24":0,"16":116456088315887616,"45":8973211176434386944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775424001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456088315887616,"km_value":116456088315887.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176434386944,"description":"Unknown IO ID 45"} 
[2026-08-08 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775424001,"power":12885,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973211176434386944}} 
[2026-08-08 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":150854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:08] local.INFO: GPS data processed {"connection_id":150854,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:08] local.INFO: Acknowledgment sent {"connection_id":150854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:09] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:54:09] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:54:09] local.INFO: IMEI packet received {"connection_id":153228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":153228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:54:10] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:54:10] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:54:10] local.INFO: Packet analysis {"connection_id":153228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:10] local.INFO: Extracted packet for processing {"connection_id":153228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:10] 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-08-08 21:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:54: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-08-08 21:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":153228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:10] local.INFO: GPS data processed {"connection_id":153228,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:10] local.INFO: Acknowledgment sent {"connection_id":153228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:19] local.INFO: TCP Data received {"connection_id":150545,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:54:19] local.INFO: Processing buffer {"connection_id":150545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:54:19] local.INFO: Packet analysis {"connection_id":150545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:19] local.INFO: Extracted packet for processing {"connection_id":150545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":150545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:19] local.INFO: GPS data processed {"connection_id":150545,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:19] local.INFO: Acknowledgment sent {"connection_id":150545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:31] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:31] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:31] local.INFO: IMEI packet received {"connection_id":153229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":153229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:54:35] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:35] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:35] local.INFO: IMEI packet received {"connection_id":153229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":153229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:54:36] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:36] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:54:36] local.INFO: IMEI packet received {"connection_id":153229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":153229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:54:36] local.INFO: TCP Data received {"connection_id":150546,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:54:36] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:54:36] local.INFO: IMEI packet received {"connection_id":150546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":150546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:54:36] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22f9120012d7c874005d9efc80006001126..."} 
[2026-08-08 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22f9120012d7c874005d9efc80006001126..."} 
[2026-08-08 21:54:36] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22f9120012d7c874005d9efc80006001126..."} 
[2026-08-08 21:54:36] local.INFO: Packet analysis {"connection_id":153229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22f"} 
[2026-08-08 21:54:36] local.INFO: Extracted packet for processing {"connection_id":153229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22f"} 
[2026-08-08 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98168776,"longitude_deg":76.3135808,"latitude_deg":9.8168776,"altitude":6,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d7c8740","hex_latitude":"05d9efc8","is_valid_coordinates":true} 
[2026-08-08 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268780800001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456088315887616,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176434386944,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:36] 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-08-08 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1786206196000,"timestamp_ms":1786206196000,"timestamp_seconds":1786206196,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22f9120"} 
[2026-08-08 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:54: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-08-08 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-08 21:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":153229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":153229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":153229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:54: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-08-08 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268780800001,"66":12798,"245":206,"85":15104,"24":0,"16":116456088315887616,"45":8973211176434386944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268780800001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456088315887616,"km_value":116456088315887.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176434386944,"description":"Unknown IO ID 45"} 
[2026-08-08 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268780800001,"power":12798,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973211176434386944}} 
[2026-08-08 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":153229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:36] local.INFO: GPS data processed {"connection_id":153229,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:36] local.INFO: Acknowledgment sent {"connection_id":153229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:41] local.INFO: TCP Data received {"connection_id":153228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:54:41] local.INFO: Processing buffer {"connection_id":153228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:54:41] local.INFO: Packet analysis {"connection_id":153228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:41] local.INFO: Extracted packet for processing {"connection_id":153228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54: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-08-08 21:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21:54: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-08-08 21:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":153228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:41] local.INFO: GPS data processed {"connection_id":153228,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:41] local.INFO: Acknowledgment sent {"connection_id":153228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:41] local.INFO: TCP Data received {"connection_id":150546,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:54:41] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:54:41] local.INFO: IMEI packet received {"connection_id":150546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":150546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:54:41] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22fcbb8012d7c86c005d9ee98000d00e82b..."} 
[2026-08-08 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22fcbb8012d7c86c005d9ee98000d00e82b..."} 
[2026-08-08 21:54:41] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22fcbb8012d7c86c005d9ee98000d00e82b..."} 
[2026-08-08 21:54:41] local.INFO: Packet analysis {"connection_id":153229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22f"} 
[2026-08-08 21:54:41] local.INFO: Extracted packet for processing {"connection_id":153229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22f"} 
[2026-08-08 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763135680,"raw_latitude":98168472,"longitude_deg":76.313568,"latitude_deg":9.8168472,"altitude":13,"angle":232,"satellites":43,"speed":5,"hex_longitude":"2d7c86c0","hex_latitude":"05d9ee98","is_valid_coordinates":true} 
[2026-08-08 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268786176001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116456105495756800,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176434386944,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:41] 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-08-08 21:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206211000,"timestamp_ms":1786206211000,"timestamp_seconds":1786206211,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22fcbb8"} 
[2026-08-08 21:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:54: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-08-08 21:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-08 21:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:54: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-08-08 21:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268786176001,"66":11178,"245":206,"85":15104,"24":5,"16":116456105495756800,"45":8973211176434386944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268786176001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116456105495756800,"km_value":116456105495756.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176434386944,"description":"Unknown IO ID 45"} 
[2026-08-08 21:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268786176001,"power":11178,"geofence_id":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8973211176434386944}} 
[2026-08-08 21:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":153229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:41] local.INFO: GPS data processed {"connection_id":153229,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:41] local.INFO: Acknowledgment sent {"connection_id":153229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:54:42] local.INFO: TCP Data received {"connection_id":150546,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:54:42] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:54:42] local.INFO: Packet analysis {"connection_id":150546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:42] local.INFO: Extracted packet for processing {"connection_id":150546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:54: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-08-08 21:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:54: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-08-08 21: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-08-08 21:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":150546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:54:42] local.INFO: GPS data processed {"connection_id":150546,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:54:42] local.INFO: Acknowledgment sent {"connection_id":150546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:04] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:55:04] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:55:04] local.INFO: IMEI packet received {"connection_id":150547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":150547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:55:09] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:55:09] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:55:09] local.INFO: IMEI packet received {"connection_id":150547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":150547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:55:10] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:55:10] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:55:10] local.INFO: Packet analysis {"connection_id":150547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:10] local.INFO: Extracted packet for processing {"connection_id":150547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:10] 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-08-08 21:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:55: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-08-08 21:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":150547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:10] local.INFO: GPS data processed {"connection_id":150547,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:10] local.INFO: Acknowledgment sent {"connection_id":150547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:12] local.INFO: TCP Data received {"connection_id":153229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2310c08012d7c8e0005d93098000200ad22..."} 
[2026-08-08 21:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2310c08012d7c8e0005d93098000200ad22..."} 
[2026-08-08 21:55:12] local.INFO: Processing buffer {"connection_id":153229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2310c08012d7c8e0005d93098000200ad22..."} 
[2026-08-08 21:55:12] local.INFO: Packet analysis {"connection_id":153229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:55:12] local.INFO: Extracted packet for processing {"connection_id":153229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":98119832,"longitude_deg":76.3137536,"latitude_deg":9.8119832,"altitude":2,"angle":173,"satellites":34,"speed":43,"hex_longitude":"2d7c8e00","hex_latitude":"05d93098","is_valid_coordinates":true} 
[2026-08-08 21:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268808704001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116458579396919296,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707586963456,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:12] 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-08-08 21:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786206293000,"timestamp_ms":1786206293000,"timestamp_seconds":1786206293,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2310c08"} 
[2026-08-08 21:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 21:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:55: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-08-08 21:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268808704001,"66":12058,"245":206,"85":15104,"24":43,"16":116458579396919296,"45":8974266707586963456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268808704001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116458579396919296,"km_value":116458579396919.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707586963456,"description":"Unknown IO ID 45"} 
[2026-08-08 21:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268808704001,"power":12058,"geofence_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8974266707586963456}} 
[2026-08-08 21:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":153229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:13] local.INFO: GPS data processed {"connection_id":153229,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:13] local.INFO: Acknowledgment sent {"connection_id":153229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:14] local.INFO: TCP Data received {"connection_id":150546,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:55:14] local.INFO: Processing buffer {"connection_id":150546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:55:14] local.INFO: Packet analysis {"connection_id":150546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:14] local.INFO: Extracted packet for processing {"connection_id":150546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":150546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:14] local.INFO: GPS data processed {"connection_id":150546,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:14] local.INFO: Acknowledgment sent {"connection_id":150546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:35] local.INFO: TCP Data received {"connection_id":150548,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:55:35] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:55:35] local.INFO: IMEI packet received {"connection_id":150548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":150548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:55:36] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:55:36] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:55:36] local.INFO: IMEI packet received {"connection_id":153230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":153230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:55:37] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:55:37] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:55:37] local.INFO: IMEI packet received {"connection_id":153230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":153230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:55:38] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2312b48012d7c918005d90df8000100af23..."} 
[2026-08-08 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2312b48012d7c918005d90df8000100af23..."} 
[2026-08-08 21:55:38] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2312b48012d7c918005d90df8000100af23..."} 
[2026-08-08 21:55:38] local.INFO: Packet analysis {"connection_id":153230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:55:38] local.INFO: Extracted packet for processing {"connection_id":153230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763138432,"raw_latitude":98110968,"longitude_deg":76.3138432,"latitude_deg":9.8110968,"altitude":1,"angle":175,"satellites":35,"speed":44,"hex_longitude":"2d7c9180","hex_latitude":"05d90df8","is_valid_coordinates":true} 
[2026-08-08 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268811008001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116459013188616192,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132514654208,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:38] 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-08-08 21:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786206301000,"timestamp_ms":1786206301000,"timestamp_seconds":1786206301,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2312b48"} 
[2026-08-08 21:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:55: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-08-08 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-08 21:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":153230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":153230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":153230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:55: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-08-08 21:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268811008001,"66":12113,"245":206,"85":15104,"24":44,"16":116459013188616192,"45":8975111132514654208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-08 21:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268811008001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116459013188616192,"km_value":116459013188616.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132514654208,"description":"Unknown IO ID 45"} 
[2026-08-08 21:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268811008001,"power":12113,"geofence_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8975111132514654208}} 
[2026-08-08 21:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":153230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:38] local.INFO: GPS data processed {"connection_id":153230,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:38] local.INFO: Acknowledgment sent {"connection_id":153230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:41] local.INFO: TCP Data received {"connection_id":150547,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:55:41] local.INFO: Processing buffer {"connection_id":150547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:55:41] local.INFO: Packet analysis {"connection_id":150547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:41] local.INFO: Extracted packet for processing {"connection_id":150547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55: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-08-08 21:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21: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-08-08 21:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:55: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-08-08 21:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":150547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:41] local.INFO: GPS data processed {"connection_id":150547,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:41] local.INFO: Acknowledgment sent {"connection_id":150547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:41] local.INFO: TCP Data received {"connection_id":150548,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:55:41] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:55:41] local.INFO: IMEI packet received {"connection_id":150548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":150548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:55:42] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2314e70012d7c94c005d8e7e0000000af26..."} 
[2026-08-08 21:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2314e70012d7c94c005d8e7e0000000af26..."} 
[2026-08-08 21:55:42] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2314e70012d7c94c005d8e7e0000000af26..."} 
[2026-08-08 21:55:42] local.INFO: Packet analysis {"connection_id":153230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:55:42] local.INFO: Extracted packet for processing {"connection_id":153230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763139264,"raw_latitude":98101216,"longitude_deg":76.3139264,"latitude_deg":9.8101216,"altitude":0,"angle":175,"satellites":38,"speed":43,"hex_longitude":"2d7c94c0","hex_latitude":"05d8e7e0","is_valid_coordinates":true} 
[2026-08-08 21:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268813056001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116459489929986048,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976096294930872320,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:42] 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-08-08 21:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206310000,"timestamp_ms":1786206310000,"timestamp_seconds":1786206310,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2314e70"} 
[2026-08-08 21:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-08 21:55: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-08-08 21:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:55:42] 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-08-08 21:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268813056001,"66":12135,"244":206,"85":15104,"24":43,"16":116459489929986048,"45":8976096294930872320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268813056001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116459489929986048,"km_value":116459489929986.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976096294930872320,"description":"Unknown IO ID 45"} 
[2026-08-08 21:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268813056001,"power":12135,"unknown_244":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8976096294930872320}} 
[2026-08-08 21:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":153230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:42] local.INFO: GPS data processed {"connection_id":153230,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:42] local.INFO: Acknowledgment sent {"connection_id":153230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:55:42] local.INFO: TCP Data received {"connection_id":150548,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:55:42] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:55:42] local.INFO: Packet analysis {"connection_id":150548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:42] local.INFO: Extracted packet for processing {"connection_id":150548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:55: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-08-08 21:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:55: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-08-08 21:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":150548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:55:42] local.INFO: GPS data processed {"connection_id":150548,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:55:42] local.INFO: Acknowledgment sent {"connection_id":150548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:56:04] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:56:04] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:56:04] local.INFO: IMEI packet received {"connection_id":150549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":150549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:56:09] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:56:09] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:56:09] local.INFO: IMEI packet received {"connection_id":150549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":150549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:56:12] local.INFO: TCP Data received {"connection_id":153230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2317198012d7c984005d8c190000000ae26..."} 
[2026-08-08 21:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2317198012d7c984005d8c190000000ae26..."} 
[2026-08-08 21:56:12] local.INFO: Processing buffer {"connection_id":153230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2317198012d7c984005d8c190000000ae26..."} 
[2026-08-08 21:56:12] local.INFO: Packet analysis {"connection_id":153230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:56:12] local.INFO: Extracted packet for processing {"connection_id":153230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763140160,"raw_latitude":98091408,"longitude_deg":76.314016,"latitude_deg":9.8091408,"altitude":0,"angle":174,"satellites":38,"speed":42,"hex_longitude":"2d7c9840","hex_latitude":"05d8c190","is_valid_coordinates":true} 
[2026-08-08 21:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268815360001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116459966671355904,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977011088602685440,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:12] 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-08-08 21:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786206319000,"timestamp_ms":1786206319000,"timestamp_seconds":1786206319,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2317198"} 
[2026-08-08 21:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 21:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":153230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":153230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":153230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:56: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-08-08 21:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268815360001,"66":11721,"244":206,"85":15104,"24":42,"16":116459966671355904,"45":8977011088602685440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-08 21:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268815360001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:56:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-08 21:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116459966671355904,"km_value":116459966671355.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977011088602685440,"description":"Unknown IO ID 45"} 
[2026-08-08 21:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268815360001,"power":11721,"unknown_244":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8977011088602685440}} 
[2026-08-08 21:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":153230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:56:12] local.INFO: GPS data processed {"connection_id":153230,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:56:12] local.INFO: Acknowledgment sent {"connection_id":153230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:56:13] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:56:13] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:56:13] local.INFO: Packet analysis {"connection_id":150549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:13] local.INFO: Extracted packet for processing {"connection_id":150549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56: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-08-08 21:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:56: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-08-08 21:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:56:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":150549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:56:13] local.INFO: GPS data processed {"connection_id":150549,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:56:13] local.INFO: Acknowledgment sent {"connection_id":150549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:56:14] local.INFO: TCP Data received {"connection_id":150548,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:56:14] local.INFO: Processing buffer {"connection_id":150548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:56:14] local.INFO: Packet analysis {"connection_id":150548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:14] local.INFO: Extracted packet for processing {"connection_id":150548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 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-08-08 21:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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-08-08 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-08-08 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-08-08 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-08-08 21:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:56:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":150548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:56:14] local.INFO: GPS data processed {"connection_id":150548,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:56:14] local.INFO: Acknowledgment sent {"connection_id":150548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:56:31] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:56:31] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:56:31] local.INFO: IMEI packet received {"connection_id":150855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":150855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:56:33] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:56:33] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:56:33] local.INFO: IMEI packet received {"connection_id":150855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":150855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:56:34] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23194c0012d7c9b4005d89bc0000000af24..."} 
[2026-08-08 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23194c0012d7c9b4005d89bc0000000af24..."} 
[2026-08-08 21:56:34] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23194c0012d7c9b4005d89bc0000000af24..."} 
[2026-08-08 21:56:34] local.INFO: Packet analysis {"connection_id":150855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:56:34] local.INFO: Extracted packet for processing {"connection_id":150855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763140928,"raw_latitude":98081728,"longitude_deg":76.3140928,"latitude_deg":9.8081728,"altitude":0,"angle":175,"satellites":36,"speed":43,"hex_longitude":"2d7c9b40","hex_latitude":"05d89bc0","is_valid_coordinates":true} 
[2026-08-08 21:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268817664001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116460434822791168,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977996251018661888,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:34] 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-08-08 21:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1786206328000,"timestamp_ms":1786206328000,"timestamp_seconds":1786206328,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23194c0"} 
[2026-08-08 21:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 21:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":150855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":150855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":150855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:56:34] 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-08-08 21:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268817664001,"66":12015,"244":206,"85":15104,"24":43,"16":116460434822791168,"45":8977996251018661888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-08 21:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268817664001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:56:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-08 21:56:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116460434822791168,"km_value":116460434822791.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977996251018661888,"description":"Unknown IO ID 45"} 
[2026-08-08 21:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268817664001,"power":12015,"unknown_244":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8977996251018661888}} 
[2026-08-08 21:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":150855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:56:34] local.INFO: GPS data processed {"connection_id":150855,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:56:34] local.INFO: Acknowledgment sent {"connection_id":150855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:56:35] local.INFO: TCP Data received {"connection_id":150550,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:56:35] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:56:35] local.INFO: IMEI packet received {"connection_id":150550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":150550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:56:41] local.INFO: TCP Data received {"connection_id":150550,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:56:41] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:56:41] local.INFO: IMEI packet received {"connection_id":150550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":150550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:56:42] local.INFO: TCP Data received {"connection_id":150550,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:56:42] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:56:42] local.INFO: Packet analysis {"connection_id":150550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:42] local.INFO: Extracted packet for processing {"connection_id":150550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56: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-08-08 21:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:56: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-08-08 21:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:56:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":150550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:56:42] local.INFO: GPS data processed {"connection_id":150550,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:56:42] local.INFO: Acknowledgment sent {"connection_id":150550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:56:48] local.INFO: TCP Data received {"connection_id":150549,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:56:48] local.INFO: Processing buffer {"connection_id":150549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:56:48] local.INFO: Packet analysis {"connection_id":150549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:48] local.INFO: Extracted packet for processing {"connection_id":150549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:56:48] 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-08-08 21:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-08 21:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:56:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":150549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:56:48] local.INFO: GPS data processed {"connection_id":150549,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:56:48] local.INFO: Acknowledgment sent {"connection_id":150549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:57:04] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:57:04] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:57:04] local.INFO: IMEI packet received {"connection_id":150551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":150551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:57:05] local.INFO: TCP Data received {"connection_id":150855,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe231b400012d7c9cc005d87920000000b122..."} 
[2026-08-08 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe231b400012d7c9cc005d87920000000b122..."} 
[2026-08-08 21:57:05] local.INFO: Processing buffer {"connection_id":150855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe231b400012d7c9cc005d87920000000b122..."} 
[2026-08-08 21:57:05] local.INFO: Packet analysis {"connection_id":150855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:57:05] local.INFO: Extracted packet for processing {"connection_id":150855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe231"} 
[2026-08-08 21:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763141312,"raw_latitude":98072864,"longitude_deg":76.3141312,"latitude_deg":9.8072864,"altitude":0,"angle":177,"satellites":34,"speed":44,"hex_longitude":"2d7c9cc0","hex_latitude":"05d87920","is_valid_coordinates":true} 
[2026-08-08 21:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268819968001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116460868614488064,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978840675946315776,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1786206336000,"timestamp_ms":1786206336000,"timestamp_seconds":1786206336,"priority":1,"record_length":96,"hex_timestamp":"0000019fe231b400"} 
[2026-08-08 21:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 21:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":150855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":150855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":150855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:57: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-08-08 21:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268819968001,"66":12004,"197":206,"85":15104,"24":44,"16":116460868614488064,"45":8978840675946315776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-08 21:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268819968001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116460868614488064,"km_value":116460868614488.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978840675946315776,"description":"Unknown IO ID 45"} 
[2026-08-08 21:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268819968001,"power":12004,"unknown_197":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8978840675946315776}} 
[2026-08-08 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":150855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:57:05] local.INFO: GPS data processed {"connection_id":150855,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:57:05] local.INFO: Acknowledgment sent {"connection_id":150855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:57:09] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:57:09] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:57:09] local.INFO: IMEI packet received {"connection_id":150551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":150551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:57:10] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:57:10] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22e25d8012ceb0780071a3af0001a01212b..."} 
[2026-08-08 21:57:10] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:10] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":26,"angle":289,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268685312001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:10] 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-08-08 21:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206103000,"timestamp_ms":1786206103000,"timestamp_seconds":1786206103,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22e25d8"} 
[2026-08-08 21:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:57: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-08-08 21: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-08-08 21: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-08-08 21:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268685312001,"66":25702,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268685312001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:57:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268685312001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:57:10] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:57:10] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:57:14] local.INFO: TCP Data received {"connection_id":150550,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:14] local.INFO: Processing buffer {"connection_id":150550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:14] local.INFO: Packet analysis {"connection_id":150550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:14] local.INFO: Extracted packet for processing {"connection_id":150550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:57:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":150550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:57:14] local.INFO: GPS data processed {"connection_id":150550,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:57:14] local.INFO: Acknowledgment sent {"connection_id":150550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:57:31] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:57:31] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:57:31] local.INFO: IMEI packet received {"connection_id":150856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":150856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:57:35] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:57:35] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:57:35] local.INFO: IMEI packet received {"connection_id":150856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":150856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:57:40] local.INFO: TCP Data received {"connection_id":150551,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:57:40] local.INFO: Processing buffer {"connection_id":150551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:57:40] local.INFO: Packet analysis {"connection_id":150551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:57:40] local.INFO: Extracted packet for processing {"connection_id":150551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:57:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21: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-08-08 21:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57: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-08-08 21:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 21:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:57: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-08-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 21:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21: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-08-08 21:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:57:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":150551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:57:40] local.INFO: GPS data processed {"connection_id":150551,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:57:40] local.INFO: Acknowledgment sent {"connection_id":150551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:57:41] local.INFO: TCP Data received {"connection_id":153231,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:57:41] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:57:41] local.INFO: IMEI packet received {"connection_id":153231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":153231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:57:46] local.INFO: TCP Data received {"connection_id":153231,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:57:46] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:57:46] local.INFO: IMEI packet received {"connection_id":153231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":153231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:57:47] local.INFO: TCP Data received {"connection_id":153231,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:47] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:47] local.INFO: Packet analysis {"connection_id":153231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:47] local.INFO: Extracted packet for processing {"connection_id":153231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:57: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-08-08 21:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:57:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:57:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":153231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:57:47] local.INFO: GPS data processed {"connection_id":153231,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:57:47] local.INFO: Acknowledgment sent {"connection_id":153231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:57:51] local.INFO: TCP Data received {"connection_id":153231,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:51] local.INFO: Processing buffer {"connection_id":153231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe22ef0f8012d196a80071fef680047011723..."} 
[2026-08-08 21:57:51] local.INFO: Packet analysis {"connection_id":153231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:51] local.INFO: Extracted packet for processing {"connection_id":153231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe22e"} 
[2026-08-08 21:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268698624001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786206155000,"timestamp_ms":1786206155000,"timestamp_seconds":1786206155,"priority":1,"record_length":96,"hex_timestamp":"0000019fe22ef0f8"} 
[2026-08-08 21:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268698624001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268698624001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:57:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:57:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268698624001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":153231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:57:51] local.INFO: GPS data processed {"connection_id":153231,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:57:51] local.INFO: Acknowledgment sent {"connection_id":153231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:04] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:58:04] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:58:04] local.INFO: IMEI packet received {"connection_id":150552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":150552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:58:09] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:58:09] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:58:09] local.INFO: IMEI packet received {"connection_id":150552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":150552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:58:13] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:13] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:13] local.INFO: Packet analysis {"connection_id":150552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:58:13] local.INFO: Extracted packet for processing {"connection_id":150552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58: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-08-08 21:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 21:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 21:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":150552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:13] local.INFO: GPS data processed {"connection_id":150552,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:13] local.INFO: Acknowledgment sent {"connection_id":150552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:14] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:14] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:14] local.INFO: Packet analysis {"connection_id":150552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:58:14] local.INFO: Extracted packet for processing {"connection_id":150552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:14] 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-08-08 21:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 21:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 21:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:58: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-08-08 21:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":150552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:14] local.INFO: GPS data processed {"connection_id":150552,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:14] local.INFO: Acknowledgment sent {"connection_id":150552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:36] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:58:36] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:58:36] local.INFO: IMEI packet received {"connection_id":150857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":150857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:58:36] local.INFO: TCP Data received {"connection_id":153232,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:58:36] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:58:36] local.INFO: IMEI packet received {"connection_id":153232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":153232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:58:37] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 21:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 21:58:37] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 21:58:37] local.INFO: IMEI packet received {"connection_id":150857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":150857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:58:38] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2337d08012d7cec0005d6a7f8000700ad24..."} 
[2026-08-08 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2337d08012d7cec0005d6a7f8000700ad24..."} 
[2026-08-08 21:58:38] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fe2..."} 
[2026-08-08 21:58:38] local.INFO: IMEI packet received {"connection_id":150857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":150857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:58:39] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2339c48012d7cef4005d68410000700ae25..."} 
[2026-08-08 21:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2339c48012d7cef4005d68410000700ae25..."} 
[2026-08-08 21:58:39] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe2337d08012d7cec0005d6a7f8000700ad24..."} 
[2026-08-08 21:58:39] local.INFO: Packet analysis {"connection_id":150857,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:39] local.INFO: Extracted packet for processing {"connection_id":150857,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763161600,"raw_latitude":97953784,"longitude_deg":76.31616,"latitude_deg":9.7953784,"altitude":7,"angle":173,"satellites":36,"speed":44,"hex_longitude":"2d7cec00","hex_latitude":"05d6a7f8","is_valid_coordinates":true} 
[2026-08-08 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268849920001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116466757014650880,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000092036657496064,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:39] 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-08-08 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786206453000,"timestamp_ms":1786206453000,"timestamp_seconds":1786206453,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2337d08"} 
[2026-08-08 21:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 21:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:58: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-08-08 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268849920001,"66":11080,"31":206,"85":15104,"24":44,"16":116466757014650880,"45":9000092036657496064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-08-08 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268849920001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116466757014650880,"km_value":116466757014650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000092036657496064,"description":"Unknown IO ID 45"} 
[2026-08-08 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268849920001,"power":11080,"unknown_31":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9000092036657496064}} 
[2026-08-08 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":150857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:39] local.INFO: GPS data processed {"connection_id":150857,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:39] local.INFO: Acknowledgment sent {"connection_id":150857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:39] local.INFO: Packet analysis {"connection_id":150857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:39] local.INFO: Extracted packet for processing {"connection_id":150857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763162432,"raw_latitude":97944592,"longitude_deg":76.3162432,"latitude_deg":9.7944592,"altitude":7,"angle":174,"satellites":37,"speed":48,"hex_longitude":"2d7cef40","hex_latitude":"05d68410","is_valid_coordinates":true} 
[2026-08-08 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268851968001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116467203691249664,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001569780282947584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:39] 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-08-08 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786206461000,"timestamp_ms":1786206461000,"timestamp_seconds":1786206461,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2339c48"} 
[2026-08-08 21:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-08 21:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":150857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:58: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-08-08 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268851968001,"66":12102,"31":206,"85":15104,"24":48,"16":116467203691249664,"45":9001569780282947584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-08-08 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268851968001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116467203691249664,"km_value":116467203691249.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001569780282947584,"description":"Unknown IO ID 45"} 
[2026-08-08 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268851968001,"power":12102,"unknown_31":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9001569780282947584}} 
[2026-08-08 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":150857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:39] local.INFO: GPS data processed {"connection_id":150857,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:39] local.INFO: Acknowledgment sent {"connection_id":150857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:41] local.INFO: TCP Data received {"connection_id":153232,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:58:41] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:58:41] local.INFO: IMEI packet received {"connection_id":153232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":153232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:58:41] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe233bb88012d7cf30005d65d10000800af21..."} 
[2026-08-08 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe233bb88012d7cf30005d65d10000800af21..."} 
[2026-08-08 21:58:41] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe233bb88012d7cf30005d65d10000800af21..."} 
[2026-08-08 21:58:41] local.INFO: Packet analysis {"connection_id":150857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:41] local.INFO: Extracted packet for processing {"connection_id":150857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763163392,"raw_latitude":97934608,"longitude_deg":76.3163392,"latitude_deg":9.7934608,"altitude":8,"angle":175,"satellites":33,"speed":50,"hex_longitude":"2d7cf300","hex_latitude":"05d65d10","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268854016001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116467689022554112,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002484573954904064,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206469000,"timestamp_ms":1786206469000,"timestamp_seconds":1786206469,"priority":1,"record_length":96,"hex_timestamp":"0000019fe233bb88"} 
[2026-08-08 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-08-08 21:58: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-08-08 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-08 21:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:58: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-08-08 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268854016001,"66":12156,"30":206,"85":15104,"24":50,"16":116467689022554112,"45":9002484573954904064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-08 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268854016001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116467689022554112,"km_value":116467689022554.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002484573954904064,"description":"Unknown IO ID 45"} 
[2026-08-08 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268854016001,"power":12156,"unknown_30":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9002484573954904064}} 
[2026-08-08 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":150857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:41] local.INFO: GPS data processed {"connection_id":150857,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:41] local.INFO: Acknowledgment sent {"connection_id":150857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:42] local.INFO: TCP Data received {"connection_id":153232,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:58:42] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:58:42] local.INFO: Packet analysis {"connection_id":153232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:42] local.INFO: Extracted packet for processing {"connection_id":153232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58: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-08-08 21:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 21:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:58: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-08-08 21:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":153232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:42] local.INFO: GPS data processed {"connection_id":153232,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:42] local.INFO: Acknowledgment sent {"connection_id":153232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:58:45] local.INFO: TCP Data received {"connection_id":150552,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:45] local.INFO: Processing buffer {"connection_id":150552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:58:45] local.INFO: Packet analysis {"connection_id":150552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:58:45] local.INFO: Extracted packet for processing {"connection_id":150552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:58:45] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:58:45] 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-08-08 21:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 21:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 21:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:58:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:58:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":150552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:58:45] local.INFO: GPS data processed {"connection_id":150552,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:58:45] local.INFO: Acknowledgment sent {"connection_id":150552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:04] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:59:04] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:59:04] local.INFO: IMEI packet received {"connection_id":150858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":150858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:59:09] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:59:09] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 21:59:09] local.INFO: IMEI packet received {"connection_id":150858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":150858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:59:10] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:59:10] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:59:10] local.INFO: Packet analysis {"connection_id":150858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:59:10] local.INFO: Extracted packet for processing {"connection_id":150858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:59:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:10] 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-08-08 21:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 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-08-08 21: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-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 21:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 21:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":150858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:10] local.INFO: GPS data processed {"connection_id":150858,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:10] local.INFO: Acknowledgment sent {"connection_id":150858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:14] local.INFO: TCP Data received {"connection_id":153232,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:14] local.INFO: Processing buffer {"connection_id":153232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:14] local.INFO: Packet analysis {"connection_id":153232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:14] local.INFO: Extracted packet for processing {"connection_id":153232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 21:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 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-08-08 21:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 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-08-08 21:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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-08-08 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-08-08 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-08-08 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-08-08 21:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":153232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:14] local.INFO: GPS data processed {"connection_id":153232,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:14] local.INFO: Acknowledgment sent {"connection_id":153232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:22] local.INFO: TCP Data received {"connection_id":150857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe233dac8012d7cf78005d63950000700ae23..."} 
[2026-08-08 21:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe233dac8012d7cf78005d63950000700ae23..."} 
[2026-08-08 21:59:22] local.INFO: Processing buffer {"connection_id":150857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe233dac8012d7cf78005d63950000700ae23..."} 
[2026-08-08 21:59:22] local.INFO: Packet analysis {"connection_id":150857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:22] local.INFO: Extracted packet for processing {"connection_id":150857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763164544,"raw_latitude":97925456,"longitude_deg":76.3164544,"latitude_deg":9.7925456,"altitude":7,"angle":174,"satellites":35,"speed":41,"hex_longitude":"2d7cf780","hex_latitude":"05d63950","is_valid_coordinates":true} 
[2026-08-08 21:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268856064001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116468135699152896,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105115013120,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786206477000,"timestamp_ms":1786206477000,"timestamp_seconds":1786206477,"priority":1,"record_length":96,"hex_timestamp":"0000019fe233dac8"} 
[2026-08-08 21:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:59: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-08-08 21:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-08 21:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:59:22] 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-08-08 21:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268856064001,"66":12026,"30":206,"85":15104,"24":41,"16":116468135699152896,"45":9003540105115013120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-08 21:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268856064001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:22] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 21:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116468135699152896,"km_value":116468135699152.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105115013120,"description":"Unknown IO ID 45"} 
[2026-08-08 21:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268856064001,"power":12026,"unknown_30":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9003540105115013120}} 
[2026-08-08 21:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":150857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:22] local.INFO: GPS data processed {"connection_id":150857,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:22] local.INFO: Acknowledgment sent {"connection_id":150857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:31] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:59:31] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:59:31] local.INFO: IMEI packet received {"connection_id":151754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 21:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":151754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:59:36] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:59:36] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 21:59:36] local.INFO: IMEI packet received {"connection_id":151754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 21:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":151754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:59:37] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe233fdf0012d7cfb4005d61400000300ad21..."} 
[2026-08-08 21:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe233fdf0012d7cfb4005d61400000300ad21..."} 
[2026-08-08 21:59:37] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe233fdf0012d7cfb4005d61400000300ad21..."} 
[2026-08-08 21:59:37] local.INFO: Packet analysis {"connection_id":151754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:37] local.INFO: Extracted packet for processing {"connection_id":151754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763165504,"raw_latitude":97915904,"longitude_deg":76.3165504,"latitude_deg":9.7915904,"altitude":3,"angle":173,"satellites":33,"speed":47,"hex_longitude":"2d7cfb40","hex_latitude":"05d61400","is_valid_coordinates":true} 
[2026-08-08 21:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268858112001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116468603850588160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004806742507868160,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786206486000,"timestamp_ms":1786206486000,"timestamp_seconds":1786206486,"priority":1,"record_length":96,"hex_timestamp":"0000019fe233fdf0"} 
[2026-08-08 21:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 21: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-08 21:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 21:59: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-08-08 21:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 21:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 21:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268858112001,"66":12102,"29":206,"85":15104,"24":47,"16":116468603850588160,"45":9004806742507868160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-08 21:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 21:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 21:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268858112001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:37] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-08 21:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 21:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116468603850588160,"km_value":116468603850588.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004806742507868160,"description":"Unknown IO ID 45"} 
[2026-08-08 21:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268858112001,"power":12102,"unknown_29":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9004806742507868160}} 
[2026-08-08 21:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":151754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:37] local.INFO: GPS data processed {"connection_id":151754,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:37] local.INFO: Acknowledgment sent {"connection_id":151754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:41] local.INFO: TCP Data received {"connection_id":150858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:59:41] local.INFO: Processing buffer {"connection_id":150858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 21:59:41] local.INFO: Packet analysis {"connection_id":150858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:59:41] local.INFO: Extracted packet for processing {"connection_id":150858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 21:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 21:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59: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-08-08 21:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 21:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21: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-08-08 21: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":102,"data_length":795,"current_offset":136} 
[2026-08-08 21:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 21:59: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-08-08 21:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 21:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 21:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 21:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 21:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 21:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 21:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 21:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 21:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 21:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":150858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:41] local.INFO: GPS data processed {"connection_id":150858,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:41] local.INFO: Acknowledgment sent {"connection_id":150858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:41] local.INFO: TCP Data received {"connection_id":153233,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:59:41] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:59:41] local.INFO: IMEI packet received {"connection_id":153233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 21:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":153233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 21:59:46] local.INFO: TCP Data received {"connection_id":153233,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:59:46] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 21:59:46] local.INFO: IMEI packet received {"connection_id":153233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 21:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":153233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 21:59:47] local.INFO: TCP Data received {"connection_id":153233,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:47] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:47] local.INFO: Packet analysis {"connection_id":153233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:47] local.INFO: Extracted packet for processing {"connection_id":153233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 21:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:59: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-08-08 21:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":153233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:47] local.INFO: GPS data processed {"connection_id":153233,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:47] local.INFO: Acknowledgment sent {"connection_id":153233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 21:59:51] local.INFO: TCP Data received {"connection_id":153233,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:51] local.INFO: Processing buffer {"connection_id":153233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 21:59:51] local.INFO: Packet analysis {"connection_id":153233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:51] local.INFO: Extracted packet for processing {"connection_id":153233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 21:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 21:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 21:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 21:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 21:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 21:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 21:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 21:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 21:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 21:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 21:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 21:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 21:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 21:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 21:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 21:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 21:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 21:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 21:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 21:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 21:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 21:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":153233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 21:59:51] local.INFO: GPS data processed {"connection_id":153233,"processed":1,"errors":0,"total":1} 
[2026-08-08 21:59:51] local.INFO: Acknowledgment sent {"connection_id":153233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:04] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:00:04] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:00:04] local.INFO: IMEI packet received {"connection_id":150859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":150859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:00:09] local.INFO: TCP Data received {"connection_id":151754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2357cc0012d7d430005d46318000300af25..."} 
[2026-08-08 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2357cc0012d7d430005d46318000300af25..."} 
[2026-08-08 22:00:09] local.INFO: Processing buffer {"connection_id":151754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2357cc0012d7d430005d46318000300af25..."} 
[2026-08-08 22:00:09] local.INFO: Packet analysis {"connection_id":151754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:00:09] local.INFO: Extracted packet for processing {"connection_id":151754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97805080,"longitude_deg":76.3183872,"latitude_deg":9.780508,"altitude":3,"angle":175,"satellites":37,"speed":44,"hex_longitude":"2d7d4300","hex_latitude":"05d46318","is_valid_coordinates":true} 
[2026-08-08 22:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268883200001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116474084228857856,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884616740864,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:09] 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-08-08 22:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786206584000,"timestamp_ms":1786206584000,"timestamp_seconds":1786206584,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2357cc0"} 
[2026-08-08 22:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 22:00:09] 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-08-08 22:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22: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-08-08 22:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268883200001,"66":12015,"254":206,"85":15104,"24":44,"16":116474084228857856,"45":9024298884616740864},"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-08-08 22:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268883200001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:09] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 22:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116474084228857856,"km_value":116474084228857.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884616740864,"description":"Unknown IO ID 45"} 
[2026-08-08 22:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268883200001,"power":12015,"unknown_254":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9024298884616740864}} 
[2026-08-08 22:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":151754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:09] local.INFO: GPS data processed {"connection_id":151754,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:09] local.INFO: Acknowledgment sent {"connection_id":151754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:09] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:00:09] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:00:09] local.INFO: IMEI packet received {"connection_id":150859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":150859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:00:10] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:00:10] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:00:10] local.INFO: Packet analysis {"connection_id":150859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:00:10] local.INFO: Extracted packet for processing {"connection_id":150859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:00:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:10] 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-08-08 22:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 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-08-08 22: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-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 22:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:00: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-08-08 22:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":150859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:10] local.INFO: GPS data processed {"connection_id":150859,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:10] local.INFO: Acknowledgment sent {"connection_id":150859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:29] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2334270012d7cdec005d6ece80003009f21..."} 
[2026-08-08 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2334270012d7cdec005d6ece80003009f21..."} 
[2026-08-08 22:00:29] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2334270012d7cdec005d6ece80003009f21..."} 
[2026-08-08 22:00:29] local.INFO: Packet analysis {"connection_id":150856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:00:29] local.INFO: Extracted packet for processing {"connection_id":150856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763158208,"raw_latitude":97971432,"longitude_deg":76.3158208,"latitude_deg":9.7971432,"altitude":3,"angle":159,"satellites":33,"speed":53,"hex_longitude":"2d7cdec0","hex_latitude":"05d6ece8","is_valid_coordinates":true} 
[2026-08-08 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268846080001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116465880841322496,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994181062151165952,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786206438000,"timestamp_ms":1786206438000,"timestamp_seconds":1786206438,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2334270"} 
[2026-08-08 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:00: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-08-08 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 22:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":150856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":150856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":150856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00:29] 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-08-08 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268846080001,"66":12015,"195":206,"85":15104,"24":53,"16":116465880841322496,"45":8994181062151165952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-08 22:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268846080001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116465880841322496,"km_value":116465880841322.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994181062151165952,"description":"Unknown IO ID 45"} 
[2026-08-08 22:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268846080001,"power":12015,"unknown_195":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8994181062151165952}} 
[2026-08-08 22:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":150856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:29] local.INFO: GPS data processed {"connection_id":150856,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:29] local.INFO: Acknowledgment sent {"connection_id":150856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:29] local.INFO: TCP Data received {"connection_id":150856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2335dc8012d7ce6c005d6cac0000500a721..."} 
[2026-08-08 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2335dc8012d7ce6c005d6cac0000500a721..."} 
[2026-08-08 22:00:29] local.INFO: Processing buffer {"connection_id":150856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2335dc8012d7ce6c005d6cac0000500a721..."} 
[2026-08-08 22:00:29] local.INFO: Packet analysis {"connection_id":150856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:00:29] local.INFO: Extracted packet for processing {"connection_id":150856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763160256,"raw_latitude":97962688,"longitude_deg":76.3160256,"latitude_deg":9.7962688,"altitude":5,"angle":167,"satellites":33,"speed":46,"hex_longitude":"2d7ce6c0","hex_latitude":"05d6cac0","is_valid_coordinates":true} 
[2026-08-08 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268848128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116466318927986688,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997840236846049280,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:29] 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-08-08 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1786206445000,"timestamp_ms":1786206445000,"timestamp_seconds":1786206445,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2335dc8"} 
[2026-08-08 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:00: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-08-08 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 22:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":150856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":150856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":150856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00:29] 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-08-08 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268848128001,"66":12069,"31":206,"85":15104,"24":46,"16":116466318927986688,"45":8997840236846049280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-08-08 22:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268848128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116466318927986688,"km_value":116466318927986.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997840236846049280,"description":"Unknown IO ID 45"} 
[2026-08-08 22:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268848128001,"power":12069,"unknown_31":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8997840236846049280}} 
[2026-08-08 22:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":150856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:29] local.INFO: GPS data processed {"connection_id":150856,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:29] local.INFO: Acknowledgment sent {"connection_id":150856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:31] local.INFO: TCP Data received {"connection_id":150553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:31] local.INFO: Processing buffer {"connection_id":150553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:31] local.INFO: IMEI packet received {"connection_id":150553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":150553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:00:31] local.INFO: TCP Data received {"connection_id":150553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:31] local.INFO: Processing buffer {"connection_id":150553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:31] local.INFO: IMEI packet received {"connection_id":150553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":150553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:00:36] local.INFO: TCP Data received {"connection_id":151755,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:00:36] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:00:36] local.INFO: IMEI packet received {"connection_id":151755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":151755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:00:36] local.INFO: TCP Data received {"connection_id":150553,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:36] local.INFO: Processing buffer {"connection_id":150553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:00:36] local.INFO: IMEI packet received {"connection_id":150553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:00:37] local.INFO: TCP Data received {"connection_id":150553,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2359c00012d7d454005d44068000200b225..."} 
[2026-08-08 22:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2359c00012d7d454005d44068000200b225..."} 
[2026-08-08 22:00:37] local.INFO: Processing buffer {"connection_id":150553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2359c00012d7d454005d44068000200b225..."} 
[2026-08-08 22:00:37] local.INFO: Packet analysis {"connection_id":150553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:00:37] local.INFO: Extracted packet for processing {"connection_id":150553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97796200,"longitude_deg":76.3184448,"latitude_deg":9.77962,"altitude":2,"angle":178,"satellites":37,"speed":44,"hex_longitude":"2d7d4540","hex_latitude":"05d44068","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268885504001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116474518020554752,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103218706432,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:37] 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-08-08 22:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786206592000,"timestamp_ms":1786206592000,"timestamp_seconds":1786206592,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2359c00"} 
[2026-08-08 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-08-08 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 22:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:00: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-08-08 22:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268885504001,"66":11917,"254":206,"85":15104,"24":44,"16":116474518020554752,"45":9026058103218706432},"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-08-08 22:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268885504001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 22:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116474518020554752,"km_value":116474518020554.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103218706432,"description":"Unknown IO ID 45"} 
[2026-08-08 22:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268885504001,"power":11917,"unknown_254":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9026058103218706432}} 
[2026-08-08 22:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":150553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:37] local.INFO: GPS data processed {"connection_id":150553,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:37] local.INFO: Acknowledgment sent {"connection_id":150553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:41] local.INFO: TCP Data received {"connection_id":150859,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:00:41] local.INFO: Processing buffer {"connection_id":150859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:00:41] local.INFO: Packet analysis {"connection_id":150859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:00:41] local.INFO: Extracted packet for processing {"connection_id":150859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:00:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00: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-08-08 22:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 22:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 22:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:00: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-08-08 22:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":150859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:41] local.INFO: GPS data processed {"connection_id":150859,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:41] local.INFO: Acknowledgment sent {"connection_id":150859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:00:41] local.INFO: TCP Data received {"connection_id":151755,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:00:41] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:00:41] local.INFO: IMEI packet received {"connection_id":151755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":151755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:00:42] local.INFO: TCP Data received {"connection_id":151755,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:00:42] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:00:42] local.INFO: Packet analysis {"connection_id":151755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:00:42] local.INFO: Extracted packet for processing {"connection_id":151755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:00: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-08-08 22:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 22:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:00: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-08-08 22:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:00:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":151755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:00:42] local.INFO: GPS data processed {"connection_id":151755,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:00:42] local.INFO: Acknowledgment sent {"connection_id":151755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:01:04] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:01:04] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:01:04] local.INFO: IMEI packet received {"connection_id":153234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":153234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:01:08] local.INFO: TCP Data received {"connection_id":150553,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe235bf28012d7d440005d41da0000200b71f..."} 
[2026-08-08 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe235bf28012d7d440005d41da0000200b71f..."} 
[2026-08-08 22:01:08] local.INFO: Processing buffer {"connection_id":150553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe235bf28012d7d440005d41da0000200b71f..."} 
[2026-08-08 22:01:08] local.INFO: Packet analysis {"connection_id":150553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:01:08] local.INFO: Extracted packet for processing {"connection_id":150553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97787296,"longitude_deg":76.3184128,"latitude_deg":9.7787296,"altitude":2,"angle":183,"satellites":31,"speed":31,"hex_longitude":"2d7d4400","hex_latitude":"05d41da0","is_valid_coordinates":true} 
[2026-08-08 22:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268887552001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116474951812251648,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421914032128,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:08] 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-08-08 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786206601000,"timestamp_ms":1786206601000,"timestamp_seconds":1786206601,"priority":1,"record_length":96,"hex_timestamp":"0000019fe235bf28"} 
[2026-08-08 22:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-08 22:01: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-08-08 22:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22: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-08-08 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268887552001,"66":11895,"254":206,"85":15104,"24":31,"16":116474951812251648,"45":9026691421914032128},"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-08-08 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268887552001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:01:08] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-08 22:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116474951812251648,"km_value":116474951812251.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421914032128,"description":"Unknown IO ID 45"} 
[2026-08-08 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268887552001,"power":11895,"unknown_254":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9026691421914032128}} 
[2026-08-08 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":150553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:01:08] local.INFO: GPS data processed {"connection_id":150553,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:01:08] local.INFO: Acknowledgment sent {"connection_id":150553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:01:09] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:01:09] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:01:09] local.INFO: IMEI packet received {"connection_id":153234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":153234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:01:10] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:01:10] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:01:10] local.INFO: Packet analysis {"connection_id":153234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:01:10] local.INFO: Extracted packet for processing {"connection_id":153234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:10] 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-08-08 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 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-08-08 22: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-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 22:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:01:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":153234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:01:10] local.INFO: GPS data processed {"connection_id":153234,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:01:10] local.INFO: Acknowledgment sent {"connection_id":153234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:01:14] local.INFO: TCP Data received {"connection_id":151755,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:01:14] local.INFO: Processing buffer {"connection_id":151755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:01:14] local.INFO: Packet analysis {"connection_id":151755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:01:14] local.INFO: Extracted packet for processing {"connection_id":151755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 22:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:01:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":151755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:01:15] local.INFO: GPS data processed {"connection_id":151755,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:01:15] local.INFO: Acknowledgment sent {"connection_id":151755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:01:31] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:01:31] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:01:31] local.INFO: IMEI packet received {"connection_id":153235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":153235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:01:36] local.INFO: TCP Data received {"connection_id":153236,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:01:36] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:01:36] local.INFO: IMEI packet received {"connection_id":153236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":153236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:01:36] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:01:36] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:01:36] local.INFO: IMEI packet received {"connection_id":153235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":153235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:01:37] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe235f9c0012d7d410005d3fa68000200b723..."} 
[2026-08-08 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe235f9c0012d7d410005d3fa68000200b723..."} 
[2026-08-08 22:01:37] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe235f9c0012d7d410005d3fa68000200b723..."} 
[2026-08-08 22:01:37] local.INFO: Packet analysis {"connection_id":153235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:01:37] local.INFO: Extracted packet for processing {"connection_id":153235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe235"} 
[2026-08-08 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97778280,"longitude_deg":76.318336,"latitude_deg":9.777828,"altitude":2,"angle":183,"satellites":35,"speed":25,"hex_longitude":"2d7d4100","hex_latitude":"05d3fa68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268889856001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116475389898915840,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578190864384,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786206616000,"timestamp_ms":1786206616000,"timestamp_seconds":1786206616,"priority":1,"record_length":96,"hex_timestamp":"0000019fe235f9c0"} 
[2026-08-08 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-08-08 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-08 22:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:01: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-08-08 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268889856001,"66":12004,"81":206,"85":15104,"24":25,"16":116475389898915840,"45":9026339578190864384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268889856001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116475389898915840,"km_value":116475389898915.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578190864384,"description":"Unknown IO ID 45"} 
[2026-08-08 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268889856001,"power":12004,"unknown_81":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9026339578190864384}} 
[2026-08-08 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":153235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:01:37] local.INFO: GPS data processed {"connection_id":153235,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:01:37] local.INFO: Acknowledgment sent {"connection_id":153235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:01:41] local.INFO: TCP Data received {"connection_id":153234,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:01:41] local.INFO: Processing buffer {"connection_id":153234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:01:41] local.INFO: Packet analysis {"connection_id":153234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:01:41] local.INFO: Extracted packet for processing {"connection_id":153234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01: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-08-08 22:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 22:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 22:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:01:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":153234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:01:41] local.INFO: GPS data processed {"connection_id":153234,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:01:41] local.INFO: Acknowledgment sent {"connection_id":153234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:01:41] local.INFO: TCP Data received {"connection_id":153236,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:01:41] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:01:41] local.INFO: IMEI packet received {"connection_id":153236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":153236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:01:42] local.INFO: TCP Data received {"connection_id":153236,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:01:42] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:01:42] local.INFO: Packet analysis {"connection_id":153236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:01:42] local.INFO: Extracted packet for processing {"connection_id":153236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:01: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-08-08 22:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 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-08-08 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:01: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-08-08 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-08-08 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-08-08 22:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:01:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":153236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:01:42] local.INFO: GPS data processed {"connection_id":153236,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:01:42] local.INFO: Acknowledgment sent {"connection_id":153236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:02:03] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:02:03] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:02:03] local.INFO: IMEI packet received {"connection_id":151756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":151756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:02:08] local.INFO: TCP Data received {"connection_id":153235,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2363070012d7d3e0005d3d560000100b828..."} 
[2026-08-08 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2363070012d7d3e0005d3d560000100b828..."} 
[2026-08-08 22:02:08] local.INFO: Processing buffer {"connection_id":153235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2363070012d7d3e0005d3d560000100b828..."} 
[2026-08-08 22:02:08] local.INFO: Packet analysis {"connection_id":153235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe236"} 
[2026-08-08 22:02:08] local.INFO: Extracted packet for processing {"connection_id":153235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe236"} 
[2026-08-08 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97768800,"longitude_deg":76.3182592,"latitude_deg":9.77688,"altitude":1,"angle":184,"satellites":40,"speed":27,"hex_longitude":"2d7d3e00","hex_latitude":"05d3d560","is_valid_coordinates":true} 
[2026-08-08 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268893696001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116475849460416512,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153258424320,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786206630000,"timestamp_ms":1786206630000,"timestamp_seconds":1786206630,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2363070"} 
[2026-08-08 22:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:02: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-08-08 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 22:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:02: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-08-08 22:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268893696001,"66":12058,"81":206,"85":15104,"24":27,"16":116475849460416512,"45":9025495153258424320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268893696001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116475849460416512,"km_value":116475849460416.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153258424320,"description":"Unknown IO ID 45"} 
[2026-08-08 22:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268893696001,"power":12058,"unknown_81":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9025495153258424320}} 
[2026-08-08 22:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":153235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":611999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:02:08] local.INFO: GPS data processed {"connection_id":153235,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:02:08] local.INFO: Acknowledgment sent {"connection_id":153235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:02:09] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:02:09] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:02:09] local.INFO: IMEI packet received {"connection_id":151756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":151756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:02:10] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:02:10] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe232bda0012ceb0780071a3af00026012129..."} 
[2026-08-08 22:02:10] local.INFO: Packet analysis {"connection_id":151756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:02:10] local.INFO: Extracted packet for processing {"connection_id":151756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe232"} 
[2026-08-08 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268762368001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:10] 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-08-08 22:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206404000,"timestamp_ms":1786206404000,"timestamp_seconds":1786206404,"priority":1,"record_length":96,"hex_timestamp":"0000019fe232bda0"} 
[2026-08-08 22:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-08 22:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 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-08-08 22:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268762368001,"66":25647,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"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-08-08 22:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268762368001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:02:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268762368001,"power":25647,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":151756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:02:10] local.INFO: GPS data processed {"connection_id":151756,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:02:10] local.INFO: Acknowledgment sent {"connection_id":151756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:02:14] local.INFO: TCP Data received {"connection_id":153236,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:02:14] local.INFO: Processing buffer {"connection_id":153236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:02:14] local.INFO: Packet analysis {"connection_id":153236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:02:14] local.INFO: Extracted packet for processing {"connection_id":153236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 22:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:02:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":153236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:02:14] local.INFO: GPS data processed {"connection_id":153236,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:02:14] local.INFO: Acknowledgment sent {"connection_id":153236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:02:32] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:32] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:32] local.INFO: IMEI packet received {"connection_id":150860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":150860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:02:33] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:33] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:33] local.INFO: IMEI packet received {"connection_id":150860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":150860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:02:34] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:34] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:34] local.INFO: IMEI packet received {"connection_id":150860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":150860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:02:35] local.INFO: TCP Data received {"connection_id":150554,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:02:35] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:02:35] local.INFO: IMEI packet received {"connection_id":150554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":150554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:02:36] local.INFO: TCP Data received {"connection_id":150860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:36] local.INFO: Processing buffer {"connection_id":150860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:02:36] local.INFO: IMEI packet received {"connection_id":150860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":150860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:02:40] local.INFO: TCP Data received {"connection_id":151756,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:02:40] local.INFO: Processing buffer {"connection_id":151756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:02:40] local.INFO: Packet analysis {"connection_id":151756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:02:40] local.INFO: Extracted packet for processing {"connection_id":151756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02: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-08-08 22:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:02: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-08-08 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:02: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-08-08 22:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"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-08-08 22:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:02:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:02:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":151756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:02:40] local.INFO: GPS data processed {"connection_id":151756,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:02:40] local.INFO: Acknowledgment sent {"connection_id":151756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:02:41] local.INFO: TCP Data received {"connection_id":150554,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:02:41] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:02:41] local.INFO: IMEI packet received {"connection_id":150554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":150554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:02:42] local.INFO: TCP Data received {"connection_id":150554,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:02:42] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:02:42] local.INFO: Packet analysis {"connection_id":150554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:02:42] local.INFO: Extracted packet for processing {"connection_id":150554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:02: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-08-08 22:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 22:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:02: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-08-08 22:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:02:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":150554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:02:42] local.INFO: GPS data processed {"connection_id":150554,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:02:42] local.INFO: Acknowledgment sent {"connection_id":150554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:03:04] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:03:04] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:03:04] local.INFO: IMEI packet received {"connection_id":151757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":151757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:03:09] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:03:09] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:03:09] local.INFO: IMEI packet received {"connection_id":151757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":151757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:03:10] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:03:10] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:03:10] local.INFO: Packet analysis {"connection_id":151757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:03:10] local.INFO: Extracted packet for processing {"connection_id":151757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:10] 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-08-08 22:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:03: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-08-08 22:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":151757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:03:10] local.INFO: GPS data processed {"connection_id":151757,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:03:10] local.INFO: Acknowledgment sent {"connection_id":151757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:03:14] local.INFO: TCP Data received {"connection_id":150554,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:03:14] local.INFO: Processing buffer {"connection_id":150554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23388c0012d196a80071fef680047011724..."} 
[2026-08-08 22:03:14] local.INFO: Packet analysis {"connection_id":150554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:03:14] local.INFO: Extracted packet for processing {"connection_id":150554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe233"} 
[2026-08-08 22:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268775680001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206456000,"timestamp_ms":1786206456000,"timestamp_seconds":1786206456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23388c0"} 
[2026-08-08 22:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268775680001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268775680001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:03:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268775680001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":150554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:03:14] local.INFO: GPS data processed {"connection_id":150554,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:03:14] local.INFO: Acknowledgment sent {"connection_id":150554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:03:41] local.INFO: TCP Data received {"connection_id":151757,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:03:41] local.INFO: Processing buffer {"connection_id":151757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:03:41] local.INFO: Packet analysis {"connection_id":151757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:03:41] local.INFO: Extracted packet for processing {"connection_id":151757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03: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-08-08 22:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:03: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-08-08 22:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":151757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:03:41] local.INFO: GPS data processed {"connection_id":151757,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:03:41] local.INFO: Acknowledgment sent {"connection_id":151757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:03:41] local.INFO: TCP Data received {"connection_id":153237,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:03:41] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:03:41] local.INFO: IMEI packet received {"connection_id":153237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":153237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:03:46] local.INFO: TCP Data received {"connection_id":153237,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:03:46] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:03:46] local.INFO: IMEI packet received {"connection_id":153237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":153237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:03:47] local.INFO: TCP Data received {"connection_id":153237,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:03:47] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:03:47] local.INFO: Packet analysis {"connection_id":153237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:03:47] local.INFO: Extracted packet for processing {"connection_id":153237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":153237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:03:47] local.INFO: GPS data processed {"connection_id":153237,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:03:47] local.INFO: Acknowledgment sent {"connection_id":153237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:03:51] local.INFO: TCP Data received {"connection_id":153237,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:03:51] local.INFO: Processing buffer {"connection_id":153237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:03:51] local.INFO: Packet analysis {"connection_id":153237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:03:51] local.INFO: Extracted packet for processing {"connection_id":153237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":153237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:03:51] local.INFO: GPS data processed {"connection_id":153237,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:03:51] local.INFO: Acknowledgment sent {"connection_id":153237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:04:04] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:04:04] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:04:04] local.INFO: IMEI packet received {"connection_id":150555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":150555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:04:09] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:04:09] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:04:09] local.INFO: IMEI packet received {"connection_id":150555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":150555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:04:10] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:04:10] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:04:10] local.INFO: Packet analysis {"connection_id":150555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:04:10] local.INFO: Extracted packet for processing {"connection_id":150555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:10] 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-08-08 22:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:04: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-08-08 22:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":150555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:04:10] local.INFO: GPS data processed {"connection_id":150555,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:04:10] local.INFO: Acknowledgment sent {"connection_id":150555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:04:36] local.INFO: TCP Data received {"connection_id":150556,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:04:36] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:04:36] local.INFO: IMEI packet received {"connection_id":150556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":150556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:04:41] local.INFO: TCP Data received {"connection_id":150555,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:04:41] local.INFO: Processing buffer {"connection_id":150555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:04:41] local.INFO: Packet analysis {"connection_id":150555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:04:41] local.INFO: Extracted packet for processing {"connection_id":150555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04: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-08-08 22:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:04: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-08-08 22:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:04:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":150555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:04:41] local.INFO: GPS data processed {"connection_id":150555,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:04:41] local.INFO: Acknowledgment sent {"connection_id":150555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:04:41] local.INFO: TCP Data received {"connection_id":150556,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:04:41] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:04:41] local.INFO: IMEI packet received {"connection_id":150556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":150556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:04:42] local.INFO: TCP Data received {"connection_id":150556,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:04:42] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:04:42] local.INFO: Packet analysis {"connection_id":150556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:04:42] local.INFO: Extracted packet for processing {"connection_id":150556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:04: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-08-08 22:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":150556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:04:42] local.INFO: GPS data processed {"connection_id":150556,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:04:42] local.INFO: Acknowledgment sent {"connection_id":150556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:05:04] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:05:04] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:05:04] local.INFO: IMEI packet received {"connection_id":153238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":153238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:05:09] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:05:09] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:05:09] local.INFO: IMEI packet received {"connection_id":153238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":153238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:05:10] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:05:10] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:05:10] local.INFO: Packet analysis {"connection_id":153238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:05:10] local.INFO: Extracted packet for processing {"connection_id":153238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:05:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:10] 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-08-08 22:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 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-08-08 22: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-08-08 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:05: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-08-08 22:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:05:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:05:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":153238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:05:10] local.INFO: GPS data processed {"connection_id":153238,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:05:10] local.INFO: Acknowledgment sent {"connection_id":153238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:05:14] local.INFO: TCP Data received {"connection_id":150556,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:05:14] local.INFO: Processing buffer {"connection_id":150556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:05:14] local.INFO: Packet analysis {"connection_id":150556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:05:14] local.INFO: Extracted packet for processing {"connection_id":150556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:05:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":150556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:05:14] local.INFO: GPS data processed {"connection_id":150556,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:05:14] local.INFO: Acknowledgment sent {"connection_id":150556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:05:36] local.INFO: TCP Data received {"connection_id":150863,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:05:36] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:05:36] local.INFO: IMEI packet received {"connection_id":150863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":150863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:05:40] local.INFO: TCP Data received {"connection_id":153238,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:05:40] local.INFO: Processing buffer {"connection_id":153238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:05:40] local.INFO: Packet analysis {"connection_id":153238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:05:40] local.INFO: Extracted packet for processing {"connection_id":153238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:05:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05: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-08-08 22:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:05: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-08-08 22: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:05:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":153238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:05:40] local.INFO: GPS data processed {"connection_id":153238,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:05:40] local.INFO: Acknowledgment sent {"connection_id":153238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:05:41] local.INFO: TCP Data received {"connection_id":150863,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:05:41] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:05:41] local.INFO: IMEI packet received {"connection_id":150863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":150863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:05:42] local.INFO: TCP Data received {"connection_id":150863,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:05:42] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:05:42] local.INFO: Packet analysis {"connection_id":150863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:05:42] local.INFO: Extracted packet for processing {"connection_id":150863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:05: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-08-08 22:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:05: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-08-08 22:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:05:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":150863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:05:42] local.INFO: GPS data processed {"connection_id":150863,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:05:42] local.INFO: Acknowledgment sent {"connection_id":150863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:06:03] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:06:03] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:06:03] local.INFO: IMEI packet received {"connection_id":153239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":153239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:06:09] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:06:09] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:06:09] local.INFO: IMEI packet received {"connection_id":153239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":153239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:06:09] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:06:10] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:06:10] local.INFO: Packet analysis {"connection_id":153239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:06:10] local.INFO: Extracted packet for processing {"connection_id":153239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:10] 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-08-08 22:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:06: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-08-08 22:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:06:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":153239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:06:10] local.INFO: GPS data processed {"connection_id":153239,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:06:10] local.INFO: Acknowledgment sent {"connection_id":153239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:06:14] local.INFO: TCP Data received {"connection_id":150863,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:06:14] local.INFO: Processing buffer {"connection_id":150863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:06:14] local.INFO: Packet analysis {"connection_id":150863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:06:14] local.INFO: Extracted packet for processing {"connection_id":150863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 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-08-08 22:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:06:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":150863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:06:14] local.INFO: GPS data processed {"connection_id":150863,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:06:14] local.INFO: Acknowledgment sent {"connection_id":150863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:06:36] local.INFO: TCP Data received {"connection_id":151758,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:06:36] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:06:36] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:06:41] local.INFO: TCP Data received {"connection_id":153239,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:06:41] local.INFO: Processing buffer {"connection_id":153239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:06:41] local.INFO: Packet analysis {"connection_id":153239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:06:41] local.INFO: Extracted packet for processing {"connection_id":153239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06: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-08-08 22:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:06: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-08-08 22: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":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:06: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-08-08 22:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:06:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":153239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:06:41] local.INFO: GPS data processed {"connection_id":153239,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:06:41] local.INFO: Acknowledgment sent {"connection_id":153239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:06:41] local.INFO: TCP Data received {"connection_id":151758,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:06:41] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:06:41] local.INFO: IMEI packet received {"connection_id":151758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":151758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:06:42] local.INFO: TCP Data received {"connection_id":151758,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:06:42] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:06:42] local.INFO: Packet analysis {"connection_id":151758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:06:42] local.INFO: Extracted packet for processing {"connection_id":151758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22: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-08-08 22: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-08-08 22:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:06:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":151758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:06:42] local.INFO: GPS data processed {"connection_id":151758,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:06:42] local.INFO: Acknowledgment sent {"connection_id":151758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:07:03] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:07:03] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:07:03] local.INFO: IMEI packet received {"connection_id":150558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":150558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:07:09] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:07:09] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:07:09] local.INFO: IMEI packet received {"connection_id":150558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":150558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:07:10] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:07:10] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2375568012ceb0780071a3af00026012129..."} 
[2026-08-08 22:07:10] local.INFO: Packet analysis {"connection_id":150558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:07:10] local.INFO: Extracted packet for processing {"connection_id":150558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe237"} 
[2026-08-08 22:07:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":38,"angle":289,"satellites":41,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268839424001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:10] 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-08-08 22:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786206705000,"timestamp_ms":1786206705000,"timestamp_seconds":1786206705,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2375568"} 
[2026-08-08 22:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-08 22:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:07: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-08-08 22:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268839424001,"66":25625,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268839424001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:07:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:07:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268839424001,"power":25625,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":150558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:07:10] local.INFO: GPS data processed {"connection_id":150558,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:07:10] local.INFO: Acknowledgment sent {"connection_id":150558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:07:14] local.INFO: TCP Data received {"connection_id":151758,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:07:14] local.INFO: Processing buffer {"connection_id":151758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:07:14] local.INFO: Packet analysis {"connection_id":151758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:07:14] local.INFO: Extracted packet for processing {"connection_id":151758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:07:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":151758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:07:14] local.INFO: GPS data processed {"connection_id":151758,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:07:14] local.INFO: Acknowledgment sent {"connection_id":151758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:07:35] local.INFO: TCP Data received {"connection_id":150864,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:07:35] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:07:35] local.INFO: IMEI packet received {"connection_id":150864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":150864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:07:40] local.INFO: TCP Data received {"connection_id":150558,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23bd5c0012ceb0780071a3af00024012126..."} 
[2026-08-08 22:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23bd5c0012ceb0780071a3af00024012126..."} 
[2026-08-08 22:07:40] local.INFO: Processing buffer {"connection_id":150558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23bd5c0012ceb0780071a3af00024012126..."} 
[2026-08-08 22:07:40] local.INFO: Packet analysis {"connection_id":150558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23b"} 
[2026-08-08 22:07:40] local.INFO: Extracted packet for processing {"connection_id":150558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23b"} 
[2026-08-08 22:07:40] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159536,"longitude_deg":75.3600384,"latitude_deg":11.9159536,"altitude":36,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3af0","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268916480001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07: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-08-08 22:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786207000000,"timestamp_ms":1786207000000,"timestamp_seconds":1786207000,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23bd5c0"} 
[2026-08-08 22:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:07: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-08-08 22:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-08 22:07: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-08-08 22:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268916480001,"66":25582,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268916480001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:07:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268916480001,"power":25582,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":150558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:07:40] local.INFO: GPS data processed {"connection_id":150558,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:07:40] local.INFO: Acknowledgment sent {"connection_id":150558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:07:41] local.INFO: TCP Data received {"connection_id":150864,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:07:41] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:07:41] local.INFO: IMEI packet received {"connection_id":150864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":150864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:07:41] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:07:41] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:07:41] local.INFO: IMEI packet received {"connection_id":153241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":153241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:07:42] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23c2f98012d7e4a8005d2c3900004002728..."} 
[2026-08-08 22:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23c2f98012d7e4a8005d2c3900004002728..."} 
[2026-08-08 22:07:42] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23c2f98012d7e4a8005d2c3900004002728..."} 
[2026-08-08 22:07:42] local.INFO: Packet analysis {"connection_id":153241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:07:42] local.INFO: Extracted packet for processing {"connection_id":153241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763251328,"raw_latitude":97698704,"longitude_deg":76.3251328,"latitude_deg":9.7698704,"altitude":4,"angle":39,"satellites":40,"speed":31,"hex_longitude":"2d7e4a80","hex_latitude":"05d2c390","is_valid_coordinates":true} 
[2026-08-08 22:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268995072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116483378538086400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147647082496,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:42] 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-08-08 22:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207023000,"timestamp_ms":1786207023000,"timestamp_seconds":1786207023,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23c2f98"} 
[2026-08-08 22:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:07: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-08-08 22: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-08 22:07: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-08-08 22:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:07:42] 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-08-08 22:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268995072001,"66":12330,"116":206,"85":15104,"24":31,"16":116483378538086400,"45":9093049147647082496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268995072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116483378538086400,"km_value":116483378538086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147647082496,"description":"Unknown IO ID 45"} 
[2026-08-08 22:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268995072001,"power":12330,"unknown_116":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9093049147647082496}} 
[2026-08-08 22:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":153241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:07:42] local.INFO: GPS data processed {"connection_id":153241,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:07:42] local.INFO: Acknowledgment sent {"connection_id":153241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:07:42] local.INFO: TCP Data received {"connection_id":150864,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:07:42] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:07:42] local.INFO: Packet analysis {"connection_id":150864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:07:42] local.INFO: Extracted packet for processing {"connection_id":150864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22: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-08-08 22:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":150864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:07:42] local.INFO: GPS data processed {"connection_id":150864,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:07:42] local.INFO: Acknowledgment sent {"connection_id":150864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:02] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:02] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:02] local.INFO: IMEI packet received {"connection_id":150865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":150865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:08:04] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:04] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:04] local.INFO: IMEI packet received {"connection_id":150865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":150865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:08:09] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:09] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:08:09] local.INFO: IMEI packet received {"connection_id":150865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":150865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:08:10] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23bdd90012ceb0600071a39600024003826..."} 
[2026-08-08 22:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23bdd90012ceb0600071a39600024003826..."} 
[2026-08-08 22:08:10] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23bdd90012ceb0600071a39600024003826..."} 
[2026-08-08 22:08:10] local.INFO: Packet analysis {"connection_id":150865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23b"} 
[2026-08-08 22:08:10] local.INFO: Extracted packet for processing {"connection_id":150865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23b"} 
[2026-08-08 22:08:10] local.INFO: GPS Element Parsed {"raw_longitude":753600000,"raw_latitude":119159136,"longitude_deg":75.36,"latitude_deg":11.9159136,"altitude":36,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2ceb0600","hex_latitude":"071a3960","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268992000001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966315520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:10] 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-08-08 22:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786207002000,"timestamp_ms":1786207002000,"timestamp_seconds":1786207002,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23bdd90"} 
[2026-08-08 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-08-08 22:08: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-08-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-08 22: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-08-08 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-08-08 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-08-08 22:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:08: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-08-08 22:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268992000001,"66":25473,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511098381966315520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268992000001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966315520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268992000001,"power":25473,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511098381966315520}} 
[2026-08-08 22:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":150865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:10] local.INFO: GPS data processed {"connection_id":150865,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:10] local.INFO: Acknowledgment sent {"connection_id":150865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:13] local.INFO: TCP Data received {"connection_id":153241,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23d21c8012d7e5e4005d34ef8000401462b..."} 
[2026-08-08 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23d21c8012d7e5e4005d34ef8000401462b..."} 
[2026-08-08 22:08:13] local.INFO: Processing buffer {"connection_id":153241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23d21c8012d7e5e4005d34ef8000401462b..."} 
[2026-08-08 22:08:13] local.INFO: Packet analysis {"connection_id":153241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:08:13] local.INFO: Extracted packet for processing {"connection_id":153241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763256384,"raw_latitude":97734392,"longitude_deg":76.3256384,"latitude_deg":9.7734392,"altitude":4,"angle":326,"satellites":43,"speed":21,"hex_longitude":"2d7e5e40","hex_latitude":"05d34ef8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269013504001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485246848860160,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105996996586309632,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:13] 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-08-08 22:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786207085000,"timestamp_ms":1786207085000,"timestamp_seconds":1786207085,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23d21c8"} 
[2026-08-08 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-08-08 22:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 22:08: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-08-08 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-08-08 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-08-08 22:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:08:13] 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-08-08 22:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269013504001,"66":12135,"116":206,"85":15104,"24":21,"16":116485246848860160,"45":9105996996586309632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-08 22:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269013504001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:13] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-08 22:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485246848860160,"km_value":116485246848860.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105996996586309632,"description":"Unknown IO ID 45"} 
[2026-08-08 22:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269013504001,"power":12135,"unknown_116":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9105996996586309632}} 
[2026-08-08 22:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":153241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:13] local.INFO: GPS data processed {"connection_id":153241,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:13] local.INFO: Acknowledgment sent {"connection_id":153241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:14] local.INFO: TCP Data received {"connection_id":150864,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:08:14] local.INFO: Processing buffer {"connection_id":150864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2382088012d196a80071fef680047011725..."} 
[2026-08-08 22:08:14] local.INFO: Packet analysis {"connection_id":150864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:08:14] local.INFO: Extracted packet for processing {"connection_id":150864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe238"} 
[2026-08-08 22:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268852736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786206757000,"timestamp_ms":1786206757000,"timestamp_seconds":1786206757,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2382088"} 
[2026-08-08 22:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268852736001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268852736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268852736001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":150864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:14] local.INFO: GPS data processed {"connection_id":150864,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:14] local.INFO: Acknowledgment sent {"connection_id":150864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:36] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:08:36] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:08:36] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:08:41] local.INFO: TCP Data received {"connection_id":150865,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23c2f98012ceb0600071a39600024003823..."} 
[2026-08-08 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23c2f98012ceb0600071a39600024003823..."} 
[2026-08-08 22:08:41] local.INFO: Processing buffer {"connection_id":150865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23c2f98012ceb0600071a39600024003823..."} 
[2026-08-08 22:08:41] local.INFO: Packet analysis {"connection_id":150865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:08:41] local.INFO: Extracted packet for processing {"connection_id":150865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753600000,"raw_latitude":119159136,"longitude_deg":75.36,"latitude_deg":11.9159136,"altitude":36,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2ceb0600","hex_latitude":"071a3960","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268992512001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511520594431483904,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08: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-08-08 22:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786207023000,"timestamp_ms":1786207023000,"timestamp_seconds":1786207023,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23c2f98"} 
[2026-08-08 22:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:08: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-08-08 22: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":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:08: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-08-08 22: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-08-08 22:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:08: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-08-08 22:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268992512001,"66":27321,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511520594431483904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268992512001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511520594431483904,"description":"Unknown IO ID 44"} 
[2026-08-08 22:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268992512001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511520594431483904}} 
[2026-08-08 22:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":150865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:41] local.INFO: GPS data processed {"connection_id":150865,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:41] local.INFO: Acknowledgment sent {"connection_id":150865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:41] local.INFO: TCP Data received {"connection_id":150866,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:08:41] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:08:41] local.INFO: IMEI packet received {"connection_id":150866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":150866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:08:41] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:08:41] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:08:41] local.INFO: IMEI packet received {"connection_id":151759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":151759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:08:42] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23d2998012d7e5b4005d352100003013a2b..."} 
[2026-08-08 22:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23d2998012d7e5b4005d352100003013a2b..."} 
[2026-08-08 22:08:42] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23d2998012d7e5b4005d352100003013a2b..."} 
[2026-08-08 22:08:42] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:08:42] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763255616,"raw_latitude":97735184,"longitude_deg":76.3255616,"latitude_deg":9.7735184,"altitude":3,"angle":314,"satellites":43,"speed":21,"hex_longitude":"2d7e5b40","hex_latitude":"05d35210","is_valid_coordinates":true} 
[2026-08-08 22:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269013760001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485298388467712,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105785890353903616,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:42] 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-08-08 22:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207087000,"timestamp_ms":1786207087000,"timestamp_seconds":1786207087,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23d2998"} 
[2026-08-08 22:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:08: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-08-08 22:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 22:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:08:42] 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-08-08 22:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269013760001,"66":12135,"116":206,"85":15104,"24":21,"16":116485298388467712,"45":9105785890353903616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-08 22:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269013760001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:42] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-08 22:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485298388467712,"km_value":116485298388467.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105785890353903616,"description":"Unknown IO ID 45"} 
[2026-08-08 22:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269013760001,"power":12135,"unknown_116":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9105785890353903616}} 
[2026-08-08 22:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:42] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:42] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:43] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23d3550012d7e570005d35518000301222a..."} 
[2026-08-08 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23d3550012d7e570005d35518000301222a..."} 
[2026-08-08 22:08:43] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23d3550012d7e570005d35518000301222a..."} 
[2026-08-08 22:08:43] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:08:43] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:08:43] local.INFO: GPS Element Parsed {"raw_longitude":763254528,"raw_latitude":97735960,"longitude_deg":76.3254528,"latitude_deg":9.773596,"altitude":3,"angle":290,"satellites":42,"speed":11,"hex_longitude":"2d7e5700","hex_latitude":"05d35518","is_valid_coordinates":true} 
[2026-08-08 22:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269014272001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485362812977152,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104941465423974400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:43] 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-08-08 22:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786207090000,"timestamp_ms":1786207090000,"timestamp_seconds":1786207090,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23d3550"} 
[2026-08-08 22:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 22:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:08:43] 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-08-08 22:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269014272001,"66":12135,"116":206,"85":15104,"24":11,"16":116485362812977152,"45":9104941465423974400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-08 22:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269014272001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:43] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-08 22:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485362812977152,"km_value":116485362812977.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104941465423974400,"description":"Unknown IO ID 45"} 
[2026-08-08 22:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269014272001,"power":12135,"unknown_116":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9104941465423974400}} 
[2026-08-08 22:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:43] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:43] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:08:46] local.INFO: TCP Data received {"connection_id":150866,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:08:46] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:08:46] local.INFO: IMEI packet received {"connection_id":150866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":150866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:08:47] local.INFO: TCP Data received {"connection_id":150866,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:08:47] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:08:47] local.INFO: Packet analysis {"connection_id":150866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:08:47] local.INFO: Extracted packet for processing {"connection_id":150866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:08: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-08-08 22:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":150866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:08:47] local.INFO: GPS data processed {"connection_id":150866,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:08:47] local.INFO: Acknowledgment sent {"connection_id":150866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:05] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:09:05] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:09:05] local.INFO: IMEI packet received {"connection_id":150559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":150559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:09:09] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 22:09:09] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 22:09:09] local.INFO: IMEI packet received {"connection_id":150559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":150559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:09:10] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23c81a0012ceb0600071a39600024003825..."} 
[2026-08-08 22:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23c81a0012ceb0600071a39600024003825..."} 
[2026-08-08 22:09:10] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 22:09:10] local.INFO: IMEI packet received {"connection_id":150559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":150559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:09:15] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23ca8b0012ceb0640071a3a300025000d27..."} 
[2026-08-08 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23ca8b0012ceb0640071a3a300025000d27..."} 
[2026-08-08 22:09:15] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe23c81a0012ceb0600071a39600024003825..."} 
[2026-08-08 22:09:15] local.INFO: Packet analysis {"connection_id":150559,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:15] local.INFO: Extracted packet for processing {"connection_id":150559,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":753600000,"raw_latitude":119159136,"longitude_deg":75.36,"latitude_deg":11.9159136,"altitude":36,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2ceb0600","hex_latitude":"071a3960","is_valid_coordinates":true} 
[2026-08-08 22:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268997888001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956809749364736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511520594431483904,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] 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-08-08 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207044000,"timestamp_ms":1786207044000,"timestamp_seconds":1786207044,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23c81a0"} 
[2026-08-08 22:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09: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-08-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268997888001,"66":27321,"104":206,"83":41216,"24":0,"16":375956809749364736,"44":-1511520594431483904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268997888001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956809749364736,"km_value":375956809749364.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511520594431483904,"description":"Unknown IO ID 44"} 
[2026-08-08 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268997888001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511520594431483904}} 
[2026-08-08 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":150559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:15] local.INFO: GPS data processed {"connection_id":150559,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:15] local.INFO: Acknowledgment sent {"connection_id":150559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:15] local.INFO: Packet analysis {"connection_id":150559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:15] local.INFO: Extracted packet for processing {"connection_id":150559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119159344,"longitude_deg":75.3600064,"latitude_deg":11.9159344,"altitude":37,"angle":13,"satellites":39,"speed":5,"hex_longitude":"2ceb0640","hex_latitude":"071a3a30","is_valid_coordinates":true} 
[2026-08-08 22:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269003264001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956818339299328,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511520594431483904,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] 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-08-08 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207054000,"timestamp_ms":1786207054000,"timestamp_seconds":1786207054,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23ca8b0"} 
[2026-08-08 22:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09: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-08-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269003264001,"66":27365,"104":206,"83":41216,"24":5,"16":375956818339299328,"44":-1511520594431483904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269003264001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956818339299328,"km_value":375956818339299.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511520594431483904,"description":"Unknown IO ID 44"} 
[2026-08-08 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269003264001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1511520594431483904}} 
[2026-08-08 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":150559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:15] local.INFO: GPS data processed {"connection_id":150559,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:15] local.INFO: Acknowledgment sent {"connection_id":150559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:15] local.INFO: TCP Data received {"connection_id":151759,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23d5490012d7e4cc005d357a0000201132b..."} 
[2026-08-08 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23d5490012d7e4cc005d357a0000201132b..."} 
[2026-08-08 22:09:15] local.INFO: Processing buffer {"connection_id":151759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23d5490012d7e4cc005d357a0000201132b..."} 
[2026-08-08 22:09:15] local.INFO: Packet analysis {"connection_id":151759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:09:15] local.INFO: Extracted packet for processing {"connection_id":151759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763251904,"raw_latitude":97736608,"longitude_deg":76.3251904,"latitude_deg":9.7736608,"altitude":2,"angle":275,"satellites":43,"speed":16,"hex_longitude":"2d7e4cc0","hex_latitude":"05d357a0","is_valid_coordinates":true} 
[2026-08-08 22:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269015040001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485495956963328,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103745196773152768,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:15] 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-08-08 22:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207098000,"timestamp_ms":1786207098000,"timestamp_seconds":1786207098,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23d5490"} 
[2026-08-08 22:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-08 22:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:09:15] 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-08-08 22:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269015040001,"66":12330,"116":206,"85":15104,"24":16,"16":116485495956963328,"45":9103745196773152768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-08 22:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269015040001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485495956963328,"km_value":116485495956963.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103745196773152768,"description":"Unknown IO ID 45"} 
[2026-08-08 22:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269015040001,"power":12330,"unknown_116":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9103745196773152768}} 
[2026-08-08 22:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":151759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:15] local.INFO: GPS data processed {"connection_id":151759,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:15] local.INFO: Acknowledgment sent {"connection_id":151759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:16] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb080012ceb0640071a3b400025016728..."} 
[2026-08-08 22:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb080012ceb0640071a3b400025016728..."} 
[2026-08-08 22:09:16] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb080012ceb0640071a3b400025016728..."} 
[2026-08-08 22:09:16] local.INFO: Packet analysis {"connection_id":150559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:16] local.INFO: Extracted packet for processing {"connection_id":150559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:16] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119159616,"longitude_deg":75.3600064,"latitude_deg":11.9159616,"altitude":37,"angle":359,"satellites":40,"speed":1,"hex_longitude":"2ceb0640","hex_latitude":"071a3b40","is_valid_coordinates":true} 
[2026-08-08 22:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269005824001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375956831224201216,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225687252992,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:16] 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-08-08 22:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786207056000,"timestamp_ms":1786207056000,"timestamp_seconds":1786207056,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb080"} 
[2026-08-08 22:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09: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-08-08 22: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269005824001,"66":27321,"104":206,"83":41216,"24":1,"16":375956831224201216,"44":-1511450225687252992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269005824001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:16] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375956831224201216,"km_value":375956831224201.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225687252992,"description":"Unknown IO ID 44"} 
[2026-08-08 22:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269005824001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":1,"odometer":null,"unknown_44":-1511450225687252992}} 
[2026-08-08 22:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":150559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:16] local.INFO: GPS data processed {"connection_id":150559,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:16] local.INFO: Acknowledgment sent {"connection_id":150559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:19] local.INFO: TCP Data received {"connection_id":150866,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:09:19] local.INFO: Processing buffer {"connection_id":150866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:09:19] local.INFO: Packet analysis {"connection_id":150866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:19] local.INFO: Extracted packet for processing {"connection_id":150866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":150866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":150866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":150866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":150866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:19] local.INFO: GPS data processed {"connection_id":150866,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:19] local.INFO: Acknowledgment sent {"connection_id":150866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:27] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:27] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:27] local.INFO: IMEI packet received {"connection_id":150560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":150560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:09:30] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:30] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:30] local.INFO: IMEI packet received {"connection_id":150560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":150560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:09:31] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:31] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:31] local.INFO: IMEI packet received {"connection_id":150560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":150560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:09:31] local.INFO: TCP Data received {"connection_id":150560,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:31] local.INFO: Processing buffer {"connection_id":150560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:09:31] local.INFO: IMEI packet received {"connection_id":150560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":150560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:09:36] local.INFO: TCP Data received {"connection_id":150867,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:09:36] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:09:36] local.INFO: IMEI packet received {"connection_id":150867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":150867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:09:41] local.INFO: TCP Data received {"connection_id":150867,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:09:41] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:09:41] local.INFO: IMEI packet received {"connection_id":150867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":150867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:09:42] local.INFO: TCP Data received {"connection_id":150867,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:09:42] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:09:42] local.INFO: Packet analysis {"connection_id":150867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:42] local.INFO: Extracted packet for processing {"connection_id":150867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09: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-08-08 22:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:09: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-08-08 22:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":150867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:42] local.INFO: GPS data processed {"connection_id":150867,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:42] local.INFO: Acknowledgment sent {"connection_id":150867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:09:47] local.INFO: TCP Data received {"connection_id":150559,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23de518012cea9600071a7108001a00492a..."} 
[2026-08-08 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23de518012cea9600071a7108001a00492a..."} 
[2026-08-08 22:09:47] local.INFO: Processing buffer {"connection_id":150559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23de518012cea9600071a7108001a00492a..."} 
[2026-08-08 22:09:47] local.INFO: Packet analysis {"connection_id":150559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:09:47] local.INFO: Extracted packet for processing {"connection_id":150559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":753571328,"raw_latitude":119173384,"longitude_deg":75.3571328,"latitude_deg":11.9173384,"altitude":26,"angle":73,"satellites":42,"speed":14,"hex_longitude":"2cea9600","hex_latitude":"071a7108","is_valid_coordinates":true} 
[2026-08-08 22:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269026304001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375958450426871808,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543397635540359168,"note":"Value kept but may cause issues"} 
[2026-08-08 22:09:47] 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-08-08 22:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207135000,"timestamp_ms":1786207135000,"timestamp_seconds":1786207135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23de518"} 
[2026-08-08 22:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269026304001,"66":27463,"103":206,"83":41216,"24":14,"16":375958450426871808,"44":-1543397635540359168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-08 22:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269026304001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:09:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 22:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375958450426871808,"km_value":375958450426871.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543397635540359168,"description":"Unknown IO ID 44"} 
[2026-08-08 22:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269026304001,"power":27463,"unknown_103":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1543397635540359168}} 
[2026-08-08 22:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":150559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:09:47] local.INFO: GPS data processed {"connection_id":150559,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:09:47] local.INFO: Acknowledgment sent {"connection_id":150559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:10:04] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:10:04] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:10:04] local.INFO: IMEI packet received {"connection_id":151760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":151760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:10:08] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:10:08] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:10:08] local.INFO: IMEI packet received {"connection_id":151760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":151760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:10:09] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23de900012cea9780071a7108001a00632b..."} 
[2026-08-08 22:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23de900012cea9780071a7108001a00632b..."} 
[2026-08-08 22:10:09] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23de900012cea9780071a7108001a00632b..."} 
[2026-08-08 22:10:09] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:10:09] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:10:09] local.INFO: GPS Element Parsed {"raw_longitude":753571712,"raw_latitude":119173384,"longitude_deg":75.3571712,"latitude_deg":11.9173384,"altitude":26,"angle":99,"satellites":43,"speed":16,"hex_longitude":"2cea9780","hex_latitude":"071a7108","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269026560001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375958467606740992,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543045791819429888,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10: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-08-08 22:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786207136000,"timestamp_ms":1786207136000,"timestamp_seconds":1786207136,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23de900"} 
[2026-08-08 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-08-08 22:10: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-08-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269026560001,"66":27463,"103":206,"83":41216,"24":16,"16":375958467606740992,"44":-1543045791819429888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-08 22:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269026560001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:10:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 22:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375958467606740992,"km_value":375958467606741.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543045791819429888,"description":"Unknown IO ID 44"} 
[2026-08-08 22:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269026560001,"power":27463,"unknown_103":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1543045791819429888}} 
[2026-08-08 22:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:10:09] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:10:09] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:10:15] local.INFO: TCP Data received {"connection_id":150867,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:10:15] local.INFO: Processing buffer {"connection_id":150867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:10:15] local.INFO: Packet analysis {"connection_id":150867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:10:15] local.INFO: Extracted packet for processing {"connection_id":150867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22: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-08-08 22:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:10:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:10:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":150867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:10:15] local.INFO: GPS data processed {"connection_id":150867,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:10:15] local.INFO: Acknowledgment sent {"connection_id":150867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:10:35] local.INFO: TCP Data received {"connection_id":153242,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:10:35] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:10:35] local.INFO: IMEI packet received {"connection_id":153242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":153242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:10:40] local.INFO: TCP Data received {"connection_id":151760,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23dece8012cea9900071a7068001a00782a..."} 
[2026-08-08 22:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23dece8012cea9900071a7068001a00782a..."} 
[2026-08-08 22:10:40] local.INFO: Processing buffer {"connection_id":151760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23dece8012cea9900071a7068001a00782a..."} 
[2026-08-08 22:10:40] local.INFO: Packet analysis {"connection_id":151760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:10:40] local.INFO: Extracted packet for processing {"connection_id":151760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23d"} 
[2026-08-08 22:10:40] local.INFO: GPS Element Parsed {"raw_longitude":753572096,"raw_latitude":119173224,"longitude_deg":75.3572096,"latitude_deg":11.9173224,"altitude":26,"angle":120,"satellites":42,"speed":17,"hex_longitude":"2cea9900","hex_latitude":"071a7068","is_valid_coordinates":true} 
[2026-08-08 22:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269026816001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375958489081577472,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542623579354363904,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10: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-08-08 22:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786207137000,"timestamp_ms":1786207137000,"timestamp_seconds":1786207137,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23dece8"} 
[2026-08-08 22:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:10: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:10: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-08-08 22:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269026816001,"66":27343,"103":206,"83":41216,"24":17,"16":375958489081577472,"44":-1542623579354363904},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-08-08 22:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269026816001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:10:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-08 22:10:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375958489081577472,"km_value":375958489081577.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542623579354363904,"description":"Unknown IO ID 44"} 
[2026-08-08 22:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269026816001,"power":27343,"unknown_103":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1542623579354363904}} 
[2026-08-08 22:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":151760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:10:40] local.INFO: GPS data processed {"connection_id":151760,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:10:40] local.INFO: Acknowledgment sent {"connection_id":151760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:10:41] local.INFO: TCP Data received {"connection_id":153242,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:10:41] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:10:41] local.INFO: IMEI packet received {"connection_id":153242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":153242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:10:42] local.INFO: TCP Data received {"connection_id":153242,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:10:42] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:10:42] local.INFO: Packet analysis {"connection_id":153242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:10:42] local.INFO: Extracted packet for processing {"connection_id":153242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:10: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-08-08 22:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:10: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-08-08 22:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:10:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":153242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:10:42] local.INFO: GPS data processed {"connection_id":153242,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:10:42] local.INFO: Acknowledgment sent {"connection_id":153242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:11:03] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:11:03] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:11:03] local.INFO: IMEI packet received {"connection_id":151761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":151761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:11:09] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:11:09] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:11:09] local.INFO: IMEI packet received {"connection_id":151761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":151761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:11:10] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23e2b68012ceab980071a6028001a00702b..."} 
[2026-08-08 22:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23e2b68012ceab980071a6028001a00702b..."} 
[2026-08-08 22:11:10] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23e2b68012ceab980071a6028001a00702b..."} 
[2026-08-08 22:11:10] local.INFO: Packet analysis {"connection_id":151761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:11:10] local.INFO: Extracted packet for processing {"connection_id":151761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:11:10] local.INFO: GPS Element Parsed {"raw_longitude":753580416,"raw_latitude":119169064,"longitude_deg":75.3580416,"latitude_deg":11.9169064,"altitude":26,"angle":112,"satellites":43,"speed":26,"hex_longitude":"2ceab980","hex_latitude":"071a6028","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269027072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375958931463208960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542201366889338880,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:10] 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-08-08 22:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786207153000,"timestamp_ms":1786207153000,"timestamp_seconds":1786207153,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23e2b68"} 
[2026-08-08 22:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:11: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-08-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 22:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:11: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-08-08 22:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269027072001,"66":27310,"104":206,"83":41216,"24":26,"16":375958931463208960,"44":-1542201366889338880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269027072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:11:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375958931463208960,"km_value":375958931463208.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542201366889338880,"description":"Unknown IO ID 44"} 
[2026-08-08 22:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269027072001,"power":27310,"unknown_104":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1542201366889338880}} 
[2026-08-08 22:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":151761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:11:10] local.INFO: GPS data processed {"connection_id":151761,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:11:10] local.INFO: Acknowledgment sent {"connection_id":151761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:11:14] local.INFO: TCP Data received {"connection_id":153242,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:14] local.INFO: Processing buffer {"connection_id":153242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:14] local.INFO: Packet analysis {"connection_id":153242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:11:14] local.INFO: Extracted packet for processing {"connection_id":153242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:11:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:11:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":153242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:11:14] local.INFO: GPS data processed {"connection_id":153242,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:11:14] local.INFO: Acknowledgment sent {"connection_id":153242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:11:40] local.INFO: TCP Data received {"connection_id":151761,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23e6dd0012ceada80071a5300001b006c29..."} 
[2026-08-08 22:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23e6dd0012ceada80071a5300001b006c29..."} 
[2026-08-08 22:11:40] local.INFO: Processing buffer {"connection_id":151761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23e6dd0012ceada80071a5300001b006c29..."} 
[2026-08-08 22:11:40] local.INFO: Packet analysis {"connection_id":151761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:11:40] local.INFO: Extracted packet for processing {"connection_id":151761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":753588864,"raw_latitude":119165696,"longitude_deg":75.3588864,"latitude_deg":11.9165696,"altitude":27,"angle":108,"satellites":41,"speed":19,"hex_longitude":"2ceada80","hex_latitude":"071a5300","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269031168001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375959365254905856,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1533053430147307520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11: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-08-08 22:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786207170000,"timestamp_ms":1786207170000,"timestamp_seconds":1786207170,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23e6dd0"} 
[2026-08-08 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-08-08 22:11: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-08-08 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":174,"data_length":795,"current_offset":136} 
[2026-08-08 22:11: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-08-08 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-08-08 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-08-08 22:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269031168001,"66":27332,"104":206,"83":41216,"24":19,"16":375959365254905856,"44":-1533053430147307520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269031168001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:11:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375959365254905856,"km_value":375959365254905.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1533053430147307520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269031168001,"power":27332,"unknown_104":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1533053430147307520}} 
[2026-08-08 22:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":151761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:11:40] local.INFO: GPS data processed {"connection_id":151761,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:11:40] local.INFO: Acknowledgment sent {"connection_id":151761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:11:41] local.INFO: TCP Data received {"connection_id":150561,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:11:41] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:11:41] local.INFO: IMEI packet received {"connection_id":150561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":150561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:11:46] local.INFO: TCP Data received {"connection_id":150561,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:11:46] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:11:46] local.INFO: IMEI packet received {"connection_id":150561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":150561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:11:47] local.INFO: TCP Data received {"connection_id":150561,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:47] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:47] local.INFO: Packet analysis {"connection_id":150561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:11:47] local.INFO: Extracted packet for processing {"connection_id":150561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:11: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-08-08 22:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":150561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:11:47] local.INFO: GPS data processed {"connection_id":150561,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:11:47] local.INFO: Acknowledgment sent {"connection_id":150561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:11:51] local.INFO: TCP Data received {"connection_id":150561,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:51] local.INFO: Processing buffer {"connection_id":150561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:11:51] local.INFO: Packet analysis {"connection_id":150561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:11:51] local.INFO: Extracted packet for processing {"connection_id":150561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:11:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":150561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:11:51] local.INFO: GPS data processed {"connection_id":150561,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:11:51] local.INFO: Acknowledgment sent {"connection_id":150561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:12:09] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:12:09] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:12:09] local.INFO: IMEI packet received {"connection_id":151762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":151762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:12:14] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:12:14] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:12:14] local.INFO: IMEI packet received {"connection_id":151762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":151762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:12:15] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23eb038012ceafc80071a43b0001f00722c..."} 
[2026-08-08 22:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23eb038012ceafc80071a43b0001f00722c..."} 
[2026-08-08 22:12:15] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23eb038012ceafc80071a43b0001f00722c..."} 
[2026-08-08 22:12:15] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:12:15] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:12:15] local.INFO: GPS Element Parsed {"raw_longitude":753597568,"raw_latitude":119161776,"longitude_deg":75.3597568,"latitude_deg":11.9161776,"altitude":31,"angle":114,"satellites":44,"speed":25,"hex_longitude":"2ceafc80","hex_latitude":"071a43b0","is_valid_coordinates":true} 
[2026-08-08 22:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269035520001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375959820521439232,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523764755916718080,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:15] 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-08-08 22:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207187000,"timestamp_ms":1786207187000,"timestamp_seconds":1786207187,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23eb038"} 
[2026-08-08 22:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:12: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-08-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 22:12: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-08-08 22:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269035520001,"66":27397,"104":206,"83":41216,"24":25,"16":375959820521439232,"44":-1523764755916718080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-08-08 22:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269035520001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:12:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-08 22:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375959820521439232,"km_value":375959820521439.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523764755916718080,"description":"Unknown IO ID 44"} 
[2026-08-08 22:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269035520001,"power":27397,"unknown_104":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1523764755916718080}} 
[2026-08-08 22:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:12:15] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:12:15] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:12:17] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23eeeb8012ceb1e80071a3480001f006f2c..."} 
[2026-08-08 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23eeeb8012ceb1e80071a3480001f006f2c..."} 
[2026-08-08 22:12:17] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23eeeb8012ceb1e80071a3480001f006f2c..."} 
[2026-08-08 22:12:17] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:12:17] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:12:17] local.INFO: GPS Element Parsed {"raw_longitude":753606272,"raw_latitude":119157888,"longitude_deg":75.3606272,"latitude_deg":11.9157888,"altitude":31,"angle":111,"satellites":44,"speed":25,"hex_longitude":"2ceb1e80","hex_latitude":"071a3480","is_valid_coordinates":true} 
[2026-08-08 22:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269039872001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375960275787972608,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514194606709559296,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786207203000,"timestamp_ms":1786207203000,"timestamp_seconds":1786207203,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23eeeb8"} 
[2026-08-08 22:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:12: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-08-08 22:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269039872001,"66":27463,"135":206,"83":41216,"24":25,"16":375960275787972608,"44":-1514194606709559296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 22:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269039872001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:12:17] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 22:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375960275787972608,"km_value":375960275787972.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514194606709559296,"description":"Unknown IO ID 44"} 
[2026-08-08 22:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269039872001,"power":27463,"unknown_135":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1514194606709559296}} 
[2026-08-08 22:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:12:18] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:12:18] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:12:35] local.INFO: TCP Data received {"connection_id":151763,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:12:35] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:12:35] local.INFO: IMEI packet received {"connection_id":151763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":151763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:12:41] local.INFO: TCP Data received {"connection_id":151763,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:12:41] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:12:41] local.INFO: IMEI packet received {"connection_id":151763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":151763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:12:42] local.INFO: TCP Data received {"connection_id":151763,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:12:42] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:12:42] local.INFO: Packet analysis {"connection_id":151763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:12:42] local.INFO: Extracted packet for processing {"connection_id":151763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12: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-08-08 22:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:12: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-08-08 22:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:12:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:12:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":151763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:12:42] local.INFO: GPS data processed {"connection_id":151763,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:12:42] local.INFO: Acknowledgment sent {"connection_id":151763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:12:48] local.INFO: TCP Data received {"connection_id":151762,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23f2d38012ceb3f00071a2688001f007628..."} 
[2026-08-08 22:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23f2d38012ceb3f00071a2688001f007628..."} 
[2026-08-08 22:12:48] local.INFO: Processing buffer {"connection_id":151762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23f2d38012ceb3f00071a2688001f007628..."} 
[2026-08-08 22:12:48] local.INFO: Packet analysis {"connection_id":151762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23f"} 
[2026-08-08 22:12:48] local.INFO: Extracted packet for processing {"connection_id":151762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23f"} 
[2026-08-08 22:12:48] local.INFO: GPS Element Parsed {"raw_longitude":753614592,"raw_latitude":119154312,"longitude_deg":75.3614592,"latitude_deg":11.9154312,"altitude":31,"angle":118,"satellites":40,"speed":12,"hex_longitude":"2ceb3f00","hex_latitude":"071a2688","is_valid_coordinates":true} 
[2026-08-08 22:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269043968001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375960705284702208,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1504624457502392320,"note":"Value kept but may cause issues"} 
[2026-08-08 22:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786207219000,"timestamp_ms":1786207219000,"timestamp_seconds":1786207219,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23f2d38"} 
[2026-08-08 22:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":151762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":151762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269043968001,"66":27463,"135":206,"83":41216,"24":12,"16":375960705284702208,"44":-1504624457502392320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 22:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269043968001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:12:48] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 22:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375960705284702208,"km_value":375960705284702.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1504624457502392320,"description":"Unknown IO ID 44"} 
[2026-08-08 22:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269043968001,"power":27463,"unknown_135":206,"unknown_83":41216,"ignition":12,"odometer":null,"unknown_44":-1504624457502392320}} 
[2026-08-08 22:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":151762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:12:48] local.INFO: GPS data processed {"connection_id":151762,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:12:48] local.INFO: Acknowledgment sent {"connection_id":151762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:13:04] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:04] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:04] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:13:05] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:05] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:05] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:13:09] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:09] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:13:09] local.INFO: IMEI packet received {"connection_id":151764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":151764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:13:10] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23f7f40012ceb5d00071a17a8002000762b..."} 
[2026-08-08 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23f7f40012ceb5d00071a17a8002000762b..."} 
[2026-08-08 22:13:10] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23f7f40012ceb5d00071a17a8002000762b..."} 
[2026-08-08 22:13:10] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23f"} 
[2026-08-08 22:13:10] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23f"} 
[2026-08-08 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":753622272,"raw_latitude":119150504,"longitude_deg":75.3622272,"latitude_deg":11.9150504,"altitude":32,"angle":118,"satellites":43,"speed":17,"hex_longitude":"2ceb5d00","hex_latitude":"071a17a8","is_valid_coordinates":true} 
[2026-08-08 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269048064001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375961117601562624,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1495476520760211456,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786207240000,"timestamp_ms":1786207240000,"timestamp_seconds":1786207240,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23f7f40"} 
[2026-08-08 22:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:13: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-08-08 22:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269048064001,"66":27365,"135":206,"83":41216,"24":17,"16":375961117601562624,"44":-1495476520760211456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 22:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269048064001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:13:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 22:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375961117601562624,"km_value":375961117601562.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1495476520760211456,"description":"Unknown IO ID 44"} 
[2026-08-08 22:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269048064001,"power":27365,"unknown_135":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1495476520760211456}} 
[2026-08-08 22:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:13:10] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:13:10] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:13:14] local.INFO: TCP Data received {"connection_id":151763,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:13:14] local.INFO: Processing buffer {"connection_id":151763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23cb850012d196a80071fef680047011725..."} 
[2026-08-08 22:13:14] local.INFO: Packet analysis {"connection_id":151763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:13:14] local.INFO: Extracted packet for processing {"connection_id":151763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23c"} 
[2026-08-08 22:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457268929792001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207058000,"timestamp_ms":1786207058000,"timestamp_seconds":1786207058,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23cb850"} 
[2026-08-08 22:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457268929792001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457268929792001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457268929792001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":151763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:13:14] local.INFO: GPS data processed {"connection_id":151763,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:13:14] local.INFO: Acknowledgment sent {"connection_id":151763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:13:14] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23fd148012ceb6ec0071a0c300020007c2c..."} 
[2026-08-08 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23fd148012ceb6ec0071a0c300020007c2c..."} 
[2026-08-08 22:13:14] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23fd148012ceb6ec0071a0c300020007c2c..."} 
[2026-08-08 22:13:14] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23f"} 
[2026-08-08 22:13:14] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23f"} 
[2026-08-08 22:13:14] local.INFO: GPS Element Parsed {"raw_longitude":753626816,"raw_latitude":119147568,"longitude_deg":75.3626816,"latitude_deg":11.9147568,"altitude":32,"angle":124,"satellites":44,"speed":0,"hex_longitude":"2ceb6ec0","hex_latitude":"071a0c30","is_valid_coordinates":true} 
[2026-08-08 22:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269053440001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375961375299600384,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487032271459866624,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207261000,"timestamp_ms":1786207261000,"timestamp_seconds":1786207261,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23fd148"} 
[2026-08-08 22:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:13: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-08-08 22:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269053440001,"66":27343,"135":206,"83":41216,"24":0,"16":375961375299600384,"44":-1487032271459866624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 22:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269053440001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375961375299600384,"km_value":375961375299600.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487032271459866624,"description":"Unknown IO ID 44"} 
[2026-08-08 22:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269053440001,"power":27343,"unknown_135":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1487032271459866624}} 
[2026-08-08 22:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:13:14] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:13:14] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:13:36] local.INFO: TCP Data received {"connection_id":153243,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:13:36] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:13:36] local.INFO: IMEI packet received {"connection_id":153243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":153243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:13:41] local.INFO: TCP Data received {"connection_id":153243,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:13:41] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:13:41] local.INFO: IMEI packet received {"connection_id":153243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":153243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:13:42] local.INFO: TCP Data received {"connection_id":153243,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:13:42] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:13:42] local.INFO: Packet analysis {"connection_id":153243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:13:42] local.INFO: Extracted packet for processing {"connection_id":153243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13: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-08-08 22:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:13:42] 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-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:13: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-08-08 22:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:13:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":153243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:13:42] local.INFO: GPS data processed {"connection_id":153243,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:13:42] local.INFO: Acknowledgment sent {"connection_id":153243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:13:47] local.INFO: TCP Data received {"connection_id":151764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2400fc8012ceb70c0071a09800020008f2e..."} 
[2026-08-08 22:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2400fc8012ceb70c0071a09800020008f2e..."} 
[2026-08-08 22:13:47] local.INFO: Processing buffer {"connection_id":151764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2400fc8012ceb70c0071a09800020008f2e..."} 
[2026-08-08 22:13:47] local.INFO: Packet analysis {"connection_id":151764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe240"} 
[2026-08-08 22:13:47] local.INFO: Extracted packet for processing {"connection_id":151764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe240"} 
[2026-08-08 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":753627328,"raw_latitude":119146880,"longitude_deg":75.3627328,"latitude_deg":11.914688,"altitude":32,"angle":143,"satellites":46,"speed":7,"hex_longitude":"2ceb70c0","hex_latitude":"071a0980","is_valid_coordinates":true} 
[2026-08-08 22:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269058816001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375961418249273344,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482036090624004096,"note":"Value kept but may cause issues"} 
[2026-08-08 22:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207277000,"timestamp_ms":1786207277000,"timestamp_seconds":1786207277,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2400fc8"} 
[2026-08-08 22:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 22:13: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-08-08 22:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269058816001,"66":27484,"135":206,"83":41216,"24":7,"16":375961418249273344,"44":-1482036090624004096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-08 22:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269058816001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375961418249273344,"km_value":375961418249273.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482036090624004096,"description":"Unknown IO ID 44"} 
[2026-08-08 22:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269058816001,"power":27484,"unknown_135":206,"unknown_83":41216,"ignition":7,"odometer":null,"unknown_44":-1482036090624004096}} 
[2026-08-08 22:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":151764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:13:48] local.INFO: GPS data processed {"connection_id":151764,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:13:48] local.INFO: Acknowledgment sent {"connection_id":151764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:14:04] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:14:04] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:14:04] local.INFO: IMEI packet received {"connection_id":150871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":150871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:14:06] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:14:06] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:14:06] local.INFO: IMEI packet received {"connection_id":150871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":150871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:14:06] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe241c548012cec2180071909600019008a2e..."} 
[2026-08-08 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe241c548012cec2180071909600019008a2e..."} 
[2026-08-08 22:14:06] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe241c548012cec2180071909600019008a2e..."} 
[2026-08-08 22:14:06] local.INFO: Packet analysis {"connection_id":150871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:06] local.INFO: Extracted packet for processing {"connection_id":150871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753672576,"raw_latitude":119081312,"longitude_deg":75.3672576,"latitude_deg":11.9081312,"altitude":25,"angle":138,"satellites":46,"speed":33,"hex_longitude":"2cec2180","hex_latitude":"07190960","is_valid_coordinates":true} 
[2026-08-08 22:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269088512001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375965339554414592,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1438970419202396160,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1786207389000,"timestamp_ms":1786207389000,"timestamp_seconds":1786207389,"priority":1,"record_length":96,"hex_timestamp":"0000019fe241c548"} 
[2026-08-08 22:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:14: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-08-08 22:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":150871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269088512001,"66":27376,"138":206,"83":41216,"24":33,"16":375965339554414592,"44":-1438970419202396160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-08 22:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269088512001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375965339554414592,"km_value":375965339554414.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1438970419202396160,"description":"Unknown IO ID 44"} 
[2026-08-08 22:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269088512001,"power":27376,"unknown_138":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1438970419202396160}} 
[2026-08-08 22:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":150871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:14:06] local.INFO: GPS data processed {"connection_id":150871,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:14:06] local.INFO: Acknowledgment sent {"connection_id":150871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:14:14] local.INFO: TCP Data received {"connection_id":153243,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:14:14] local.INFO: Processing buffer {"connection_id":153243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:14:14] local.INFO: Packet analysis {"connection_id":153243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:14] local.INFO: Extracted packet for processing {"connection_id":153243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 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-08-08 22:14:14] 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-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":153243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:14:14] local.INFO: GPS data processed {"connection_id":153243,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:14:14] local.INFO: Acknowledgment sent {"connection_id":153243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:14:35] local.INFO: TCP Data received {"connection_id":150564,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:14:35] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:14:35] local.INFO: IMEI packet received {"connection_id":150564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":150564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:14:36] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:14:36] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:14:36] local.INFO: IMEI packet received {"connection_id":150563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":150563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:14:37] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23e71b8012d7e398005d358680002014e2b..."} 
[2026-08-08 22:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23e71b8012d7e398005d358680002014e2b..."} 
[2026-08-08 22:14:37] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23e71b8012d7e398005d358680002014e2b..."} 
[2026-08-08 22:14:37] local.INFO: Packet analysis {"connection_id":150563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:14:37] local.INFO: Extracted packet for processing {"connection_id":150563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97736808,"longitude_deg":76.3246976,"latitude_deg":9.7736808,"altitude":2,"angle":334,"satellites":43,"speed":4,"hex_longitude":"2d7e3980","hex_latitude":"05d35868","is_valid_coordinates":true} 
[2026-08-08 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269035520001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485736475131904,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095512053704566784,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207171000,"timestamp_ms":1786207171000,"timestamp_seconds":1786207171,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23e71b8"} 
[2026-08-08 22:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":10,"data_length":795,"current_offset":136} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":419775191384719623,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436651033088,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3609001984,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":215,"raw_value":1585267068834414593,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2144271596558385595,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":80830597450170368,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3179823693667565774,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545726976,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3221302654,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147865432,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,215,159,105,45,64,87,2,44,10,66,94,192,3,86,1,240,239,227,226,211,4,113,205,5,70,61,43,48,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-08 22:14:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144465017457278976,"timestamp_seconds":144465017457278.97,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:14:37] 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-08-08 22:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269035520001,"66":12298,"109":206,"85":15104,"24":4,"16":116485736475131904,"45":9095512053704566784},"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-08-08 22:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269035520001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485736475131904,"km_value":116485736475131.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095512053704566784,"description":"Unknown IO ID 45"} 
[2026-08-08 22:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269035520001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9095512053704566784}} 
[2026-08-08 22:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":150563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:14:37] local.INFO: GPS data processed {"connection_id":150563,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:14:37] local.INFO: Acknowledgment sent {"connection_id":150563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:14:37] local.INFO: TCP Data received {"connection_id":150871,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe241ec58012cec38000718ee600019008f2b..."} 
[2026-08-08 22:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe241ec58012cec38000718ee600019008f2b..."} 
[2026-08-08 22:14:37] local.INFO: Processing buffer {"connection_id":150871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe241ec58012cec38000718ee600019008f2b..."} 
[2026-08-08 22:14:37] local.INFO: Packet analysis {"connection_id":150871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:37] local.INFO: Extracted packet for processing {"connection_id":150871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753678336,"raw_latitude":119074400,"longitude_deg":75.3678336,"latitude_deg":11.90744,"altitude":25,"angle":143,"satellites":43,"speed":38,"hex_longitude":"2cec3800","hex_latitude":"0718ee60","is_valid_coordinates":true} 
[2026-08-08 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269091584001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375965773346111488,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1431722438553935872,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207399000,"timestamp_ms":1786207399000,"timestamp_seconds":1786207399,"priority":1,"record_length":96,"hex_timestamp":"0000019fe241ec58"} 
[2026-08-08 22:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:14: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-08-08 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269091584001,"66":27365,"115":206,"83":41216,"24":38,"16":375965773346111488,"44":-1431722438553935872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 22:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269091584001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375965773346111488,"km_value":375965773346111.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1431722438553935872,"description":"Unknown IO ID 44"} 
[2026-08-08 22:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269091584001,"power":27365,"unknown_115":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1431722438553935872}} 
[2026-08-08 22:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":150871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:14:37] local.INFO: GPS data processed {"connection_id":150871,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:14:37] local.INFO: Acknowledgment sent {"connection_id":150871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:14:41] local.INFO: TCP Data received {"connection_id":150564,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:14:41] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:14:41] local.INFO: IMEI packet received {"connection_id":150564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":150564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:14:42] local.INFO: TCP Data received {"connection_id":150564,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:14:42] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:14:42] local.INFO: Packet analysis {"connection_id":150564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:42] local.INFO: Extracted packet for processing {"connection_id":150564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:14:42] 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-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:14: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-08-08 22:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:14:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":150564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:14:42] local.INFO: GPS data processed {"connection_id":150564,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:14:42] local.INFO: Acknowledgment sent {"connection_id":150564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:15:04] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:04] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:04] local.INFO: IMEI packet received {"connection_id":150565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":150565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:15:05] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:05] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:05] local.INFO: IMEI packet received {"connection_id":150565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":150565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:15:09] local.INFO: TCP Data received {"connection_id":150563,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23e75a0012d7e398005d358c80002015d2c..."} 
[2026-08-08 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23e75a0012d7e398005d358c80002015d2c..."} 
[2026-08-08 22:15:09] local.INFO: Processing buffer {"connection_id":150563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23e75a0012d7e398005d358c80002015d2c..."} 
[2026-08-08 22:15:09] local.INFO: Packet analysis {"connection_id":150563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:15:09] local.INFO: Extracted packet for processing {"connection_id":150563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97736904,"longitude_deg":76.3246976,"latitude_deg":9.7736904,"altitude":2,"angle":349,"satellites":44,"speed":3,"hex_longitude":"2d7e3980","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269035776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485740770099200,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684960405504,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786207172000,"timestamp_ms":1786207172000,"timestamp_seconds":1786207172,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23e75a0"} 
[2026-08-08 22:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436617478656,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3609067520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2089670227099910145,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2144211467016241601,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419775397543149855,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2251799814340612,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569353490638,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607255,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545763840,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.WARNING: Large IO value detected {"io_id":3,"raw_value":76889947742666752,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,215,159,45,192,88,2,43,10,66,105,64,87,44,94,1,240,239,227,226,211,4,113,205,74,60,248,48,5,3],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-08 22:15:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144482609643388928,"timestamp_seconds":144482609643388.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269035776001,"66":12037,"109":206,"85":15104,"24":3,"16":116485740770099200,"45":9095441684960405504},"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-08-08 22:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269035776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:15:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485740770099200,"km_value":116485740770099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684960405504,"description":"Unknown IO ID 45"} 
[2026-08-08 22:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269035776001,"power":12037,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9095441684960405504}} 
[2026-08-08 22:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":150563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:15:09] local.INFO: GPS data processed {"connection_id":150563,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:15:09] local.INFO: Acknowledgment sent {"connection_id":150563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:15:09] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:09] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:15:09] local.INFO: IMEI packet received {"connection_id":150565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":150565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:15:10] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2420f80012cec4b400718d1e0001b009b2a..."} 
[2026-08-08 22:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2420f80012cec4b400718d1e0001b009b2a..."} 
[2026-08-08 22:15:10] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2420f80012cec4b400718d1e0001b009b2a..."} 
[2026-08-08 22:15:10] local.INFO: Packet analysis {"connection_id":150565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe242"} 
[2026-08-08 22:15:10] local.INFO: Extracted packet for processing {"connection_id":150565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe242"} 
[2026-08-08 22:15:10] local.INFO: GPS Element Parsed {"raw_longitude":753683264,"raw_latitude":119067104,"longitude_deg":75.3683264,"latitude_deg":11.9067104,"altitude":27,"angle":155,"satellites":42,"speed":39,"hex_longitude":"2cec4b40","hex_latitude":"0718d1e0","is_valid_coordinates":true} 
[2026-08-08 22:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269094144001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375966198547873792,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1425389251579715584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786207408000,"timestamp_ms":1786207408000,"timestamp_seconds":1786207408,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2420f80"} 
[2026-08-08 22:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:15: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-08-08 22:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269094144001,"66":27321,"115":206,"83":41216,"24":39,"16":375966198547873792,"44":-1425389251579715584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 22:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269094144001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:15:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 22:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375966198547873792,"km_value":375966198547873.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1425389251579715584,"description":"Unknown IO ID 44"} 
[2026-08-08 22:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269094144001,"power":27321,"unknown_115":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1425389251579715584}} 
[2026-08-08 22:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":150565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:15:10] local.INFO: GPS data processed {"connection_id":150565,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:15:10] local.INFO: Acknowledgment sent {"connection_id":150565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:15:14] local.INFO: TCP Data received {"connection_id":150564,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:15:14] local.INFO: Processing buffer {"connection_id":150564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:15:14] local.INFO: Packet analysis {"connection_id":150564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:15:14] local.INFO: Extracted packet for processing {"connection_id":150564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:15:14] 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-08-08 22:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:15:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":150564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:15:14] local.INFO: GPS data processed {"connection_id":150564,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:15:14] local.INFO: Acknowledgment sent {"connection_id":150564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:15:35] local.INFO: TCP Data received {"connection_id":150566,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:15:35] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:15:35] local.INFO: IMEI packet received {"connection_id":150566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":150566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:15:36] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:15:36] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:15:36] local.INFO: IMEI packet received {"connection_id":153244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":153244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:15:41] local.INFO: TCP Data received {"connection_id":150565,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2423690012cec58000718ad98001d00a12b..."} 
[2026-08-08 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2423690012cec58000718ad98001d00a12b..."} 
[2026-08-08 22:15:41] local.INFO: Processing buffer {"connection_id":150565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2423690012cec58000718ad98001d00a12b..."} 
[2026-08-08 22:15:41] local.INFO: Packet analysis {"connection_id":150565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe242"} 
[2026-08-08 22:15:41] local.INFO: Extracted packet for processing {"connection_id":150565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe242"} 
[2026-08-08 22:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753686528,"raw_latitude":119057816,"longitude_deg":75.3686528,"latitude_deg":11.9057816,"altitude":29,"angle":161,"satellites":43,"speed":41,"hex_longitude":"2cec5800","hex_latitude":"0718ad98","is_valid_coordinates":true} 
[2026-08-08 22:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269096448001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375966675289243648,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419970858279903232,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786207418000,"timestamp_ms":1786207418000,"timestamp_seconds":1786207418,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2423690"} 
[2026-08-08 22:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:15: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-08-08 22:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:15: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-08-08 22:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269096448001,"66":27463,"115":206,"83":41216,"24":41,"16":375966675289243648,"44":-1419970858279903232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 22:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269096448001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:15:41] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 22:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375966675289243648,"km_value":375966675289243.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419970858279903232,"description":"Unknown IO ID 44"} 
[2026-08-08 22:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269096448001,"power":27463,"unknown_115":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1419970858279903232}} 
[2026-08-08 22:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":150565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:15:41] local.INFO: GPS data processed {"connection_id":150565,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:15:41] local.INFO: Acknowledgment sent {"connection_id":150565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:15:41] local.INFO: TCP Data received {"connection_id":150566,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:15:41] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:15:41] local.INFO: IMEI packet received {"connection_id":150566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":150566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:15:41] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:15:41] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:15:41] local.INFO: IMEI packet received {"connection_id":153244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":153244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:15:42] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23e8158012d7e398005d358c00002008f2a..."} 
[2026-08-08 22:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23e8158012d7e398005d358c00002008f2a..."} 
[2026-08-08 22:15:42] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23e8158012d7e398005d358c00002008f2a..."} 
[2026-08-08 22:15:42] local.INFO: Packet analysis {"connection_id":153244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:15:42] local.INFO: Extracted packet for processing {"connection_id":153244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97736896,"longitude_deg":76.3246976,"latitude_deg":9.7736896,"altitude":2,"angle":143,"satellites":42,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d358c0","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269036032001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485749360033792,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684960430080,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207175000,"timestamp_ms":1786207175000,"timestamp_seconds":1786207175,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23e8158"} 
[2026-08-08 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-08-08 22:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3609329664,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3795733160,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221607255,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807181,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3217830729798844629,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194894592,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,215,159,113,45,128,88,2,43,10,66,192,105,64,1,240,103,227,226,211,4,205,3,86,59,44,239,46,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-08-08 22:15:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144499106612707328,"timestamp_seconds":144499106612707.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 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-08-08 22:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:15:42] 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-08-08 22:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269036032001,"66":12298,"109":206,"85":15104,"24":0,"16":116485749360033792,"45":9095441684960430080},"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-08-08 22:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269036032001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485749360033792,"km_value":116485749360033.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684960430080,"description":"Unknown IO ID 45"} 
[2026-08-08 22:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269036032001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684960430080}} 
[2026-08-08 22:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":153244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:15:42] local.INFO: GPS data processed {"connection_id":153244,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:15:42] local.INFO: Acknowledgment sent {"connection_id":153244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:15:42] local.INFO: TCP Data received {"connection_id":150566,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:15:42] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:15:42] local.INFO: Packet analysis {"connection_id":150566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:15:42] local.INFO: Extracted packet for processing {"connection_id":150566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 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-08-08 22:15:42] 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-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:15: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-08-08 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-08-08 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-08-08 22:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":150566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:15:42] local.INFO: GPS data processed {"connection_id":150566,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:15:42] local.INFO: Acknowledgment sent {"connection_id":150566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:16:03] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:03] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:03] local.INFO: IMEI packet received {"connection_id":150567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":150567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:16:05] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:05] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:05] local.INFO: IMEI packet received {"connection_id":150567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":150567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:16:09] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:09] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:16:09] local.INFO: IMEI packet received {"connection_id":150567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":150567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:16:10] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24251e8012cec634007189468001e009529..."} 
[2026-08-08 22:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24251e8012cec634007189468001e009529..."} 
[2026-08-08 22:16:10] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24251e8012cec634007189468001e009529..."} 
[2026-08-08 22:16:10] local.INFO: Packet analysis {"connection_id":150567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe242"} 
[2026-08-08 22:16:10] local.INFO: Extracted packet for processing {"connection_id":150567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe242"} 
[2026-08-08 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":753689408,"raw_latitude":119051368,"longitude_deg":75.3689408,"latitude_deg":11.9051368,"altitude":30,"angle":149,"satellites":41,"speed":38,"hex_longitude":"2cec6340","hex_latitude":"07189468","is_valid_coordinates":true} 
[2026-08-08 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269099008001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375967014591660032,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416382052329220096,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786207425000,"timestamp_ms":1786207425000,"timestamp_seconds":1786207425,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24251e8"} 
[2026-08-08 22:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:16: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-08-08 22:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269099008001,"66":27484,"115":206,"83":41216,"24":38,"16":375967014591660032,"44":-1416382052329220096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-08-08 22:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269099008001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:16:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-08 22:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375967014591660032,"km_value":375967014591660.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416382052329220096,"description":"Unknown IO ID 44"} 
[2026-08-08 22:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269099008001,"power":27484,"unknown_115":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1416382052329220096}} 
[2026-08-08 22:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":150567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:16:10] local.INFO: GPS data processed {"connection_id":150567,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:16:10] local.INFO: Acknowledgment sent {"connection_id":150567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:16:13] local.INFO: TCP Data received {"connection_id":153244,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23e8928012d7e398005d358680002007f2b..."} 
[2026-08-08 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23e8928012d7e398005d358680002007f2b..."} 
[2026-08-08 22:16:13] local.INFO: Processing buffer {"connection_id":153244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23e8928012d7e398005d358680002007f2b..."} 
[2026-08-08 22:16:13] local.INFO: Packet analysis {"connection_id":153244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:16:13] local.INFO: Extracted packet for processing {"connection_id":153244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97736808,"longitude_deg":76.3246976,"latitude_deg":9.7736808,"altitude":2,"angle":127,"satellites":43,"speed":2,"hex_longitude":"2d7e3980","hex_latitude":"05d35868","is_valid_coordinates":true} 
[2026-08-08 22:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269036800001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485753655001088,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684960428032,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786207177000,"timestamp_ms":1786207177000,"timestamp_seconds":1786207177,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23e8928"} 
[2026-08-08 22:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:16: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-08-08 22:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436583924224,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3609526272,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2449958197289549825,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2144194287147057604,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3381922726945816782,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1407374884208644,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419775912939290879,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221607255,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807181,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545726976,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.WARNING: Large IO value detected {"io_id":3,"raw_value":75765147313897472,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:13] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,215,159,117,45,128,88,2,44,10,66,113,43,192,1,240,227,226,211,4,205,94,58,136,239,46,5,3],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-08 22:16:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144272598627254272,"timestamp_seconds":144272598627254.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:16:13] 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-08-08 22:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269036800001,"66":12298,"109":206,"85":15104,"24":2,"16":116485753655001088,"45":9095441684960428032},"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-08-08 22:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269036800001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:16:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485753655001088,"km_value":116485753655001.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684960428032,"description":"Unknown IO ID 45"} 
[2026-08-08 22:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269036800001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095441684960428032}} 
[2026-08-08 22:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":153244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:16:13] local.INFO: GPS data processed {"connection_id":153244,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:16:13] local.INFO: Acknowledgment sent {"connection_id":153244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:16:14] local.INFO: TCP Data received {"connection_id":150566,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:16:14] local.INFO: Processing buffer {"connection_id":150566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:16:14] local.INFO: Packet analysis {"connection_id":150566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:16:14] local.INFO: Extracted packet for processing {"connection_id":150566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:16:14] 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-08-08 22:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:16:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":150566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:16:14] local.INFO: GPS data processed {"connection_id":150566,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:16:14] local.INFO: Acknowledgment sent {"connection_id":150566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:16:31] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:16:31] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:16:31] local.INFO: IMEI packet received {"connection_id":150872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":150872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:16:36] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:16:36] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:16:36] local.INFO: IMEI packet received {"connection_id":150872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":150872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:16:37] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23ea868012d7e3a8005d35740000100912b..."} 
[2026-08-08 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23ea868012d7e3a8005d35740000100912b..."} 
[2026-08-08 22:16:37] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23ea868012d7e3a8005d35740000100912b..."} 
[2026-08-08 22:16:37] local.INFO: Packet analysis {"connection_id":150872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:16:37] local.INFO: Extracted packet for processing {"connection_id":150872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736512,"longitude_deg":76.3247232,"latitude_deg":9.7736512,"altitude":1,"angle":145,"satellites":43,"speed":1,"hex_longitude":"2d7e3a80","hex_latitude":"05d35740","is_valid_coordinates":true} 
[2026-08-08 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269037312001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684960405504,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207185000,"timestamp_ms":1786207185000,"timestamp_seconds":1786207185,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23ea868"} 
[2026-08-08 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436567147008,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3609657344,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2666130979403333633,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2144181402245169605,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3381922726945816782,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1125899907497988,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":3,"raw_value":81957596784754688,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3892391294,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545729024,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419775397543215373,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:37] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,215,159,129,45,128,88,2,42,10,66,117,44,113,1,240,227,226,211,4,205,3,105,58,224,239,47,5,192],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-08 22:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144255010736308224,"timestamp_seconds":144255010736308.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:16: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-08-08 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269037312001,"66":12069,"109":206,"85":15104,"24":1,"16":116485775129837568,"45":9095441684960405504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269037312001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684960405504,"description":"Unknown IO ID 45"} 
[2026-08-08 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269037312001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9095441684960405504}} 
[2026-08-08 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":150872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:16:37] local.INFO: GPS data processed {"connection_id":150872,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:16:37] local.INFO: Acknowledgment sent {"connection_id":150872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:16:41] local.INFO: TCP Data received {"connection_id":150567,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2441af0012cec46800716f4e0002600a82c..."} 
[2026-08-08 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2441af0012cec46800716f4e0002600a82c..."} 
[2026-08-08 22:16:41] local.INFO: Processing buffer {"connection_id":150567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2441af0012cec46800716f4e0002600a82c..."} 
[2026-08-08 22:16:41] local.INFO: Packet analysis {"connection_id":150567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:16:41] local.INFO: Extracted packet for processing {"connection_id":150567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":118944992,"longitude_deg":75.3682048,"latitude_deg":11.8944992,"altitude":38,"angle":168,"satellites":44,"speed":41,"hex_longitude":"2cec4680","hex_latitude":"0716f4e0","is_valid_coordinates":true} 
[2026-08-08 22:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269129472001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375972263041695744,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421870814402676736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786207542000,"timestamp_ms":1786207542000,"timestamp_seconds":1786207542,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2441af0"} 
[2026-08-08 22:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-08 22:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:16: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-08-08 22:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269129472001,"66":27571,"193":206,"83":41216,"24":41,"16":375972263041695744,"44":-1421870814402676736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 22:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269129472001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:16:41] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 22:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375972263041695744,"km_value":375972263041695.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421870814402676736,"description":"Unknown IO ID 44"} 
[2026-08-08 22:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269129472001,"power":27571,"unknown_193":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1421870814402676736}} 
[2026-08-08 22:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":150567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:16:41] local.INFO: GPS data processed {"connection_id":150567,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:16:41] local.INFO: Acknowledgment sent {"connection_id":150567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:16:41] local.INFO: TCP Data received {"connection_id":153245,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:16:41] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:16:41] local.INFO: IMEI packet received {"connection_id":153245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":153245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:16:46] local.INFO: TCP Data received {"connection_id":153245,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:16:46] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:16:46] local.INFO: IMEI packet received {"connection_id":153245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":153245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:16:47] local.INFO: TCP Data received {"connection_id":153245,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:16:47] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:16:47] local.INFO: Packet analysis {"connection_id":153245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:16:47] local.INFO: Extracted packet for processing {"connection_id":153245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:16:47] 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-08-08 22:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":153245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:16:47] local.INFO: GPS data processed {"connection_id":153245,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:16:47] local.INFO: Acknowledgment sent {"connection_id":153245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:08] local.INFO: TCP Data received {"connection_id":150872,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23ed748012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23ed748012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:17:08] local.INFO: Processing buffer {"connection_id":150872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23ed748012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:17:08] local.INFO: Packet analysis {"connection_id":150872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:17:08] local.INFO: Extracted packet for processing {"connection_id":150872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269039360001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937040384,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17: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-08-08 22:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786207197000,"timestamp_ms":1786207197000,"timestamp_seconds":1786207197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23ed748"} 
[2026-08-08 22:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17: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-08-08 22: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-08 22:17: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-08-08 22:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:17: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-08-08 22:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269039360001,"66":13222,"109":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937040384},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 22:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269039360001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937040384,"description":"Unknown IO ID 45"} 
[2026-08-08 22:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269039360001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937040384}} 
[2026-08-08 22:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":150872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:08] local.INFO: GPS data processed {"connection_id":150872,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:08] local.INFO: Acknowledgment sent {"connection_id":150872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:08] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:08] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:08] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:17:08] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:08] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:08] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:17:14] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:14] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:17:14] local.INFO: IMEI packet received {"connection_id":151765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":151765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:17:15] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2443e18012cec50c00716d0a8002100a12c..."} 
[2026-08-08 22:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2443e18012cec50c00716d0a8002100a12c..."} 
[2026-08-08 22:17:15] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2443e18012cec50c00716d0a8002100a12c..."} 
[2026-08-08 22:17:15] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:17:15] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":753684672,"raw_latitude":118935720,"longitude_deg":75.3684672,"latitude_deg":11.893572,"altitude":33,"angle":161,"satellites":44,"speed":39,"hex_longitude":"2cec50c0","hex_latitude":"0716d0a8","is_valid_coordinates":true} 
[2026-08-08 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269130752001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375972731193131008,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421307864450539520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207551000,"timestamp_ms":1786207551000,"timestamp_seconds":1786207551,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2443e18"} 
[2026-08-08 22:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17: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-08-08 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269130752001,"66":27571,"193":206,"83":41216,"24":39,"16":375972731193131008,"44":-1421307864450539520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269130752001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375972731193131008,"km_value":375972731193131.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421307864450539520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269130752001,"power":27571,"unknown_193":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1421307864450539520}} 
[2026-08-08 22:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:15] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:15] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:15] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2446140012cec5bc00716aef0001e009d2d..."} 
[2026-08-08 22:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2446140012cec5bc00716aef0001e009d2d..."} 
[2026-08-08 22:17:15] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2446140012cec5bc00716aef0001e009d2d..."} 
[2026-08-08 22:17:15] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:17:15] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":753687488,"raw_latitude":118927088,"longitude_deg":75.3687488,"latitude_deg":11.8927088,"altitude":30,"angle":157,"satellites":45,"speed":38,"hex_longitude":"2cec5bc0","hex_latitude":"0716aef0","is_valid_coordinates":true} 
[2026-08-08 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269133056001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375973169279795200,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418422745941628928,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786207560000,"timestamp_ms":1786207560000,"timestamp_seconds":1786207560,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2446140"} 
[2026-08-08 22:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17: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-08-08 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269133056001,"66":27397,"193":206,"83":41216,"24":38,"16":375973169279795200,"44":-1418422745941628928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 22:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269133056001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375973169279795200,"km_value":375973169279795.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418422745941628928,"description":"Unknown IO ID 44"} 
[2026-08-08 22:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269133056001,"power":27397,"unknown_193":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1418422745941628928}} 
[2026-08-08 22:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:15] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:15] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:19] local.INFO: TCP Data received {"connection_id":153245,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:17:19] local.INFO: Processing buffer {"connection_id":153245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:17:19] local.INFO: Packet analysis {"connection_id":153245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:17:19] local.INFO: Extracted packet for processing {"connection_id":153245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17:19] 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-08-08 22:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":153245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":153245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":153245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":153245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:19] local.INFO: GPS data processed {"connection_id":153245,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:19] local.INFO: Acknowledgment sent {"connection_id":153245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:31] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:17:31] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:17:31] local.INFO: IMEI packet received {"connection_id":153246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":153246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:17:36] local.INFO: TCP Data received {"connection_id":150568,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:17:36] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:17:36] local.INFO: IMEI packet received {"connection_id":150568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":150568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:17:36] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:17:36] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:17:36] local.INFO: IMEI packet received {"connection_id":153246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":153246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:17:37] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe23ed748012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe23ed748012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:17:37] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe23ed748012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:17:37] local.INFO: Packet analysis {"connection_id":153246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:17:37] local.INFO: Extracted packet for processing {"connection_id":153246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe23e"} 
[2026-08-08 22:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269042432001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207197000,"timestamp_ms":1786207197000,"timestamp_seconds":1786207197,"priority":1,"record_length":96,"hex_timestamp":"0000019fe23ed748"} 
[2026-08-08 22:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17:37] 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-08-08 22: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 22:17: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-08-08 22:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269042432001,"66":13222,"109":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-08 22:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269042432001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269042432001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":153246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:37] local.INFO: GPS data processed {"connection_id":153246,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:37] local.INFO: Acknowledgment sent {"connection_id":153246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:41] local.INFO: TCP Data received {"connection_id":150568,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:17:41] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:17:41] local.INFO: IMEI packet received {"connection_id":150568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":150568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:17:42] local.INFO: TCP Data received {"connection_id":150568,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:17:42] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:17:42] local.INFO: Packet analysis {"connection_id":150568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:17:42] local.INFO: Extracted packet for processing {"connection_id":150568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17: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-08-08 22:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 22:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17:42] 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-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:17: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-08-08 22:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":150568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:42] local.INFO: GPS data processed {"connection_id":150568,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:42] local.INFO: Acknowledgment sent {"connection_id":150568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:17:47] local.INFO: TCP Data received {"connection_id":151765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2448850012cec694007168e28001900a128..."} 
[2026-08-08 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2448850012cec694007168e28001900a128..."} 
[2026-08-08 22:17:47] local.INFO: Processing buffer {"connection_id":151765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2448850012cec694007168e28001900a128..."} 
[2026-08-08 22:17:47] local.INFO: Packet analysis {"connection_id":151765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:17:47] local.INFO: Extracted packet for processing {"connection_id":151765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe244"} 
[2026-08-08 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":753690944,"raw_latitude":118918696,"longitude_deg":75.3690944,"latitude_deg":11.8918696,"altitude":25,"angle":161,"satellites":40,"speed":38,"hex_longitude":"2cec6940","hex_latitude":"07168e28","is_valid_coordinates":true} 
[2026-08-08 22:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269135360001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375973607366459392,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415326521200021504,"note":"Value kept but may cause issues"} 
[2026-08-08 22:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207570000,"timestamp_ms":1786207570000,"timestamp_seconds":1786207570,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2448850"} 
[2026-08-08 22:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269135360001,"66":27397,"193":206,"83":41216,"24":38,"16":375973607366459392,"44":-1415326521200021504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-08-08 22:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269135360001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-08 22:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375973607366459392,"km_value":375973607366459.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415326521200021504,"description":"Unknown IO ID 44"} 
[2026-08-08 22:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269135360001,"power":27397,"unknown_193":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1415326521200021504}} 
[2026-08-08 22:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":151765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:17:47] local.INFO: GPS data processed {"connection_id":151765,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:17:47] local.INFO: Acknowledgment sent {"connection_id":151765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:18:05] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:05] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:05] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:18:08] local.INFO: TCP Data received {"connection_id":153246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:18:08] local.INFO: Processing buffer {"connection_id":153246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:18:08] local.INFO: Packet analysis {"connection_id":153246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:18:08] local.INFO: Extracted packet for processing {"connection_id":153246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269042432001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786207500000,"timestamp_ms":1786207500000,"timestamp_seconds":1786207500,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24376e0"} 
[2026-08-08 22:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:18:08] 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-08-08 22: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 22:18: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-08-08 22:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":153246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":153246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":153246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269042432001,"66":12374,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269042432001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269042432001,"power":12374,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":153246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:18:08] local.INFO: GPS data processed {"connection_id":153246,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:18:08] local.INFO: Acknowledgment sent {"connection_id":153246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:18:14] local.INFO: TCP Data received {"connection_id":150568,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:18:14] local.INFO: Processing buffer {"connection_id":150568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2415018012d196a80071fef680047011726..."} 
[2026-08-08 22:18:14] local.INFO: Packet analysis {"connection_id":150568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:18:14] local.INFO: Extracted packet for processing {"connection_id":150568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe241"} 
[2026-08-08 22:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269006848001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207359000,"timestamp_ms":1786207359000,"timestamp_seconds":1786207359,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2415018"} 
[2026-08-08 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-08-08 22:18:14] 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-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269006848001,"66":2177,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269006848001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269006848001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":150568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:18:14] local.INFO: GPS data processed {"connection_id":150568,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:18:14] local.INFO: Acknowledgment sent {"connection_id":150568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:18:31] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:18:31] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:18:31] local.INFO: IMEI packet received {"connection_id":150874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":150874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:18:34] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:34] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:34] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:18:35] local.INFO: TCP Data received {"connection_id":150569,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:18:35] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:18:35] local.INFO: IMEI packet received {"connection_id":150569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":150569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:18:36] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:18:36] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:18:36] local.INFO: IMEI packet received {"connection_id":150874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":150874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:18:37] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:18:37] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:18:37] local.INFO: Packet analysis {"connection_id":150874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:18:37] local.INFO: Extracted packet for processing {"connection_id":150874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269042432001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207500000,"timestamp_ms":1786207500000,"timestamp_seconds":1786207500,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24376e0"} 
[2026-08-08 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:18:37] 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-08-08 22: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 22:18: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-08-08 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269042432001,"66":12374,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269042432001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269042432001,"power":12374,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":150874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:18:37] local.INFO: GPS data processed {"connection_id":150874,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:18:37] local.INFO: Acknowledgment sent {"connection_id":150874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:18:37] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:37] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:37] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:18:38] local.INFO: TCP Data received {"connection_id":150873,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:38] local.INFO: Processing buffer {"connection_id":150873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:18:38] local.INFO: IMEI packet received {"connection_id":150873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":150873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:18:41] local.INFO: TCP Data received {"connection_id":150569,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:18:41] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:18:41] local.INFO: IMEI packet received {"connection_id":150569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":150569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:18:42] local.INFO: TCP Data received {"connection_id":150569,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:18:42] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:18:42] local.INFO: Packet analysis {"connection_id":150569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:18:42] local.INFO: Extracted packet for processing {"connection_id":150569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:18: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-08-08 22:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:18:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:18:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":150569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:18:42] local.INFO: GPS data processed {"connection_id":150569,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:18:42] local.INFO: Acknowledgment sent {"connection_id":150569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:19:10] local.INFO: TCP Data received {"connection_id":150874,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:19:10] local.INFO: Processing buffer {"connection_id":150874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:19:10] local.INFO: Packet analysis {"connection_id":150874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:19:10] local.INFO: Extracted packet for processing {"connection_id":150874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269042432001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786207500000,"timestamp_ms":1786207500000,"timestamp_seconds":1786207500,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24376e0"} 
[2026-08-08 22:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:19: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-08-08 22:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 22:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269042432001,"66":12374,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269042432001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269042432001,"power":12374,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":150874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:19:10] local.INFO: GPS data processed {"connection_id":150874,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:19:10] local.INFO: Acknowledgment sent {"connection_id":150874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:19:14] local.INFO: TCP Data received {"connection_id":150569,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:19:14] local.INFO: Processing buffer {"connection_id":150569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:19:14] local.INFO: Packet analysis {"connection_id":150569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:19:14] local.INFO: Extracted packet for processing {"connection_id":150569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:19: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-08-08 22:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:19:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":150569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:19:14] local.INFO: GPS data processed {"connection_id":150569,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:19:14] local.INFO: Acknowledgment sent {"connection_id":150569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:19:31] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:19:31] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:19:31] local.INFO: IMEI packet received {"connection_id":150875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":150875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:19:35] local.INFO: TCP Data received {"connection_id":151766,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:19:35] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:19:35] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:19:36] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:19:36] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:19:36] local.INFO: IMEI packet received {"connection_id":150875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":150875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:19:37] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:19:37] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24376e0012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:19:37] local.INFO: Packet analysis {"connection_id":150875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:19:37] local.INFO: Extracted packet for processing {"connection_id":150875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe243"} 
[2026-08-08 22:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269042432001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207500000,"timestamp_ms":1786207500000,"timestamp_seconds":1786207500,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24376e0"} 
[2026-08-08 22:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:19:37] 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-08-08 22: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-08 22:19: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-08-08 22:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269042432001,"66":12374,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269042432001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269042432001,"power":12374,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":150875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:19:37] local.INFO: GPS data processed {"connection_id":150875,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:19:37] local.INFO: Acknowledgment sent {"connection_id":150875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:19:41] local.INFO: TCP Data received {"connection_id":151766,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:19:41] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:19:41] local.INFO: IMEI packet received {"connection_id":151766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":151766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:19:42] local.INFO: TCP Data received {"connection_id":151766,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:19:42] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:19:42] local.INFO: Packet analysis {"connection_id":151766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:19:42] local.INFO: Extracted packet for processing {"connection_id":151766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:19: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-08-08 22:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:19:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":151766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:19:42] local.INFO: GPS data processed {"connection_id":151766,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:19:42] local.INFO: Acknowledgment sent {"connection_id":151766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:20:08] local.INFO: TCP Data received {"connection_id":150875,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe247fb20012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe247fb20012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:20:08] local.INFO: Processing buffer {"connection_id":150875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe247fb20012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:20:08] local.INFO: Packet analysis {"connection_id":150875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe247"} 
[2026-08-08 22:20:08] local.INFO: Extracted packet for processing {"connection_id":150875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe247"} 
[2026-08-08 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269120000001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786207796000,"timestamp_ms":1786207796000,"timestamp_seconds":1786207796,"priority":1,"record_length":96,"hex_timestamp":"0000019fe247fb20"} 
[2026-08-08 22:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:20: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-08-08 22: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-08 22:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269120000001,"66":12211,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269120000001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269120000001,"power":12211,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":150875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:20:08] local.INFO: GPS data processed {"connection_id":150875,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:20:08] local.INFO: Acknowledgment sent {"connection_id":150875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:20:14] local.INFO: TCP Data received {"connection_id":151766,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:14] local.INFO: Processing buffer {"connection_id":151766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:14] local.INFO: Packet analysis {"connection_id":151766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:20:14] local.INFO: Extracted packet for processing {"connection_id":151766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:20: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-08-08 22:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:20:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":151766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:20:14] local.INFO: GPS data processed {"connection_id":151766,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:20:14] local.INFO: Acknowledgment sent {"connection_id":151766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:20:31] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:20:31] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:20:31] local.INFO: IMEI packet received {"connection_id":151767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":151767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:20:36] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:20:36] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:20:36] local.INFO: IMEI packet received {"connection_id":151767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":151767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:20:37] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe247fb20012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe247fb20012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:20:37] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe247fb20012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:20:37] local.INFO: Packet analysis {"connection_id":151767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe247"} 
[2026-08-08 22:20:37] local.INFO: Extracted packet for processing {"connection_id":151767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe247"} 
[2026-08-08 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:20: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-08-08 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207796000,"timestamp_ms":1786207796000,"timestamp_seconds":1786207796,"priority":1,"record_length":96,"hex_timestamp":"0000019fe247fb20"} 
[2026-08-08 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:20: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-08-08 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":151767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":12211,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":12211,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":151767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:20:37] local.INFO: GPS data processed {"connection_id":151767,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:20:37] local.INFO: Acknowledgment sent {"connection_id":151767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:20:41] local.INFO: TCP Data received {"connection_id":151768,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:20:41] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:20:41] local.INFO: IMEI packet received {"connection_id":151768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":151768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:20:46] local.INFO: TCP Data received {"connection_id":151768,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:20:46] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:20:46] local.INFO: IMEI packet received {"connection_id":151768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":151768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:20:47] local.INFO: TCP Data received {"connection_id":151768,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:47] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:47] local.INFO: Packet analysis {"connection_id":151768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:20:47] local.INFO: Extracted packet for processing {"connection_id":151768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":151768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:20:47] local.INFO: GPS data processed {"connection_id":151768,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:20:47] local.INFO: Acknowledgment sent {"connection_id":151768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:20:51] local.INFO: TCP Data received {"connection_id":151768,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:51] local.INFO: Processing buffer {"connection_id":151768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:20:51] local.INFO: Packet analysis {"connection_id":151768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:20:51] local.INFO: Extracted packet for processing {"connection_id":151768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:20:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":151768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:20:52] local.INFO: GPS data processed {"connection_id":151768,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:20:52] local.INFO: Acknowledgment sent {"connection_id":151768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:21:08] local.INFO: TCP Data received {"connection_id":151767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:21:08] local.INFO: Processing buffer {"connection_id":151767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:21:08] local.INFO: Packet analysis {"connection_id":151767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:21:08] local.INFO: Extracted packet for processing {"connection_id":151767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786207801000,"timestamp_ms":1786207801000,"timestamp_seconds":1786207801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2480ea8"} 
[2026-08-08 22:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:21: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-08-08 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":151767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":151767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":2655,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":2655,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":151767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:21:08] local.INFO: GPS data processed {"connection_id":151767,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:21:08] local.INFO: Acknowledgment sent {"connection_id":151767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:21:31] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:21:31] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:21:31] local.INFO: IMEI packet received {"connection_id":151769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":151769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:21:36] local.INFO: TCP Data received {"connection_id":153248,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:21:36] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:21:36] local.INFO: IMEI packet received {"connection_id":153248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":153248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:21:36] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:21:36] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:21:36] local.INFO: IMEI packet received {"connection_id":151769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":151769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:21:39] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:21:39] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:21:39] local.INFO: Packet analysis {"connection_id":151769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:21:39] local.INFO: Extracted packet for processing {"connection_id":151769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1786207801000,"timestamp_ms":1786207801000,"timestamp_seconds":1786207801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2480ea8"} 
[2026-08-08 22:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:21: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-08-08 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":151769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":151769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":151769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":2655,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":2655,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":151769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:21:39] local.INFO: GPS data processed {"connection_id":151769,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:21:39] local.INFO: Acknowledgment sent {"connection_id":151769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:21:41] local.INFO: TCP Data received {"connection_id":153248,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:21:41] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:21:41] local.INFO: IMEI packet received {"connection_id":153248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":153248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:21:42] local.INFO: TCP Data received {"connection_id":153248,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:21:42] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:21:42] local.INFO: Packet analysis {"connection_id":153248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:21:42] local.INFO: Extracted packet for processing {"connection_id":153248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:21: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-08-08 22:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:21:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":153248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:21:42] local.INFO: GPS data processed {"connection_id":153248,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:21:42] local.INFO: Acknowledgment sent {"connection_id":153248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:22:11] local.INFO: TCP Data received {"connection_id":151769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:22:11] local.INFO: Processing buffer {"connection_id":151769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:22:11] local.INFO: Packet analysis {"connection_id":151769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:22:11] local.INFO: Extracted packet for processing {"connection_id":151769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22: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-08-08 22:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786207801000,"timestamp_ms":1786207801000,"timestamp_seconds":1786207801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2480ea8"} 
[2026-08-08 22:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":2655,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":2655,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":151769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:22:11] local.INFO: GPS data processed {"connection_id":151769,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:22:11] local.INFO: Acknowledgment sent {"connection_id":151769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:22:14] local.INFO: TCP Data received {"connection_id":153248,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:22:14] local.INFO: Processing buffer {"connection_id":153248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:22:14] local.INFO: Packet analysis {"connection_id":153248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:22:14] local.INFO: Extracted packet for processing {"connection_id":153248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:22: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-08-08 22:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:22:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":153248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:22:14] local.INFO: GPS data processed {"connection_id":153248,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:22:14] local.INFO: Acknowledgment sent {"connection_id":153248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:22:31] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:22:31] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:22:31] local.INFO: IMEI packet received {"connection_id":150572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":150572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:22:36] local.INFO: TCP Data received {"connection_id":150573,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:22:36] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:22:36] local.INFO: IMEI packet received {"connection_id":150573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:22:36] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:22:36] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:22:36] local.INFO: IMEI packet received {"connection_id":150572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":150572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:22:37] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:22:37] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:22:37] local.INFO: Packet analysis {"connection_id":150572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:22:37] local.INFO: Extracted packet for processing {"connection_id":150572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207801000,"timestamp_ms":1786207801000,"timestamp_seconds":1786207801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2480ea8"} 
[2026-08-08 22:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:22: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-08-08 22:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:22:37] 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-08-08 22:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":2655,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":2655,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":150572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:22:37] local.INFO: GPS data processed {"connection_id":150572,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:22:37] local.INFO: Acknowledgment sent {"connection_id":150572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:22:41] local.INFO: TCP Data received {"connection_id":150573,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:22:41] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:22:41] local.INFO: IMEI packet received {"connection_id":150573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":150573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:22:42] local.INFO: TCP Data received {"connection_id":150573,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:22:42] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:22:42] local.INFO: Packet analysis {"connection_id":150573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:22:42] local.INFO: Extracted packet for processing {"connection_id":150573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 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-08-08 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:22:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":150573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:22:42] local.INFO: GPS data processed {"connection_id":150573,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:22:42] local.INFO: Acknowledgment sent {"connection_id":150573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:23:08] local.INFO: TCP Data received {"connection_id":150572,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:23:08] local.INFO: Processing buffer {"connection_id":150572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:23:08] local.INFO: Packet analysis {"connection_id":150572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:23:08] local.INFO: Extracted packet for processing {"connection_id":150572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786207801000,"timestamp_ms":1786207801000,"timestamp_seconds":1786207801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2480ea8"} 
[2026-08-08 22:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:23: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-08-08 22: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:23:08] 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-08-08 22:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":2655,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":2655,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":150572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:23:08] local.INFO: GPS data processed {"connection_id":150572,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:23:08] local.INFO: Acknowledgment sent {"connection_id":150572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:23:14] local.INFO: TCP Data received {"connection_id":150573,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:23:14] local.INFO: Processing buffer {"connection_id":150573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe245e7e0012d196a80071fef680047011725..."} 
[2026-08-08 22:23:14] local.INFO: Packet analysis {"connection_id":150573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:23:14] local.INFO: Extracted packet for processing {"connection_id":150573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe245"} 
[2026-08-08 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269083904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207660000,"timestamp_ms":1786207660000,"timestamp_seconds":1786207660,"priority":1,"record_length":96,"hex_timestamp":"0000019fe245e7e0"} 
[2026-08-08 22:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:23: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-08-08 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-08 22:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269083904001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269083904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269083904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":150573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:23:14] local.INFO: GPS data processed {"connection_id":150573,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:23:14] local.INFO: Acknowledgment sent {"connection_id":150573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:23:31] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:23:31] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:23:31] local.INFO: IMEI packet received {"connection_id":150574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":150574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:23:35] local.INFO: TCP Data received {"connection_id":150575,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:23:35] local.INFO: Processing buffer {"connection_id":150575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:23:35] local.INFO: IMEI packet received {"connection_id":150575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":150575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:23:36] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:23:36] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:23:36] local.INFO: IMEI packet received {"connection_id":150574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":150574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:23:37] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:23:37] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2480ea8012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:23:37] local.INFO: Packet analysis {"connection_id":150574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:23:37] local.INFO: Extracted packet for processing {"connection_id":150574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe248"} 
[2026-08-08 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269195776001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786207801000,"timestamp_ms":1786207801000,"timestamp_seconds":1786207801,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2480ea8"} 
[2026-08-08 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 22:23: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-08-08 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:23:37] 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-08-08 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269195776001,"66":2655,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269195776001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269195776001,"power":2655,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":150574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:23:37] local.INFO: GPS data processed {"connection_id":150574,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:23:37] local.INFO: Acknowledgment sent {"connection_id":150574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:23:40] local.INFO: TCP Data received {"connection_id":153250,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:23:40] local.INFO: Processing buffer {"connection_id":153250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:23:40] local.INFO: IMEI packet received {"connection_id":153250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":153250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:23:41] local.INFO: TCP Data received {"connection_id":150575,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:23:41] local.INFO: Processing buffer {"connection_id":150575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:23:41] local.INFO: IMEI packet received {"connection_id":150575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":150575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:23:43] local.INFO: TCP Data received {"connection_id":150575,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:23:43] local.INFO: Processing buffer {"connection_id":150575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:23:43] local.INFO: Packet analysis {"connection_id":150575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:23:43] local.INFO: Extracted packet for processing {"connection_id":150575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 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-08-08 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:23:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":150575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:23:43] local.INFO: GPS data processed {"connection_id":150575,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:23:43] local.INFO: Acknowledgment sent {"connection_id":150575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:24:08] local.INFO: TCP Data received {"connection_id":150574,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24b75c0012d7e3a4005d35768000100912b..."} 
[2026-08-08 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24b75c0012d7e3a4005d35768000100912b..."} 
[2026-08-08 22:24:08] local.INFO: Processing buffer {"connection_id":150574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24b75c0012d7e3a4005d35768000100912b..."} 
[2026-08-08 22:24:08] local.INFO: Packet analysis {"connection_id":150574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:24:08] local.INFO: Extracted packet for processing {"connection_id":150574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269197056001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786208024000,"timestamp_ms":1786208024000,"timestamp_seconds":1786208024,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24b75c0"} 
[2026-08-08 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":95,"data_length":795,"current_offset":136} 
[2026-08-08 22:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:24:08] 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-08-08 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269197056001,"66":2231,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269197056001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269197056001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":150574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:24:08] local.INFO: GPS data processed {"connection_id":150574,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:24:08] local.INFO: Acknowledgment sent {"connection_id":150574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:24:14] local.INFO: TCP Data received {"connection_id":150575,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:14] local.INFO: Processing buffer {"connection_id":150575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:14] local.INFO: Packet analysis {"connection_id":150575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:24:14] local.INFO: Extracted packet for processing {"connection_id":150575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 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-08-08 22:24: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-08-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:24:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":150575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:24:14] local.INFO: GPS data processed {"connection_id":150575,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:24:14] local.INFO: Acknowledgment sent {"connection_id":150575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:24:20] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:20] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:20] local.INFO: IMEI packet received {"connection_id":153251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":153251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:24:31] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:24:31] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:24:31] local.INFO: IMEI packet received {"connection_id":150876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":150876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:24:33] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:24:33] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:24:33] local.INFO: IMEI packet received {"connection_id":150876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":150876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:24:33] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:33] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:33] local.INFO: IMEI packet received {"connection_id":153251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":153251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:24:33] local.INFO: TCP Data received {"connection_id":153251,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:33] local.INFO: Processing buffer {"connection_id":153251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:24:33] local.INFO: IMEI packet received {"connection_id":153251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":153251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:24:33] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24b75c0012d7e3a4005d35768000100912b..."} 
[2026-08-08 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24b75c0012d7e3a4005d35768000100912b..."} 
[2026-08-08 22:24:33] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24b75c0012d7e3a4005d35768000100912b..."} 
[2026-08-08 22:24:33] local.INFO: Packet analysis {"connection_id":150876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:24:33] local.INFO: Extracted packet for processing {"connection_id":150876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269254144001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1786208024000,"timestamp_ms":1786208024000,"timestamp_seconds":1786208024,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24b75c0"} 
[2026-08-08 22:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 22:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":150876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":150876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":150876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:24: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-08-08 22:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269254144001,"66":2231,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269254144001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269254144001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":150876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:24:33] local.INFO: GPS data processed {"connection_id":150876,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:24:33] local.INFO: Acknowledgment sent {"connection_id":150876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:24:41] local.INFO: TCP Data received {"connection_id":151770,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:24:41] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:24:41] local.INFO: IMEI packet received {"connection_id":151770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":151770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:24:46] local.INFO: TCP Data received {"connection_id":151770,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:24:46] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:24:46] local.INFO: IMEI packet received {"connection_id":151770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":151770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:24:47] local.INFO: TCP Data received {"connection_id":151770,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:47] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:47] local.INFO: Packet analysis {"connection_id":151770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:24:47] local.INFO: Extracted packet for processing {"connection_id":151770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:24: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-08-08 22:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:24:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:24:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":151770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:24:47] local.INFO: GPS data processed {"connection_id":151770,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:24:47] local.INFO: Acknowledgment sent {"connection_id":151770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:24:51] local.INFO: TCP Data received {"connection_id":151770,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:51] local.INFO: Processing buffer {"connection_id":151770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:24:51] local.INFO: Packet analysis {"connection_id":151770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:24:51] local.INFO: Extracted packet for processing {"connection_id":151770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:24:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":151770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:24:52] local.INFO: GPS data processed {"connection_id":151770,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:24:52] local.INFO: Acknowledgment sent {"connection_id":151770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:25:04] local.INFO: TCP Data received {"connection_id":150876,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24b8178012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24b8178012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:25:04] local.INFO: Processing buffer {"connection_id":150876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24b8178012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:25:04] local.INFO: Packet analysis {"connection_id":150876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:25:04] local.INFO: Extracted packet for processing {"connection_id":150876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269254144001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1786208027000,"timestamp_ms":1786208027000,"timestamp_seconds":1786208027,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24b8178"} 
[2026-08-08 22:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-08 22:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":150876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":150876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":150876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:25: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-08-08 22:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269254144001,"66":12298,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269254144001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269254144001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":150876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:25:04] local.INFO: GPS data processed {"connection_id":150876,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:25:04] local.INFO: Acknowledgment sent {"connection_id":150876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:25:31] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:25:31] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:25:31] local.INFO: IMEI packet received {"connection_id":153252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":153252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:25:36] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:25:36] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:25:36] local.INFO: IMEI packet received {"connection_id":153252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":153252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:25:36] local.INFO: TCP Data received {"connection_id":153253,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:25:36] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:25:36] local.INFO: IMEI packet received {"connection_id":153253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":153253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:25:41] local.INFO: TCP Data received {"connection_id":153253,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:25:41] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:25:41] local.INFO: IMEI packet received {"connection_id":153253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":153253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:25:42] local.INFO: TCP Data received {"connection_id":153253,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:25:42] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:25:42] local.INFO: Packet analysis {"connection_id":153253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:25:42] local.INFO: Extracted packet for processing {"connection_id":153253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:25: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-08-08 22:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:25: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-08-08 22:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:25:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":153253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:25:42] local.INFO: GPS data processed {"connection_id":153253,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:25:42] local.INFO: Acknowledgment sent {"connection_id":153253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:26:01] local.INFO: TCP Data received {"connection_id":153252,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24b8178012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24b8178012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:26:01] local.INFO: Processing buffer {"connection_id":153252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24b8178012d7e3a4005d35768000100912c..."} 
[2026-08-08 22:26:01] local.INFO: Packet analysis {"connection_id":153252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:26:01] local.INFO: Extracted packet for processing {"connection_id":153252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269254912001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1786208027000,"timestamp_ms":1786208027000,"timestamp_seconds":1786208027,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24b8178"} 
[2026-08-08 22:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3610378240,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3602879701896396801,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2144039668324401606,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":40862250134667264,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055380,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245478932686,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174334,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545720832,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419775191384653969,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:01] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,81,85,24,241,157,16,215,159,117,45,64,87,1,43,10,66,14,240,95,227,226,211,4,113,205,251,58,104,44,239,47,2,5,128],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-08 22:26:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72217212202516719,"timestamp_seconds":72217212202516.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":153252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":153252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":153252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:26: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-08-08 22:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269254912001,"66":12298,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269254912001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269254912001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":153252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:26:01] local.INFO: GPS data processed {"connection_id":153252,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:26:01] local.INFO: Acknowledgment sent {"connection_id":153252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:26:14] local.INFO: TCP Data received {"connection_id":153253,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:26:14] local.INFO: Processing buffer {"connection_id":153253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:26:14] local.INFO: Packet analysis {"connection_id":153253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:26:14] local.INFO: Extracted packet for processing {"connection_id":153253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:26: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-08-08 22:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:26:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":153253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:26:14] local.INFO: GPS data processed {"connection_id":153253,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:26:14] local.INFO: Acknowledgment sent {"connection_id":153253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:26:31] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:26:31] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:26:31] local.INFO: IMEI packet received {"connection_id":153255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":153255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:26:36] local.INFO: TCP Data received {"connection_id":150878,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:26:36] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:26:36] local.INFO: IMEI packet received {"connection_id":150878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":150878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:26:36] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:26:36] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:26:36] local.INFO: IMEI packet received {"connection_id":153255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":153255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:26:37] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24bdf38012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24bdf38012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:26:37] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24bdf38012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:26:37] local.INFO: Packet analysis {"connection_id":153255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:26:37] local.INFO: Extracted packet for processing {"connection_id":153255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24b"} 
[2026-08-08 22:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269254912001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786208051000,"timestamp_ms":1786208051000,"timestamp_seconds":1786208051,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24bdf38"} 
[2026-08-08 22:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22: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-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186013,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3610378240,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3602879701896396801,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-2142738293233713606,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":419775294463869073,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":40862250134675200,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055380,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3437091824275095758,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174334,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545720832,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,81,85,24,241,157,16,215,159,129,45,64,87,1,44,10,66,117,43,240,183,227,226,211,4,113,205,251,58,104,239,47,2,5],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-08 22:26:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72217212202516720,"timestamp_seconds":72217212202516.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:26:37] 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-08-08 22:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269254912001,"66":12037,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269254912001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269254912001,"power":12037,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":153255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:26:37] local.INFO: GPS data processed {"connection_id":153255,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:26:37] local.INFO: Acknowledgment sent {"connection_id":153255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:26:41] local.INFO: TCP Data received {"connection_id":150878,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:26:41] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:26:41] local.INFO: IMEI packet received {"connection_id":150878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":150878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:26:42] local.INFO: TCP Data received {"connection_id":150878,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:26:42] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:26:42] local.INFO: Packet analysis {"connection_id":150878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:26:42] local.INFO: Extracted packet for processing {"connection_id":150878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:26: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-08-08 22:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:26: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-08-08 22:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:26:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":150878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:26:42] local.INFO: GPS data processed {"connection_id":150878,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:26:42] local.INFO: Acknowledgment sent {"connection_id":150878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:27:09] local.INFO: TCP Data received {"connection_id":153255,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24c3140012d7e3a8005d35750000100912b..."} 
[2026-08-08 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24c3140012d7e3a8005d35750000100912b..."} 
[2026-08-08 22:27:09] local.INFO: Processing buffer {"connection_id":153255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24c3140012d7e3a8005d35750000100912b..."} 
[2026-08-08 22:27:09] local.INFO: Packet analysis {"connection_id":153255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24c"} 
[2026-08-08 22:27:09] local.INFO: Extracted packet for processing {"connection_id":153255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24c"} 
[2026-08-08 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269261056001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786208072000,"timestamp_ms":1786208072000,"timestamp_seconds":1786208072,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24c3140"} 
[2026-08-08 22:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72567935206400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3610378240,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3796368160,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-4733000847196487656,"corrected_to":0} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3217989059506826964,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194861312,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:09] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,81,85,24,241,157,16,215,159,129,45,64,87,1,44,10,66,117,240,183,227,226,211,4,113,205,14,58,104,239,2,5,69],"length":484,"final_offset":614,"validated_count":33,"validation_warnings":[{"io_id":205,"original":-4733000847196487656,"validated":0}]} 
[2026-08-08 22:27:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72217212202516480,"timestamp_seconds":72217212202516.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-08 22:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:27:09] 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-08-08 22:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269261056001,"66":12004,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269261056001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269261056001,"power":12004,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":153255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:27:09] local.INFO: GPS data processed {"connection_id":153255,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:27:09] local.INFO: Acknowledgment sent {"connection_id":153255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:27:14] local.INFO: TCP Data received {"connection_id":150878,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:27:14] local.INFO: Processing buffer {"connection_id":150878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:27:14] local.INFO: Packet analysis {"connection_id":150878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:27:14] local.INFO: Extracted packet for processing {"connection_id":150878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:27: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-08-08 22:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:27:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":150878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:27:14] local.INFO: GPS data processed {"connection_id":150878,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:27:14] local.INFO: Acknowledgment sent {"connection_id":150878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:27:31] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:27:31] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:27:31] local.INFO: IMEI packet received {"connection_id":153256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":153256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:27:35] local.INFO: TCP Data received {"connection_id":151771,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:27:35] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:27:35] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:27:36] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:27:36] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:27:36] local.INFO: IMEI packet received {"connection_id":153256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":153256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:27:37] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24c8348012d7e3a8005d35750000100912d..."} 
[2026-08-08 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24c8348012d7e3a8005d35750000100912d..."} 
[2026-08-08 22:27:37] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24c8348012d7e3a8005d35750000100912d..."} 
[2026-08-08 22:27:37] local.INFO: Packet analysis {"connection_id":153256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24c"} 
[2026-08-08 22:27:37] local.INFO: Extracted packet for processing {"connection_id":153256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24c"} 
[2026-08-08 22:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269266432001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786208093000,"timestamp_ms":1786208093000,"timestamp_seconds":1786208093,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24c8348"} 
[2026-08-08 22:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:27: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-08-08 22: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-08 22:27: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-08-08 22:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":153256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":153256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":153256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:27:37] 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-08-08 22:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269266432001,"66":12015,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269266432001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269266432001,"power":12015,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":153256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:27:37] local.INFO: GPS data processed {"connection_id":153256,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:27:37] local.INFO: Acknowledgment sent {"connection_id":153256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:27:41] local.INFO: TCP Data received {"connection_id":151771,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:27:41] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:27:41] local.INFO: IMEI packet received {"connection_id":151771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":151771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:27:42] local.INFO: TCP Data received {"connection_id":151771,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:27:42] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:27:42] local.INFO: Packet analysis {"connection_id":151771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:27:42] local.INFO: Extracted packet for processing {"connection_id":151771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:27: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-08-08 22:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":151771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:27:42] local.INFO: GPS data processed {"connection_id":151771,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:27:42] local.INFO: Acknowledgment sent {"connection_id":151771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:28:14] local.INFO: TCP Data received {"connection_id":151771,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:28:14] local.INFO: Processing buffer {"connection_id":151771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24a7fa8012d196a80071fef680047011722..."} 
[2026-08-08 22:28:14] local.INFO: Packet analysis {"connection_id":151771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:28:14] local.INFO: Extracted packet for processing {"connection_id":151771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24a"} 
[2026-08-08 22:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269160960001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786207961000,"timestamp_ms":1786207961000,"timestamp_seconds":1786207961,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24a7fa8"} 
[2026-08-08 22:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269160960001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269160960001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:28:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269160960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":151771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:28:14] local.INFO: GPS data processed {"connection_id":151771,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:28:14] local.INFO: Acknowledgment sent {"connection_id":151771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:28:15] local.INFO: TCP Data received {"connection_id":153256,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24cd550012d7e3a8005d35750000100912d..."} 
[2026-08-08 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24cd550012d7e3a8005d35750000100912d..."} 
[2026-08-08 22:28:15] local.INFO: Processing buffer {"connection_id":153256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24cd550012d7e3a8005d35750000100912d..."} 
[2026-08-08 22:28:15] local.INFO: Packet analysis {"connection_id":153256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24c"} 
[2026-08-08 22:28:15] local.INFO: Extracted packet for processing {"connection_id":153256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24c"} 
[2026-08-08 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":45,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269271808001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786208114000,"timestamp_ms":1786208114000,"timestamp_seconds":1786208114,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24cd550"} 
[2026-08-08 22:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 22:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:28:15] 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-08-08 22:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269271808001,"66":12015,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269271808001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269271808001,"power":12015,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":153256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:28:15] local.INFO: GPS data processed {"connection_id":153256,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:28:15] local.INFO: Acknowledgment sent {"connection_id":153256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:28:31] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:28:31] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:28:31] local.INFO: IMEI packet received {"connection_id":150578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":150578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:28:36] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:28:36] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:28:36] local.INFO: IMEI packet received {"connection_id":150578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":150578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:28:37] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24d2758012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24d2758012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:28:37] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24d2758012d7e3a8005d35750000100912c..."} 
[2026-08-08 22:28:37] local.INFO: Packet analysis {"connection_id":150578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24d"} 
[2026-08-08 22:28:37] local.INFO: Extracted packet for processing {"connection_id":150578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24d"} 
[2026-08-08 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736528,"longitude_deg":76.3247232,"latitude_deg":9.7736528,"altitude":1,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35750","is_valid_coordinates":true} 
[2026-08-08 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269277184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937044480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786208135000,"timestamp_ms":1786208135000,"timestamp_seconds":1786208135,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24d2758"} 
[2026-08-08 22:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:28: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-08-08 22:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-08 22:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:28:37] 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-08-08 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269277184001,"66":11950,"81":206,"85":15104,"24":0,"16":116485775129837568,"45":9095723159937044480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-08 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269277184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937044480,"description":"Unknown IO ID 45"} 
[2026-08-08 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269277184001,"power":11950,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937044480}} 
[2026-08-08 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":150578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:28:37] local.INFO: GPS data processed {"connection_id":150578,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:28:37] local.INFO: Acknowledgment sent {"connection_id":150578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:28:41] local.INFO: TCP Data received {"connection_id":150579,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:28:41] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:28:41] local.INFO: IMEI packet received {"connection_id":150579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":150579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:28:46] local.INFO: TCP Data received {"connection_id":150579,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:28:46] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:28:46] local.INFO: IMEI packet received {"connection_id":150579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":150579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:28:47] local.INFO: TCP Data received {"connection_id":150579,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:28:47] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:28:47] local.INFO: Packet analysis {"connection_id":150579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:28:47] local.INFO: Extracted packet for processing {"connection_id":150579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:28: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-08-08 22:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":150579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:28:47] local.INFO: GPS data processed {"connection_id":150579,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:28:47] local.INFO: Acknowledgment sent {"connection_id":150579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:28:51] local.INFO: TCP Data received {"connection_id":150579,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:28:51] local.INFO: Processing buffer {"connection_id":150579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:28:51] local.INFO: Packet analysis {"connection_id":150579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:28:51] local.INFO: Extracted packet for processing {"connection_id":150579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:28:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:28:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":150579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:28:52] local.INFO: GPS data processed {"connection_id":150579,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:28:52] local.INFO: Acknowledgment sent {"connection_id":150579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:29:08] local.INFO: TCP Data received {"connection_id":150578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24ffde8012d7e3a4005d35768000100912a..."} 
[2026-08-08 22:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24ffde8012d7e3a4005d35768000100912a..."} 
[2026-08-08 22:29:08] local.INFO: Processing buffer {"connection_id":150578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24ffde8012d7e3a4005d35768000100912a..."} 
[2026-08-08 22:29:08] local.INFO: Packet analysis {"connection_id":150578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:29:08] local.INFO: Extracted packet for processing {"connection_id":150578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":42,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:29: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-08-08 22:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269330176001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29: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-08-08 22:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786208321000,"timestamp_ms":1786208321000,"timestamp_seconds":1786208321,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24ffde8"} 
[2026-08-08 22:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:29: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-08-08 22: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-08 22:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:29:08] 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-08-08 22:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269330176001,"66":2242,"109":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"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-08-08 22:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269330176001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:29:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269330176001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":150578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:29:08] local.INFO: GPS data processed {"connection_id":150578,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:29:08] local.INFO: Acknowledgment sent {"connection_id":150578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:29:31] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:29:31] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:29:31] local.INFO: IMEI packet received {"connection_id":153257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":153257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:29:34] local.INFO: TCP Data received {"connection_id":150879,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:29:34] local.INFO: Processing buffer {"connection_id":150879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:29:34] local.INFO: IMEI packet received {"connection_id":150879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":150879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:29:35] local.INFO: TCP Data received {"connection_id":150879,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1388012cf1f7400712cc38000b00742c..."} 
[2026-08-08 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1388012cf1f7400712cc38000b00742c..."} 
[2026-08-08 22:29:35] local.INFO: Processing buffer {"connection_id":150879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1388012cf1f7400712cc38000b00742c..."} 
[2026-08-08 22:29:35] local.INFO: Packet analysis {"connection_id":150879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:29:35] local.INFO: Extracted packet for processing {"connection_id":150879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":754054976,"raw_latitude":118672440,"longitude_deg":75.4054976,"latitude_deg":11.867244,"altitude":11,"angle":116,"satellites":44,"speed":34,"hex_longitude":"2cf1f740","hex_latitude":"0712cc38","is_valid_coordinates":true} 
[2026-08-08 22:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269311744001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375998531061678080,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1020557866427535360,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1786208261000,"timestamp_ms":1786208261000,"timestamp_seconds":1786208261,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1388"} 
[2026-08-08 22:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":150879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":150879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":150879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269311744001,"66":27321,"23":206,"83":41472,"24":34,"16":375998531061678080,"44":-1020557866427535360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-08-08 22:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269311744001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:29:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-08 22:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375998531061678080,"km_value":375998531061678.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1020557866427535360,"description":"Unknown IO ID 44"} 
[2026-08-08 22:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269311744001,"power":27321,"unknown_23":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1020557866427535360}} 
[2026-08-08 22:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":150879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:29:35] local.INFO: GPS data processed {"connection_id":150879,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:29:35] local.INFO: Acknowledgment sent {"connection_id":150879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:29:36] local.INFO: TCP Data received {"connection_id":150580,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:29:36] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:29:36] local.INFO: IMEI packet received {"connection_id":150580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":150580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:29:41] local.INFO: TCP Data received {"connection_id":150580,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:29:41] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:29:41] local.INFO: IMEI packet received {"connection_id":150580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":150580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:29:42] local.INFO: TCP Data received {"connection_id":150580,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:29:42] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:29:42] local.INFO: Packet analysis {"connection_id":150580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:29:42] local.INFO: Extracted packet for processing {"connection_id":150580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:29: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-08-08 22:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":150580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:29:42] local.INFO: GPS data processed {"connection_id":150580,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:29:42] local.INFO: Acknowledgment sent {"connection_id":150580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:04] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:30:04] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:30:04] local.INFO: IMEI packet received {"connection_id":150880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":150880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:30:09] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:30:09] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:30:09] local.INFO: IMEI packet received {"connection_id":150880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":150880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:10] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f3e80012cf218c00712ba10000900812b..."} 
[2026-08-08 22:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f3e80012cf218c00712ba10000900812b..."} 
[2026-08-08 22:30:10] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f3e80012cf218c00712ba10000900812b..."} 
[2026-08-08 22:30:10] local.INFO: Packet analysis {"connection_id":150880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:10] local.INFO: Extracted packet for processing {"connection_id":150880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:10] local.INFO: GPS Element Parsed {"raw_longitude":754063552,"raw_latitude":118667792,"longitude_deg":75.4063552,"latitude_deg":11.8667792,"altitude":9,"angle":129,"satellites":43,"speed":33,"hex_longitude":"2cf218c0","hex_latitude":"0712ba10","is_valid_coordinates":true} 
[2026-08-08 22:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269314816001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375998994918146048,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1011269192197064704,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786208272000,"timestamp_ms":1786208272000,"timestamp_seconds":1786208272,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f3e80"} 
[2026-08-08 22:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30: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-08-08 22: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-08-08 22: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-08-08 22:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:30: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-08-08 22:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269314816001,"66":27365,"23":206,"83":41472,"24":33,"16":375998994918146048,"44":-1011269192197064704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-08-08 22:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269314816001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:10] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-08 22:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375998994918146048,"km_value":375998994918146.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1011269192197064704,"description":"Unknown IO ID 44"} 
[2026-08-08 22:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269314816001,"power":27365,"unknown_23":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-1011269192197064704}} 
[2026-08-08 22:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":150880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:10] local.INFO: GPS data processed {"connection_id":150880,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:10] local.INFO: Acknowledgment sent {"connection_id":150880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:12] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 22:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 22:30:12] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 22:30:12] local.INFO: IMEI packet received {"connection_id":153257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":153257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:13] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24ffde8012d7e3a4005d35768000100912a..."} 
[2026-08-08 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24ffde8012d7e3a4005d35768000100912a..."} 
[2026-08-08 22:30:13] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-08 22:30:13] local.INFO: IMEI packet received {"connection_id":153257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":153257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:13] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25057c0012d7e3a8005d359d8000401582b..."} 
[2026-08-08 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25057c0012d7e3a8005d359d8000401582b..."} 
[2026-08-08 22:30:13] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019fe2..."} 
[2026-08-08 22:30:13] local.INFO: IMEI packet received {"connection_id":153257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":153257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:14] local.INFO: TCP Data received {"connection_id":150580,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:30:14] local.INFO: Processing buffer {"connection_id":150580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:30:14] local.INFO: Packet analysis {"connection_id":150580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:14] local.INFO: Extracted packet for processing {"connection_id":150580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30: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-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":150580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:14] local.INFO: GPS data processed {"connection_id":150580,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:14] local.INFO: Acknowledgment sent {"connection_id":150580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:14] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2506378012d7e3a8005d359a80004008d2b..."} 
[2026-08-08 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2506378012d7e3a8005d359a80004008d2b..."} 
[2026-08-08 22:30:14] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019fe24ffde8012d7e3a4005d35768000100912a..."} 
[2026-08-08 22:30:14] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:14] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736552,"longitude_deg":76.3247168,"latitude_deg":9.7736552,"altitude":1,"angle":145,"satellites":42,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269330176001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485775129837568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208321000,"timestamp_ms":1786208321000,"timestamp_seconds":1786208321,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24ffde8"} 
[2026-08-08 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:14] 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-08-08 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269330176001,"66":2242,"109":206,"85":15104,"24":0,"16":116485775129837568,"45":9095652791192872960},"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-08-08 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269330176001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485775129837568,"km_value":116485775129837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269330176001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:14] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:14] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:14] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:14] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97737176,"longitude_deg":76.3247232,"latitude_deg":9.7737176,"altitude":4,"angle":344,"satellites":43,"speed":1,"hex_longitude":"2d7e3a80","hex_latitude":"05d359d8","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269330176001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485805194608640,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192872960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208344000,"timestamp_ms":1786208344000,"timestamp_seconds":1786208344,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25057c0"} 
[2026-08-08 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:14] 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-08-08 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269330176001,"66":11515,"109":206,"85":15104,"24":1,"16":116485805194608640,"45":9095652791192872960},"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-08-08 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269330176001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485805194608640,"km_value":116485805194608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192872960,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269330176001,"power":11515,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9095652791192872960}} 
[2026-08-08 22:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:14] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:14] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:14] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:14] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97737128,"longitude_deg":76.3247232,"latitude_deg":9.7737128,"altitude":4,"angle":141,"satellites":43,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d359a8","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269336064001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485809489575936,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937210368,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208347000,"timestamp_ms":1786208347000,"timestamp_seconds":1786208347,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2506378"} 
[2026-08-08 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:14] 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-08-08 22:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:14] 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-08-08 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269336064001,"66":11721,"109":206,"85":15104,"24":0,"16":116485809489575936,"45":9095723159937210368},"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-08-08 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269336064001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485809489575936,"km_value":116485809489575.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937210368,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269336064001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937210368}} 
[2026-08-08 22:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:14] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:14] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:15] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2506f30012d7e3ac005d35908000400a12a..."} 
[2026-08-08 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2506f30012d7e3ac005d35908000400a12a..."} 
[2026-08-08 22:30:15] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2506f30012d7e3ac005d35908000400a12a..."} 
[2026-08-08 22:30:15] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:15] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97736968,"longitude_deg":76.3247296,"latitude_deg":9.7736968,"altitude":4,"angle":161,"satellites":42,"speed":2,"hex_longitude":"2d7e3ac0","hex_latitude":"05d35908","is_valid_coordinates":true} 
[2026-08-08 22:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269336832001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485818079510528,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937198080,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30: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-08-08 22:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786208350000,"timestamp_ms":1786208350000,"timestamp_seconds":1786208350,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2506f30"} 
[2026-08-08 22:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30: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-08-08 22:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269336832001,"66":11580,"109":206,"85":15104,"24":2,"16":116485818079510528,"45":9095723159937198080},"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-08-08 22:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269336832001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485818079510528,"km_value":116485818079510.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937198080,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269336832001,"power":11580,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095723159937198080}} 
[2026-08-08 22:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:15] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:15] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:16] local.INFO: TCP Data received {"connection_id":153257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2507700012d7e3ac005d35878000400b62b..."} 
[2026-08-08 22:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2507700012d7e3ac005d35878000400b62b..."} 
[2026-08-08 22:30:16] local.INFO: Processing buffer {"connection_id":153257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2507700012d7e3ac005d35878000400b62b..."} 
[2026-08-08 22:30:16] local.INFO: Packet analysis {"connection_id":153257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:16] local.INFO: Extracted packet for processing {"connection_id":153257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97736824,"longitude_deg":76.3247296,"latitude_deg":9.7736824,"altitude":4,"angle":182,"satellites":43,"speed":2,"hex_longitude":"2d7e3ac0","hex_latitude":"05d35878","is_valid_coordinates":true} 
[2026-08-08 22:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269337600001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485826669445120,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528681334784,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786208352000,"timestamp_ms":1786208352000,"timestamp_seconds":1786208352,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2507700"} 
[2026-08-08 22:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:16] 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-08-08 22:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269337600001,"66":11602,"109":206,"85":15104,"24":2,"16":116485826669445120,"45":9095793528681334784},"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-08-08 22:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269337600001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485826669445120,"km_value":116485826669445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528681334784,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269337600001,"power":11602,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095793528681334784}} 
[2026-08-08 22:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":153257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:16] local.INFO: GPS data processed {"connection_id":153257,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:16] local.INFO: Acknowledgment sent {"connection_id":153257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:31] local.INFO: TCP Data received {"connection_id":150881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:31] local.INFO: Processing buffer {"connection_id":150881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:31] local.INFO: IMEI packet received {"connection_id":150881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":150881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:30:32] local.INFO: TCP Data received {"connection_id":150881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:32] local.INFO: Processing buffer {"connection_id":150881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:32] local.INFO: IMEI packet received {"connection_id":150881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":150881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:33] local.INFO: TCP Data received {"connection_id":150881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:33] local.INFO: Processing buffer {"connection_id":150881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:33] local.INFO: IMEI packet received {"connection_id":150881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":150881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:35] local.INFO: TCP Data received {"connection_id":151772,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:30:35] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:30:35] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:30:36] local.INFO: TCP Data received {"connection_id":150881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:36] local.INFO: Processing buffer {"connection_id":150881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:30:36] local.INFO: IMEI packet received {"connection_id":150881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":150881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:37] local.INFO: TCP Data received {"connection_id":150881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe250c520012d7e3ac005d357e8000500bc2a..."} 
[2026-08-08 22:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe250c520012d7e3ac005d357e8000500bc2a..."} 
[2026-08-08 22:30:37] local.INFO: Processing buffer {"connection_id":150881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe250c520012d7e3ac005d357e8000500bc2a..."} 
[2026-08-08 22:30:37] local.INFO: Packet analysis {"connection_id":150881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:37] local.INFO: Extracted packet for processing {"connection_id":150881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97736680,"longitude_deg":76.3247296,"latitude_deg":9.773668,"altitude":5,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3ac0","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-08 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269338112001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485830964412416,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528681297920,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1786208372000,"timestamp_ms":1786208372000,"timestamp_seconds":1786208372,"priority":1,"record_length":96,"hex_timestamp":"0000019fe250c520"} 
[2026-08-08 22:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30: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-08-08 22:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":150881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":150881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":150881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:30:37] 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-08-08 22:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269338112001,"66":11634,"109":206,"85":15104,"24":0,"16":116485830964412416,"45":9095793528681297920},"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-08-08 22:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269338112001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485830964412416,"km_value":116485830964412.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528681297920,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269338112001,"power":11634,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095793528681297920}} 
[2026-08-08 22:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":150881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:37] local.INFO: GPS data processed {"connection_id":150881,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:37] local.INFO: Acknowledgment sent {"connection_id":150881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:41] local.INFO: TCP Data received {"connection_id":151772,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:30:41] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:30:41] local.INFO: IMEI packet received {"connection_id":151772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":151772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:30:41] local.INFO: TCP Data received {"connection_id":150880,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f3e80012cf218c00712ba10000900812b..."} 
[2026-08-08 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f3e80012cf218c00712ba10000900812b..."} 
[2026-08-08 22:30:41] local.INFO: Processing buffer {"connection_id":150880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f3e80012cf218c00712ba10000900812b..."} 
[2026-08-08 22:30:41] local.INFO: Packet analysis {"connection_id":150880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:41] local.INFO: Extracted packet for processing {"connection_id":150880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":754063552,"raw_latitude":118667792,"longitude_deg":75.4063552,"latitude_deg":11.8667792,"altitude":9,"angle":129,"satellites":43,"speed":33,"hex_longitude":"2cf218c0","hex_latitude":"0712ba10","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269317632001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375998994918146048,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001839780478447616,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786208272000,"timestamp_ms":1786208272000,"timestamp_seconds":1786208272,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f3e80"} 
[2026-08-08 22:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30: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-08-08 22: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:30: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-08-08 22:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269317632001,"66":27365,"23":206,"83":41472,"24":33,"16":375998994918146048,"44":-1001839780478447616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-08-08 22:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269317632001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-08 22:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375998994918146048,"km_value":375998994918146.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001839780478447616,"description":"Unknown IO ID 44"} 
[2026-08-08 22:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269317632001,"power":27365,"unknown_23":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-1001839780478447616}} 
[2026-08-08 22:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":150880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:41] local.INFO: GPS data processed {"connection_id":150880,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:41] local.INFO: Acknowledgment sent {"connection_id":150880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:30:42] local.INFO: TCP Data received {"connection_id":151772,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:30:42] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:30:42] local.INFO: Packet analysis {"connection_id":151772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:42] local.INFO: Extracted packet for processing {"connection_id":151772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:30: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-08-08 22:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:30: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-08-08 22: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-08-08 22:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:30:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":151772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:30:42] local.INFO: GPS data processed {"connection_id":151772,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:30:42] local.INFO: Acknowledgment sent {"connection_id":151772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:31:07] local.INFO: TCP Data received {"connection_id":150881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019fe250ec30012d7e3ac005d357e8000500bc2b..."} 
[2026-08-08 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe250ec30012d7e3ac005d357e8000500bc2b..."} 
[2026-08-08 22:31:07] local.INFO: Processing buffer {"connection_id":150881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe250ec30012d7e3ac005d357e8000500bc2b..."} 
[2026-08-08 22:31:07] local.INFO: Packet analysis {"connection_id":150881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:31:07] local.INFO: Extracted packet for processing {"connection_id":150881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe250"} 
[2026-08-08 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97736680,"longitude_deg":76.3247296,"latitude_deg":9.773668,"altitude":5,"angle":188,"satellites":43,"speed":0,"hex_longitude":"2d7e3ac0","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-08-08 22:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269343232001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":116485830964412416,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528681261056,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786208382000,"timestamp_ms":1786208382000,"timestamp_seconds":1786208382,"priority":1,"record_length":96,"hex_timestamp":"0000019fe250ec30"} 
[2026-08-08 22:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-08 22:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-08 22:31:07] 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-08-08 22:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-08 22:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-08 22:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269343232001,"66":11765,"109":206,"85":15104,"24":0,"16":116485830964412416,"45":9095793528681261056},"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-08-08 22:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-08 22:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-08 22:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269343232001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:31:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-08 22:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-08 22:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":116485830964412416,"km_value":116485830964412.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528681261056,"description":"Unknown IO ID 45"} 
[2026-08-08 22:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269343232001,"power":11765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095793528681261056}} 
[2026-08-08 22:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":150881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:31:08] local.INFO: GPS data processed {"connection_id":150881,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:31:08] local.INFO: Acknowledgment sent {"connection_id":150881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:31:09] local.INFO: TCP Data received {"connection_id":150882,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:31:09] local.INFO: Processing buffer {"connection_id":150882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:31:09] local.INFO: IMEI packet received {"connection_id":150882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":150882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:31:14] local.INFO: TCP Data received {"connection_id":150882,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:31:14] local.INFO: Processing buffer {"connection_id":150882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:31:14] local.INFO: IMEI packet received {"connection_id":150882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":150882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:31:15] local.INFO: TCP Data received {"connection_id":150882,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f55f0012cf227000712aa900008008d2c..."} 
[2026-08-08 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f55f0012cf227000712aa900008008d2c..."} 
[2026-08-08 22:31:15] local.INFO: Processing buffer {"connection_id":150882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f55f0012cf227000712aa900008008d2c..."} 
[2026-08-08 22:31:15] local.INFO: Packet analysis {"connection_id":150882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:31:15] local.INFO: Extracted packet for processing {"connection_id":150882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":754067200,"raw_latitude":118663824,"longitude_deg":75.40672,"latitude_deg":11.8663824,"altitude":8,"angle":141,"satellites":44,"speed":34,"hex_longitude":"2cf22700","hex_latitude":"0712aa90","is_valid_coordinates":true} 
[2026-08-08 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269317632001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":375999256911151104,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001839780478447616,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786208278000,"timestamp_ms":1786208278000,"timestamp_seconds":1786208278,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f55f0"} 
[2026-08-08 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:31: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-08-08 22:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269317632001,"66":27484,"23":206,"83":41472,"24":34,"16":375999256911151104,"44":-1001839780478447616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-08-08 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269317632001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:31:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-08 22:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":375999256911151104,"km_value":375999256911151.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001839780478447616,"description":"Unknown IO ID 44"} 
[2026-08-08 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269317632001,"power":27484,"unknown_23":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1001839780478447616}} 
[2026-08-08 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":150882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:31:15] local.INFO: GPS data processed {"connection_id":150882,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:31:15] local.INFO: Acknowledgment sent {"connection_id":150882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:31:17] local.INFO: TCP Data received {"connection_id":151772,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:31:17] local.INFO: Processing buffer {"connection_id":151772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:31:17] local.INFO: Packet analysis {"connection_id":151772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:31:17] local.INFO: Extracted packet for processing {"connection_id":151772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":151772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":151772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:31:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":151772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:31:17] local.INFO: GPS data processed {"connection_id":151772,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:31:17] local.INFO: Acknowledgment sent {"connection_id":151772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:31:32] local.INFO: TCP Data received {"connection_id":150883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:31:32] local.INFO: Processing buffer {"connection_id":150883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:31:32] local.INFO: IMEI packet received {"connection_id":150883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-08 22:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":150883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:31:35] local.INFO: TCP Data received {"connection_id":150884,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:31:35] local.INFO: Processing buffer {"connection_id":150884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:31:35] local.INFO: IMEI packet received {"connection_id":150884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":150884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:31:36] local.INFO: TCP Data received {"connection_id":150883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:31:36] local.INFO: Processing buffer {"connection_id":150883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-08 22:31:36] local.INFO: IMEI packet received {"connection_id":150883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-08 22:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":150883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:31:41] local.INFO: TCP Data received {"connection_id":150884,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:31:41] local.INFO: Processing buffer {"connection_id":150884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:31:41] local.INFO: IMEI packet received {"connection_id":150884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":150884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:31:42] local.INFO: TCP Data received {"connection_id":150884,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:31:42] local.INFO: Processing buffer {"connection_id":150884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:31:42] local.INFO: Packet analysis {"connection_id":150884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:31:42] local.INFO: Extracted packet for processing {"connection_id":150884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:31: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-08-08 22:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:31:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":150884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:31:42] local.INFO: GPS data processed {"connection_id":150884,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:31:42] local.INFO: Acknowledgment sent {"connection_id":150884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:31:46] local.INFO: TCP Data received {"connection_id":150882,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe251e248012cf2768007124328000900842c..."} 
[2026-08-08 22:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe251e248012cf2768007124328000900842c..."} 
[2026-08-08 22:31:46] local.INFO: Processing buffer {"connection_id":150882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe251e248012cf2768007124328000900842c..."} 
[2026-08-08 22:31:46] local.INFO: Packet analysis {"connection_id":150882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe251"} 
[2026-08-08 22:31:46] local.INFO: Extracted packet for processing {"connection_id":150882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe251"} 
[2026-08-08 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":754087552,"raw_latitude":118637352,"longitude_deg":75.4087552,"latitude_deg":11.8637352,"altitude":9,"angle":132,"satellites":44,"speed":30,"hex_longitude":"2cf27680","hex_latitude":"07124328","is_valid_coordinates":true} 
[2026-08-08 22:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269357056001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376000931948396544,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-982558744580636672,"note":"Value kept but may cause issues"} 
[2026-08-08 22:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786208445000,"timestamp_ms":1786208445000,"timestamp_seconds":1786208445,"priority":1,"record_length":96,"hex_timestamp":"0000019fe251e248"} 
[2026-08-08 22:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269357056001,"66":27321,"233":206,"83":41472,"24":30,"16":376000931948396544,"44":-982558744580636672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,44]} 
[2026-08-08 22:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269357056001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:31:46] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-08 22:31:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376000931948396544,"km_value":376000931948396.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-982558744580636672,"description":"Unknown IO ID 44"} 
[2026-08-08 22:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269357056001,"power":27321,"unknown_233":206,"unknown_83":41472,"ignition":30,"odometer":null,"unknown_44":-982558744580636672}} 
[2026-08-08 22:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":150882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:31:46] local.INFO: GPS data processed {"connection_id":150882,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:31:46] local.INFO: Acknowledgment sent {"connection_id":150882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:32:03] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:03] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:03] local.INFO: IMEI packet received {"connection_id":153258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":153258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:32:08] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:08] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:08] local.INFO: IMEI packet received {"connection_id":153258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":153258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:32:08] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:08] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:32:08] local.INFO: IMEI packet received {"connection_id":153258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":153258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:32:09] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2520d40012cf2930007122a180008007e2b..."} 
[2026-08-08 22:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2520d40012cf2930007122a180008007e2b..."} 
[2026-08-08 22:32:09] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2520d40012cf2930007122a180008007e2b..."} 
[2026-08-08 22:32:09] local.INFO: Packet analysis {"connection_id":153258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe252"} 
[2026-08-08 22:32:09] local.INFO: Extracted packet for processing {"connection_id":153258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe252"} 
[2026-08-08 22:32:09] local.INFO: GPS Element Parsed {"raw_longitude":754094848,"raw_latitude":118630936,"longitude_deg":75.4094848,"latitude_deg":11.8630936,"altitude":8,"angle":126,"satellites":43,"speed":39,"hex_longitude":"2cf29300","hex_latitude":"07122a18","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269361920001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376001400099831808,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-975451501419616256,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786208456000,"timestamp_ms":1786208456000,"timestamp_seconds":1786208456,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2520d40"} 
[2026-08-08 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-08-08 22: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-08-08 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":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269361920001,"66":27397,"233":206,"83":41472,"24":39,"16":376001400099831808,"44":-975451501419616256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,44]} 
[2026-08-08 22:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269361920001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:32:09] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-08 22:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376001400099831808,"km_value":376001400099831.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-975451501419616256,"description":"Unknown IO ID 44"} 
[2026-08-08 22:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269361920001,"power":27397,"unknown_233":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-975451501419616256}} 
[2026-08-08 22:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":153258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:32:09] local.INFO: GPS data processed {"connection_id":153258,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:32:09] local.INFO: Acknowledgment sent {"connection_id":153258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:32:14] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2523068012cf2b1c0071216200007007c2b..."} 
[2026-08-08 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2523068012cf2b1c0071216200007007c2b..."} 
[2026-08-08 22:32:14] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2523068012cf2b1c0071216200007007c2b..."} 
[2026-08-08 22:32:14] local.INFO: Packet analysis {"connection_id":153258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe252"} 
[2026-08-08 22:32:14] local.INFO: Extracted packet for processing {"connection_id":153258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe252"} 
[2026-08-08 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":754102720,"raw_latitude":118625824,"longitude_deg":75.410272,"latitude_deg":11.8625824,"altitude":7,"angle":124,"satellites":43,"speed":41,"hex_longitude":"2cf2b1c0","hex_latitude":"07121620","is_valid_coordinates":true} 
[2026-08-08 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269364736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376001846776430592,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-967429464585005056,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208465000,"timestamp_ms":1786208465000,"timestamp_seconds":1786208465,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2523068"} 
[2026-08-08 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:32: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-08-08 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269364736001,"66":27300,"233":206,"83":41472,"24":41,"16":376001846776430592,"44":-967429464585005056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,44]} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269364736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376001846776430592,"km_value":376001846776430.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-967429464585005056,"description":"Unknown IO ID 44"} 
[2026-08-08 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269364736001,"power":27300,"unknown_233":206,"unknown_83":41472,"ignition":41,"odometer":null,"unknown_44":-967429464585005056}} 
[2026-08-08 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":153258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:32:14] local.INFO: GPS data processed {"connection_id":153258,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:32:14] local.INFO: Acknowledgment sent {"connection_id":153258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:32:14] local.INFO: TCP Data received {"connection_id":150884,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:14] local.INFO: Processing buffer {"connection_id":150884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:14] local.INFO: Packet analysis {"connection_id":150884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:32:14] local.INFO: Extracted packet for processing {"connection_id":150884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:32: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-08-08 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":150884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:32:14] local.INFO: GPS data processed {"connection_id":150884,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:32:14] local.INFO: Acknowledgment sent {"connection_id":150884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:32:41] local.INFO: TCP Data received {"connection_id":151773,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:32:41] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:32:41] local.INFO: IMEI packet received {"connection_id":151773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":151773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:32:45] local.INFO: TCP Data received {"connection_id":153258,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25316e0012cf31c0007116430001900c42a..."} 
[2026-08-08 22:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25316e0012cf31c0007116430001900c42a..."} 
[2026-08-08 22:32:45] local.INFO: Processing buffer {"connection_id":153258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25316e0012cf31c0007116430001900c42a..."} 
[2026-08-08 22:32:45] local.INFO: Packet analysis {"connection_id":153258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:32:45] local.INFO: Extracted packet for processing {"connection_id":153258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":754129920,"raw_latitude":118580272,"longitude_deg":75.412992,"latitude_deg":11.8580272,"altitude":25,"angle":196,"satellites":42,"speed":25,"hex_longitude":"2cf31c00","hex_latitude":"07116430","is_valid_coordinates":true} 
[2026-08-08 22:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269381120001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376004548310859776,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-928515549067091968,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786208524000,"timestamp_ms":1786208524000,"timestamp_seconds":1786208524,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25316e0"} 
[2026-08-08 22:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:32: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-08-08 22:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269381120001,"66":27321,"22":206,"83":41472,"24":25,"16":376004548310859776,"44":-928515549067091968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-08-08 22:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269381120001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:32:45] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 22:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376004548310859776,"km_value":376004548310859.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-928515549067091968,"description":"Unknown IO ID 44"} 
[2026-08-08 22:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269381120001,"power":27321,"unknown_22":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-928515549067091968}} 
[2026-08-08 22:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":153258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:32:45] local.INFO: GPS data processed {"connection_id":153258,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:32:45] local.INFO: Acknowledgment sent {"connection_id":153258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:32:46] local.INFO: TCP Data received {"connection_id":151773,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:32:46] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:32:46] local.INFO: IMEI packet received {"connection_id":151773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":151773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:32:47] local.INFO: TCP Data received {"connection_id":151773,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:47] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:47] local.INFO: Packet analysis {"connection_id":151773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:32:47] local.INFO: Extracted packet for processing {"connection_id":151773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:32: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-08-08 22:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":151773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:32:47] local.INFO: GPS data processed {"connection_id":151773,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:32:47] local.INFO: Acknowledgment sent {"connection_id":151773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:32:51] local.INFO: TCP Data received {"connection_id":151773,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:51] local.INFO: Processing buffer {"connection_id":151773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe24f1770012d196a80071fef680047011723..."} 
[2026-08-08 22:32:51] local.INFO: Packet analysis {"connection_id":151773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:32:51] local.INFO: Extracted packet for processing {"connection_id":151773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe24f"} 
[2026-08-08 22:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269238016001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786208262000,"timestamp_ms":1786208262000,"timestamp_seconds":1786208262,"priority":1,"record_length":96,"hex_timestamp":"0000019fe24f1770"} 
[2026-08-08 22:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269238016001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269238016001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:32:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269238016001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":151773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:32:51] local.INFO: GPS data processed {"connection_id":151773,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:32:51] local.INFO: Acknowledgment sent {"connection_id":151773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:33:14] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:33:14] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:33:14] local.INFO: IMEI packet received {"connection_id":151774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":151774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:33:20] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:33:20] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:33:20] local.INFO: IMEI packet received {"connection_id":151774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":151774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:33:31] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2531eb0012cf31a0007115f98001a00d62b..."} 
[2026-08-08 22:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2531eb0012cf31a0007115f98001a00d62b..."} 
[2026-08-08 22:33:31] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2531eb0012cf31a0007115f98001a00d62b..."} 
[2026-08-08 22:33:31] local.INFO: Packet analysis {"connection_id":151774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:33:31] local.INFO: Extracted packet for processing {"connection_id":151774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:33:31] local.INFO: GPS Element Parsed {"raw_longitude":754129408,"raw_latitude":118579096,"longitude_deg":75.4129408,"latitude_deg":11.8579096,"altitude":26,"angle":214,"satellites":43,"speed":26,"hex_longitude":"2cf31a00","hex_latitude":"07115f98","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269382144001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376004612735369216,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-928867392788615168,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1786208526000,"timestamp_ms":1786208526000,"timestamp_seconds":1786208526,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2531eb0"} 
[2026-08-08 22:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":151774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269382144001,"66":27365,"22":206,"83":41472,"24":26,"16":376004612735369216,"44":-928867392788615168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-08-08 22:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269382144001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:33:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 22:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376004612735369216,"km_value":376004612735369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-928867392788615168,"description":"Unknown IO ID 44"} 
[2026-08-08 22:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269382144001,"power":27365,"unknown_22":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-928867392788615168}} 
[2026-08-08 22:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":151774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:33:31] local.INFO: GPS data processed {"connection_id":151774,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:33:31] local.INFO: Acknowledgment sent {"connection_id":151774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:33:36] local.INFO: TCP Data received {"connection_id":150581,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:33:36] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:33:36] local.INFO: IMEI packet received {"connection_id":150581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":150581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:33:41] local.INFO: TCP Data received {"connection_id":150581,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:33:41] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:33:41] local.INFO: IMEI packet received {"connection_id":150581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":150581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:33:41] local.INFO: TCP Data received {"connection_id":151774,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2532298012cf3184007115da8001b00e32a..."} 
[2026-08-08 22:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2532298012cf3184007115da8001b00e32a..."} 
[2026-08-08 22:33:41] local.INFO: Processing buffer {"connection_id":151774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2532298012cf3184007115da8001b00e32a..."} 
[2026-08-08 22:33:41] local.INFO: Packet analysis {"connection_id":151774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:33:41] local.INFO: Extracted packet for processing {"connection_id":151774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:33:41] local.INFO: GPS Element Parsed {"raw_longitude":754128960,"raw_latitude":118578600,"longitude_deg":75.412896,"latitude_deg":11.85786,"altitude":27,"angle":227,"satellites":42,"speed":26,"hex_longitude":"2cf31840","hex_latitude":"07115da8","is_valid_coordinates":true} 
[2026-08-08 22:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269382656001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376004642800140288,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-929430342742337536,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786208527000,"timestamp_ms":1786208527000,"timestamp_seconds":1786208527,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2532298"} 
[2026-08-08 22:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:33: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-08-08 22:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:33: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-08-08 22:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269382656001,"66":27343,"22":206,"83":41472,"24":26,"16":376004642800140288,"44":-929430342742337536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,83,24,16,44]} 
[2026-08-08 22:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269382656001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:33:41] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-08 22:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376004642800140288,"km_value":376004642800140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-929430342742337536,"description":"Unknown IO ID 44"} 
[2026-08-08 22:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269382656001,"power":27343,"unknown_22":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-929430342742337536}} 
[2026-08-08 22:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":151774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:33:41] local.INFO: GPS data processed {"connection_id":151774,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:33:41] local.INFO: Acknowledgment sent {"connection_id":151774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:33:42] local.INFO: TCP Data received {"connection_id":150581,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:33:42] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:33:42] local.INFO: Packet analysis {"connection_id":150581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:33:42] local.INFO: Extracted packet for processing {"connection_id":150581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:33: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-08-08 22:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:33: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-08-08 22:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:33:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":150581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:33:42] local.INFO: GPS data processed {"connection_id":150581,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:33:42] local.INFO: Acknowledgment sent {"connection_id":150581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:34:04] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:04] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:04] local.INFO: IMEI packet received {"connection_id":153259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":153259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:34:05] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:05] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:05] local.INFO: IMEI packet received {"connection_id":153259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":153259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:34:09] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:09] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:34:09] local.INFO: IMEI packet received {"connection_id":153259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":153259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:34:10] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253f588012cf34d400710bb60002500892b..."} 
[2026-08-08 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253f588012cf34d400710bb60002500892b..."} 
[2026-08-08 22:34:10] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253f588012cf34d400710bb60002500892b..."} 
[2026-08-08 22:34:10] local.INFO: Packet analysis {"connection_id":153259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:10] local.INFO: Extracted packet for processing {"connection_id":153259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":754142528,"raw_latitude":118537056,"longitude_deg":75.4142528,"latitude_deg":11.8537056,"altitude":37,"angle":137,"satellites":43,"speed":38,"hex_longitude":"2cf34d40","hex_latitude":"0710bb60","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269395456001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376007026506989568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-918241712427804672,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786208581000,"timestamp_ms":1786208581000,"timestamp_seconds":1786208581,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253f588"} 
[2026-08-08 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-08-08 22:34: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-08-08 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":164,"data_length":795,"current_offset":136} 
[2026-08-08 22:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:34: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-08-08 22:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269395456001,"66":27321,"217":206,"83":41472,"24":38,"16":376007026506989568,"44":-918241712427804672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-08-08 22:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269395456001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:34:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-08 22:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376007026506989568,"km_value":376007026506989.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-918241712427804672,"description":"Unknown IO ID 44"} 
[2026-08-08 22:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269395456001,"power":27321,"unknown_217":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-918241712427804672}} 
[2026-08-08 22:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":153259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:34:10] local.INFO: GPS data processed {"connection_id":153259,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:34:10] local.INFO: Acknowledgment sent {"connection_id":153259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:34:14] local.INFO: TCP Data received {"connection_id":150581,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:14] local.INFO: Processing buffer {"connection_id":150581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:14] local.INFO: Packet analysis {"connection_id":150581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:14] local.INFO: Extracted packet for processing {"connection_id":150581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:34:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":150581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:34:14] local.INFO: GPS data processed {"connection_id":150581,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:34:14] local.INFO: Acknowledgment sent {"connection_id":150581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:34:40] local.INFO: TCP Data received {"connection_id":153259,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25418b0012cf367c00710a0d00026008829..."} 
[2026-08-08 22:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25418b0012cf367c00710a0d00026008829..."} 
[2026-08-08 22:34:40] local.INFO: Processing buffer {"connection_id":153259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25418b0012cf367c00710a0d00026008829..."} 
[2026-08-08 22:34:40] local.INFO: Packet analysis {"connection_id":153259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe254"} 
[2026-08-08 22:34:40] local.INFO: Extracted packet for processing {"connection_id":153259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe254"} 
[2026-08-08 22:34:40] local.INFO: GPS Element Parsed {"raw_longitude":754149312,"raw_latitude":118530256,"longitude_deg":75.4149312,"latitude_deg":11.8530256,"altitude":38,"angle":136,"satellites":41,"speed":42,"hex_longitude":"2cf367c0","hex_latitude":"0710a0d0","is_valid_coordinates":true} 
[2026-08-08 22:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269396736001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376007486068490240,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-915004750196678656,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786208590000,"timestamp_ms":1786208590000,"timestamp_seconds":1786208590,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25418b0"} 
[2026-08-08 22:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269396736001,"66":27376,"216":206,"83":41472,"24":42,"16":376007486068490240,"44":-915004750196678656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-08-08 22:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269396736001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:34:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-08 22:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376007486068490240,"km_value":376007486068490.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-915004750196678656,"description":"Unknown IO ID 44"} 
[2026-08-08 22:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269396736001,"power":27376,"unknown_216":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-915004750196678656}} 
[2026-08-08 22:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":153259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:34:40] local.INFO: GPS data processed {"connection_id":153259,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:34:40] local.INFO: Acknowledgment sent {"connection_id":153259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:34:41] local.INFO: TCP Data received {"connection_id":151775,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:34:41] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:34:41] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:34:46] local.INFO: TCP Data received {"connection_id":151775,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:34:46] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:34:46] local.INFO: IMEI packet received {"connection_id":151775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":151775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:34:47] local.INFO: TCP Data received {"connection_id":151775,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:47] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:47] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:47] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:34: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-08-08 22:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:34:47] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:34:47] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:34:52] local.INFO: TCP Data received {"connection_id":151775,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:52] local.INFO: Processing buffer {"connection_id":151775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:34:52] local.INFO: Packet analysis {"connection_id":151775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:52] local.INFO: Extracted packet for processing {"connection_id":151775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:34:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:34:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":151775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:34:52] local.INFO: GPS data processed {"connection_id":151775,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:34:52] local.INFO: Acknowledgment sent {"connection_id":151775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:35:04] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:04] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:04] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:35:06] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:06] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:06] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:35:09] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:09] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:35:09] local.INFO: IMEI packet received {"connection_id":151776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":151776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:35:10] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2543bd8012cf38280071084600027008929..."} 
[2026-08-08 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2543bd8012cf38280071084600027008929..."} 
[2026-08-08 22:35:10] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2543bd8012cf38280071084600027008929..."} 
[2026-08-08 22:35:10] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe254"} 
[2026-08-08 22:35:10] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe254"} 
[2026-08-08 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":754156160,"raw_latitude":118522976,"longitude_deg":75.415616,"latitude_deg":11.8522976,"altitude":39,"angle":137,"satellites":41,"speed":45,"hex_longitude":"2cf38280","hex_latitude":"07108460","is_valid_coordinates":true} 
[2026-08-08 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269399040001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376007967104827392,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-907545663315587072,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786208599000,"timestamp_ms":1786208599000,"timestamp_seconds":1786208599,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2543bd8"} 
[2026-08-08 22:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:35: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-08-08 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:35: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-08-08 22:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269399040001,"66":27376,"216":206,"83":41472,"24":45,"16":376007967104827392,"44":-907545663315587072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-08-08 22:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269399040001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:35:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-08 22:35:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376007967104827392,"km_value":376007967104827.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-907545663315587072,"description":"Unknown IO ID 44"} 
[2026-08-08 22:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269399040001,"power":27376,"unknown_216":206,"unknown_83":41472,"ignition":45,"odometer":null,"unknown_44":-907545663315587072}} 
[2026-08-08 22:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:35:10] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:35:10] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:35:14] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2545b18012cf39cc007106940002b00862a..."} 
[2026-08-08 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2545b18012cf39cc007106940002b00862a..."} 
[2026-08-08 22:35:14] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2545b18012cf39cc007106940002b00862a..."} 
[2026-08-08 22:35:14] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe254"} 
[2026-08-08 22:35:14] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe254"} 
[2026-08-08 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":754162880,"raw_latitude":118516032,"longitude_deg":75.416288,"latitude_deg":11.8516032,"altitude":43,"angle":134,"satellites":42,"speed":47,"hex_longitude":"2cf39cc0","hex_latitude":"07106940","is_valid_coordinates":true} 
[2026-08-08 22:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269401344001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376008430961295360,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-900016207690440704,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208607000,"timestamp_ms":1786208607000,"timestamp_seconds":1786208607,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2545b18"} 
[2026-08-08 22:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269401344001,"66":27234,"216":206,"83":41472,"24":47,"16":376008430961295360,"44":-900016207690440704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,44]} 
[2026-08-08 22:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269401344001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:35:14] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-08 22:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376008430961295360,"km_value":376008430961295.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-900016207690440704,"description":"Unknown IO ID 44"} 
[2026-08-08 22:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269401344001,"power":27234,"unknown_216":206,"unknown_83":41472,"ignition":47,"odometer":null,"unknown_44":-900016207690440704}} 
[2026-08-08 22:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:35:14] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:35:14] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:35:39] local.INFO: TCP Data received {"connection_id":150582,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:35:39] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:35:39] local.INFO: IMEI packet received {"connection_id":150582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":150582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:35:40] local.INFO: TCP Data received {"connection_id":150582,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:35:40] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:35:40] local.INFO: IMEI packet received {"connection_id":150582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":150582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:35:41] local.INFO: TCP Data received {"connection_id":150582,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:35:41] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:35:41] local.INFO: Packet analysis {"connection_id":150582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:35:41] local.INFO: Extracted packet for processing {"connection_id":150582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35: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-08-08 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:35: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-08-08 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:35:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:35:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":150582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:35:42] local.INFO: GPS data processed {"connection_id":150582,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:35:42] local.INFO: Acknowledgment sent {"connection_id":150582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:35:47] local.INFO: TCP Data received {"connection_id":150582,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:35:47] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:35:47] local.INFO: Packet analysis {"connection_id":150582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:35:47] local.INFO: Extracted packet for processing {"connection_id":150582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:35: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-08-08 22:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":150582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:35:47] local.INFO: GPS data processed {"connection_id":150582,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:35:47] local.INFO: Acknowledgment sent {"connection_id":150582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:35:52] local.INFO: TCP Data received {"connection_id":151776,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe255a338012cf42f40070efd20002f00ab2d..."} 
[2026-08-08 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe255a338012cf42f40070efd20002f00ab2d..."} 
[2026-08-08 22:35:52] local.INFO: Processing buffer {"connection_id":151776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe255a338012cf42f40070efd20002f00ab2d..."} 
[2026-08-08 22:35:52] local.INFO: Packet analysis {"connection_id":151776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe255"} 
[2026-08-08 22:35:52] local.INFO: Extracted packet for processing {"connection_id":151776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe255"} 
[2026-08-08 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":754200384,"raw_latitude":118422816,"longitude_deg":75.4200384,"latitude_deg":11.8422816,"altitude":47,"angle":171,"satellites":45,"speed":38,"hex_longitude":"2cf42f40","hex_latitude":"070efd20","is_valid_coordinates":true} 
[2026-08-08 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269423104001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376013370173685760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-853502467812853760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1786208691000,"timestamp_ms":1786208691000,"timestamp_seconds":1786208691,"priority":1,"record_length":96,"hex_timestamp":"0000019fe255a338"} 
[2026-08-08 22:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-08 22:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":151776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":151776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269423104001,"66":27300,"227":206,"83":41472,"24":38,"16":376013370173685760,"44":-853502467812853760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-08-08 22:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269423104001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:35:52] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 22:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376013370173685760,"km_value":376013370173685.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-853502467812853760,"description":"Unknown IO ID 44"} 
[2026-08-08 22:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269423104001,"power":27300,"unknown_227":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-853502467812853760}} 
[2026-08-08 22:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":151776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:35:52] local.INFO: GPS data processed {"connection_id":151776,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:35:52] local.INFO: Acknowledgment sent {"connection_id":151776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:36:04] local.INFO: TCP Data received {"connection_id":150885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:04] local.INFO: Processing buffer {"connection_id":150885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:04] local.INFO: IMEI packet received {"connection_id":150885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":150885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:36:06] local.INFO: TCP Data received {"connection_id":150885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:06] local.INFO: Processing buffer {"connection_id":150885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:06] local.INFO: IMEI packet received {"connection_id":150885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":150885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:36:09] local.INFO: TCP Data received {"connection_id":150885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:09] local.INFO: Processing buffer {"connection_id":150885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:36:09] local.INFO: IMEI packet received {"connection_id":150885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":150885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:36:09] local.INFO: TCP Data received {"connection_id":150885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe255be90012cf432c0070ee160002e009a2d..."} 
[2026-08-08 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe255be90012cf432c0070ee160002e009a2d..."} 
[2026-08-08 22:36:09] local.INFO: Processing buffer {"connection_id":150885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe255be90012cf432c0070ee160002e009a2d..."} 
[2026-08-08 22:36:09] local.INFO: Packet analysis {"connection_id":150885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe255"} 
[2026-08-08 22:36:09] local.INFO: Extracted packet for processing {"connection_id":150885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe255"} 
[2026-08-08 22:36:09] local.INFO: GPS Element Parsed {"raw_longitude":754201280,"raw_latitude":118415712,"longitude_deg":75.420128,"latitude_deg":11.8415712,"altitude":46,"angle":154,"satellites":45,"speed":43,"hex_longitude":"2cf432c0","hex_latitude":"070ee160","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269424896001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376013718066036736,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851391405489315840,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786208698000,"timestamp_ms":1786208698000,"timestamp_seconds":1786208698,"priority":1,"record_length":96,"hex_timestamp":"0000019fe255be90"} 
[2026-08-08 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-08-08 22: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-08-08 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 22:36: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-08-08 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-08-08 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-08-08 22:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269424896001,"66":27300,"227":206,"83":41472,"24":43,"16":376013718066036736,"44":-851391405489315840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-08-08 22:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269424896001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:36:09] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 22:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376013718066036736,"km_value":376013718066036.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851391405489315840,"description":"Unknown IO ID 44"} 
[2026-08-08 22:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269424896001,"power":27300,"unknown_227":206,"unknown_83":41472,"ignition":43,"odometer":null,"unknown_44":-851391405489315840}} 
[2026-08-08 22:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":150885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:36:09] local.INFO: GPS data processed {"connection_id":150885,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:36:09] local.INFO: Acknowledgment sent {"connection_id":150885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:36:14] local.INFO: TCP Data received {"connection_id":150885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe255ca48012cf43a00070ed630002d008c2c..."} 
[2026-08-08 22:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe255ca48012cf43a00070ed630002d008c2c..."} 
[2026-08-08 22:36:14] local.INFO: Processing buffer {"connection_id":150885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe255ca48012cf43a00070ed630002d008c2c..."} 
[2026-08-08 22:36:14] local.INFO: Packet analysis {"connection_id":150885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe255"} 
[2026-08-08 22:36:14] local.INFO: Extracted packet for processing {"connection_id":150885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe255"} 
[2026-08-08 22:36:14] local.INFO: GPS Element Parsed {"raw_longitude":754203136,"raw_latitude":118412848,"longitude_deg":75.4203136,"latitude_deg":11.8412848,"altitude":45,"angle":140,"satellites":44,"speed":45,"hex_longitude":"2cf43a00","hex_latitude":"070ed630","is_valid_coordinates":true} 
[2026-08-08 22:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269426688001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376013881274793984,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850406243072647168,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208701000,"timestamp_ms":1786208701000,"timestamp_seconds":1786208701,"priority":1,"record_length":96,"hex_timestamp":"0000019fe255ca48"} 
[2026-08-08 22:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 22:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269426688001,"66":27332,"227":206,"83":41472,"24":45,"16":376013881274793984,"44":-850406243072647168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-08-08 22:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269426688001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:36:14] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 22:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-08 22:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376013881274793984,"km_value":376013881274794.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850406243072647168,"description":"Unknown IO ID 44"} 
[2026-08-08 22:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269426688001,"power":27332,"unknown_227":206,"unknown_83":41472,"ignition":45,"odometer":null,"unknown_44":-850406243072647168}} 
[2026-08-08 22:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":150885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:36:14] local.INFO: GPS data processed {"connection_id":150885,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:36:14] local.INFO: Acknowledgment sent {"connection_id":150885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:36:18] local.INFO: TCP Data received {"connection_id":150582,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:36:18] local.INFO: Processing buffer {"connection_id":150582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:36:18] local.INFO: Packet analysis {"connection_id":150582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:36:18] local.INFO: Extracted packet for processing {"connection_id":150582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":150582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":150582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":150582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:36:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:36:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":150582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:36:18] local.INFO: GPS data processed {"connection_id":150582,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:36:18] local.INFO: Acknowledgment sent {"connection_id":150582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:36:36] local.INFO: TCP Data received {"connection_id":150886,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:36:36] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:36:36] local.INFO: IMEI packet received {"connection_id":150886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":150886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:36:41] local.INFO: TCP Data received {"connection_id":150886,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:36:41] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:36:41] local.INFO: IMEI packet received {"connection_id":150886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":150886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:36:42] local.INFO: TCP Data received {"connection_id":150886,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:36:42] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:36:42] local.INFO: Packet analysis {"connection_id":150886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:36:42] local.INFO: Extracted packet for processing {"connection_id":150886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:36:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36: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-08-08 22:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:36: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-08-08 22: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-08-08 22:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:36:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":150886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:36:43] local.INFO: GPS data processed {"connection_id":150886,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:36:43] local.INFO: Acknowledgment sent {"connection_id":150886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:36:45] local.INFO: TCP Data received {"connection_id":150885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe256bc78012cf4ed80070dfe20001300a02c..."} 
[2026-08-08 22:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe256bc78012cf4ed80070dfe20001300a02c..."} 
[2026-08-08 22:36:45] local.INFO: Processing buffer {"connection_id":150885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe256bc78012cf4ed80070dfe20001300a02c..."} 
[2026-08-08 22:36:45] local.INFO: Packet analysis {"connection_id":150885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe256"} 
[2026-08-08 22:36:45] local.INFO: Extracted packet for processing {"connection_id":150885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe256"} 
[2026-08-08 22:36:45] local.INFO: GPS Element Parsed {"raw_longitude":754249088,"raw_latitude":118357536,"longitude_deg":75.4249088,"latitude_deg":11.8357536,"altitude":19,"angle":160,"satellites":44,"speed":42,"hex_longitude":"2cf4ed80","hex_latitude":"070dfe20","is_valid_coordinates":true} 
[2026-08-08 22:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269442560001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376017420327845888,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-799248166069655552,"note":"Value kept but may cause issues"} 
[2026-08-08 22:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786208763000,"timestamp_ms":1786208763000,"timestamp_seconds":1786208763,"priority":1,"record_length":96,"hex_timestamp":"0000019fe256bc78"} 
[2026-08-08 22:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-08 22:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269442560001,"66":27332,"39":206,"83":41728,"24":42,"16":376017420327845888,"44":-799248166069655552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-08 22:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269442560001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:36:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 22:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376017420327845888,"km_value":376017420327845.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-799248166069655552,"description":"Unknown IO ID 44"} 
[2026-08-08 22:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269442560001,"power":27332,"unknown_39":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-799248166069655552}} 
[2026-08-08 22:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":150885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:36:45] local.INFO: GPS data processed {"connection_id":150885,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:36:45] local.INFO: Acknowledgment sent {"connection_id":150885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:37:03] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:37:03] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:37:03] local.INFO: IMEI packet received {"connection_id":153260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":153260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:37:09] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:37:09] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:37:09] local.INFO: IMEI packet received {"connection_id":153260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":153260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:37:10] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe256c830012cf4f300070df2f00012008d2c..."} 
[2026-08-08 22:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe256c830012cf4f300070df2f00012008d2c..."} 
[2026-08-08 22:37:10] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe256c830012cf4f300070df2f00012008d2c..."} 
[2026-08-08 22:37:10] local.INFO: Packet analysis {"connection_id":153260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe256"} 
[2026-08-08 22:37:10] local.INFO: Extracted packet for processing {"connection_id":153260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe256"} 
[2026-08-08 22:37:10] local.INFO: GPS Element Parsed {"raw_longitude":754250496,"raw_latitude":118354672,"longitude_deg":75.4250496,"latitude_deg":11.8354672,"altitude":18,"angle":141,"satellites":44,"speed":42,"hex_longitude":"2cf4f300","hex_latitude":"070df2f0","is_valid_coordinates":true} 
[2026-08-08 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269443328001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376017574946668544,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-797840791186825216,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786208766000,"timestamp_ms":1786208766000,"timestamp_seconds":1786208766,"priority":1,"record_length":96,"hex_timestamp":"0000019fe256c830"} 
[2026-08-08 22:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:37: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-08-08 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 22:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269443328001,"66":26430,"39":206,"83":41728,"24":42,"16":376017574946668544,"44":-797840791186825216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-08 22:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269443328001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376017574946668544,"km_value":376017574946668.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-797840791186825216,"description":"Unknown IO ID 44"} 
[2026-08-08 22:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269443328001,"power":26430,"unknown_39":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-797840791186825216}} 
[2026-08-08 22:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":153260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:37:10] local.INFO: GPS data processed {"connection_id":153260,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:37:10] local.INFO: Acknowledgment sent {"connection_id":153260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:37:14] local.INFO: TCP Data received {"connection_id":150886,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:37:14] local.INFO: Processing buffer {"connection_id":150886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:37:14] local.INFO: Packet analysis {"connection_id":150886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:37:14] local.INFO: Extracted packet for processing {"connection_id":150886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:37:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:37:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":150886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:37:14] local.INFO: GPS data processed {"connection_id":150886,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:37:14] local.INFO: Acknowledgment sent {"connection_id":150886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:37:35] local.INFO: TCP Data received {"connection_id":151777,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:37:35] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:37:35] local.INFO: IMEI packet received {"connection_id":151777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":151777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:37:41] local.INFO: TCP Data received {"connection_id":151777,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:37:41] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:37:41] local.INFO: IMEI packet received {"connection_id":151777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":151777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:37:42] local.INFO: TCP Data received {"connection_id":151777,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:37:42] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:37:42] local.INFO: Packet analysis {"connection_id":151777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:37:42] local.INFO: Extracted packet for processing {"connection_id":151777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37: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-08-08 22:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:37: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-08-08 22:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":151777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:37:42] local.INFO: GPS data processed {"connection_id":151777,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:37:42] local.INFO: Acknowledgment sent {"connection_id":151777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:37:42] local.INFO: TCP Data received {"connection_id":153260,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2576088012cf53900070d74e8000900a72c..."} 
[2026-08-08 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2576088012cf53900070d74e8000900a72c..."} 
[2026-08-08 22:37:42] local.INFO: Processing buffer {"connection_id":153260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2576088012cf53900070d74e8000900a72c..."} 
[2026-08-08 22:37:42] local.INFO: Packet analysis {"connection_id":153260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe257"} 
[2026-08-08 22:37:42] local.INFO: Extracted packet for processing {"connection_id":153260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe257"} 
[2026-08-08 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":754268416,"raw_latitude":118322408,"longitude_deg":75.4268416,"latitude_deg":11.8322408,"altitude":9,"angle":167,"satellites":44,"speed":55,"hex_longitude":"2cf53900","hex_latitude":"070d74e8","is_valid_coordinates":true} 
[2026-08-08 22:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269452800001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376019658005807104,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-777011642917519360,"note":"Value kept but may cause issues"} 
[2026-08-08 22:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208805000,"timestamp_ms":1786208805000,"timestamp_seconds":1786208805,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2576088"} 
[2026-08-08 22:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22: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-08-08 22:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269452800001,"66":27376,"39":206,"83":41728,"24":55,"16":376019658005807104,"44":-777011642917519360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-08 22:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269452800001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376019658005807104,"km_value":376019658005807.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-777011642917519360,"description":"Unknown IO ID 44"} 
[2026-08-08 22:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269452800001,"power":27376,"unknown_39":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-777011642917519360}} 
[2026-08-08 22:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":153260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:37:42] local.INFO: GPS data processed {"connection_id":153260,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:37:42] local.INFO: Acknowledgment sent {"connection_id":153260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:38:03] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:38:03] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:38:03] local.INFO: IMEI packet received {"connection_id":153261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":153261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:38:08] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:38:08] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:38:08] local.INFO: IMEI packet received {"connection_id":153261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":153261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:38:11] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2577be0012cf54500070d5230000c00a22b..."} 
[2026-08-08 22:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2577be0012cf54500070d5230000c00a22b..."} 
[2026-08-08 22:38:11] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2577be0012cf54500070d5230000c00a22b..."} 
[2026-08-08 22:38:11] local.INFO: Packet analysis {"connection_id":153261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe257"} 
[2026-08-08 22:38:11] local.INFO: Extracted packet for processing {"connection_id":153261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe257"} 
[2026-08-08 22:38:11] local.INFO: GPS Element Parsed {"raw_longitude":754271488,"raw_latitude":118313520,"longitude_deg":75.4271488,"latitude_deg":11.831352,"altitude":12,"angle":162,"satellites":43,"speed":49,"hex_longitude":"2cf54500","hex_latitude":"070d5230","is_valid_coordinates":true} 
[2026-08-08 22:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269454080001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376020113272340480,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-776589430454163456,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786208812000,"timestamp_ms":1786208812000,"timestamp_seconds":1786208812,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2577be0"} 
[2026-08-08 22:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":153261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269454080001,"66":27365,"39":206,"83":41728,"24":49,"16":376020113272340480,"44":-776589430454163456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-08 22:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269454080001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:38:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 22:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376020113272340480,"km_value":376020113272340.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-776589430454163456,"description":"Unknown IO ID 44"} 
[2026-08-08 22:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269454080001,"power":27365,"unknown_39":206,"unknown_83":41728,"ignition":49,"odometer":null,"unknown_44":-776589430454163456}} 
[2026-08-08 22:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":153261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:38:11] local.INFO: GPS data processed {"connection_id":153261,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:38:11] local.INFO: Acknowledgment sent {"connection_id":153261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:38:14] local.INFO: TCP Data received {"connection_id":151777,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:38:14] local.INFO: Processing buffer {"connection_id":151777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe253af38012d196a80071fef680047011722..."} 
[2026-08-08 22:38:14] local.INFO: Packet analysis {"connection_id":151777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:38:14] local.INFO: Extracted packet for processing {"connection_id":151777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe253"} 
[2026-08-08 22:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269315072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208563000,"timestamp_ms":1786208563000,"timestamp_seconds":1786208563,"priority":1,"record_length":96,"hex_timestamp":"0000019fe253af38"} 
[2026-08-08 22:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269315072001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269315072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:38:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269315072001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":151777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:38:14] local.INFO: GPS data processed {"connection_id":151777,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:38:14] local.INFO: Acknowledgment sent {"connection_id":151777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:38:35] local.INFO: TCP Data received {"connection_id":150887,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:38:35] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:38:35] local.INFO: IMEI packet received {"connection_id":150887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":150887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:38:40] local.INFO: TCP Data received {"connection_id":150887,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:38:40] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:38:40] local.INFO: IMEI packet received {"connection_id":150887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":150887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:38:42] local.INFO: TCP Data received {"connection_id":150887,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:38:42] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:38:42] local.INFO: Packet analysis {"connection_id":150887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:38:42] local.INFO: Extracted packet for processing {"connection_id":150887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:38: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-08-08 22:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:38:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":150887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:38:42] local.INFO: GPS data processed {"connection_id":150887,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:38:42] local.INFO: Acknowledgment sent {"connection_id":150887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:38:43] local.INFO: TCP Data received {"connection_id":153261,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2579b20012cf55000070d2c10000a00a42c..."} 
[2026-08-08 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2579b20012cf55000070d2c10000a00a42c..."} 
[2026-08-08 22:38:43] local.INFO: Processing buffer {"connection_id":153261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2579b20012cf55000070d2c10000a00a42c..."} 
[2026-08-08 22:38:43] local.INFO: Packet analysis {"connection_id":153261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe257"} 
[2026-08-08 22:38:43] local.INFO: Extracted packet for processing {"connection_id":153261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe257"} 
[2026-08-08 22:38:43] local.INFO: GPS Element Parsed {"raw_longitude":754274304,"raw_latitude":118303760,"longitude_deg":75.4274304,"latitude_deg":11.830376,"altitude":10,"angle":164,"satellites":44,"speed":54,"hex_longitude":"2cf55000","hex_latitude":"070d2c10","is_valid_coordinates":true} 
[2026-08-08 22:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269455872001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376020607193579520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-773211730735910912,"note":"Value kept but may cause issues"} 
[2026-08-08 22:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786208820000,"timestamp_ms":1786208820000,"timestamp_seconds":1786208820,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2579b20"} 
[2026-08-08 22:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:38: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-08-08 22:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":153261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":153261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269455872001,"66":27343,"39":206,"83":41728,"24":54,"16":376020607193579520,"44":-773211730735910912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-08 22:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269455872001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:38:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-08 22:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376020607193579520,"km_value":376020607193579.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-773211730735910912,"description":"Unknown IO ID 44"} 
[2026-08-08 22:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269455872001,"power":27343,"unknown_39":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-773211730735910912}} 
[2026-08-08 22:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":153261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:38:43] local.INFO: GPS data processed {"connection_id":153261,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:38:43] local.INFO: Acknowledgment sent {"connection_id":153261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:39:04] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:04] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:04] local.INFO: IMEI packet received {"connection_id":150888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":150888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:39:04] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:04] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:04] local.INFO: IMEI packet received {"connection_id":150888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":150888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:39:08] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:08] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:39:08] local.INFO: IMEI packet received {"connection_id":150888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":150888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:39:09] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe258a0d8012cf5e6c0070c06400008009629..."} 
[2026-08-08 22:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe258a0d8012cf5e6c0070c06400008009629..."} 
[2026-08-08 22:39:09] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe258a0d8012cf5e6c0070c06400008009629..."} 
[2026-08-08 22:39:09] local.INFO: Packet analysis {"connection_id":150888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:09] local.INFO: Extracted packet for processing {"connection_id":150888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:09] local.INFO: GPS Element Parsed {"raw_longitude":754312896,"raw_latitude":118228544,"longitude_deg":75.4312896,"latitude_deg":11.8228544,"altitude":8,"angle":150,"satellites":41,"speed":47,"hex_longitude":"2cf5e6c0","hex_latitude":"070c0640","is_valid_coordinates":true} 
[2026-08-08 22:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269473024001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376024717477281792,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-732960809085995008,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786208887000,"timestamp_ms":1786208887000,"timestamp_seconds":1786208887,"priority":1,"record_length":96,"hex_timestamp":"0000019fe258a0d8"} 
[2026-08-08 22:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:39: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-08-08 22: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 22:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269473024001,"66":27463,"177":206,"83":41728,"24":47,"16":376024717477281792,"44":-732960809085995008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-08-08 22:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269473024001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:39:09] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-08 22:39:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376024717477281792,"km_value":376024717477281.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-732960809085995008,"description":"Unknown IO ID 44"} 
[2026-08-08 22:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269473024001,"power":27463,"unknown_177":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-732960809085995008}} 
[2026-08-08 22:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":150888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:39:09] local.INFO: GPS data processed {"connection_id":150888,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:39:09] local.INFO: Acknowledgment sent {"connection_id":150888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:39:14] local.INFO: TCP Data received {"connection_id":150887,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:39:14] local.INFO: Processing buffer {"connection_id":150887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:39:14] local.INFO: Packet analysis {"connection_id":150887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:14] local.INFO: Extracted packet for processing {"connection_id":150887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:39: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-08-08 22:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:39:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":150887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:39:14] local.INFO: GPS data processed {"connection_id":150887,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:39:14] local.INFO: Acknowledgment sent {"connection_id":150887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:39:36] local.INFO: TCP Data received {"connection_id":151778,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:39:36] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:39:36] local.INFO: IMEI packet received {"connection_id":151778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":151778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:39:40] local.INFO: TCP Data received {"connection_id":150888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe258c018012cf5f8c0070be6500007009628..."} 
[2026-08-08 22:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe258c018012cf5f8c0070be6500007009628..."} 
[2026-08-08 22:39:40] local.INFO: Processing buffer {"connection_id":150888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe258c018012cf5f8c0070be6500007009628..."} 
[2026-08-08 22:39:40] local.INFO: Packet analysis {"connection_id":150888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:40] local.INFO: Extracted packet for processing {"connection_id":150888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:40] local.INFO: GPS Element Parsed {"raw_longitude":754317504,"raw_latitude":118220368,"longitude_deg":75.4317504,"latitude_deg":11.8220368,"altitude":7,"angle":150,"satellites":40,"speed":42,"hex_longitude":"2cf5f8c0","hex_latitude":"070be650","is_valid_coordinates":true} 
[2026-08-08 22:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269475072001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376025168448847872,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-727683153274716160,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786208895000,"timestamp_ms":1786208895000,"timestamp_seconds":1786208895,"priority":1,"record_length":96,"hex_timestamp":"0000019fe258c018"} 
[2026-08-08 22:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:39: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-08-08 22:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269475072001,"66":27484,"177":206,"83":41728,"24":42,"16":376025168448847872,"44":-727683153274716160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-08-08 22:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269475072001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:39:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-08 22:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376025168448847872,"km_value":376025168448847.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-727683153274716160,"description":"Unknown IO ID 44"} 
[2026-08-08 22:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269475072001,"power":27484,"unknown_177":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_44":-727683153274716160}} 
[2026-08-08 22:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":150888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:39:40] local.INFO: GPS data processed {"connection_id":150888,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:39:40] local.INFO: Acknowledgment sent {"connection_id":150888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:39:41] local.INFO: TCP Data received {"connection_id":151778,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:39:41] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:39:41] local.INFO: IMEI packet received {"connection_id":151778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":151778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:39:42] local.INFO: TCP Data received {"connection_id":151778,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:39:42] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:39:42] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:42] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:39:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:39:42] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:39:42] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:40:11] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:11] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:11] local.INFO: IMEI packet received {"connection_id":153262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":153262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:40:14] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:14] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:14] local.INFO: IMEI packet received {"connection_id":153262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":153262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:40:14] local.INFO: TCP Data received {"connection_id":151778,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:40:14] local.INFO: Processing buffer {"connection_id":151778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:40:14] local.INFO: Packet analysis {"connection_id":151778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:40:14] local.INFO: Extracted packet for processing {"connection_id":151778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:40: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-08-08 22:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:40:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":151778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:40:14] local.INFO: GPS data processed {"connection_id":151778,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:40:14] local.INFO: Acknowledgment sent {"connection_id":151778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:40:19] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:19] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:40:19] local.INFO: IMEI packet received {"connection_id":153262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":153262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:40:20] local.INFO: TCP Data received {"connection_id":153262,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2597f80012cf62a80070b9580000c00862a..."} 
[2026-08-08 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2597f80012cf62a80070b9580000c00862a..."} 
[2026-08-08 22:40:20] local.INFO: Processing buffer {"connection_id":153262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2597f80012cf62a80070b9580000c00862a..."} 
[2026-08-08 22:40:20] local.INFO: Packet analysis {"connection_id":153262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:40:20] local.INFO: Extracted packet for processing {"connection_id":153262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":754330240,"raw_latitude":118199680,"longitude_deg":75.433024,"latitude_deg":11.819968,"altitude":12,"angle":134,"satellites":42,"speed":16,"hex_longitude":"2cf62a80","hex_latitude":"070b9580","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269489408001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-708965067330787328,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376026491298775040,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:20] 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-08-08 22:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786208944000,"timestamp_ms":1786208944000,"timestamp_seconds":1786208944,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2597f80"} 
[2026-08-08 22:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":153262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":153262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":153262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:40: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-08-08 22:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269489408001,"66":27397,"44":-708965067330787328,"83":41728,"24":16,"16":376026491298775040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 22:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269489408001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-708965067330787328,"description":"Unknown IO ID 44"} 
[2026-08-08 22:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376026491298775040,"km_value":376026491298775.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:40:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269489408001,"power":27397,"unknown_44":-708965067330787328,"unknown_83":41728,"ignition":16,"odometer":null}} 
[2026-08-08 22:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":153262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:40:20] local.INFO: GPS data processed {"connection_id":153262,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:40:20] local.INFO: Acknowledgment sent {"connection_id":153262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:40:36] local.INFO: TCP Data received {"connection_id":151779,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:40:36] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:40:36] local.INFO: IMEI packet received {"connection_id":151779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":151779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:40:40] local.INFO: TCP Data received {"connection_id":151779,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:40:40] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:40:40] local.INFO: IMEI packet received {"connection_id":151779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":151779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:40:42] local.INFO: TCP Data received {"connection_id":151779,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:40:42] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:40:42] local.INFO: Packet analysis {"connection_id":151779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:40:42] local.INFO: Extracted packet for processing {"connection_id":151779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:40: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-08-08 22:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:40: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-08-08 22:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:40:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":151779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:40:42] local.INFO: GPS data processed {"connection_id":151779,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:40:42] local.INFO: Acknowledgment sent {"connection_id":151779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:41:04] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:04] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:04] local.INFO: IMEI packet received {"connection_id":150583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":150583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:41:04] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:04] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:04] local.INFO: IMEI packet received {"connection_id":150583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":150583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:41:09] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:09] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:41:09] local.INFO: IMEI packet received {"connection_id":150583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":150583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:41:10] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2598750012cf62c40070b92c0000b00972a..."} 
[2026-08-08 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2598750012cf62c40070b92c0000b00972a..."} 
[2026-08-08 22:41:10] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2598750012cf62c40070b92c0000b00972a..."} 
[2026-08-08 22:41:10] local.INFO: Packet analysis {"connection_id":150583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:41:10] local.INFO: Extracted packet for processing {"connection_id":150583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":754330688,"raw_latitude":118198976,"longitude_deg":75.4330688,"latitude_deg":11.8198976,"altitude":11,"angle":151,"satellites":42,"speed":18,"hex_longitude":"2cf62c40","hex_latitude":"070b92c0","is_valid_coordinates":true} 
[2026-08-08 22:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269489664001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-708613223609958400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376026534248448000,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:10] 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-08-08 22:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786208946000,"timestamp_ms":1786208946000,"timestamp_seconds":1786208946,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2598750"} 
[2026-08-08 22:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:41: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-08-08 22:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:41: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-08-08 22:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269489664001,"66":27376,"44":-708613223609958400,"83":41728,"24":18,"16":376026534248448000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 22:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269489664001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-708613223609958400,"description":"Unknown IO ID 44"} 
[2026-08-08 22:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376026534248448000,"km_value":376026534248448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:41:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269489664001,"power":27376,"unknown_44":-708613223609958400,"unknown_83":41728,"ignition":18,"odometer":null}} 
[2026-08-08 22:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":150583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:41:10] local.INFO: GPS data processed {"connection_id":150583,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:41:10] local.INFO: Acknowledgment sent {"connection_id":150583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:41:13] local.INFO: TCP Data received {"connection_id":151779,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:41:13] local.INFO: Processing buffer {"connection_id":151779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:41:13] local.INFO: Packet analysis {"connection_id":151779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:41:13] local.INFO: Extracted packet for processing {"connection_id":151779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:41:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":151779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:41:13] local.INFO: GPS data processed {"connection_id":151779,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:41:13] local.INFO: Acknowledgment sent {"connection_id":151779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:41:36] local.INFO: TCP Data received {"connection_id":151780,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:41:36] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:41:36] local.INFO: IMEI packet received {"connection_id":151780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":151780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:41:40] local.INFO: TCP Data received {"connection_id":151780,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:41:40] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:41:40] local.INFO: IMEI packet received {"connection_id":151780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":151780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:41:41] local.INFO: TCP Data received {"connection_id":150583,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25996f0012cf63140070b8b98000a008b2a..."} 
[2026-08-08 22:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25996f0012cf63140070b8b98000a008b2a..."} 
[2026-08-08 22:41:41] local.INFO: Processing buffer {"connection_id":150583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25996f0012cf63140070b8b98000a008b2a..."} 
[2026-08-08 22:41:41] local.INFO: Packet analysis {"connection_id":150583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:41:41] local.INFO: Extracted packet for processing {"connection_id":150583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":754331968,"raw_latitude":118197144,"longitude_deg":75.4331968,"latitude_deg":11.8197144,"altitude":10,"angle":139,"satellites":42,"speed":24,"hex_longitude":"2cf63140","hex_latitude":"070b8b98","is_valid_coordinates":true} 
[2026-08-08 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269490176001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-708120642400894976,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376026641622630400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41: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-08-08 22:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786208950000,"timestamp_ms":1786208950000,"timestamp_seconds":1786208950,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25996f0"} 
[2026-08-08 22:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:41: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-08-08 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:41: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-08-08 22:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269490176001,"66":27365,"44":-708120642400894976,"83":41728,"24":24,"16":376026641622630400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 22:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269490176001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-708120642400894976,"description":"Unknown IO ID 44"} 
[2026-08-08 22:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376026641622630400,"km_value":376026641622630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:41:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269490176001,"power":27365,"unknown_44":-708120642400894976,"unknown_83":41728,"ignition":24,"odometer":null}} 
[2026-08-08 22:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":150583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:41:41] local.INFO: GPS data processed {"connection_id":150583,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:41:41] local.INFO: Acknowledgment sent {"connection_id":150583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:41:42] local.INFO: TCP Data received {"connection_id":151780,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:41:42] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:41:42] local.INFO: Packet analysis {"connection_id":151780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:41:42] local.INFO: Extracted packet for processing {"connection_id":151780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:41: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-08-08 22:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":151780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:41:42] local.INFO: GPS data processed {"connection_id":151780,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:41:42] local.INFO: Acknowledgment sent {"connection_id":151780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:42:04] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:04] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:04] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:42:05] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:05] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:05] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:42:09] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:09] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:42:09] local.INFO: IMEI packet received {"connection_id":151781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":151781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:42:10] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe259c5d0012cf64980070b70880009008929..."} 
[2026-08-08 22:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe259c5d0012cf64980070b70880009008929..."} 
[2026-08-08 22:42:10] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe259c5d0012cf64980070b70880009008929..."} 
[2026-08-08 22:42:10] local.INFO: Packet analysis {"connection_id":151781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:42:10] local.INFO: Extracted packet for processing {"connection_id":151781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe259"} 
[2026-08-08 22:42:10] local.INFO: GPS Element Parsed {"raw_longitude":754338176,"raw_latitude":118190216,"longitude_deg":75.4338176,"latitude_deg":11.8190216,"altitude":9,"angle":137,"satellites":41,"speed":36,"hex_longitude":"2cf64980","hex_latitude":"070b7088","is_valid_coordinates":true} 
[2026-08-08 22:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269491200001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706713267517810688,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376027088299229184,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:10] 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-08-08 22:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786208962000,"timestamp_ms":1786208962000,"timestamp_seconds":1786208962,"priority":1,"record_length":96,"hex_timestamp":"0000019fe259c5d0"} 
[2026-08-08 22:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:42: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-08-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:42: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-08-08 22:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269491200001,"66":27463,"44":-706713267517810688,"83":41728,"24":36,"16":376027088299229184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-08-08 22:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269491200001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706713267517810688,"description":"Unknown IO ID 44"} 
[2026-08-08 22:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376027088299229184,"km_value":376027088299229.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:42:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269491200001,"power":27463,"unknown_44":-706713267517810688,"unknown_83":41728,"ignition":36,"odometer":null}} 
[2026-08-08 22:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":151781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:42:10] local.INFO: GPS data processed {"connection_id":151781,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:42:10] local.INFO: Acknowledgment sent {"connection_id":151781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:42:13] local.INFO: TCP Data received {"connection_id":151780,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:42:13] local.INFO: Processing buffer {"connection_id":151780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:42:13] local.INFO: Packet analysis {"connection_id":151780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:42:13] local.INFO: Extracted packet for processing {"connection_id":151780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:42:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":151780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:42:14] local.INFO: GPS data processed {"connection_id":151780,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:42:14] local.INFO: Acknowledgment sent {"connection_id":151780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:42:35] local.INFO: TCP Data received {"connection_id":150889,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:42:35] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:42:35] local.INFO: IMEI packet received {"connection_id":150889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":150889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:42:41] local.INFO: TCP Data received {"connection_id":151781,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25bd910012cf76cc0070a1e20000d008d2a..."} 
[2026-08-08 22:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25bd910012cf76cc0070a1e20000d008d2a..."} 
[2026-08-08 22:42:41] local.INFO: Processing buffer {"connection_id":151781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25bd910012cf76cc0070a1e20000d008d2a..."} 
[2026-08-08 22:42:41] local.INFO: Packet analysis {"connection_id":151781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25b"} 
[2026-08-08 22:42:41] local.INFO: Extracted packet for processing {"connection_id":151781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25b"} 
[2026-08-08 22:42:41] local.INFO: GPS Element Parsed {"raw_longitude":754412736,"raw_latitude":118103584,"longitude_deg":75.4412736,"latitude_deg":11.8103584,"altitude":13,"angle":141,"satellites":42,"speed":34,"hex_longitude":"2cf76cc0","hex_latitude":"070a1e20","is_valid_coordinates":true} 
[2026-08-08 22:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269526272001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376032594447302656,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-624804049317048320,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209098000,"timestamp_ms":1786209098000,"timestamp_seconds":1786209098,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25bd910"} 
[2026-08-08 22:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:42: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-08-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:42: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-08-08 22:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269526272001,"66":27463,"31":206,"83":41728,"24":34,"16":376032594447302656,"44":-624804049317048320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-08 22:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269526272001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:42:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 22:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376032594447302656,"km_value":376032594447302.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-624804049317048320,"description":"Unknown IO ID 44"} 
[2026-08-08 22:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269526272001,"power":27463,"unknown_31":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-624804049317048320}} 
[2026-08-08 22:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":151781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:42:41] local.INFO: GPS data processed {"connection_id":151781,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:42:41] local.INFO: Acknowledgment sent {"connection_id":151781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:42:41] local.INFO: TCP Data received {"connection_id":150889,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:42:41] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:42:41] local.INFO: IMEI packet received {"connection_id":150889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":150889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:42:42] local.INFO: TCP Data received {"connection_id":150889,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:42:42] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:42:42] local.INFO: Packet analysis {"connection_id":150889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:42:42] local.INFO: Extracted packet for processing {"connection_id":150889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:42: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-08-08 22:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:42:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":150889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:42:42] local.INFO: GPS data processed {"connection_id":150889,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:42:42] local.INFO: Acknowledgment sent {"connection_id":150889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:43:04] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:43:04] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:43:04] local.INFO: IMEI packet received {"connection_id":150890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":150890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:43:09] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:43:09] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:43:09] local.INFO: IMEI packet received {"connection_id":150890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":150890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:43:09] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25c0408012cf78500070a01e8000c008929..."} 
[2026-08-08 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25c0408012cf78500070a01e8000c008929..."} 
[2026-08-08 22:43:09] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25c0408012cf78500070a01e8000c008929..."} 
[2026-08-08 22:43:09] local.INFO: Packet analysis {"connection_id":150890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:43:09] local.INFO: Extracted packet for processing {"connection_id":150890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:43:09] local.INFO: GPS Element Parsed {"raw_longitude":754418944,"raw_latitude":118096360,"longitude_deg":75.4418944,"latitude_deg":11.809636,"altitude":12,"angle":137,"satellites":41,"speed":34,"hex_longitude":"2cf78500","hex_latitude":"070a01e8","is_valid_coordinates":true} 
[2026-08-08 22:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269529088001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376033054008803328,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-617907912389550080,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43: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-08-08 22:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786209109000,"timestamp_ms":1786209109000,"timestamp_seconds":1786209109,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25c0408"} 
[2026-08-08 22:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:43: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269529088001,"66":27463,"31":206,"83":41728,"24":34,"16":376033054008803328,"44":-617907912389550080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-08 22:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269529088001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:43:09] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 22:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376033054008803328,"km_value":376033054008803.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-617907912389550080,"description":"Unknown IO ID 44"} 
[2026-08-08 22:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269529088001,"power":27463,"unknown_31":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-617907912389550080}} 
[2026-08-08 22:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":150890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:43:10] local.INFO: GPS data processed {"connection_id":150890,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:43:10] local.INFO: Acknowledgment sent {"connection_id":150890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:43:13] local.INFO: TCP Data received {"connection_id":150889,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:43:13] local.INFO: Processing buffer {"connection_id":150889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2584700012d196a80071fef680047011724..."} 
[2026-08-08 22:43:13] local.INFO: Packet analysis {"connection_id":150889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:43:13] local.INFO: Extracted packet for processing {"connection_id":150889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe258"} 
[2026-08-08 22:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269392128001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786208864000,"timestamp_ms":1786208864000,"timestamp_seconds":1786208864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2584700"} 
[2026-08-08 22:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269392128001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269392128001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:43:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:43:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269392128001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":150889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:43:14] local.INFO: GPS data processed {"connection_id":150889,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:43:14] local.INFO: Acknowledgment sent {"connection_id":150889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:43:35] local.INFO: TCP Data received {"connection_id":151782,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:43:35] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:43:35] local.INFO: IMEI packet received {"connection_id":151782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":151782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:43:40] local.INFO: TCP Data received {"connection_id":150890,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25c2f00012cf79e000709e6a8000a008829..."} 
[2026-08-08 22:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25c2f00012cf79e000709e6a8000a008829..."} 
[2026-08-08 22:43:40] local.INFO: Processing buffer {"connection_id":150890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25c2f00012cf79e000709e6a8000a008829..."} 
[2026-08-08 22:43:40] local.INFO: Packet analysis {"connection_id":150890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:43:40] local.INFO: Extracted packet for processing {"connection_id":150890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":754425344,"raw_latitude":118089384,"longitude_deg":75.4425344,"latitude_deg":11.8089384,"altitude":10,"angle":136,"satellites":41,"speed":33,"hex_longitude":"2cf79e00","hex_latitude":"0709e6a8","is_valid_coordinates":true} 
[2026-08-08 22:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269531904001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376033509275336704,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-611082144206166016,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786209120000,"timestamp_ms":1786209120000,"timestamp_seconds":1786209120,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25c2f00"} 
[2026-08-08 22:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:43: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:43: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-08-08 22:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269531904001,"66":27397,"31":206,"83":41728,"24":33,"16":376033509275336704,"44":-611082144206166016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-08 22:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269531904001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:43:40] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 22:43:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376033509275336704,"km_value":376033509275336.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-611082144206166016,"description":"Unknown IO ID 44"} 
[2026-08-08 22:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269531904001,"power":27397,"unknown_31":206,"unknown_83":41728,"ignition":33,"odometer":null,"unknown_44":-611082144206166016}} 
[2026-08-08 22:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":150890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:43:40] local.INFO: GPS data processed {"connection_id":150890,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:43:40] local.INFO: Acknowledgment sent {"connection_id":150890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:43:40] local.INFO: TCP Data received {"connection_id":151782,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:43:40] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:43:40] local.INFO: IMEI packet received {"connection_id":151782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":151782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:43:42] local.INFO: TCP Data received {"connection_id":151782,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:43:42] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:43:42] local.INFO: Packet analysis {"connection_id":151782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:43:42] local.INFO: Extracted packet for processing {"connection_id":151782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:43: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-08-08 22:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:43: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-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:43: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-08-08 22: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-08-08 22:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:43:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":151782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:43:42] local.INFO: GPS data processed {"connection_id":151782,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:43:42] local.INFO: Acknowledgment sent {"connection_id":151782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:44:04] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:44:04] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:44:04] local.INFO: IMEI packet received {"connection_id":150891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":150891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:44:09] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:44:09] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:44:09] local.INFO: IMEI packet received {"connection_id":150891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":150891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:44:10] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25c59f8012cf7b6000709ccc0000b008625..."} 
[2026-08-08 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25c59f8012cf7b6000709ccc0000b008625..."} 
[2026-08-08 22:44:10] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25c59f8012cf7b6000709ccc0000b008625..."} 
[2026-08-08 22:44:10] local.INFO: Packet analysis {"connection_id":150891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:10] local.INFO: Extracted packet for processing {"connection_id":150891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":754431488,"raw_latitude":118082752,"longitude_deg":75.4431488,"latitude_deg":11.8082752,"altitude":11,"angle":134,"satellites":37,"speed":34,"hex_longitude":"2cf7b600","hex_latitude":"0709ccc0","is_valid_coordinates":true} 
[2026-08-08 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269534720001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376033938772066304,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-604045269790185472,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786209131000,"timestamp_ms":1786209131000,"timestamp_seconds":1786209131,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25c59f8"} 
[2026-08-08 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:44: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-08-08 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22: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-08-08 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269534720001,"66":27463,"31":206,"83":41728,"24":34,"16":376033938772066304,"44":-604045269790185472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-08 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269534720001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:44:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 22:44:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376033938772066304,"km_value":376033938772066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-604045269790185472,"description":"Unknown IO ID 44"} 
[2026-08-08 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269534720001,"power":27463,"unknown_31":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_44":-604045269790185472}} 
[2026-08-08 22:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":150891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:44:10] local.INFO: GPS data processed {"connection_id":150891,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:44:10] local.INFO: Acknowledgment sent {"connection_id":150891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:44:13] local.INFO: TCP Data received {"connection_id":151782,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:44:13] local.INFO: Processing buffer {"connection_id":151782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:44:13] local.INFO: Packet analysis {"connection_id":151782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:13] local.INFO: Extracted packet for processing {"connection_id":151782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:44:13] 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-08-08 22:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":151782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":151782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:44:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:44:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":151782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:44:13] local.INFO: GPS data processed {"connection_id":151782,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:44:13] local.INFO: Acknowledgment sent {"connection_id":151782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:44:35] local.INFO: TCP Data received {"connection_id":150584,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:44:35] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:44:35] local.INFO: IMEI packet received {"connection_id":150584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":150584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:44:41] local.INFO: TCP Data received {"connection_id":150584,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:44:41] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:44:41] local.INFO: IMEI packet received {"connection_id":150584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":150584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:44:41] local.INFO: TCP Data received {"connection_id":150891,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25c84f0012cf7ce800709b118000d008d28..."} 
[2026-08-08 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25c84f0012cf7ce800709b118000d008d28..."} 
[2026-08-08 22:44:41] local.INFO: Processing buffer {"connection_id":150891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25c84f0012cf7ce800709b118000d008d28..."} 
[2026-08-08 22:44:41] local.INFO: Packet analysis {"connection_id":150891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:41] local.INFO: Extracted packet for processing {"connection_id":150891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:41] local.INFO: GPS Element Parsed {"raw_longitude":754437760,"raw_latitude":118075672,"longitude_deg":75.443776,"latitude_deg":11.8075672,"altitude":13,"angle":141,"satellites":40,"speed":32,"hex_longitude":"2cf7ce80","hex_latitude":"0709b118","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269537536001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376034398333566976,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-597289870350827520,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209142000,"timestamp_ms":1786209142000,"timestamp_seconds":1786209142,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25c84f0"} 
[2026-08-08 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-08-08 22:44: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-08-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 22:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22: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-08-08 22:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269537536001,"66":27365,"31":206,"83":41728,"24":32,"16":376034398333566976,"44":-597289870350827520},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-08 22:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269537536001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:44:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-08 22:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376034398333566976,"km_value":376034398333567.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-597289870350827520,"description":"Unknown IO ID 44"} 
[2026-08-08 22:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269537536001,"power":27365,"unknown_31":206,"unknown_83":41728,"ignition":32,"odometer":null,"unknown_44":-597289870350827520}} 
[2026-08-08 22:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":150891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:44:41] local.INFO: GPS data processed {"connection_id":150891,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:44:41] local.INFO: Acknowledgment sent {"connection_id":150891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:44:42] local.INFO: TCP Data received {"connection_id":150584,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:44:42] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:44:42] local.INFO: Packet analysis {"connection_id":150584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:42] local.INFO: Extracted packet for processing {"connection_id":150584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:44: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-08-08 22:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:44: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-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:44: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-08-08 22:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:44:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":150584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:44:42] local.INFO: GPS data processed {"connection_id":150584,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:44:42] local.INFO: Acknowledgment sent {"connection_id":150584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:45:14] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:45:14] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:45:14] local.INFO: IMEI packet received {"connection_id":151783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":151783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:45:14] local.INFO: TCP Data received {"connection_id":150584,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:45:14] local.INFO: Processing buffer {"connection_id":150584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:45:14] local.INFO: Packet analysis {"connection_id":150584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:45:14] local.INFO: Extracted packet for processing {"connection_id":150584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:45:14] 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-08-08 22:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:45:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:45:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":150584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:45:15] local.INFO: GPS data processed {"connection_id":150584,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:45:15] local.INFO: Acknowledgment sent {"connection_id":150584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:45:17] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:45:17] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:45:17] local.INFO: IMEI packet received {"connection_id":151783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":151783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:45:18] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25dffd8012cf887c007089808000b00912d..."} 
[2026-08-08 22:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25dffd8012cf887c007089808000b00912d..."} 
[2026-08-08 22:45:18] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25dffd8012cf887c007089808000b00912d..."} 
[2026-08-08 22:45:18] local.INFO: Packet analysis {"connection_id":151783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25d"} 
[2026-08-08 22:45:18] local.INFO: Extracted packet for processing {"connection_id":151783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25d"} 
[2026-08-08 22:45:18] local.INFO: GPS Element Parsed {"raw_longitude":754485184,"raw_latitude":118003720,"longitude_deg":75.4485184,"latitude_deg":11.800372,"altitude":11,"angle":145,"satellites":45,"speed":40,"hex_longitude":"2cf887c0","hex_latitude":"07089808","is_valid_coordinates":true} 
[2026-08-08 22:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269562624001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376038590221647872,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-544372574747383808,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:18] 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-08-08 22:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1786209239000,"timestamp_ms":1786209239000,"timestamp_seconds":1786209239,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25dffd8"} 
[2026-08-08 22:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":151783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":151783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":151783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269562624001,"66":27397,"30":206,"83":41728,"24":40,"16":376038590221647872,"44":-544372574747383808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-08-08 22:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269562624001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:45:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 22:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376038590221647872,"km_value":376038590221647.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-544372574747383808,"description":"Unknown IO ID 44"} 
[2026-08-08 22:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269562624001,"power":27397,"unknown_30":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-544372574747383808}} 
[2026-08-08 22:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":151783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:45:18] local.INFO: GPS data processed {"connection_id":151783,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:45:18] local.INFO: Acknowledgment sent {"connection_id":151783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:45:19] local.INFO: TCP Data received {"connection_id":151783,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25e2300012cf89e0007087980000b00902c..."} 
[2026-08-08 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25e2300012cf89e0007087980000b00902c..."} 
[2026-08-08 22:45:19] local.INFO: Processing buffer {"connection_id":151783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25e2300012cf89e0007087980000b00902c..."} 
[2026-08-08 22:45:19] local.INFO: Packet analysis {"connection_id":151783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25e"} 
[2026-08-08 22:45:19] local.INFO: Extracted packet for processing {"connection_id":151783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25e"} 
[2026-08-08 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":754490880,"raw_latitude":117995904,"longitude_deg":75.449088,"latitude_deg":11.7995904,"altitude":11,"angle":144,"satellites":44,"speed":45,"hex_longitude":"2cf89e00","hex_latitude":"07087980","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269565184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376039058373083136,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-538250494005999616,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:19] 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-08-08 22:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786209248000,"timestamp_ms":1786209248000,"timestamp_seconds":1786209248,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25e2300"} 
[2026-08-08 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-08-08 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22: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-08-08 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-08-08 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-08-08 22:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:45: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-08-08 22:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269565184001,"66":27332,"30":206,"83":41728,"24":45,"16":376039058373083136,"44":-538250494005999616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-08-08 22:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269565184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376039058373083136,"km_value":376039058373083.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-538250494005999616,"description":"Unknown IO ID 44"} 
[2026-08-08 22:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269565184001,"power":27332,"unknown_30":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-538250494005999616}} 
[2026-08-08 22:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":151783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:45:19] local.INFO: GPS data processed {"connection_id":151783,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:45:19] local.INFO: Acknowledgment sent {"connection_id":151783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:45:35] local.INFO: TCP Data received {"connection_id":150892,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:45:35] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:45:35] local.INFO: IMEI packet received {"connection_id":150892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":150892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:45:41] local.INFO: TCP Data received {"connection_id":150892,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:45:41] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:45:41] local.INFO: IMEI packet received {"connection_id":150892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":150892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:45:42] local.INFO: TCP Data received {"connection_id":150892,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:45:42] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:45:42] local.INFO: Packet analysis {"connection_id":150892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:45:42] local.INFO: Extracted packet for processing {"connection_id":150892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:45: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-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:45: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-08-08 22: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-08-08 22:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:45:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":150892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:45:42] local.INFO: GPS data processed {"connection_id":150892,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:45:42] local.INFO: Acknowledgment sent {"connection_id":150892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:46:03] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:03] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:03] local.INFO: IMEI packet received {"connection_id":150893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":150893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:46:03] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:03] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:03] local.INFO: IMEI packet received {"connection_id":150893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":150893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:46:09] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:09] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:46:09] local.INFO: IMEI packet received {"connection_id":150893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":150893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:46:10] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25e4240012cf8b4c0070859f8000900902b..."} 
[2026-08-08 22:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25e4240012cf8b4c0070859f8000900902b..."} 
[2026-08-08 22:46:10] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25e4240012cf8b4c0070859f8000900902b..."} 
[2026-08-08 22:46:10] local.INFO: Packet analysis {"connection_id":150893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25e"} 
[2026-08-08 22:46:10] local.INFO: Extracted packet for processing {"connection_id":150893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25e"} 
[2026-08-08 22:46:10] local.INFO: GPS Element Parsed {"raw_longitude":754496704,"raw_latitude":117987832,"longitude_deg":75.4496704,"latitude_deg":11.7987832,"altitude":9,"angle":144,"satellites":43,"speed":52,"hex_longitude":"2cf8b4c0","hex_latitude":"070859f8","is_valid_coordinates":true} 
[2026-08-08 22:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269567488001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376039535114452992,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-531987675776188416,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786209256000,"timestamp_ms":1786209256000,"timestamp_seconds":1786209256,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25e4240"} 
[2026-08-08 22:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:46: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-08-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 22:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:46: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-08-08 22:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269567488001,"66":27463,"197":206,"83":41728,"24":52,"16":376039535114452992,"44":-531987675776188416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-08-08 22:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269567488001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376039535114452992,"km_value":376039535114453.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-531987675776188416,"description":"Unknown IO ID 44"} 
[2026-08-08 22:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269567488001,"power":27463,"unknown_197":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-531987675776188416}} 
[2026-08-08 22:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":150893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:46:10] local.INFO: GPS data processed {"connection_id":150893,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:46:10] local.INFO: Acknowledgment sent {"connection_id":150893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:46:11] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25e5d98012cf8cac007083c080009008f2b..."} 
[2026-08-08 22:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25e5d98012cf8cac007083c080009008f2b..."} 
[2026-08-08 22:46:11] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25e5d98012cf8cac007083c080009008f2b..."} 
[2026-08-08 22:46:11] local.INFO: Packet analysis {"connection_id":150893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25e"} 
[2026-08-08 22:46:11] local.INFO: Extracted packet for processing {"connection_id":150893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25e"} 
[2026-08-08 22:46:11] local.INFO: GPS Element Parsed {"raw_longitude":754502336,"raw_latitude":117980168,"longitude_deg":75.4502336,"latitude_deg":11.7980168,"altitude":9,"angle":143,"satellites":43,"speed":52,"hex_longitude":"2cf8cac0","hex_latitude":"07083c08","is_valid_coordinates":true} 
[2026-08-08 22:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269569536001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376039994675953664,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-525584120058087424,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786209263000,"timestamp_ms":1786209263000,"timestamp_seconds":1786209263,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25e5d98"} 
[2026-08-08 22:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:46: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269569536001,"66":27234,"197":206,"83":41728,"24":52,"16":376039994675953664,"44":-525584120058087424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-08-08 22:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269569536001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:46:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-08 22:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376039994675953664,"km_value":376039994675953.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-525584120058087424,"description":"Unknown IO ID 44"} 
[2026-08-08 22:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269569536001,"power":27234,"unknown_197":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-525584120058087424}} 
[2026-08-08 22:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":150893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:46:11] local.INFO: GPS data processed {"connection_id":150893,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:46:11] local.INFO: Acknowledgment sent {"connection_id":150893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:46:13] local.INFO: TCP Data received {"connection_id":150892,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:46:13] local.INFO: Processing buffer {"connection_id":150892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:46:13] local.INFO: Packet analysis {"connection_id":150892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:46:13] local.INFO: Extracted packet for processing {"connection_id":150892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:46:13] 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-08-08 22:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:46:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":150892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:46:14] local.INFO: GPS data processed {"connection_id":150892,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:46:14] local.INFO: Acknowledgment sent {"connection_id":150892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:46:35] local.INFO: TCP Data received {"connection_id":150585,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:46:35] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:46:35] local.INFO: IMEI packet received {"connection_id":150585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":150585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:46:41] local.INFO: TCP Data received {"connection_id":150585,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:46:41] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:46:41] local.INFO: IMEI packet received {"connection_id":150585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":150585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:46:42] local.INFO: TCP Data received {"connection_id":150893,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25fb940012cf9a4000706d710000d00812e..."} 
[2026-08-08 22:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25fb940012cf9a4000706d710000d00812e..."} 
[2026-08-08 22:46:42] local.INFO: Processing buffer {"connection_id":150893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25fb940012cf9a4000706d710000d00812e..."} 
[2026-08-08 22:46:42] local.INFO: Packet analysis {"connection_id":150893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:46:42] local.INFO: Extracted packet for processing {"connection_id":150893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:46:42] local.INFO: GPS Element Parsed {"raw_longitude":754557952,"raw_latitude":117888784,"longitude_deg":75.4557952,"latitude_deg":11.7888784,"altitude":13,"angle":129,"satellites":46,"speed":45,"hex_longitude":"2cf9a400","hex_latitude":"0706d710","is_valid_coordinates":true} 
[2026-08-08 22:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269592576001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376045200176316416,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-463659625205831680,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 22:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209352000,"timestamp_ms":1786209352000,"timestamp_seconds":1786209352,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25fb940"} 
[2026-08-08 22:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:46: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-08-08 22:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269592576001,"66":27463,"83":41728,"24":45,"16":376045200176316416,"44":-463659625205831680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269592576001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376045200176316416,"km_value":376045200176316.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-463659625205831680,"description":"Unknown IO ID 44"} 
[2026-08-08 22:46:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269592576001,"power":27463,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-463659625205831680}} 
[2026-08-08 22:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":150893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:46:42] local.INFO: GPS data processed {"connection_id":150893,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:46:42] local.INFO: Acknowledgment sent {"connection_id":150893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:46:42] local.INFO: TCP Data received {"connection_id":150585,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:46:42] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:46:42] local.INFO: Packet analysis {"connection_id":150585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:46:42] local.INFO: Extracted packet for processing {"connection_id":150585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:46: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-08-08 22: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":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:46: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-08-08 22:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":150585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:46:42] local.INFO: GPS data processed {"connection_id":150585,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:46:42] local.INFO: Acknowledgment sent {"connection_id":150585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:47:03] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:03] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:03] local.INFO: IMEI packet received {"connection_id":150586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":150586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:47:03] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:03] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:03] local.INFO: IMEI packet received {"connection_id":150586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":150586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:47:09] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:09] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:47:09] local.INFO: IMEI packet received {"connection_id":150586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":150586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:47:10] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25fccc8012cf9b7000706c9f0000c00762d..."} 
[2026-08-08 22:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25fccc8012cf9b7000706c9f0000c00762d..."} 
[2026-08-08 22:47:10] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25fccc8012cf9b7000706c9f0000c00762d..."} 
[2026-08-08 22:47:10] local.INFO: Packet analysis {"connection_id":150586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:47:10] local.INFO: Extracted packet for processing {"connection_id":150586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:47:10] local.INFO: GPS Element Parsed {"raw_longitude":754562816,"raw_latitude":117885424,"longitude_deg":75.4562816,"latitude_deg":11.7885424,"altitude":12,"angle":118,"satellites":45,"speed":47,"hex_longitude":"2cf9b700","hex_latitude":"0706c9f0","is_valid_coordinates":true} 
[2026-08-08 22:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269594112001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376045487939125248,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458241231905419264,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 22:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786209357000,"timestamp_ms":1786209357000,"timestamp_seconds":1786209357,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25fccc8"} 
[2026-08-08 22:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:47: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:47: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-08-08 22:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269594112001,"66":27463,"83":41728,"24":47,"16":376045487939125248,"44":-458241231905419264},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-08 22:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269594112001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:47:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376045487939125248,"km_value":376045487939125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458241231905419264,"description":"Unknown IO ID 44"} 
[2026-08-08 22:47:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269594112001,"power":27463,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-458241231905419264}} 
[2026-08-08 22:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":150586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:47:10] local.INFO: GPS data processed {"connection_id":150586,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:47:10] local.INFO: Acknowledgment sent {"connection_id":150586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:47:13] local.INFO: TCP Data received {"connection_id":150585,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:13] local.INFO: Processing buffer {"connection_id":150585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:13] local.INFO: Packet analysis {"connection_id":150585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:47:13] local.INFO: Extracted packet for processing {"connection_id":150585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:47:13] 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-08-08 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:47:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":150585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:47:13] local.INFO: GPS data processed {"connection_id":150585,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:47:13] local.INFO: Acknowledgment sent {"connection_id":150585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:47:41] local.INFO: TCP Data received {"connection_id":150586,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25fe438012cf9d2c00706bed8000b006a2e..."} 
[2026-08-08 22:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25fe438012cf9d2c00706bed8000b006a2e..."} 
[2026-08-08 22:47:41] local.INFO: Processing buffer {"connection_id":150586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25fe438012cf9d2c00706bed8000b006a2e..."} 
[2026-08-08 22:47:41] local.INFO: Packet analysis {"connection_id":150586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:47:41] local.INFO: Extracted packet for processing {"connection_id":150586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:47:41] local.INFO: GPS Element Parsed {"raw_longitude":754569920,"raw_latitude":117882584,"longitude_deg":75.456992,"latitude_deg":11.7882584,"altitude":11,"angle":106,"satellites":46,"speed":52,"hex_longitude":"2cf9d2c0","hex_latitude":"0706bed8","is_valid_coordinates":true} 
[2026-08-08 22:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269595392001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376045848716378112,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-452893207348776960,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 22:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209363000,"timestamp_ms":1786209363000,"timestamp_seconds":1786209363,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25fe438"} 
[2026-08-08 22:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:47: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:47: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-08-08 22:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269595392001,"66":27463,"83":41728,"24":52,"16":376045848716378112,"44":-452893207348776960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-08 22:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269595392001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376045848716378112,"km_value":376045848716378.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-452893207348776960,"description":"Unknown IO ID 44"} 
[2026-08-08 22:47:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269595392001,"power":27463,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-452893207348776960}} 
[2026-08-08 22:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":150586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:47:41] local.INFO: GPS data processed {"connection_id":150586,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:47:41] local.INFO: Acknowledgment sent {"connection_id":150586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:47:41] local.INFO: TCP Data received {"connection_id":151784,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:47:41] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:47:41] local.INFO: IMEI packet received {"connection_id":151784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":151784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:47:45] local.INFO: TCP Data received {"connection_id":151784,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:47:45] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:47:45] local.INFO: IMEI packet received {"connection_id":151784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":151784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:47:47] local.INFO: TCP Data received {"connection_id":151784,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:47] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:47] local.INFO: Packet analysis {"connection_id":151784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:47:47] local.INFO: Extracted packet for processing {"connection_id":151784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:47:47] 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-08-08 22:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:47:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:47:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":151784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:47:47] local.INFO: GPS data processed {"connection_id":151784,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:47:47] local.INFO: Acknowledgment sent {"connection_id":151784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:47:51] local.INFO: TCP Data received {"connection_id":151784,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:51] local.INFO: Processing buffer {"connection_id":151784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25cdec8012d196a80071fef680047011721..."} 
[2026-08-08 22:47:51] local.INFO: Packet analysis {"connection_id":151784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:47:51] local.INFO: Extracted packet for processing {"connection_id":151784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25c"} 
[2026-08-08 22:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269469184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786209165000,"timestamp_ms":1786209165000,"timestamp_seconds":1786209165,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25cdec8"} 
[2026-08-08 22:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:47:51] 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-08-08 22:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269469184001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269469184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:47:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269469184001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":151784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:47:51] local.INFO: GPS data processed {"connection_id":151784,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:47:51] local.INFO: Acknowledgment sent {"connection_id":151784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:48:03] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:03] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:03] local.INFO: IMEI packet received {"connection_id":153263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":153263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:48:08] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:08] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:08] local.INFO: IMEI packet received {"connection_id":153263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":153263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:48:09] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:09] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:48:09] local.INFO: IMEI packet received {"connection_id":153263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":153263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:48:09] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe25fff90012cf9f7400706b790000800622e..."} 
[2026-08-08 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe25fff90012cf9f7400706b790000800622e..."} 
[2026-08-08 22:48:09] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe25fff90012cf9f7400706b790000800622e..."} 
[2026-08-08 22:48:09] local.INFO: Packet analysis {"connection_id":153263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:48:09] local.INFO: Extracted packet for processing {"connection_id":153263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe25f"} 
[2026-08-08 22:48:09] local.INFO: GPS Element Parsed {"raw_longitude":754579264,"raw_latitude":117880720,"longitude_deg":75.4579264,"latitude_deg":11.788072,"altitude":8,"angle":98,"satellites":46,"speed":53,"hex_longitude":"2cf9f740","hex_latitude":"0706b790","is_valid_coordinates":true} 
[2026-08-08 22:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269596928001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376046299687944192,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-445082276745783296,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 22:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786209370000,"timestamp_ms":1786209370000,"timestamp_seconds":1786209370,"priority":1,"record_length":96,"hex_timestamp":"0000019fe25fff90"} 
[2026-08-08 22:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269596928001,"66":27365,"83":41728,"24":53,"16":376046299687944192,"44":-445082276745783296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-08 22:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269596928001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376046299687944192,"km_value":376046299687944.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-445082276745783296,"description":"Unknown IO ID 44"} 
[2026-08-08 22:48:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269596928001,"power":27365,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-445082276745783296}} 
[2026-08-08 22:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":153263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:48:10] local.INFO: GPS data processed {"connection_id":153263,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:48:10] local.INFO: Acknowledgment sent {"connection_id":153263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:48:14] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2601ae8012cfa1b800706b2a0000700622e..."} 
[2026-08-08 22:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2601ae8012cfa1b800706b2a0000700622e..."} 
[2026-08-08 22:48:14] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2601ae8012cfa1b800706b2a0000700622e..."} 
[2026-08-08 22:48:14] local.INFO: Packet analysis {"connection_id":153263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe260"} 
[2026-08-08 22:48:14] local.INFO: Extracted packet for processing {"connection_id":153263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe260"} 
[2026-08-08 22:48:14] local.INFO: GPS Element Parsed {"raw_longitude":754588544,"raw_latitude":117879456,"longitude_deg":75.4588544,"latitude_deg":11.7879456,"altitude":7,"angle":98,"satellites":46,"speed":51,"hex_longitude":"2cfa1b80","hex_latitude":"0706b2a0","is_valid_coordinates":true} 
[2026-08-08 22:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269598720001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376046746364542976,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-434808440096321536,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 22:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209377000,"timestamp_ms":1786209377000,"timestamp_seconds":1786209377,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2601ae8"} 
[2026-08-08 22:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:48: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-08-08 22:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269598720001,"66":27463,"83":41728,"24":51,"16":376046746364542976,"44":-434808440096321536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-08 22:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269598720001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-08 22:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376046746364542976,"km_value":376046746364543.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:48:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-434808440096321536,"description":"Unknown IO ID 44"} 
[2026-08-08 22:48:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269598720001,"power":27463,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-434808440096321536}} 
[2026-08-08 22:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":153263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:48:14] local.INFO: GPS data processed {"connection_id":153263,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:48:14] local.INFO: Acknowledgment sent {"connection_id":153263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:48:36] local.INFO: TCP Data received {"connection_id":151785,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:48:36] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:48:36] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:48:41] local.INFO: TCP Data received {"connection_id":151785,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:48:41] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:48:41] local.INFO: IMEI packet received {"connection_id":151785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":151785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:48:42] local.INFO: TCP Data received {"connection_id":151785,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:48:42] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:48:42] local.INFO: Packet analysis {"connection_id":151785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:48:42] local.INFO: Extracted packet for processing {"connection_id":151785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48: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-08-08 22:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:48:42] 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-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:48: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-08-08 22:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:48:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":151785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:48:43] local.INFO: GPS data processed {"connection_id":151785,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:48:43] local.INFO: Acknowledgment sent {"connection_id":151785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:48:46] local.INFO: TCP Data received {"connection_id":153263,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2618a18012cfbd9c007068658000b00602f..."} 
[2026-08-08 22:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2618a18012cfbd9c007068658000b00602f..."} 
[2026-08-08 22:48:46] local.INFO: Processing buffer {"connection_id":153263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2618a18012cfbd9c007068658000b00602f..."} 
[2026-08-08 22:48:46] local.INFO: Packet analysis {"connection_id":153263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:48:46] local.INFO: Extracted packet for processing {"connection_id":153263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:48:46] local.INFO: GPS Element Parsed {"raw_longitude":754702784,"raw_latitude":117868120,"longitude_deg":75.4702784,"latitude_deg":11.786812,"altitude":11,"angle":96,"satellites":47,"speed":53,"hex_longitude":"2cfbd9c0","hex_latitude":"07068658","is_valid_coordinates":true} 
[2026-08-08 22:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269622784001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376052196678041600,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-308989125509675008,"note":"Value kept but may cause issues"} 
[2026-08-08 22:48:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,94,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-08 22:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786209471000,"timestamp_ms":1786209471000,"timestamp_seconds":1786209471,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2618a18"} 
[2026-08-08 22:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":153263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":153263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269622784001,"66":27365,"24":53,"94":10240,"16":376052196678041600,"44":-308989125509675008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,94,16,44]} 
[2026-08-08 22:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269622784001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:48:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376052196678041600,"km_value":376052196678041.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-308989125509675008,"description":"Unknown IO ID 44"} 
[2026-08-08 22:48:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457269622784001,"power":27365,"ignition":53,"unknown_94":10240,"odometer":null,"unknown_44":-308989125509675008}} 
[2026-08-08 22:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":153263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:48:46] local.INFO: GPS data processed {"connection_id":153263,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:48:46] local.INFO: Acknowledgment sent {"connection_id":153263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:49:06] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:06] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:06] local.INFO: IMEI packet received {"connection_id":153264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":153264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:49:09] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:09] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:09] local.INFO: IMEI packet received {"connection_id":153264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":153264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:49:14] local.INFO: TCP Data received {"connection_id":151785,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:49:14] local.INFO: Processing buffer {"connection_id":151785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:49:14] local.INFO: Packet analysis {"connection_id":151785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:14] local.INFO: Extracted packet for processing {"connection_id":151785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:49: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-08-08 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:49:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":151785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:49:14] local.INFO: GPS data processed {"connection_id":151785,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:49:14] local.INFO: Acknowledgment sent {"connection_id":151785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:49:14] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:14] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:49:14] local.INFO: IMEI packet received {"connection_id":153264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":153264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:49:15] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe261a570012cfbffc0070682e00009005f2f..."} 
[2026-08-08 22:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe261a570012cfbffc0070682e00009005f2f..."} 
[2026-08-08 22:49:15] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe261a570012cfbffc0070682e00009005f2f..."} 
[2026-08-08 22:49:15] local.INFO: Packet analysis {"connection_id":153264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:15] local.INFO: Extracted packet for processing {"connection_id":153264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:15] local.INFO: GPS Element Parsed {"raw_longitude":754712512,"raw_latitude":117867232,"longitude_deg":75.4712512,"latitude_deg":11.7867232,"altitude":9,"angle":95,"satellites":47,"speed":55,"hex_longitude":"2cfbffc0","hex_latitude":"070682e0","is_valid_coordinates":true} 
[2026-08-08 22:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269624576001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376052660534509568,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-298996763836655616,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786209478000,"timestamp_ms":1786209478000,"timestamp_seconds":1786209478,"priority":1,"record_length":96,"hex_timestamp":"0000019fe261a570"} 
[2026-08-08 22:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:49: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-08-08 22:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":153264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269624576001,"66":27484,"213":206,"94":10240,"24":55,"16":376052660534509568,"44":-298996763836655616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-08 22:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269624576001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:49:15] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-08 22:49:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376052660534509568,"km_value":376052660534509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:49:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-298996763836655616,"description":"Unknown IO ID 44"} 
[2026-08-08 22:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269624576001,"power":27484,"unknown_213":206,"unknown_94":10240,"ignition":55,"odometer":null,"unknown_44":-298996763836655616}} 
[2026-08-08 22:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":153264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:49:15] local.INFO: GPS data processed {"connection_id":153264,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:49:15] local.INFO: Acknowledgment sent {"connection_id":153264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:49:16] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe261c0c8012cfc264007067f30000800602e..."} 
[2026-08-08 22:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe261c0c8012cfc264007067f30000800602e..."} 
[2026-08-08 22:49:16] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe261c0c8012cfc264007067f30000800602e..."} 
[2026-08-08 22:49:16] local.INFO: Packet analysis {"connection_id":153264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:16] local.INFO: Extracted packet for processing {"connection_id":153264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:16] local.INFO: GPS Element Parsed {"raw_longitude":754722368,"raw_latitude":117866288,"longitude_deg":75.4722368,"latitude_deg":11.7866288,"altitude":8,"angle":96,"satellites":46,"speed":54,"hex_longitude":"2cfc2640","hex_latitude":"07067f30","is_valid_coordinates":true} 
[2026-08-08 22:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269626368001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376053128685944832,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-288300714721878016,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786209485000,"timestamp_ms":1786209485000,"timestamp_seconds":1786209485,"priority":1,"record_length":96,"hex_timestamp":"0000019fe261c0c8"} 
[2026-08-08 22:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 22:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269626368001,"66":27343,"213":206,"94":10240,"24":54,"16":376053128685944832,"44":-288300714721878016},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-08 22:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269626368001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:49:16] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-08 22:49:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376053128685944832,"km_value":376053128685944.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-288300714721878016,"description":"Unknown IO ID 44"} 
[2026-08-08 22:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269626368001,"power":27343,"unknown_213":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-288300714721878016}} 
[2026-08-08 22:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":153264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:49:16] local.INFO: GPS data processed {"connection_id":153264,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:49:16] local.INFO: Acknowledgment sent {"connection_id":153264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:49:35] local.INFO: TCP Data received {"connection_id":150894,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:49:35] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:49:35] local.INFO: IMEI packet received {"connection_id":150894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":150894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:49:40] local.INFO: TCP Data received {"connection_id":150894,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:49:40] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:49:40] local.INFO: IMEI packet received {"connection_id":150894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":150894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:49:41] local.INFO: TCP Data received {"connection_id":150894,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:49:41] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:49:41] local.INFO: Packet analysis {"connection_id":150894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:41] local.INFO: Extracted packet for processing {"connection_id":150894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:41] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49: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-08-08 22:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:49:41] 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-08-08 22:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:49: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-08-08 22:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:49:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":150894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:49:42] local.INFO: GPS data processed {"connection_id":150894,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:49:42] local.INFO: Acknowledgment sent {"connection_id":150894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:49:47] local.INFO: TCP Data received {"connection_id":153264,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe261dc20012cfc49c007067950000a00652d..."} 
[2026-08-08 22:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe261dc20012cfc49c007067950000a00652d..."} 
[2026-08-08 22:49:47] local.INFO: Processing buffer {"connection_id":153264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe261dc20012cfc49c007067950000a00652d..."} 
[2026-08-08 22:49:47] local.INFO: Packet analysis {"connection_id":153264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:47] local.INFO: Extracted packet for processing {"connection_id":153264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:49:47] local.INFO: GPS Element Parsed {"raw_longitude":754731456,"raw_latitude":117864784,"longitude_deg":75.4731456,"latitude_deg":11.7864784,"altitude":10,"angle":101,"satellites":45,"speed":49,"hex_longitude":"2cfc49c0","hex_latitude":"07067950","is_valid_coordinates":true} 
[2026-08-08 22:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269628160001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376053566772609024,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-277463928118759424,"note":"Value kept but may cause issues"} 
[2026-08-08 22:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786209492000,"timestamp_ms":1786209492000,"timestamp_seconds":1786209492,"priority":1,"record_length":96,"hex_timestamp":"0000019fe261dc20"} 
[2026-08-08 22:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":207,"data_length":795,"current_offset":136} 
[2026-08-08 22:49: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-08-08 22:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269628160001,"66":27463,"213":206,"94":10240,"24":49,"16":376053566772609024,"44":-277463928118759424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-08 22:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269628160001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:49:47] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-08 22:49:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376053566772609024,"km_value":376053566772609.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-277463928118759424,"description":"Unknown IO ID 44"} 
[2026-08-08 22:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269628160001,"power":27463,"unknown_213":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_44":-277463928118759424}} 
[2026-08-08 22:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":153264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:49:47] local.INFO: GPS data processed {"connection_id":153264,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:49:47] local.INFO: Acknowledgment sent {"connection_id":153264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:50:04] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:50:04] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:50:04] local.INFO: IMEI packet received {"connection_id":150895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":150895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:50:06] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:50:06] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:50:06] local.INFO: IMEI packet received {"connection_id":150895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":150895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:50:08] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe261fb60012cfc6dc007066fb0000c006c2e..."} 
[2026-08-08 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe261fb60012cfc6dc007066fb0000c006c2e..."} 
[2026-08-08 22:50:08] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe261fb60012cfc6dc007066fb0000c006c2e..."} 
[2026-08-08 22:50:08] local.INFO: Packet analysis {"connection_id":150895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:50:08] local.INFO: Extracted packet for processing {"connection_id":150895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:50:08] local.INFO: GPS Element Parsed {"raw_longitude":754740672,"raw_latitude":117862320,"longitude_deg":75.4740672,"latitude_deg":11.786232,"altitude":12,"angle":108,"satellites":46,"speed":45,"hex_longitude":"2cfc6dc0","hex_latitude":"07066fb0","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269629952001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376054022039142400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-267471566445916160,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1786209500000,"timestamp_ms":1786209500000,"timestamp_seconds":1786209500,"priority":1,"record_length":96,"hex_timestamp":"0000019fe261fb60"} 
[2026-08-08 22:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:50: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22: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-08-08 22:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":150895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269629952001,"66":27332,"213":206,"94":10240,"24":45,"16":376054022039142400,"44":-267471566445916160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-08 22:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269629952001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:50:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-08 22:50:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376054022039142400,"km_value":376054022039142.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-267471566445916160,"description":"Unknown IO ID 44"} 
[2026-08-08 22:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269629952001,"power":27332,"unknown_213":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-267471566445916160}} 
[2026-08-08 22:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":150895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:50:08] local.INFO: GPS data processed {"connection_id":150895,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:50:08] local.INFO: Acknowledgment sent {"connection_id":150895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:50:10] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2621aa0012cfc8f80070662d8000d00722f..."} 
[2026-08-08 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2621aa0012cfc8f80070662d8000d00722f..."} 
[2026-08-08 22:50:10] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2621aa0012cfc8f80070662d8000d00722f..."} 
[2026-08-08 22:50:10] local.INFO: Packet analysis {"connection_id":150895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe262"} 
[2026-08-08 22:50:10] local.INFO: Extracted packet for processing {"connection_id":150895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe262"} 
[2026-08-08 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":754749312,"raw_latitude":117859032,"longitude_deg":75.4749312,"latitude_deg":11.7859032,"altitude":13,"angle":114,"satellites":47,"speed":45,"hex_longitude":"2cfc8f80","hex_latitude":"070662d8","is_valid_coordinates":true} 
[2026-08-08 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269632000001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376054460125806592,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-257338467284963328,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786209508000,"timestamp_ms":1786209508000,"timestamp_seconds":1786209508,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2621aa0"} 
[2026-08-08 22:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:50: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-08-08 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 22: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-08-08 22:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:50: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-08-08 22:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269632000001,"66":27343,"213":206,"94":10240,"24":45,"16":376054460125806592,"44":-257338467284963328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-08 22:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269632000001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376054460125806592,"km_value":376054460125806.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-257338467284963328,"description":"Unknown IO ID 44"} 
[2026-08-08 22:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269632000001,"power":27343,"unknown_213":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-257338467284963328}} 
[2026-08-08 22:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":150895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:50:10] local.INFO: GPS data processed {"connection_id":150895,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:50:10] local.INFO: Acknowledgment sent {"connection_id":150895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:50:13] local.INFO: TCP Data received {"connection_id":150894,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:50:13] local.INFO: Processing buffer {"connection_id":150894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:50:13] local.INFO: Packet analysis {"connection_id":150894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:50:13] local.INFO: Extracted packet for processing {"connection_id":150894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:50:13] 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-08-08 22:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:50:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:50:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":150894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:50:13] local.INFO: GPS data processed {"connection_id":150894,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:50:13] local.INFO: Acknowledgment sent {"connection_id":150894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:50:35] local.INFO: TCP Data received {"connection_id":151786,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:50:35] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:50:35] local.INFO: IMEI packet received {"connection_id":151786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":151786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:50:41] local.INFO: TCP Data received {"connection_id":151786,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:50:41] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:50:41] local.INFO: IMEI packet received {"connection_id":151786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":151786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:50:41] local.INFO: TCP Data received {"connection_id":150895,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26239e0012cfcb180070651e0000c007730..."} 
[2026-08-08 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26239e0012cfcb180070651e0000c007730..."} 
[2026-08-08 22:50:41] local.INFO: Processing buffer {"connection_id":150895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26239e0012cfcb180070651e0000c007730..."} 
[2026-08-08 22:50:41] local.INFO: Packet analysis {"connection_id":150895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe262"} 
[2026-08-08 22:50:41] local.INFO: Extracted packet for processing {"connection_id":150895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe262"} 
[2026-08-08 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":754758016,"raw_latitude":117854688,"longitude_deg":75.4758016,"latitude_deg":11.7854688,"altitude":12,"angle":119,"satellites":48,"speed":49,"hex_longitude":"2cfcb180","hex_latitude":"070651e0","is_valid_coordinates":true} 
[2026-08-08 22:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269634048001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376054923982274560,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-247838686821820416,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209516000,"timestamp_ms":1786209516000,"timestamp_seconds":1786209516,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26239e0"} 
[2026-08-08 22:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:50: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-08-08 22:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 22:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:50: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-08-08 22:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269634048001,"66":27376,"213":206,"94":10240,"24":49,"16":376054923982274560,"44":-247838686821820416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-08 22:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269634048001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:50:41] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-08 22:50:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376054923982274560,"km_value":376054923982274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-247838686821820416,"description":"Unknown IO ID 44"} 
[2026-08-08 22:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269634048001,"power":27376,"unknown_213":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_44":-247838686821820416}} 
[2026-08-08 22:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":150895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:50:41] local.INFO: GPS data processed {"connection_id":150895,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:50:41] local.INFO: Acknowledgment sent {"connection_id":150895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:50:42] local.INFO: TCP Data received {"connection_id":151786,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:50:42] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:50:42] local.INFO: Packet analysis {"connection_id":151786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:50:42] local.INFO: Extracted packet for processing {"connection_id":151786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:50:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:50: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-08-08 22:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:50:42] 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-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:50: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-08-08 22: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-08-08 22:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:50:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":151786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:50:43] local.INFO: GPS data processed {"connection_id":151786,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:50:43] local.INFO: Acknowledgment sent {"connection_id":151786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:51:04] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:51:04] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:51:04] local.INFO: IMEI packet received {"connection_id":150896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":150896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:51:06] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:51:06] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:51:06] local.INFO: IMEI packet received {"connection_id":150896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":150896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:51:07] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2638200012cfdef80070545f0000f008331..."} 
[2026-08-08 22:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2638200012cfdef80070545f0000f008331..."} 
[2026-08-08 22:51:07] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2638200012cfdef80070545f0000f008331..."} 
[2026-08-08 22:51:07] local.INFO: Packet analysis {"connection_id":150896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:51:07] local.INFO: Extracted packet for processing {"connection_id":150896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:51:07] local.INFO: GPS Element Parsed {"raw_longitude":754839424,"raw_latitude":117786096,"longitude_deg":75.4839424,"latitude_deg":11.7786096,"altitude":15,"angle":131,"satellites":49,"speed":50,"hex_longitude":"2cfdef80","hex_latitude":"070545f0","is_valid_coordinates":true} 
[2026-08-08 22:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269655552001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376060026403422208,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-157203744337950720,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1786209600000,"timestamp_ms":1786209600000,"timestamp_seconds":1786209600,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2638200"} 
[2026-08-08 22:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":150896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269655552001,"66":27484,"3":206,"94":10240,"24":50,"16":376060026403422208,"44":-157203744337950720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,44]} 
[2026-08-08 22:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269655552001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:51:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-08 22:51:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376060026403422208,"km_value":376060026403422.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-157203744337950720,"description":"Unknown IO ID 44"} 
[2026-08-08 22:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269655552001,"power":27484,"unknown_3":206,"unknown_94":10240,"ignition":50,"odometer":null,"unknown_44":-157203744337950720}} 
[2026-08-08 22:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":150896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:51:07] local.INFO: GPS data processed {"connection_id":150896,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:51:07] local.INFO: Acknowledgment sent {"connection_id":150896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:51:14] local.INFO: TCP Data received {"connection_id":151786,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:51:14] local.INFO: Processing buffer {"connection_id":151786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:51:14] local.INFO: Packet analysis {"connection_id":151786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:51:14] local.INFO: Extracted packet for processing {"connection_id":151786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:51: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-08-08 22:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:51:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":151786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:51:14] local.INFO: GPS data processed {"connection_id":151786,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:51:14] local.INFO: Acknowledgment sent {"connection_id":151786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:51:35] local.INFO: TCP Data received {"connection_id":150897,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:51:35] local.INFO: Processing buffer {"connection_id":150897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:51:35] local.INFO: IMEI packet received {"connection_id":150897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":150897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:51:38] local.INFO: TCP Data received {"connection_id":150896,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2639d58012cfe0a8007052e68000f008431..."} 
[2026-08-08 22:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2639d58012cfe0a8007052e68000f008431..."} 
[2026-08-08 22:51:38] local.INFO: Processing buffer {"connection_id":150896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2639d58012cfe0a8007052e68000f008431..."} 
[2026-08-08 22:51:38] local.INFO: Packet analysis {"connection_id":150896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:51:38] local.INFO: Extracted packet for processing {"connection_id":150896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:51:38] local.INFO: GPS Element Parsed {"raw_longitude":754846336,"raw_latitude":117780072,"longitude_deg":75.4846336,"latitude_deg":11.7780072,"altitude":15,"angle":132,"satellites":49,"speed":52,"hex_longitude":"2cfe0a80","hex_latitude":"07052e68","is_valid_coordinates":true} 
[2026-08-08 22:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269657600001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376060464490086400,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-148759495038341120,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786209607000,"timestamp_ms":1786209607000,"timestamp_seconds":1786209607,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2639d58"} 
[2026-08-08 22:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 22:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":150896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":150896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269657600001,"66":27332,"3":206,"94":10240,"24":52,"16":376060464490086400,"44":-148759495038341120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,44]} 
[2026-08-08 22:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269657600001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:51:38] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-08 22:51:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376060464490086400,"km_value":376060464490086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:51:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-148759495038341120,"description":"Unknown IO ID 44"} 
[2026-08-08 22:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269657600001,"power":27332,"unknown_3":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-148759495038341120}} 
[2026-08-08 22:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":150896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:51:38] local.INFO: GPS data processed {"connection_id":150896,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:51:38] local.INFO: Acknowledgment sent {"connection_id":150896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:51:40] local.INFO: TCP Data received {"connection_id":150897,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:51:40] local.INFO: Processing buffer {"connection_id":150897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:51:40] local.INFO: IMEI packet received {"connection_id":150897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":150897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:51:41] local.INFO: TCP Data received {"connection_id":150897,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:51:41] local.INFO: Processing buffer {"connection_id":150897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:51:41] local.INFO: Packet analysis {"connection_id":150897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:51:41] local.INFO: Extracted packet for processing {"connection_id":150897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 22:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:51: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-08-08 22:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 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-08-08 22:51:41] 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-08-08 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:51: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-08-08 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-08-08 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-08-08 22:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:51:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:51:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":150897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:51:41] local.INFO: GPS data processed {"connection_id":150897,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:51:41] local.INFO: Acknowledgment sent {"connection_id":150897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:52:01] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:01] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:01] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:52:04] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:04] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:04] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:52:09] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:09] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:52:09] local.INFO: IMEI packet received {"connection_id":151787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":151787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:52:12] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe263b8b0012cfe2680070515b8000d008330..."} 
[2026-08-08 22:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe263b8b0012cfe2680070515b8000d008330..."} 
[2026-08-08 22:52:12] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe263b8b0012cfe2680070515b8000d008330..."} 
[2026-08-08 22:52:12] local.INFO: Packet analysis {"connection_id":151787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:52:12] local.INFO: Extracted packet for processing {"connection_id":151787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:52:12] local.INFO: GPS Element Parsed {"raw_longitude":754853504,"raw_latitude":117773752,"longitude_deg":75.4853504,"latitude_deg":11.7773752,"altitude":13,"angle":131,"satellites":48,"speed":54,"hex_longitude":"2cfe2680","hex_latitude":"070515b8","is_valid_coordinates":true} 
[2026-08-08 22:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269659392001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376060924051587072,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-141159670668695552,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786209614000,"timestamp_ms":1786209614000,"timestamp_seconds":1786209614,"priority":1,"record_length":96,"hex_timestamp":"0000019fe263b8b0"} 
[2026-08-08 22:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 22:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":151787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":151787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":151787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269659392001,"66":27397,"3":206,"94":10240,"24":54,"16":376060924051587072,"44":-141159670668695552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,94,24,16,44]} 
[2026-08-08 22:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269659392001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:52:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-08 22:52:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376060924051587072,"km_value":376060924051587.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-141159670668695552,"description":"Unknown IO ID 44"} 
[2026-08-08 22:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269659392001,"power":27397,"unknown_3":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-141159670668695552}} 
[2026-08-08 22:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":151787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:52:12] local.INFO: GPS data processed {"connection_id":151787,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:52:12] local.INFO: Acknowledgment sent {"connection_id":151787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:52:13] local.INFO: TCP Data received {"connection_id":150897,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:13] local.INFO: Processing buffer {"connection_id":150897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:13] local.INFO: Packet analysis {"connection_id":150897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:52:13] local.INFO: Extracted packet for processing {"connection_id":150897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:52:13] 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-08-08 22:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:52:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:52:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":150897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:52:13] local.INFO: GPS data processed {"connection_id":150897,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:52:13] local.INFO: Acknowledgment sent {"connection_id":150897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:52:41] local.INFO: TCP Data received {"connection_id":153265,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:52:41] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:52:41] local.INFO: IMEI packet received {"connection_id":153265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":153265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:52:46] local.INFO: TCP Data received {"connection_id":153265,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:52:46] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:52:46] local.INFO: IMEI packet received {"connection_id":153265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":153265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:52:47] local.INFO: TCP Data received {"connection_id":153265,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:47] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:47] local.INFO: Packet analysis {"connection_id":153265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:52:47] local.INFO: Extracted packet for processing {"connection_id":153265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:52:47] 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-08-08 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:52: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-08-08 22:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":153265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:52:47] local.INFO: GPS data processed {"connection_id":153265,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:52:47] local.INFO: Acknowledgment sent {"connection_id":153265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:52:51] local.INFO: TCP Data received {"connection_id":153265,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:51] local.INFO: Processing buffer {"connection_id":153265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2617690012d196a80071fef680047011725..."} 
[2026-08-08 22:52:51] local.INFO: Packet analysis {"connection_id":153265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:52:51] local.INFO: Extracted packet for processing {"connection_id":153265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe261"} 
[2026-08-08 22:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269546240001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786209466000,"timestamp_ms":1786209466000,"timestamp_seconds":1786209466,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2617690"} 
[2026-08-08 22:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:52:51] 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-08-08 22:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":153265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":153265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":153265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269546240001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269546240001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:52:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:52:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269546240001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":153265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:52:52] local.INFO: GPS data processed {"connection_id":153265,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:52:52] local.INFO: Acknowledgment sent {"connection_id":153265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:53:04] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:53:04] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:53:04] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:53:08] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:53:08] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:53:08] local.INFO: IMEI packet received {"connection_id":151788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":151788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:53:09] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26581b8012cff910007042b80000d006e30..."} 
[2026-08-08 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26581b8012cff910007042b80000d006e30..."} 
[2026-08-08 22:53:09] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26581b8012cff910007042b80000d006e30..."} 
[2026-08-08 22:53:09] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe265"} 
[2026-08-08 22:53:09] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe265"} 
[2026-08-08 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":754946304,"raw_latitude":117713792,"longitude_deg":75.4946304,"latitude_deg":11.7713792,"altitude":13,"angle":110,"satellites":48,"speed":32,"hex_longitude":"2cff9100","hex_latitude":"07042b80","is_valid_coordinates":true} 
[2026-08-08 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269686272001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376066254106001408,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-40743472743309312,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786209731000,"timestamp_ms":1786209731000,"timestamp_seconds":1786209731,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26581b8"} 
[2026-08-08 22:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:53: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-08-08 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 22:53: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-08-08 22:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269686272001,"66":27376,"91":206,"94":10240,"24":32,"16":376066254106001408,"44":-40743472743309312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-08-08 22:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269686272001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:53:09] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-08 22:53:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376066254106001408,"km_value":376066254106001.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-40743472743309312,"description":"Unknown IO ID 44"} 
[2026-08-08 22:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269686272001,"power":27376,"unknown_91":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_44":-40743472743309312}} 
[2026-08-08 22:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:53:09] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:53:09] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:53:36] local.INFO: TCP Data received {"connection_id":153266,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:53:36] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:53:36] local.INFO: IMEI packet received {"connection_id":153266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":153266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:53:38] local.INFO: TCP Data received {"connection_id":151787,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe263d408012cfe43800704fd50000d00812f..."} 
[2026-08-08 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe263d408012cfe43800704fd50000d00812f..."} 
[2026-08-08 22:53:38] local.INFO: Processing buffer {"connection_id":151787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe263d408012cfe43800704fd50000d00812f..."} 
[2026-08-08 22:53:38] local.INFO: Packet analysis {"connection_id":151787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:53:38] local.INFO: Extracted packet for processing {"connection_id":151787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe263"} 
[2026-08-08 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":754860928,"raw_latitude":117767504,"longitude_deg":75.4860928,"latitude_deg":11.7767504,"altitude":13,"angle":129,"satellites":47,"speed":52,"hex_longitude":"2cfe4380","hex_latitude":"0704fd50","is_valid_coordinates":true} 
[2026-08-08 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269661184001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376061387908055040,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-133278371322415104,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1786209621000,"timestamp_ms":1786209621000,"timestamp_seconds":1786209621,"priority":1,"record_length":96,"hex_timestamp":"0000019fe263d408"} 
[2026-08-08 22:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 22:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":151787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":151787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":151787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269661184001,"66":27463,"212":206,"94":10240,"24":52,"16":376061387908055040,"44":-133278371322415104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-08-08 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269661184001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376061387908055040,"km_value":376061387908055.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-133278371322415104,"description":"Unknown IO ID 44"} 
[2026-08-08 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269661184001,"power":27463,"unknown_212":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-133278371322415104}} 
[2026-08-08 22:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":151787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:53:38] local.INFO: GPS data processed {"connection_id":151787,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:53:38] local.INFO: Acknowledgment sent {"connection_id":151787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:53:41] local.INFO: TCP Data received {"connection_id":153266,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:53:41] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:53:41] local.INFO: IMEI packet received {"connection_id":153266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":153266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:53:42] local.INFO: TCP Data received {"connection_id":153266,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:53:42] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:53:42] local.INFO: Packet analysis {"connection_id":153266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:53:42] local.INFO: Extracted packet for processing {"connection_id":153266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:53: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-08-08 22:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:53:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":153266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:53:42] local.INFO: GPS data processed {"connection_id":153266,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:53:42] local.INFO: Acknowledgment sent {"connection_id":153266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:53:53] local.INFO: TCP Data received {"connection_id":151788,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe265a8c8012cffb40007041e70000b006e30..."} 
[2026-08-08 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe265a8c8012cffb40007041e70000b006e30..."} 
[2026-08-08 22:53:53] local.INFO: Processing buffer {"connection_id":151788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe265a8c8012cffb40007041e70000b006e30..."} 
[2026-08-08 22:53:53] local.INFO: Packet analysis {"connection_id":151788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe265"} 
[2026-08-08 22:53:53] local.INFO: Extracted packet for processing {"connection_id":151788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe265"} 
[2026-08-08 22:53:53] local.INFO: GPS Element Parsed {"raw_longitude":754955264,"raw_latitude":117710448,"longitude_deg":75.4955264,"latitude_deg":11.7710448,"altitude":11,"angle":110,"satellites":48,"speed":42,"hex_longitude":"2cffb400","hex_latitude":"07041e70","is_valid_coordinates":true} 
[2026-08-08 22:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269691136001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376066713667502080,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-31243692280152064,"note":"Value kept but may cause issues"} 
[2026-08-08 22:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1786209741000,"timestamp_ms":1786209741000,"timestamp_seconds":1786209741,"priority":1,"record_length":96,"hex_timestamp":"0000019fe265a8c8"} 
[2026-08-08 22:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":151788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":151788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269691136001,"66":27343,"89":206,"94":10240,"24":42,"16":376066713667502080,"44":-31243692280152064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-08-08 22:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269691136001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376066713667502080,"km_value":376066713667502.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-31243692280152064,"description":"Unknown IO ID 44"} 
[2026-08-08 22:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269691136001,"power":27343,"unknown_89":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_44":-31243692280152064}} 
[2026-08-08 22:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":151788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:53:53] local.INFO: GPS data processed {"connection_id":151788,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:53:53] local.INFO: Acknowledgment sent {"connection_id":151788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:54:02] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:02] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:02] local.INFO: IMEI packet received {"connection_id":153267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":153267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:54:04] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:04] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:04] local.INFO: IMEI packet received {"connection_id":153267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":153267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:54:13] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:13] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:54:13] local.INFO: IMEI packet received {"connection_id":153267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":153267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:54:14] local.INFO: TCP Data received {"connection_id":153266,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:54:14] local.INFO: Processing buffer {"connection_id":153266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:54:14] local.INFO: Packet analysis {"connection_id":153266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:54:14] local.INFO: Extracted packet for processing {"connection_id":153266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":153266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:54:14] local.INFO: GPS data processed {"connection_id":153266,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:54:14] local.INFO: Acknowledgment sent {"connection_id":153266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:54:14] local.INFO: TCP Data received {"connection_id":153267,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019fe265cbf0012cffd900070410a0000a006e2f..."} 
[2026-08-08 22:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe265cbf0012cffd900070410a0000a006e2f..."} 
[2026-08-08 22:54:14] local.INFO: Processing buffer {"connection_id":153267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe265cbf0012cffd900070410a0000a006e2f..."} 
[2026-08-08 22:54:14] local.INFO: Packet analysis {"connection_id":153267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe265"} 
[2026-08-08 22:54:14] local.INFO: Extracted packet for processing {"connection_id":153267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe265"} 
[2026-08-08 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":754964736,"raw_latitude":117706912,"longitude_deg":75.4964736,"latitude_deg":11.7706912,"altitude":10,"angle":110,"satellites":47,"speed":47,"hex_longitude":"2cffd900","hex_latitude":"070410a0","is_valid_coordinates":true} 
[2026-08-08 22:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269693696001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376067190408871936,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-21392068096135168,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209750000,"timestamp_ms":1786209750000,"timestamp_seconds":1786209750,"priority":1,"record_length":96,"hex_timestamp":"0000019fe265cbf0"} 
[2026-08-08 22:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 22:54: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-08-08 22:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269693696001,"66":27343,"89":206,"94":10240,"24":47,"16":376067190408871936,"44":-21392068096135168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-08-08 22:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269693696001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-08 22:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376067190408871936,"km_value":376067190408871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-21392068096135168,"description":"Unknown IO ID 44"} 
[2026-08-08 22:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269693696001,"power":27343,"unknown_89":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_44":-21392068096135168}} 
[2026-08-08 22:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":153267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:54:14] local.INFO: GPS data processed {"connection_id":153267,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:54:14] local.INFO: Acknowledgment sent {"connection_id":153267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:54:35] local.INFO: TCP Data received {"connection_id":150587,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:54:35] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:54:35] local.INFO: IMEI packet received {"connection_id":150587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":150587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:54:41] local.INFO: TCP Data received {"connection_id":150587,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:54:41] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:54:41] local.INFO: IMEI packet received {"connection_id":150587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":150587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:54:42] local.INFO: TCP Data received {"connection_id":150587,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:54:42] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:54:42] local.INFO: Packet analysis {"connection_id":150587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:54:42] local.INFO: Extracted packet for processing {"connection_id":150587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:54:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:54: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-08-08 22:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:54: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-08-08 22: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-08-08 22:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:54:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":150587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:54:42] local.INFO: GPS data processed {"connection_id":150587,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:54:42] local.INFO: Acknowledgment sent {"connection_id":150587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:55:14] local.INFO: TCP Data received {"connection_id":150587,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:55:14] local.INFO: Processing buffer {"connection_id":150587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:55:14] local.INFO: Packet analysis {"connection_id":150587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:55:14] local.INFO: Extracted packet for processing {"connection_id":150587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:55:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":150587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:55:14] local.INFO: GPS data processed {"connection_id":150587,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:55:14] local.INFO: Acknowledgment sent {"connection_id":150587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:55:35] local.INFO: TCP Data received {"connection_id":150898,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:55:35] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:55:35] local.INFO: IMEI packet received {"connection_id":150898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":150898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:55:41] local.INFO: TCP Data received {"connection_id":150898,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:55:41] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:55:41] local.INFO: IMEI packet received {"connection_id":150898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":150898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:55:42] local.INFO: TCP Data received {"connection_id":150898,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:55:42] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:55:42] local.INFO: Packet analysis {"connection_id":150898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:55:42] local.INFO: Extracted packet for processing {"connection_id":150898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:55: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-08-08 22:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:55: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-08-08 22:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:55:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":150898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:55:42] local.INFO: GPS data processed {"connection_id":150898,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:55:42] local.INFO: Acknowledgment sent {"connection_id":150898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:56:15] local.INFO: TCP Data received {"connection_id":150898,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:15] local.INFO: Processing buffer {"connection_id":150898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:15] local.INFO: Packet analysis {"connection_id":150898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:56:15] local.INFO: Extracted packet for processing {"connection_id":150898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22: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-08-08 22:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:56:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":150898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:56:15] local.INFO: GPS data processed {"connection_id":150898,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:56:15] local.INFO: Acknowledgment sent {"connection_id":150898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:56:18] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:18] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:18] local.INFO: IMEI packet received {"connection_id":150899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":150899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:56:20] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:20] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:20] local.INFO: IMEI packet received {"connection_id":150899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":150899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:56:25] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:25] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:56:25] local.INFO: IMEI packet received {"connection_id":150899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":150899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:56:26] local.INFO: TCP Data received {"connection_id":150899,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2686400012d02408007024b88000b00a130..."} 
[2026-08-08 22:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2686400012d02408007024b88000b00a130..."} 
[2026-08-08 22:56:26] local.INFO: Processing buffer {"connection_id":150899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2686400012d02408007024b88000b00a130..."} 
[2026-08-08 22:56:26] local.INFO: Packet analysis {"connection_id":150899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe268"} 
[2026-08-08 22:56:26] local.INFO: Extracted packet for processing {"connection_id":150899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe268"} 
[2026-08-08 22:56:26] local.INFO: GPS Element Parsed {"raw_longitude":755122304,"raw_latitude":117590920,"longitude_deg":75.5122304,"latitude_deg":11.759092,"altitude":11,"angle":161,"satellites":48,"speed":48,"hex_longitude":"2d024080","hex_latitude":"07024b88","is_valid_coordinates":true} 
[2026-08-08 22:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269737472001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376077283582017536,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":158892654458791936,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1786209920000,"timestamp_ms":1786209920000,"timestamp_seconds":1786209920,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2686400"} 
[2026-08-08 22:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":150899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":150899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":150899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269737472001,"66":27463,"79":206,"94":11008,"24":48,"16":376077283582017536,"45":158892654458791936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-08-08 22:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269737472001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:56:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 22:56:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376077283582017536,"km_value":376077283582017.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":158892654458791936,"description":"Unknown IO ID 45"} 
[2026-08-08 22:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269737472001,"power":27463,"unknown_79":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":158892654458791936}} 
[2026-08-08 22:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":150899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:56:26] local.INFO: GPS data processed {"connection_id":150899,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:56:26] local.INFO: Acknowledgment sent {"connection_id":150899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:56:40] local.INFO: TCP Data received {"connection_id":151790,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:56:40] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:56:40] local.INFO: IMEI packet received {"connection_id":151790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":151790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:56:46] local.INFO: TCP Data received {"connection_id":151790,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:56:46] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:56:46] local.INFO: IMEI packet received {"connection_id":151790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":151790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:56:47] local.INFO: TCP Data received {"connection_id":151790,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:47] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:47] local.INFO: Packet analysis {"connection_id":151790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:56:47] local.INFO: Extracted packet for processing {"connection_id":151790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:56: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-08-08 22:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":151790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:56:47] local.INFO: GPS data processed {"connection_id":151790,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:56:47] local.INFO: Acknowledgment sent {"connection_id":151790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:56:51] local.INFO: TCP Data received {"connection_id":151790,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:51] local.INFO: Processing buffer {"connection_id":151790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:56:51] local.INFO: Packet analysis {"connection_id":151790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:56:51] local.INFO: Extracted packet for processing {"connection_id":151790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":151790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:56:52] local.INFO: GPS data processed {"connection_id":151790,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:56:52] local.INFO: Acknowledgment sent {"connection_id":151790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:57:03] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:03] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:03] local.INFO: IMEI packet received {"connection_id":153268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":153268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:57:06] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:06] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:06] local.INFO: IMEI packet received {"connection_id":153268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":153268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:57:09] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:09] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:57:09] local.INFO: IMEI packet received {"connection_id":153268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":153268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:57:10] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2688340012d024cc007022760000b00a330..."} 
[2026-08-08 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2688340012d024cc007022760000b00a330..."} 
[2026-08-08 22:57:10] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2688340012d024cc007022760000b00a330..."} 
[2026-08-08 22:57:10] local.INFO: Packet analysis {"connection_id":153268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe268"} 
[2026-08-08 22:57:10] local.INFO: Extracted packet for processing {"connection_id":153268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe268"} 
[2026-08-08 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":755125440,"raw_latitude":117581664,"longitude_deg":75.512544,"latitude_deg":11.7581664,"altitude":11,"angle":163,"satellites":48,"speed":49,"hex_longitude":"2d024cc0","hex_latitude":"07022760","is_valid_coordinates":true} 
[2026-08-08 22:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269739520001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376077756028420096,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":162270354176968704,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786209928000,"timestamp_ms":1786209928000,"timestamp_seconds":1786209928,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2688340"} 
[2026-08-08 22:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:57: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-08-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 22:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22: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-08-08 22:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269739520001,"66":27169,"79":206,"94":11008,"24":49,"16":376077756028420096,"45":162270354176968704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-08-08 22:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269739520001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:57:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 22:57:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376077756028420096,"km_value":376077756028420.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":162270354176968704,"description":"Unknown IO ID 45"} 
[2026-08-08 22:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269739520001,"power":27169,"unknown_79":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":162270354176968704}} 
[2026-08-08 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":153268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:57:10] local.INFO: GPS data processed {"connection_id":153268,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:57:10] local.INFO: Acknowledgment sent {"connection_id":153268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:57:36] local.INFO: TCP Data received {"connection_id":150900,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:57:36] local.INFO: Processing buffer {"connection_id":150900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:57:36] local.INFO: IMEI packet received {"connection_id":150900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":150900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:57:41] local.INFO: TCP Data received {"connection_id":150900,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:57:41] local.INFO: Processing buffer {"connection_id":150900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:57:41] local.INFO: IMEI packet received {"connection_id":150900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":150900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:57:41] local.INFO: TCP Data received {"connection_id":153268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe268a280012d025900070201f0000a00a230..."} 
[2026-08-08 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe268a280012d025900070201f0000a00a230..."} 
[2026-08-08 22:57:41] local.INFO: Processing buffer {"connection_id":153268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe268a280012d025900070201f0000a00a230..."} 
[2026-08-08 22:57:41] local.INFO: Packet analysis {"connection_id":153268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe268"} 
[2026-08-08 22:57:41] local.INFO: Extracted packet for processing {"connection_id":153268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe268"} 
[2026-08-08 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":755128576,"raw_latitude":117572080,"longitude_deg":75.5128576,"latitude_deg":11.757208,"altitude":10,"angle":162,"satellites":48,"speed":50,"hex_longitude":"2d025900","hex_latitude":"070201f0","is_valid_coordinates":true} 
[2026-08-08 22:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269741568001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376078245654691840,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":165718422639304704,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786209936000,"timestamp_ms":1786209936000,"timestamp_seconds":1786209936,"priority":1,"record_length":96,"hex_timestamp":"0000019fe268a280"} 
[2026-08-08 22:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:57: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-08-08 22: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-08 22:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:57: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-08-08 22:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269741568001,"66":27343,"79":206,"94":11008,"24":50,"16":376078245654691840,"45":165718422639304704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-08-08 22:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269741568001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:57:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-08 22:57:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376078245654691840,"km_value":376078245654691.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":165718422639304704,"description":"Unknown IO ID 45"} 
[2026-08-08 22:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269741568001,"power":27343,"unknown_79":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":165718422639304704}} 
[2026-08-08 22:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":153268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:57:41] local.INFO: GPS data processed {"connection_id":153268,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:57:41] local.INFO: Acknowledgment sent {"connection_id":153268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:57:42] local.INFO: TCP Data received {"connection_id":150900,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:57:42] local.INFO: Processing buffer {"connection_id":150900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:57:42] local.INFO: Packet analysis {"connection_id":150900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:57:42] local.INFO: Extracted packet for processing {"connection_id":150900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 22:57: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-08-08 22:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:57:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":150900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:57:42] local.INFO: GPS data processed {"connection_id":150900,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:57:42] local.INFO: Acknowledgment sent {"connection_id":150900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:58:04] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:04] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:04] local.INFO: IMEI packet received {"connection_id":150901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":150901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:58:09] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:09] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:09] local.INFO: IMEI packet received {"connection_id":150901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":150901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:58:12] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:12] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:58:12] local.INFO: IMEI packet received {"connection_id":150901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":150901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:58:12] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe269e2d0012d02d88007007ea8000900a32f..."} 
[2026-08-08 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe269e2d0012d02d88007007ea8000900a32f..."} 
[2026-08-08 22:58:12] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe269e2d0012d02d88007007ea8000900a32f..."} 
[2026-08-08 22:58:12] local.INFO: Packet analysis {"connection_id":150901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe269"} 
[2026-08-08 22:58:12] local.INFO: Extracted packet for processing {"connection_id":150901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe269"} 
[2026-08-08 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":755161216,"raw_latitude":117472936,"longitude_deg":75.5161216,"latitude_deg":11.7472936,"altitude":9,"angle":163,"satellites":47,"speed":48,"hex_longitude":"2d02d880","hex_latitude":"07007ea8","is_valid_coordinates":true} 
[2026-08-08 22:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269762560001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376083300831199232,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":201958325865320448,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786210018000,"timestamp_ms":1786210018000,"timestamp_seconds":1786210018,"priority":1,"record_length":96,"hex_timestamp":"0000019fe269e2d0"} 
[2026-08-08 22:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 22:58: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-08-08 22:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269762560001,"66":27376,"111":206,"94":11008,"24":48,"16":376083300831199232,"45":201958325865320448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-08-08 22:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269762560001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:58:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 22:58:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376083300831199232,"km_value":376083300831199.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":201958325865320448,"description":"Unknown IO ID 45"} 
[2026-08-08 22:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269762560001,"power":27376,"unknown_111":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":201958325865320448}} 
[2026-08-08 22:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":150901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:58:12] local.INFO: GPS data processed {"connection_id":150901,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:58:12] local.INFO: Acknowledgment sent {"connection_id":150901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:58:14] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26a0210012d02e40007005a08000b00a22f..."} 
[2026-08-08 22:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26a0210012d02e40007005a08000b00a22f..."} 
[2026-08-08 22:58:14] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26a0210012d02e40007005a08000b00a22f..."} 
[2026-08-08 22:58:14] local.INFO: Packet analysis {"connection_id":150901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:58:14] local.INFO: Extracted packet for processing {"connection_id":150901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":755164160,"raw_latitude":117463560,"longitude_deg":75.516416,"latitude_deg":11.746356,"altitude":11,"angle":162,"satellites":47,"speed":49,"hex_longitude":"2d02e400","hex_latitude":"07005a08","is_valid_coordinates":true} 
[2026-08-08 22:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269764608001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376083773277601792,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":205054550606784512,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210026000,"timestamp_ms":1786210026000,"timestamp_seconds":1786210026,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26a0210"} 
[2026-08-08 22:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 22:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269764608001,"66":27321,"111":206,"94":11008,"24":49,"16":376083773277601792,"45":205054550606784512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269764608001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376083773277601792,"km_value":376083773277601.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":205054550606784512,"description":"Unknown IO ID 45"} 
[2026-08-08 22:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269764608001,"power":27321,"unknown_111":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":205054550606784512}} 
[2026-08-08 22:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":150901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:58:14] local.INFO: GPS data processed {"connection_id":150901,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:58:14] local.INFO: Acknowledgment sent {"connection_id":150901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:58:14] local.INFO: TCP Data received {"connection_id":150900,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:58:14] local.INFO: Processing buffer {"connection_id":150900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2660e58012d196a80071fef680047011724..."} 
[2026-08-08 22:58:14] local.INFO: Packet analysis {"connection_id":150900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:58:14] local.INFO: Extracted packet for processing {"connection_id":150900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe266"} 
[2026-08-08 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269623296001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22: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-08-08 22:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786209767000,"timestamp_ms":1786209767000,"timestamp_seconds":1786209767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2660e58"} 
[2026-08-08 22:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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-08-08 22: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-08-08 22:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269623296001,"66":2155,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269623296001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269623296001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":150900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:58:14] local.INFO: GPS data processed {"connection_id":150900,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:58:14] local.INFO: Acknowledgment sent {"connection_id":150900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:58:36] local.INFO: TCP Data received {"connection_id":153269,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:58:36] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:58:36] local.INFO: IMEI packet received {"connection_id":153269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":153269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:58:44] local.INFO: TCP Data received {"connection_id":153269,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:58:44] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:58:44] local.INFO: IMEI packet received {"connection_id":153269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":153269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:58:45] local.INFO: TCP Data received {"connection_id":150901,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26a1d68012d02ee40070038b8000c00a330..."} 
[2026-08-08 22:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26a1d68012d02ee40070038b8000c00a330..."} 
[2026-08-08 22:58:45] local.INFO: Processing buffer {"connection_id":150901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26a1d68012d02ee40070038b8000c00a330..."} 
[2026-08-08 22:58:45] local.INFO: Packet analysis {"connection_id":150901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:58:45] local.INFO: Extracted packet for processing {"connection_id":150901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":755166784,"raw_latitude":117455032,"longitude_deg":75.5166784,"latitude_deg":11.7455032,"altitude":12,"angle":163,"satellites":48,"speed":51,"hex_longitude":"2d02ee40","hex_latitude":"070038b8","is_valid_coordinates":true} 
[2026-08-08 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269766656001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376084207069298688,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":208291512836556800,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786210033000,"timestamp_ms":1786210033000,"timestamp_seconds":1786210033,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26a1d68"} 
[2026-08-08 22:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 22:58: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-08-08 22:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:58: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-08-08 22:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269766656001,"66":27484,"111":206,"94":11008,"24":51,"16":376084207069298688,"45":208291512836556800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269766656001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376084207069298688,"km_value":376084207069298.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":208291512836556800,"description":"Unknown IO ID 45"} 
[2026-08-08 22:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269766656001,"power":27484,"unknown_111":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":208291512836556800}} 
[2026-08-08 22:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":150901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:58:45] local.INFO: GPS data processed {"connection_id":150901,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:58:45] local.INFO: Acknowledgment sent {"connection_id":150901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:58:45] local.INFO: TCP Data received {"connection_id":153269,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:58:45] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:58:45] local.INFO: Packet analysis {"connection_id":153269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:58:45] local.INFO: Extracted packet for processing {"connection_id":153269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 22:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":153269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:58:45] local.INFO: GPS data processed {"connection_id":153269,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:58:45] local.INFO: Acknowledgment sent {"connection_id":153269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:59:02] local.INFO: TCP Data received {"connection_id":150902,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:02] local.INFO: Processing buffer {"connection_id":150902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:02] local.INFO: IMEI packet received {"connection_id":150902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 22:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":150902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:59:03] local.INFO: TCP Data received {"connection_id":150902,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:03] local.INFO: Processing buffer {"connection_id":150902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:03] local.INFO: IMEI packet received {"connection_id":150902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":150902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:59:12] local.INFO: TCP Data received {"connection_id":150902,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:12] local.INFO: Processing buffer {"connection_id":150902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 22:59:12] local.INFO: IMEI packet received {"connection_id":150902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 22:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":150902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:59:13] local.INFO: TCP Data received {"connection_id":150902,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26a38c0012d02f8c007001680000d00a22e..."} 
[2026-08-08 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26a38c0012d02f8c007001680000d00a22e..."} 
[2026-08-08 22:59:13] local.INFO: Processing buffer {"connection_id":150902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26a38c0012d02f8c007001680000d00a22e..."} 
[2026-08-08 22:59:13] local.INFO: Packet analysis {"connection_id":150902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:13] local.INFO: Extracted packet for processing {"connection_id":150902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":755169472,"raw_latitude":117446272,"longitude_deg":75.5169472,"latitude_deg":11.7446272,"altitude":13,"angle":162,"satellites":46,"speed":52,"hex_longitude":"2d02f8c0","hex_latitude":"07001680","is_valid_coordinates":true} 
[2026-08-08 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269768448001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376084649450930176,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":211176631345657856,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786210040000,"timestamp_ms":1786210040000,"timestamp_seconds":1786210040,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26a38c0"} 
[2026-08-08 22:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:59: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-08-08 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 22:59: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-08-08 22:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269768448001,"66":27463,"111":206,"94":11008,"24":52,"16":376084649450930176,"45":211176631345657856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-08-08 22:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269768448001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:59:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 22:59:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376084649450930176,"km_value":376084649450930.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":211176631345657856,"description":"Unknown IO ID 45"} 
[2026-08-08 22:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269768448001,"power":27463,"unknown_111":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":211176631345657856}} 
[2026-08-08 22:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":150902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:59:13] local.INFO: GPS data processed {"connection_id":150902,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:59:13] local.INFO: Acknowledgment sent {"connection_id":150902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:59:16] local.INFO: TCP Data received {"connection_id":153269,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:16] local.INFO: Processing buffer {"connection_id":153269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:16] local.INFO: Packet analysis {"connection_id":153269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:16] local.INFO: Extracted packet for processing {"connection_id":153269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 22:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":153269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":153269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":153269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:59:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:59:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":153269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:59:17] local.INFO: GPS data processed {"connection_id":153269,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:59:17] local.INFO: Acknowledgment sent {"connection_id":153269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:59:41] local.INFO: TCP Data received {"connection_id":150588,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:59:41] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:59:41] local.INFO: IMEI packet received {"connection_id":150588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 22:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":150588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 22:59:44] local.INFO: TCP Data received {"connection_id":150902,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26b84c8012d041bc006fef268000c00622e..."} 
[2026-08-08 22:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26b84c8012d041bc006fef268000c00622e..."} 
[2026-08-08 22:59:44] local.INFO: Processing buffer {"connection_id":150902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26b84c8012d041bc006fef268000c00622e..."} 
[2026-08-08 22:59:44] local.INFO: Packet analysis {"connection_id":150902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26b"} 
[2026-08-08 22:59:44] local.INFO: Extracted packet for processing {"connection_id":150902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26b"} 
[2026-08-08 22:59:44] local.INFO: GPS Element Parsed {"raw_longitude":755243968,"raw_latitude":117371496,"longitude_deg":75.5243968,"latitude_deg":11.7371496,"altitude":12,"angle":98,"satellites":46,"speed":52,"hex_longitude":"2d041bc0","hex_latitude":"06fef268","is_valid_coordinates":true} 
[2026-08-08 22:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269790208001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376090121239265280,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":285837868897169408,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786210125000,"timestamp_ms":1786210125000,"timestamp_seconds":1786210125,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26b84c8"} 
[2026-08-08 22:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22: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-08-08 22: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-08 22:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":150902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":150902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":150902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 22:59: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-08-08 22:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 22:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 22:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269790208001,"66":27310,"209":206,"94":11008,"24":52,"16":376090121239265280,"45":285837868897169408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-08 22:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 22:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 22:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269790208001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:59:44] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 22:59:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 22:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376090121239265280,"km_value":376090121239265.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":285837868897169408,"description":"Unknown IO ID 45"} 
[2026-08-08 22:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269790208001,"power":27310,"unknown_209":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":285837868897169408}} 
[2026-08-08 22:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":150902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:59:44] local.INFO: GPS data processed {"connection_id":150902,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:59:44] local.INFO: Acknowledgment sent {"connection_id":150902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:59:46] local.INFO: TCP Data received {"connection_id":150588,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:59:46] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 22:59:46] local.INFO: IMEI packet received {"connection_id":150588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 22:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":150588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 22:59:47] local.INFO: TCP Data received {"connection_id":150588,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:47] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:47] local.INFO: Packet analysis {"connection_id":150588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:47] local.INFO: Extracted packet for processing {"connection_id":150588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 22:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:59:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":150588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:59:47] local.INFO: GPS data processed {"connection_id":150588,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:59:47] local.INFO: Acknowledgment sent {"connection_id":150588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 22:59:51] local.INFO: TCP Data received {"connection_id":150588,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:51] local.INFO: Processing buffer {"connection_id":150588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 22:59:51] local.INFO: Packet analysis {"connection_id":150588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:51] local.INFO: Extracted packet for processing {"connection_id":150588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 22:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 22:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 22:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 22:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 22:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 22:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 22:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 22:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 22:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 22:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 22:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 22:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 22:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":150588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 22:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":150588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 22:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 22:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 22:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 22:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 22:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 22:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 22:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 22:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 22:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 22:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 22:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 22:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 22:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":150588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 22:59:51] local.INFO: GPS data processed {"connection_id":150588,"processed":1,"errors":0,"total":1} 
[2026-08-08 22:59:51] local.INFO: Acknowledgment sent {"connection_id":150588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:00:04] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:00:04] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:00:04] local.INFO: IMEI packet received {"connection_id":153270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":153270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:00:06] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:00:06] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:00:06] local.INFO: IMEI packet received {"connection_id":153270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":153270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:00:14] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26ba020012d04400006feecc8000f00632f..."} 
[2026-08-08 23:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26ba020012d04400006feecc8000f00632f..."} 
[2026-08-08 23:00:14] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26ba020012d04400006feecc8000f00632f..."} 
[2026-08-08 23:00:14] local.INFO: Packet analysis {"connection_id":153270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26b"} 
[2026-08-08 23:00:14] local.INFO: Extracted packet for processing {"connection_id":153270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26b"} 
[2026-08-08 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":755253248,"raw_latitude":117370056,"longitude_deg":75.5253248,"latitude_deg":11.7370056,"altitude":15,"angle":99,"satellites":47,"speed":50,"hex_longitude":"2d044000","hex_latitude":"06feecc8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269792000001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376090563620896768,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":296041336802535424,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210132000,"timestamp_ms":1786210132000,"timestamp_seconds":1786210132,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26ba020"} 
[2026-08-08 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-08-08 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":174,"data_length":795,"current_offset":136} 
[2026-08-08 23:00: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-08-08 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-08-08 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-08-08 23:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269792000001,"66":27376,"209":206,"94":11008,"24":50,"16":376090563620896768,"45":296041336802535424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-08 23:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269792000001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:00:14] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 23:00:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376090563620896768,"km_value":376090563620896.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":296041336802535424,"description":"Unknown IO ID 45"} 
[2026-08-08 23:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269792000001,"power":27376,"unknown_209":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":296041336802535424}} 
[2026-08-08 23:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":153270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:00:14] local.INFO: GPS data processed {"connection_id":153270,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:00:14] local.INFO: Acknowledgment sent {"connection_id":153270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:00:36] local.INFO: TCP Data received {"connection_id":150903,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:00:36] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:00:36] local.INFO: IMEI packet received {"connection_id":150903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":150903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:00:41] local.INFO: TCP Data received {"connection_id":150903,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:00:41] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:00:41] local.INFO: IMEI packet received {"connection_id":150903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":150903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:00:42] local.INFO: TCP Data received {"connection_id":150903,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:00:42] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:00:42] local.INFO: Packet analysis {"connection_id":150903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:00:42] local.INFO: Extracted packet for processing {"connection_id":150903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00: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-08-08 23:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 23:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 23:00: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-08-08 23:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:00:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":150903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:00:42] local.INFO: GPS data processed {"connection_id":150903,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:00:42] local.INFO: Acknowledgment sent {"connection_id":150903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:00:45] local.INFO: TCP Data received {"connection_id":153270,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26bbf60012d0466c006fee6a80011006230..."} 
[2026-08-08 23:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26bbf60012d0466c006fee6a80011006230..."} 
[2026-08-08 23:00:45] local.INFO: Processing buffer {"connection_id":153270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26bbf60012d0466c006fee6a80011006230..."} 
[2026-08-08 23:00:45] local.INFO: Packet analysis {"connection_id":153270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26b"} 
[2026-08-08 23:00:45] local.INFO: Extracted packet for processing {"connection_id":153270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26b"} 
[2026-08-08 23:00:45] local.INFO: GPS Element Parsed {"raw_longitude":755263168,"raw_latitude":117368488,"longitude_deg":75.5263168,"latitude_deg":11.7368488,"altitude":17,"angle":98,"satellites":48,"speed":49,"hex_longitude":"2d0466c0","hex_latitude":"06fee6a8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269793792001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376091040362266624,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":306244804707928064,"note":"Value kept but may cause issues"} 
[2026-08-08 23:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786210140000,"timestamp_ms":1786210140000,"timestamp_seconds":1786210140,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26bbf60"} 
[2026-08-08 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-08-08 23:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:00: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-08-08 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-08-08 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-08-08 23:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:00: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-08-08 23:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269793792001,"66":27332,"209":206,"94":11008,"24":49,"16":376091040362266624,"45":306244804707928064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-08 23:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269793792001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:00:45] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-08 23:00:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376091040362266624,"km_value":376091040362266.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":306244804707928064,"description":"Unknown IO ID 45"} 
[2026-08-08 23:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269793792001,"power":27332,"unknown_209":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":306244804707928064}} 
[2026-08-08 23:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":153270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:00:45] local.INFO: GPS data processed {"connection_id":153270,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:00:45] local.INFO: Acknowledgment sent {"connection_id":153270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:01:05] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:01:05] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:01:05] local.INFO: IMEI packet received {"connection_id":150589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":150589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:01:10] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:01:10] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:01:10] local.INFO: IMEI packet received {"connection_id":150589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":150589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:01:12] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.19","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:01:12] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:01:12] local.INFO: IMEI packet received {"connection_id":150589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":150589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:01:13] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26cfbc8012d05e00006fe57900018008f2f..."} 
[2026-08-08 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26cfbc8012d05e00006fe57900018008f2f..."} 
[2026-08-08 23:01:13] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe26ce070012d05c8c006fe75a00017008c2f..."} 
[2026-08-08 23:01:13] local.INFO: Packet analysis {"connection_id":150589,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe26c"} 
[2026-08-08 23:01:13] local.INFO: Extracted packet for processing {"connection_id":150589,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26c"} 
[2026-08-08 23:01:13] local.INFO: GPS Element Parsed {"raw_longitude":755353792,"raw_latitude":117339552,"longitude_deg":75.5353792,"latitude_deg":11.7339552,"altitude":23,"angle":140,"satellites":47,"speed":55,"hex_longitude":"2d05c8c0","hex_latitude":"06fe75a0","is_valid_coordinates":true} 
[2026-08-08 23:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269812992001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376095687516880896,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":409335014922178560,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786210214000,"timestamp_ms":1786210214000,"timestamp_seconds":1786210214,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26ce070"} 
[2026-08-08 23:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:01: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-08-08 23:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-08 23:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269812992001,"66":27310,"208":206,"94":11008,"24":55,"16":376095687516880896,"45":409335014922178560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269812992001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376095687516880896,"km_value":376095687516880.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":409335014922178560,"description":"Unknown IO ID 45"} 
[2026-08-08 23:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269812992001,"power":27310,"unknown_208":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":409335014922178560}} 
[2026-08-08 23:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":150589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:01:13] local.INFO: GPS data processed {"connection_id":150589,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:01:13] local.INFO: Acknowledgment sent {"connection_id":150589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:01:13] local.INFO: Packet analysis {"connection_id":150589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26c"} 
[2026-08-08 23:01:13] local.INFO: Extracted packet for processing {"connection_id":150589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26c"} 
[2026-08-08 23:01:13] local.INFO: GPS Element Parsed {"raw_longitude":755359744,"raw_latitude":117331856,"longitude_deg":75.5359744,"latitude_deg":11.7331856,"altitude":24,"angle":143,"satellites":47,"speed":54,"hex_longitude":"2d05e000","hex_latitude":"06fe5790","is_valid_coordinates":true} 
[2026-08-08 23:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269814784001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376096155668316160,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416794101803229184,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786210221000,"timestamp_ms":1786210221000,"timestamp_seconds":1786210221,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26cfbc8"} 
[2026-08-08 23:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:01: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-08-08 23:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 23:01: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-08-08 23:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269814784001,"66":27245,"208":206,"94":11008,"24":54,"16":376096155668316160,"45":416794101803229184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-08 23:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269814784001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376096155668316160,"km_value":376096155668316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":416794101803229184,"description":"Unknown IO ID 45"} 
[2026-08-08 23:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269814784001,"power":27245,"unknown_208":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":416794101803229184}} 
[2026-08-08 23:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":150589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:01:13] local.INFO: GPS data processed {"connection_id":150589,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:01:13] local.INFO: Acknowledgment sent {"connection_id":150589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:01:14] local.INFO: TCP Data received {"connection_id":150903,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:01:14] local.INFO: Processing buffer {"connection_id":150903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:01:14] local.INFO: Packet analysis {"connection_id":150903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:01:14] local.INFO: Extracted packet for processing {"connection_id":150903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 23:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:01: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-08-08 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 23:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":150903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:01:14] local.INFO: GPS data processed {"connection_id":150903,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:01:14] local.INFO: Acknowledgment sent {"connection_id":150903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:01:14] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26d1720012d05f60006fe39e00018008f2f..."} 
[2026-08-08 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26d1720012d05f60006fe39e00018008f2f..."} 
[2026-08-08 23:01:14] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26d1720012d05f60006fe39e00018008f2f..."} 
[2026-08-08 23:01:14] local.INFO: Packet analysis {"connection_id":150589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:01:14] local.INFO: Extracted packet for processing {"connection_id":150589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":755365376,"raw_latitude":117324256,"longitude_deg":75.5365376,"latitude_deg":11.7324256,"altitude":24,"angle":143,"satellites":47,"speed":52,"hex_longitude":"2d05f600","hex_latitude":"06fe39e0","is_valid_coordinates":true} 
[2026-08-08 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269816576001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376096610934849536,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":423338395009781760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210228000,"timestamp_ms":1786210228000,"timestamp_seconds":1786210228,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26d1720"} 
[2026-08-08 23:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-08 23:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269816576001,"66":27213,"208":206,"94":11008,"24":52,"16":376096610934849536,"45":423338395009781760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-08 23:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269816576001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376096610934849536,"km_value":376096610934849.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":423338395009781760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269816576001,"power":27213,"unknown_208":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":423338395009781760}} 
[2026-08-08 23:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":150589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:01:14] local.INFO: GPS data processed {"connection_id":150589,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:01:14] local.INFO: Acknowledgment sent {"connection_id":150589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:01:35] local.INFO: TCP Data received {"connection_id":151791,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:01:35] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:01:35] local.INFO: IMEI packet received {"connection_id":151791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":151791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:01:41] local.INFO: TCP Data received {"connection_id":151791,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:01:41] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:01:41] local.INFO: IMEI packet received {"connection_id":151791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":151791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:01:42] local.INFO: TCP Data received {"connection_id":151791,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:01:42] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:01:42] local.INFO: Packet analysis {"connection_id":151791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:01:42] local.INFO: Extracted packet for processing {"connection_id":151791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01: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-08-08 23:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 23:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 23:01: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-08-08 23:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:01:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":151791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:01:42] local.INFO: GPS data processed {"connection_id":151791,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:01:42] local.INFO: Acknowledgment sent {"connection_id":151791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:01:47] local.INFO: TCP Data received {"connection_id":150589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26d3278012d060bc006fe1dc00018008d30..."} 
[2026-08-08 23:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26d3278012d060bc006fe1dc00018008d30..."} 
[2026-08-08 23:01:47] local.INFO: Processing buffer {"connection_id":150589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26d3278012d060bc006fe1dc00018008d30..."} 
[2026-08-08 23:01:47] local.INFO: Packet analysis {"connection_id":150589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:01:47] local.INFO: Extracted packet for processing {"connection_id":150589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":755370944,"raw_latitude":117317056,"longitude_deg":75.5370944,"latitude_deg":11.7317056,"altitude":24,"angle":141,"satellites":48,"speed":51,"hex_longitude":"2d060bc0","hex_latitude":"06fe1dc0","is_valid_coordinates":true} 
[2026-08-08 23:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269818368001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376097049021513728,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":429530844495470592,"note":"Value kept but may cause issues"} 
[2026-08-08 23:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786210235000,"timestamp_ms":1786210235000,"timestamp_seconds":1786210235,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26d3278"} 
[2026-08-08 23:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 23:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:01: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-08-08 23:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269818368001,"66":27321,"208":206,"94":11008,"24":51,"16":376097049021513728,"45":429530844495470592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-08 23:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269818368001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376097049021513728,"km_value":376097049021513.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":429530844495470592,"description":"Unknown IO ID 45"} 
[2026-08-08 23:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269818368001,"power":27321,"unknown_208":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":429530844495470592}} 
[2026-08-08 23:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":150589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:01:47] local.INFO: GPS data processed {"connection_id":150589,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:01:47] local.INFO: Acknowledgment sent {"connection_id":150589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:02:04] local.INFO: TCP Data received {"connection_id":150904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:02:04] local.INFO: Processing buffer {"connection_id":150904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:02:04] local.INFO: IMEI packet received {"connection_id":150904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":150904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:02:09] local.INFO: TCP Data received {"connection_id":150904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:02:09] local.INFO: Processing buffer {"connection_id":150904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:02:09] local.INFO: IMEI packet received {"connection_id":150904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":150904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:02:10] local.INFO: TCP Data received {"connection_id":150904,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26d51b8012d0624c006fdff900018008c2e..."} 
[2026-08-08 23:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26d51b8012d0624c006fdff900018008c2e..."} 
[2026-08-08 23:02:10] local.INFO: Processing buffer {"connection_id":150904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26d51b8012d0624c006fdff900018008c2e..."} 
[2026-08-08 23:02:10] local.INFO: Packet analysis {"connection_id":150904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:02:10] local.INFO: Extracted packet for processing {"connection_id":150904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:02:10] local.INFO: GPS Element Parsed {"raw_longitude":755377344,"raw_latitude":117309328,"longitude_deg":75.5377344,"latitude_deg":11.7309328,"altitude":24,"angle":140,"satellites":46,"speed":47,"hex_longitude":"2d0624c0","hex_latitude":"06fdff90","is_valid_coordinates":true} 
[2026-08-08 23:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269820160001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376097530057850880,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":435652925237084160,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786210243000,"timestamp_ms":1786210243000,"timestamp_seconds":1786210243,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26d51b8"} 
[2026-08-08 23:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:02: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-08-08 23: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-08-08 23: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-08-08 23:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:02: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-08-08 23:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269820160001,"66":27332,"208":206,"94":11008,"24":47,"16":376097530057850880,"45":435652925237084160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-08 23:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269820160001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:02:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-08 23:02:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376097530057850880,"km_value":376097530057850.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":435652925237084160,"description":"Unknown IO ID 45"} 
[2026-08-08 23:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269820160001,"power":27332,"unknown_208":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":435652925237084160}} 
[2026-08-08 23:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":150904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:02:10] local.INFO: GPS data processed {"connection_id":150904,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:02:10] local.INFO: Acknowledgment sent {"connection_id":150904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:02:14] local.INFO: TCP Data received {"connection_id":151791,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:02:14] local.INFO: Processing buffer {"connection_id":151791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:02:14] local.INFO: Packet analysis {"connection_id":151791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:02:14] local.INFO: Extracted packet for processing {"connection_id":151791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 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-08-08 23:02: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-08-08 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 23:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 23:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:02:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":151791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:02:14] local.INFO: GPS data processed {"connection_id":151791,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:02:14] local.INFO: Acknowledgment sent {"connection_id":151791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:02:35] local.INFO: TCP Data received {"connection_id":151792,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:02:35] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:02:35] local.INFO: IMEI packet received {"connection_id":151792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":151792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:02:41] local.INFO: TCP Data received {"connection_id":151792,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:02:41] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:02:41] local.INFO: IMEI packet received {"connection_id":151792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":151792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:02:41] local.INFO: TCP Data received {"connection_id":150904,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26d70f8012d063b8006fde3c00019008b2e..."} 
[2026-08-08 23:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26d70f8012d063b8006fde3c00019008b2e..."} 
[2026-08-08 23:02:41] local.INFO: Processing buffer {"connection_id":150904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26d70f8012d063b8006fde3c00019008b2e..."} 
[2026-08-08 23:02:41] local.INFO: Packet analysis {"connection_id":150904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:02:41] local.INFO: Extracted packet for processing {"connection_id":150904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:02:41] local.INFO: GPS Element Parsed {"raw_longitude":755383168,"raw_latitude":117302208,"longitude_deg":75.5383168,"latitude_deg":11.7302208,"altitude":25,"angle":139,"satellites":46,"speed":42,"hex_longitude":"2d063b80","hex_latitude":"06fde3c0","is_valid_coordinates":true} 
[2026-08-08 23:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269822208001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376097972439482368,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":442689799652872192,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786210251000,"timestamp_ms":1786210251000,"timestamp_seconds":1786210251,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26d70f8"} 
[2026-08-08 23:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:02: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-08-08 23: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 23:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:02: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-08-08 23:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269822208001,"66":27300,"232":206,"94":11008,"24":42,"16":376097972439482368,"45":442689799652872192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269822208001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:02:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:02:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376097972439482368,"km_value":376097972439482.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":442689799652872192,"description":"Unknown IO ID 45"} 
[2026-08-08 23:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269822208001,"power":27300,"unknown_232":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":442689799652872192}} 
[2026-08-08 23:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":150904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:02:41] local.INFO: GPS data processed {"connection_id":150904,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:02:41] local.INFO: Acknowledgment sent {"connection_id":150904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:02:42] local.INFO: TCP Data received {"connection_id":151792,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:02:42] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:02:42] local.INFO: Packet analysis {"connection_id":151792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:02:42] local.INFO: Extracted packet for processing {"connection_id":151792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:02: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-08-08 23:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 23:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 23:02: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-08-08 23:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:02:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":151792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:02:42] local.INFO: GPS data processed {"connection_id":151792,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:02:42] local.INFO: Acknowledgment sent {"connection_id":151792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:03:04] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:03:04] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:03:04] local.INFO: IMEI packet received {"connection_id":153271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":153271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:03:09] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:03:09] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:03:09] local.INFO: IMEI packet received {"connection_id":153271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":153271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:03:09] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26d9808012d06554006fdc8700018008729..."} 
[2026-08-08 23:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26d9808012d06554006fdc8700018008729..."} 
[2026-08-08 23:03:10] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26d9808012d06554006fdc8700018008729..."} 
[2026-08-08 23:03:10] local.INFO: Packet analysis {"connection_id":153271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:03:10] local.INFO: Extracted packet for processing {"connection_id":153271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:03:10] local.INFO: GPS Element Parsed {"raw_longitude":755389760,"raw_latitude":117295216,"longitude_deg":75.538976,"latitude_deg":11.7295216,"altitude":24,"angle":135,"satellites":41,"speed":29,"hex_longitude":"2d065540","hex_latitude":"06fdc870","is_valid_coordinates":true} 
[2026-08-08 23:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269824256001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376098436295950336,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":449093355371216896,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786210261000,"timestamp_ms":1786210261000,"timestamp_seconds":1786210261,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26d9808"} 
[2026-08-08 23:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:03: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-08-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 23:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:03: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-08-08 23:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269824256001,"66":27213,"232":206,"94":11008,"24":29,"16":376098436295950336,"45":449093355371216896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269824256001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:03:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:03:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376098436295950336,"km_value":376098436295950.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":449093355371216896,"description":"Unknown IO ID 45"} 
[2026-08-08 23:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269824256001,"power":27213,"unknown_232":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":449093355371216896}} 
[2026-08-08 23:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":153271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:03:10] local.INFO: GPS data processed {"connection_id":153271,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:03:10] local.INFO: Acknowledgment sent {"connection_id":153271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:03:14] local.INFO: TCP Data received {"connection_id":151792,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:03:14] local.INFO: Processing buffer {"connection_id":151792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26aa620012d196a80071fef680047011724..."} 
[2026-08-08 23:03:14] local.INFO: Packet analysis {"connection_id":151792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:03:14] local.INFO: Extracted packet for processing {"connection_id":151792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26a"} 
[2026-08-08 23:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269700352001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210068000,"timestamp_ms":1786210068000,"timestamp_seconds":1786210068,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26aa620"} 
[2026-08-08 23:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:03: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-08-08 23:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-08 23:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":151792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":151792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":151792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269700352001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269700352001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:03:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269700352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":151792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:03:14] local.INFO: GPS data processed {"connection_id":151792,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:03:14] local.INFO: Acknowledgment sent {"connection_id":151792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:03:41] local.INFO: TCP Data received {"connection_id":151793,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:03:41] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:03:41] local.INFO: IMEI packet received {"connection_id":151793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":151793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:03:41] local.INFO: TCP Data received {"connection_id":153271,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26dea10012d06608006fdbbf80017008a2d..."} 
[2026-08-08 23:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26dea10012d06608006fdbbf80017008a2d..."} 
[2026-08-08 23:03:41] local.INFO: Processing buffer {"connection_id":153271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26dea10012d06608006fdbbf80017008a2d..."} 
[2026-08-08 23:03:41] local.INFO: Packet analysis {"connection_id":153271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:03:41] local.INFO: Extracted packet for processing {"connection_id":153271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26d"} 
[2026-08-08 23:03:41] local.INFO: GPS Element Parsed {"raw_longitude":755392640,"raw_latitude":117292024,"longitude_deg":75.539264,"latitude_deg":11.7292024,"altitude":23,"angle":138,"satellites":45,"speed":6,"hex_longitude":"2d066080","hex_latitude":"06fdbbf8","is_valid_coordinates":true} 
[2026-08-08 23:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269826816001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376098642454380544,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":456341336019726336,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786210282000,"timestamp_ms":1786210282000,"timestamp_seconds":1786210282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26dea10"} 
[2026-08-08 23:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:03: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-08-08 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 23:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:03: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-08-08 23:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269826816001,"66":27332,"232":206,"94":11008,"24":6,"16":376098642454380544,"45":456341336019726336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269826816001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:03:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:03:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376098642454380544,"km_value":376098642454380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":456341336019726336,"description":"Unknown IO ID 45"} 
[2026-08-08 23:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269826816001,"power":27332,"unknown_232":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":456341336019726336}} 
[2026-08-08 23:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":153271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:03:41] local.INFO: GPS data processed {"connection_id":153271,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:03:41] local.INFO: Acknowledgment sent {"connection_id":153271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:03:46] local.INFO: TCP Data received {"connection_id":151793,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:03:46] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:03:46] local.INFO: IMEI packet received {"connection_id":151793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":151793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:03:47] local.INFO: TCP Data received {"connection_id":151793,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:03:47] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:03:47] local.INFO: Packet analysis {"connection_id":151793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:03:47] local.INFO: Extracted packet for processing {"connection_id":151793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:03: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-08-08 23:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:03:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:03:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":151793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:03:47] local.INFO: GPS data processed {"connection_id":151793,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:03:47] local.INFO: Acknowledgment sent {"connection_id":151793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:03:51] local.INFO: TCP Data received {"connection_id":151793,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:03:51] local.INFO: Processing buffer {"connection_id":151793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:03:51] local.INFO: Packet analysis {"connection_id":151793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:03:51] local.INFO: Extracted packet for processing {"connection_id":151793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":151793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":151793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":151793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:03:51] local.INFO: GPS data processed {"connection_id":151793,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:03:51] local.INFO: Acknowledgment sent {"connection_id":151793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:04:08] local.INFO: TCP Data received {"connection_id":150905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:08] local.INFO: Processing buffer {"connection_id":150905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:08] local.INFO: IMEI packet received {"connection_id":150905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":150905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:04:12] local.INFO: TCP Data received {"connection_id":150905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:12] local.INFO: Processing buffer {"connection_id":150905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:12] local.INFO: IMEI packet received {"connection_id":150905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":150905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:04:13] local.INFO: TCP Data received {"connection_id":150905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:13] local.INFO: Processing buffer {"connection_id":150905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:04:13] local.INFO: IMEI packet received {"connection_id":150905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":150905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:04:14] local.INFO: TCP Data received {"connection_id":150905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26e3c18012d066dc006fdabe0001500872e..."} 
[2026-08-08 23:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26e3c18012d066dc006fdabe0001500872e..."} 
[2026-08-08 23:04:14] local.INFO: Processing buffer {"connection_id":150905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26e3c18012d066dc006fdabe0001500872e..."} 
[2026-08-08 23:04:14] local.INFO: Packet analysis {"connection_id":150905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26e"} 
[2026-08-08 23:04:14] local.INFO: Extracted packet for processing {"connection_id":150905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26e"} 
[2026-08-08 23:04:14] local.INFO: GPS Element Parsed {"raw_longitude":755396032,"raw_latitude":117287904,"longitude_deg":75.5396032,"latitude_deg":11.7287904,"altitude":21,"angle":135,"satellites":46,"speed":6,"hex_longitude":"2d066dc0","hex_latitude":"06fdabe0","is_valid_coordinates":true} 
[2026-08-08 23:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269832192001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376098904447385600,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":459507929506904064,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210303000,"timestamp_ms":1786210303000,"timestamp_seconds":1786210303,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26e3c18"} 
[2026-08-08 23:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 23:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269832192001,"66":27180,"232":206,"94":11008,"24":6,"16":376098904447385600,"45":459507929506904064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269832192001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:04:14] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:04:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376098904447385600,"km_value":376098904447385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":459507929506904064,"description":"Unknown IO ID 45"} 
[2026-08-08 23:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269832192001,"power":27180,"unknown_232":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":459507929506904064}} 
[2026-08-08 23:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":150905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:04:14] local.INFO: GPS data processed {"connection_id":150905,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:04:14] local.INFO: Acknowledgment sent {"connection_id":150905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:04:36] local.INFO: TCP Data received {"connection_id":150906,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:04:36] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:04:36] local.INFO: IMEI packet received {"connection_id":150906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":150906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:04:41] local.INFO: TCP Data received {"connection_id":150906,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:04:41] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:04:41] local.INFO: IMEI packet received {"connection_id":150906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":150906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:04:42] local.INFO: TCP Data received {"connection_id":150906,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:04:42] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:04:42] local.INFO: Packet analysis {"connection_id":150906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:04:42] local.INFO: Extracted packet for processing {"connection_id":150906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:04:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:04:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":150906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:04:42] local.INFO: GPS data processed {"connection_id":150906,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:04:42] local.INFO: Acknowledgment sent {"connection_id":150906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:04:46] local.INFO: TCP Data received {"connection_id":150905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26e6710012d06720006fda6c8001400922e..."} 
[2026-08-08 23:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26e6710012d06720006fda6c8001400922e..."} 
[2026-08-08 23:04:46] local.INFO: Processing buffer {"connection_id":150905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26e6710012d06720006fda6c8001400922e..."} 
[2026-08-08 23:04:46] local.INFO: Packet analysis {"connection_id":150905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26e"} 
[2026-08-08 23:04:46] local.INFO: Extracted packet for processing {"connection_id":150905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26e"} 
[2026-08-08 23:04:46] local.INFO: GPS Element Parsed {"raw_longitude":755397120,"raw_latitude":117286600,"longitude_deg":75.539712,"latitude_deg":11.72866,"altitude":20,"angle":146,"satellites":46,"speed":7,"hex_longitude":"2d067200","hex_latitude":"06fda6c8","is_valid_coordinates":true} 
[2026-08-08 23:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269837568001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376098986051764224,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":463237472947265536,"note":"Value kept but may cause issues"} 
[2026-08-08 23:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786210314000,"timestamp_ms":1786210314000,"timestamp_seconds":1786210314,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26e6710"} 
[2026-08-08 23:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 23:04: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-08-08 23:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269837568001,"66":27343,"232":206,"94":11008,"24":7,"16":376098986051764224,"45":463237472947265536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269837568001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:04:46] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:04:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376098986051764224,"km_value":376098986051764.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":463237472947265536,"description":"Unknown IO ID 45"} 
[2026-08-08 23:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269837568001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":463237472947265536}} 
[2026-08-08 23:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":150905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:04:46] local.INFO: GPS data processed {"connection_id":150905,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:04:46] local.INFO: Acknowledgment sent {"connection_id":150905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:05:09] local.INFO: TCP Data received {"connection_id":150590,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:05:09] local.INFO: Processing buffer {"connection_id":150590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:05:09] local.INFO: IMEI packet received {"connection_id":150590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":150590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:05:14] local.INFO: TCP Data received {"connection_id":150906,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:05:14] local.INFO: Processing buffer {"connection_id":150906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:05:14] local.INFO: Packet analysis {"connection_id":150906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:05:14] local.INFO: Extracted packet for processing {"connection_id":150906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:05:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":150906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:05:14] local.INFO: GPS data processed {"connection_id":150906,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:05:14] local.INFO: Acknowledgment sent {"connection_id":150906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:05:21] local.INFO: TCP Data received {"connection_id":150590,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:05:21] local.INFO: Processing buffer {"connection_id":150590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:05:21] local.INFO: IMEI packet received {"connection_id":150590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":150590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:05:22] local.INFO: TCP Data received {"connection_id":150590,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26eb918012d06880006fd8be00011008c2e..."} 
[2026-08-08 23:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26eb918012d06880006fd8be00011008c2e..."} 
[2026-08-08 23:05:22] local.INFO: Processing buffer {"connection_id":150590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26eb918012d06880006fd8be00011008c2e..."} 
[2026-08-08 23:05:22] local.INFO: Packet analysis {"connection_id":150590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26e"} 
[2026-08-08 23:05:22] local.INFO: Extracted packet for processing {"connection_id":150590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26e"} 
[2026-08-08 23:05:22] local.INFO: GPS Element Parsed {"raw_longitude":755402752,"raw_latitude":117279712,"longitude_deg":75.5402752,"latitude_deg":11.7279712,"altitude":17,"angle":140,"satellites":46,"speed":20,"hex_longitude":"2d068800","hex_latitude":"06fd8be0","is_valid_coordinates":true} 
[2026-08-08 23:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269840384001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376099411253526528,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":464433741597952000,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1786210335000,"timestamp_ms":1786210335000,"timestamp_seconds":1786210335,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26eb918"} 
[2026-08-08 23:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":150590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":150590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":150590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269840384001,"66":27343,"232":206,"94":11008,"24":20,"16":376099411253526528,"45":464433741597952000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269840384001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:05:22] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:05:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376099411253526528,"km_value":376099411253526.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":464433741597952000,"description":"Unknown IO ID 45"} 
[2026-08-08 23:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269840384001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":464433741597952000}} 
[2026-08-08 23:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":150590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:05:22] local.INFO: GPS data processed {"connection_id":150590,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:05:22] local.INFO: Acknowledgment sent {"connection_id":150590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:05:24] local.INFO: TCP Data received {"connection_id":150590,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f0b20012d06990006fd77880013008d2b..."} 
[2026-08-08 23:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f0b20012d06990006fd77880013008d2b..."} 
[2026-08-08 23:05:24] local.INFO: Processing buffer {"connection_id":150590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f0b20012d06990006fd77880013008d2b..."} 
[2026-08-08 23:05:24] local.INFO: Packet analysis {"connection_id":150590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:05:24] local.INFO: Extracted packet for processing {"connection_id":150590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:05:24] local.INFO: GPS Element Parsed {"raw_longitude":755407104,"raw_latitude":117274504,"longitude_deg":75.5407104,"latitude_deg":11.7274504,"altitude":19,"angle":141,"satellites":43,"speed":11,"hex_longitude":"2d069900","hex_latitude":"06fd7788","is_valid_coordinates":true} 
[2026-08-08 23:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269845760001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376099741966008320,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":470626191083823104,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786210356000,"timestamp_ms":1786210356000,"timestamp_seconds":1786210356,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f0b20"} 
[2026-08-08 23:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:05: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-08-08 23:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269845760001,"66":27180,"232":206,"94":11008,"24":11,"16":376099741966008320,"45":470626191083823104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269845760001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:05:24] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:05:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376099741966008320,"km_value":376099741966008.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":470626191083823104,"description":"Unknown IO ID 45"} 
[2026-08-08 23:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269845760001,"power":27180,"unknown_232":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":470626191083823104}} 
[2026-08-08 23:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":150590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:05:24] local.INFO: GPS data processed {"connection_id":150590,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:05:24] local.INFO: Acknowledgment sent {"connection_id":150590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:05:35] local.INFO: TCP Data received {"connection_id":153272,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:05:35] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:05:35] local.INFO: IMEI packet received {"connection_id":153272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":153272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:05:41] local.INFO: TCP Data received {"connection_id":153272,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:05:41] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:05:41] local.INFO: IMEI packet received {"connection_id":153272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":153272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:05:42] local.INFO: TCP Data received {"connection_id":153272,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:05:42] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:05:42] local.INFO: Packet analysis {"connection_id":153272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:05:42] local.INFO: Extracted packet for processing {"connection_id":153272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:05: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-08-08 23:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:05: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-08-08 23:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:05:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":153272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:05:42] local.INFO: GPS data processed {"connection_id":153272,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:05:42] local.INFO: Acknowledgment sent {"connection_id":153272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:06:04] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:06:04] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:06:04] local.INFO: IMEI packet received {"connection_id":153273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":153273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:06:07] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:06:07] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:06:07] local.INFO: IMEI packet received {"connection_id":153273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":153273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:06:09] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f5940012d06af4006fd5cc00017008b2d..."} 
[2026-08-08 23:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f5940012d06af4006fd5cc00017008b2d..."} 
[2026-08-08 23:06:09] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f5940012d06af4006fd5cc00017008b2d..."} 
[2026-08-08 23:06:09] local.INFO: Packet analysis {"connection_id":153273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:09] local.INFO: Extracted packet for processing {"connection_id":153273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:09] local.INFO: GPS Element Parsed {"raw_longitude":755412800,"raw_latitude":117267648,"longitude_deg":75.54128,"latitude_deg":11.7267648,"altitude":23,"angle":139,"satellites":45,"speed":23,"hex_longitude":"2d06af40","hex_latitude":"06fd5cc0","is_valid_coordinates":true} 
[2026-08-08 23:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269851136001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376100171462737920,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":475411265686571008,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786210376000,"timestamp_ms":1786210376000,"timestamp_seconds":1786210376,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f5940"} 
[2026-08-08 23:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-08 23:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269851136001,"66":27343,"232":206,"94":11008,"24":23,"16":376100171462737920,"45":475411265686571008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269851136001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:06:09] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:06:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376100171462737920,"km_value":376100171462737.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":475411265686571008,"description":"Unknown IO ID 45"} 
[2026-08-08 23:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269851136001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":475411265686571008}} 
[2026-08-08 23:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":153273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:06:09] local.INFO: GPS data processed {"connection_id":153273,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:06:09] local.INFO: Acknowledgment sent {"connection_id":153273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:06:14] local.INFO: TCP Data received {"connection_id":153272,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:06:14] local.INFO: Processing buffer {"connection_id":153272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:06:14] local.INFO: Packet analysis {"connection_id":153272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:14] local.INFO: Extracted packet for processing {"connection_id":153272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:06:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:06:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":153272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:06:14] local.INFO: GPS data processed {"connection_id":153272,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:06:14] local.INFO: Acknowledgment sent {"connection_id":153272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:06:35] local.INFO: TCP Data received {"connection_id":150907,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:06:35] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:06:35] local.INFO: IMEI packet received {"connection_id":150907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":150907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:06:41] local.INFO: TCP Data received {"connection_id":153273,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f8820012d06c50006fd41780012008c2c..."} 
[2026-08-08 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f8820012d06c50006fd41780012008c2c..."} 
[2026-08-08 23:06:41] local.INFO: Processing buffer {"connection_id":153273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f8820012d06c50006fd41780012008c2c..."} 
[2026-08-08 23:06:41] local.INFO: Packet analysis {"connection_id":153273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:41] local.INFO: Extracted packet for processing {"connection_id":153273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":755418368,"raw_latitude":117260664,"longitude_deg":75.5418368,"latitude_deg":11.7260664,"altitude":18,"angle":140,"satellites":44,"speed":32,"hex_longitude":"2d06c500","hex_latitude":"06fd4178","is_valid_coordinates":true} 
[2026-08-08 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269856256001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376100600959467520,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":481674083916627968,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786210388000,"timestamp_ms":1786210388000,"timestamp_seconds":1786210388,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f8820"} 
[2026-08-08 23:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:06: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-08-08 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:06: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-08-08 23:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269856256001,"66":27365,"232":206,"94":11008,"24":32,"16":376100600959467520,"45":481674083916627968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269856256001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:06:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:06:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376100600959467520,"km_value":376100600959467.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":481674083916627968,"description":"Unknown IO ID 45"} 
[2026-08-08 23:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269856256001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":481674083916627968}} 
[2026-08-08 23:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":153273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:06:41] local.INFO: GPS data processed {"connection_id":153273,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:06:41] local.INFO: Acknowledgment sent {"connection_id":153273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:06:41] local.INFO: TCP Data received {"connection_id":150907,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:06:41] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:06:41] local.INFO: IMEI packet received {"connection_id":150907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":150907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:06:42] local.INFO: TCP Data received {"connection_id":150907,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:06:42] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:06:42] local.INFO: Packet analysis {"connection_id":150907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:42] local.INFO: Extracted packet for processing {"connection_id":150907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23: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-08-08 23:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23: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":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:06: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-08-08 23: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-08-08 23:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:06:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":150907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:06:42] local.INFO: GPS data processed {"connection_id":150907,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:06:42] local.INFO: Acknowledgment sent {"connection_id":150907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:07:04] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:07:04] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:07:04] local.INFO: IMEI packet received {"connection_id":150908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":150908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:07:09] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:07:09] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:07:09] local.INFO: IMEI packet received {"connection_id":150908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":150908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:07:10] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26fbed0012d06dc0006fd24b8000e008e2f..."} 
[2026-08-08 23:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26fbed0012d06dc0006fd24b8000e008e2f..."} 
[2026-08-08 23:07:10] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26fbed0012d06dc0006fd24b8000e008e2f..."} 
[2026-08-08 23:07:10] local.INFO: Packet analysis {"connection_id":150908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:07:10] local.INFO: Extracted packet for processing {"connection_id":150908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:07:10] local.INFO: GPS Element Parsed {"raw_longitude":755424256,"raw_latitude":117253304,"longitude_deg":75.5424256,"latitude_deg":11.7253304,"altitude":14,"angle":142,"satellites":47,"speed":29,"hex_longitude":"2d06dc00","hex_latitude":"06fd24b8","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269859328001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376101051931033600,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":487796164658296832,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786210402000,"timestamp_ms":1786210402000,"timestamp_seconds":1786210402,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26fbed0"} 
[2026-08-08 23:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:07: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-08-08 23:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269859328001,"66":27441,"232":206,"94":11008,"24":29,"16":376101051931033600,"45":487796164658296832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-08 23:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269859328001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376101051931033600,"km_value":376101051931033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":487796164658296832,"description":"Unknown IO ID 45"} 
[2026-08-08 23:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269859328001,"power":27441,"unknown_232":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":487796164658296832}} 
[2026-08-08 23:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":150908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:07:10] local.INFO: GPS data processed {"connection_id":150908,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:07:10] local.INFO: Acknowledgment sent {"connection_id":150908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:07:14] local.INFO: TCP Data received {"connection_id":150907,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:07:14] local.INFO: Processing buffer {"connection_id":150907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:07:14] local.INFO: Packet analysis {"connection_id":150907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:07:14] local.INFO: Extracted packet for processing {"connection_id":150907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":150907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:07:14] local.INFO: GPS data processed {"connection_id":150907,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:07:14] local.INFO: Acknowledgment sent {"connection_id":150907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:07:41] local.INFO: TCP Data received {"connection_id":153274,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:07:41] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:07:41] local.INFO: IMEI packet received {"connection_id":153274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-08 23:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":153274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:07:45] local.INFO: TCP Data received {"connection_id":150908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe272f320012d07ca8006fc0d50001100952f..."} 
[2026-08-08 23:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe272f320012d07ca8006fc0d50001100952f..."} 
[2026-08-08 23:07:45] local.INFO: Processing buffer {"connection_id":150908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe272f320012d07ca8006fc0d50001100952f..."} 
[2026-08-08 23:07:45] local.INFO: Packet analysis {"connection_id":150908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe272"} 
[2026-08-08 23:07:45] local.INFO: Extracted packet for processing {"connection_id":150908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe272"} 
[2026-08-08 23:07:45] local.INFO: GPS Element Parsed {"raw_longitude":755485312,"raw_latitude":117181776,"longitude_deg":75.5485312,"latitude_deg":11.7181776,"altitude":17,"angle":149,"satellites":47,"speed":10,"hex_longitude":"2d07ca80","hex_latitude":"06fc0d50","is_valid_coordinates":true} 
[2026-08-08 23:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269911296001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376105583121530880,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558516752537421824,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786210612000,"timestamp_ms":1786210612000,"timestamp_seconds":1786210612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe272f320"} 
[2026-08-08 23:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:07: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-08-08 23:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269911296001,"66":27571,"169":206,"94":11008,"24":10,"16":376105583121530880,"45":558516752537421824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-08 23:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269911296001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:07:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 23:07:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376105583121530880,"km_value":376105583121530.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":558516752537421824,"description":"Unknown IO ID 45"} 
[2026-08-08 23:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269911296001,"power":27571,"unknown_169":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":558516752537421824}} 
[2026-08-08 23:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":150908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:07:45] local.INFO: GPS data processed {"connection_id":150908,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:07:45] local.INFO: Acknowledgment sent {"connection_id":150908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:07:46] local.INFO: TCP Data received {"connection_id":153274,"ip":"117.224.169.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:07:46] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-08 23:07:46] local.INFO: IMEI packet received {"connection_id":153274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-08 23:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":153274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:07:47] local.INFO: TCP Data received {"connection_id":153274,"ip":"117.224.169.58","data_length":795,"data_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:07:47] local.INFO: Processing buffer {"connection_id":153274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe26f3a00012d196a80071fef680047011720..."} 
[2026-08-08 23:07:47] local.INFO: Packet analysis {"connection_id":153274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:07:47] local.INFO: Extracted packet for processing {"connection_id":153274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe26f"} 
[2026-08-08 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119533416,"longitude_deg":75.6640384,"latitude_deg":11.9533416,"altitude":71,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d196a80","hex_latitude":"071fef68","is_valid_coordinates":true} 
[2026-08-08 23:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269777408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":11647538989891584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568437760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786210368000,"timestamp_ms":1786210368000,"timestamp_seconds":1786210368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe26f3a00"} 
[2026-08-08 23:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-08 23:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-08 23:07: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-08-08 23:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":153274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":153274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":153274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-08 23:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.169.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-08 23:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-08 23:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269777408001,"66":2166,"121":206,"28":31744,"24":0,"16":11647538989891584,"45":1831416966568437760},"client_ip":"117.224.169.58","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-08 23:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-08 23:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269777408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-08 23:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":11647538989891584,"km_value":11647538989891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568437760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269777408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568437760}} 
[2026-08-08 23:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":153274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:07:47] local.INFO: GPS data processed {"connection_id":153274,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:07:47] local.INFO: Acknowledgment sent {"connection_id":153274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:08:03] local.INFO: TCP Data received {"connection_id":150591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:03] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:03] local.INFO: IMEI packet received {"connection_id":150591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":150591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:08:07] local.INFO: TCP Data received {"connection_id":150591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:07] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:07] local.INFO: IMEI packet received {"connection_id":150591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":150591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:08:08] local.INFO: TCP Data received {"connection_id":150591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:08] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:08:08] local.INFO: IMEI packet received {"connection_id":150591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":150591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:08:13] local.INFO: TCP Data received {"connection_id":150591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe272f320012d07ca8006fc0d50001100952f..."} 
[2026-08-08 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe272f320012d07ca8006fc0d50001100952f..."} 
[2026-08-08 23:08:13] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe272f320012d07ca8006fc0d50001100952f..."} 
[2026-08-08 23:08:13] local.INFO: Packet analysis {"connection_id":150591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe272"} 
[2026-08-08 23:08:13] local.INFO: Extracted packet for processing {"connection_id":150591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe272"} 
[2026-08-08 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":755485312,"raw_latitude":117181776,"longitude_deg":75.5485312,"latitude_deg":11.7181776,"altitude":17,"angle":149,"satellites":47,"speed":10,"hex_longitude":"2d07ca80","hex_latitude":"06fc0d50","is_valid_coordinates":true} 
[2026-08-08 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269916672001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376105583121530880,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561401871047938048,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786210612000,"timestamp_ms":1786210612000,"timestamp_seconds":1786210612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe272f320"} 
[2026-08-08 23:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:08: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-08-08 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 23:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":150591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":150591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":150591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269916672001,"66":27571,"169":206,"94":11008,"24":10,"16":376105583121530880,"45":561401871047938048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-08 23:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269916672001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:08:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 23:08:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376105583121530880,"km_value":376105583121530.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":561401871047938048,"description":"Unknown IO ID 45"} 
[2026-08-08 23:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269916672001,"power":27571,"unknown_169":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":561401871047938048}} 
[2026-08-08 23:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":150591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:08:13] local.INFO: GPS data processed {"connection_id":150591,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:08:13] local.INFO: Acknowledgment sent {"connection_id":150591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:08:14] local.INFO: TCP Data received {"connection_id":150591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe272faf0012d07cbc006fc0b80001100882f..."} 
[2026-08-08 23:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe272faf0012d07cbc006fc0b80001100882f..."} 
[2026-08-08 23:08:14] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe272faf0012d07cbc006fc0b80001100882f..."} 
[2026-08-08 23:08:14] local.INFO: Packet analysis {"connection_id":150591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe272"} 
[2026-08-08 23:08:14] local.INFO: Extracted packet for processing {"connection_id":150591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe272"} 
[2026-08-08 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":755485632,"raw_latitude":117181312,"longitude_deg":75.5485632,"latitude_deg":11.7181312,"altitude":17,"angle":136,"satellites":47,"speed":11,"hex_longitude":"2d07cbc0","hex_latitude":"06fc0b80","is_valid_coordinates":true} 
[2026-08-08 23:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269916672001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376105608891334656,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561401871047938048,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210614000,"timestamp_ms":1786210614000,"timestamp_seconds":1786210614,"priority":1,"record_length":96,"hex_timestamp":"0000019fe272faf0"} 
[2026-08-08 23:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 23:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269916672001,"66":27517,"169":206,"94":11008,"24":11,"16":376105608891334656,"45":561401871047938048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-08 23:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269916672001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:08:14] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 23:08:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376105608891334656,"km_value":376105608891334.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":561401871047938048,"description":"Unknown IO ID 45"} 
[2026-08-08 23:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269916672001,"power":27517,"unknown_169":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":561401871047938048}} 
[2026-08-08 23:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":150591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:08:14] local.INFO: GPS data processed {"connection_id":150591,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:08:14] local.INFO: Acknowledgment sent {"connection_id":150591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:08:55] local.INFO: TCP Data received {"connection_id":150591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2733588012d07e30006fbf0f8000b008b2d..."} 
[2026-08-08 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2733588012d07e30006fbf0f8000b008b2d..."} 
[2026-08-08 23:08:55] local.INFO: Processing buffer {"connection_id":150591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2733588012d07e30006fbf0f8000b008b2d..."} 
[2026-08-08 23:08:55] local.INFO: Packet analysis {"connection_id":150591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe273"} 
[2026-08-08 23:08:55] local.INFO: Extracted packet for processing {"connection_id":150591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe273"} 
[2026-08-08 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755491584,"raw_latitude":117174520,"longitude_deg":75.5491584,"latitude_deg":11.717452,"altitude":11,"angle":139,"satellites":45,"speed":34,"hex_longitude":"2d07e300","hex_latitude":"06fbf0f8","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269917184001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376106042683031552,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561753714768707584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1786210629000,"timestamp_ms":1786210629000,"timestamp_seconds":1786210629,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2733588"} 
[2026-08-08 23:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 23:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":150591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":150591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":150591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269917184001,"66":27365,"169":206,"94":11008,"24":34,"16":376106042683031552,"45":561753714768707584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-08 23:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269917184001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:08:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 23:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376106042683031552,"km_value":376106042683031.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":561753714768707584,"description":"Unknown IO ID 45"} 
[2026-08-08 23:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269917184001,"power":27365,"unknown_169":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":561753714768707584}} 
[2026-08-08 23:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":150591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:08:55] local.INFO: GPS data processed {"connection_id":150591,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:08:55] local.INFO: Acknowledgment sent {"connection_id":150591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:09:12] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:09:12] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:09:12] local.INFO: IMEI packet received {"connection_id":151794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":151794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:09:15] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:09:15] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:09:15] local.INFO: IMEI packet received {"connection_id":151794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":151794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:10:03] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:10:03] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:10:03] local.INFO: IMEI packet received {"connection_id":150909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":150909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:10:06] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:10:06] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:10:06] local.INFO: IMEI packet received {"connection_id":150909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":150909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:10:15] local.INFO: TCP Data received {"connection_id":151794,"ip":"42.106.6.19","data_length":1348,"data_hex":"000000000000030f8e0a0000019fe2735c98012d07f98006fbd6280008008e2d..."} 
[2026-08-08 23:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151794,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019fe2735c98012d07f98006fbd6280008008e2d..."} 
[2026-08-08 23:10:15] local.INFO: Processing buffer {"connection_id":151794,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019fe2735c98012d07f98006fbd6280008008e2d..."} 
[2026-08-08 23:10:15] local.INFO: Packet analysis {"connection_id":151794,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019fe273"} 
[2026-08-08 23:10:15] local.INFO: Extracted packet for processing {"connection_id":151794,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fe273"} 
[2026-08-08 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":755497344,"raw_latitude":117167656,"longitude_deg":75.5497344,"latitude_deg":11.7167656,"altitude":8,"angle":142,"satellites":45,"speed":37,"hex_longitude":"2d07f980","hex_latitude":"06fbd628","is_valid_coordinates":true} 
[2026-08-08 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269921024001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376106476474728448,"note":"Value kept but may cause issues"} 
[2026-08-08 23:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":568298007975491584,"note":"Value kept but may cause issues"} 
[2026-08-08 23:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786210639000,"timestamp_ms":1786210639000,"timestamp_seconds":1786210639,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2735c98"} 
[2026-08-08 23:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:10: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-08-08 23:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269921024001,"66":27343,"169":206,"94":11008,"24":37,"16":376106476474728448,"45":568298007975491584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-08 23:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269921024001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:10:15] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-08 23:10:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376106476474728448,"km_value":376106476474728.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":568298007975491584,"description":"Unknown IO ID 45"} 
[2026-08-08 23:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269921024001,"power":27343,"unknown_169":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":568298007975491584}} 
[2026-08-08 23:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":151794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:10:15] local.INFO: GPS data processed {"connection_id":151794,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:10:15] local.INFO: Acknowledgment sent {"connection_id":151794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:10:15] local.INFO: Packet analysis {"connection_id":151794,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019fe273"} 
[2026-08-08 23:10:15] local.INFO: Incomplete packet, waiting for more data {"connection_id":151794,"needed":795,"available":553} 
[2026-08-08 23:10:16] local.INFO: TCP Data received {"connection_id":150909,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe274faa8012d08458006fa4ed8000b00be2f..."} 
[2026-08-08 23:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe274faa8012d08458006fa4ed8000b00be2f..."} 
[2026-08-08 23:10:16] local.INFO: Processing buffer {"connection_id":150909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe274faa8012d08458006fa4ed8000b00be2f..."} 
[2026-08-08 23:10:16] local.INFO: Packet analysis {"connection_id":150909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe274"} 
[2026-08-08 23:10:16] local.INFO: Extracted packet for processing {"connection_id":150909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe274"} 
[2026-08-08 23:10:16] local.INFO: GPS Element Parsed {"raw_longitude":755516800,"raw_latitude":117067480,"longitude_deg":75.55168,"latitude_deg":11.706748,"altitude":11,"angle":190,"satellites":47,"speed":48,"hex_longitude":"2d084580","hex_latitude":"06fa4ed8","is_valid_coordinates":true} 
[2026-08-08 23:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269948672001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376111540241170432,"note":"Value kept but may cause issues"} 
[2026-08-08 23:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":597571405528434688,"note":"Value kept but may cause issues"} 
[2026-08-08 23:10:16] 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-08-08 23:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786210745000,"timestamp_ms":1786210745000,"timestamp_seconds":1786210745,"priority":1,"record_length":96,"hex_timestamp":"0000019fe274faa8"} 
[2026-08-08 23:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":150909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":150909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":150909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269948672001,"66":27376,"4":206,"94":11008,"24":48,"16":376111540241170432,"45":597571405528434688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,94,24,16,45]} 
[2026-08-08 23:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269948672001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:10:16] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-08 23:10:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376111540241170432,"km_value":376111540241170.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":597571405528434688,"description":"Unknown IO ID 45"} 
[2026-08-08 23:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269948672001,"power":27376,"unknown_4":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":597571405528434688}} 
[2026-08-08 23:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":150909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:10:16] local.INFO: GPS data processed {"connection_id":150909,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:10:16] local.INFO: Acknowledgment sent {"connection_id":150909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:11:03] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:03] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:03] local.INFO: IMEI packet received {"connection_id":150592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":150592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:11:04] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:04] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:04] local.INFO: IMEI packet received {"connection_id":150592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":150592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:11:08] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:08] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:11:08] local.INFO: IMEI packet received {"connection_id":150592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":150592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:11:09] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27519e8012d083d4006fa2890000b00c22f..."} 
[2026-08-08 23:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27519e8012d083d4006fa2890000b00c22f..."} 
[2026-08-08 23:11:09] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27519e8012d083d4006fa2890000b00c22f..."} 
[2026-08-08 23:11:09] local.INFO: Packet analysis {"connection_id":150592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe275"} 
[2026-08-08 23:11:09] local.INFO: Extracted packet for processing {"connection_id":150592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe275"} 
[2026-08-08 23:11:09] local.INFO: GPS Element Parsed {"raw_longitude":755514688,"raw_latitude":117057680,"longitude_deg":75.5514688,"latitude_deg":11.705768,"altitude":11,"angle":194,"satellites":47,"speed":50,"hex_longitude":"2d083d40","hex_latitude":"06fa2890","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269950720001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376112025572474880,"note":"Value kept but may cause issues"} 
[2026-08-08 23:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":596023293154088960,"note":"Value kept but may cause issues"} 
[2026-08-08 23:11:09] 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-08-08 23:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786210753000,"timestamp_ms":1786210753000,"timestamp_seconds":1786210753,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27519e8"} 
[2026-08-08 23:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:11: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-08-08 23: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269950720001,"66":27397,"4":206,"94":11008,"24":50,"16":376112025572474880,"45":596023293154088960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,94,24,16,45]} 
[2026-08-08 23:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269950720001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:11:09] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-08-08 23:11:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-08 23:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376112025572474880,"km_value":376112025572474.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":596023293154088960,"description":"Unknown IO ID 45"} 
[2026-08-08 23:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269950720001,"power":27397,"unknown_4":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":596023293154088960}} 
[2026-08-08 23:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":150592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:11:09] local.INFO: GPS data processed {"connection_id":150592,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:11:09] local.INFO: Acknowledgment sent {"connection_id":150592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:11:41] local.INFO: TCP Data received {"connection_id":150592,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2767978012d07bc8006f89af0001100c52f..."} 
[2026-08-08 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2767978012d07bc8006f89af0001100c52f..."} 
[2026-08-08 23:11:41] local.INFO: Processing buffer {"connection_id":150592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2767978012d07bc8006f89af0001100c52f..."} 
[2026-08-08 23:11:41] local.INFO: Packet analysis {"connection_id":150592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe276"} 
[2026-08-08 23:11:41] local.INFO: Extracted packet for processing {"connection_id":150592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe276"} 
[2026-08-08 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":755481728,"raw_latitude":116955888,"longitude_deg":75.5481728,"latitude_deg":11.6955888,"altitude":17,"angle":197,"satellites":47,"speed":45,"hex_longitude":"2d07bc80","hex_latitude":"06f89af0","is_valid_coordinates":true} 
[2026-08-08 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269973504001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376117205303033856,"note":"Value kept but may cause issues"} 
[2026-08-08 23:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":560909289783287808,"note":"Value kept but may cause issues"} 
[2026-08-08 23:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786210843000,"timestamp_ms":1786210843000,"timestamp_seconds":1786210843,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2767978"} 
[2026-08-08 23:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:11: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-08-08 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 23:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:11: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-08-08 23:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269973504001,"66":27376,"42":206,"80":6400,"24":45,"16":376117205303033856,"45":560909289783287808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269973504001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:11:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:11:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376117205303033856,"km_value":376117205303033.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":560909289783287808,"description":"Unknown IO ID 45"} 
[2026-08-08 23:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269973504001,"power":27376,"unknown_42":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":560909289783287808}} 
[2026-08-08 23:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":150592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:11:41] local.INFO: GPS data processed {"connection_id":150592,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:11:41] local.INFO: Acknowledgment sent {"connection_id":150592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:12:03] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:03] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:03] local.INFO: IMEI packet received {"connection_id":150910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":150910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:12:07] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:07] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:07] local.INFO: IMEI packet received {"connection_id":150910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":150910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:12:08] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:08] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:12:08] local.INFO: IMEI packet received {"connection_id":150910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":150910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:12:09] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27698b8012d07b24006f87798001200c22f..."} 
[2026-08-08 23:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27698b8012d07b24006f87798001200c22f..."} 
[2026-08-08 23:12:09] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27698b8012d07b24006f87798001200c22f..."} 
[2026-08-08 23:12:09] local.INFO: Packet analysis {"connection_id":150910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe276"} 
[2026-08-08 23:12:09] local.INFO: Extracted packet for processing {"connection_id":150910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe276"} 
[2026-08-08 23:12:09] local.INFO: GPS Element Parsed {"raw_longitude":755479104,"raw_latitude":116946840,"longitude_deg":75.5479104,"latitude_deg":11.694684,"altitude":18,"angle":194,"satellites":47,"speed":48,"hex_longitude":"2d07b240","hex_latitude":"06f87798","is_valid_coordinates":true} 
[2026-08-08 23:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269975808001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376117660569567232,"note":"Value kept but may cause issues"} 
[2026-08-08 23:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557461221316161536,"note":"Value kept but may cause issues"} 
[2026-08-08 23:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786210851000,"timestamp_ms":1786210851000,"timestamp_seconds":1786210851,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27698b8"} 
[2026-08-08 23:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:12: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-08-08 23: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-08-08 23: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-08-08 23:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269975808001,"66":27517,"42":206,"80":6400,"24":48,"16":376117660569567232,"45":557461221316161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269975808001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:12:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:12:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376117660569567232,"km_value":376117660569567.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":557461221316161536,"description":"Unknown IO ID 45"} 
[2026-08-08 23:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269975808001,"power":27517,"unknown_42":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":557461221316161536}} 
[2026-08-08 23:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":150910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:12:09] local.INFO: GPS data processed {"connection_id":150910,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:12:09] local.INFO: Acknowledgment sent {"connection_id":150910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:12:40] local.INFO: TCP Data received {"connection_id":150910,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe276b7f8012d07a80006f85260001200c32f..."} 
[2026-08-08 23:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe276b7f8012d07a80006f85260001200c32f..."} 
[2026-08-08 23:12:40] local.INFO: Processing buffer {"connection_id":150910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe276b7f8012d07a80006f85260001200c32f..."} 
[2026-08-08 23:12:40] local.INFO: Packet analysis {"connection_id":150910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe276"} 
[2026-08-08 23:12:40] local.INFO: Extracted packet for processing {"connection_id":150910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe276"} 
[2026-08-08 23:12:40] local.INFO: GPS Element Parsed {"raw_longitude":755476480,"raw_latitude":116937312,"longitude_deg":75.547648,"latitude_deg":11.6937312,"altitude":18,"angle":195,"satellites":47,"speed":49,"hex_longitude":"2d07a800","hex_latitude":"06f85260","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269977856001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376118137310937088,"note":"Value kept but may cause issues"} 
[2026-08-08 23:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554576102802561024,"note":"Value kept but may cause issues"} 
[2026-08-08 23:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786210859000,"timestamp_ms":1786210859000,"timestamp_seconds":1786210859,"priority":1,"record_length":96,"hex_timestamp":"0000019fe276b7f8"} 
[2026-08-08 23:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":125,"data_length":795,"current_offset":136} 
[2026-08-08 23:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269977856001,"66":27484,"42":206,"80":6400,"24":49,"16":376118137310937088,"45":554576102802561024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269977856001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:12:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:12:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376118137310937088,"km_value":376118137310937.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":554576102802561024,"description":"Unknown IO ID 45"} 
[2026-08-08 23:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269977856001,"power":27484,"unknown_42":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":554576102802561024}} 
[2026-08-08 23:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":150910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:12:40] local.INFO: GPS data processed {"connection_id":150910,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:12:40] local.INFO: Acknowledgment sent {"connection_id":150910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:13:09] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:09] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:09] local.INFO: IMEI packet received {"connection_id":153275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":153275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:13:10] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:10] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:10] local.INFO: IMEI packet received {"connection_id":153275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":153275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:13:13] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:13] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:13:13] local.INFO: IMEI packet received {"connection_id":153275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":153275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:13:14] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe277d138012d075b4006f6fd300014009f30..."} 
[2026-08-08 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe277d138012d075b4006f6fd300014009f30..."} 
[2026-08-08 23:13:14] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe277d138012d075b4006f6fd300014009f30..."} 
[2026-08-08 23:13:14] local.INFO: Packet analysis {"connection_id":153275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe277"} 
[2026-08-08 23:13:14] local.INFO: Extracted packet for processing {"connection_id":153275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe277"} 
[2026-08-08 23:13:14] local.INFO: GPS Element Parsed {"raw_longitude":755456832,"raw_latitude":116849968,"longitude_deg":75.5456832,"latitude_deg":11.6849968,"altitude":20,"angle":159,"satellites":48,"speed":45,"hex_longitude":"2d075b40","hex_latitude":"06f6fd30","is_valid_coordinates":true} 
[2026-08-08 23:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269996800001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376122535357448192,"note":"Value kept but may cause issues"} 
[2026-08-08 23:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":528187823712808960,"note":"Value kept but may cause issues"} 
[2026-08-08 23:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786210931000,"timestamp_ms":1786210931000,"timestamp_seconds":1786210931,"priority":1,"record_length":96,"hex_timestamp":"0000019fe277d138"} 
[2026-08-08 23:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 23:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":153275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269996800001,"66":27343,"42":206,"80":6400,"24":45,"16":376122535357448192,"45":528187823712808960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269996800001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:13:14] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:13:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376122535357448192,"km_value":376122535357448.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":528187823712808960,"description":"Unknown IO ID 45"} 
[2026-08-08 23:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269996800001,"power":27343,"unknown_42":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":528187823712808960}} 
[2026-08-08 23:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":153275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:13:14] local.INFO: GPS data processed {"connection_id":153275,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:13:14] local.INFO: Acknowledgment sent {"connection_id":153275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:13:45] local.INFO: TCP Data received {"connection_id":153275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe277e8a8012d07688006f6e4900014009330..."} 
[2026-08-08 23:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe277e8a8012d07688006f6e4900014009330..."} 
[2026-08-08 23:13:45] local.INFO: Processing buffer {"connection_id":153275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe277e8a8012d07688006f6e4900014009330..."} 
[2026-08-08 23:13:45] local.INFO: Packet analysis {"connection_id":153275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe277"} 
[2026-08-08 23:13:45] local.INFO: Extracted packet for processing {"connection_id":153275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe277"} 
[2026-08-08 23:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755460224,"raw_latitude":116843664,"longitude_deg":75.5460224,"latitude_deg":11.6843664,"altitude":20,"angle":147,"satellites":48,"speed":48,"hex_longitude":"2d076880","hex_latitude":"06f6e490","is_valid_coordinates":true} 
[2026-08-08 23:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269998336001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376122878954831872,"note":"Value kept but may cause issues"} 
[2026-08-08 23:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530087779803934720,"note":"Value kept but may cause issues"} 
[2026-08-08 23:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786210937000,"timestamp_ms":1786210937000,"timestamp_seconds":1786210937,"priority":1,"record_length":96,"hex_timestamp":"0000019fe277e8a8"} 
[2026-08-08 23:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":153275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":153275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:13: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-08-08 23:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269998336001,"66":27376,"42":206,"80":6400,"24":48,"16":376122878954831872,"45":530087779803934720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269998336001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:13:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:13:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376122878954831872,"km_value":376122878954831.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":530087779803934720,"description":"Unknown IO ID 45"} 
[2026-08-08 23:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269998336001,"power":27376,"unknown_42":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":530087779803934720}} 
[2026-08-08 23:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":153275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:13:45] local.INFO: GPS data processed {"connection_id":153275,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:13:45] local.INFO: Acknowledgment sent {"connection_id":153275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:14:02] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:02] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:02] local.INFO: IMEI packet received {"connection_id":150911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":150911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:14:03] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:03] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:03] local.INFO: IMEI packet received {"connection_id":150911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":150911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:14:09] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:09] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:14:09] local.INFO: IMEI packet received {"connection_id":150911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":150911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:14:12] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27807e8012d07808006f6c5380012008c30..."} 
[2026-08-08 23:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27807e8012d07808006f6c5380012008c30..."} 
[2026-08-08 23:14:12] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27807e8012d07808006f6c5380012008c30..."} 
[2026-08-08 23:14:12] local.INFO: Packet analysis {"connection_id":150911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:14:12] local.INFO: Extracted packet for processing {"connection_id":150911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:14:12] local.INFO: GPS Element Parsed {"raw_longitude":755466368,"raw_latitude":116835640,"longitude_deg":75.5466368,"latitude_deg":11.683564,"altitude":18,"angle":140,"satellites":48,"speed":51,"hex_longitude":"2d078080","hex_latitude":"06f6c538","is_valid_coordinates":true} 
[2026-08-08 23:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457269999872001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376123364286136320,"note":"Value kept but may cause issues"} 
[2026-08-08 23:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533817323243737088,"note":"Value kept but may cause issues"} 
[2026-08-08 23:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1786210945000,"timestamp_ms":1786210945000,"timestamp_seconds":1786210945,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27807e8"} 
[2026-08-08 23:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":150911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":150911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":150911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457269999872001,"66":27484,"42":206,"80":6400,"24":51,"16":376123364286136320,"45":533817323243737088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457269999872001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:14:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:14:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376123364286136320,"km_value":376123364286136.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":533817323243737088,"description":"Unknown IO ID 45"} 
[2026-08-08 23:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457269999872001,"power":27484,"unknown_42":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":533817323243737088}} 
[2026-08-08 23:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":150911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:14:12] local.INFO: GPS data processed {"connection_id":150911,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:14:12] local.INFO: Acknowledgment sent {"connection_id":150911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:14:50] local.INFO: TCP Data received {"connection_id":150911,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2782340012d0798c006f6a9100010008b30..."} 
[2026-08-08 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2782340012d0798c006f6a9100010008b30..."} 
[2026-08-08 23:14:50] local.INFO: Processing buffer {"connection_id":150911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2782340012d0798c006f6a9100010008b30..."} 
[2026-08-08 23:14:50] local.INFO: Packet analysis {"connection_id":150911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:14:50] local.INFO: Extracted packet for processing {"connection_id":150911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:14:50] local.INFO: GPS Element Parsed {"raw_longitude":755472576,"raw_latitude":116828432,"longitude_deg":75.5472576,"latitude_deg":11.6828432,"altitude":16,"angle":139,"satellites":48,"speed":54,"hex_longitude":"2d0798c0","hex_latitude":"06f6a910","is_valid_coordinates":true} 
[2026-08-08 23:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270001920001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376123823847636992,"note":"Value kept but may cause issues"} 
[2026-08-08 23:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":540572722682738688,"note":"Value kept but may cause issues"} 
[2026-08-08 23:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1786210952000,"timestamp_ms":1786210952000,"timestamp_seconds":1786210952,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2782340"} 
[2026-08-08 23:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 23:14: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-08-08 23:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":150911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":150911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":150911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270001920001,"66":27463,"42":206,"80":6400,"24":54,"16":376123823847636992,"45":540572722682738688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270001920001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:14:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:14:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376123823847636992,"km_value":376123823847637.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":540572722682738688,"description":"Unknown IO ID 45"} 
[2026-08-08 23:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270001920001,"power":27463,"unknown_42":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":540572722682738688}} 
[2026-08-08 23:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":150911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:14:50] local.INFO: GPS data processed {"connection_id":150911,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:14:50] local.INFO: Acknowledgment sent {"connection_id":150911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:15:03] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:15:03] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:15:03] local.INFO: IMEI packet received {"connection_id":151795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":151795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:15:09] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:15:09] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:15:09] local.INFO: IMEI packet received {"connection_id":151795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":151795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:15:10] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2783e98012d07b0c006f68c20000e008d2e..."} 
[2026-08-08 23:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2783e98012d07b0c006f68c20000e008d2e..."} 
[2026-08-08 23:15:10] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2783e98012d07b0c006f68c20000e008d2e..."} 
[2026-08-08 23:15:10] local.INFO: Packet analysis {"connection_id":151795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:15:10] local.INFO: Extracted packet for processing {"connection_id":151795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":755478720,"raw_latitude":116821024,"longitude_deg":75.547872,"latitude_deg":11.6821024,"altitude":14,"angle":141,"satellites":46,"speed":54,"hex_longitude":"2d07b0c0","hex_latitude":"06f68c20","is_valid_coordinates":true} 
[2026-08-08 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270003712001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376124287704104960,"note":"Value kept but may cause issues"} 
[2026-08-08 23:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":547398490866126848,"note":"Value kept but may cause issues"} 
[2026-08-08 23:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786210959000,"timestamp_ms":1786210959000,"timestamp_seconds":1786210959,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2783e98"} 
[2026-08-08 23:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:15: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-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:15: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-08-08 23:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270003712001,"66":27517,"42":206,"80":6400,"24":54,"16":376124287704104960,"45":547398490866126848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270003712001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376124287704104960,"km_value":376124287704104.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":547398490866126848,"description":"Unknown IO ID 45"} 
[2026-08-08 23:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270003712001,"power":27517,"unknown_42":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":547398490866126848}} 
[2026-08-08 23:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":151795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:15:10] local.INFO: GPS data processed {"connection_id":151795,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:15:10] local.INFO: Acknowledgment sent {"connection_id":151795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:15:42] local.INFO: TCP Data received {"connection_id":151795,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27859f0012d07c74006f670f0000c008b2c..."} 
[2026-08-08 23:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27859f0012d07c74006f670f0000c008b2c..."} 
[2026-08-08 23:15:42] local.INFO: Processing buffer {"connection_id":151795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27859f0012d07c74006f670f0000c008b2c..."} 
[2026-08-08 23:15:42] local.INFO: Packet analysis {"connection_id":151795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:15:42] local.INFO: Extracted packet for processing {"connection_id":151795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe278"} 
[2026-08-08 23:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755484480,"raw_latitude":116814064,"longitude_deg":75.548448,"latitude_deg":11.6814064,"altitude":12,"angle":139,"satellites":44,"speed":44,"hex_longitude":"2d07c740","hex_latitude":"06f670f0","is_valid_coordinates":true} 
[2026-08-08 23:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270005504001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376124721495801856,"note":"Value kept but may cause issues"} 
[2026-08-08 23:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554153890305286144,"note":"Value kept but may cause issues"} 
[2026-08-08 23:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786210966000,"timestamp_ms":1786210966000,"timestamp_seconds":1786210966,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27859f0"} 
[2026-08-08 23:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 23:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:15: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-08-08 23:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270005504001,"66":27539,"42":206,"80":6400,"24":44,"16":376124721495801856,"45":554153890305286144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-08 23:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270005504001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:15:42] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-08 23:15:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376124721495801856,"km_value":376124721495801.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":554153890305286144,"description":"Unknown IO ID 45"} 
[2026-08-08 23:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270005504001,"power":27539,"unknown_42":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":554153890305286144}} 
[2026-08-08 23:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":151795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:15:42] local.INFO: GPS data processed {"connection_id":151795,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:15:42] local.INFO: Acknowledgment sent {"connection_id":151795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:16:09] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:09] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:09] local.INFO: IMEI packet received {"connection_id":150593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":150593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:16:09] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:09] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:09] local.INFO: IMEI packet received {"connection_id":150593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":150593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:16:14] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:14] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:16:14] local.INFO: IMEI packet received {"connection_id":150593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":150593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:16:15] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27a84a0012d08510006f5d440000f008f2e..."} 
[2026-08-08 23:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27a84a0012d08510006f5d440000f008f2e..."} 
[2026-08-08 23:16:15] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27a84a0012d08510006f5d440000f008f2e..."} 
[2026-08-08 23:16:15] local.INFO: Packet analysis {"connection_id":150593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:16:15] local.INFO: Extracted packet for processing {"connection_id":150593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:16:15] local.INFO: GPS Element Parsed {"raw_longitude":755519744,"raw_latitude":116773952,"longitude_deg":75.5519744,"latitude_deg":11.6773952,"altitude":15,"angle":143,"satellites":46,"speed":25,"hex_longitude":"2d085100","hex_latitude":"06f5d440","is_valid_coordinates":true} 
[2026-08-08 23:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270040576001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376127302771146752,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":592786330848694272,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786211108000,"timestamp_ms":1786211108000,"timestamp_seconds":1786211108,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27a84a0"} 
[2026-08-08 23:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 23:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270040576001,"66":27343,"12":206,"80":6400,"24":25,"16":376127302771146752,"45":592786330848694272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-08 23:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270040576001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:16:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 23:16:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376127302771146752,"km_value":376127302771146.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":592786330848694272,"description":"Unknown IO ID 45"} 
[2026-08-08 23:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270040576001,"power":27343,"unknown_12":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":592786330848694272}} 
[2026-08-08 23:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":150593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:16:15] local.INFO: GPS data processed {"connection_id":150593,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:16:15] local.INFO: Acknowledgment sent {"connection_id":150593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:16:17] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27abb50012d08670006f5b680000e00912e..."} 
[2026-08-08 23:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27abb50012d08670006f5b680000e00912e..."} 
[2026-08-08 23:16:17] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27abb50012d08670006f5b680000e00912e..."} 
[2026-08-08 23:16:17] local.INFO: Packet analysis {"connection_id":150593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:16:17] local.INFO: Extracted packet for processing {"connection_id":150593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":755525376,"raw_latitude":116766336,"longitude_deg":75.5525376,"latitude_deg":11.6766336,"altitude":14,"angle":145,"satellites":46,"speed":35,"hex_longitude":"2d086700","hex_latitude":"06f5b680","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270043648001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376127758037680128,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":599260255311118336,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786211122000,"timestamp_ms":1786211122000,"timestamp_seconds":1786211122,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27abb50"} 
[2026-08-08 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-08-08 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:16: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-08-08 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-08-08 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-08-08 23:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270043648001,"66":27365,"12":206,"80":6400,"24":35,"16":376127758037680128,"45":599260255311118336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-08 23:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270043648001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:16:17] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 23:16:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376127758037680128,"km_value":376127758037680.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":599260255311118336,"description":"Unknown IO ID 45"} 
[2026-08-08 23:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270043648001,"power":27365,"unknown_12":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":599260255311118336}} 
[2026-08-08 23:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":150593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:16:17] local.INFO: GPS data processed {"connection_id":150593,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:16:17] local.INFO: Acknowledgment sent {"connection_id":150593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:16:48] local.INFO: TCP Data received {"connection_id":150593,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27ade78012d087c0006f599b0000c008f2e..."} 
[2026-08-08 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27ade78012d087c0006f599b0000c008f2e..."} 
[2026-08-08 23:16:48] local.INFO: Processing buffer {"connection_id":150593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27ade78012d087c0006f599b0000c008f2e..."} 
[2026-08-08 23:16:48] local.INFO: Packet analysis {"connection_id":150593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:16:48] local.INFO: Extracted packet for processing {"connection_id":150593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:16:48] local.INFO: GPS Element Parsed {"raw_longitude":755530752,"raw_latitude":116758960,"longitude_deg":75.5530752,"latitude_deg":11.675896,"altitude":12,"angle":143,"satellites":46,"speed":44,"hex_longitude":"2d087c00","hex_latitude":"06f599b0","is_valid_coordinates":true} 
[2026-08-08 23:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270047232001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376128200419311616,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":605452704796803072,"note":"Value kept but may cause issues"} 
[2026-08-08 23:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786211131000,"timestamp_ms":1786211131000,"timestamp_seconds":1786211131,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27ade78"} 
[2026-08-08 23:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:16: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-08-08 23:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270047232001,"66":27321,"12":206,"80":6400,"24":44,"16":376128200419311616,"45":605452704796803072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-08 23:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270047232001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376128200419311616,"km_value":376128200419311.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":605452704796803072,"description":"Unknown IO ID 45"} 
[2026-08-08 23:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270047232001,"power":27321,"unknown_12":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":605452704796803072}} 
[2026-08-08 23:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":150593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:16:48] local.INFO: GPS data processed {"connection_id":150593,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:16:48] local.INFO: Acknowledgment sent {"connection_id":150593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:17:08] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:08] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:08] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:17:14] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:14] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:14] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:17:18] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:18] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:17:18] local.INFO: IMEI packet received {"connection_id":151796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":151796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:17:19] local.INFO: TCP Data received {"connection_id":151796,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27afdb8012d0891c006f57b58000b00912e..."} 
[2026-08-08 23:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27afdb8012d0891c006f57b58000b00912e..."} 
[2026-08-08 23:17:19] local.INFO: Processing buffer {"connection_id":151796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27afdb8012d0891c006f57b58000b00912e..."} 
[2026-08-08 23:17:19] local.INFO: Packet analysis {"connection_id":151796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:17:19] local.INFO: Extracted packet for processing {"connection_id":151796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27a"} 
[2026-08-08 23:17:19] local.INFO: GPS Element Parsed {"raw_longitude":755536320,"raw_latitude":116751192,"longitude_deg":75.553632,"latitude_deg":11.6751192,"altitude":11,"angle":145,"satellites":46,"speed":48,"hex_longitude":"2d0891c0","hex_latitude":"06f57b58","is_valid_coordinates":true} 
[2026-08-08 23:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270049536001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376128659980812288,"note":"Value kept but may cause issues"} 
[2026-08-08 23:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":611363679305838592,"note":"Value kept but may cause issues"} 
[2026-08-08 23:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786211139000,"timestamp_ms":1786211139000,"timestamp_seconds":1786211139,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27afdb8"} 
[2026-08-08 23:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270049536001,"66":27376,"12":206,"80":6400,"24":48,"16":376128659980812288,"45":611363679305838592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-08 23:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270049536001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:17:19] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-08 23:17:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376128659980812288,"km_value":376128659980812.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":611363679305838592,"description":"Unknown IO ID 45"} 
[2026-08-08 23:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270049536001,"power":27376,"unknown_12":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":611363679305838592}} 
[2026-08-08 23:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":151796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:17:19] local.INFO: GPS data processed {"connection_id":151796,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:17:19] local.INFO: Acknowledgment sent {"connection_id":151796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:18:03] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:03] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:03] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:18:12] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:12] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:12] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:18:13] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:13] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:18:13] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:18:15] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.19","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:18:15] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:18:15] local.INFO: IMEI packet received {"connection_id":150912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":150912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:18:20] local.INFO: TCP Data received {"connection_id":150912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27c97e0012d0940c006f49ed0000a008f2f..."} 
[2026-08-08 23:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27c97e0012d0940c006f49ed0000a008f2f..."} 
[2026-08-08 23:18:20] local.INFO: Processing buffer {"connection_id":150912,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe27c6900012d092a4006f4bce0000900912f..."} 
[2026-08-08 23:18:20] local.INFO: Packet analysis {"connection_id":150912,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:18:20] local.INFO: Extracted packet for processing {"connection_id":150912,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":755575360,"raw_latitude":116702432,"longitude_deg":75.557536,"latitude_deg":11.6702432,"altitude":9,"angle":145,"satellites":47,"speed":31,"hex_longitude":"2d092a40","hex_latitude":"06f4bce0","is_valid_coordinates":true} 
[2026-08-08 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270072320001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376131696522690560,"note":"Value kept but may cause issues"} 
[2026-08-08 23:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654288613241651200,"note":"Value kept but may cause issues"} 
[2026-08-08 23:18:20] 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-08-08 23:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786211232000,"timestamp_ms":1786211232000,"timestamp_seconds":1786211232,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27c6900"} 
[2026-08-08 23:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:18: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-08-08 23:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270072320001,"66":27397,"227":206,"80":6400,"24":31,"16":376131696522690560,"45":654288613241651200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-08-08 23:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270072320001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376131696522690560,"km_value":376131696522690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":654288613241651200,"description":"Unknown IO ID 45"} 
[2026-08-08 23:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270072320001,"power":27397,"unknown_227":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":654288613241651200}} 
[2026-08-08 23:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":150912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:18:20] local.INFO: GPS data processed {"connection_id":150912,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:18:20] local.INFO: Acknowledgment sent {"connection_id":150912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:18:20] local.INFO: Packet analysis {"connection_id":150912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:18:20] local.INFO: Extracted packet for processing {"connection_id":150912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":755581120,"raw_latitude":116694736,"longitude_deg":75.558112,"latitude_deg":11.6694736,"altitude":10,"angle":143,"satellites":47,"speed":26,"hex_longitude":"2d0940c0","hex_latitude":"06f49ed0","is_valid_coordinates":true} 
[2026-08-08 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270075392001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376132160379158528,"note":"Value kept but may cause issues"} 
[2026-08-08 23:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":660410693983199232,"note":"Value kept but may cause issues"} 
[2026-08-08 23:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786211244000,"timestamp_ms":1786211244000,"timestamp_seconds":1786211244,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27c97e0"} 
[2026-08-08 23:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 23:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:18: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-08-08 23:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270075392001,"66":27463,"225":206,"80":6400,"24":26,"16":376132160379158528,"45":660410693983199232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-08 23:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270075392001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376132160379158528,"km_value":376132160379158.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":660410693983199232,"description":"Unknown IO ID 45"} 
[2026-08-08 23:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270075392001,"power":27463,"unknown_225":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":660410693983199232}} 
[2026-08-08 23:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":150912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:18:20] local.INFO: GPS data processed {"connection_id":150912,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:18:20] local.INFO: Acknowledgment sent {"connection_id":150912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:19:03] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:19:03] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:19:03] local.INFO: IMEI packet received {"connection_id":153276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":153276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:19:09] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:19:09] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:19:09] local.INFO: IMEI packet received {"connection_id":153276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":153276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:19:09] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27cbef0012d09500006f484680009009b2f..."} 
[2026-08-08 23:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27cbef0012d09500006f484680009009b2f..."} 
[2026-08-08 23:19:09] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27cbef0012d09500006f484680009009b2f..."} 
[2026-08-08 23:19:09] local.INFO: Packet analysis {"connection_id":153276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:19:09] local.INFO: Extracted packet for processing {"connection_id":153276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:19:09] local.INFO: GPS Element Parsed {"raw_longitude":755585024,"raw_latitude":116687976,"longitude_deg":75.5585024,"latitude_deg":11.6687976,"altitude":9,"angle":155,"satellites":47,"speed":36,"hex_longitude":"2d095000","hex_latitude":"06f48468","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270078464001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376132538336280576,"note":"Value kept but may cause issues"} 
[2026-08-08 23:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":666743880957218816,"note":"Value kept but may cause issues"} 
[2026-08-08 23:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786211254000,"timestamp_ms":1786211254000,"timestamp_seconds":1786211254,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27cbef0"} 
[2026-08-08 23:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270078464001,"66":27463,"225":206,"80":6400,"24":36,"16":376132538336280576,"45":666743880957218816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-08 23:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270078464001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:19:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 23:19:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376132538336280576,"km_value":376132538336280.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":666743880957218816,"description":"Unknown IO ID 45"} 
[2026-08-08 23:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270078464001,"power":27463,"unknown_225":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":666743880957218816}} 
[2026-08-08 23:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":153276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:19:09] local.INFO: GPS data processed {"connection_id":153276,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:19:09] local.INFO: Acknowledgment sent {"connection_id":153276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:19:41] local.INFO: TCP Data received {"connection_id":153276,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27ce600012d095d0006f46270000b00a22f..."} 
[2026-08-08 23:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27ce600012d095d0006f46270000b00a22f..."} 
[2026-08-08 23:19:41] local.INFO: Processing buffer {"connection_id":153276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27ce600012d095d0006f46270000b00a22f..."} 
[2026-08-08 23:19:41] local.INFO: Packet analysis {"connection_id":153276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:19:41] local.INFO: Extracted packet for processing {"connection_id":153276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27c"} 
[2026-08-08 23:19:41] local.INFO: GPS Element Parsed {"raw_longitude":755588352,"raw_latitude":116679280,"longitude_deg":75.5588352,"latitude_deg":11.667928,"altitude":11,"angle":162,"satellites":47,"speed":37,"hex_longitude":"2d095d00","hex_latitude":"06f46270","is_valid_coordinates":true} 
[2026-08-08 23:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270081024001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376132989307846656,"note":"Value kept but may cause issues"} 
[2026-08-08 23:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":671036374350325760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786211264000,"timestamp_ms":1786211264000,"timestamp_seconds":1786211264,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27ce600"} 
[2026-08-08 23:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:19: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-08-08 23:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":153276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":153276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23: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-08-08 23:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270081024001,"66":27321,"225":206,"80":6400,"24":37,"16":376132989307846656,"45":671036374350325760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-08 23:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270081024001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:19:41] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-08 23:19:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376132989307846656,"km_value":376132989307846.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":671036374350325760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270081024001,"power":27321,"unknown_225":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":671036374350325760}} 
[2026-08-08 23:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":153276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:19:41] local.INFO: GPS data processed {"connection_id":153276,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:19:41] local.INFO: Acknowledgment sent {"connection_id":153276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:20:05] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:05] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:05] local.INFO: IMEI packet received {"connection_id":151797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":151797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:20:08] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:08] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:08] local.INFO: IMEI packet received {"connection_id":151797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":151797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:20:13] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:13] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:20:13] local.INFO: IMEI packet received {"connection_id":151797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":151797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:20:15] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27d0928012d09678006f44120000b00a22f..."} 
[2026-08-08 23:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27d0928012d09678006f44120000b00a22f..."} 
[2026-08-08 23:20:15] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27d0928012d09678006f44120000b00a22f..."} 
[2026-08-08 23:20:15] local.INFO: Packet analysis {"connection_id":151797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27d"} 
[2026-08-08 23:20:15] local.INFO: Extracted packet for processing {"connection_id":151797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27d"} 
[2026-08-08 23:20:15] local.INFO: GPS Element Parsed {"raw_longitude":755591040,"raw_latitude":116670752,"longitude_deg":75.559104,"latitude_deg":11.6670752,"altitude":11,"angle":162,"satellites":47,"speed":40,"hex_longitude":"2d096780","hex_latitude":"06f44120","is_valid_coordinates":true} 
[2026-08-08 23:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270083584001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376133423099543552,"note":"Value kept but may cause issues"} 
[2026-08-08 23:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":674695549045338112,"note":"Value kept but may cause issues"} 
[2026-08-08 23:20:15] 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-08-08 23:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786211273000,"timestamp_ms":1786211273000,"timestamp_seconds":1786211273,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27d0928"} 
[2026-08-08 23:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270083584001,"66":27267,"81":206,"80":6400,"24":40,"16":376133423099543552,"45":674695549045338112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-08 23:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270083584001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 23:20:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376133423099543552,"km_value":376133423099543.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":674695549045338112,"description":"Unknown IO ID 45"} 
[2026-08-08 23:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270083584001,"power":27267,"unknown_81":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":674695549045338112}} 
[2026-08-08 23:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":151797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:20:15] local.INFO: GPS data processed {"connection_id":151797,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:20:15] local.INFO: Acknowledgment sent {"connection_id":151797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:20:23] local.INFO: TCP Data received {"connection_id":151797,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27d2c50012d09724006f41e00000c00a32f..."} 
[2026-08-08 23:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27d2c50012d09724006f41e00000c00a32f..."} 
[2026-08-08 23:20:23] local.INFO: Processing buffer {"connection_id":151797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27d2c50012d09724006f41e00000c00a32f..."} 
[2026-08-08 23:20:23] local.INFO: Packet analysis {"connection_id":151797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27d"} 
[2026-08-08 23:20:23] local.INFO: Extracted packet for processing {"connection_id":151797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27d"} 
[2026-08-08 23:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755593792,"raw_latitude":116661760,"longitude_deg":75.5593792,"latitude_deg":11.666176,"altitude":12,"angle":163,"satellites":47,"speed":42,"hex_longitude":"2d097240","hex_latitude":"06f41e00","is_valid_coordinates":true} 
[2026-08-08 23:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270085888001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376133878366076928,"note":"Value kept but may cause issues"} 
[2026-08-08 23:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":677651036298616832,"note":"Value kept but may cause issues"} 
[2026-08-08 23:20:23] 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-08-08 23:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1786211282000,"timestamp_ms":1786211282000,"timestamp_seconds":1786211282,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27d2c50"} 
[2026-08-08 23:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 23:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":151797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":151797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270085888001,"66":27321,"81":206,"80":6400,"24":42,"16":376133878366076928,"45":677651036298616832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-08 23:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270085888001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-08 23:20:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376133878366076928,"km_value":376133878366076.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":677651036298616832,"description":"Unknown IO ID 45"} 
[2026-08-08 23:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270085888001,"power":27321,"unknown_81":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":677651036298616832}} 
[2026-08-08 23:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":151797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:20:23] local.INFO: GPS data processed {"connection_id":151797,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:20:23] local.INFO: Acknowledgment sent {"connection_id":151797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:21:04] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:21:04] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:21:04] local.INFO: IMEI packet received {"connection_id":150913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":150913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:21:06] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:21:06] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:21:06] local.INFO: IMEI packet received {"connection_id":150913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":150913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:21:09] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27ef170012d09af0006f2bb80000e00af2b..."} 
[2026-08-08 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27ef170012d09af0006f2bb80000e00af2b..."} 
[2026-08-08 23:21:09] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27ef170012d09af0006f2bb80000e00af2b..."} 
[2026-08-08 23:21:09] local.INFO: Packet analysis {"connection_id":150913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27e"} 
[2026-08-08 23:21:09] local.INFO: Extracted packet for processing {"connection_id":150913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27e"} 
[2026-08-08 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":755609344,"raw_latitude":116571008,"longitude_deg":75.5609344,"latitude_deg":11.6571008,"altitude":14,"angle":175,"satellites":43,"speed":33,"hex_longitude":"2d09af00","hex_latitude":"06f2bb80","is_valid_coordinates":true} 
[2026-08-08 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270115584001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376138358016966656,"note":"Value kept but may cause issues"} 
[2026-08-08 23:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697143178412568576,"note":"Value kept but may cause issues"} 
[2026-08-08 23:21: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-08-08 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786211398000,"timestamp_ms":1786211398000,"timestamp_seconds":1786211398,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27ef170"} 
[2026-08-08 23:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 23: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-08-08 23:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270115584001,"66":27300,"113":206,"80":6400,"24":33,"16":376138358016966656,"45":697143178412568576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270115584001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:21:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:21:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376138358016966656,"km_value":376138358016966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":697143178412568576,"description":"Unknown IO ID 45"} 
[2026-08-08 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270115584001,"power":27300,"unknown_113":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":697143178412568576}} 
[2026-08-08 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":150913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:21:09] local.INFO: GPS data processed {"connection_id":150913,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:21:09] local.INFO: Acknowledgment sent {"connection_id":150913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:21:40] local.INFO: TCP Data received {"connection_id":150913,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27f2050012d09b54006f29880000c00a62d..."} 
[2026-08-08 23:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27f2050012d09b54006f29880000c00a62d..."} 
[2026-08-08 23:21:40] local.INFO: Processing buffer {"connection_id":150913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27f2050012d09b54006f29880000c00a62d..."} 
[2026-08-08 23:21:40] local.INFO: Packet analysis {"connection_id":150913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:21:40] local.INFO: Extracted packet for processing {"connection_id":150913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":755610944,"raw_latitude":116562048,"longitude_deg":75.5610944,"latitude_deg":11.6562048,"altitude":12,"angle":166,"satellites":45,"speed":33,"hex_longitude":"2d09b540","hex_latitude":"06f29880","is_valid_coordinates":true} 
[2026-08-08 23:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270117888001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376138800398598144,"note":"Value kept but may cause issues"} 
[2026-08-08 23:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697776497107894272,"note":"Value kept but may cause issues"} 
[2026-08-08 23:21: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-08-08 23:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786211410000,"timestamp_ms":1786211410000,"timestamp_seconds":1786211410,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27f2050"} 
[2026-08-08 23:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 23: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-08-08 23:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270117888001,"66":27343,"113":206,"80":6400,"24":33,"16":376138800398598144,"45":697776497107894272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270117888001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:21:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:21:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376138800398598144,"km_value":376138800398598.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":697776497107894272,"description":"Unknown IO ID 45"} 
[2026-08-08 23:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270117888001,"power":27343,"unknown_113":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":697776497107894272}} 
[2026-08-08 23:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":150913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:21:40] local.INFO: GPS data processed {"connection_id":150913,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:21:40] local.INFO: Acknowledgment sent {"connection_id":150913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:22:04] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:22:04] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:22:04] local.INFO: IMEI packet received {"connection_id":153277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":153277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:22:09] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:22:09] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:22:09] local.INFO: IMEI packet received {"connection_id":153277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":153277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:22:10] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27f4760012d09be8006f27418000900a42d..."} 
[2026-08-08 23:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27f4760012d09be8006f27418000900a42d..."} 
[2026-08-08 23:22:10] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27f4760012d09be8006f27418000900a42d..."} 
[2026-08-08 23:22:10] local.INFO: Packet analysis {"connection_id":153277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:22:10] local.INFO: Extracted packet for processing {"connection_id":153277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:22:10] local.INFO: GPS Element Parsed {"raw_longitude":755613312,"raw_latitude":116552728,"longitude_deg":75.5613312,"latitude_deg":11.6552728,"altitude":9,"angle":164,"satellites":45,"speed":39,"hex_longitude":"2d09be80","hex_latitude":"06f27418","is_valid_coordinates":true} 
[2026-08-08 23:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270120960001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376139264255066112,"note":"Value kept but may cause issues"} 
[2026-08-08 23:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699535715710042112,"note":"Value kept but may cause issues"} 
[2026-08-08 23:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786211420000,"timestamp_ms":1786211420000,"timestamp_seconds":1786211420,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27f4760"} 
[2026-08-08 23:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:22: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-08-08 23: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":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:22: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-08-08 23:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270120960001,"66":27484,"113":206,"80":6400,"24":39,"16":376139264255066112,"45":699535715710042112},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270120960001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:22:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:22:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376139264255066112,"km_value":376139264255066.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":699535715710042112,"description":"Unknown IO ID 45"} 
[2026-08-08 23:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270120960001,"power":27484,"unknown_113":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":699535715710042112}} 
[2026-08-08 23:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":153277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:22:10] local.INFO: GPS data processed {"connection_id":153277,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:22:10] local.INFO: Acknowledgment sent {"connection_id":153277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:22:42] local.INFO: TCP Data received {"connection_id":153277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27f6a88012d09c88006f25270000a00a42e..."} 
[2026-08-08 23:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27f6a88012d09c88006f25270000a00a42e..."} 
[2026-08-08 23:22:42] local.INFO: Processing buffer {"connection_id":153277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27f6a88012d09c88006f25270000a00a42e..."} 
[2026-08-08 23:22:42] local.INFO: Packet analysis {"connection_id":153277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:22:42] local.INFO: Extracted packet for processing {"connection_id":153277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755615872,"raw_latitude":116544112,"longitude_deg":75.5615872,"latitude_deg":11.6544112,"altitude":10,"angle":164,"satellites":46,"speed":38,"hex_longitude":"2d09c880","hex_latitude":"06f25270","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270123520001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376139702341730304,"note":"Value kept but may cause issues"} 
[2026-08-08 23:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702139359242229760,"note":"Value kept but may cause issues"} 
[2026-08-08 23:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786211429000,"timestamp_ms":1786211429000,"timestamp_seconds":1786211429,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27f6a88"} 
[2026-08-08 23:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 23:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":153277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":153277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270123520001,"66":27343,"113":206,"80":6400,"24":38,"16":376139702341730304,"45":702139359242229760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270123520001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:22:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:22:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376139702341730304,"km_value":376139702341730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":702139359242229760,"description":"Unknown IO ID 45"} 
[2026-08-08 23:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270123520001,"power":27343,"unknown_113":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":702139359242229760}} 
[2026-08-08 23:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":153277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:22:42] local.INFO: GPS data processed {"connection_id":153277,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:22:42] local.INFO: Acknowledgment sent {"connection_id":153277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:23:03] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:23:03] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:23:03] local.INFO: IMEI packet received {"connection_id":150914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":150914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:23:09] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:23:09] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:23:09] local.INFO: IMEI packet received {"connection_id":150914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":150914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:23:09] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27fa138012d09d08006f230c0000900ac2f..."} 
[2026-08-08 23:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27fa138012d09d08006f230c0000900ac2f..."} 
[2026-08-08 23:23:09] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27fa138012d09d08006f230c0000900ac2f..."} 
[2026-08-08 23:23:09] local.INFO: Packet analysis {"connection_id":150914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:23:09] local.INFO: Extracted packet for processing {"connection_id":150914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:23:09] local.INFO: GPS Element Parsed {"raw_longitude":755617920,"raw_latitude":116535488,"longitude_deg":75.561792,"latitude_deg":11.6535488,"altitude":9,"angle":172,"satellites":47,"speed":13,"hex_longitude":"2d09d080","hex_latitude":"06f230c0","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270125824001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376140131838459904,"note":"Value kept but may cause issues"} 
[2026-08-08 23:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704954109007130624,"note":"Value kept but may cause issues"} 
[2026-08-08 23:23: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-08-08 23:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786211443000,"timestamp_ms":1786211443000,"timestamp_seconds":1786211443,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27fa138"} 
[2026-08-08 23:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270125824001,"66":27463,"113":206,"80":6400,"24":13,"16":376140131838459904,"45":704954109007130624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270125824001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376140131838459904,"km_value":376140131838459.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":704954109007130624,"description":"Unknown IO ID 45"} 
[2026-08-08 23:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270125824001,"power":27463,"unknown_113":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":704954109007130624}} 
[2026-08-08 23:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":150914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:23:09] local.INFO: GPS data processed {"connection_id":150914,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:23:09] local.INFO: Acknowledgment sent {"connection_id":150914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:23:40] local.INFO: TCP Data received {"connection_id":150914,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe27ff340012d09d50006f21718000700aa2e..."} 
[2026-08-08 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe27ff340012d09d50006f21718000700aa2e..."} 
[2026-08-08 23:23:41] local.INFO: Processing buffer {"connection_id":150914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe27ff340012d09d50006f21718000700aa2e..."} 
[2026-08-08 23:23:41] local.INFO: Packet analysis {"connection_id":150914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:23:41] local.INFO: Extracted packet for processing {"connection_id":150914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe27f"} 
[2026-08-08 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":755619072,"raw_latitude":116528920,"longitude_deg":75.5619072,"latitude_deg":11.652892,"altitude":7,"angle":170,"satellites":46,"speed":13,"hex_longitude":"2d09d500","hex_latitude":"06f21718","is_valid_coordinates":true} 
[2026-08-08 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270129408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376140453961007104,"note":"Value kept but may cause issues"} 
[2026-08-08 23:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707205908818608128,"note":"Value kept but may cause issues"} 
[2026-08-08 23:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786211464000,"timestamp_ms":1786211464000,"timestamp_seconds":1786211464,"priority":1,"record_length":96,"hex_timestamp":"0000019fe27ff340"} 
[2026-08-08 23:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:23: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-08-08 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":150914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":150914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":150914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270129408001,"66":27213,"113":206,"80":6400,"24":13,"16":376140453961007104,"45":707205908818608128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270129408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:23:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:23:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376140453961007104,"km_value":376140453961007.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":707205908818608128,"description":"Unknown IO ID 45"} 
[2026-08-08 23:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270129408001,"power":27213,"unknown_113":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":707205908818608128}} 
[2026-08-08 23:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":150914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:23:41] local.INFO: GPS data processed {"connection_id":150914,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:23:41] local.INFO: Acknowledgment sent {"connection_id":150914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:24:08] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:24:08] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:24:08] local.INFO: IMEI packet received {"connection_id":151798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":151798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:24:14] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:24:14] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:24:14] local.INFO: IMEI packet received {"connection_id":151798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":151798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:24:15] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28031c0012d09dcc006f1f4f8000800a22e..."} 
[2026-08-08 23:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28031c0012d09dcc006f1f4f8000800a22e..."} 
[2026-08-08 23:24:15] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28031c0012d09dcc006f1f4f8000800a22e..."} 
[2026-08-08 23:24:15] local.INFO: Packet analysis {"connection_id":151798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe280"} 
[2026-08-08 23:24:15] local.INFO: Extracted packet for processing {"connection_id":151798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe280"} 
[2026-08-08 23:24:15] local.INFO: GPS Element Parsed {"raw_longitude":755621056,"raw_latitude":116520184,"longitude_deg":75.5621056,"latitude_deg":11.6520184,"altitude":8,"angle":162,"satellites":46,"speed":28,"hex_longitude":"2d09dcc0","hex_latitude":"06f1f4f8","is_valid_coordinates":true} 
[2026-08-08 23:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270134784001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376140892047671296,"note":"Value kept but may cause issues"} 
[2026-08-08 23:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708472546212124672,"note":"Value kept but may cause issues"} 
[2026-08-08 23:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786211480000,"timestamp_ms":1786211480000,"timestamp_seconds":1786211480,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28031c0"} 
[2026-08-08 23:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 23:24: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-08-08 23:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270134784001,"66":27332,"113":206,"80":6400,"24":28,"16":376140892047671296,"45":708472546212124672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-08 23:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270134784001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:24:15] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-08 23:24:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376140892047671296,"km_value":376140892047671.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":708472546212124672,"description":"Unknown IO ID 45"} 
[2026-08-08 23:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270134784001,"power":27332,"unknown_113":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":708472546212124672}} 
[2026-08-08 23:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":151798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:24:15] local.INFO: GPS data processed {"connection_id":151798,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:24:15] local.INFO: Acknowledgment sent {"connection_id":151798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:24:46] local.INFO: TCP Data received {"connection_id":151798,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28250b8012d0a630006f16830001200772a..."} 
[2026-08-08 23:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28250b8012d0a630006f16830001200772a..."} 
[2026-08-08 23:24:46] local.INFO: Processing buffer {"connection_id":151798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28250b8012d0a630006f16830001200772a..."} 
[2026-08-08 23:24:46] local.INFO: Packet analysis {"connection_id":151798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:24:46] local.INFO: Extracted packet for processing {"connection_id":151798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:24:46] local.INFO: GPS Element Parsed {"raw_longitude":755655424,"raw_latitude":116484144,"longitude_deg":75.5655424,"latitude_deg":11.6484144,"altitude":18,"angle":119,"satellites":42,"speed":10,"hex_longitude":"2d0a6300","hex_latitude":"06f16830","is_valid_coordinates":true} 
[2026-08-08 23:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270169088001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376143383128702976,"note":"Value kept but may cause issues"} 
[2026-08-08 23:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743234705825247232,"note":"Value kept but may cause issues"} 
[2026-08-08 23:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786211619000,"timestamp_ms":1786211619000,"timestamp_seconds":1786211619,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28250b8"} 
[2026-08-08 23:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":151798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":151798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270169088001,"66":27213,"59":206,"80":6400,"24":10,"16":376143383128702976,"45":743234705825247232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,80,24,16,45]} 
[2026-08-08 23:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270169088001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:24:46] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-08 23:24:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376143383128702976,"km_value":376143383128703.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":743234705825247232,"description":"Unknown IO ID 45"} 
[2026-08-08 23:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270169088001,"power":27213,"unknown_59":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":743234705825247232}} 
[2026-08-08 23:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":151798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:24:46] local.INFO: GPS data processed {"connection_id":151798,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:24:46] local.INFO: Acknowledgment sent {"connection_id":151798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:25:03] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:25:03] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:25:03] local.INFO: IMEI packet received {"connection_id":153278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":153278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:25:09] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:25:09] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:25:09] local.INFO: IMEI packet received {"connection_id":153278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":153278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:25:10] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe282a2c0012d0a818006f152c00017007a2b..."} 
[2026-08-08 23:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe282a2c0012d0a818006f152c00017007a2b..."} 
[2026-08-08 23:25:10] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe282a2c0012d0a818006f152c00017007a2b..."} 
[2026-08-08 23:25:10] local.INFO: Packet analysis {"connection_id":153278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:25:10] local.INFO: Extracted packet for processing {"connection_id":153278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":116478656,"longitude_deg":75.5663232,"latitude_deg":11.6478656,"altitude":23,"angle":122,"satellites":43,"speed":31,"hex_longitude":"2d0a8180","hex_latitude":"06f152c0","is_valid_coordinates":true} 
[2026-08-08 23:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270174464001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376143838395236352,"note":"Value kept but may cause issues"} 
[2026-08-08 23:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":748441992893575168,"note":"Value kept but may cause issues"} 
[2026-08-08 23:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786211640000,"timestamp_ms":1786211640000,"timestamp_seconds":1786211640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe282a2c0"} 
[2026-08-08 23:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:25: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-08-08 23:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-08 23:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:25: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-08-08 23:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270174464001,"66":27539,"111":206,"80":6400,"24":31,"16":376143838395236352,"45":748441992893575168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270174464001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:25:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:25:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376143838395236352,"km_value":376143838395236.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":748441992893575168,"description":"Unknown IO ID 45"} 
[2026-08-08 23:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270174464001,"power":27539,"unknown_111":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":748441992893575168}} 
[2026-08-08 23:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":153278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:25:10] local.INFO: GPS data processed {"connection_id":153278,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:25:10] local.INFO: Acknowledgment sent {"connection_id":153278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:25:44] local.INFO: TCP Data received {"connection_id":153278,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe282a2c0012d0a818006f152c00017007a2b..."} 
[2026-08-08 23:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe282a2c0012d0a818006f152c00017007a2b..."} 
[2026-08-08 23:25:44] local.INFO: Processing buffer {"connection_id":153278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe282a2c0012d0a818006f152c00017007a2b..."} 
[2026-08-08 23:25:44] local.INFO: Packet analysis {"connection_id":153278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:25:44] local.INFO: Extracted packet for processing {"connection_id":153278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:25:44] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":116478656,"longitude_deg":75.5663232,"latitude_deg":11.6478656,"altitude":23,"angle":122,"satellites":43,"speed":31,"hex_longitude":"2d0a8180","hex_latitude":"06f152c0","is_valid_coordinates":true} 
[2026-08-08 23:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270179840001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376143838395236352,"note":"Value kept but may cause issues"} 
[2026-08-08 23:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757026979681845248,"note":"Value kept but may cause issues"} 
[2026-08-08 23:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786211640000,"timestamp_ms":1786211640000,"timestamp_seconds":1786211640,"priority":1,"record_length":96,"hex_timestamp":"0000019fe282a2c0"} 
[2026-08-08 23:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:25: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-08-08 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 23:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:25: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-08-08 23:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270179840001,"66":27539,"111":206,"80":6400,"24":31,"16":376143838395236352,"45":757026979681845248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270179840001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:25:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:25:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376143838395236352,"km_value":376143838395236.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":757026979681845248,"description":"Unknown IO ID 45"} 
[2026-08-08 23:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270179840001,"power":27539,"unknown_111":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":757026979681845248}} 
[2026-08-08 23:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":153278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:25:44] local.INFO: GPS data processed {"connection_id":153278,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:25:44] local.INFO: Acknowledgment sent {"connection_id":153278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:26:03] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:03] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:03] local.INFO: IMEI packet received {"connection_id":150915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":150915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:26:07] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:07] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:07] local.INFO: IMEI packet received {"connection_id":150915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":150915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:26:08] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:08] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:26:08] local.INFO: IMEI packet received {"connection_id":150915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":150915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:26:10] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe282c9d0012d0aa14006f14100001300732d..."} 
[2026-08-08 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe282c9d0012d0aa14006f14100001300732d..."} 
[2026-08-08 23:26:10] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe282c9d0012d0aa14006f14100001300732d..."} 
[2026-08-08 23:26:10] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:26:10] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe282"} 
[2026-08-08 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":755671360,"raw_latitude":116474112,"longitude_deg":75.567136,"latitude_deg":11.6474112,"altitude":19,"angle":115,"satellites":45,"speed":37,"hex_longitude":"2d0aa140","hex_latitude":"06f14100","is_valid_coordinates":true} 
[2026-08-08 23:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270179840001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376144285071835136,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757026979681845248,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786211650000,"timestamp_ms":1786211650000,"timestamp_seconds":1786211650,"priority":1,"record_length":96,"hex_timestamp":"0000019fe282c9d0"} 
[2026-08-08 23:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:26: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-08-08 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 23:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:26: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-08-08 23:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270179840001,"66":27300,"111":206,"80":6400,"24":37,"16":376144285071835136,"45":757026979681845248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270179840001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376144285071835136,"km_value":376144285071835.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":757026979681845248,"description":"Unknown IO ID 45"} 
[2026-08-08 23:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270179840001,"power":27300,"unknown_111":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":757026979681845248}} 
[2026-08-08 23:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:26:10] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:26:10] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:26:14] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2831bd8012d0abe8006f13070000f00792d..."} 
[2026-08-08 23:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2831bd8012d0abe8006f13070000f00792d..."} 
[2026-08-08 23:26:14] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2831bd8012d0abe8006f13070000f00792d..."} 
[2026-08-08 23:26:14] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:26:14] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":755678848,"raw_latitude":116469872,"longitude_deg":75.5678848,"latitude_deg":11.6469872,"altitude":15,"angle":121,"satellites":45,"speed":18,"hex_longitude":"2d0abe80","hex_latitude":"06f13070","is_valid_coordinates":true} 
[2026-08-08 23:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270182400001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376144697388695552,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765963810191245312,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786211671000,"timestamp_ms":1786211671000,"timestamp_seconds":1786211671,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2831bd8"} 
[2026-08-08 23:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 23:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270182400001,"66":27300,"111":206,"80":6400,"24":18,"16":376144697388695552,"45":765963810191245312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270182400001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376144697388695552,"km_value":376144697388695.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":765963810191245312,"description":"Unknown IO ID 45"} 
[2026-08-08 23:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270182400001,"power":27300,"unknown_111":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":765963810191245312}} 
[2026-08-08 23:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:26:14] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:26:14] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:26:45] local.INFO: TCP Data received {"connection_id":150915,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28346d0012d0ad1c006f12240000d00852d..."} 
[2026-08-08 23:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28346d0012d0ad1c006f12240000d00852d..."} 
[2026-08-08 23:26:45] local.INFO: Processing buffer {"connection_id":150915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28346d0012d0ad1c006f12240000d00852d..."} 
[2026-08-08 23:26:45] local.INFO: Packet analysis {"connection_id":150915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:26:45] local.INFO: Extracted packet for processing {"connection_id":150915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:26:45] local.INFO: GPS Element Parsed {"raw_longitude":755683776,"raw_latitude":116466240,"longitude_deg":75.5683776,"latitude_deg":11.646624,"altitude":13,"angle":133,"satellites":45,"speed":17,"hex_longitude":"2d0ad1c0","hex_latitude":"06f12240","is_valid_coordinates":true} 
[2026-08-08 23:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270187776001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376144989446471680,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774196953258946560,"note":"Value kept but may cause issues"} 
[2026-08-08 23:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786211682000,"timestamp_ms":1786211682000,"timestamp_seconds":1786211682,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28346d0"} 
[2026-08-08 23:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 23:26: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-08-08 23:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:26: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-08-08 23:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270187776001,"66":27321,"111":206,"80":6400,"24":17,"16":376144989446471680,"45":774196953258946560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270187776001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:26:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:26:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376144989446471680,"km_value":376144989446471.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":774196953258946560,"description":"Unknown IO ID 45"} 
[2026-08-08 23:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270187776001,"power":27321,"unknown_111":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":774196953258946560}} 
[2026-08-08 23:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":150915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:26:45] local.INFO: GPS data processed {"connection_id":150915,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:26:45] local.INFO: Acknowledgment sent {"connection_id":150915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:27:03] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:03] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:03] local.INFO: IMEI packet received {"connection_id":150594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":150594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:27:07] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:07] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:07] local.INFO: IMEI packet received {"connection_id":150594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":150594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:27:08] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:08] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:27:08] local.INFO: IMEI packet received {"connection_id":150594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":150594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:27:09] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28398d8012d0ae90006f10c98000d00852d..."} 
[2026-08-08 23:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28398d8012d0ae90006f10c98000d00852d..."} 
[2026-08-08 23:27:09] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28398d8012d0ae90006f10c98000d00852d..."} 
[2026-08-08 23:27:09] local.INFO: Packet analysis {"connection_id":150594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:27:09] local.INFO: Extracted packet for processing {"connection_id":150594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:27:09] local.INFO: GPS Element Parsed {"raw_longitude":755689728,"raw_latitude":116460696,"longitude_deg":75.5689728,"latitude_deg":11.6460696,"altitude":13,"angle":133,"satellites":45,"speed":22,"hex_longitude":"2d0ae900","hex_latitude":"06f10c98","is_valid_coordinates":true} 
[2026-08-08 23:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270190592001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376145380288495616,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":779615346559696896,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786211703000,"timestamp_ms":1786211703000,"timestamp_seconds":1786211703,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28398d8"} 
[2026-08-08 23:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270190592001,"66":27571,"111":206,"80":6400,"24":22,"16":376145380288495616,"45":779615346559696896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270190592001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:27:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:27:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376145380288495616,"km_value":376145380288495.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":779615346559696896,"description":"Unknown IO ID 45"} 
[2026-08-08 23:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270190592001,"power":27571,"unknown_111":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":779615346559696896}} 
[2026-08-08 23:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":150594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:27:09] local.INFO: GPS data processed {"connection_id":150594,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:27:09] local.INFO: Acknowledgment sent {"connection_id":150594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:27:14] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe283eae0012d0aff4006f0f7c8000c00882d..."} 
[2026-08-08 23:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe283eae0012d0aff4006f0f7c8000c00882d..."} 
[2026-08-08 23:27:14] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe283eae0012d0aff4006f0f7c8000c00882d..."} 
[2026-08-08 23:27:14] local.INFO: Packet analysis {"connection_id":150594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:27:14] local.INFO: Extracted packet for processing {"connection_id":150594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:27:14] local.INFO: GPS Element Parsed {"raw_longitude":755695424,"raw_latitude":116455368,"longitude_deg":75.5695424,"latitude_deg":11.6455368,"altitude":12,"angle":136,"satellites":45,"speed":10,"hex_longitude":"2d0aff40","hex_latitude":"06f0f7c8","is_valid_coordinates":true} 
[2026-08-08 23:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270195968001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376145753950650368,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786159639766800384,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786211724000,"timestamp_ms":1786211724000,"timestamp_seconds":1786211724,"priority":1,"record_length":96,"hex_timestamp":"0000019fe283eae0"} 
[2026-08-08 23:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-08 23:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270195968001,"66":27321,"111":206,"80":6400,"24":10,"16":376145753950650368,"45":786159639766800384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270195968001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:27:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:27:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376145753950650368,"km_value":376145753950650.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":786159639766800384,"description":"Unknown IO ID 45"} 
[2026-08-08 23:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270195968001,"power":27321,"unknown_111":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":786159639766800384}} 
[2026-08-08 23:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":150594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:27:14] local.INFO: GPS data processed {"connection_id":150594,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:27:14] local.INFO: Acknowledgment sent {"connection_id":150594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:27:45] local.INFO: TCP Data received {"connection_id":150594,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe283fe68012d0b044006f0f390000b007c2d..."} 
[2026-08-08 23:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe283fe68012d0b044006f0f390000b007c2d..."} 
[2026-08-08 23:27:45] local.INFO: Processing buffer {"connection_id":150594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe283fe68012d0b044006f0f390000b007c2d..."} 
[2026-08-08 23:27:45] local.INFO: Packet analysis {"connection_id":150594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:27:45] local.INFO: Extracted packet for processing {"connection_id":150594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe283"} 
[2026-08-08 23:27:45] local.INFO: GPS Element Parsed {"raw_longitude":755696704,"raw_latitude":116454288,"longitude_deg":75.5696704,"latitude_deg":11.6454288,"altitude":11,"angle":124,"satellites":45,"speed":14,"hex_longitude":"2d0b0440","hex_latitude":"06f0f390","is_valid_coordinates":true} 
[2026-08-08 23:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270201344001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376145835555028992,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792422457997248512,"note":"Value kept but may cause issues"} 
[2026-08-08 23:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786211729000,"timestamp_ms":1786211729000,"timestamp_seconds":1786211729,"priority":1,"record_length":96,"hex_timestamp":"0000019fe283fe68"} 
[2026-08-08 23:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:27: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-08-08 23:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:27: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-08-08 23:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270201344001,"66":27463,"111":206,"80":6400,"24":14,"16":376145835555028992,"45":792422457997248512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-08 23:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270201344001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:27:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:27:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376145835555028992,"km_value":376145835555029.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":792422457997248512,"description":"Unknown IO ID 45"} 
[2026-08-08 23:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270201344001,"power":27463,"unknown_111":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":792422457997248512}} 
[2026-08-08 23:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":150594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:27:45] local.INFO: GPS data processed {"connection_id":150594,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:27:45] local.INFO: Acknowledgment sent {"connection_id":150594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:28:03] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:03] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:03] local.INFO: IMEI packet received {"connection_id":150916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":150916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:28:08] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:08] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:08] local.INFO: IMEI packet received {"connection_id":150916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":150916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:28:08] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:08] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:28:08] local.INFO: IMEI packet received {"connection_id":150916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":150916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:28:09] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28448a0012d0b158006f0e660000c008b2d..."} 
[2026-08-08 23:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28448a0012d0b158006f0e660000c008b2d..."} 
[2026-08-08 23:28:09] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28448a0012d0b158006f0e660000c008b2d..."} 
[2026-08-08 23:28:09] local.INFO: Packet analysis {"connection_id":150916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe284"} 
[2026-08-08 23:28:09] local.INFO: Extracted packet for processing {"connection_id":150916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe284"} 
[2026-08-08 23:28:09] local.INFO: GPS Element Parsed {"raw_longitude":755701120,"raw_latitude":116450912,"longitude_deg":75.570112,"latitude_deg":11.6450912,"altitude":12,"angle":139,"satellites":45,"speed":15,"hex_longitude":"2d0b1580","hex_latitude":"06f0e660","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270202624001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376146106137968640,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793829832880525312,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786211748000,"timestamp_ms":1786211748000,"timestamp_seconds":1786211748,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28448a0"} 
[2026-08-08 23:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270202624001,"66":27365,"90":206,"80":6400,"24":15,"16":376146106137968640,"45":793829832880525312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,80,24,16,45]} 
[2026-08-08 23:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270202624001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:28:09] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 23:28:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376146106137968640,"km_value":376146106137968.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":793829832880525312,"description":"Unknown IO ID 45"} 
[2026-08-08 23:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270202624001,"power":27365,"unknown_90":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":793829832880525312}} 
[2026-08-08 23:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":150916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:28:09] local.INFO: GPS data processed {"connection_id":150916,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:28:09] local.INFO: Acknowledgment sent {"connection_id":150916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:28:14] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28492d8012d0b2b0006f0c988000c00912d..."} 
[2026-08-08 23:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28492d8012d0b2b0006f0c988000c00912d..."} 
[2026-08-08 23:28:14] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28492d8012d0b2b0006f0c988000c00912d..."} 
[2026-08-08 23:28:14] local.INFO: Packet analysis {"connection_id":150916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe284"} 
[2026-08-08 23:28:14] local.INFO: Extracted packet for processing {"connection_id":150916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe284"} 
[2026-08-08 23:28:14] local.INFO: GPS Element Parsed {"raw_longitude":755706624,"raw_latitude":116443528,"longitude_deg":75.5706624,"latitude_deg":11.6443528,"altitude":12,"angle":145,"satellites":45,"speed":27,"hex_longitude":"2d0b2b00","hex_latitude":"06f0c988","is_valid_coordinates":true} 
[2026-08-08 23:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270207488001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376146548519600128,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798685276227919872,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1786211767000,"timestamp_ms":1786211767000,"timestamp_seconds":1786211767,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28492d8"} 
[2026-08-08 23:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:28: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-08-08 23:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":150916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270207488001,"66":27463,"90":206,"80":6400,"24":27,"16":376146548519600128,"45":798685276227919872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,80,24,16,45]} 
[2026-08-08 23:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270207488001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:28:14] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-08 23:28:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376146548519600128,"km_value":376146548519600.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":798685276227919872,"description":"Unknown IO ID 45"} 
[2026-08-08 23:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270207488001,"power":27463,"unknown_90":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":798685276227919872}} 
[2026-08-08 23:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":150916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:28:14] local.INFO: GPS data processed {"connection_id":150916,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:28:14] local.INFO: Acknowledgment sent {"connection_id":150916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:28:48] local.INFO: TCP Data received {"connection_id":150916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2860dc0012d0b9b8006ef4fd8000b00a12d..."} 
[2026-08-08 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2860dc0012d0b9b8006ef4fd8000b00a12d..."} 
[2026-08-08 23:28:48] local.INFO: Processing buffer {"connection_id":150916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2860dc0012d0b9b8006ef4fd8000b00a12d..."} 
[2026-08-08 23:28:48] local.INFO: Packet analysis {"connection_id":150916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:28:48] local.INFO: Extracted packet for processing {"connection_id":150916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:28:48] local.INFO: GPS Element Parsed {"raw_longitude":755735424,"raw_latitude":116346840,"longitude_deg":75.5735424,"latitude_deg":11.634684,"altitude":11,"angle":161,"satellites":45,"speed":49,"hex_longitude":"2d0b9b80","hex_latitude":"06ef4fd8","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270235392001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376151453372252160,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833447435827245056,"note":"Value kept but may cause issues"} 
[2026-08-08 23:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786211864000,"timestamp_ms":1786211864000,"timestamp_seconds":1786211864,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2860dc0"} 
[2026-08-08 23:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 23:28: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-08-08 23: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-08-08 23:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270235392001,"66":27343,"158":206,"80":6400,"24":49,"16":376151453372252160,"45":833447435827245056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270235392001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:28:48] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:28:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376151453372252160,"km_value":376151453372252.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":833447435827245056,"description":"Unknown IO ID 45"} 
[2026-08-08 23:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270235392001,"power":27343,"unknown_158":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":833447435827245056}} 
[2026-08-08 23:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":150916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:28:48] local.INFO: GPS data processed {"connection_id":150916,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:28:48] local.INFO: Acknowledgment sent {"connection_id":150916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:29:09] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:09] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:09] local.INFO: IMEI packet received {"connection_id":150917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":150917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:29:09] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:09] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:09] local.INFO: IMEI packet received {"connection_id":150917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":150917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:29:14] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:14] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:29:14] local.INFO: IMEI packet received {"connection_id":150917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":150917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:29:15] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2862d00012d0ba84006ef2c10000c009f2d..."} 
[2026-08-08 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2862d00012d0ba84006ef2c10000c009f2d..."} 
[2026-08-08 23:29:15] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2862d00012d0ba84006ef2c10000c009f2d..."} 
[2026-08-08 23:29:15] local.INFO: Packet analysis {"connection_id":150917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:29:15] local.INFO: Extracted packet for processing {"connection_id":150917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":755738688,"raw_latitude":116337680,"longitude_deg":75.5738688,"latitude_deg":11.633768,"altitude":12,"angle":159,"satellites":45,"speed":46,"hex_longitude":"2d0ba840","hex_latitude":"06ef2c10","is_valid_coordinates":true} 
[2026-08-08 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270237184001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376151925818654720,"note":"Value kept but may cause issues"} 
[2026-08-08 23:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836402923080505344,"note":"Value kept but may cause issues"} 
[2026-08-08 23:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786211872000,"timestamp_ms":1786211872000,"timestamp_seconds":1786211872,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2862d00"} 
[2026-08-08 23:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:29: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-08-08 23:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270237184001,"66":27365,"158":206,"80":6400,"24":46,"16":376151925818654720,"45":836402923080505344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270237184001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:29:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:29:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376151925818654720,"km_value":376151925818654.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":836402923080505344,"description":"Unknown IO ID 45"} 
[2026-08-08 23:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270237184001,"power":27365,"unknown_158":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":836402923080505344}} 
[2026-08-08 23:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":150917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:29:15] local.INFO: GPS data processed {"connection_id":150917,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:29:15] local.INFO: Acknowledgment sent {"connection_id":150917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:29:47] local.INFO: TCP Data received {"connection_id":150917,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2864c40012d0bb54006ef0aa8000b009e2d..."} 
[2026-08-08 23:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2864c40012d0bb54006ef0aa8000b009e2d..."} 
[2026-08-08 23:29:47] local.INFO: Processing buffer {"connection_id":150917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2864c40012d0bb54006ef0aa8000b009e2d..."} 
[2026-08-08 23:29:47] local.INFO: Packet analysis {"connection_id":150917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:29:47] local.INFO: Extracted packet for processing {"connection_id":150917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:29:47] local.INFO: GPS Element Parsed {"raw_longitude":755742016,"raw_latitude":116329128,"longitude_deg":75.5742016,"latitude_deg":11.6329128,"altitude":11,"angle":158,"satellites":45,"speed":44,"hex_longitude":"2d0bb540","hex_latitude":"06ef0aa8","is_valid_coordinates":true} 
[2026-08-08 23:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270239232001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376152368200286208,"note":"Value kept but may cause issues"} 
[2026-08-08 23:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839991729031221248,"note":"Value kept but may cause issues"} 
[2026-08-08 23:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786211880000,"timestamp_ms":1786211880000,"timestamp_seconds":1786211880,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2864c40"} 
[2026-08-08 23:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:29: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-08-08 23:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270239232001,"66":27484,"158":206,"80":6400,"24":44,"16":376152368200286208,"45":839991729031221248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270239232001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376152368200286208,"km_value":376152368200286.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":839991729031221248,"description":"Unknown IO ID 45"} 
[2026-08-08 23:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270239232001,"power":27484,"unknown_158":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":839991729031221248}} 
[2026-08-08 23:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":150917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:29:47] local.INFO: GPS data processed {"connection_id":150917,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:29:47] local.INFO: Acknowledgment sent {"connection_id":150917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:30:07] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:07] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:07] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:30:08] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:08] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:08] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:30:14] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:14] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:30:14] local.INFO: IMEI packet received {"connection_id":151799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":151799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:30:15] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2866f68012d0bc34006eee7b8000b009e2d..."} 
[2026-08-08 23:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2866f68012d0bc34006eee7b8000b009e2d..."} 
[2026-08-08 23:30:15] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2866f68012d0bc34006eee7b8000b009e2d..."} 
[2026-08-08 23:30:15] local.INFO: Packet analysis {"connection_id":151799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:30:15] local.INFO: Extracted packet for processing {"connection_id":151799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:30:15] local.INFO: GPS Element Parsed {"raw_longitude":755745600,"raw_latitude":116320184,"longitude_deg":75.57456,"latitude_deg":11.6320184,"altitude":11,"angle":158,"satellites":45,"speed":40,"hex_longitude":"2d0bc340","hex_latitude":"06eee7b8","is_valid_coordinates":true} 
[2026-08-08 23:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270241280001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376152836351721472,"note":"Value kept but may cause issues"} 
[2026-08-08 23:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843650903726270464,"note":"Value kept but may cause issues"} 
[2026-08-08 23:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786211889000,"timestamp_ms":1786211889000,"timestamp_seconds":1786211889,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2866f68"} 
[2026-08-08 23:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 23:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270241280001,"66":27376,"158":206,"80":6400,"24":40,"16":376152836351721472,"45":843650903726270464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270241280001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:30:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:30:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376152836351721472,"km_value":376152836351721.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":843650903726270464,"description":"Unknown IO ID 45"} 
[2026-08-08 23:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270241280001,"power":27376,"unknown_158":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":843650903726270464}} 
[2026-08-08 23:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":151799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:30:15] local.INFO: GPS data processed {"connection_id":151799,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:30:15] local.INFO: Acknowledgment sent {"connection_id":151799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:30:19] local.INFO: TCP Data received {"connection_id":151799,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2869678012d0bd14006eec680000c009c2d..."} 
[2026-08-08 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2869678012d0bd14006eec680000c009c2d..."} 
[2026-08-08 23:30:19] local.INFO: Processing buffer {"connection_id":151799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2869678012d0bd14006eec680000c009c2d..."} 
[2026-08-08 23:30:19] local.INFO: Packet analysis {"connection_id":151799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:30:19] local.INFO: Extracted packet for processing {"connection_id":151799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":755749184,"raw_latitude":116311680,"longitude_deg":75.5749184,"latitude_deg":11.631168,"altitude":12,"angle":156,"satellites":45,"speed":33,"hex_longitude":"2d0bd140","hex_latitude":"06eec680","is_valid_coordinates":true} 
[2026-08-08 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270243584001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376153283028320256,"note":"Value kept but may cause issues"} 
[2026-08-08 23:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847591553397929984,"note":"Value kept but may cause issues"} 
[2026-08-08 23:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1786211899000,"timestamp_ms":1786211899000,"timestamp_seconds":1786211899,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2869678"} 
[2026-08-08 23:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":151799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":151799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":151799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270243584001,"66":27332,"158":206,"80":6400,"24":33,"16":376153283028320256,"45":847591553397929984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270243584001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376153283028320256,"km_value":376153283028320.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":847591553397929984,"description":"Unknown IO ID 45"} 
[2026-08-08 23:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270243584001,"power":27332,"unknown_158":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":847591553397929984}} 
[2026-08-08 23:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":151799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:30:19] local.INFO: GPS data processed {"connection_id":151799,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:30:19] local.INFO: Acknowledgment sent {"connection_id":151799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:31:04] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:31:04] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:31:04] local.INFO: IMEI packet received {"connection_id":150595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":150595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:31:08] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:31:08] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:31:08] local.INFO: IMEI packet received {"connection_id":150595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":150595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:31:15] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe286c558012d0be14006eea4c0000e009a2d..."} 
[2026-08-08 23:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe286c558012d0be14006eea4c0000e009a2d..."} 
[2026-08-08 23:31:15] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe286c558012d0be14006eea4c0000e009a2d..."} 
[2026-08-08 23:31:15] local.INFO: Packet analysis {"connection_id":150595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:31:15] local.INFO: Extracted packet for processing {"connection_id":150595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":755753280,"raw_latitude":116303040,"longitude_deg":75.575328,"latitude_deg":11.630304,"altitude":14,"angle":154,"satellites":45,"speed":31,"hex_longitude":"2d0be140","hex_latitude":"06eea4c0","is_valid_coordinates":true} 
[2026-08-08 23:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270246144001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376153742589820928,"note":"Value kept but may cause issues"} 
[2026-08-08 23:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851532203069702144,"note":"Value kept but may cause issues"} 
[2026-08-08 23:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786211911000,"timestamp_ms":1786211911000,"timestamp_seconds":1786211911,"priority":1,"record_length":96,"hex_timestamp":"0000019fe286c558"} 
[2026-08-08 23:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 23:31: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-08-08 23:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270246144001,"66":27484,"158":206,"80":6400,"24":31,"16":376153742589820928,"45":851532203069702144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270246144001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:31:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:31:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376153742589820928,"km_value":376153742589820.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":851532203069702144,"description":"Unknown IO ID 45"} 
[2026-08-08 23:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270246144001,"power":27484,"unknown_158":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":851532203069702144}} 
[2026-08-08 23:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":150595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:31:15] local.INFO: GPS data processed {"connection_id":150595,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:31:15] local.INFO: Acknowledgment sent {"connection_id":150595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:31:47] local.INFO: TCP Data received {"connection_id":150595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe286e498012d0be98006ee9240000f00a62d..."} 
[2026-08-08 23:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe286e498012d0be98006ee9240000f00a62d..."} 
[2026-08-08 23:31:47] local.INFO: Processing buffer {"connection_id":150595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe286e498012d0be98006ee9240000f00a62d..."} 
[2026-08-08 23:31:47] local.INFO: Packet analysis {"connection_id":150595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:31:47] local.INFO: Extracted packet for processing {"connection_id":150595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe286"} 
[2026-08-08 23:31:47] local.INFO: GPS Element Parsed {"raw_longitude":755755392,"raw_latitude":116298304,"longitude_deg":75.5755392,"latitude_deg":11.6298304,"altitude":15,"angle":166,"satellites":45,"speed":18,"hex_longitude":"2d0be980","hex_latitude":"06ee9240","is_valid_coordinates":true} 
[2026-08-08 23:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270249216001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376153995992891392,"note":"Value kept but may cause issues"} 
[2026-08-08 23:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856035802694860800,"note":"Value kept but may cause issues"} 
[2026-08-08 23:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786211919000,"timestamp_ms":1786211919000,"timestamp_seconds":1786211919,"priority":1,"record_length":96,"hex_timestamp":"0000019fe286e498"} 
[2026-08-08 23:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 23:31: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-08-08 23:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:31: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-08-08 23:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270249216001,"66":27397,"158":206,"80":6400,"24":18,"16":376153995992891392,"45":856035802694860800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,80,24,16,45]} 
[2026-08-08 23:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270249216001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:31:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-08 23:31:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376153995992891392,"km_value":376153995992891.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":856035802694860800,"description":"Unknown IO ID 45"} 
[2026-08-08 23:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270249216001,"power":27397,"unknown_158":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":856035802694860800}} 
[2026-08-08 23:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":150595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:31:47] local.INFO: GPS data processed {"connection_id":150595,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:31:47] local.INFO: Acknowledgment sent {"connection_id":150595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:32:03] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:32:03] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:32:03] local.INFO: IMEI packet received {"connection_id":150918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":150918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:32:08] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:32:08] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:32:08] local.INFO: IMEI packet received {"connection_id":150918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":150918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:32:09] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28703d8012d0bed4006ee8420000f00992d..."} 
[2026-08-08 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28703d8012d0bed4006ee8420000f00992d..."} 
[2026-08-08 23:32:09] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28703d8012d0bed4006ee8420000f00992d..."} 
[2026-08-08 23:32:09] local.INFO: Packet analysis {"connection_id":150918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe287"} 
[2026-08-08 23:32:09] local.INFO: Extracted packet for processing {"connection_id":150918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe287"} 
[2026-08-08 23:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755756352,"raw_latitude":116294688,"longitude_deg":75.5756352,"latitude_deg":11.6294688,"altitude":15,"angle":153,"satellites":45,"speed":20,"hex_longitude":"2d0bed40","hex_latitude":"06ee8420","is_valid_coordinates":true} 
[2026-08-08 23:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270251264001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376154176381517824,"note":"Value kept but may cause issues"} 
[2026-08-08 23:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858357971251511296,"note":"Value kept but may cause issues"} 
[2026-08-08 23:32:09] 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-08-08 23:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786211927000,"timestamp_ms":1786211927000,"timestamp_seconds":1786211927,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28703d8"} 
[2026-08-08 23:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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-08-08 23: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-08-08 23:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270251264001,"66":27234,"157":206,"80":6400,"24":20,"16":376154176381517824,"45":858357971251511296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-08-08 23:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270251264001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376154176381517824,"km_value":376154176381517.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":858357971251511296,"description":"Unknown IO ID 45"} 
[2026-08-08 23:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270251264001,"power":27234,"unknown_157":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":858357971251511296}} 
[2026-08-08 23:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":150918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:32:09] local.INFO: GPS data processed {"connection_id":150918,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:32:09] local.INFO: Acknowledgment sent {"connection_id":150918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:32:40] local.INFO: TCP Data received {"connection_id":150918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2899030012d0c694006ed9598000700b02d..."} 
[2026-08-08 23:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2899030012d0c694006ed9598000700b02d..."} 
[2026-08-08 23:32:40] local.INFO: Processing buffer {"connection_id":150918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2899030012d0c694006ed9598000700b02d..."} 
[2026-08-08 23:32:40] local.INFO: Packet analysis {"connection_id":150918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe289"} 
[2026-08-08 23:32:40] local.INFO: Extracted packet for processing {"connection_id":150918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe289"} 
[2026-08-08 23:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755788096,"raw_latitude":116233624,"longitude_deg":75.5788096,"latitude_deg":11.6233624,"altitude":7,"angle":176,"satellites":45,"speed":33,"hex_longitude":"2d0c6940","hex_latitude":"06ed9598","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270293248001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376157577995616256,"note":"Value kept but may cause issues"} 
[2026-08-08 23:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892979393372680192,"note":"Value kept but may cause issues"} 
[2026-08-08 23:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786212094000,"timestamp_ms":1786212094000,"timestamp_seconds":1786212094,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2899030"} 
[2026-08-08 23:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:32: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-08-08 23: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 23:32: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-08-08 23: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-08-08 23:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":150918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":150918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270293248001,"66":27463,"49":206,"80":6400,"24":33,"16":376157577995616256,"45":892979393372680192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270293248001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:32:40] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:32:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376157577995616256,"km_value":376157577995616.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":892979393372680192,"description":"Unknown IO ID 45"} 
[2026-08-08 23:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270293248001,"power":27463,"unknown_49":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":892979393372680192}} 
[2026-08-08 23:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":150918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:32:40] local.INFO: GPS data processed {"connection_id":150918,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:32:40] local.INFO: Acknowledgment sent {"connection_id":150918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:33:08] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:33:08] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:33:08] local.INFO: IMEI packet received {"connection_id":151800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":151800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:33:09] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe289bf10012d0c688006ed7018000700b82e..."} 
[2026-08-08 23:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe289bf10012d0c688006ed7018000700b82e..."} 
[2026-08-08 23:33:09] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe289bf10012d0c688006ed7018000700b82e..."} 
[2026-08-08 23:33:09] local.INFO: Packet analysis {"connection_id":151800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe289"} 
[2026-08-08 23:33:09] local.INFO: Extracted packet for processing {"connection_id":151800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe289"} 
[2026-08-08 23:33:09] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":116224024,"longitude_deg":75.5787904,"latitude_deg":11.6224024,"altitude":7,"angle":184,"satellites":46,"speed":30,"hex_longitude":"2d0c6880","hex_latitude":"06ed7018","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270296064001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376158046147051520,"note":"Value kept but may cause issues"} 
[2026-08-08 23:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894316399509739520,"note":"Value kept but may cause issues"} 
[2026-08-08 23:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786212106000,"timestamp_ms":1786212106000,"timestamp_seconds":1786212106,"priority":1,"record_length":96,"hex_timestamp":"0000019fe289bf10"} 
[2026-08-08 23:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270296064001,"66":26636,"49":206,"80":6400,"24":30,"16":376158046147051520,"45":894316399509739520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270296064001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:33:09] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:33:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376158046147051520,"km_value":376158046147051.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":894316399509739520,"description":"Unknown IO ID 45"} 
[2026-08-08 23:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270296064001,"power":26636,"unknown_49":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":894316399509739520}} 
[2026-08-08 23:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":151800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:33:09] local.INFO: GPS data processed {"connection_id":151800,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:33:09] local.INFO: Acknowledgment sent {"connection_id":151800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:33:40] local.INFO: TCP Data received {"connection_id":151800,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe289edf0012d0c634006ed4d30000700bb2c..."} 
[2026-08-08 23:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe289edf0012d0c634006ed4d30000700bb2c..."} 
[2026-08-08 23:33:40] local.INFO: Processing buffer {"connection_id":151800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe289edf0012d0c634006ed4d30000700bb2c..."} 
[2026-08-08 23:33:40] local.INFO: Packet analysis {"connection_id":151800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe289"} 
[2026-08-08 23:33:40] local.INFO: Extracted packet for processing {"connection_id":151800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe289"} 
[2026-08-08 23:33:40] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":116215088,"longitude_deg":75.578656,"latitude_deg":11.6215088,"altitude":7,"angle":187,"satellites":44,"speed":27,"hex_longitude":"2d0c6340","hex_latitude":"06ed4d30","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270299136001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376158484233715712,"note":"Value kept but may cause issues"} 
[2026-08-08 23:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293274748928,"note":"Value kept but may cause issues"} 
[2026-08-08 23:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786212118000,"timestamp_ms":1786212118000,"timestamp_seconds":1786212118,"priority":1,"record_length":96,"hex_timestamp":"0000019fe289edf0"} 
[2026-08-08 23:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23: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-08-08 23: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-08 23:33: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-08-08 23: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-08-08 23:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":151800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":151800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270299136001,"66":27321,"49":206,"80":6400,"24":27,"16":376158484233715712,"45":894105293274748928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270299136001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:33:40] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:33:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376158484233715712,"km_value":376158484233715.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293274748928,"description":"Unknown IO ID 45"} 
[2026-08-08 23:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270299136001,"power":27321,"unknown_49":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":894105293274748928}} 
[2026-08-08 23:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":151800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:33:40] local.INFO: GPS data processed {"connection_id":151800,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:33:40] local.INFO: Acknowledgment sent {"connection_id":151800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:34:07] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:07] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:07] local.INFO: IMEI packet received {"connection_id":150596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":150596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:34:08] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:08] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:08] local.INFO: IMEI packet received {"connection_id":150596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":150596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:34:14] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:14] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:34:14] local.INFO: IMEI packet received {"connection_id":150596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":150596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:34:14] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28a2888012d0c5e8006ed2a28000600bc2c..."} 
[2026-08-08 23:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28a2888012d0c5e8006ed2a28000600bc2c..."} 
[2026-08-08 23:34:15] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28a2888012d0c5e8006ed2a28000600bc2c..."} 
[2026-08-08 23:34:15] local.INFO: Packet analysis {"connection_id":150596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:34:15] local.INFO: Extracted packet for processing {"connection_id":150596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:34:15] local.INFO: GPS Element Parsed {"raw_longitude":755785344,"raw_latitude":116206120,"longitude_deg":75.5785344,"latitude_deg":11.620612,"altitude":6,"angle":188,"satellites":44,"speed":12,"hex_longitude":"2d0c5e80","hex_latitude":"06ed2a28","is_valid_coordinates":true} 
[2026-08-08 23:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270302208001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376158922320379904,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627549644730368,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786212133000,"timestamp_ms":1786212133000,"timestamp_seconds":1786212133,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28a2888"} 
[2026-08-08 23:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270302208001,"66":27267,"49":206,"80":6400,"24":12,"16":376158922320379904,"45":892627549644730368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270302208001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:34:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:34:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376158922320379904,"km_value":376158922320379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627549644730368,"description":"Unknown IO ID 45"} 
[2026-08-08 23:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270302208001,"power":27267,"unknown_49":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":892627549644730368}} 
[2026-08-08 23:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":150596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:34:15] local.INFO: GPS data processed {"connection_id":150596,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:34:15] local.INFO: Acknowledgment sent {"connection_id":150596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:34:17] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28a7a90012d0c5b0006ed0f68000500be2d..."} 
[2026-08-08 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28a7a90012d0c5b0006ed0f68000500be2d..."} 
[2026-08-08 23:34:17] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28a7a90012d0c5b0006ed0f68000500be2d..."} 
[2026-08-08 23:34:17] local.INFO: Packet analysis {"connection_id":150596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:34:17] local.INFO: Extracted packet for processing {"connection_id":150596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":755784448,"raw_latitude":116199272,"longitude_deg":75.5784448,"latitude_deg":11.6199272,"altitude":5,"angle":190,"satellites":45,"speed":14,"hex_longitude":"2d0c5b00","hex_latitude":"06ed0f68","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270306048001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376159257327828992,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891290543503058944,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34: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-08-08 23:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786212154000,"timestamp_ms":1786212154000,"timestamp_seconds":1786212154,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28a7a90"} 
[2026-08-08 23:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 23:34: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-08-08 23: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-08-08 23:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:34: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-08-08 23:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270306048001,"66":27343,"49":206,"80":6400,"24":14,"16":376159257327828992,"45":891290543503058944},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270306048001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:34:17] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:34:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376159257327828992,"km_value":376159257327829.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":891290543503058944,"description":"Unknown IO ID 45"} 
[2026-08-08 23:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270306048001,"power":27343,"unknown_49":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":891290543503058944}} 
[2026-08-08 23:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":150596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:34:17] local.INFO: GPS data processed {"connection_id":150596,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:34:17] local.INFO: Acknowledgment sent {"connection_id":150596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:34:48] local.INFO: TCP Data received {"connection_id":150596,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28a9200012d0c594006ed07a8000600cc2c..."} 
[2026-08-08 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28a9200012d0c594006ed07a8000600cc2c..."} 
[2026-08-08 23:34:48] local.INFO: Processing buffer {"connection_id":150596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28a9200012d0c594006ed07a8000600cc2c..."} 
[2026-08-08 23:34:48] local.INFO: Packet analysis {"connection_id":150596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:34:48] local.INFO: Extracted packet for processing {"connection_id":150596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:34:48] local.INFO: GPS Element Parsed {"raw_longitude":755784000,"raw_latitude":116197288,"longitude_deg":75.5784,"latitude_deg":11.6197288,"altitude":6,"angle":204,"satellites":44,"speed":15,"hex_longitude":"2d0c5940","hex_latitude":"06ed07a8","is_valid_coordinates":true} 
[2026-08-08 23:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270311424001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376159356112076800,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890305381082818560,"note":"Value kept but may cause issues"} 
[2026-08-08 23:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786212160000,"timestamp_ms":1786212160000,"timestamp_seconds":1786212160,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28a9200"} 
[2026-08-08 23:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270311424001,"66":27463,"49":206,"80":6400,"24":15,"16":376159356112076800,"45":890305381082818560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270311424001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:34:48] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:34:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376159356112076800,"km_value":376159356112076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":890305381082818560,"description":"Unknown IO ID 45"} 
[2026-08-08 23:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270311424001,"power":27463,"unknown_49":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":890305381082818560}} 
[2026-08-08 23:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":150596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:34:48] local.INFO: GPS data processed {"connection_id":150596,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:34:48] local.INFO: Acknowledgment sent {"connection_id":150596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:35:04] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:35:04] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:35:04] local.INFO: IMEI packet received {"connection_id":150919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":150919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:35:09] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:35:09] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:35:09] local.INFO: IMEI packet received {"connection_id":150919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":150919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:35:09] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28a95e8012d0c584006ed0670000700d92b..."} 
[2026-08-08 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28a95e8012d0c584006ed0670000700d92b..."} 
[2026-08-08 23:35:09] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28a95e8012d0c584006ed0670000700d92b..."} 
[2026-08-08 23:35:09] local.INFO: Packet analysis {"connection_id":150919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:35:09] local.INFO: Extracted packet for processing {"connection_id":150919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":755783744,"raw_latitude":116196976,"longitude_deg":75.5783744,"latitude_deg":11.6196976,"altitude":7,"angle":217,"satellites":43,"speed":14,"hex_longitude":"2d0c5840","hex_latitude":"06ed0670","is_valid_coordinates":true} 
[2026-08-08 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270312960001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376159377586913280,"note":"Value kept but may cause issues"} 
[2026-08-08 23:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889812799873067008,"note":"Value kept but may cause issues"} 
[2026-08-08 23:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786212161000,"timestamp_ms":1786212161000,"timestamp_seconds":1786212161,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28a95e8"} 
[2026-08-08 23:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:35: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-08-08 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23: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-08-08 23:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":150919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":150919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":150919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270312960001,"66":27234,"49":206,"80":6400,"24":14,"16":376159377586913280,"45":889812799873067008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270312960001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376159377586913280,"km_value":376159377586913.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":889812799873067008,"description":"Unknown IO ID 45"} 
[2026-08-08 23:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270312960001,"power":27234,"unknown_49":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":889812799873067008}} 
[2026-08-08 23:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":150919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:35:09] local.INFO: GPS data processed {"connection_id":150919,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:35:09] local.INFO: Acknowledgment sent {"connection_id":150919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:35:42] local.INFO: TCP Data received {"connection_id":150919,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28a9db8012d0c564006ed0488000700ec2b..."} 
[2026-08-08 23:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28a9db8012d0c564006ed0488000700ec2b..."} 
[2026-08-08 23:35:42] local.INFO: Processing buffer {"connection_id":150919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28a9db8012d0c564006ed0488000700ec2b..."} 
[2026-08-08 23:35:42] local.INFO: Packet analysis {"connection_id":150919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:35:42] local.INFO: Extracted packet for processing {"connection_id":150919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:35:42] local.INFO: GPS Element Parsed {"raw_longitude":755783232,"raw_latitude":116196488,"longitude_deg":75.5783232,"latitude_deg":11.6196488,"altitude":7,"angle":236,"satellites":43,"speed":13,"hex_longitude":"2d0c5640","hex_latitude":"06ed0488","is_valid_coordinates":true} 
[2026-08-08 23:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270313216001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376159411946651648,"note":"Value kept but may cause issues"} 
[2026-08-08 23:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889531324896276480,"note":"Value kept but may cause issues"} 
[2026-08-08 23:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786212163000,"timestamp_ms":1786212163000,"timestamp_seconds":1786212163,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28a9db8"} 
[2026-08-08 23:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 23:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:35: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-08-08 23:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270313216001,"66":27397,"49":206,"80":6400,"24":13,"16":376159411946651648,"45":889531324896276480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270313216001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:35:42] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:35:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376159411946651648,"km_value":376159411946651.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":889531324896276480,"description":"Unknown IO ID 45"} 
[2026-08-08 23:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270313216001,"power":27397,"unknown_49":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":889531324896276480}} 
[2026-08-08 23:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":150919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:35:42] local.INFO: GPS data processed {"connection_id":150919,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:35:42] local.INFO: Acknowledgment sent {"connection_id":150919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:36:04] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:36:04] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:36:04] local.INFO: IMEI packet received {"connection_id":150597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":150597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:36:09] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:36:09] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:36:09] local.INFO: IMEI packet received {"connection_id":150597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":150597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:36:11] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28aad58012d0c51c006ed00d0000700dd2d..."} 
[2026-08-08 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28aad58012d0c51c006ed00d0000700dd2d..."} 
[2026-08-08 23:36:11] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28aad58012d0c51c006ed00d0000700dd2d..."} 
[2026-08-08 23:36:11] local.INFO: Packet analysis {"connection_id":150597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:36:11] local.INFO: Extracted packet for processing {"connection_id":150597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":755782080,"raw_latitude":116195536,"longitude_deg":75.578208,"latitude_deg":11.6195536,"altitude":7,"angle":221,"satellites":45,"speed":14,"hex_longitude":"2d0c51c0","hex_latitude":"06ed00d0","is_valid_coordinates":true} 
[2026-08-08 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270313728001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376159484961095680,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968374942730240,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786212167000,"timestamp_ms":1786212167000,"timestamp_seconds":1786212167,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28aad58"} 
[2026-08-08 23:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:36: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-08-08 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 23:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270313728001,"66":27376,"49":206,"80":6400,"24":14,"16":376159484961095680,"45":888968374942730240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270313728001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376159484961095680,"km_value":376159484961095.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968374942730240,"description":"Unknown IO ID 45"} 
[2026-08-08 23:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270313728001,"power":27376,"unknown_49":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":888968374942730240}} 
[2026-08-08 23:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":150597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:36:11] local.INFO: GPS data processed {"connection_id":150597,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:36:11] local.INFO: Acknowledgment sent {"connection_id":150597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:36:15] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28ab528012d0c500006ecfe50000700ce2e..."} 
[2026-08-08 23:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28ab528012d0c500006ecfe50000700ce2e..."} 
[2026-08-08 23:36:15] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28ab528012d0c500006ecfe50000700ce2e..."} 
[2026-08-08 23:36:15] local.INFO: Packet analysis {"connection_id":150597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:36:15] local.INFO: Extracted packet for processing {"connection_id":150597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28a"} 
[2026-08-08 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":116194896,"longitude_deg":75.5781632,"latitude_deg":11.6194896,"altitude":7,"angle":206,"satellites":46,"speed":16,"hex_longitude":"2d0c5000","hex_latitude":"06ecfe50","is_valid_coordinates":true} 
[2026-08-08 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270314752001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376159519320834048,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887701737547288576,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786212169000,"timestamp_ms":1786212169000,"timestamp_seconds":1786212169,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28ab528"} 
[2026-08-08 23:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:36: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-08-08 23:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270314752001,"66":27071,"49":206,"80":6400,"24":16,"16":376159519320834048,"45":887701737547288576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-08 23:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270314752001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:36:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-08 23:36:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376159519320834048,"km_value":376159519320834.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":887701737547288576,"description":"Unknown IO ID 45"} 
[2026-08-08 23:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270314752001,"power":27071,"unknown_49":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":887701737547288576}} 
[2026-08-08 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":150597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:36:15] local.INFO: GPS data processed {"connection_id":150597,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:36:15] local.INFO: Acknowledgment sent {"connection_id":150597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:36:47] local.INFO: TCP Data received {"connection_id":150597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28d4568012d0c564006ec39c8001400992d..."} 
[2026-08-08 23:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28d4568012d0c564006ec39c8001400992d..."} 
[2026-08-08 23:36:47] local.INFO: Processing buffer {"connection_id":150597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28d4568012d0c564006ec39c8001400992d..."} 
[2026-08-08 23:36:47] local.INFO: Packet analysis {"connection_id":150597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:36:47] local.INFO: Extracted packet for processing {"connection_id":150597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:36:47] local.INFO: GPS Element Parsed {"raw_longitude":755783232,"raw_latitude":116144584,"longitude_deg":75.5783232,"latitude_deg":11.6144584,"altitude":20,"angle":153,"satellites":45,"speed":10,"hex_longitude":"2d0c5640","hex_latitude":"06ec39c8","is_valid_coordinates":true} 
[2026-08-08 23:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270352896001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376162023286767616,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731412698935296,"note":"Value kept but may cause issues"} 
[2026-08-08 23:36:47] 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-08-08 23:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786212337000,"timestamp_ms":1786212337000,"timestamp_seconds":1786212337,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28d4568"} 
[2026-08-08 23:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:36: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-08-08 23:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":150597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":150597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:36: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-08-08 23:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270352896001,"66":27517,"50":206,"80":6400,"24":10,"16":376162023286767616,"45":885731412698935296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-08 23:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270352896001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:36:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 23:36:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376162023286767616,"km_value":376162023286767.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731412698935296,"description":"Unknown IO ID 45"} 
[2026-08-08 23:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270352896001,"power":27517,"unknown_50":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":885731412698935296}} 
[2026-08-08 23:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":150597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:36:47] local.INFO: GPS data processed {"connection_id":150597,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:36:47] local.INFO: Acknowledgment sent {"connection_id":150597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:37:03] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:37:03] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:37:03] local.INFO: IMEI packet received {"connection_id":150920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":150920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:37:09] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:37:09] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:37:09] local.INFO: IMEI packet received {"connection_id":150920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":150920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:37:16] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28d9770012d0c5e8006ec25d80013009d2c..."} 
[2026-08-08 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28d9770012d0c5e8006ec25d80013009d2c..."} 
[2026-08-08 23:37:17] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28d9770012d0c5e8006ec25d80013009d2c..."} 
[2026-08-08 23:37:17] local.INFO: Packet analysis {"connection_id":150920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:37:17] local.INFO: Extracted packet for processing {"connection_id":150920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755785344,"raw_latitude":116139480,"longitude_deg":75.5785344,"latitude_deg":11.613948,"altitude":19,"angle":157,"satellites":44,"speed":10,"hex_longitude":"2d0c5e80","hex_latitude":"06ec25d8","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270358272001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376162293869707264,"note":"Value kept but may cause issues"} 
[2026-08-08 23:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968374929442816,"note":"Value kept but may cause issues"} 
[2026-08-08 23:37:17] 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-08-08 23:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1786212358000,"timestamp_ms":1786212358000,"timestamp_seconds":1786212358,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28d9770"} 
[2026-08-08 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-08-08 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 23:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 23:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":150920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:37: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-08-08 23:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270358272001,"66":27376,"50":206,"80":6400,"24":10,"16":376162293869707264,"45":888968374929442816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-08 23:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270358272001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:37:17] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 23:37:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376162293869707264,"km_value":376162293869707.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968374929442816,"description":"Unknown IO ID 45"} 
[2026-08-08 23:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270358272001,"power":27376,"unknown_50":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":888968374929442816}} 
[2026-08-08 23:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":150920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:37:17] local.INFO: GPS data processed {"connection_id":150920,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:37:17] local.INFO: Acknowledgment sent {"connection_id":150920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:37:48] local.INFO: TCP Data received {"connection_id":150920,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28dbe80012d0c628006ec1aa8001200a92c..."} 
[2026-08-08 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28dbe80012d0c628006ec1aa8001200a92c..."} 
[2026-08-08 23:37:48] local.INFO: Processing buffer {"connection_id":150920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28dbe80012d0c628006ec1aa8001200a92c..."} 
[2026-08-08 23:37:48] local.INFO: Packet analysis {"connection_id":150920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:37:48] local.INFO: Extracted packet for processing {"connection_id":150920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:37:48] local.INFO: GPS Element Parsed {"raw_longitude":755786368,"raw_latitude":116136616,"longitude_deg":75.5786368,"latitude_deg":11.6136616,"altitude":18,"angle":169,"satellites":44,"speed":16,"hex_longitude":"2d0c6280","hex_latitude":"06ec1aa8","is_valid_coordinates":true} 
[2026-08-08 23:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270363648001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376162439898595328,"note":"Value kept but may cause issues"} 
[2026-08-08 23:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891290543485999104,"note":"Value kept but may cause issues"} 
[2026-08-08 23:37:48] 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-08-08 23:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1786212368000,"timestamp_ms":1786212368000,"timestamp_seconds":1786212368,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28dbe80"} 
[2026-08-08 23:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:37: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-08-08 23:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":150920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":150920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270363648001,"66":27376,"50":206,"80":6400,"24":16,"16":376162439898595328,"45":891290543485999104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-08 23:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270363648001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376162439898595328,"km_value":376162439898595.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":891290543485999104,"description":"Unknown IO ID 45"} 
[2026-08-08 23:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270363648001,"power":27376,"unknown_50":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":891290543485999104}} 
[2026-08-08 23:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":150920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:37:48] local.INFO: GPS data processed {"connection_id":150920,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:37:48] local.INFO: Acknowledgment sent {"connection_id":150920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:38:03] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:03] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:03] local.INFO: IMEI packet received {"connection_id":153279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":153279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:38:06] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:06] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:06] local.INFO: IMEI packet received {"connection_id":153279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":153279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:38:07] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:07] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:07] local.INFO: IMEI packet received {"connection_id":153279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":153279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:38:08] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:08] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:38:08] local.INFO: IMEI packet received {"connection_id":153279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":153279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:38:09] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28df530012d0c678006ebf7e8000e00ad2c..."} 
[2026-08-08 23:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28df530012d0c678006ebf7e8000e00ad2c..."} 
[2026-08-08 23:38:09] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28df530012d0c678006ebf7e8000e00ad2c..."} 
[2026-08-08 23:38:09] local.INFO: Packet analysis {"connection_id":153279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:38:09] local.INFO: Extracted packet for processing {"connection_id":153279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28d"} 
[2026-08-08 23:38:09] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":116127720,"longitude_deg":75.5787648,"latitude_deg":11.612772,"altitude":14,"angle":173,"satellites":44,"speed":35,"hex_longitude":"2d0c6780","hex_latitude":"06ebf7e8","is_valid_coordinates":true} 
[2026-08-08 23:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270366208001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376162873690292224,"note":"Value kept but may cause issues"} 
[2026-08-08 23:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892416443392108544,"note":"Value kept but may cause issues"} 
[2026-08-08 23:38:09] 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-08-08 23:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786212382000,"timestamp_ms":1786212382000,"timestamp_seconds":1786212382,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28df530"} 
[2026-08-08 23:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:38: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-08-08 23:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270366208001,"66":27517,"50":206,"80":6400,"24":35,"16":376162873690292224,"45":892416443392108544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-08-08 23:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270366208001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:38:09] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-08 23:38:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376162873690292224,"km_value":376162873690292.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":892416443392108544,"description":"Unknown IO ID 45"} 
[2026-08-08 23:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270366208001,"power":27517,"unknown_50":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":892416443392108544}} 
[2026-08-08 23:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":153279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:38:09] local.INFO: GPS data processed {"connection_id":153279,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:38:09] local.INFO: Acknowledgment sent {"connection_id":153279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:38:40] local.INFO: TCP Data received {"connection_id":153279,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28efed0012d0c90c006eb78480013009a2a..."} 
[2026-08-08 23:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28efed0012d0c90c006eb78480013009a2a..."} 
[2026-08-08 23:38:40] local.INFO: Processing buffer {"connection_id":153279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28efed0012d0c90c006eb78480013009a2a..."} 
[2026-08-08 23:38:40] local.INFO: Packet analysis {"connection_id":153279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28e"} 
[2026-08-08 23:38:40] local.INFO: Extracted packet for processing {"connection_id":153279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28e"} 
[2026-08-08 23:38:40] local.INFO: GPS Element Parsed {"raw_longitude":755798208,"raw_latitude":116095048,"longitude_deg":75.5798208,"latitude_deg":11.6095048,"altitude":19,"angle":154,"satellites":42,"speed":11,"hex_longitude":"2d0c90c0","hex_latitude":"06eb7848","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270386944001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376164651806752768,"note":"Value kept but may cause issues"} 
[2026-08-08 23:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905293923566055424,"note":"Value kept but may cause issues"} 
[2026-08-08 23:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1786212450000,"timestamp_ms":1786212450000,"timestamp_seconds":1786212450,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28efed0"} 
[2026-08-08 23:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:38: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-08-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 23:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":153279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":153279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270386944001,"66":27332,"238":206,"80":6400,"24":11,"16":376164651806752768,"45":905293923566055424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-08 23:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270386944001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:38:40] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-08 23:38:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376164651806752768,"km_value":376164651806752.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":905293923566055424,"description":"Unknown IO ID 45"} 
[2026-08-08 23:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270386944001,"power":27332,"unknown_238":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":905293923566055424}} 
[2026-08-08 23:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":153279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:38:40] local.INFO: GPS data processed {"connection_id":153279,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:38:40] local.INFO: Acknowledgment sent {"connection_id":153279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:39:03] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:39:03] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:39:03] local.INFO: IMEI packet received {"connection_id":150598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":150598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:39:08] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:39:09] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:39:09] local.INFO: IMEI packet received {"connection_id":150598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":150598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:39:11] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28f3580012d0ca04006eb5798000e00912b..."} 
[2026-08-08 23:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28f3580012d0ca04006eb5798000e00912b..."} 
[2026-08-08 23:39:11] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28f3580012d0ca04006eb5798000e00912b..."} 
[2026-08-08 23:39:11] local.INFO: Packet analysis {"connection_id":150598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:39:11] local.INFO: Extracted packet for processing {"connection_id":150598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:39:11] local.INFO: GPS Element Parsed {"raw_longitude":755802176,"raw_latitude":116086680,"longitude_deg":75.5802176,"latitude_deg":11.608668,"altitude":14,"angle":145,"satellites":43,"speed":34,"hex_longitude":"2d0ca040","hex_latitude":"06eb5798","is_valid_coordinates":true} 
[2026-08-08 23:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270387200001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376165098483351552,"note":"Value kept but may cause issues"} 
[2026-08-08 23:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905434661054334976,"note":"Value kept but may cause issues"} 
[2026-08-08 23:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786212464000,"timestamp_ms":1786212464000,"timestamp_seconds":1786212464,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28f3580"} 
[2026-08-08 23:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:39: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-08-08 23: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":196,"data_length":795,"current_offset":136} 
[2026-08-08 23:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270387200001,"66":27365,"238":206,"80":6400,"24":34,"16":376165098483351552,"45":905434661054334976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-08 23:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270387200001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:39:11] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-08 23:39:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376165098483351552,"km_value":376165098483351.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":905434661054334976,"description":"Unknown IO ID 45"} 
[2026-08-08 23:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270387200001,"power":27365,"unknown_238":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":905434661054334976}} 
[2026-08-08 23:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":150598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:39:11] local.INFO: GPS data processed {"connection_id":150598,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:39:11] local.INFO: Acknowledgment sent {"connection_id":150598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:39:43] local.INFO: TCP Data received {"connection_id":150598,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28f6078012d0cb54006eb3ad0000a008f29..."} 
[2026-08-08 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28f6078012d0cb54006eb3ad0000a008f29..."} 
[2026-08-08 23:39:43] local.INFO: Processing buffer {"connection_id":150598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28f6078012d0cb54006eb3ad0000a008f29..."} 
[2026-08-08 23:39:43] local.INFO: Packet analysis {"connection_id":150598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:39:43] local.INFO: Extracted packet for processing {"connection_id":150598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":755807552,"raw_latitude":116079312,"longitude_deg":75.5807552,"latitude_deg":11.6079312,"altitude":10,"angle":143,"satellites":41,"speed":32,"hex_longitude":"2d0cb540","hex_latitude":"06eb3ad0","is_valid_coordinates":true} 
[2026-08-08 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270390784001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376165540864983040,"note":"Value kept but may cause issues"} 
[2026-08-08 23:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909797523191207936,"note":"Value kept but may cause issues"} 
[2026-08-08 23:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786212475000,"timestamp_ms":1786212475000,"timestamp_seconds":1786212475,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28f6078"} 
[2026-08-08 23:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:39: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-08-08 23:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":150598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":150598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270390784001,"66":27517,"238":206,"80":6400,"24":32,"16":376165540864983040,"45":909797523191207936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-08-08 23:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270390784001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:39:43] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-08 23:39:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376165540864983040,"km_value":376165540864983.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":909797523191207936,"description":"Unknown IO ID 45"} 
[2026-08-08 23:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270390784001,"power":27517,"unknown_238":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":909797523191207936}} 
[2026-08-08 23:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":150598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:39:43] local.INFO: GPS data processed {"connection_id":150598,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:39:43] local.INFO: Acknowledgment sent {"connection_id":150598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:40:05] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:06] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:06] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:40:09] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:09] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:09] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:40:14] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:14] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:40:14] local.INFO: IMEI packet received {"connection_id":151801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":151801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:40:15] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28f8b70012d0ccb0006eb1e580008008f25..."} 
[2026-08-08 23:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28f8b70012d0ccb0006eb1e580008008f25..."} 
[2026-08-08 23:40:15] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28f8b70012d0ccb0006eb1e580008008f25..."} 
[2026-08-08 23:40:15] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:40:15] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:40:15] local.INFO: GPS Element Parsed {"raw_longitude":755813120,"raw_latitude":116072024,"longitude_deg":75.581312,"latitude_deg":11.6072024,"altitude":8,"angle":143,"satellites":37,"speed":32,"hex_longitude":"2d0ccb00","hex_latitude":"06eb1e58","is_valid_coordinates":true} 
[2026-08-08 23:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270393600001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376165983246614528,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915708497700245504,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786212486000,"timestamp_ms":1786212486000,"timestamp_seconds":1786212486,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28f8b70"} 
[2026-08-08 23:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 23:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270393600001,"66":27463,"236":206,"80":6400,"24":32,"16":376165983246614528,"45":915708497700245504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-08 23:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270393600001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:40:15] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-08 23:40:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376165983246614528,"km_value":376165983246614.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":915708497700245504,"description":"Unknown IO ID 45"} 
[2026-08-08 23:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270393600001,"power":27463,"unknown_236":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":915708497700245504}} 
[2026-08-08 23:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:40:15] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:40:15] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:40:16] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28fba50012d0ce14006eb01c0000b008c2a..."} 
[2026-08-08 23:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28fba50012d0ce14006eb01c0000b008c2a..."} 
[2026-08-08 23:40:16] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28fba50012d0ce14006eb01c0000b008c2a..."} 
[2026-08-08 23:40:16] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:40:16] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755818816,"raw_latitude":116064704,"longitude_deg":75.5818816,"latitude_deg":11.6064704,"altitude":11,"angle":140,"satellites":42,"speed":29,"hex_longitude":"2d0ce140","hex_latitude":"06eb01c0","is_valid_coordinates":true} 
[2026-08-08 23:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270396416001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376166429923213312,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921830578441836544,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1786212498000,"timestamp_ms":1786212498000,"timestamp_seconds":1786212498,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28fba50"} 
[2026-08-08 23:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270396416001,"66":27484,"236":206,"80":6400,"24":29,"16":376166429923213312,"45":921830578441836544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-08 23:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270396416001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:40:16] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-08 23:40:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376166429923213312,"km_value":376166429923213.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":921830578441836544,"description":"Unknown IO ID 45"} 
[2026-08-08 23:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270396416001,"power":27484,"unknown_236":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":921830578441836544}} 
[2026-08-08 23:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:40:16] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:40:16] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:40:47] local.INFO: TCP Data received {"connection_id":151801,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe28ffcb8012d0cf70006eae5480010008d29..."} 
[2026-08-08 23:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe28ffcb8012d0cf70006eae5480010008d29..."} 
[2026-08-08 23:40:47] local.INFO: Processing buffer {"connection_id":151801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe28ffcb8012d0cf70006eae5480010008d29..."} 
[2026-08-08 23:40:47] local.INFO: Packet analysis {"connection_id":151801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:40:47] local.INFO: Extracted packet for processing {"connection_id":151801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe28f"} 
[2026-08-08 23:40:47] local.INFO: GPS Element Parsed {"raw_longitude":755824384,"raw_latitude":116057416,"longitude_deg":75.5824384,"latitude_deg":11.6057416,"altitude":16,"angle":141,"satellites":41,"speed":22,"hex_longitude":"2d0cf700","hex_latitude":"06eae548","is_valid_coordinates":true} 
[2026-08-08 23:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270399488001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376166872304844800,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928093396671774720,"note":"Value kept but may cause issues"} 
[2026-08-08 23:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1786212515000,"timestamp_ms":1786212515000,"timestamp_seconds":1786212515,"priority":1,"record_length":96,"hex_timestamp":"0000019fe28ffcb8"} 
[2026-08-08 23:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 23:40: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-08-08 23:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":151801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":151801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":151801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:40: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-08-08 23:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270399488001,"66":27332,"83":206,"80":6400,"24":22,"16":376166872304844800,"45":928093396671774720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-08 23:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270399488001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-08 23:40:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376166872304844800,"km_value":376166872304844.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":928093396671774720,"description":"Unknown IO ID 45"} 
[2026-08-08 23:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270399488001,"power":27332,"unknown_83":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":928093396671774720}} 
[2026-08-08 23:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":151801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:40:47] local.INFO: GPS data processed {"connection_id":151801,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:40:47] local.INFO: Acknowledgment sent {"connection_id":151801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:41:03] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:03] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:03] local.INFO: IMEI packet received {"connection_id":150599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":150599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:41:03] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:03] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:03] local.INFO: IMEI packet received {"connection_id":150599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":150599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:41:09] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:09] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:41:09] local.INFO: IMEI packet received {"connection_id":150599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":150599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:41:10] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29177a0012d0d628006ea0938000d00be28..."} 
[2026-08-08 23:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29177a0012d0d628006ea0938000d00be28..."} 
[2026-08-08 23:41:10] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29177a0012d0d628006ea0938000d00be28..."} 
[2026-08-08 23:41:10] local.INFO: Packet analysis {"connection_id":150599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe291"} 
[2026-08-08 23:41:10] local.INFO: Extracted packet for processing {"connection_id":150599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe291"} 
[2026-08-08 23:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755851904,"raw_latitude":116001080,"longitude_deg":75.5851904,"latitude_deg":11.600108,"altitude":13,"angle":190,"satellites":40,"speed":15,"hex_longitude":"2d0d6280","hex_latitude":"06ea0938","is_valid_coordinates":true} 
[2026-08-08 23:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270427136001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376170153659858944,"note":"Value kept but may cause issues"} 
[2026-08-08 23:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964614774884390912,"note":"Value kept but may cause issues"} 
[2026-08-08 23:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786212612000,"timestamp_ms":1786212612000,"timestamp_seconds":1786212612,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29177a0"} 
[2026-08-08 23:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:41: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-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":150599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":150599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":150599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23: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-08-08 23:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270427136001,"66":27365,"83":206,"80":6400,"24":15,"16":376170153659858944,"45":964614774884390912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-08 23:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270427136001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-08 23:41:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376170153659858944,"km_value":376170153659858.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":964614774884390912,"description":"Unknown IO ID 45"} 
[2026-08-08 23:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270427136001,"power":27365,"unknown_83":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":964614774884390912}} 
[2026-08-08 23:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":150599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:41:10] local.INFO: GPS data processed {"connection_id":150599,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:41:10] local.INFO: Acknowledgment sent {"connection_id":150599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:41:45] local.INFO: TCP Data received {"connection_id":150599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2918b28012d0d614006ea0268000e00b029..."} 
[2026-08-08 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2918b28012d0d614006ea0268000e00b029..."} 
[2026-08-08 23:41:45] local.INFO: Processing buffer {"connection_id":150599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2918b28012d0d614006ea0268000e00b029..."} 
[2026-08-08 23:41:45] local.INFO: Packet analysis {"connection_id":150599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe291"} 
[2026-08-08 23:41:45] local.INFO: Extracted packet for processing {"connection_id":150599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe291"} 
[2026-08-08 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":115999336,"longitude_deg":75.5851584,"latitude_deg":11.5999336,"altitude":14,"angle":176,"satellites":41,"speed":14,"hex_longitude":"2d0d6140","hex_latitude":"06ea0268","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270428672001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376170239559204864,"note":"Value kept but may cause issues"} 
[2026-08-08 23:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964474037395339264,"note":"Value kept but may cause issues"} 
[2026-08-08 23:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1786212617000,"timestamp_ms":1786212617000,"timestamp_seconds":1786212617,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2918b28"} 
[2026-08-08 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-08-08 23:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:41: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-08-08 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-08-08 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-08-08 23:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":150599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":150599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":150599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:41: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-08-08 23:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270428672001,"66":27343,"250":206,"80":6400,"24":14,"16":376170239559204864,"45":964474037395339264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-08-08 23:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270428672001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:41:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-08 23:41:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376170239559204864,"km_value":376170239559204.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":964474037395339264,"description":"Unknown IO ID 45"} 
[2026-08-08 23:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270428672001,"power":27343,"unknown_250":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":964474037395339264}} 
[2026-08-08 23:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":150599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:41:45] local.INFO: GPS data processed {"connection_id":150599,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:41:45] local.INFO: Acknowledgment sent {"connection_id":150599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:42:08] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:42:08] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:42:08] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:42:25] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:42:25] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:42:25] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:42:25] local.INFO: TCP Data received {"connection_id":151802,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 23:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151802,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 23:42:25] local.INFO: Processing buffer {"connection_id":151802,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 23:42:25] local.INFO: IMEI packet received {"connection_id":151802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":151802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:47:29] local.INFO: TCP Data received {"connection_id":153282,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:47:29] local.INFO: Processing buffer {"connection_id":153282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:47:29] local.INFO: IMEI packet received {"connection_id":153282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":153282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:47:30] local.INFO: TCP Data received {"connection_id":153282,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29724c0012d0ee34006e753700006008b2b..."} 
[2026-08-08 23:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29724c0012d0ee34006e753700006008b2b..."} 
[2026-08-08 23:47:30] local.INFO: Processing buffer {"connection_id":153282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29724c0012d0ee34006e753700006008b2b..."} 
[2026-08-08 23:47:30] local.INFO: Packet analysis {"connection_id":153282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:47:30] local.INFO: Extracted packet for processing {"connection_id":153282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:47:30] local.INFO: GPS Element Parsed {"raw_longitude":755950400,"raw_latitude":115823472,"longitude_deg":75.59504,"latitude_deg":11.5823472,"altitude":6,"angle":139,"satellites":43,"speed":19,"hex_longitude":"2d0ee340","hex_latitude":"06e75370","is_valid_coordinates":true} 
[2026-08-08 23:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270522880001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376180538890780672,"note":"Value kept but may cause issues"} 
[2026-08-08 23:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1071012316035155968,"note":"Value kept but may cause issues"} 
[2026-08-08 23:47:30] 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-08-08 23:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1786212984000,"timestamp_ms":1786212984000,"timestamp_seconds":1786212984,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29724c0"} 
[2026-08-08 23:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":153282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":153282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":153282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270522880001,"66":27234,"98":206,"80":6400,"24":19,"16":376180538890780672,"45":1071012316035155968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-08-08 23:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270522880001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:47:30] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-08 23:47:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376180538890780672,"km_value":376180538890780.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1071012316035155968,"description":"Unknown IO ID 45"} 
[2026-08-08 23:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270522880001,"power":27234,"unknown_98":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1071012316035155968}} 
[2026-08-08 23:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":153282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:47:30] local.INFO: GPS data processed {"connection_id":153282,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:47:30] local.INFO: Acknowledgment sent {"connection_id":153282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:48:03] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:48:03] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:48:03] local.INFO: IMEI packet received {"connection_id":151805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":151805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:48:09] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:48:09] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:48:09] local.INFO: IMEI packet received {"connection_id":151805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":151805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:48:10] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29776c8012d0efd4006e73900000c008429..."} 
[2026-08-08 23:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29776c8012d0efd4006e73900000c008429..."} 
[2026-08-08 23:48:10] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29776c8012d0efd4006e73900000c008429..."} 
[2026-08-08 23:48:10] local.INFO: Packet analysis {"connection_id":151805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:48:10] local.INFO: Extracted packet for processing {"connection_id":151805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:48:10] local.INFO: GPS Element Parsed {"raw_longitude":755957056,"raw_latitude":115816704,"longitude_deg":75.5957056,"latitude_deg":11.5816704,"altitude":12,"angle":132,"satellites":41,"speed":23,"hex_longitude":"2d0efd40","hex_latitude":"06e73900","is_valid_coordinates":true} 
[2026-08-08 23:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270523904001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376180994157314048,"note":"Value kept but may cause issues"} 
[2026-08-08 23:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1072771534639296512,"note":"Value kept but may cause issues"} 
[2026-08-08 23:48:10] 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-08-08 23:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786213005000,"timestamp_ms":1786213005000,"timestamp_seconds":1786213005,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29776c8"} 
[2026-08-08 23:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:48: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-08-08 23:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-08 23:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23: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-08-08 23:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270523904001,"66":26539,"166":206,"80":6400,"24":23,"16":376180994157314048,"45":1072771534639296512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-08 23:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270523904001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:48:10] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 23:48:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376180994157314048,"km_value":376180994157314.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1072771534639296512,"description":"Unknown IO ID 45"} 
[2026-08-08 23:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270523904001,"power":26539,"unknown_166":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1072771534639296512}} 
[2026-08-08 23:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":151805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:48:10] local.INFO: GPS data processed {"connection_id":151805,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:48:10] local.INFO: Acknowledgment sent {"connection_id":151805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:48:42] local.INFO: TCP Data received {"connection_id":151805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29776c8012d0efd4006e73900000c008429..."} 
[2026-08-08 23:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29776c8012d0efd4006e73900000c008429..."} 
[2026-08-08 23:48:42] local.INFO: Processing buffer {"connection_id":151805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29776c8012d0efd4006e73900000c008429..."} 
[2026-08-08 23:48:42] local.INFO: Packet analysis {"connection_id":151805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:48:42] local.INFO: Extracted packet for processing {"connection_id":151805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:48:42] local.INFO: GPS Element Parsed {"raw_longitude":755957056,"raw_latitude":115816704,"longitude_deg":75.5957056,"latitude_deg":11.5816704,"altitude":12,"angle":132,"satellites":41,"speed":23,"hex_longitude":"2d0efd40","hex_latitude":"06e73900","is_valid_coordinates":true} 
[2026-08-08 23:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270529280001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376180994157314048,"note":"Value kept but may cause issues"} 
[2026-08-08 23:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1080089884032040960,"note":"Value kept but may cause issues"} 
[2026-08-08 23:48:42] 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-08-08 23:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786213005000,"timestamp_ms":1786213005000,"timestamp_seconds":1786213005,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29776c8"} 
[2026-08-08 23:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:48: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-08-08 23: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-08 23:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":151805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":151805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:48: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-08-08 23:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270529280001,"66":26539,"166":206,"80":6400,"24":23,"16":376180994157314048,"45":1080089884032040960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-08 23:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270529280001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:48:42] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 23:48:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376180994157314048,"km_value":376180994157314.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1080089884032040960,"description":"Unknown IO ID 45"} 
[2026-08-08 23:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270529280001,"power":26539,"unknown_166":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1080089884032040960}} 
[2026-08-08 23:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":151805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:48:42] local.INFO: GPS data processed {"connection_id":151805,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:48:42] local.INFO: Acknowledgment sent {"connection_id":151805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:49:04] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:04] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:04] local.INFO: IMEI packet received {"connection_id":150921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":150921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:49:04] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:04] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:04] local.INFO: IMEI packet received {"connection_id":150921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":150921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:49:09] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:09] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:49:09] local.INFO: IMEI packet received {"connection_id":150921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":150921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:49:11] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe297ad78012d0f184006e71fd8000c00852b..."} 
[2026-08-08 23:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe297ad78012d0f184006e71fd8000c00852b..."} 
[2026-08-08 23:49:11] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe297ad78012d0f184006e71fd8000c00852b..."} 
[2026-08-08 23:49:11] local.INFO: Packet analysis {"connection_id":150921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:49:11] local.INFO: Extracted packet for processing {"connection_id":150921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:49:11] local.INFO: GPS Element Parsed {"raw_longitude":755963968,"raw_latitude":115810264,"longitude_deg":75.5963968,"latitude_deg":11.5810264,"altitude":12,"angle":133,"satellites":43,"speed":27,"hex_longitude":"2d0f1840","hex_latitude":"06e71fd8","is_valid_coordinates":true} 
[2026-08-08 23:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270529280001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376181449423847424,"note":"Value kept but may cause issues"} 
[2026-08-08 23:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1080089884032040960,"note":"Value kept but may cause issues"} 
[2026-08-08 23:49:11] 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-08-08 23:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786213019000,"timestamp_ms":1786213019000,"timestamp_seconds":1786213019,"priority":1,"record_length":96,"hex_timestamp":"0000019fe297ad78"} 
[2026-08-08 23:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:49: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-08-08 23:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-08 23:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":150921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":150921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":150921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270529280001,"66":27517,"166":206,"80":6400,"24":27,"16":376181449423847424,"45":1080089884032040960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-08 23:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270529280001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376181449423847424,"km_value":376181449423847.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1080089884032040960,"description":"Unknown IO ID 45"} 
[2026-08-08 23:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270529280001,"power":27517,"unknown_166":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":1080089884032040960}} 
[2026-08-08 23:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":150921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:49:11] local.INFO: GPS data processed {"connection_id":150921,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:49:11] local.INFO: Acknowledgment sent {"connection_id":150921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:49:42] local.INFO: TCP Data received {"connection_id":150921,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe297e040012d0f320006e70800000900852c..."} 
[2026-08-08 23:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe297e040012d0f320006e70800000900852c..."} 
[2026-08-08 23:49:42] local.INFO: Processing buffer {"connection_id":150921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe297e040012d0f320006e70800000900852c..."} 
[2026-08-08 23:49:42] local.INFO: Packet analysis {"connection_id":150921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:49:42] local.INFO: Extracted packet for processing {"connection_id":150921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe297"} 
[2026-08-08 23:49:42] local.INFO: GPS Element Parsed {"raw_longitude":755970560,"raw_latitude":115804160,"longitude_deg":75.597056,"latitude_deg":11.580416,"altitude":9,"angle":133,"satellites":44,"speed":29,"hex_longitude":"2d0f3200","hex_latitude":"06e70800","is_valid_coordinates":true} 
[2026-08-08 23:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270532864001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376181878920577024,"note":"Value kept but may cause issues"} 
[2026-08-08 23:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1087689708401580032,"note":"Value kept but may cause issues"} 
[2026-08-08 23:49:42] 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-08-08 23:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1786213032000,"timestamp_ms":1786213032000,"timestamp_seconds":1786213032,"priority":1,"record_length":96,"hex_timestamp":"0000019fe297e040"} 
[2026-08-08 23:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:49: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-08-08 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-08 23:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":150921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":150921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":150921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:49: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-08-08 23:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270532864001,"66":27463,"166":206,"80":6400,"24":29,"16":376181878920577024,"45":1087689708401580032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-08 23:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270532864001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:49:42] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 23:49:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376181878920577024,"km_value":376181878920577.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1087689708401580032,"description":"Unknown IO ID 45"} 
[2026-08-08 23:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270532864001,"power":27463,"unknown_166":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1087689708401580032}} 
[2026-08-08 23:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":150921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:49:42] local.INFO: GPS data processed {"connection_id":150921,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:49:42] local.INFO: Acknowledgment sent {"connection_id":150921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:50:03] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:50:03] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:50:03] local.INFO: IMEI packet received {"connection_id":151806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":151806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:50:09] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:50:09] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:50:09] local.INFO: IMEI packet received {"connection_id":151806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":151806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:50:11] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2980b38012d0f4c8006e6f108000500822b..."} 
[2026-08-08 23:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2980b38012d0f4c8006e6f108000500822b..."} 
[2026-08-08 23:50:11] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2980b38012d0f4c8006e6f108000500822b..."} 
[2026-08-08 23:50:11] local.INFO: Packet analysis {"connection_id":151806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe298"} 
[2026-08-08 23:50:11] local.INFO: Extracted packet for processing {"connection_id":151806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe298"} 
[2026-08-08 23:50:11] local.INFO: GPS Element Parsed {"raw_longitude":755977344,"raw_latitude":115798280,"longitude_deg":75.5977344,"latitude_deg":11.579828,"altitude":5,"angle":130,"satellites":43,"speed":36,"hex_longitude":"2d0f4c80","hex_latitude":"06e6f108","is_valid_coordinates":true} 
[2026-08-08 23:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270536192001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376182312712273920,"note":"Value kept but may cause issues"} 
[2026-08-08 23:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1094937689050316800,"note":"Value kept but may cause issues"} 
[2026-08-08 23:50:11] 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-08-08 23:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1786213043000,"timestamp_ms":1786213043000,"timestamp_seconds":1786213043,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2980b38"} 
[2026-08-08 23:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:50: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-08-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":151806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":151806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":151806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270536192001,"66":27517,"166":206,"80":6400,"24":36,"16":376182312712273920,"45":1094937689050316800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-08 23:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270536192001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:50:11] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-08 23:50:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376182312712273920,"km_value":376182312712273.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1094937689050316800,"description":"Unknown IO ID 45"} 
[2026-08-08 23:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270536192001,"power":27517,"unknown_166":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":1094937689050316800}} 
[2026-08-08 23:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":151806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:50:11] local.INFO: GPS data processed {"connection_id":151806,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:50:11] local.INFO: Acknowledgment sent {"connection_id":151806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:50:43] local.INFO: TCP Data received {"connection_id":151806,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29a41a0012d10610006e64728000600802a..."} 
[2026-08-08 23:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29a41a0012d10610006e64728000600802a..."} 
[2026-08-08 23:50:43] local.INFO: Processing buffer {"connection_id":151806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29a41a0012d10610006e64728000600802a..."} 
[2026-08-08 23:50:43] local.INFO: Packet analysis {"connection_id":151806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:50:43] local.INFO: Extracted packet for processing {"connection_id":151806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756048128,"raw_latitude":115754792,"longitude_deg":75.6048128,"latitude_deg":11.5754792,"altitude":6,"angle":128,"satellites":42,"speed":45,"hex_longitude":"2d106100","hex_latitude":"06e64728","is_valid_coordinates":true} 
[2026-08-08 23:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270574080001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376186307031859200,"note":"Value kept but may cause issues"} 
[2026-08-08 23:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1171780357681145856,"note":"Value kept but may cause issues"} 
[2026-08-08 23:50:43] 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-08-08 23:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786213188000,"timestamp_ms":1786213188000,"timestamp_seconds":1786213188,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29a41a0"} 
[2026-08-08 23:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:50: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-08-08 23: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":164,"data_length":795,"current_offset":136} 
[2026-08-08 23:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270574080001,"66":27321,"246":206,"80":6400,"24":45,"16":376186307031859200,"45":1171780357681145856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-08-08 23:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270574080001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:50:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376186307031859200,"km_value":376186307031859.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1171780357681145856,"description":"Unknown IO ID 45"} 
[2026-08-08 23:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270574080001,"power":27321,"main_input_voltage":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":1171780357681145856}} 
[2026-08-08 23:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":151806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:50:43] local.INFO: GPS data processed {"connection_id":151806,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:50:43] local.INFO: Acknowledgment sent {"connection_id":151806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:51:03] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:51:03] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:51:03] local.INFO: IMEI packet received {"connection_id":153283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":153283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:51:09] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:51:09] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:51:09] local.INFO: IMEI packet received {"connection_id":153283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":153283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:51:10] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29a60e0012d107b0006e62f700006008b2b..."} 
[2026-08-08 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29a60e0012d107b0006e62f700006008b2b..."} 
[2026-08-08 23:51:10] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29a60e0012d107b0006e62f700006008b2b..."} 
[2026-08-08 23:51:10] local.INFO: Packet analysis {"connection_id":153283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:51:10] local.INFO: Extracted packet for processing {"connection_id":153283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756054784,"raw_latitude":115748720,"longitude_deg":75.6054784,"latitude_deg":11.574872,"altitude":6,"angle":139,"satellites":43,"speed":43,"hex_longitude":"2d107b00","hex_latitude":"06e62f70","is_valid_coordinates":true} 
[2026-08-08 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270576128001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376186740823556096,"note":"Value kept but may cause issues"} 
[2026-08-08 23:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1180224606981007360,"note":"Value kept but may cause issues"} 
[2026-08-08 23:51:10] 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-08-08 23:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786213196000,"timestamp_ms":1786213196000,"timestamp_seconds":1786213196,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29a60e0"} 
[2026-08-08 23:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":153283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:51: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-08-08 23:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270576128001,"66":27343,"246":206,"80":6400,"24":43,"16":376186740823556096,"45":1180224606981007360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-08-08 23:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270576128001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:51:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376186740823556096,"km_value":376186740823556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1180224606981007360,"description":"Unknown IO ID 45"} 
[2026-08-08 23:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270576128001,"power":27343,"main_input_voltage":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":1180224606981007360}} 
[2026-08-08 23:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":153283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:51:10] local.INFO: GPS data processed {"connection_id":153283,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:51:10] local.INFO: Acknowledgment sent {"connection_id":153283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:51:56] local.INFO: TCP Data received {"connection_id":153283,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29a8020012d108dc006e61410000800972b..."} 
[2026-08-08 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29a8020012d108dc006e61410000800972b..."} 
[2026-08-08 23:51:56] local.INFO: Processing buffer {"connection_id":153283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29a8020012d108dc006e61410000800972b..."} 
[2026-08-08 23:51:56] local.INFO: Packet analysis {"connection_id":153283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:51:56] local.INFO: Extracted packet for processing {"connection_id":153283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756059584,"raw_latitude":115741712,"longitude_deg":75.6059584,"latitude_deg":11.5741712,"altitude":8,"angle":151,"satellites":43,"speed":42,"hex_longitude":"2d108dc0","hex_latitude":"06e61410","is_valid_coordinates":true} 
[2026-08-08 23:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270578176001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376187148845449216,"note":"Value kept but may cause issues"} 
[2026-08-08 23:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1187542956373929984,"note":"Value kept but may cause issues"} 
[2026-08-08 23:51: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-08-08 23:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1786213204000,"timestamp_ms":1786213204000,"timestamp_seconds":1786213204,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29a8020"} 
[2026-08-08 23:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":153283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":153283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270578176001,"66":27343,"246":206,"80":6400,"24":42,"16":376187148845449216,"45":1187542956373929984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-08-08 23:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270578176001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:51:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376187148845449216,"km_value":376187148845449.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1187542956373929984,"description":"Unknown IO ID 45"} 
[2026-08-08 23:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270578176001,"power":27343,"main_input_voltage":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1187542956373929984}} 
[2026-08-08 23:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":153283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:51:56] local.INFO: GPS data processed {"connection_id":153283,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:51:56] local.INFO: Acknowledgment sent {"connection_id":153283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:52:13] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:13] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:13] local.INFO: IMEI packet received {"connection_id":150922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":150922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:52:14] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:14] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:14] local.INFO: IMEI packet received {"connection_id":150922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":150922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:52:19] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:19] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:52:19] local.INFO: IMEI packet received {"connection_id":150922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":150922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:52:21] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29aa348012d109dc006e5f3180009009d2b..."} 
[2026-08-08 23:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29aa348012d109dc006e5f3180009009d2b..."} 
[2026-08-08 23:52:21] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29aa348012d109dc006e5f3180009009d2b..."} 
[2026-08-08 23:52:21] local.INFO: Packet analysis {"connection_id":150922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:52:21] local.INFO: Extracted packet for processing {"connection_id":150922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756063680,"raw_latitude":115733272,"longitude_deg":75.606368,"latitude_deg":11.5733272,"altitude":9,"angle":157,"satellites":43,"speed":41,"hex_longitude":"2d109dc0","hex_latitude":"06e5f318","is_valid_coordinates":true} 
[2026-08-08 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270580224001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376187604111982592,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1192820612185460736,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:21] 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-08-08 23:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786213213000,"timestamp_ms":1786213213000,"timestamp_seconds":1786213213,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29aa348"} 
[2026-08-08 23:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-08 23:52: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-08-08 23:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:52: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-08-08 23:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270580224001,"66":27267,"246":206,"80":6400,"24":41,"16":376187604111982592,"45":1192820612185460736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-08-08 23:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270580224001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:52:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376187604111982592,"km_value":376187604111982.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1192820612185460736,"description":"Unknown IO ID 45"} 
[2026-08-08 23:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270580224001,"power":27267,"main_input_voltage":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":1192820612185460736}} 
[2026-08-08 23:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":150922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:52:21] local.INFO: GPS data processed {"connection_id":150922,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:52:21] local.INFO: Acknowledgment sent {"connection_id":150922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:52:24] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29aca58012d10acc006e5d0d0000a009b29..."} 
[2026-08-08 23:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29aca58012d10acc006e5d0d0000a009b29..."} 
[2026-08-08 23:52:24] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29aca58012d10acc006e5d0d0000a009b29..."} 
[2026-08-08 23:52:24] local.INFO: Packet analysis {"connection_id":150922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:52:24] local.INFO: Extracted packet for processing {"connection_id":150922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756067520,"raw_latitude":115724496,"longitude_deg":75.606752,"latitude_deg":11.5724496,"altitude":10,"angle":155,"satellites":41,"speed":36,"hex_longitude":"2d10acc0","hex_latitude":"06e5d0d0","is_valid_coordinates":true} 
[2026-08-08 23: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-08-08 23:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270582528001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376188067968450560,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1197324211810670592,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1786213223000,"timestamp_ms":1786213223000,"timestamp_seconds":1786213223,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29aca58"} 
[2026-08-08 23:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 23:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23: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-08-08 23:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":150922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":150922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":150922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270582528001,"66":27365,"245":206,"80":6400,"24":36,"16":376188067968450560,"45":1197324211810670592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-08-08 23:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270582528001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:52:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376188067968450560,"km_value":376188067968450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1197324211810670592,"description":"Unknown IO ID 45"} 
[2026-08-08 23:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270582528001,"power":27365,"geofence_id":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":1197324211810670592}} 
[2026-08-08 23:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":150922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:52:24] local.INFO: GPS data processed {"connection_id":150922,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:52:24] local.INFO: Acknowledgment sent {"connection_id":150922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:52:25] local.INFO: TCP Data received {"connection_id":150922,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29af168012d10bc4006e5b0d0000c009a2a..."} 
[2026-08-08 23:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29af168012d10bc4006e5b0d0000c009a2a..."} 
[2026-08-08 23:52:25] local.INFO: Processing buffer {"connection_id":150922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29af168012d10bc4006e5b0d0000c009a2a..."} 
[2026-08-08 23:52:25] local.INFO: Packet analysis {"connection_id":150922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:52:25] local.INFO: Extracted packet for processing {"connection_id":150922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29a"} 
[2026-08-08 23:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756071488,"raw_latitude":115716304,"longitude_deg":75.6071488,"latitude_deg":11.5716304,"altitude":12,"angle":154,"satellites":42,"speed":35,"hex_longitude":"2d10bc40","hex_latitude":"06e5b0d0","is_valid_coordinates":true} 
[2026-08-08 23:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270585088001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376188506055114752,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1201546336459083776,"note":"Value kept but may cause issues"} 
[2026-08-08 23:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1786213233000,"timestamp_ms":1786213233000,"timestamp_seconds":1786213233,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29af168"} 
[2026-08-08 23:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:52: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":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":150922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":150922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":150922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270585088001,"66":27343,"245":206,"80":6400,"24":35,"16":376188506055114752,"45":1201546336459083776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-08-08 23:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270585088001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:52:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-08 23:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376188506055114752,"km_value":376188506055114.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1201546336459083776,"description":"Unknown IO ID 45"} 
[2026-08-08 23:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270585088001,"power":27343,"geofence_id":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1201546336459083776}} 
[2026-08-08 23:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":150922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:52:25] local.INFO: GPS data processed {"connection_id":150922,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:52:25] local.INFO: Acknowledgment sent {"connection_id":150922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:53:04] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:04] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:04] local.INFO: IMEI packet received {"connection_id":153284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":153284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:53:04] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:04] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:04] local.INFO: IMEI packet received {"connection_id":153284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":153284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:53:08] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:08] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:53:08] local.INFO: IMEI packet received {"connection_id":153284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":153284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:53:09] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29c4d10012d1121c006e47550000b00a02c..."} 
[2026-08-08 23:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29c4d10012d1121c006e47550000b00a02c..."} 
[2026-08-08 23:53:09] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29c4d10012d1121c006e47550000b00a02c..."} 
[2026-08-08 23:53:09] local.INFO: Packet analysis {"connection_id":153284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29c"} 
[2026-08-08 23:53:09] local.INFO: Extracted packet for processing {"connection_id":153284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29c"} 
[2026-08-08 23:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756097472,"raw_latitude":115635536,"longitude_deg":75.6097472,"latitude_deg":11.5635536,"altitude":11,"angle":160,"satellites":44,"speed":45,"hex_longitude":"2d1121c0","hex_latitude":"06e47550","is_valid_coordinates":true} 
[2026-08-08 23:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270608384001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376192689353261056,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231171577737248768,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786213322000,"timestamp_ms":1786213322000,"timestamp_seconds":1786213322,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29c4d10"} 
[2026-08-08 23:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:53: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-08-08 23:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-08 23:53: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-08-08 23:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":153284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270608384001,"66":27484,"111":206,"81":20480,"24":45,"16":376192689353261056,"45":1231171577737248768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-08 23:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270608384001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:53:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376192689353261056,"km_value":376192689353261.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231171577737248768,"description":"Unknown IO ID 45"} 
[2026-08-08 23:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270608384001,"power":27484,"unknown_111":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1231171577737248768}} 
[2026-08-08 23:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":153284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:53:09] local.INFO: GPS data processed {"connection_id":153284,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:53:09] local.INFO: Acknowledgment sent {"connection_id":153284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:53:13] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29c6c50012d112f8006e453c8000800982c..."} 
[2026-08-08 23:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29c6c50012d112f8006e453c8000800982c..."} 
[2026-08-08 23:53:13] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29c6c50012d112f8006e453c8000800982c..."} 
[2026-08-08 23:53:13] local.INFO: Packet analysis {"connection_id":153284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29c"} 
[2026-08-08 23:53:13] local.INFO: Extracted packet for processing {"connection_id":153284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29c"} 
[2026-08-08 23:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756100992,"raw_latitude":115626952,"longitude_deg":75.6100992,"latitude_deg":11.5626952,"altitude":8,"angle":152,"satellites":44,"speed":47,"hex_longitude":"2d112f80","hex_latitude":"06e453c8","is_valid_coordinates":true} 
[2026-08-08 23:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270610432001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376193136029859840,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234478908711456768,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1786213330000,"timestamp_ms":1786213330000,"timestamp_seconds":1786213330,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29c6c50"} 
[2026-08-08 23:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:53: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-08-08 23:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-08 23:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":153284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270610432001,"66":27463,"111":206,"81":20480,"24":47,"16":376193136029859840,"45":1234478908711456768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-08 23:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270610432001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:53:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376193136029859840,"km_value":376193136029859.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234478908711456768,"description":"Unknown IO ID 45"} 
[2026-08-08 23:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270610432001,"power":27463,"unknown_111":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1234478908711456768}} 
[2026-08-08 23:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":153284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:53:13] local.INFO: GPS data processed {"connection_id":153284,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:53:13] local.INFO: Acknowledgment sent {"connection_id":153284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:53:44] local.INFO: TCP Data received {"connection_id":153284,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29c8f78012d11438006e432e00006009a2c..."} 
[2026-08-08 23:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":153284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29c8f78012d11438006e432e00006009a2c..."} 
[2026-08-08 23:53:44] local.INFO: Processing buffer {"connection_id":153284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29c8f78012d11438006e432e00006009a2c..."} 
[2026-08-08 23:53:44] local.INFO: Packet analysis {"connection_id":153284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29c"} 
[2026-08-08 23:53:44] local.INFO: Extracted packet for processing {"connection_id":153284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29c"} 
[2026-08-08 23:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756106112,"raw_latitude":115618528,"longitude_deg":75.6106112,"latitude_deg":11.5618528,"altitude":6,"angle":154,"satellites":44,"speed":42,"hex_longitude":"2d114380","hex_latitude":"06e432e0","is_valid_coordinates":true} 
[2026-08-08 23:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270612480001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376193612771229696,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238349189639030784,"note":"Value kept but may cause issues"} 
[2026-08-08 23:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1786213339000,"timestamp_ms":1786213339000,"timestamp_seconds":1786213339,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29c8f78"} 
[2026-08-08 23:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-08 23:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":153284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":153284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:53: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-08-08 23:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270612480001,"66":27332,"111":206,"81":20480,"24":42,"16":376193612771229696,"45":1238349189639030784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-08 23:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270612480001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:53:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-08 23:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376193612771229696,"km_value":376193612771229.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238349189639030784,"description":"Unknown IO ID 45"} 
[2026-08-08 23:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270612480001,"power":27332,"unknown_111":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1238349189639030784}} 
[2026-08-08 23:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":153284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:53:44] local.INFO: GPS data processed {"connection_id":153284,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:53:44] local.INFO: Acknowledgment sent {"connection_id":153284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:55:07] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:07] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:07] local.INFO: IMEI packet received {"connection_id":150923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":150923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:55:08] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:08] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:08] local.INFO: IMEI packet received {"connection_id":150923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":150923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:55:14] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:14] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:55:14] local.INFO: IMEI packet received {"connection_id":150923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":150923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:55:15] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29e44f8012d118e4006e2ab58000900b226..."} 
[2026-08-08 23:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29e44f8012d118e4006e2ab58000900b226..."} 
[2026-08-08 23:55:15] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29e44f8012d118e4006e2ab58000900b226..."} 
[2026-08-08 23:55:15] local.INFO: Packet analysis {"connection_id":150923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:55:15] local.INFO: Extracted packet for processing {"connection_id":150923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756125248,"raw_latitude":115518296,"longitude_deg":75.6125248,"latitude_deg":11.5518296,"altitude":9,"angle":178,"satellites":38,"speed":49,"hex_longitude":"2d118e40","hex_latitude":"06e2ab58","is_valid_coordinates":true} 
[2026-08-08 23:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270641408001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376198586343358464,"note":"Value kept but may cause issues"} 
[2026-08-08 23:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263611568773476352,"note":"Value kept but may cause issues"} 
[2026-08-08 23:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1786213451000,"timestamp_ms":1786213451000,"timestamp_seconds":1786213451,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29e44f8"} 
[2026-08-08 23:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-08 23:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":150923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270641408001,"66":27310,"108":206,"81":20480,"24":49,"16":376198586343358464,"45":1263611568773476352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-08 23:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270641408001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:55:15] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 23:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376198586343358464,"km_value":376198586343358.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263611568773476352,"description":"Unknown IO ID 45"} 
[2026-08-08 23:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270641408001,"power":27310,"unknown_108":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1263611568773476352}} 
[2026-08-08 23:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":150923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:55:15] local.INFO: GPS data processed {"connection_id":150923,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:55:15] local.INFO: Acknowledgment sent {"connection_id":150923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:55:46] local.INFO: TCP Data received {"connection_id":150923,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29e6820012d118c0006e28088000900ba2a..."} 
[2026-08-08 23:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29e6820012d118c0006e28088000900ba2a..."} 
[2026-08-08 23:55:46] local.INFO: Processing buffer {"connection_id":150923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29e6820012d118c0006e28088000900ba2a..."} 
[2026-08-08 23:55:46] local.INFO: Packet analysis {"connection_id":150923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:55:46] local.INFO: Extracted packet for processing {"connection_id":150923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756124672,"raw_latitude":115507336,"longitude_deg":75.6124672,"latitude_deg":11.5507336,"altitude":9,"angle":186,"satellites":42,"speed":46,"hex_longitude":"2d118c00","hex_latitude":"06e28088","is_valid_coordinates":true} 
[2026-08-08 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-08-08 23:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270643456001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376199118919303168,"note":"Value kept but may cause issues"} 
[2026-08-08 23:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1265018943654549504,"note":"Value kept but may cause issues"} 
[2026-08-08 23:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1786213460000,"timestamp_ms":1786213460000,"timestamp_seconds":1786213460,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29e6820"} 
[2026-08-08 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-08-08 23:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-08 23:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 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-08-08 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-08-08 23:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":150923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":150923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270643456001,"66":27267,"108":206,"81":20480,"24":46,"16":376199118919303168,"45":1265018943654549504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-08 23:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270643456001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:55:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 23:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376199118919303168,"km_value":376199118919303.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1265018943654549504,"description":"Unknown IO ID 45"} 
[2026-08-08 23:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270643456001,"power":27267,"unknown_108":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1265018943654549504}} 
[2026-08-08 23:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":150923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:55:46] local.INFO: GPS data processed {"connection_id":150923,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:55:46] local.INFO: Acknowledgment sent {"connection_id":150923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:56:04] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:56:04] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:56:04] local.INFO: IMEI packet received {"connection_id":150600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":150600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:56:18] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 23:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 23:56:18] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-08 23:56:18] local.INFO: IMEI packet received {"connection_id":150600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":150600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:56:19] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29e8b48012d1186c006e25af8000c00bb28..."} 
[2026-08-08 23:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29e8b48012d1186c006e25af8000c00bb28..."} 
[2026-08-08 23:56:19] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019fe2..."} 
[2026-08-08 23:56:19] local.INFO: IMEI packet received {"connection_id":150600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":150600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:56:20] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29eb258012d11834006e23620000f00b62b..."} 
[2026-08-08 23:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29eb258012d11834006e23620000f00b62b..."} 
[2026-08-08 23:56:20] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019fe29e8b48012d1186c006e25af8000c00bb28..."} 
[2026-08-08 23:56:20] local.INFO: Packet analysis {"connection_id":150600,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:56:20] local.INFO: Extracted packet for processing {"connection_id":150600,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756123328,"raw_latitude":115497720,"longitude_deg":75.6123328,"latitude_deg":11.549772,"altitude":12,"angle":187,"satellites":40,"speed":40,"hex_longitude":"2d1186c0","hex_latitude":"06e25af8","is_valid_coordinates":true} 
[2026-08-08 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270645760001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376199587070738432,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264385624954144768,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786213469000,"timestamp_ms":1786213469000,"timestamp_seconds":1786213469,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29e8b48"} 
[2026-08-08 23:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-08 23:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270645760001,"66":27321,"108":206,"81":20480,"24":40,"16":376199587070738432,"45":1264385624954144768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270645760001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376199587070738432,"km_value":376199587070738.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264385624954144768,"description":"Unknown IO ID 45"} 
[2026-08-08 23:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270645760001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1264385624954144768}} 
[2026-08-08 23:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":150600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:56:20] local.INFO: GPS data processed {"connection_id":150600,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:56:20] local.INFO: Acknowledgment sent {"connection_id":150600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:56:20] local.INFO: Packet analysis {"connection_id":150600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:56:20] local.INFO: Extracted packet for processing {"connection_id":150600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756122432,"raw_latitude":115488288,"longitude_deg":75.6122432,"latitude_deg":11.5488288,"altitude":15,"angle":182,"satellites":43,"speed":30,"hex_longitude":"2d118340","hex_latitude":"06e23620","is_valid_coordinates":true} 
[2026-08-08 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270648064001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376200046632239104,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262907881323952128,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1786213479000,"timestamp_ms":1786213479000,"timestamp_seconds":1786213479,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29eb258"} 
[2026-08-08 23:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:56: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-08-08 23:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":150600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270648064001,"66":27397,"108":206,"81":20480,"24":30,"16":376200046632239104,"45":1262907881323952128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-08 23:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270648064001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376200046632239104,"km_value":376200046632239.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262907881323952128,"description":"Unknown IO ID 45"} 
[2026-08-08 23:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270648064001,"power":27397,"unknown_108":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1262907881323952128}} 
[2026-08-08 23:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":150600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:56:20] local.INFO: GPS data processed {"connection_id":150600,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:56:20] local.INFO: Acknowledgment sent {"connection_id":150600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:56:21] local.INFO: TCP Data received {"connection_id":150600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29edd50012d11818006e21320000e00b429..."} 
[2026-08-08 23:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29edd50012d11818006e21320000e00b429..."} 
[2026-08-08 23:56:21] local.INFO: Processing buffer {"connection_id":150600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29edd50012d11818006e21320000e00b429..."} 
[2026-08-08 23:56:21] local.INFO: Packet analysis {"connection_id":150600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:56:21] local.INFO: Extracted packet for processing {"connection_id":150600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29e"} 
[2026-08-08 23:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756121984,"raw_latitude":115479328,"longitude_deg":75.6121984,"latitude_deg":11.5479328,"altitude":14,"angle":180,"satellites":41,"speed":40,"hex_longitude":"2d118180","hex_latitude":"06e21320","is_valid_coordinates":true} 
[2026-08-08 23:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270650624001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376200484718903296,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261922718903050240,"note":"Value kept but may cause issues"} 
[2026-08-08 23:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786213490000,"timestamp_ms":1786213490000,"timestamp_seconds":1786213490,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29edd50"} 
[2026-08-08 23:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-08 23:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270650624001,"66":27376,"108":206,"81":20480,"24":40,"16":376200484718903296,"45":1261922718903050240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-08 23:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270650624001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:56:21] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 23:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376200484718903296,"km_value":376200484718903.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261922718903050240,"description":"Unknown IO ID 45"} 
[2026-08-08 23:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270650624001,"power":27376,"unknown_108":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1261922718903050240}} 
[2026-08-08 23:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":150600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:56:21] local.INFO: GPS data processed {"connection_id":150600,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:56:21] local.INFO: Acknowledgment sent {"connection_id":150600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:57:03] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:57:03] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:57:03] local.INFO: IMEI packet received {"connection_id":151807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":151807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:57:08] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:57:08] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:57:08] local.INFO: IMEI packet received {"connection_id":151807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":151807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:57:09] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe29f0078012d11848006e1f038000c00aa2b..."} 
[2026-08-08 23:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe29f0078012d11848006e1f038000c00aa2b..."} 
[2026-08-08 23:57:09] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe29f0078012d11848006e1f038000c00aa2b..."} 
[2026-08-08 23:57:09] local.INFO: Packet analysis {"connection_id":151807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe29f"} 
[2026-08-08 23:57:09] local.INFO: Extracted packet for processing {"connection_id":151807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe29f"} 
[2026-08-08 23:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756122752,"raw_latitude":115470392,"longitude_deg":75.6122752,"latitude_deg":11.5470392,"altitude":12,"angle":170,"satellites":43,"speed":38,"hex_longitude":"2d118480","hex_latitude":"06e1f038","is_valid_coordinates":true} 
[2026-08-08 23:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270653440001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376200918510600192,"note":"Value kept but may cause issues"} 
[2026-08-08 23:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261430137691512832,"note":"Value kept but may cause issues"} 
[2026-08-08 23:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1786213499000,"timestamp_ms":1786213499000,"timestamp_seconds":1786213499,"priority":1,"record_length":96,"hex_timestamp":"0000019fe29f0078"} 
[2026-08-08 23:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:57: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-08-08 23: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":240,"data_length":795,"current_offset":136} 
[2026-08-08 23:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":151807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270653440001,"66":27376,"108":206,"81":20480,"24":38,"16":376200918510600192,"45":1261430137691512832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-08 23:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270653440001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:57:09] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-08 23:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376200918510600192,"km_value":376200918510600.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261430137691512832,"description":"Unknown IO ID 45"} 
[2026-08-08 23:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270653440001,"power":27376,"unknown_108":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1261430137691512832}} 
[2026-08-08 23:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":151807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:57:09] local.INFO: GPS data processed {"connection_id":151807,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:57:09] local.INFO: Acknowledgment sent {"connection_id":151807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:57:41] local.INFO: TCP Data received {"connection_id":151807,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2a08ee8012d11e7c006e04060000d00a32b..."} 
[2026-08-08 23:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2a08ee8012d11e7c006e04060000d00a32b..."} 
[2026-08-08 23:57:41] local.INFO: Processing buffer {"connection_id":151807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2a08ee8012d11e7c006e04060000d00a32b..."} 
[2026-08-08 23:57:41] local.INFO: Packet analysis {"connection_id":151807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:57:41] local.INFO: Extracted packet for processing {"connection_id":151807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756148160,"raw_latitude":115359840,"longitude_deg":75.614816,"latitude_deg":11.535984,"altitude":13,"angle":163,"satellites":43,"speed":39,"hex_longitude":"2d11e7c0","hex_latitude":"06e04060","is_valid_coordinates":true} 
[2026-08-08 23:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270679552001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376206437543575552,"note":"Value kept but may cause issues"} 
[2026-08-08 23:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287114729288157184,"note":"Value kept but may cause issues"} 
[2026-08-08 23:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1786213601000,"timestamp_ms":1786213601000,"timestamp_seconds":1786213601,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2a08ee8"} 
[2026-08-08 23:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:57: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-08-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":151807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":151807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270679552001,"66":27321,"97":206,"81":20480,"24":39,"16":376206437543575552,"45":1287114729288157184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-08 23:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270679552001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-08 23:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376206437543575552,"km_value":376206437543575.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287114729288157184,"description":"Unknown IO ID 45"} 
[2026-08-08 23:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270679552001,"power":27321,"unknown_97":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1287114729288157184}} 
[2026-08-08 23:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":151807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:57:41] local.INFO: GPS data processed {"connection_id":151807,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:57:41] local.INFO: Acknowledgment sent {"connection_id":151807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:58:03] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:58:03] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:58:03] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:58:08] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:58:08] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:58:08] local.INFO: IMEI packet received {"connection_id":151808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":151808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:58:10] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2a0b5f8012d11f2c006e01c18000d00a32b..."} 
[2026-08-08 23:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2a0b5f8012d11f2c006e01c18000d00a32b..."} 
[2026-08-08 23:58:10] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2a0b5f8012d11f2c006e01c18000d00a32b..."} 
[2026-08-08 23:58:10] local.INFO: Packet analysis {"connection_id":151808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:58:10] local.INFO: Extracted packet for processing {"connection_id":151808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756150976,"raw_latitude":115350552,"longitude_deg":75.6150976,"latitude_deg":11.5350552,"altitude":13,"angle":163,"satellites":43,"speed":41,"hex_longitude":"2d11f2c0","hex_latitude":"06e01c18","is_valid_coordinates":true} 
[2026-08-08 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270681856001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376206909989978112,"note":"Value kept but may cause issues"} 
[2026-08-08 23:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1290210954029588480,"note":"Value kept but may cause issues"} 
[2026-08-08 23:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1786213611000,"timestamp_ms":1786213611000,"timestamp_seconds":1786213611,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2a0b5f8"} 
[2026-08-08 23:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":185,"data_length":795,"current_offset":136} 
[2026-08-08 23:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":151808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":151808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":151808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270681856001,"66":27332,"97":206,"81":20480,"24":41,"16":376206909989978112,"45":1290210954029588480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-08 23:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270681856001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376206909989978112,"km_value":376206909989978.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1290210954029588480,"description":"Unknown IO ID 45"} 
[2026-08-08 23:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270681856001,"power":27332,"unknown_97":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1290210954029588480}} 
[2026-08-08 23:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":151808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:58:11] local.INFO: GPS data processed {"connection_id":151808,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:58:11] local.INFO: Acknowledgment sent {"connection_id":151808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:58:43] local.INFO: TCP Data received {"connection_id":151808,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2a0d538012d11fcc006dffa38000b00a42b..."} 
[2026-08-08 23:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":151808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2a0d538012d11fcc006dffa38000b00a42b..."} 
[2026-08-08 23:58:43] local.INFO: Processing buffer {"connection_id":151808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2a0d538012d11fcc006dffa38000b00a42b..."} 
[2026-08-08 23:58:43] local.INFO: Packet analysis {"connection_id":151808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:58:43] local.INFO: Extracted packet for processing {"connection_id":151808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:58:43] local.INFO: GPS Element Parsed {"raw_longitude":756153536,"raw_latitude":115341880,"longitude_deg":75.6153536,"latitude_deg":11.534188,"altitude":11,"angle":164,"satellites":43,"speed":46,"hex_longitude":"2d11fcc0","hex_latitude":"06dffa38","is_valid_coordinates":true} 
[2026-08-08 23:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270684416001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376207348076642304,"note":"Value kept but may cause issues"} 
[2026-08-08 23:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1293307178771027968,"note":"Value kept but may cause issues"} 
[2026-08-08 23:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1786213619000,"timestamp_ms":1786213619000,"timestamp_seconds":1786213619,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2a0d538"} 
[2026-08-08 23:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:58: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-08-08 23:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-08 23:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":151808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":151808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":151808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270684416001,"66":27300,"232":206,"81":20480,"24":46,"16":376207348076642304,"45":1293307178771027968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-08 23:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270684416001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:58:43] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376207348076642304,"km_value":376207348076642.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1293307178771027968,"description":"Unknown IO ID 45"} 
[2026-08-08 23:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270684416001,"power":27300,"unknown_232":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1293307178771027968}} 
[2026-08-08 23:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":151808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:58:43] local.INFO: GPS data processed {"connection_id":151808,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:58:43] local.INFO: Acknowledgment sent {"connection_id":151808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-08 23:59:08] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:59:08] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:59:08] local.INFO: IMEI packet received {"connection_id":150924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-08 23:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":150924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-08 23:59:19] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:59:19] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-08 23:59:19] local.INFO: IMEI packet received {"connection_id":150924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-08 23:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":150924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-08 23:59:21] local.INFO: TCP Data received {"connection_id":150924,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019fe2a0f478012d12050006dfd800000c00a72b..."} 
[2026-08-08 23:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":150924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019fe2a0f478012d12050006dfd800000c00a72b..."} 
[2026-08-08 23:59:21] local.INFO: Processing buffer {"connection_id":150924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019fe2a0f478012d12050006dfd800000c00a72b..."} 
[2026-08-08 23:59:21] local.INFO: Packet analysis {"connection_id":150924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:59:21] local.INFO: Extracted packet for processing {"connection_id":150924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019fe2a0"} 
[2026-08-08 23:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756155648,"raw_latitude":115333120,"longitude_deg":75.6155648,"latitude_deg":11.533312,"altitude":12,"angle":167,"satellites":43,"speed":42,"hex_longitude":"2d120500","hex_latitude":"06dfd800","is_valid_coordinates":true} 
[2026-08-08 23:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-08 23:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457270686464001,"note":"Value kept but may cause issues"} 
[2026-08-08 23:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":376207781868339200,"note":"Value kept but may cause issues"} 
[2026-08-08 23:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1296121928535914496,"note":"Value kept but may cause issues"} 
[2026-08-08 23:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-08 23:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1786213627000,"timestamp_ms":1786213627000,"timestamp_seconds":1786213627,"priority":1,"record_length":96,"hex_timestamp":"0000019fe2a0f478"} 
[2026-08-08 23:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-08 23:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-08 23:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-08 23:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-08 23:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-08 23:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-08 23:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":150924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-08 23:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":150924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-08 23:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-08 23:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-08 23:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-08 23:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457270686464001,"66":27321,"232":206,"81":20480,"24":42,"16":376207781868339200,"45":1296121928535914496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-08 23:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-08 23:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-08 23:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457270686464001,"description":"Unknown IO ID 0"} 
[2026-08-08 23:59:21] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-08 23:59:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-08 23:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":376207781868339200,"km_value":376207781868339.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-08 23:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1296121928535914496,"description":"Unknown IO ID 45"} 
[2026-08-08 23:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457270686464001,"power":27321,"unknown_232":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1296121928535914496}} 
[2026-08-08 23:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":150924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":612390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-08 23:59:21] local.INFO: GPS data processed {"connection_id":150924,"processed":1,"errors":0,"total":1} 
[2026-08-08 23:59:21] local.INFO: Acknowledgment sent {"connection_id":150924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
